mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
* DiscImageChef.Decoders/SCSI/Modes.cs:
Check for vendor pages not following page format (even if they must). * DiscImageChef.Devices/Device/Constructor.cs: Some devices (at least smsc usb-floppy) crash and reset when receiving ata over the ATA PASS-THROUGH scsi command. This will check for SCSI compliance first giving devices time to reset. * DiscImageChef.Devices/Device/ScsiCommands.cs: Some devices (smsc usb floppies) return the real command result size disregarding allocation length and generating a buffer overflow. * DiscImageChef.Devices/Enums.cs: Added some vendor commands for Plextor and HL-DT-ST devices. * DiscImageChef/Commands/DeviceInfo.cs: Mode sense should be written even if it can't be decoded.
This commit is contained in:
@@ -2559,7 +2559,29 @@ namespace DiscImageChef.Devices
|
||||
/// Variable sized Command Description Block
|
||||
/// SPC-4 rev. 16
|
||||
/// </summary>
|
||||
VariableSizedCDB = 0x7F
|
||||
VariableSizedCDB = 0x7F,
|
||||
|
||||
#region Plextor vendor commands
|
||||
/// <summary>
|
||||
/// Sends extended commands (like SpeedRead) to Plextor drives
|
||||
/// </summary>
|
||||
Plextor_Extend = 0xE9,
|
||||
/// <summary>
|
||||
/// Resets Plextor drives
|
||||
/// </summary>
|
||||
Plextor_Reset = 0xEE,
|
||||
/// <summary>
|
||||
/// Reads drive statistics from Plextor drives EEPROM
|
||||
/// </summary>
|
||||
Plextor_ReadEeprom = 0xF1,
|
||||
#endregion Plextor vendor commands
|
||||
|
||||
#region HL-DT-ST vendor commands
|
||||
/// <summary>
|
||||
/// Sends debugging commands to HL-DT-ST DVD drives
|
||||
/// </summary>
|
||||
HlDtSt_Vendor = 0xE7
|
||||
#endregion HL-DT-ST vendor commands
|
||||
}
|
||||
#endregion SCSI Commands
|
||||
|
||||
|
||||
Reference in New Issue
Block a user