TkTech / smartie

Pure-python ATA/SATA/ATAPI/SCSI and disk enumeration library for Linux/Windows/OS X.
https://tkte.ch/smartie/
MIT License
11 stars 5 forks source link

Fix Command12. #24

Open yangfl opened 4 hours ago

yangfl commented 4 hours ago

There are no requirements for lba_* to be unsigned values in 04-262r8.pdf, section 13.2.2. Besides, SMART LBA 0xC24F00 works pretty well with ATA PASS-THROUGH (12) command.

Also add getter/setter for lba.