[This is a message I sent out to the authors of the reports quoted below. I cc this now to the mailing list. Cheers. Thomas.] Hello. I am writing to you because you reported a problem getting Linux IrDA support to work with your NSC chip. I recently found some bugs in the Linux IrDA driver for the NSC PC87338/PC97338. I looked back through the archive of the linux-irda mailing list and found a number of reports that may have something to do with the bug. I am hoping that some of these reported problems will be fixed by my patch. [...] Please try it out and report your findings back to the linux-irda mailing list: [EMAIL PROTECTED] . Thomas Hood jdthood_AT_yahoo.co.uk On Fri, 15 Dec 2000, Ramesh Govindan wrote: > I have an IBM Thinkpad X20 and I'm running 2.2.18. > When I do findchip -v, I get: > > Found NSC PC87338 Controller at 0x2e, DevID=0x0b, Rev. 2 > SIR Base 0x0, FIR Base 0x0 > IRQ = 0, DMA = -1 > Enabled: no, Suspended: no > UART compatible: yes > Half duplex delay = 0 us > > There isn't a BIOS configuration option for IR, and > when I try insmod nsc-ircc, I get: > > Dec 15 13:13:06 xxx kernel: nsc-ircc, Wrong chip version 61 > > Can anyone help? > > Thanks, > Ramesh On 4 Dec 2000 Christian Hagemeier wrote: > Hi! > > I am trying to bring my irda port up and running. First of all I used > "findchip -v" to figure out the chip of my notebook. Here is the response > of the program: > > ---------------------------------------------- > tarsul:/home/ch# findchip -v > Found NSC PC87338 Controller at 0x398, DevID=0x0b, Rev. 2 > SIR Base 0x2f8, FIR Base 0x2f8 > IRQ = 3, DMA = 3 > Enabled: yes, Suspended: no > UART compatible: yes > Half duplex delay = 0 us > ----------------------------------------------- > > After inserting the module nsc-ircc the following error messages occured: > > ----------------------------------------------- > tarsul:/home/ch# modprobe nsc-ircc > /lib/modules/2.4.0-test9/kernel/drivers/net/irda/nsc-ircc.o: init_module: No such >device > Hint: insmod errors can be caused by incorrect module parameters, including invalid >IO or IRQ parameters > /lib/modules/2.4.0-test9/kernel/drivers/net/irda/nsc-ircc.o: insmod >/lib/modules/2.4.0-test9/kernel/drivers/net/irda/nsc-ircc.o failed > /lib/modules/2.4.0-test9/kernel/drivers/net/irda/nsc-ircc.o: insmod nsc-ircc failed > ----------------------------------------------- > > What am I doing wrong? Do I have to supply the module with some > parameters? which one? What type of information do you need to give me a > hint? > > BTW: The chip works correctly under Windows ... > > Thanks for your help ... ;-) > Christian Michael Heck wrote: > Hi, > > had the same problems with Debian 2.2 and any IrDA Version I'd tried. Inserting > the module per "insmod" with parameters to be more verbous could help to find > the problem. > In my case something with the chip recognition in the described software > combination with my hardware (sony vaio c1xd) doesn#t work, even some other users had > none the problems. > Now I'd changed distribution to SuSE 7.0 and everything's working fine!!! Don't > ask me why ;-) > > Hope this could help. > > Bye, Michael > > EDV-Beratung Michael Heck On 26 Nov 2000 Rajesh Krishna Balan wrote: > Hi, > > the thinkpad has a nsc chip in it (PC97338 Super I/O / ISA) according to > the IBM web page. > > when i do modprobe nsc-ircc i get the following error message. > > nsc-ircc, Found chip at base=0x02e > nsc-ircc, driver loaded (Dag Brattli) > nsc_ircc_open(), can't get iobase of 0x2f8 > > this is with 2.4.0-test11 with Dag's latest patch to it. > > Any ideas? i can get it working in SIR mode using irattach. > > Thanks, > > Rajesh On 27 Oct 2000 Sergey V. Udaltsov wrote: > Thanks a lot. > > Your program is completely useless for *337 chips but I was so inspired > that managed to create my own: for my chip. See attachement. > > Now I see in findchip -v: > Found NSC PC87338 Controller at 0x398, DevID=0x0b, Rev. 2 > SIR Base 0x2f8, FIR Base 0x2f8 > IRQ = 3, DMA = 2 > Enabled: yes, Suspended: no > UART compatible: yes > Half duplex delay = 0 us > > But now, when I try to load nsc-ircc module, I get (in dmesg): > > nsc-ircc, Wrong chip version ff > > Any ideas about this problem? > > BTW, I think it would be good to include some controller enabling code > into the nsc module of the kernel. Any objections? Probably, the author > of the module could do this work (probably, using my humble code:)? > > Regards, On 2 Jul 2000 Eugenio Jimenez Yguacel wrote: > Hi all, > I have a little problem with my Acer Travelmate 730TX. Findchip finds the > FIR port of this laptop but it's unable to make it to work as a FIR device. > As a SIR device, I can print using an HP-6MP PostScrip printer but I want > my 4 Mb/s :-( I'm using kernel 2.2.16 > > # findchip -v > Found NSC PC87338 Controller at 0x2e, DevID=0x0b, Rev. 2 > SIR Base 0x2f8, FIR Base 0x2f8 > IRQ = 3, DMA = 3 > Enabled: yes, Suspended: no > UART compatible: yes > Half duplex delay = 0 us > > #conf.modules > alias irda0 nsc-ircc > options irda0 io=0x2f8 irq=3 dma=3 > > #/etc/irda > irattach irda0 -s 1 > > # /var/log/messages after irmanager -d 1 (using FIR) > Jul 3 20:17:02 gic12 irmanager: + 1.1 Tue Nov 9 15:30:55 1999 Dag Brattli > Jul 3 20:17:02 gic12 irmanager: + 1.1 Tue Nov 9 15:30:55 1999 Dag Brattli > Jul 3 20:17:02 gic12 irattach: device=irda0 > Jul 3 20:17:02 gic12 irattach: FIR device > Jul 3 20:17:02 gic12 irattach: executing: '/sbin/modprobe irda0' > Jul 3 20:17:02 gic12 kernel: nsc-ircc, Found chip at base=0x02e > Jul 3 20:17:02 gic12 kernel: nsc-ircc, driver loaded (Dag Brattli) > Jul 3 20:17:02 gic12 kernel: nsc_ircc_open(), can't get iobase of 0x2f8 > Jul 3 20:17:02 gic12 irattach: + /lib/modules/2.2.16/misc/nsc-ircc.o: init_module: >Device or resource busy > Jul 3 20:17:02 gic12 irattach: + /lib/modules/2.2.16/misc/nsc-ircc.o: insmod >/lib/modules/2.2.16/misc/nsc-ircc.o failed > Jul 3 20:17:02 gic12 irattach: + /lib/modules/2.2.16/misc/nsc-ircc.o: insmod irda0 >failed > Jul 3 20:17:02 gic12 irattach: Trying to load module irda0 exited with status 255 > Jul 3 20:17:02 gic12 irattach: executing: 'echo 1 > /proc/sys/net/irda/discovery' > Jul 3 20:17:02 gic12 irattach: FIR device (2) > Jul 3 20:17:02 gic12 irattach: Starting device irda0 > Jul 3 20:17:02 gic12 kernel: nsc-ircc, Found chip at base=0x02e > Jul 3 20:17:02 gic12 kernel: nsc-ircc, driver loaded (Dag Brattli) > Jul 3 20:17:02 gic12 kernel: nsc_ircc_open(), can't get iobase of 0x2f8 > Jul 3 20:17:02 gic12 insmod: /lib/modules/2.2.16/misc/nsc-ircc.o: init_module: >Device or resource busy > Jul 3 20:17:02 gic12 insmod: /lib/modules/2.2.16/misc/nsc-ircc.o: insmod irda0 >failed > Jul 3 20:17:02 gic12 irattach: executing: 'echo gic12 > /proc/sys/net/irda/devname' > > # Doing irattach /dev/ttyS1 -s (SIR device) > Jul 3 20:29:15 gic12 irattach: device=/dev/ttyS1 > Jul 3 20:29:15 gic12 irattach: SIR device > Jul 3 20:29:15 gic12 kernel: IrDA: Registered device irda0 > Jul 3 20:29:16 gic12 irattach: executing: 'echo 1 > /proc/sys/net/irda/discovery' > Jul 3 20:29:16 gic12 irattach: SIR device (2) > Jul 3 20:29:16 gic12 irattach: Starting device irda0 > Jul 3 20:29:16 gic12 kernel: irtty_net_open() > Jul 3 20:29:16 gic12 kernel: irlap_change_speed(), setting speed to 9600 > Jul 3 20:29:16 gic12 irattach: executing: 'echo gic12 > /proc/sys/net/irda/devname' > > TIA On 12 Jun 2000 Dominic Yow-Sin-Cheung wrote: > I also tried going with the nsc-ircc chip solution. "findchip -v" gives a > "NSC87338 Controller at 0x398, DevID=0x0b, Rev. 2" > But as soon as I try "irattach irda0 -s 1" I get an error message: > "can't get iobase of 0x3e8" > "0x3e8" is the I/O of ttyS2. conf.modules has the "alias irda0 nsc-ircc" > and the "options nsc-ircc dongle_id=0x0b" (also tried dongle_id=0x09). > > Now: which is the way to go? Would both solutions work? Do I need to use > the "nsc-ircc"? And is it ok to use other IrDA devices to see if my Sony is > transmitting? And most important of all: how could I get this to work? Any > Sony Vaio PCG-F390 users out there who've been successful? > > Thanx a lot, > Dominic _______________________________________________ Linux-IrDA mailing list - [EMAIL PROTECTED] http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda
