Commit Graph

104 Commits

Author SHA1 Message Date
aba2e7fb9f Change buffer size in Windows when talking to ATA devices. 2021-09-15 23:40:51 +01:00
3753f333ae Bump version to 5.3.0-rc1. 2021-09-12 20:51:24 +01:00
6429c784e6 Enlarge ATA command buffer size in Windows to 256 sectors. Fixes #650 2021-09-06 03:28:53 +01:00
75edb759e6 General code refactor. 2021-08-17 21:23:10 +01:00
fdff1d74c9 Use Array.Empty<T>. 2021-08-17 18:23:50 +01:00
f757716c2c Convert part of loop into LINQ. 2021-08-17 17:51:01 +01:00
00ee79bc69 Fix shift operation with left operand 0. 2021-08-17 17:43:49 +01:00
807c7c5313 Set culture on string comparisons. 2021-08-17 16:58:44 +01:00
770066e53f Remove unused code 2021-08-17 16:58:31 +01:00
39e73b16a0 Fix inconsistent naming. 2021-08-17 16:27:42 +01:00
6dd5fb5c5c Add missing XML documentation inheritance. 2021-08-17 14:25:12 +01:00
00f605b0ca Add XML comments to public entities. 2021-08-17 13:56:05 +01:00
a9968f9de7 Consider 0 to be "current default timeout", otherwise some device commands / operating system combinations fail. Fixes #472 2021-08-12 03:00:22 +01:00
7687507353 Ensure Kreon commands return proper error status. 2021-08-09 03:34:54 +01:00
efec5accc5 Fix 48-bit ATA commands. Fixes #532 2021-07-29 00:56:12 +01:00
3082b53261 Fix decoding of USB or FireWire serial numbers with control characters. 2021-07-24 20:02:44 +01:00
4784a6c101 Use a bigger buffer for READ TOC command. Fixes #505 2021-07-03 12:37:42 +01:00
f11080610d Use another way to set device path as not remote as the previous one crashed on Windows. 2021-06-23 13:21:31 +01:00
c92a4e5a3a Use system URI parser to parse AaruRemote endpoints. Fixes #409. 2021-06-22 20:23:21 +01:00
317fb2b5b0 When AaruRemote points to a UNIX device node, ensure it has the proper absolute path slash. Fixes #536 2021-06-08 01:04:46 +01:00
eda85862cd Decode fixed or descriptor SCSI sense in a single pass, use whichever was returned by drive. 2021-03-26 00:37:54 +00:00
e4dbcdebc3 Enlarge sense buffer to 64 bytes. 2021-03-25 23:23:18 +00:00
41d750cb06 Rename MediaTek F1h command 06h subcommand. 2021-01-17 17:16:44 +00:00
Rebecca Wallander
19ab8ce3b3 Identify CSS, read and get disc key 2021-01-13 23:37:05 +01:00
472a1d94d8 Update copyright year. 2020-12-31 23:08:23 +00:00
5ce60ba03f Fix detecting SD/MMC READ_MULTIPLE_BLOCK in Windows. 2020-12-22 02:03:29 +00:00
0fa680879b Prepare nuget packages. 2020-12-20 22:59:31 +00:00
391a6d7b34 Do not send V2 commands to V1 remotes. 2020-12-13 23:32:39 +00:00
9ff680a309 Implement remote command for reading device using OS calls. 2020-12-13 23:32:20 +00:00
378c3db1f5 Implement remote command for re-opening device. 2020-12-13 22:16:03 +00:00
f2bfe6d9aa Implement remote command for multiple MMC/SD. 2020-12-13 22:04:33 +00:00
6707e95073 Implement sending multiple MMC/SD commands thru remotes with protocol version 1. 2020-12-13 20:45:22 +00:00
f40fb3459d Up remote protocol to version 2. 2020-12-13 20:44:58 +00:00
97cb61eca6 Fix stack corruption when sending multiple MMC/SD commands in Linux. 2020-12-13 20:33:36 +00:00
c788a4ded5 Implemented reading SD/MMC using buffered OS calls. 2020-12-12 22:48:03 +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
5e39e581ef Add command to close and re-open a device. 2020-12-12 21:03:01 +00:00
c0aa669300 Add ability to send sequentially concatenated SD/MMC commands. 2020-12-12 20:58:58 +00:00
109f758d08 Do not send SET_BLOCK_COUNT before every READ_MULTIPLE_BLOCK. 2020-12-12 20:56:56 +00:00
bf565954b5 Disable READ_MULTIPLE_BLOCK usage in Linux as it seems the ioctl(2) does not atomically accept SET_BLOCK_COUNT. 2020-12-10 13:53:16 +00:00
6ca010d621 Separate SD/MMC READ_SINGLE_BLOCK from READ_MULTIPLE_BLOCK and implement a pseudo multi block reading using single block commands. 2020-12-10 13:50:51 +00:00
fd29cba8ea Correct transfer length type for MMC/SD cards. 2020-12-10 13:33:47 +00:00
649d4a8442 Move hex string to byte array converter to helpers. 2020-12-08 00:56:38 +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
6877589cc9 General code clean-up, refactor and commenting. 2020-11-11 04:19:18 +00:00
61ab7a4c50 Mark FreeBSD code as obsolete. Pending removal.
FreeBSD is not supported by .NET Core, you're on your own.
There are no plans to support it for .NET 5.
Many things left to implement.
AaruRemote works as of this commit date.
Code will be removed in Aaru 6.0, can be bring back if there's enough interest and future .NET support.
2020-11-04 03:18:23 +00:00
e68eef3448 Fix ATA error status in FreeBSD. 2020-10-31 22:13:46 +00:00
af598570b9 Remove trailing slash on remote device command. 2020-10-24 15:05:38 +01:00
ad2153f06d Return proper sense from SCSI MEDIUM SCAN command. 2020-10-23 01:11:37 +01:00