linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* USB Gadget Filesystem HID stuck on write when using mass storage at the same time
@ 2021-06-29 13:45 Benjamin Marty
  2021-06-29 17:19 ` Greg KH
  0 siblings, 1 reply; 6+ messages in thread
From: Benjamin Marty @ 2021-06-29 13:45 UTC (permalink / raw)
  To: linux-usb

Hello

In my application, I boot a Linux System through USB Gadget mass
storage and at the same time pass in USB Touch commands via USB HID
Device. Both over the same USB OTG Gadget Link.

If I execute USB HID commands during high traffic over the USB Mass
Storage, the HID device gets stuck. Writes to it are then blocking
forever. I'm not sure if I use something wrong or if this is a Kernel
issue. Do I maybe need to check something before I'm allowed to write
to the HID device?

Hardware issue are unlikely, I tried it on the Raspberry Pi Platform
and also on the NXP iMX8MM platform. Both have this HID device stuck
issue. I have also tried multiple Intel Computers as USB Host.

I tried to document my issue here with test scripts to replicate what
I do in my C Application with the same result:
https://github.com/raspberrypi/linux/issues/4373

Thanks

Benjamin

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-07-01 11:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-29 13:45 USB Gadget Filesystem HID stuck on write when using mass storage at the same time Benjamin Marty
2021-06-29 17:19 ` Greg KH
2021-06-30  8:55   ` Benjamin Marty
2021-06-30  9:28     ` Greg KH
2021-06-30 10:25       ` Benjamin Marty
2021-07-01 11:04         ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).