Add macOS SCSI support via IOKit SCSITaskDeviceInterface

IOKit backend for macOS optical drives. Accepts BSD device paths
(/dev/disk2), walks IORegistry to find authoring device, sends
SCSI commands through SCSITaskDeviceInterface COM vtable.
This commit is contained in:
MattJackson
2026-04-07 13:15:06 -07:00
parent 492a2966c0
commit 237528b385
6 changed files with 483 additions and 6 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ AACS decryption requires a KEYDB.cfg file. If available at `~/.config/aacs/KEYDB
```text
DriveSession — open, identify, unlock, read sectors
├── ScsiTransport — SG_IO (Linux), IOKit (macOS planned)
├── ScsiTransport — SG_IO (Linux), IOKit (macOS)
├── DriveProfile — per-drive unlock parameters (bundled)
└── Platform — MediaTek (supported), Renesas (planned)
@@ -86,7 +86,7 @@ All errors are structured with numeric codes. No user-facing English text — ap
| Platform | Status | Backend |
|----------|--------|---------|
| Linux | Supported | SG_IO ioctl |
| macOS | Planned | IOKit |
| macOS | Supported | IOKit SCSITask |
| Windows | Planned | SPTI |
## Contributing