Commit Graph

330 Commits

Author SHA1 Message Date
afeb830549 Fix misdetecting optical discs as flash drives. 2020-12-29 19:37:16 +00:00
f8754a178b Fix media detection number of blocks for 70Gb iomega REV. 2020-12-29 19:36:53 +00:00
0fa680879b Prepare nuget packages. 2020-12-20 22:59:31 +00:00
97cb61eca6 Fix stack corruption when sending multiple MMC/SD commands in Linux. 2020-12-13 20:33:36 +00:00
37385a245f Temporarily disable CMD23+CMD18+CMD12 combination as it is currently corrupting the stack in Linux. 2020-12-13 02:29:02 +00:00
66b56862a0 Fix seeking test in SD/MMC media scan. 2020-12-12 23:33:54 +00:00
c788a4ded5 Implemented reading SD/MMC using buffered OS calls. 2020-12-12 22:48:03 +00:00
04a2626125 Add options to use OS buffered reads when reading MMC/SD. 2020-12-12 21:14:39 +00:00
a026b525a2 Add MMC/SD command to send SET_BLOCK_COUNT, READ_MULTIPLE_BLOCK and STOP_TRANSMISSION in a single call. 2020-12-12 21:03:44 +00:00
cad5742d34 Fix creating sidecar from MMC trying to hash non-existing SD registers. 2020-12-10 13:58:02 +00:00
d176244665 Reduce seek times to 100 when scanning MMC/SD cards. 2020-12-10 13:57:33 +00:00
4f0a582a23 Write MMC/SD card registers to image before closing it. 2020-12-10 13:57:16 +00:00
2bc98e6810 Fix block size for SD cards, that must always be read using 512b blocks even if their CSD says otherwise. 2020-12-10 13:56:50 +00:00
f81090dc1b Fix calculating blocks to read when dumping or scanning MMC/SD. 2020-12-10 13:56:04 +00:00
74f95b692b Check Extended CSD is empty on device info. 2020-12-10 13:49:28 +00:00
ad4d80223e Add more fields to MultiMediaCard's Extended CSD. 2020-12-09 20:11:19 +00:00
3546c35d42 Do not calculate pregaps when dumping on a Plextor as some older models contains firmware bugs that crash the bus.
It is not needed really when dumping.
2020-12-05 14:04:27 +00:00
ef0e035385 Fix dumping flash drives that report themselves as CD drives when they're not. 2020-12-04 00:31:30 +00:00
1e4ac8b2fb Fix detection of flash drives that report themselves as CD drives when they're not. 2020-12-03 18:19:05 +00:00
72870f3c10 Detect USB flash drives that identify themselves as CD readers but are in reality just block devices. 2020-12-03 17:45:11 +00:00
ee1250ea0e On device report try other ways of getting the MODE SENSE values that are more effective with certain devices. 2020-12-03 17:44:22 +00:00
18cf585954 Do not cross into each session's first track pregap as this makes some drives fail. Fixes #406 2020-12-03 15:52:06 +00:00
72ffb3090d Bump version. 2020-12-03 02:37:40 +00:00
c7ec303e2d Bump version to 5.2.0.3330. 2020-12-03 02:09:18 +00:00
a69873ff90 Do not dump multi-session CDs in Plextor drives connected to a USB bridge until #406 is fixed. 2020-12-02 17:30:23 +00:00
80963d1cb8 Do not generate subchannels if aborted. Fixes #453 2020-11-21 15:35:19 +00:00
fa5f7e9bf2 Guard against some firmware bugs when getting DVD/BD track number and length. 2020-11-21 04:16:02 +00:00
9eeef9a8a2 Do not try to find SCSI read command if the medium is not written. Fixes #458 2020-11-20 21:23:49 +00:00
07b70d854f Check MMC drive profile when dumping, fixes #457 2020-11-20 21:20:40 +00:00
2ec3b0194d Fix detection of version 3 and upper DVD-RW and DVD-RW DL. Fixes #456 2020-11-20 19:29:14 +00:00
8a105cd72d Fix retrieving CD drive offsets from database when model or manufacturer contains a slash. Fixes #454 2020-11-20 02:42:23 +00:00
6877589cc9 General code clean-up, refactor and commenting. 2020-11-11 04:19:18 +00:00
5f07692d31 Hardcode read command and blocks to read if we cannot calculate them for magneto-opticals. 2020-11-11 03:14:48 +00:00
9cae71f709 Consider RW subchannels as ok if some are all 0s and some are all 1s, as it seems to be a somewhat common pattern. Fixes #401 2020-11-09 21:03:04 +00:00
146bb0804e Fix detection of CD-i Ready discs when negative offset and drive cannot read negative sectors. Fixes #396 2020-11-08 21:48:22 +00:00
1308b2b17d If there is an OS error only print the sense buffer if it contains data. 2020-11-08 20:40:45 +00:00
f08a33f3c2 Continue printing SCSI sense buffer in error log even if we have an operating system error. 2020-11-08 16:06:47 +00:00
b82508c884 Save in log if running as superuser. 2020-11-08 14:32:38 +00:00
3fdf990924 Use track 1's first sector to check readability of CompactDisc media. 2020-11-07 17:39:50 +00:00
217fd1efa6 Move image creation in multimedia SBC dump until after retrieval of track list. Fixes #414 2020-11-07 13:00:31 +00:00
8da92d7408 Fix detection of hidden data track mode when drive returns it scrambled. Fixes #380 2020-11-07 02:52:16 +00:00
5068a68001 When dumping DVD or Blu-ray, the last sector of all the tracks should be considered the last block, even if the drive tells us differently. Fixes #414 2020-11-07 01:38:54 +00:00
404dc90e8e Do not recalculate logical track size when DVD drive returns a negative start. Fixes #422 2020-11-07 01:29:52 +00:00
795179e369 Handle when buggy DVD firmware indicates a DVD track starts in a negative sector. Fixes #422 2020-11-06 21:50:34 +00:00
Silas Laspada
061f96c633 Fix negative offset calculating when detecting scrambled CD-i Ready. Fixes #396 2020-11-05 21:55:41 -07:00
6c58083c64 Change method of reading subchannels in Plextor drives, fixes #395 2020-11-06 00:26:23 +00:00
cea53a02bd Fix null reference exception from previous commit. 2020-11-05 11:02:12 +00:00
c94530e685 Get back tracks, indexes, MCN and ISRCs from resumed file. Fixes #376 2020-11-05 01:21:54 +00:00
f92f122443 Change how pregap starting with 0 is calculated dumping vs converting. Fixes #375 2020-11-04 23:55:24 +00:00
49dda86cd8 Ensure only unique bad blocks are saved in resume file. Fixes #381 2020-11-03 01:40:10 +00:00