NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: USB regression in 10.1
On Sat, Jan 25, 2025 at 09:23:24AM -0000, Michael van Elst wrote:
> I, as a user, would expect that drives are started once I use them
> and not necessarily when I connect them. Our wedge discovery logic
> makes this difficult.
I would expect volumes/wedges to become available as soon as I insert
a CD and the drive becomes ready, or a SD card in a card reader, and also
when plugging in an external USB disk enclosure.
But the manual startup option is good to have too.
The multi-device card readers are an excellent example - most slots will never
become online as I simply don't have the obscure media they are supporting.
So there are two (orthogonal) points:
- when to make disks spinup in case they did not do that automatically
at poweron/attach time
Should be ok to leave that "decision" to the device, but allow some easy
command to trigger it ("scsictl sd0 start" is probably good enough).
- when to do wedge discovery
Effectively this should happen whenever a disk device that has not been
enumerated before goes into online state
Martin
Home |
Main Index |
Thread Index |
Old Index