Problem z myszką USB na kernelu 2.6

Paweł S pawcio-s w go2.pl
Śro, 5 Lis 2003, 10:28:06 CET


On Sun, 2 Nov 2003 15:38:28 +0100
Arkadiusz Miskiewicz <arekm w pld-linux.org> wyprodukował:

> > Czy działa komuś myszka na USB ? Na 2.4 mam załadowane takie moduły:
> > hid, usbmouse, usb-uhci, mousedev, input i toto działa. Na 2.6
> > załadowałem dodatkowo psmouse ale nie ma modułu input.
> Działa, spróbuj doinstalować pakiet hotplug.

Hmm zainstalowałem, ale niestety coś oopsuje. Wyciąg z dmesg:

drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
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
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver
v2.1
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: irq 11, io base 0000d800
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-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 2
hub 2-0:1.0: USB hub found
hub 2-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 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
hub 2-0:1.0: new USB device on port 1, assigned address 2
usb 2-1: config 0 descriptor??
drivers/usb/core/usb.c: registered new driver usbmouse
drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
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 d08b9000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
ehci_hcd 0000:00:1d.7: enabled 64bit PCI DMA
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-13
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 6 ports detected
usb 2-1: USB disconnect, address 2
Unable to handle kernel NULL pointer dereference at virtual address 00000008
 printing eip:
c0168ce5
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c0168ce5>]    Not tainted
EFLAGS: 00010296
EIP is at __lookup_hash+0x15/0xd0
eax: 00000000   ebx: 12fd28db   ecx: ffffffff   edx: 01b9ec71
esi: c032a0d8   edi: 00000000   ebp: c136de60   esp: c136de48
ds: 007b   es: 007b   ss: 0068
Process khubd (pid: 503, threadinfo=c136c000 task=c13826a0)
Stack: c0394b80 00000286 00000000 12fd28db c032a0d8 c02ccdc7 c136de74
c0168dc0
       c136de84 00000000 00000000 c136de9c c0191092 c136de84 00000000
c02ccdc2
       00000005 12fd28db 0000274e cefe7294 00000000 c136deb4 c0192840
00000000
Call Trace:
 [<c0168dc0>] lookup_hash+0x20/0x30
 [<c0191092>] sysfs_get_dentry+0x62/0x70
 [<c0192840>] sysfs_remove_group+0x60/0x70
 [<c01ff3ec>] dpm_sysfs_remove+0x1c/0x20
 [<c01fed8a>] device_pm_remove+0x3a/0x84
 [<c01fc296>] device_del+0x76/0xb0
 [<d0865a60>] usb_disable_device+0x70/0xb0 [usbcore]
 [<d085fd46>] usb_disconnect+0xc6/0x120 [usbcore]
 [<d0862635>] hub_port_connect_change+0x335/0x340 [usbcore]
 [<d0861f38>] hub_port_status+0x38/0xa0 [usbcore]
 [<d0862915>] hub_events+0x2d5/0x350 [usbcore]
 [<d08629c5>] hub_thread+0x35/0x100 [usbcore]
 [<c011cbf0>] default_wake_function+0x0/0x30
 [<d0862990>] hub_thread+0x0/0x100 [usbcore]
 [<c01092b9>] kernel_thread_helper+0x5/0xc

Code: 8b 77 08 89 44 24 08 c7 44 24 04 01 00 00 00 89 34 24 e8 54
 <7>ohci_hcd: 2003 Oct 13 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64


Może ktoś podać, jak toto ma wyglądać ? Bo nie zrozumiałem do końca tej
dokumentacji dobrze.


Pozdrawiam Paweł S.



Więcej informacji o liście dyskusyjnej pld-users-pl