Mouse and keyboard on L4Android

Adam Lackorzynski adam at os.inf.tu-dresden.de
Mon Oct 17 01:44:33 CEST 2011


On Fri Oct 14, 2011 at 15:34:06 +0200, Giorgio Wicklein wrote:
> Short: how to get an USB mouse/keyboard working on L4Re?
> 
> Long:
> I'm having some difficulties to get my keyboard and mouse on a beagleboard working.
> 
> I noticed that the io file of the realview-eb includes the keyboard and mouse hardware
> addresses, since they are mapped to dedicated registers [1] on this board.

Yes, nice, it's PS/2.
 
> The beagleboard doesn't have such registers. Found only USB EHCI register
> addresses and the related interrupt number.
> So, I'm trying to connect an USB mouse and USB keyboard over the EHCI USB port.
> 
> Does L4Re support only PS/2 devices? Or also USB input devices?
> 
> Is USB working on L4Linux/L4Android?

Yes, on x86.

> I defined USB in my io file as following (for beagleboard):
> 
> USB => new Device()
> {
>     .hid = "usb";
>     new-res Mmio(0x48064000 .. 0x48064fff);
>     new-res Irq(77);
> }
> 
> Can L4Linux access now to the USB interface, or are any further steps required?

That's one thing, and then make the platform specific parts work in
L4Linux.



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list