#17 Remotion of Gyration device freezes USB

open
nobody
None
5
2014-08-20
2004-05-20
Anonymous
No

Hi,

I have a Gyration USB wireless mouse+keyboard and I am
having problems
using it with the new version of hotplug (0.44-32.5)
that came with
SuSE 9.1 (and patches) (that's kernel 2.6). It used to
work perfectly
fine with my previous installation (SuSE 8.2, hotplug
2002_04_01 and
kernel 2.4.20).

The problem is as follows:
- the first time I insert the device, everything works
fine (see below
for the logged events);
- when I remove it, it freezes the whole USB subsystem,
so that nothing
happens if I try to insert any device. I have to
reboot the computer
to be able to use USB again. (See the log excerp
when I remove the
device.)

Until it dies, I can insert and remove USB devices
without problems (I
tried with memory cards and a mouse).

Is there a fix to this problem?

Many thanks in advance,

Iliano Cervesato

------------------------------------------------------------------------------------
############ From /var/log/messages when inserting the
device

May 17 13:59:00 ingonish /USR/SBIN/CRON[12533]: (root)
CMD ( rm -f /var/spool/cron/lastrun/cron.hourly)
May 17 13:59:48 ingonish kernel: usb 1-3: new low speed
USB device using address 2
May 17 13:59:48 ingonish kernel: usb 1-3: Product:
GyroPoint RF Technology Receiver
May 17 13:59:48 ingonish kernel: usb 1-3: Manufacturer:
Gyration
May 17 13:59:51 ingonish /etc/hotplug/usb.agent[12544]:
need a device for this command
May 17 13:59:51 ingonish /etc/hotplug/usb.agent[12543]:
need a device for this command
May 17 13:59:57 ingonish kernel:
drivers/usb/core/usb.c: registered new driver hiddev
May 17 13:59:57 ingonish kernel:
drivers/usb/input/hid-core.c: ctrl urb status -32 received
May 17 13:59:57 ingonish kernel: input: USB HID v1.00
Keyboard [Gyration GyroPoint RF Technology Receiver] on
usb-0000:00:01.2-3
May 17 13:59:58 ingonish kernel:
drivers/usb/input/hid-core.c: ctrl urb status -32 received
May 17 13:59:58 ingonish last message repeated 3 times
May 17 13:59:58 ingonish kernel: input,hiddev96: USB
HID v1.00 Mouse [Gyration GyroPoint RF Technology
Receiver] on usb-0000:00:01.2-3
May 17 13:59:58 ingonish kernel:
drivers/usb/core/usb.c: registered new driver hid
May 17 13:59:58 ingonish kernel:
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
May 17 14:00:03 ingonish /etc/hotplug/usb.agent[12662]:
cat: /sys//class/usb/hiddev0/bNumConfigurations: No
such file or directory
May 17 14:00:03 ingonish /etc/hotplug/usb.agent[12662]:
/etc/hotplug/usb.agent: line 100: [: too many arguments

############ From /var/log/messages when removing the
device

May 17 18:59:00 ingonish kernel: usb 1-3: USB
disconnect, address 2
May 17 18:59:00 ingonish kernel: Unable to handle
kernel paging request at virtual address db055000
May 17 18:59:00 ingonish kernel: printing eip:
May 17 18:59:00 ingonish kernel: db04db33
May 17 18:59:00 ingonish kernel: *pde = 08a44067
May 17 18:59:00 ingonish kernel: Oops: 0002 [#1]
May 17 18:59:00 ingonish kernel: CPU: 0
May 17 18:59:00 ingonish kernel: EIP:
0060:[__crc_class_device_put+2576666/4701766] Not
tainted
May 17 18:59:00 ingonish kernel: EIP:
0060:[<db04db33>] Not tainted
May 17 18:59:00 ingonish kernel: EFLAGS: 00010282
(2.6.4-54.5-default)
May 17 18:59:00 ingonish kernel: EIP is at
hiddev_cleanup+0x13/0x30 [hid]
May 17 18:59:00 ingonish kernel: eax: 00000060 ebx:
c6e53180 ecx: cd66cc80 edx: d6848e94
May 17 18:59:00 ingonish kernel: esi: db054820 edi:
d09de000 ebp: d09de024 esp: d3af5f10
May 17 18:59:01 ingonish /etc/hotplug/usb.agent[14466]:
need a device for this command
May 17 18:59:01 ingonish /USR/SBIN/CRON[14587]: (root)
CMD ( rm -f /var/spool/cron/lastrun/cron.hourly)
May 17 18:59:00 ingonish kernel: ds: 007b es: 007b
ss: 0068
May 17 18:59:01 ingonish kernel: Process khubd (pid:
267, threadinfo=d3af4000 task=d3f7b2d0)
May 17 18:59:01 ingonish kernel: Stack: c49ba000
db04b8e9 c6e53b80 d6833546 c6e53b94 db054840 c021fc26
c6e53b94
May 17 18:59:01 ingonish kernel: d09de0cc
c021fcea c6e53b94 d09de0cc c021ed82 c6e53b94 d09de000
c021edd8
May 17 18:59:01 ingonish kernel: 00000002
d6836d8d d09de040 ffffffff d683307e 00000003 00000002
d1c1d880
May 17 18:59:01 ingonish kernel: Call Trace:
May 17 18:59:01 ingonish kernel:
[__crc_class_device_put+2567888/4701766]
hid_disconnect+0x89/0xf0 [hid]
May 17 18:59:01 ingonish kernel: [<db04b8e9>]
hid_disconnect+0x89/0xf0 [hid]
May 17 18:59:01 ingonish kernel:
[__crc_nlmclnt_proc+4702366/5227376]
usb_unbind_interface+0x56/0x58 [usbcore]
May 17 18:59:01 ingonish kernel: [<d6833546>]
usb_unbind_interface+0x56/0x58 [usbcore]
May 17 18:59:01 ingonish kernel:
[device_release_driver+70/80]
device_release_driver+0x46/0x50
May 17 18:59:01 ingonish kernel: [<c021fc26>]
device_release_driver+0x46/0x50
May 17 18:59:01 ingonish kernel:
[bus_remove_device+58/112] bus_remove_device+0x3a/0x70
May 17 18:59:01 ingonish kernel: [<c021fcea>]
bus_remove_device+0x3a/0x70
May 17 18:59:01 ingonish kernel: [device_del+82/160]
device_del+0x52/0xa0
May 17 18:59:01 ingonish kernel: [<c021ed82>]
device_del+0x52/0xa0
May 17 18:59:01 ingonish kernel:
[device_unregister+8/16] device_unregister+0x8/0x10
May 17 18:59:01 ingonish kernel: [<c021edd8>]
device_unregister+0x8/0x10
May 17 18:59:01 ingonish kernel:
[__crc_nlmclnt_proc+4716773/5227376]
usb_disable_device+0x7d/0xb0 [usbcore]
May 17 18:59:01 ingonish kernel: [<d6836d8d>]
usb_disable_device+0x7d/0xb0 [usbcore]
May 17 18:59:01 ingonish kernel:
[__crc_nlmclnt_proc+4701142/5227376]
usb_disconnect+0xae/0x110 [usbcore]
May 17 18:59:01 ingonish kernel: [<d683307e>]
usb_disconnect+0xae/0x110 [usbcore]
May 17 18:59:01 ingonish kernel:
[__crc_nlmclnt_proc+4707876/5227376]
hub_port_connect_change+0x1cc/0x3f0 [usbcore]
May 17 18:59:01 ingonish kernel: [<d6834acc>]
hub_port_connect_change+0x1cc/0x3f0 [usbcore]
May 17 18:59:01 ingonish kernel:
[__crc_nlmclnt_proc+4703001/5227376]
hub_port_status+0x51/0xe0 [usbcore]
May 17 18:59:01 ingonish kernel: [<d68337c1>]
hub_port_status+0x51/0xe0 [usbcore]
May 17 18:59:01 ingonish kernel:
[__crc_nlmclnt_proc+4709115/5227376]
hub_thread+0x2b3/0x520 [usbcore]
May 17 18:59:01 ingonish kernel: [<d6834fa3>]
hub_thread+0x2b3/0x520 [usbcore]
May 17 18:59:01 ingonish kernel:
[default_wake_function+0/16] default_wake_function+0x0/0x10
May 17 18:59:01 ingonish kernel: [<c011bdc0>]
default_wake_function+0x0/0x10
May 17 18:59:01 ingonish kernel:
[__crc_nlmclnt_proc+4708424/5227376]
hub_thread+0x0/0x520 [usbcore]
May 17 18:59:01 ingonish kernel: [<d6834cf0>]
hub_thread+0x0/0x520 [usbcore]
May 17 18:59:01 ingonish kernel:
[kernel_thread_helper+5/16] kernel_thread_helper+0x5/0x10
May 17 18:59:01 ingonish kernel: [<c0106005>]
kernel_thread_helper+0x5/0x10
May 17 18:59:01 ingonish kernel:
May 17 18:59:01 ingonish kernel: Code: c7 04 85 80 4e
05 db 00 00 00 00 89 d8 5b e9 aa 24 0f e5 8d

Discussion