Setting up IRDA on a ThinkPad R50.

Marius Gedminas marius at pov.lt
Sat Feb 11 11:27:15 UTC 2006


Hi,

On Sat, Feb 11, 2006 at 07:32:19PM +1100, Luke Yelavich wrote:
> I am wondering whether anybody has managed to get the Infra-Red device 
> on any of the ThinkPad series of notebooks working.

I have.  T23 and T42.

I think the IrDA chip is the same in all Thinkpads (IBM31T1100; module
nsc-ircc; dongle ID 0x09).

> My device is 
> detected, and dmesg reports the registering of irda0, but I see no /dev 
> device of such a name, and I am not sure what options I should set in 
> the /etc/default/irda-utils file.

You will not see a device under /dev.  irda0 is a "network" device.  You
will see it in ifconfig's output.  You should see /dev/ircomm0, though.

> Pointers would be welcome.

Here's what I did on my T42:

    $ sudo dpkg-reconfigure irda-utils
    Enable on startup?  Yes
    Probe on bootup?  Yes
    Discovery mode?  No
    Device type: native
    FIR: nsc-ircc
    module options: dongle_id=0x09 io=0x2f8 irq=3 dma=3
    Port for setserial to quiet: /dev/ttyS1

Checking that it is available:

   $ ip link
   ...
   60: irda0: <NOARP,UP> mtu 2048 qdisc pfifo_fast qlen 8
       link/irda

   $ sudo irdadump
   11:24:14.967637 xid:cmd 6f779ff6 > ffffffff S=6 s=0 (14)
   11:24:15.057515 xid:cmd 6f779ff6 > ffffffff S=6 s=1 (14)
   11:24:15.147501 xid:cmd 6f779ff6 > ffffffff S=6 s=2 (14)
   11:24:15.237490 xid:cmd 6f779ff6 > ffffffff S=6 s=3 (14)
   11:24:15.327480 xid:cmd 6f779ff6 > ffffffff S=6 s=4 (14)
   11:24:15.417468 xid:cmd 6f779ff6 > ffffffff S=6 s=5 (14)
   11:24:15.507461 xid:cmd 6f779ff6 > ffffffff S=6 s=* pitonas hint=0400 [ Computer ] (23)

(this is my laptop sending identification packets every few seconds;
"pitonas" is the hostname)

The infrared device disappears after every suspend & resume, and I have
to do

    $ sudo /etc/init.d/irda-utils restart

to get it back.

I do not use IrDA much.  Bluetooth is much more convenient.  Both my
phone, and my Palm support Bluetooth.

If this does not work for you, try looking at http://thinkwiki.org/

HTH,
Marius Gedminas
-- 
We'll show a small example here with one user calling another. (Under
international treaties describing technical papers these users must be called
"Alice" and "Bob".)
        -- Anthony Baxter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060211/5563a88d/attachment.sig>


More information about the ubuntu-users mailing list