public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Unable to use USB Keyboard on u-boot
Date: Fri, 11 May 2012 12:55:43 +0200	[thread overview]
Message-ID: <201205111255.43752.marex@denx.de> (raw)
In-Reply-To: <CAKG+ADKJvnJ-BSjcpmKfCXLWeGBwoN7sg15C0P1aHF7E1hWgFg@mail.gmail.com>

Dear Atul Kumar,

> Dear Marek,
> 
>          I am tring to bring up USB Keyboard on u-boot with "Beagle_board
> xM ver B"..  found number of post,but the stack is already updated one..
> I am able to find the info of the connected device but some how keyboard
> does not works..  can you suggest/guide me were i am making mistake or
> where I need to do some device specific changes..
> 

Please always CC the U-Boot mailing list (CCed).

Did you try running "coninfo" after the "usb reset"/"usb start"? What does it 
output, do you see "usbkbd" there? Wild guess would be to run "setenv stdin 
usbkbd" or something after you do "usb reset".

> *logs for "usb start"*
> 
> OMAP3 beagleboard.org #
> 
> usb start
> 
> (Re)start USB...
> 
> USB: Initializing OMAP EHCI
> 
> OMAP UHH_REV
> 
> ISION 0x10
> 
> OMAP EHCI init done
> 
> Register 1313 NbrPorts 3
> 
> USB EHCI 1.00
> 
> scanning bus for devices...
> 
> 4 USB Device(s) found
> 
> USB KBD: found set protocol...
> 
> USB KBD: found set idle...
> 
> USB
> 
> KBD: enable interrupt pipe...
> 
> USB KBD: found set up device.
> 
> USB KBD: register.
> 
> usb_kbd_dev.name- usbkbd
> 
> before stdio register
> 
> clone _dev->name-usbkbd,dev->name-usbkbd
> 
> in stdio register,usb_kbd_dev.name- usbkbd
> 
> After stdio register
> 
> before strcmp
> 
> stdin name- *serial*
> 
> scan end
> 
> scanning bus for storage devices... 0 Storage Device(s) found
> 
> scanning bus for ethernet devices... Warning: failed to set MAC address
> 
> 1 Ethernet Device(s) found
> 
> OMAP3 beagleboard.org #
> 
> *logs for "usb info"*
> 
> OMAP3 beagleboard.org #
> 
> usb info
> 
> 1: Hub, USB Revision 2.0
> 
> - u-boot EHCI Host Controller
> 
> - Class: Hub
> 
> - PacketSize: 64 Configurations: 1
> 
> -
> 
> Vendor: 0x0000 Product 0x0000 Version 1.0
> 
> Configuration: 1
> 
> - Interfaces: 1 Self Powered 0mA
> 
> Interface: 0
> 
> - Alternate Setting 0, Endpoints: 1
> 
> - Class Hub
> 
> - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms
> 
> 2: Hub, USB Revision 2.0
> 
> - Class: Hub
> 
> - PacketSize: 64 Configurations: 1
> 
> - Vendor: 0x0424 Product 0x9514 Version 2.0
> 
> Configuration: 1
> 
> - Interfaces: 1 Self Powered Remote Wakeup 2mA
> 
> Interface: 0
> 
> - Alternate Setting 0, Endpoints: 1
> 
> - Class Hub
> 
> - Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms
> 
> - Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms
> 
> 3: Vendor specific, USB Revision 2.0
> 
> - Class: Vendor specific
> 
> - PacketSize: 64 Configurations: 1
> 
> - Vendor: 0x0424 Product 0xec00 Version 2.0
> 
> Configuration: 1
> 
> - Interfaces: 1 Self Powered Remote Wakeup 2mA
> 
> Interface: 0
> 
> - Alternate Setting 0, Endpoints: 3
> 
> - Class Vendor specific
> 
> - Endpoint 1 In Bulk MaxPacket 512
> 
> - Endpoint 2 Out Bulk MaxPacket 512
> 
> - Endpoint 3 In Interrupt MaxPacket 16 Interval 4ms
> 
> 4: Human Interface, USB Revision 1.10
> 
> - LITEON Technology USB Multimedia Keyboard
> 
> - Class: (from Interface) Human Interface
> 
> - PacketSize: 8 Configurations: 1
> 
> - Vendor: 0x046d Product 0xc312 Version 1.1
> 
> Configuration: 1
> 
> - Interfaces: 1 Bus Powered Remote Wakeup 70mA
> 
> Interface: 0
> 
> - Alternate Setting 0, Endpoints: 1
> 
> - Class Human Interface, Subclass: Boot Keyboard
> 
> - Endpoint 1 In Interrupt MaxPacket 8 Interval 24ms
> 
> OMAP3 beagleboard.org #
> 
> 
> 
> Thanks & Regards
> Atul Kumar
> 9845495793

       reply	other threads:[~2012-05-11 10:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAKG+ADJUpWTRciOiX6PJNQk11coR5ggKP9uowP7-Rv2wHu71fw@mail.gmail.com>
     [not found] ` <CAKG+ADKJvnJ-BSjcpmKfCXLWeGBwoN7sg15C0P1aHF7E1hWgFg@mail.gmail.com>
2012-05-11 10:55   ` Marek Vasut [this message]
     [not found]     ` <CAKG+ADJSu9D_wbZ58-xu0+bGxkSSjh9gdAZ14Rwf3mx5yufbmw@mail.gmail.com>
2012-05-11 12:16       ` [U-Boot] Unable to use USB Keyboard on u-boot Marek Vasut
     [not found]         ` <CAKG+AD+0bY8KBOLjGCk+T_osGRoHpPwt+O5BCBFdzXWG0iM4+g@mail.gmail.com>
2012-05-19 15:05           ` Marek Vasut
2012-05-19 18:59             ` Jeroen Hofstee
2012-05-24 14:13             ` Atul Kumar
2012-05-24 19:06               ` Wolfgang Denk
2012-05-24 21:25               ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201205111255.43752.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox