I poked around with irtty-sir and irport a bit on my Thinkpad X40 without any
success. The serial port was recognized and the drivers loaded fine, but
irdadump never showed any activity.
The preinstalled Windows XP uses the NSC infrared driver and reported an "IBM
SC-20H2987" dongle , so I tried loading nsc-ircc under Linux. After patching
it a bit (it failed to recognize the chip version), it loaded and I could
sync with my Palm Pilot at 115200 baud through /dev/ircomm0. Unfortunatelly I
can not test higher speeds as I don't have a second FIR device.
The attached patch is against kernel 2.6.10. I realise that the patch is a
really crude hack, but it got me at least a small step further. I can now
backup my Palm on the road :).
Looking at the debug output I am not at all confident that the chip is a
"PC8739x" model and that the chip's config register is located at 0x4e.
Invoking nsc_ircc_probe_39x reported 0 for irq, io port and dma, so I
decided to skip probing and initialization in the patch (to avoid undesired
I had to free the irq and had to specify the hardware settings to get the
thing up and running:
/bin/setserial /dev/ttyS0 uart none
modprobe nsc-ircc irq=4 io=0x3f8 dma=3 dongle_id=0x09
irattach irda0 -s
Does anyone have more infomation on IrDA and the X40?
Get latest updates about Open Source Projects, Conferences and News.