Ben as usb keyboard?

Sébastien Bourdeauducq sebastien.bourdeauducq at lekernel.net
Mon Feb 15 11:43:45 EST 2010


On Monday 15 February 2010 16:46:14 Bas Wijnen wrote:
> Hi,
> 
> On Mon, Feb 15, 2010 at 04:42:21PM +0100, David Reyes Samblas Martinez 
wrote:
> > Hi another though from total ingnorance
> >  I was thinking about if Ben has usb device, can simulate to be an usb
> > keyboard?
> 
> Yes, these sort of things should be pretty easy, if you know how a USB
> HID works (there's a public spec).  It's similar to the "ben as a
> sniffing usb sound card" idea I had some time ago. :-)

In Linux, you have the so called "USB gadget API" for this type of things.
If there is a USB gadget driver for the chipset, things should be 
straightforward. And there are already modules in Linux to emulate an Ethernet 
card, a mass storage device, etc.

Sébastien




More information about the discussion mailing list


interactive