On my new G5, using a 64-bit kernel and 32-bit userland, the model name as output by hddtemp is byte-swapped for my SATA drive. I don't have any IDE/SCSI devices in here, so I can't check if those are swapped as well. output: # hddtemp /dev/sda (standard warning) /dev/sda: DW CDW5200SJ4-M1BV 1: 44 C or F. The drive model as provided by smartctl: "WDC WD2500JS-41MVB1 "
I sent a patch to upstream, waiting for a response on it.
Created attachment 87233 [details, diff] hddtemp-0.3_beta15-byteswap.patch This is the patch I submitted to upstream, against their latest beta. It works perfectly for x86 and PPC (my only machines with SATA). I haven't had a response from upstream yet, so if there are no objections, I'd like to bump hddtemp to beta15 and have this patch with it.
I haven't had any response from upstream at all. I've commited this to the tree now, along with a patch to hddtemp.db that I cooked up for fully supporting Maxtor DiamondMax 10 drives (of which I have a lot).