From e09829a71d7feb81b44a0382231add73d5be10cb Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Mon, 15 Sep 2025 18:48:26 -0400 Subject: [PATCH] debug: Log if SMART is supported in the debug menu This is the first step towards enabling this feature for all ATA devices. Only the ipod6g supports it out of the box with its stock storage device but with the prevalence of flash/ssd mods of one sort or another, this really should be determined at runtime. Change-Id: Ie35d97fd857bec8213cd0a2ad80695e8bb04a2d6 --- apps/debug_menu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/debug_menu.c b/apps/debug_menu.c index e6446f35d5..5dafb334cb 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -1482,6 +1482,9 @@ static int disk_callback(int btn, struct gui_synclist *lists) i = identify_info[83] & (1<<9); simplelist_addline( "Noise mgmt: %s", i ? "enabled" : "unsupported"); + i = identify_info[85] & (1<<0); + simplelist_addline( + "SMART: %s", i ? "enabled" : "unsupported"); simplelist_addline( "Flush cache: %s", identify_info[83] & (1<<13) ? "extended" : identify_info[83] & (1<<12) ? "standard" : identify_info[80] >= (1<<5) ? "ATA-5" : "unsupported"); i = identify_info[82] & (1<<6);