Bug 5997

Summary: usbhid driver disable the Mouse and keyboard
Product: Drivers Reporter: Raphael RIGNIER (raphael)
Component: USBAssignee: Greg Kroah-Hartman (greg)
Status: CLOSED CODE_FIX    
Severity: high CC: raphael
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.15.2 Subsystem:
Regression: --- Bisected commit-id:
Attachments: Remove clear-halt from HID core

Description Raphael RIGNIER 2006-02-02 08:39:42 UTC
Most recent kernel where this bug did not occur: 2.6.12?
Distribution: Debian SID
Hardware Environment: USB only micro touwer PC (HP Du520) Intel P4 based machine.

Problem Description:
Hello!

My PS2 mouse and Keyboard are plugged into a composite USB to PS2 Adator.
When the kernel loads the usbhid driver, those input devices don't work anymore...

Here is en extract of dmesg output :
------------------------------------------------------
usb 2-1: new low speed USB device using uhci_hcd and address 2
usbcore: registered new driver hiddev
input: Composite USB PS2 Converter USB to PS2 Adaptor  v1.09 as /class/input/input0
input: USB HID v1.10 Keyboard [Composite USB PS2 Converter USB to PS2 Adaptor 
v1.09] on usb-0
000:00:1d.1-1
input: Composite USB PS2 Converter USB to PS2 Adaptor  v1.09 as /class/input/input1
input: USB HID v1.10 Mouse [Composite USB PS2 Converter USB to PS2 Adaptor 
v1.09] on usb-0000
:00:1d.1-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
--------------------------------------------------------- 

Steps to reproduce:
Plug a compsite USB to ps2 adaptor in any usb port, plug PS2 mouse and Keyboard
in it, and boot  the PC....

I thought it was udev's fault, but same config with 2.6.12 kernel works just fine!

Rapha
Comment 1 Alan Stern 2006-02-02 13:56:31 UTC
Created attachment 7221 [details]
Remove clear-halt from HID core

This attachment is a patch that has already been accepted in the 2.6.16
development kernel.  There's a good chance it will fix your problem.
Comment 2 Raphael RIGNIER 2006-02-03 09:03:04 UTC
bugme-daemon@bugzilla.kernel.org a 
Comment 3 Raphael RIGNIER 2006-02-07 02:49:58 UTC
The patch works great!

I close the bug Then.
Thank you!