phone as usb keyboard

Nick Guenther kousue at gmail.com
Wed Jul 16 16:51:07 CEST 2008


On Wed, Jul 16, 2008 at 10:19 AM, Carl Karsten <carl at personnelware.com> wrote:
> I don't want to plug a keyboard into the phone, I want to plug the phone into a
> laptop and use the phone as a 2nd keyboard.
>
> assuming it is, the goal is to use a web cam as a bar code scanner, app on phone
> uses scan data to generate "keyboard" clicks that get send to the laptop.
>
> (no, we can't just run the software on the laptop.  all we can do is hook up an
> external HID like device.)
>
> Is this doable?
>

Yes, in theory. You'd first need to set the moko into USB-endpoint
(instead of USB-host) mode, and you'd need to write some mad kernel
hax that make it show up as a keyboard, and you'd need to expose the
mad kernel hax to userland on the moko so your barcode scanner can
send data.
..it's really a whole lot simpler just to use TCP.

Why can't you run software on the laptop? Some sort of locked down
corporate situation?

-Nick




More information about the support mailing list