On Sat, Jan 25, 2025 at 08:23:56AM +0100, Michael van Elst wrote: > What happens is a side effect. Wedge discovery itself opens the > device. Besides the description above, this will also issue a START > UNIT command to the drive when the (now second) TEST UNIT READY > check failed (as well as a PREVENT MEDIUM REMOVAL command for a > removable device).
This all makes sense to me, but from a users perspective I would expect it to all work automatically if I plug the USB connector in. If we could make the USB umass attach code trigger a (delayed) START UNIT this would solve the case where a device is plugged in later, but it also will force all umass disks to start at boot time. Just force PQUIRK_START for all usb attached sd* ? Martin