[ltp] T42: irda not working after resuming from suspend to RAM
Karl Klashinsky
linux-thinkpad@linux-thinkpad.org
Thu, 10 Mar 2005 14:47:39 -0800
I have an X30, still running 2.4.x kernel. As well as modprobe's, etc,
that Konstantin mentioned, I found one key thing that had to be done was
BIOS related... I wish I could remember the details, but it had to do
with making sure that the infra-red device was enabled and the
corresponding serial port was disabled.
On Thu, 2005-03-10 at 10:05 +0100, Konstantin Filtschew wrote:
> hi,
>
> I've got my irda back working with kernel 2.6.11 and nsc-ircc module.
>
> this steps are needed for me:
> thinkpad # modprobe nsc-ircc dongle_id=0x9
> thinkpad # irattach irda0 -s
>
> thinkpad # irdadump
> 10:03:48.709232 xid:cmd c72fc18c > ffffffff S=6 s=0 (14)
> 10:03:48.799120 xid:cmd c72fc18c > ffffffff S=6 s=1 (14)
> 10:03:48.886387 xid:rsp c72fc18c < 07423251 S=6 s=1 SIEMENS SLIK
> hint=b124 [ PnP Modem Fax IrCOMM IrOBEX ] (29) 10:03:48.889106 xid:cmd
> c72fc18c > ffffffff S=6 s=2 (14) 10:03:48.979094 xid:cmd c72fc18c >
> ffffffff S=6 s=3 (14)
> ...
>
> So he finds my Siemens SL45 phone.
>
> maybe you should try too.
>
> Greetz
>
> Konstantin
>
>
>
>
> On Mon, 07 Mar 2005 12:36:41 +0800
> David de Hoog <dehood01@student.uwa.edu.au> wrote:
>
> > Greetings
> >
> > I'm having exactly the same issue on my T42 2378-JZM (2.6.11 patched
> > with mppe support, in a Debian Sarge system).
> >
> > When the machine boots for the first time IrDA works nicely. However,
> > running `setserial /dev/ttyS1` reveals "device type: undefined", which
> > is different to "device type: unknown" - but allows the device to
> > function. Additionally, the output of `ifconfig irda0` does not
> include
> > a hardware address, it is "00:00:00:00". That said, it works - I can
> > detect the presence of my Nokia 7250i with `irdadump` and exchange
> > information with the phone using gammu and wammu.
> >
> > As soon as the laptop is suspended (to RAM) either by power management
> > or through my intervention, the IrDA device stops receiving. If I run
> > irdadump and wave the phone nearby, there is no signal being received.
> I
> > can unload and re-load all the relevant kernel modules and there is no
> > change. The T42 is still aware of its own IrDA port, as it appears in
> > the `irdadump` listing. `dmesg` does not indicate anything of concern,
> > and believes it is functioning well.
> >
> > I've had a quick google and a good long mess around with the kernel
> > modules to no avail. I'm going to check to see if suspend to disk
> causes
> > the same problem. The only other option I can see is to try and unload
> > the IrDA modules from the kernel before the system suspends to RAM,
> and
> > re-loads them on waking up. I'll have a dig through the contents of
> > my /etc/acpi/ directory shortly.
> >
> > 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.
> >
> > Does anyone have any other ideas or experience to share ?
> >
> > Cheers
> > --
> > David de Hoog <dehood01@student.uwa.edu.au>
> >
> >
> > --
> > The linux-thinkpad mailing list home page is at:
> > http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>
>
> ----------------------------
> Building an operation system without source code,
> is like buying a self assemble space shuttle without
> instructions.
--
klash | | Never underestimate the
.|. .|. power of stupid people in
.|||. .|||. large groups.
.:::::::.:::::::.