[U-Boot] usbkbd not working

l3iggs . l3iggs at live.com
Mon Jun 2 07:17:51 CEST 2014


Hello,

I can't seem to get my USB keyboard working. USB storage devices work fine. Does anyone have any suggestions on how to fix this?
I've issued `usb start` and then `env set input serial,nc,usbkbd`

I'm running U-Boot 2014.07-rc1-15746-g3a56482 from the -imx tree.

The `usb tree` command shows:
USB device tree:
  1  Hub (480 Mb/s, 0mA)
  |  u-boot EHCI Host Controller 
  |
  +-2  Hub (480 Mb/s, 100mA)
    |   USB2.0 Hub 
    |
    +-3  Human Interface (1.5 Mb/s, 100mA)
    |    Chicony Saitek Eclipse II Keyboard 
    |  
    +-4  Mass Storage (480 Mb/s, 200mA)
    |    PNY USB 2.0 FD 020093054CD3693E
    |  
    +-5  Vendor specific (480 Mb/s, 500mA)
         Realtek 802.11n NIC 00E04C0001

And the `usb info 3` command shows:
config for device 3
3: Human Interface,  USB Revision 2.0
 - Chicony Saitek Eclipse II Keyboard 
 - Class: (from Interface) Human Interface
 - PacketSize: 8  Configurations: 1
 - Vendor: 0x06a3  Product 0x8021 Version 1.16
   Configuration: 1
   - Interfaces: 2 Bus Powered Remote Wakeup 100mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Human Interface, Subclass: Boot Keyboard
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 10ms
     Interface: 1
     - Alternate Setting 0, Endpoints: 1
     - Class Human Interface, Subclass: None
     - Endpoint 2 In Interrupt MaxPacket 4 Interval 10ms

And the `coninfo` command shows:
List of available devices:
vga      80000002 S.O stdout stderr 
serial   80000003 SIO 
nulldev  80000003 SIO 
mxc_serial 00000003 .IO 
nc       80000003 SIO 
usbkbd   80000001 SI. stdin

And `usb start` shows:
(Re)start USB...
USB0:   lowlevel init failed
USB1:   USB EHCI 1.00
scanning bus 1 for devices... 5 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

I have:
#define CONFIG_CONSOLE_MUX
#define CONFIG_SYS_CONSOLE_IS_IN_ENV

/* USB Configs */
#define CONFIG_CMD_USB
#define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_MX6
#define CONFIG_USB_STORAGE
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET        /* For OTG port */
#define CONFIG_MXC_USB_PORTSC   (PORT_PTS_UTMI | PORT_PTS_PTW)
#define CONFIG_MXC_USB_FLAGS    0
#define CONFIG_USB_KEYBOARD

 		 	   		  


More information about the U-Boot mailing list