Skip to contentSkip to conversation

New: [regression] USB keyboard no longer recognised

Bugme-new Andrew Morton 7 participants 8 messages Jan 1, 2009 – Jan 5, 2009 4 messages not in the archive HID

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 27 lines · On Thu, 1 Jan 2009 00:52:59 -0800 (PST) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=12340

           Summary: [regression] USB keyboard no longer recognised
           Product: Drivers
           Version: 2.5
     KernelVersion: 2.6.28
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: USB
        AssignedTo: [email protected]
        ReportedBy: [email protected]

Latest working kernel version: 2.6.27
Earliest failing kernel version: 2.6.28
Distribution:
Hardware Environment: ASUS Eee PC 901
Software Environment:
Problem Description:

The USB keyboard was recognised an working with kernel 2.6.27 but not working with 2.6.28.

Quoted 9 lines

Steps to reproduce:
1. boot kernel with parameters "rw root=/dev/sdb1 log_buf_len=1M init=/bin/ bash"
2. modprobe -k uhci_hcd
3. modprobe -k usbhid

Current result in case of 2.6.27: USB keyboard starts to work Current result in case of 2.6.28: USB keyboard does not work

Is it input/HID, or USB?

A message that is not in the archive (sent off-list or not yet received): 20090101011223.6a10dd66.akpm-de/[email protected]

#3 lore raw
Quoted 38 lines · Andrew Morton

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 33 lines · On Thu, 1 Jan 2009 00:52:59 -0800 (PST)…

http://bugzilla.kernel.org/show_bug.cgi?id=12340

           Summary: [regression] USB keyboard no longer recognised
           Product: Drivers
           Version: 2.5
     KernelVersion: 2.6.28
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: USB
        AssignedTo: [email protected]
        ReportedBy: [email protected]

Latest working kernel version: 2.6.27
Earliest failing kernel version: 2.6.28
Distribution:
Hardware Environment: ASUS Eee PC 901
Software Environment:
Problem Description:

The USB keyboard was recognised an working with kernel 2.6.27 but not working with 2.6.28.

Steps to reproduce:
1. boot kernel with parameters "rw root=/dev/sdb1 log_buf_len=1M init=/bin/ bash"
2. modprobe -k uhci_hcd
3. modprobe -k usbhid

Quoted 5 lines
Quoted 3 lines

Current result in case of 2.6.27: USB keyboard starts to work Current result in case of 2.6.28: USB keyboard does not work

Is it input/HID, or USB?

The same USB keyboard is working correctly with Clevo D410J laptop with 2.6.28, so I guess it might be an USB problem.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 8 lines · Németh Márton
Quoted 5 lines
Quoted 3 lines

Current result in case of 2.6.27: USB keyboard starts to work Current result in case of 2.6.28: USB keyboard does not work

Is it input/HID, or USB?

The same USB keyboard is working correctly with Clevo D410J laptop with 2.6.28, so I guess it might be an USB problem.

The dmesg logs clearly show that it is an HID problem. In 2.6.27 the device is registered with the input layer as a keyboard, but in 2.6.28 it isn't.

Perhaps a usbmon trace would help (see Documentation/usb/usbmon.txt).

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw
Quoted 10 lines · Németh Márton
Quoted 8 lines
Quoted 7 lines

Steps to reproduce:
1. boot kernel with parameters "rw root=/dev/sdb1 log_buf_len=1M init=/bin/ bash"
2. modprobe -k uhci_hcd
3. modprobe -k usbhid
Current result in case of 2.6.27: USB keyboard starts to work Current result in case of 2.6.28: USB keyboard does not work

Is it input/HID, or USB?

The same USB keyboard is working correctly with Clevo D410J laptop with 2.6.28, so I guess it might be an USB problem.

Why are you doing the modprobe by hand? Doesn't the module get autoloaded properly?

Anyway, in 2.6.28, this keyboard is driven by specialized 'hid-bright' driver. Does modprobing it by hand fix the problem?

Signature · 2 lines
Jiri Kosina
SUSE Labs
#7 lore raw
Quoted 9 lines · Jiri Kosina
Quoted 7 lines · Németh Márton
Quoted 7 lines
Quoted 7 lines

Steps to reproduce:
1. boot kernel with parameters "rw root=/dev/sdb1 log_buf_len=1M init=/bin/ bash"
2. modprobe -k uhci_hcd
3. modprobe -k usbhid
Current result in case of 2.6.27: USB keyboard starts to work Current result in case of 2.6.28: USB keyboard does not work

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Is it input/HID, or USB?

The same USB keyboard is working correctly with Clevo D410J laptop with 2.6.28, so I guess it might be an USB problem.

Why are you doing the modprobe by hand? Doesn't the module get autoloaded properly?

The modules were not autoloaded. This is a minimal test environment with only a few binaries in the root directory. Is the "modprobe" binary enough for autoloading?

Quoted 2 lines

Anyway, in 2.6.28, this keyboard is driven by specialized 'hid-bright' driver. Does modprobing it by hand fix the problem?

I'll try the hid-bright module as soon as my laptop gets repaired. --
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#9 lore raw
Quoted 11 lines · Németh Márton
Quoted 10 lines · Jiri Kosina
Quoted 8 lines · Németh Márton
Quoted 8 lines
Quoted 7 lines

Steps to reproduce:
1. boot kernel with parameters "rw root=/dev/sdb1 log_buf_len=1M init=/bin/ bash"
2. modprobe -k uhci_hcd
3. modprobe -k usbhid
Current result in case of 2.6.27: USB keyboard starts to work Current result in case of 2.6.28: USB keyboard does not work

Is it input/HID, or USB?

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

The same USB keyboard is working correctly with Clevo D410J laptop with 2.6.28, so I guess it might be an USB problem.

Why are you doing the modprobe by hand? Doesn't the module get autoloaded properly?

The modules were not autoloaded. This is a minimal test environment with only a few binaries in the root directory. Is the "modprobe" binary enough for autoloading?

I just was able to try the situation: the modules are not autoloaded.

Quoted 4 lines
Quoted 2 lines

Anyway, in 2.6.28, this keyboard is driven by specialized 'hid-bright' driver. Does modprobing it by hand fix the problem?

I'll try the hid-bright module as soon as my laptop gets repaired.

Loading the hid-bright module handles the USB keyboard properly. But it is still not clear for me why this module is not autoloaded?

Regards,

Márton Németh

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#10 lore raw
Quoted 4 lines · Németh Márton
Quoted 3 lines

The modules were not autoloaded. This is a minimal test environment with only a few binaries in the root directory. Is the "modprobe" binary enough for autoloading?

I just was able to try the situation: the modules are not autoloaded.

Does autoloading of other modules work well in the limited environment you have? I suspect this might be something with your special configuration (udev not triggering properly, etc.) rather than kernel problem.

Quoted 4 lines
Quoted 3 lines
Quoted 2 lines

Anyway, in 2.6.28, this keyboard is driven by specialized 'hid-bright' driver. Does modprobing it by hand fix the problem?

I'll try the hid-bright module as soon as my laptop gets repaired.

Loading the hid-bright module handles the USB keyboard properly.

Thanks for verifying.

Signature · 2 lines
Jiri Kosina
SUSE Labs
#11 lore raw
In reply to Andrew Morton

Am Donnerstag, 1. Januar 2009 10:12:23 schrieb Andrew Morton:

Quoted 11 lines
Quoted 9 lines

Steps to reproduce:
1. boot kernel with parameters "rw root=/dev/sdb1 log_buf_len=1M init=/bin/ bash"
2. modprobe -k uhci_hcd
3. modprobe -k usbhid

Current result in case of 2.6.27: USB keyboard starts to work Current result in case of 2.6.28: USB keyboard does not work

Is it input/HID, or USB?

Dmesg shows no errors. Please post /proc/bus/usb/devices of 2.6.28 (usbfs must be mounted)

Regards
Oliver