Fix drive lock status reporting for empty drives
Detail: c/driver - Change IsDrawerLocked handler to read the lock status from the drive via mode page &2A, rather than doing a completely unrelated TEST UNIT READY command. On the offchance that &2A isn't implemented, just fall back on our softcopy of the lock state, which is effectively what TEST UNIT READY was doing in the first place. h/scsibits - Fix typo in mode page &2A name Admin: Tested on BB-xM CD_IsDrawerLocked now returns a sensible value for empty drives, instead of a drive empty error Fixes issue reported on forums where CDFS iconbar menu doesn't allow empty drives to be ejected (for SCSI/USB, at least): https://www.riscosopen.org/forum/forums/4/topics/3652 Version 0.06. Tagged as 'SCSI-0_06'
Showing
Please register or sign in to comment