Fw: [Bugme-new] [Bug 8967] New: stowaway USB keyboard mis-behaving (software stuck key)

Andrew Morton <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>

Begin forwarded message:

Date: Sun,  2 Sep 2007 13:44:34 -0700 (PDT)
From: [email protected]
To: [email protected]
Subject: [Bugme-new] [Bug 8967] New: stowaway USB keyboard mis-behaving (software stuck key)


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

           Summary: stowaway USB keyboard mis-behaving (software stuck key)
           Product: Drivers
           Version: 2.5
     KernelVersion: 2.6.22, and prior (2.6.-20,19,18,15...)
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: W1
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Most recent kernel where this bug did not occur: 2.6.22
Distribution: Gentoo
Hardware Environment: PCs, ARM based PDA -- (amd64, pentium)
Software Environment: USB HID device
Problem Description: software stuck key, autorepeat stays on regardless of
whether key is pressed down or up.  Only happens with this keyboard, but
keyboard works correctly on windows.  Have tried on 5 different hardware
platforms, several versions of kernel.

Steps to reproduce: 
1. Plug in USB keyboard
2. type anything

Result:
Actual Results:  
Keyboard is detected fine, dmesg says:
usb 2-4: new low speed USB device using ohci_hcd and address 2
usb 2-4: config 1 has an invalid interface number: 1 but max is 0
usb 2-4: config 1 has 2 interfaces, different from the descriptor's value: 1
usb 2-4: configuration #1 chosen from 1 choice
input: HOLTEK USB Portable Keyboard as /class/input/input3
input: USB HID v1.10 Keyboard [HOLTEK USB Portable Keyboard] on
usb-0000:00:0b.0-4
input: HOLTEK USB Portable Keyboard as /class/input/input4
input: USB HID v1.10 Keyboard [HOLTEK USB Portable Keyboard] on
usb-0000:00:0b.0-4

When I go to type something -- say "pine" -- with no carriage return, on the
command line, I get:

kers@willdkers ~ $ pineeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee [...
until I press something else to stop the repeat, any character besides
backspace -- say typing the word "stop" will result in the following:]

kers@willdkers ~ $ pineeeeeeeeeeeeeeeeeeeeeeeeeestoppppppppppppppppp [... and
so on]

- This stuck key effect is present both in console mode and under X.
- Affects all keys (including backspace, space, delete...)
- Fixed by unplugging keyboard


LSUSB says:
Bus 002 Device 003: ID 1241:e000 Belkin
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x1241 Belkin
  idProduct          0xe000
  bcdDevice            2.00
  iManufacturer           1 HOLTEK
  iProduct                2 USB Portable Keyboard
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      63
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.