USB HID driver fails to recognize input devices

Markus Partheymueller mail at ...119...
Thu Jul 12 15:21:07 CEST 2012


Hi Sebastian,

On 12 July 2012 13:58, Sebastian Sumpf <Sebastian.Sumpf at ...1...> wrote:
> Hi Markus,
>
> I assume you are using the driver from the 'dde_linux' directory, right?
> There is another USB driver in the 'linux_drivers' repository on github
> which can also handle HID devices. To tell you the truth, the
> 'dde_linux' version has not been tested on x86-hardware so far, since we
> mostly concentrated on PandaBoard support lately. So I have to admit
> that you're a sort of an alpha tester here. Anyway, I can test the thing
> on some box tomorrow, since it actually does not look that bad. The UHCI
> controller (where HID devices usually reside) has been detected. My
> first uneducated guess here would be that the driver does not get any
> interrupt from the controller. Could you enable 'DEBUG_IRQ' in
> 'dde_linux/src/drivers/usb/lx_emul.h'  and check if the
> 'dde_linux/src/drivers/usb/signal/irq.cc:handle()'  function gets
> actually called? If not please start the 'acpi_drv' beforehand, since it
> might find a different (to the one in the PCI config space) interrupt
> number for the controller within the ACPI-tables. That's usually the fun
> on kernels that use APICs.
>
> Thx for reporting and please keep me informed about your insights,
>
> Sebastian
>
> P.S. If nothing works please also send your Genode configuration file.

DEBUG_IRQ revealed no real news for me, except for the fact that IRQ
10 was discovered, but apparently no interrupt came in, handle() was
not called once.

So I added acpi_drv to my setup, resulting in a different log. As you
suggested, I attached the new log as well as my configuration file.

Another interesting fact is that, when the iommu flag of the
hypervisor is removed, it looks quite different already. A log file of
this behavior is also attached.

Regards

Markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genode_usb_acpi.log
Type: application/octet-stream
Size: 11818 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20120712/e6d5251d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config
Type: application/octet-stream
Size: 1466 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20120712/e6d5251d/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genode_usb_acpi_noiommu.log
Type: application/octet-stream
Size: 10845 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20120712/e6d5251d/attachment-0002.obj>


More information about the users mailing list