[ltp] Thinkpad R40 and IrDA to a mobile phone
Konstantin
linux-thinkpad@linux-thinkpad.org
Wed, 26 May 2004 01:36:25 +0200
hi,
now Step by Step, hope it'll help.
cd /usr/src/linux
make menuconfig
After that enter ( always press enter on the points I tell you
Device Drivers -> Networking Support -> IrDA (infrared) subsystem support
-> Infrared-port device drivers
there you will find a NSC PC87108/PC87338
choose it as modul, because you need the io, irq and dongle_id stuff for the modul, without it won't work.
Sorry for the stupid explenation, maybe you missed the name :/
If you won't find it there, go to the .config file and search for this:
# CONFIG_NSC_FIR is not set
and change it to:
CONFIG_NSC_FIR=m
after that you must see it under make menuconfig or what ever you use.
Hope it'll fix your problem ;)
If you get the module, good luck with the other stuff, read the modules.conf stuff from over people or use my stuff(I wrote a script for). You got the three lines in my privios mail:
-----cut--------
#!/bin/bash
insmod /lib/modules/2.6.6-mm4/kernel/drivers/net/irda/nsc-ircc.ko io=0x2f8 irq=3 dma=3 dongle_id=0x09
modprobe ircomm-tty
irattach irda0
-----cut--------
you have to change the path for your kernel version, I use 2.6.6-mm4 at the moment!
Greetz
Konstantin
On Tue, 25 May 2004 19:10:32 +0100
Tony Whitmore <tonywhitmore@users.sourceforge.net> wrote:
> Konstantin wrote:
> > hi,
> >
> > sorry it was my fault. Here are the changed commands, which I've tested on a IBM T40 and Linux 2.6.6-mm4
> >
> > insmod /lib/modules/2.6.6-mm4/kernel/drivers/net/irda/nsc-ircc.ko io=0x2f8 irq=3 dma=3 dongle_id=0x09
> > modprobe ircomm-tty
> > irattach irda0
> >
> > irattach irda0 -s is not necessary
> >
> > My modules.conf settings doesn't worked. Thx for Marius Gedminas for the settings, I will try them later, maybe this will do it.
> >
> > I can't use IRDA with my wlan card, I have an external Netgear ...
> >
>
> I might be being very dumb, but I still can't find where the nsc-ircc
> module is enabled in the kernel configuration. I'm running a stock 2.6.6
> kernel, and I've looked through all the options in drivers/net/irda and
> none of them say they produce the nsc-ircc module. Yes, the source code
> file it still within the tree - I just can't find where to activate it.
>
> Cheers,
>
> Tony
> --
Building an operating system without source code is like buying
a self-assembly Space Shuttle with no instructions.
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
--