Re: Large USB HID transfers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 5, 2013 at 9:57 AM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> On Mon, 4 Nov 2013, Cliff Brake wrote:
>

>>
>> I assume interrupts are disabled during both ohci_irq() and ehci_irq().
>
> Currently they are.  This will change somewhat in the not-too-distant
> future.

Are there any patches available yet for this work?

>> Short term we'll try to force 64-byte packets on the EHCI system.
>> Long term it would be nice if this work did not happen in a irq
>> handler, although this is clearly an abuse of the HID protocol.
>
> You might be better off writing a special-purpose userspace driver,
> using libusb, instead of relying on the HID driver.  That would allow
> you to handle your data more efficiently, and with interrupts enabled.

We tried this early on, but ran into other performance problems.
Thanks for the idea, we may re-visit this.

Thanks,
Cliff

-- 
=================
http://bec-systems.com
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux