4 ms·
> They're initiated by the host, not by a USB device. Or by a power flicker. Which can be caused by plugging in other devices too. > Although these writes wo
by Dylan16807 8y ago
> They're initiated by the host, not by a USB device.
Or by a power flicker. Which can be caused by plugging in other devices too.
> Although these writes would need to be buffered. Probably also throttled.
You don't necessarily have to allow new writes, the more important part is preserving writes the application thinks already happened. But that could be useful too.
> Some manufacturers give all of their USB disks / memory sticks same serial number...
You have the partition serial number too, usually.
- vardump 8y ago> Or by a power flicker. Which can be caused by plugging in other devices too. That sounds pretty unlikely. Any references about this? The pulse needs to be pretty particular and the USB device needs to be powered.
- Dylan16807 8y agoPersonal experience, so not really. And it doesn't have to be very particular. Bad grounding can cause lots of ports to reset.
- vardump 8y agoSounds intentional, probably something sent by the USB host controller driver. I guess some hub chips might send it independently as well in some scenarios. USB bus resets (both D+ and D- down for 10ms) are a signal for the USB device software (well, firmware) to initialize device configuration. Basically to set configuration, data toggles and stalls to their defaults. (I've written USB device firmware.)
- Dylan16807 8y agoWell yes it's an intentional recovery from an error state, but the point is this can happen unexpectedly.