[ltp] [PATCH] Add support for FIR IrDA for T43/R52
Henrique de Moraes Holschuh
linux-thinkpad@linux-thinkpad.org
Sat, 27 May 2006 03:01:48 -0300
I had a long email explaining the entire thing, but a stray shift-d
destroyed the body before I told mutt to send it, so here's the short
version.
2.6.17 nsc-ircc does not work with the SuperI/O chip in the T43, R52, and
maybe other thinkpads. The tell-tale sign is that you get a Wrong chip
id=0xf9 when you "modprobe nsc-ircc" with irda debugging enabled ("modprobe
irda debug=2").
The good news: the fix is *probably* quite trivial. I have attached the
patch updating 2.6.16 nsc-ircc to 2.6.17's (this is the same patch which is
in thinkwiki.org, grouped in a single file) for your convenience, and also
the two line trivial patch required to support the T43 and R52.
Please apply those patches over stock 2.6.16.18 nsc-ircc (or the second
patch on top of 2.6.17-rc nsc-ircc), and test. Please report back if it
works for you.
If *anyone* can find a datasheet for the frigging SuperI/O chip in the T43
or R52, please send it to me. It is supposed to be a NS PC8394T / Winbond
8394TD2/G1.
Also, while fixing this issue, I noticed the T43 sets up the entire PnP
information block for the IrDA port *perfectly*, so you do not need to (and
in fact, should not) give any "option nsc-ircc dongle_id..." lines to
modprobe. The driver will auto-detect *everything*, as long as the BIOS has
the IrDA port enabled. Please test this on the R52 as well.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh