more IR struggles
I too am attempting to get an IR connection from linux to phone/pda. Let's compare notes; I've made some progress but no connection yet.
The hardware: old Sony F-150 laptop to Nokia 3650 phone. The linux install: Mandrake 9.0 distro install, followed by kernel and other minor updates.
Stage 1 would seem to be: what is the IR controller and its configuration? I downloaded the irdautils package, and it (mostly) built without incident. findchip says:
# /usr/sbin/findchip -v
Found SMC FDC37N958FR Controller at 0x370, DevID=0x01, Rev. 1
SIR Base 0x3e8, FIR Base 0x140
IRQ = 10, DMA = 1
Enabled: yes, Suspended: no
UART compatible: yes
Half duplex delay = 3 us
Now there's a kenel module named smc-ircc, but when I try to load it:
# modprobe smc-ircc
/lib/modules/2.4.22/kernel/drivers/net/irda/smc-ircc.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
modprobe: insmod /lib/modules/2.4.22/kernel/drivers/net/irda/smc-ircc.o failed
modprobe: insmod smc-ircc failed
Finally, I note that the hardware auto-detect during my Mandrake install wrote the following:
# cat /etc/sysconfig/irda
... bit it didn't call for the loading of any IR modules at boot time.
So here's my current questions and thinking:
1) I'm presuming that I need a hardware-specific driver module as well as the irda module loaded? Do some more searching to verify this. I've read the IR-HOWTO, it's not too helpful with "big picture" questions like this.
2) Go read the code for the smc-ircc module; find out where it gets its configuration information.
3) Are there intermediate points of success I can try for? What are they?
Finally, where are you in this process? What have you tried? What works and what doesn't?