[ltp] irda

Tom Allison linux-thinkpad@www.bm-soft.com
Fri, 19 Oct 2001 20:59:10 -0400


This is a multi-part message in MIME format.
--------------060007060005020403020501
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I'm trying to get my irda working (again) on my A21m Thinkpad.
I had it working once.
I booted into Win98 to make sure that the IR port is turned on.

Here's the log (syslog) attached.

Can someone help me figure out where I should look?
I do have the kernel modules: irda and ircomm in the 
/lib/modules/2.4.9/kernel/net directory.

/etc/modules.conf has:
alias char-major-161 ircomm-tty
alias irda0 nsc-ircc
options nsc-ircc dongle_id=0x09  (man irattache says this should be 
0x08...  I have not had a chance to validate this)
ls -l /dev/ircomm*:
crw-rw-rw-  1  root  root 161,0 /dev/ircomm0
(no other /dev/ir* devices)

I have a Debian installation with a file: /etc/irda.conf with:
IRDADEV=irda0
DISCOVERY=-s
ENABLE=yes

It is my understanding that this irda.conf file simply startes irattach


Here's the killer.
When I run irattach -s...  I get a syslog entry that says:
nsc-ircc: Found chip at base=0x2e
nsc-ircc: driver loaded
nsc_ircc_open(), can't et iobase of 0x2f8  (ed: This matches the Win98 
IO address)
/lib/modules/2.4.9/kernel/drivers.net/irda/nsc-ircc.o: init_module: No 
such device.

Is there  a bad parameter or something?
I'm kind of stuck and not sure what I'm supposed to do with this next...

--------------060007060005020403020501
Content-Type: text/plain;
 name="irda"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="irda"

Oct 19 11:12:19 thorin irattach: executing: '/sbin/modprobe irda0'
Oct 19 11:12:19 thorin kernel: nsc-ircc, Found chip at base=0x02e
Oct 19 11:12:19 thorin kernel: nsc-ircc, driver loaded (Dag Brattli)
Oct 19 11:12:19 thorin kernel: nsc_ircc_open(), can't get iobase of 0x2f8
Oct 19 11:12:19 thorin irattach: + /lib/modules/2.4.9/kernel/drivers/net/irda/nsc-ircc.o: init_module: No such device
Oct 19 11:12:19 thorin lpd[221]: restarted
Oct 19 11:12:20 thorin irattach: + /lib/modules/2.4.9/kernel/drivers/net/irda/nsc-ircc.o: insmod /lib/modules/2.4.9/kernel/drivers/net/irda/nsc-ircc.o failed
Oct 19 11:12:20 thorin irattach: + /lib/modules/2.4.9/kernel/drivers/net/irda/nsc-ircc.o: insmod irda0 failed
Oct 19 11:12:20 thorin irattach: + Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
Oct 19 11:12:20 thorin irattach: Trying to load module irda0 exited with status 255
Oct 19 11:12:20 thorin irattach: executing: 'echo 1 > /proc/sys/net/irda/discovery'
Oct 19 11:12:20 thorin irattach: Starting device irda0
Oct 19 11:12:20 thorin insmod: /lib/modules/2.4.9/kernel/drivers/net/irda/nsc-ircc.o: init_module: No such device
Oct 19 11:12:20 thorin insmod: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
Oct 19 11:12:20 thorin insmod: /lib/modules/2.4.9/kernel/drivers/net/irda/nsc-ircc.o: insmod irda0 failed
Oct 19 11:12:20 thorin kernel: nsc-ircc, Found chip at base=0x02e
Oct 19 11:12:20 thorin kernel: nsc-ircc, driver loaded (Dag Brattli)
Oct 19 11:12:20 thorin kernel: nsc_ircc_open(), can't get iobase of 0x2f8
Oct 19 11:12:20 thorin irattach: executing: 'echo thorin > /proc/sys/net/irda/devname'
Oct 19 11:12:20 thorin kernel: Linux Kernel Card Services 3.1.22
Oct 19 11:12:20 thorin kernel:   options:  [pci] [cardbus] [pm]
Oct 19 11:12:20 thorin kernel: PCI: Found IRQ 11 for device 00:02.0
Oct 19 11:12:20 thorin kernel: PCI: Sharing IRQ 11 with 00:05.0
Oct 19 11:12:20 thorin kernel: PCI: Sharing IRQ 11 with 01:00.0
Oct 19 11:12:20 thorin kernel: PCI: Found IRQ 11 for device 00:02.1
Oct 19 11:12:20 thorin kernel: Yenta IRQ list 06b0, PCI irq11
Oct 19 11:12:20 thorin kernel: Socket status: 30000006
Oct 19 11:12:20 thorin kernel: Yenta IRQ list 06b0, PCI irq11
Oct 19 11:12:20 thorin kernel: Socket status: 30000006
Oct 19 11:12:20 thorin cardmgr[245]: starting, version is 3.1.22
Oct 19 11:12:20 thorin cardmgr[245]: watching 2 sockets
Oct 19 11:12:20 thorin kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Oct 19 11:12:20 thorin kernel: cs: IO port probe 0x0800-0x08ff: clean.
Oct 19 11:12:20 thorin kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x3b8-0x3df 0x4d0-0x4d7
Oct 19 11:12:20 thorin kernel: cs: IO port probe 0x0a00-0x0aff: clean.

--------------060007060005020403020501--


----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html