Skip to content

Fix SATA SMART detection by clearing CK_COND - #75

Open
jjurek98 wants to merge 1 commit into
level1techs:mainfrom
jjurek98:fix-sata-smart-ck-cond
Open

jjurek98 wants to merge 1 commit into
level1techs:mainfrom
jjurek98:fix-sata-smart-ck-cond

Conversation

@jjurek98

Copy link
Copy Markdown

This changes the ATA PASS-THROUGH CDB from 0x2E to 0x0E, clearing the CK_COND bit while leaving the other flags unchanged.

SMART data was not detected by siomon on my SATA SSD and SATA HDD while smartctl worked correctly. After clearing CK_COND, siomon started reporting SMART data for the device.

A similar CK_COND related issue was previously discussed in systemd/systemd#2362, where clearing the bit also resolved ATA pass-through detection problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant