On Sun, Dec 30, 2001 at 02:37:21AM -0800, Matthew Dharm wrote: > Unfortunately, Sony MS readers are broken, because they do not generate a > media-change event.
That certainly fits the fact ;-) > When the media is removed, it detaches from the bus. Most people > agree that this is a Bad Thing(tm), but so far there is no > workaround. The workaround for the user seems to be to eject /dev/sda _after_ changing the media. This seems strange to me! > Some code would be needed to notice if this is the first media-access > command (just defining that is a bit fuzzy) and failing the command with > sense data that suggests a media-change. > > Ugly, to say the least. > > It would be nicer if there was some call I could send to the SCSI layer to > say that "media change has occured on this device", but I'm not sure if > that exists. Or generating a synthetic media-change event and sending that up to the SCSI layer? Maybe that is too horrible to consider. -- Nick Craig-Wood [EMAIL PROTECTED] _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel