Infra-red autoconf
Mika Fischer
mika_fischer at gmx.net
Tue Aug 23 03:10:58 CDT 2005
On Sat, 20 Aug 2005 20:15:52 +0100 Matthew Garrett wrote:
> I'm currently working on infra-red autoconfiguration. For this to
> happen, I need people who have laptops with infrared ports to send me
> the output of:
>
> cat /sys/bus/pnp/devices/*/id
mika at linuxbox:~$ cat /sys/bus/pnp/devices/*/id
PNP0c01
PNP0c02
PNP0200
PNP0800
PNP0c04
PNP0b00
PNP0303
IBM0057
PNP0f13
PNP0501
PNP0401
IBM0071
PNP0511
IBM0068
> along with the driver that you use (if any).
mika at linuxbox:~$ lsmod | grep ir
irtty_sir 8512 0
sir_dev 18444 1 irtty_sir
irda 187612 2 irtty_sir,sir_dev
crc_ccitt 1984 1 irda
firmware_class 9952 1 ipw2100
This is loaded by default on a current breezy install.
It I unload all of those (except firmware_class) and do
sudo setserial /dev/ttyS1 uart none
sudo modprobe nsc-ircc
I get the following from dmesg:
[4300083.033000] nsc-ircc, Found chip at base=0x02e
[4300083.033000] nsc-ircc, driver loaded (Dag Brattli)
[4300083.033000] nsc_ircc_open(), can't get iobase of 0x2f8
[4300214.756000] nsc-ircc, Found chip at base=0x02e
[4300214.756000] nsc-ircc, driver loaded (Dag Brattli)
[4300214.758000] IrDA: Registered device irda0
[4300214.758000] nsc-ircc, Found dongle: HP HSDL-1100/HSDL-2100
So I guess it should also work in FIR mode but I don't know how I could
test it...
This is an IBM Thinkpad R40 2722-CDG.
Let me know if you need any more info.
Regards,
Mika
More information about the ubuntu-devel
mailing list