[ltp] Re: T42: irda not working after resuming from suspend to RAM

johnsu01 linux-thinkpad@linux-thinkpad.org
Wed, 09 Mar 2005 14:42:07 -0500


Paul Ionescu <i_p_a_u_l@yahoo.com> writes:

> On Tue, 08 Mar 2005 10:25:53 +0100, Tino Keitel wrote:
>
>> On Mon, Mar 07, 2005 at 08:05:53 -0300, Arne Werner wrote:
>>> On Mon, 2005-03-07 at 12:36 +0800, David de Hoog wrote:
>>> 
>>> > I'm not convinced that my TP supports the FIR driver, because all my
>>> > attempts to load the nsc_ircc module have met with failure. I have
>>> > seen writings elsewhere indicating that (at least for the X series
>>> > TPs) a kernel patch is required for the 2.6.11 tree in order to use
>>> > the nsc_ircc module. Additionally, I have no idea whether my phone
>>> > supports FIR, but it works nicely with SIR.
>>> 
>>> I am not sure, but I think that all Thinkpads use the same IRDA chipset.
>>> And there are reports that the nsc-ircc works for some T42 (e.g.
>>> http://wiki.version6.net/T42). Did you unset the serialport before
>>> loading the nsc-ircc module (setserial /dev/ttyS1 uart none port 0 irq
>>> 0)? This is necessary to release any serial driver from the IRDA.
>> 
>> One more fact: the hardware dectection of the nsc-ircc driver in 2.6
>> kernels seems to be broken, at least for my A30 and T23. The driver will
>> load, but it won't see any IR devices. Loading the driver with modprobe
>> nsc-ircc dongle_id=0x9 will do the trick.
>> 
>> Regards,
>> Tino
>
> I have tried with:
> modprobe nsc-ircc dongle_id=0x9
> FATAL: Error inserting nsc_ircc (/lib/modules/2.6.9sw2.1/kernel/drivers/net/irda/nsc-ircc.ko): No such
> device
>
> and in dmesg I got:
>
> Mar  9 10:55:12 t41 kernel: nsc-ircc, Found chip at base=0x02e
> Mar  9 10:55:12 t41 kernel: nsc-ircc, Wrong chip version ff

Just to piggyback, I've been experiencing similar problems with my new X40
trying to get the IrDA to work at all. I've tried several sets of instructions
(sorry, details on which at home) without success. I get the same error message
as you. One of these sets included a small patch to the nsc_ircc module, but
the result was the same.

What I'm currently working on is re-compiling the kernel (2.6.10) with serial
support as module, since I've seen a few references that the IrDA won't work if
the serial support is compiled in. (I have tried the setserial command line
quoted above.)

Anyway, please let me know if you get yours working, because maybe the solution
will be the same :).