Bug 29993 - Problem with irda on Toshiba Sat. 4280
Problem with irda on Toshiba Sat. 4280
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-02-28 05:52 EST by Inger Karin Haarbye
Modified: 2007-04-18 12:31 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-03-08 10:32:13 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Inger Karin Haarbye 2001-02-28 05:52:08 EST
Irda fails on my Toshiba because the newer toshiba-chips (DO) use another
PCI ID than the older ones.

In /usr/src/linux/include/net/irda/toshoboe.h - line 104:

#define PCI_DEVICE_ID_FIR701   0x0701

has to be changed to:

#define PCI_DEVICE_ID_FIR701   0x0d01

before recompiling modules. 
I guess that 0x0701 did work on older toshibas.
Comment 1 Arjan van de Ven 2001-02-28 06:51:50 EST
This will be fixed in the next kernel we build by having both PCI id's
in the driver.
Comment 2 Arjan van de Ven 2001-02-28 10:24:35 EST
I'm marking this bug as "fixed in rawhide". If a kernel of version 2.4.2-0.1.17
or newer (once it becomes available) does not work for you, please reopen this
Comment 3 Inger Karin Haarbye 2001-03-03 17:24:33 EST
No, I can't get this work with kernel-2.4.2-0.1.19 from rawhide.

In my /etc/modules.conf I have these to lines (for irda):

alias char-major-161 ircomm-tty
alias irda0 toshoboe

If everything workes OK all I have to do is "irattach irda0 -s" to get my Nokia
6210 working (with irda).

This don't work now. "modprobe irda0" gives:

/lib/modules/2.4.2-0.1.19/kernel/drivers/net/irda/toshoboe.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.2-0.1.19/kernel/drivers/net/irda/toshoboe.o: insmod
/lib/modules/2.4.2-0.1.19/kernel/drivers/net/irda/toshoboe.o failed
/lib/modules/2.4.2-0.1.19/kernel/drivers/net/irda/toshoboe.o: insmod irda0 failed

Anything different I have to do now when both PCI ID's are possible?
Comment 4 Arjan van de Ven 2001-03-05 11:46:45 EST
The driver in 0.1.19 did have the PCI id in the PCI id table, but later on
it tried to find a device explicitly using the old 2.2 api, and it was missing
the extra ID there. Will be fixed in our next build  (>= 0.1.21).
Comment 5 Arjan van de Ven 2001-03-05 12:30:33 EST
Since I don't have this hardware, would you be prepared to test a newer kernel
and verify that it works ?
Comment 6 Inger Karin Haarbye 2001-03-05 14:21:09 EST
Oh yes, I'm waiting... I guess I will soon find a newer kernel in rawhide.
Comment 7 Inger Karin Haarbye 2001-03-08 10:32:09 EST
Works for me now with kernel-2.4.2-0.1.22 from rawhide.
Comment 8 Arjan van de Ven 2001-03-08 11:45:55 EST
Thanks for confirming.
"Works for me now" -> closing as fixed in rawhide.

Note You need to log in before you can comment on or make changes to this bug.