You are not logged in.

#1 Yesterday 20:17

NarakuITA
Member
Registered: 2024-08-20
Posts: 5

Kernel module compiling (IrDA)

Title:
ACT‑IR220L+ IrDA dongle not working on Q4OS (kernel 6.1) – works perfectly on antiX‑22 (kernel 5.4)

Hi everyone, I wanted to ask for help.
In the past, on another PC with another distribution, I managed to recompile everything and get infrared to work for synchronizing the Palm m100.
For full details, see the thread:
https://www.antixforum.com/forums/topic … ling-irda/
Today I want to try Q4OS, but I'm having problems.
I performed the following steps:

PALM M100 - ACT-IR220L+ IRDA / Q4OS SETUP LOG
=========================================================================

1. HARDWARE CONNECTED
- USB to Serial adapter (FTDI / CH340 / FT232 DB9)
- ACT-IR220L+ infrared adapter
- Connected to Q4OS laptop

2. USB DEVICE DETECTION
- Device detected via dmesg
- FTDI driver loaded (ftdi_sio)
- ttyUSB0 created successfully

3. USER PERMISSIONS
Command executed:
sudo usermod -aG dialout alexia
Result:
- User added to dialout group successfully

4. SYSTEM INFO
Kernel:
6.1.0-49-686-pae (Q4OS / Debian based)

5. BUILD ENVIRONMENT PREPARATION
Installed packages:
- build-essential
- dkms
- autoconf
- linux-headers-$(uname -r)

6. IRDA SOURCE SETUP
Command:
git clone https://github.com/cschramm/irda.git

7. BRANCH SELECTION
git checkout kernel-5.15
Result:
Detached HEAD state (normal for this operation)

8.CONFIGURATION
autoconf -f && ./configure
Result:
DKMS configuration generated successfully

9. DKMS INTEGRATION
sudo dkms add src
Result:
Module registered in DKMS system

10. DKMS BUILD & INSTALL
sudo dkms install irda/20241007~fab194d
Result:
- Kernel modules compiled successfully for 6.1.0-49
- Modules installed in /lib/modules/.../updates/dkms/
- Modules signed with MOK key

11. IRDA MODULE LOADING
Commands:
- modprobe irda
- modprobe irtty-sir
- modprobe actisys-sir
- modprobe ircomm
- modprobe ircomm-tty

Result:
- IrDA stack loaded successfully

12. IR ATTACH
Command:
sudo irattach /dev/ttyUSB0 -d actisys -s
Result:
- No errors reported
- irda0 network interface created

13. IR NETWORK INTERFACE
Command:
ip link set irda0 up
Status:
irda0: <NOARP,UP,LOWER_UP>

14. IRDA DISCOVERY TEST
Command:
cat /proc/net/irda/discovery
Result:
Empty discovery log

15. IRDA PING TEST
Command:
irdaping irda0
Result:
res=1 (no response)

16. IRDA UTILITIES INSTALL
Packages:
irda-utils_0.9.18-15_i386.deb
Installation:
dpkg -i success
Error:
/var/lib/dpkg/info/irda-utils.postinst: /dev/MAKEDEV missing (non-critical)

17. CURRENT STATE
- IrDA kernel stack: ACTIVE
- USB serial (FTDI): ACTIVE
- irda0 interface: UP
- Physical IR communication: NOT WORKING (no signal detected)

18. FINAL OBSERVATION
- System sees IrDA interface correctly
- The device does not turn on, it does not emit the green light, which indicates that it is listening and ready to receive and send information.
- No infrared transmission detected
- Palm m100 not detected

Conclusion
Your log shows that all the software works, but the modern kernel no longer supports IrDA SIR.
So the ACT-IR220L+ dongle cannot transmit, even though it is recognized.

What can I do? Go back to kernel 5.4? Does Q4OS have it?

Offline

Board footer

Powered by FluxBB