Hi,
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.
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?
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?
Thanks, Giorgio
[1] http://infocenter.arm.com/help/topic/com.arm.doc.dui0303e/Bbajihec.html
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
Hi Adam,
On Mon, Oct 17, 2011 at 01:44:33AM +0200, Adam Lackorzynski wrote:
On Fri Oct 14, 2011 at 15:34:06 +0200, Giorgio Wicklein wrote:
Is USB working on L4Linux/L4Android?
Yes, on x86.
So, what is needed to make it work also on arm? Is this done just through the io file, declared for x86 (legacy), so that Linux handles usb? I mean, there is no need for drivers on L4 side? Since Linux has them...?
I'm asking this, because I didn't find any specific pkg in L4 for USB.
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
So now, by declaring the usb interface in the io file, L4Linux obtains physical access to it (or better, is allowed to access those addresses). Please correct me if I am wrong.
By "platform specific part", do you mean to enable the omap USB driver in Linux kernel configs? And maybe include libusb + usbutils (for lsusb)?
Thanks for your help and of course your patience :D Giorgio
On Mon Oct 17, 2011 at 12:41:37 +0200, giowck wrote:
On Mon, Oct 17, 2011 at 01:44:33AM +0200, Adam Lackorzynski wrote:
On Fri Oct 14, 2011 at 15:34:06 +0200, Giorgio Wicklein wrote:
Is USB working on L4Linux/L4Android?
Yes, on x86.
So, what is needed to make it work also on arm? Is this done just through the io file, declared for x86 (legacy), so that Linux handles usb? I mean, there is no need for drivers on L4 side? Since Linux has them...?
Access to the usb-device is one thing but there might be dependencies to other devices/infrastructure which are required to get it working. You have to investigate that for your platform.
I'm asking this, because I didn't find any specific pkg in L4 for USB.
So now, by declaring the usb interface in the io file, L4Linux obtains physical access to it (or better, is allowed to access those addresses). Please correct me if I am wrong.
Yes.
By "platform specific part", do you mean to enable the omap USB driver in Linux kernel configs? And maybe include libusb + usbutils (for lsusb)?
Yes, enabling the driver must of course be done. Adding user tools is up to you :)
Adam
l4-hackers@os.inf.tu-dresden.de