Author Topic: Usb Host Kernel Module Not Loading  (Read 2803 times)

sven

  • Newbie
  • *
  • Posts: 6
    • View Profile
Usb Host Kernel Module Not Loading
« on: January 26, 2005, 05:38:30 pm »
Hi,

when try to load the module for the usb host ctlr i get this strange error:

Code: [Select]
# lsmod
Module                  Size  Used by
prism2_cs              69584   1
p80211                 18864   1  [prism2_cs]
pxa_bi                 24912   0  (unused)
net_fd                 25216   0  (unused)
usbdcore               35504   0  [pxa_bi net_fd]
usbdmonitor             5488   0
usb-monitor             6496   0
sharp_mmcsd_m          41008   1
# modprobe usb_ohci_pxa27x
/lib/modules.rom/2.4.20/kernel/drivers/usb/usb_ohci_pxa27x.o: init_module: Operation not permitted
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules.rom/2.4.20/kernel/drivers/usb/usb_ohci_pxa27x.o: insmod /lib/modules.rom/2.4.20/kernel/drivers/usb/usb_ohci_pxa27x.o failed
/lib/modules.rom/2.4.20/kernel/drivers/usb/usb_ohci_pxa27x.o: insmod usb_ohci_pxa27x failed
#

Any thoughts?

thanks
Sven
PS: usbcore is loading fine, if i load usbcore before trying to insmod the ohci module i get the same error.
« Last Edit: January 26, 2005, 05:42:05 pm by sven »

Jonathan

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • http://
Usb Host Kernel Module Not Loading
« Reply #1 on: January 26, 2005, 09:52:58 pm »
Sven,

I get the same messages, but... do you really need to do this?  

When I plug in my mini-USB adaptor cable (just the dumb cable, with no USB device attached) the module loads automatically.

Before plugging in cable:


Code: [Select]
zaurus:[zaurus]:$ lsmod
Module                  Size  Used by
usbdmonitor             5488   0
usb-monitor             6496   0
sharp_mmcsd_m          41008   1

then I plug in the cable:

Code: [Select]
zaurus:[zaurus]:$ lsmod
Module                  Size  Used by
usb_ohci_pxa27x        21696   0 (unused)
usbcore                63264   1 [usb_ohci_pxa27x]
usbdmonitor             5488   0
usb-monitor             6496   0
sharp_mmcsd_m          41008   1
zaurus:[zaurus]:$

Seems that the dumb cable shorts some connector in the mini USB socket and wakes up the built in controller.  Before that it is off and the modules can't be forced to load.

Is that what you want to happen?  

Jonathan

sven

  • Newbie
  • *
  • Posts: 6
    • View Profile
Usb Host Kernel Module Not Loading
« Reply #2 on: January 27, 2005, 05:41:47 am »
Quote
Seems that the dumb cable shorts some connector in the mini USB socket and wakes up the built in controller.  Before that it is off and the modules can't be forced to load.

Is that what you want to happen? 

Ahh, that means my cable is defect or just the false one. That was also my first guess.

Thanks a lot
Sven

cwaig

  • Full Member
  • ***
  • Posts: 153
    • View Profile
Usb Host Kernel Module Not Loading
« Reply #3 on: January 27, 2005, 06:59:21 am »
Isn't the SLC3000's USB port a MiniAB type? MiniAB decides if it's being a USB host or USB slave based on what type of cable you plug into it, so that's probably the reason the driver doesn't load 'til you plug in the cable.....
SL5500+Origo WIFI+Pocketop Keyboard+BlueMonkey Bluetooth+IBM Microdrive+SL6000+iRiver USB host+PackardBell USB RF mini-mouse+Cheapo Kingmax USB laptop Keyboard+Dynamode USB Ethernet Adaptor
Wrote a couple of things....
IRK, SubApplet, QMode2, NetActive, SimpleEdit, zPocketScript.