Commit Graph

56 Commits

Author SHA1 Message Date
db5c20685c * commandline:
* DiscImageChef.Settings/Settings.cs:
	* DiscImageChef.Settings/docs/README.txt:
	* DiscImageChef.Settings/packages.config:
	* DiscImageChef.Settings/docs/LICENSE.txt:
	* DiscImageChef.Settings/docs/ChangeLog.txt:
	* DiscImageChef.Settings/docs/mono/index.xml:
	* DiscImageChef.Settings/docs/html/index.html:
	* DiscImageChef.Settings/Properties/AssemblyInfo.cs:
	* DiscImageChef.Settings/DiscImageChef.Settings.csproj:
	* DiscImageChef.Settings/docs/mono/ns-Claunia.PropertyList.xml:
	* DiscImageChef.Settings/docs/mono/Claunia.PropertyList/UID.xml:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/UID.html:
	* DiscImageChef.Settings/docs/mono/Claunia.PropertyList/NSSet.xml:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/index.html:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/NSSet.html:
	* DiscImageChef.Settings/docs/mono/Claunia.PropertyList/NSDate.xml:
	* DiscImageChef.Settings/docs/mono/Claunia.PropertyList/NSData.xml:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/NSDate.html:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/NSData.html:
	* DiscImageChef.Settings/docs/mono/Claunia.PropertyList/NSArray.xml:
	* DiscImageChef.Settings/docs/mono/Claunia.PropertyList/NSNumber.xml:
	* DiscImageChef.Settings/docs/mono/Claunia.PropertyList/NSString.xml:
	* DiscImageChef.Settings/docs/mono/Claunia.PropertyList/NSObject.xml:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/NSArray.html:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/NSNumber.html:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/NSString.html:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/NSObject.html:
	* DiscImageChef.Settings/docs/mono/Claunia.PropertyList/NSDictionary.xml:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/NSDictionary.html:
	* DiscImageChef.Settings/docs/mono/Claunia.PropertyList/PropertyListParser.xml:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/PropertyListParser.html:
	* DiscImageChef.Settings/docs/mono/Claunia.PropertyList/XmlPropertyListParser.xml:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/XmlPropertyListParser.html:
	* DiscImageChef.Settings/docs/mono/Claunia.PropertyList/ASCIIPropertyListParser.xml:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/ASCIIPropertyListParser.html:
	* DiscImageChef.Settings/docs/mono/Claunia.PropertyList/BinaryPropertyListParser.xml:
	* DiscImageChef.Settings/docs/mono/Claunia.PropertyList/BinaryPropertyListWriter.xml:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/BinaryPropertyListWriter.html:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/BinaryPropertyListParser.html:
	* DiscImageChef.Settings/docs/mono/Claunia.PropertyList/PropertyListFormatException.xml:
	* DiscImageChef.Settings/docs/html/Claunia.PropertyList/PropertyListFormatException.html:
	  Added supports for settings

	* DiscImageChef/Commands/Configure.cs:
	  Added support for settings.

	* DiscImageChef/Core/Statistics.cs:
	* DiscImageChef/Commands/Verify.cs:
	* DiscImageChef/Commands/Entropy.cs:
	* DiscImageChef/Commands/Formats.cs:
	* DiscImageChef/Commands/PrintHex.cs:
	* DiscImageChef/Commands/MediaInfo.cs:
	* DiscImageChef/Commands/Statistics.cs:
	  Added statistics.

	* DiscImageChef.Decoders/SCSI/Inquiry.cs:
	  Corrected bug on inquiry decoding.

	* DiscImageChef.Decoders/SCSI/Modes.cs:
	  Corrected bug on decoding mode page 2Ah without write
	  performance descriptors.
	Corrected bug when there is a vendor page 0 in mode sense
	  decoding.

	* DiscImageChef.Devices/Device/Constructor.cs:
	  Corrected detecting USB or FireWire attached CD/DVD/BD and
	  tape drives.
	Try ATA identify on USB or FireWire that don't have SCSI
	  INQUIRY.

	* DiscImageChef.DiscImages/CDRWin.cs:
	  Corrected CD-ROM XA vs CD-ROM detection.

	* DiscImageChef.Partitions/AppleMap.cs:
	  Corrected big endian working.
	Added debug output.

	* DiscImageChef.sln:
	  Added supports for settings.

	* DiscImageChef/Commands/Decode.cs:
	* DiscImageChef/Commands/Analyze.cs:
	* DiscImageChef/Commands/Compare.cs:
	* DiscImageChef/Commands/Checksum.cs:
	* DiscImageChef/Commands/Benchmark.cs:
	* DiscImageChef/Commands/DeviceInfo.cs:
	* DiscImageChef/Commands/CreateSidecar.cs:
	  Added statistics.

	* DiscImageChef/Commands/DeviceReport.cs:
	  Added statistics.
	Correct handling empty inquiry string fields.
	Suppose it is not removable, til proved wrong.
	Corrected MODE SENSE (6/10) detection and calling order.
	If device is MMC type but reports neither mode page 2Ah
	  neither GET CONFIGURATION, try all CDs (old drives work like
	  that).
	Try reading Lead-In and Lead-Out in Audio CD using Audio READ
	  CD commands.
	Corrected READ LONG information handling, some drives return
	  2s-complement in 32 bit. Upper 16 bits are ignored.
	Added support for DVD raw block (37856 bytes).
	Check READ LONG up to 36 times the cooked block size. That
	  should be enough to detect huge blocked media (like DVD and
	  BD) without taking ages.
	If READ LONG size had to be bruteforced, and debug is
	  activated, save the result.

	* DiscImageChef/Commands/DumpMedia.cs:
	  Added statistics.
	Corrected READ LONG information handling, some drives return
	  2s-complement in 32 bit. Upper 16 bits are ignored.
	Start trying with 64 blocks at a time. Some drives report to
	  be able to read 255 at a time, but they really don't, they
	  take a lot longer to read.

	* DiscImageChef/Commands/MediaScan.cs:
	  Added statistics.
	Start trying with 64 blocks at a time. Some drives report to
	  be able to read 255 at a time, but they really don't, they
	  take a lot longer to read.

	* DiscImageChef/DiscImageChef.csproj:
	  Added support for settings.
	Added statistics.

	* DiscImageChef/Main.cs:
	* DiscImageChef/Options.cs:
	  Added support for settings.
	Added statistics.
2016-02-03 18:58:11 +00:00
628d4e721c Implement decoding Fujitsu Verify Control Page. 2016-01-15 22:42:33 +00:00
0fa52d527c Added all known vendor density and medium type codes. 2016-01-15 21:14:36 +00:00
2056a14c1d Moved density and medium type codes to a separate file. 2016-01-15 07:13:11 +00:00
d8592a081c * DiscImageChef/Commands/MediaInfo.cs:
* DiscImageChef/Commands/DeviceInfo.cs:
	  Added support for SCSI sequential devices.

	* DiscImageChef.Decoders/SCSI/SSC/BlockLimits.cs:
	* DiscImageChef.Decoders/SCSI/SSC/DensitySupport.cs:
	* DiscImageChef.Decoders/DiscImageChef.Decoders.csproj:
	  Added decoders for SCSI SSC READ BLOCK LIMITS and REPORT
	  DENSITY SUPPORT.

	* DiscImageChef.Devices/Device/ScsiCommands/SSC.cs:
	  Corrected ReportDensitySupport.

	* DiscImageChef.Decoders/SCSI/Modes.cs:
	  Corrected mode size.
2016-01-15 07:00:43 +00:00
b3bbc5dbe5 * 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.
2015-11-05 06:50:02 +00:00
7a177f95bf Solved some bugs found testing on usb flash sticks. 2015-10-31 21:32:10 +00:00
c1772cd8a5 * DiscImageChef.Decoders/SCSI/Modes.cs:
Polished some bugs and typos and format

	* DiscImageChef.Devices/Device/ScsiCommands.cs:
	  Corrected math typo.

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Added MODE SENSE to device information.
2015-10-31 21:03:18 +00:00
819ea99717 Implemented decoding MODE SENSE. 2015-10-31 19:41:58 +00:00
04bc193680 Added LongLBA MODE SENSE(10) support. 2015-10-31 18:50:15 +00:00
da4ed21dcc Added information from MMC-3. 2015-10-31 06:29:39 +00:00
99caf6d9b5 Added information from MMC-2. 2015-10-31 06:07:07 +00:00
a74ae86ed8 Added information from MMC-1 Draft. 2015-10-31 05:43:36 +00:00
e677573d14 Added information from USB Mass Storage Class – UFI Command
Specification.
2015-10-31 05:37:56 +00:00
d5ba452ed2 Implemented Mode Page 0x00: Drive Operation Mode page. 2015-10-31 05:35:12 +00:00
c942ac4644 Added information from INF-8070. 2015-10-31 05:28:06 +00:00
9396fb3b08 Implemented Mode Page 0x1C: Timer & Protect page. 2015-10-31 05:23:35 +00:00
e58060a375 Implemented Mode Page 0x1B: Removable Block Access
Capabilities page.
2015-10-31 05:12:20 +00:00
07f895c4b5 Added information from ANSI X3.304-1997 (MMC-1). 2015-10-31 03:36:01 +00:00
e92728a9ee Added information from SSC-2. 2015-10-31 02:48:34 +00:00
ac1ba76253 Added information from SSC-1 2015-10-31 02:34:45 +00:00
4633d37635 Implemented Mode Page 0x0F: Data compression page. 2015-10-31 02:25:29 +00:00
d0d2aaeb81 Added information from USB Mass Storage Class - UFI Command
Specification
2015-10-31 02:09:40 +00:00
c5ce86cb68 Implemented Mode Page 0x1C subpage 0x01: Background Control
mode page.
2015-10-31 01:58:12 +00:00
e1e2839ef4 Added information from SBC-3. 2015-10-31 01:38:27 +00:00
75dc0f5e4c Added information from SBC-2. 2015-10-31 01:31:51 +00:00
f31b195b61 Implemented decoding mode page 10h for direct-access devices. 2015-10-31 01:26:56 +00:00
c4fdc5504e Implemented decoding mode page 1Ah subpage 01h. 2015-10-30 22:30:42 +00:00
82208bfed5 Added information from SPC-5. 2015-10-30 22:25:18 +00:00
b386217822 Added information from SPC-3. 2015-10-30 21:38:34 +00:00
e6daa1dc65 Implemented decoding mode page 0Ah subpage 01h. 2015-10-30 21:34:03 +00:00
77d30099f4 Prevent decoding subpages on subpage 00h decoders. 2015-10-30 20:18:32 +00:00
df66223351 Implemented decoding mode page 1Ah. 2015-10-30 19:32:55 +00:00
75e74ee3fa Implemented decoding mode page 1Ch. 2015-10-30 19:25:19 +00:00
18b555237f Added information from SFF-8020i. 2015-10-30 19:03:40 +00:00
5978950293 Implemented decoding mode page 2Ah. 2015-10-30 18:35:56 +00:00
997aded6a1 Implemented decoding mode page 06h. 2015-10-30 17:45:52 +00:00
965bc740a0 Implemented decoding mode pages 01h and 07h for multimedia
devices.
2015-10-30 17:39:21 +00:00
43777a32eb Implement decoding mode page 0Dh. 2015-10-30 17:11:16 +00:00
8a5d0c6a8d Modify mode page 01h decoding for CD-ROM returned mode page
size.
2015-10-30 03:54:37 +00:00
c2968b7b9d Implemented decoding mode page 0Eh. 2015-10-30 03:52:24 +00:00
c5ea0de9d4 Implemented decoding mode page 10h. 2015-10-30 03:29:58 +00:00
e325bc848a Implemented decoding mode page 07h. 2015-10-30 02:53:36 +00:00
8d149cd30f Implemented decoding mode page 04h. 2015-10-30 02:50:05 +00:00
145dd52efb Implemented decoding mode page 01h. 2015-10-30 02:27:07 +00:00
7103f54990 Implemented decoding mode page 0Bh. 2015-10-30 01:37:35 +00:00
555d0c95dd Typo 2015-10-30 01:16:21 +00:00
87e27f8073 Implemented decoding mode page 03h. 2015-10-30 01:15:56 +00:00
7d5046608c Implemented decoding mode page 05h. 2015-10-29 05:15:27 +00:00
9b39a9d822 Implemented decoding mode page 08h. 2015-10-29 04:21:18 +00:00