Here is my experience with keyboards on Beagleboard.

1. Make sure the USB hub has external power (I'm not 100% sure this is
a requirement).
2. Make sure the keyboard is plugged in before the BeagleBoard is turned on.
3. Make sure the keyboard is simple.  My fancy ergonomic keyboard will
not work with Android, but my $7 simple keyboard does work.

I am using omap3droid:
http://labs.embinux.org/index.php/Omap3droid

My build does not give the usb power supply error that you have, here
is the log:
I/EventHub(  790): New device: path=/dev/input/event1 name=BTC USB
Multimedia Keyboard id=0x10000 (of 0x1) index=1 fd=43 classes=0x1
I/EventHub(  790): New keyboard: publicID=65536 device->id=65536
devname='BTC USB Multimedia Keyboard'
propName='hw.keyboards.65536.devname'
keylayout='/system/usr/keylayout/qwerty.kl'
I/EventHub(  790): New device: path=/dev/input/event0 name=BTC USB
Multimedia Keyboard id=0x10001 (of 0x2) index=2 fd=44 classes=0x3
I/EventHub(  790): New keyboard: publicID=65537 device->id=65537
devname='BTC USB Multimedia Keyboard'
propName='hw.keyboards.65537.devname' keylayout='/system/
usr/keylayout/qwerty.kl'
I/KeyInputQueue(  790): Device added: id=0x10001, name=BTC USB
Multimedia Keyboard, classes=3
I/KeyInputQueue(  790): Device added: id=0x0, name=BTC USB Multimedia
Keyboard, classes=1


 -Eric

On Mon, Oct 26, 2009 at 8:18 PM, Sunny Liu <sunnycj...@gmail.com> wrote:
> Hi,
>
> Here are Kernel log message :
> input:   USB Keyboard as
> /devices/platform/ehci-omap.0/usb2/2-2/2-2.1/2-2.1:1.0/input/input2
> input: USB HID v1.10 Keyboard [  USB Keyboard] on usb-ehci-omap.0-2.1
> input:   USB Keyboard as
> /devices/platform/ehci-omap.0/usb2/2-2/2-2.1/2-2.1:1.1/input/input3
> input: USB HID v1.10 Device [  USB Keyboard] on usb-ehci-omap.0-2.1
>
> Here is the Android EventHub log :
> I/EventHub(  861): New keyboard: publicID=65539 device->id=65539 devname='
> USB Keyboard' propName='hw.keyboards.65539.devname'
> keylayout='/system/usr/keylayout/qwerty.kl'
>
>>> E/BatteryService(  665): Could not open '/sys/class/power_supply/usb/
>>> online'
> It came from POWER driver, it is not USB Keyboard.
>
> Sunny
>
>
> 2009/10/26 superspirit <superspiri...@gmail.com>
>>
>> hi sunny, throughout the log messages i found only one usb line, that
>> is
>> E/BatteryService(  665): Could not open '/sys/class/power_supply/usb/
>> online'
>>
>> thats all.
>>
>> -super
>>
>>
>> On Oct 26, 12:48 pm, Sunny Liu <sunnycj...@gmail.com> wrote:
>> > Please check your device is detected and initial to USB HID driver!
>> > To have  log messages will be helpful to figure-out your problem!
>> >
>> > Sunny
>> >
>> > 2009/10/24 superspirit <superspiri...@gmail.com>
>> >
>> >
>> >
>> > > Hi sunny, i dont think connecting usb keyboard before power ON does
>> > > any difference. i have tryed it, then also androind wont detect usb-
>> > > keyboard.
>> >
>> > > -super
>> >
>> > > On Oct 24, 11:59 am, Sunny Liu <sunnycj...@gmail.com> wrote:
>> > > > As I know that Android system can't support hot plug from USB device
>> > > > now!
>> > > > To plug USB keyboard then let system power on!
>> >
>> > > > Sunny
>> >
>> > > > 2009/10/21 Robo <robotronic...@gmail.com>
>> >
>> > > > > Hi,
>> >
>> > > > > Please tell me the procedure how to work USB keyboard which is
>> > > > > connected to USB HUB to the beagleboard with Android image.I
>> > > > > refered
>> > > > > to qwerty.kl. But i don't know how to modify. After compile, in
>> > > > > beagledroid\out\target\product\generic\system\usr\keylayout folder
>> > > > > will generate qwerty.kl. After booting, keyboard is not working.
>> > > > > Please tell me the procedure to make keyboard working.
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to