[7.04] How can I detect my IRDA hardware?

Asked by Uqbar

Is there a way to detect and use the IRDA ports in my laptop?
Neither lspci nor the kernel boot diagnostics nor anything in /proc show it.
Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Felix Heinonen
Solved:
Last query:
Last reply:
Revision history for this message
Felix Heinonen (fheinonen) said :
#1

Put the following in Terminal
sudo apt-get install irda-utils
Hope that helps.

Revision history for this message
Uqbar (uqbar) said :
#2

Don't think so, even if it's been a good hint:

root@v6j:/var/log# findchip -d -v
Probing for FDC37C669 ...
Wrong chip id=0xff
Wrong chip id=0xff
Probing for FDC37C669FR ...
Wrong chip id=0xff
Wrong chip id=0xff
Probing for FDC37N869 ...
Wrong chip id=0xff
Wrong chip id=0xff
Probing for FDC37C93xFR ...
Wrong chip id=0xff
Wrong chip id=0xff
Probing for FDC37N957FR ...
Wrong chip id=0xff
Wrong chip id=0xff
Probing for FDC37N958FR ...
Wrong chip id=0xff
Wrong chip id=0xff
Probing for PC87108 ...
no chip at 0x150
no chip at 0x398
no chip at 0x0ea
Probing for PC87338 ...
no chip at 0x398
no chip at 0x15c
no chip at 0x02e
Probing for EFER at 0x03f0 ...
hefras = 0xff
Probing for EFER at 0x0370 ...
hefras = 0xff
EFER seems to be probed at 0x0370
chip id = 0xff, revision = 0xff
Wrong device ID = 0xff
Probing for EFER at 0x0250 ...
hefras = 0xff
Probing for EFER at 0x0250 ...
hefras = 0xff
Probing for EFER at 0x03f0 ...
hefras = 0xff
hefere = 0xff
Probing for EFER at 0x03f0 ...
hefras = 0xff
hefere = 0xff
EFER seems to be probed at 0x03f0
chip ID is 0x0f : no known chip was detected.
Couldn't find Winbond superI/O chip.

Revision history for this message
TraceyLedbetter (concept10) said :
#3

Have you checked to see if the module has been loaded?

Revision history for this message
Uqbar (uqbar) said :
#4

After the reboot I see:

...
[ 17.105742] irda_init()
...
[ 35.002115] sirdev_get_instance - ttyS1
[ 35.006133] irtty_open - ttyS1: irda line discipline opened
[ 36.013925] irlap_change_speed(), setting speed to 9600

Nonetheless the findchip still says "no chip found".
lsmod says (among other things);

irtty_sir 9600 2
sir_dev 17156 1 irtty_sir
irda 201276 2 irtty_sir,sir_dev
crc_ccitt 3072 1 irda

How can I check whether everything is working?

Revision history for this message
Felix Heinonen (fheinonen) said :
#5

How do you turn Irda on in Windows?

Revision history for this message
Uqbar (uqbar) said :
#6

I have no idea. I'm not running Windows on my PCs since 2001.
I've just tried this:

root@v6j:~# irdadump
08:12:42.333426 xid:cmd 345d106b > ffffffff S=6 s=0 (14)
08:12:42.421362 xid:cmd 345d106b > ffffffff S=6 s=1 (14)
08:12:42.509345 xid:cmd 345d106b > ffffffff S=6 s=2 (14)
08:12:42.597347 xid:cmd 345d106b > ffffffff S=6 s=3 (14)
08:12:42.685357 xid:cmd 345d106b > ffffffff S=6 s=4 (14)
08:12:42.773354 xid:cmd 345d106b > ffffffff S=6 s=5 (14)
08:12:42.861349 xid:cmd 345d106b > ffffffff S=6 s=* v6j hint=0400 [ Computer ] (19)
08:12:45.333259 xid:cmd 345d106b > ffffffff S=6 s=0 (14)
08:12:45.421264 xid:cmd 345d106b > ffffffff S=6 s=1 (14)
08:12:45.509247 xid:cmd 345d106b > ffffffff S=6 s=2 (14)
08:12:45.597245 xid:cmd 345d106b > ffffffff S=6 s=3 (14)
08:12:45.685242 xid:cmd 345d106b > ffffffff S=6 s=4 (14)
08:12:45.773237 xid:cmd 345d106b > ffffffff S=6 s=5 (14)
08:12:45.861234 xid:cmd 345d106b > ffffffff S=6 s=* v6j hint=0400 [ Computer ] (19)

14 packets received by filter

Revision history for this message
Best Felix Heinonen (fheinonen) said :
#7
Revision history for this message
Uqbar (uqbar) said :
#8

HI.
I've done an irattach on /dev/ttyS1, turned on my phone's IRDA and then:

# irdadump
08:45:30.254900 xid:cmd 345d106b > ffffffff S=6 s=0 (14)
08:45:30.342809 xid:cmd 345d106b > ffffffff S=6 s=1 (14)
08:45:30.430804 xid:cmd 345d106b > ffffffff S=6 s=2 (14)
08:45:30.518800 xid:cmd 345d106b > ffffffff S=6 s=3 (14)
08:45:30.606797 xid:cmd 345d106b > ffffffff S=6 s=4 (14)
08:45:30.694796 xid:rsp 345d106b < 0000a708 S=6 s=4 Nokia 3200 hint=b125 [ PnP Modem Fax Telephony IrCOMM IrOBEX ] (27)
08:45:30.706793 xid:cmd 345d106b > ffffffff S=6 s=5 (14)
08:45:30.794793 xid:cmd 345d106b > ffffffff S=6 s=* v6j hint=0400 [ Computer ] (19)
08:45:33.254705 xid:cmd 345d106b > ffffffff S=6 s=0 (14)
08:45:33.338697 xid:rsp 345d106b < 0000a708 S=6 s=0 Nokia 3200 hint=b125 [ PnP Modem Fax Telephony IrCOMM IrOBEX ] (27)

So it seems to work, even if I cannot say precisely how to activate and how to deactivate IRDA.
Some more time and maybe fun and I'll get rid also of this.
Many thanks for the help!

Revision history for this message
Uqbar (uqbar) said :
#9

Thanks Felix Heinonen, that solved my question.

Revision history for this message
tdn (spam-thomasdamgaard) said :
#10

I also have an IrDA related problem.
I have an IBM Thinkpad T42, and I don't know how to enable the IrDA port.
I have tried the hints in this thread, but that did not help me.

When I type: sudo modprobe lirc_sir
I get: FATAL: Module lirc_sir not found.

I get the same "module not found" for all the modules I have tried.

Revision history for this message
Tosszyx (tosszyx) said :
#11