NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/50142: Cannot install NetBSD on machine with USB keyboard



>Number:         50142
>Category:       kern
>Synopsis:       Cannot install NetBSD on machine with USB keyboard
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 10 21:00:00 +0000 2015
>Originator:     Török Edwin
>Release:        7.0-RC2
>Organization:
Skylable Ltd.
>Environment:
(unknown, haven't been able to install yet)
>Description:
I am trying to install NetBSD 7.0-RC2/amd64 on a machine with M5A99FX PRO R2.0 motherboard, UEFI BIOS, and a Tesoro Durandal USB keyboard.

I have enabled Compatibility Setup Module (legacy boot) in the BIOS, and legacy USB support, and although the keyboard works in the NetBSD bootloader (I am able to type '1'), by the time it reaches the installer's keyboard layout selection it stops working (none of the arrow or letter keys produce any effect).

If I unplug/replug the keyboard I get this message:
uhub7: at uhub1 port 5: Genesys Logic USB2.0 Hub, class...
uhub7: single transaction translator
uhidev2 at uhub7 port 2 configuration 1 interface 0
uhidev2: EST Gaming keyboard, rev 2.00/0.97, addr3, ic...
ukbd1 at uhidev2
wskbd1 at ukbd1 mux 1
uhidev3: EST Gaming keyboard, rev 2.00/0.97, addr 3, icl...
uhid1 at uhidev3: input=4, output=0, feature=0
uhidev4 at uhub7 port 2 configuration 1 interface 2
uhidev4: EST Gaming Keyboard, rev 2.00/0.97, addr 3, icl...
ukbd2 at uhidev4
ukbd2: attach failed, too many modifier keys


On Linux lsusb shows:
Bus 001 Device 004: ID 0665:6000 Cypress Semiconductor 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0665 Cypress Semiconductor
  idProduct          0x6000 
  bcdDevice            0.97
  iManufacturer           1 EST
  iProduct                2 Gaming keyboard
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           84
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      65
         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               2
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      25
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval               2
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      37
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x000f  1x 15 bytes
        bInterval               2
Device Status:     0x0000
  (Bus Powered)

And dmesg on Linux shows:
[    2.498191] usb 1-5.2: New USB device found, idVendor=0665, idProduct=6000
[    2.498193] usb 1-5.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.498195] usb 1-5.2: Product: Gaming keyboard
[    2.498197] usb 1-5.2: Manufacturer: EST
[    2.499184] input: EST Gaming keyboard as /devices/pci0000:00/0000:00:12.2/usb1/1-5/1-5.2/1-5.2:1.0/0003:0665:6000.0003/input/input4
[    2.554914] hid-generic 0003:0665:6000.0003: input,hidraw2: USB HID v1.11 Keyboard [EST Gaming keyboard] on usb-0000:00:12.2-5.2/input0
[    2.556064] input: EST Gaming keyboard as /devices/pci0000:00/0000:00:12.2/usb1/1-5/1-5.2/1-5.2:1.1/0003:0665:6000.0004/input/input5
[    2.610868] hid-generic 0003:0665:6000.0004: input,hidraw3: USB HID v1.11 Device [EST Gaming keyboard] on usb-0000:00:12.2-5.2/input1
[    2.611647] input: EST Gaming keyboard as /devices/pci0000:00/0000:00:12.2/usb1/1-5/1-5.2/1-5.2:1.2/0003:0665:6000.0005/input/input6
[    2.666849] hid-generic 0003:0665:6000.0005: input,hidraw4: USB HID v1.11 Keyboard [EST Gaming keyboard] on usb-0000:00:12.2-5.2/input2
>How-To-Repeat:
1. Boot NetBSD-7.0-RC2 installer from USB mass storage
2. Press '1' at installer bootloader (works)
3. Press arrow keys or letters on the installer's layout selection (doesn't work)
4. Unplug and replug the keyboard
5. notice message on console about 'too many modifier keys'
>Fix:



Home | Main Index | Thread Index | Old Index