Hello Tuck,
It looks like your system is loading the uhci driver instead of ohci and
this is why your devices aren't working.  Since you can load the ohci module
manually your kernel seems to have the right support options, so no need to
recompile anything.  Try 'alias usb-uhci off' in /etc/modules.conf and see
if that helps.

my hypothesis is that your USB controller is somehow being detected as a
UHCI device but it is actually an OHCI device... so all you have to do is
force it to load the correct module at boot time.

-A

--__--__--

Message: 3
Date: Tue, 14 Jan 2003 15:41:42 -0800 (PST)
From: Carl Hartshorn <[EMAIL PROTECTED]>
Reply-To: Carl Hartshorn <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Linux-usb-users] new A7N8X board problem

Perhaps some could help with a modules.conf question?

I upgraded to an Asus A7N8X with two USB controllers and one USB2. 
At the moment, I have only a APC backup plugged in.

The previous system--nonUSB2--had no problem. It detected and found the APC.

my 'modules.conf' (today) has

alias usb usb-ohci
alias usb-controller  usb-ohci
alias usb-controller1 usb-ohci
alias usb-controller2 ehci-hcd

When the system boots, lsmod only shows...

Module                  Size  Used by    Not tainted
ncr53c8xx              51840   2  (autoclean)
st                     26164   2  (autoclean)
mousedev                3872   0  (unused)
hid                    13088   0  (unused)
input                   3072   0  [mousedev hid]
usbcore                54016   1  [hid]


dmesg seems to be OK but I dont if I'm reading this well...
us
b.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 19:15:44 Jan 12 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: deregistering driver usbdevfs
usb.c: deregistering driver hub
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[EMAIL PROTECTED]>
hid-core.c: USB HID support drivers


but the boot log shows:

Jan 14 15:24:52 tucksLinux kernel: usb.c: registered new driver usbdevfs
Jan 14 15:24:52 tucksLinux kernel: usb.c: registered new driver hub
Jan 14 15:24:52 tucksLinux kernel: usb-uhci.c: $Revision: 1.275 $ time
19:15:44 
Jan 12 2003
Jan 14 15:24:52 tucksLinux kernel: usb-uhci.c: High bandwidth mode enabled
Jan 14 15:24:52 tucksLinux kernel: usb-uhci.c: v1.275:USB Universal Host 
Controller Interface driver
Jan 14 15:24:52 tucksLinux kernel: usb.c: deregistering driver usbdevfs
Jan 14 15:24:52 tucksLinux kernel: usb.c: deregistering driver hub
Jan 14 15:24:52 tucksLinux usbmgr[340]: start 0.4.6
Jan 14 15:24:52 tucksLinux kernel: usb.c: registered new driver usbdevfs
Jan 14 15:24:52 tucksLinux kernel: usb.c: registered new driver hub
Jan 14 15:24:53 tucksLinux kernel: usb.c: registered new driver hid
Jan 14 15:24:53 tucksLinux kernel: hid-core.c: v1.8.1 Andreas Gal, Vojtech 
Pavlik <[EMAIL PROTECTED]>
Jan 14 15:24:53 tucksLinux kernel: hid-core.c: USB HID support drivers
Jan 14 15:24:53 tucksLinux kernel: mice: PS/2 mouse device common for all
mice
Jan 14 15:24:53 tucksLinux usbmgr[342]: "hid" was loaded
Jan 14 15:24:53 tucksLinux usbmgr[342]: "mousedev" was loaded
Jan 14 15:24:53 tucksLinux kernel: usb-uhci.c: $Revision: 1.275 $ time
19:15:44 
Jan 12 2003
Jan 14 15:24:53 tucksLinux kernel: usb-uhci.c: High bandwidth mode enabled
Jan 14 15:24:53 tucksLinux kernel: usb-uhci.c: v1.275:USB Universal Host 
Controller Interface driver
Jan 14 15:24:53 tucksLinux insmod: 
/lib/modules/2.4.20-ac2/kernel/drivers/usb/usb-uhci.o: init_module: No such 
device
Jan 14 15:24:53 tucksLinux insmod: Hint: insmod errors can be caused by 
incorrect module parameters, including invalid 
IO or IRQ parameters
Jan 14 15:24:53 tucksLinux insmod: 
/lib/modules/2.4.20-ac2/kernel/drivers/usb/usb-uhci.o: insmod 
/lib/modules/2.4.20-ac
2/kernel/drivers/usb/usb-uhci.o failed
Jan 14 15:24:53 tucksLinux insmod: 
/lib/modules/2.4.20-ac2/kernel/drivers/usb/usb-uhci.o: insmod usb-uhci
failed
Jan 14 15:24:53 tucksLinux usbmgr[342]: "usb-uhci" was loaded
Jan 14 15:24:53 tucksLinux usbmgr[401]: mount /proc/bus/usb

So, I think the modules.conf has errors but I've tried enough combinations
(but 
not 
the right one).

At this point, usbtree shows nil.

If I manually do:

 modprobe usb-ohci
 modprobe ehci-hcd
 
and then, usbtree shows:
 
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-hcd/6p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=usb-ohci/3p, 12M
    |__ Port 2: Dev 3, If 0, Class=HID, Driver=hid, 1.5M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=usb-ohci/3p, 12M

and dmesg shows

usb-ohci.c: USB OHCI at membase 0xd08f0000, IRQ 5
usb-ohci.c: usb-00:02.0, PCI device 10de:0067
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.1 to 64
usb-ohci.c: USB OHCI at membase 0xd08f2000, IRQ 11
usb-ohci.c: usb-00:02.1, PCI device 10de:0067
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
hub.c: new USB device 00:02.1-2, assigned address 2
: USB HID v1.00 Joystick [American Power Conversion Back-UPS 500 FW: 6.1.D
USB 
FW: c1 ] on usb2:2.0
PCI: Setting latency timer of device 00:02.2 to 64
hcd.c: ehci-hcd @ 00:02.2, PCI device 10de:0068
hcd.c: irq 5, pci mem d08f9000
usb.c: new USB bus registered, assigned bus number 3
ehci-hcd.c: USB 2.0 support enabled, EHCI rev 1. 0
usb.c: USB disconnect on device 00:02.1-2 address 2
hub.c: USB hub found
hub.c: 6 ports detected
hub.c: new USB device 00:02.1-2, assigned address 3
: USB HID v1.00 Joystick [American Power Conversion Back-UPS 500 FW: 6.1.D
USB 
FW: c1 ] on usb2:3.0



So, can somebody spot something?


One more thing, 2.4.20-ac2


Thanks,

Tuck Hartshorn




-------------------------------------------------------
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to