[ltp] T23 Irda init problem
Tino Keitel
linux-thinkpad@linux-thinkpad.org
Mon, 14 Nov 2005 10:09:40 +0100
On Sun, Nov 13, 2005 at 16:04:37 -0500, ericwhh@spamcop.net wrote:
> Hello,
>
> with own kernels my irda fir and sir will not work. Using a T23
> 2648-2GG (Bios 1.18( here, init with Knoppix (kernel-2.4 and 2.6) or
> knoppicillin works well. With own kernels i got the right startup
> message
>
> nsc-ircc, Found chip at base=0x02e
> nsc-ircc, driver loaded (Dag Brattli)
> IrDA: Registered device irda0
> nsc-ircc, Found dongle: HP HSDL-1100/HSDL-2100
^^^^^^^^^^^^^^^^^^^^^^
This is wrong. The reason is a broken autodetection of the IrDA
hardware in 2.6 kernels.
> But the transceiver stays dark, nothing seen an nothing sent out.
> With irdadump and running discovery i got the normal messages as all
> things are okay, but the transceiver sees nothing and send nothing
> out (stays dark, looked with a digital camera).
>
> hesinde:/home/eric# irdadump
> 20:58:35.174507 xid:cmd 25274eba > ffffffff S=6 s=0 (14)
> 20:58:35.264486 xid:cmd 25274eba > ffffffff S=6 s=1 (14)
> 20:58:35.354470 xid:cmd 25274eba > ffffffff S=6 s=2 (14)
> 20:58:35.444424 xid:cmd 25274eba > ffffffff S=6 s=3 (14)
> 20:58:35.534435 xid:cmd 25274eba > ffffffff S=6 s=4 (14)
> 20:58:35.624431 xid:cmd 25274eba > ffffffff S=6 s=5 (14)
> 20:58:35.714383 xid:cmd 25274eba > ffffffff S=6 s=* hesinde hint=0400 [ Computer
> ] (23)
I had the same behaviour on my T23.
>
> My tested kernels are 2.6.11, 2.6.12 (debianized), 2.6.14 (kernel.org and
> debianized). Created with make-kpkg on debian sarge. I have tested builts with
> ioapic and without it, got ECDT faults with 2.6.14 but not with 2.6.12. Now i'm
> probing different types of pci-access modes, cause the knoppix kernels let the
> transceiver blink when the module is loaded in "autoconfig" state.
>
> Are there incredible kernel options required for a running transceiver?
>
> Eric
Try to load the IrDA driver with this command:
modprobe nsc-ircc dongle_id=0x9
It should now report an IBM dongle in dmesg.
Regards,
Tino