Hello @ll!

I have problem with USB on kernel 2.6.0 from www.kernel.org. My
motherboard have a 6 ports of USB.2.0 - motherboard: ASUS P4B533. In
kernel 2.4.x it is OK, i loaded modules: usb-uhci and it was OK. I
some hardware on USB:
mouse (CREATIVE MOUSE OPTICAL LITE),
scanner (HP 5200),
cabel host2host (in dmesg: Prolific PL-2301/PL-2302)

When I disconnect cable of mouse via USB module uhci_hcd is oops.
Mouse has scrollroll, but it doesn't work. It work when I click on
the wheel - it give small round point on screen. Has anybody
solution this poblem ??

In .config loaded modules:
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=y


In this example, I dont understand why mouse is not visible on this
list of ports of USB.
lsusb give:
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 002: ID 062a:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000  


cat /proc/bus/usb/device
T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.0test1 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.2
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.0test1 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.1
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.0test1 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.0
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.0test1 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:1d.7
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms

in dmesg:
ehci_hcd 0000:00:1d.7: EHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 9, pci mem d081f000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-13
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface
driver v2.1
uhci_hcd 0000:00:1d.0: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: irq 11, io base 0000d800
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: irq 5, io base 0000d400
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: irq 10, io base 0000d000
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
...
drivers/usb/core/usb.c: registered new driver hiddev
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Translated Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
...
hub 3-0:1.0: new USB device on port 1, assigned address 2
usb 3-1: config 0 descriptor??

After disconnected cable USB with mouse in dmesg kernel oops

usb 3-1: USB disconnect, address 2
Unable to handle kernel NULL pointer dereference at virtual address
00000008
 printing eip:
c015d13b
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c015d13b>]    Not tainted
EFLAGS: 00010296
EIP is at __lookup_hash+0x15/0xc6
eax: 00000000   ebx: 12fd28db   ecx: ffffffff   edx: 01b9ec71
esi: c0378b98   edi: 00000000   ebp: c13cbe60   esp: c13cbe48
ds: 007b   es: 007b   ss: 0068
Process khubd (pid: 5, threadinfo=c13ca000 task=c12b8080)
Stack: 00000000 c13cbe70 c011968e 12fd28db c0378b98 c03310fb
c13cbe74 c015d20c 
       c13cbe84 00000000 00000000 c13cbe9c c0180d5a c13cbe84
00000000 c03310f6 
       00000005 12fd28db 00000000 cfdb0c94 00000000 c13cbeb4
c0182325 00000000 
Call Trace:
 [<c011968e>] recalc_task_prio+0x90/0x1aa
 [<c015d20c>] lookup_hash+0x20/0x24
 [<c0180d5a>] sysfs_get_dentry+0x67/0x6e
 [<c0182325>] sysfs_remove_group+0x5f/0x66
 [<c0231291>] dpm_sysfs_remove+0x1c/0x23
 [<c0230cb7>] device_pm_remove+0x3a/0x83
 [<c022e612>] device_del+0x76/0xa3
 [<c028bef1>] usb_disable_device+0x73/0xae
 [<c028677e>] usb_disconnect+0xc8/0x115
 [<c0288dbe>] hub_port_connect_change+0x32f/0x334
 [<c0288700>] hub_port_status+0x43/0xa9
 [<c02890a0>] hub_events+0x2dd/0x353
 [<c0289148>] hub_thread+0x32/0xe9
 [<c011a606>] default_wake_function+0x0/0x12
 [<c0289116>] hub_thread+0x0/0xe9
 [<c0108275>] kernel_thread_helper+0x5/0xb

Code: 8b 77 08 c7 44 24 04 01 00 00 00 89 44 24 08 89 34 24 e8 33 

Best regards..
Paul S.



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to