Commit Graph

212 Commits

Author SHA1 Message Date
bce69c9161 REFACTOR: Use preferred braces style. 2017-12-21 00:44:33 +00:00
e9443388ee REFACTOR: Use preferred braces style. 2017-12-20 23:07:46 +00:00
Michael D
7cc1b1e0a2 Formatting fixes 2017-12-20 20:43:42 +01:00
Michael D
cfd0b2655f Add workaround to correctly display device serials
Some devices on windows (especially, apparently, SATA devices
behind a bridge chip) report their serial number as a string
of hex bytes instead of ASCII.
This patch tries to detect that and transparently fix it.
2017-12-20 20:10:28 +01:00
Michael D
b030712b38 Fix unsigned vs. signed problem 2017-12-20 18:51:03 +01:00
ff2afc4593 REFACTOR: Use explicit or implicit modified definition. 2017-12-20 17:46:47 +00:00
b0936d51c5 REFACTOR: Remove redundant parentheses. 2017-12-20 17:26:28 +00:00
a4650c61aa REFACTOR: Fixed MOST name inconsistencies. 2017-12-20 17:15:37 +00:00
ef49fdfd45 REFACTOR: Member or type can be made internal. 2017-12-20 02:08:37 +00:00
e6f6ace80b REFACTOR: Reformat code. 2017-12-19 20:33:05 +00:00
77edc7c91c REFACTOR: Sort and removed usings. 2017-12-19 19:33:51 +00:00
1a39168f19 REFACTOR: Updated comments and copyright date. 2017-12-19 03:51:05 +00:00
8c6d05eed3 FEATURE FREEZE: Removed TODO lines already implemented. 2017-12-19 01:13:31 +00:00
c30a547b17 Corrected incorrect handling of ATA READ LONG, READ TOC/PMA/ATIP and PIONEER READ CD-DA MSF commands. 2017-12-18 17:53:46 +00:00
49ca94c33e Changed order of LBA48 commands in Linux. 2017-12-13 00:31:32 +00:00
45f6a56479 Reworked FreeBSD device detection. 2017-12-11 20:52:15 +00:00
8f988c6e8b FreeBSD triple panics on parallel ATA devices. 2017-12-11 19:29:19 +00:00
8809e83aff Corrected visibility of cam_device members. 2017-12-11 19:24:38 +00:00
7e4ba43063 Added FreeBSD support for ATA commands. 2017-12-11 00:23:13 +00:00
60bc3eb8e5 Solved FreeBSD SCSI structure alignment (now works). 2017-12-10 23:16:48 +00:00
e2888eaf27 Added support for sending SCSI commands in FreeBSD. Not working because CAM is leaving the buffer untouched. 2017-12-10 21:00:20 +00:00
c7d187b298 Added support for list-devices on FreeBSD. 2017-12-08 03:19:28 +00:00
f9e9bb4db0 Added structures for FreeBSD's XPT_DEV_MATCH. 2017-12-07 18:08:09 +00:00
2dd93480e4 Added FreeBSD CCB for NVMe. 2017-12-07 17:13:29 +00:00
4cd0ec53e9 Added support for SecureDigital / MultiMediaCard on Windows. 2017-12-06 23:05:59 +00:00
d660ec93d1 Added code to retrieve USB binary descriptors for Windows. 2017-12-06 20:38:10 +00:00
be52156170 Added code to retrieve USB IDs and strings for Windows. 2017-12-06 19:30:03 +00:00
df076b5e0f Added code to retrieve NT device path (will be needed later). 2017-12-06 13:46:35 +00:00
0b58866c2d Bumped version to 3.99.6.0. 2017-11-29 16:02:19 +00:00
6bc4dd529c Merge branch 'master' of https://github.com/claunia/DiscImageChef 2017-09-29 14:08:00 +01:00
bc72ff1642 Starting with Linux 4.8 the SD/MMC OCR is shown also in /sys, so cache
it if present.
2017-09-29 13:05:50 +00:00
a82071a3e3 Solved reading multiple MMC/SD commands at a time. 2017-09-29 13:01:16 +00:00
e58c16f993 MMC/SecureDigital devices should now appear as supported in Linux. 2017-09-29 06:45:20 +01:00
08cb387c75 Use cached CID register to fill device variables. 2017-09-28 19:48:44 +00:00
4f69f31e4c If present, use cached CID, CSD and CSR registers instead of sending
the command to the device.
2017-09-28 19:25:24 +00:00
cc6627ccbe For MMC/SD, on Linux, cache the kernel provided CID, CSD and SCR
registers from /sys.
2017-09-28 19:14:50 +00:00
c5acf2082e Corrected some command values. 2017-09-28 18:24:16 +00:00
61c8d32f59 Corrected setting up expected number of blocks. 2017-09-28 17:54:20 +00:00
b399bfaea2 Under Linux do not send SCSI INQUIRY if device path name doesn's
correspond to a SCSI node.
2017-09-28 17:54:07 +00:00
489ca6d1de Take care of listing devices on Linux when model is null. 2017-09-11 06:03:11 +01:00
fe1c3e13b4 Added support for ATA commands using Windows 2000/XP undocumented
IOCTL that predates Windows 2003 documented one.
2017-09-10 23:20:59 +01:00
b21c6f2c63 Manually mark manufacturer as "ATA" on Windows so it becomes treated like that. 2017-09-10 18:15:44 +01:00
74674c0213 Changed place of datalength initialization. 2017-09-10 18:15:27 +01:00
d5704b579f Data transfer length must be set for commands to work. 2017-09-10 01:00:30 +01:00
0f24a8f6d6 Added tests for Archive Corp. vendor commands. 2017-09-08 20:34:14 +01:00
849a6f2847 Added tests for S.M.A.R.T. commands. 2017-09-08 18:20:14 +01:00
9ea7b076af Added tests for Media Card Pass Through commands. 2017-09-08 18:00:01 +01:00
95e0d3f596 ATA pass through needs buffer position to be relative to structure so use accordingly. 2017-09-07 16:48:25 +01:00
8cc805f031 Check device type under Windows before sending SCSI INQUIRY as it seems all devices answer correctly to it. 2017-09-07 16:47:06 +01:00
258c33d61e Windows IOCTL bool is reversed. 2017-09-06 20:46:56 +01:00