Skip to contentSkip to conversation

usb/gadget: Add driver for Aspeed SoC virtual hub

PATCH Superseded Benjamin Herrenschmidt 1 participant 1 message Mar 16, 2018 USB

v4 of 8 Superseded Latest is v8 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 2/2 usb/gadget: Add driver for Aspeed SoC virtual hub

Quoted 5 lines · Benjamin Herrenschmidt
Quoted 3 lines
Quoted 1 line

Do you have more comments for the rest of the driver or that's it ?

so far, that's it.

Ok. I'll re-send.

So I'll resend in a minute, doing a few more tests, however, I've noticed something which I wont' have time to track down til at best next week, I wonder if it's normal/expected.

If I just create a mass storage function set to be "removable" and "cdrom" with no file attached, and enable it, I get an endless stream of resets. It looks like the host constantly does USB resets.

I suspect the host is sending SCSI commands that fail and resets as a result, but that's spamming both logs and is rather ... sub optimal.

Do we know what's going on ? Is this just TEST_UNIT_READY or some other media check ? Or are we missing some commands we should actually implement in the mass storage gadget ?

Cheers,
Ben.
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html