diff options
Diffstat (limited to 'app-admin/hddtemp/files')
-rw-r--r-- | app-admin/hddtemp/files/hddgentoo.db | 253 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp-0.3_beta15-byteswap.patch | 28 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp-0.3_beta15-dontwake.patch | 20 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp-0.3_beta15-execinfo.patch | 21 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp-0.3_beta15-iconv.patch | 28 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp-0.3_beta15-nls.patch | 14 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp-0.3_beta15-satacmds.patch | 26 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp-conf.d | 12 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp-init | 22 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp.service | 11 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp.service-r1 | 10 | ||||
-rw-r--r-- | app-admin/hddtemp/files/hddtemp.service.conf | 3 | ||||
-rw-r--r-- | app-admin/hddtemp/files/update-hddtemp.db | 33 |
13 files changed, 481 insertions, 0 deletions
diff --git a/app-admin/hddtemp/files/hddgentoo.db b/app-admin/hddtemp/files/hddgentoo.db new file mode 100644 index 000000000000..2158f4e24a0b --- /dev/null +++ b/app-admin/hddtemp/files/hddgentoo.db @@ -0,0 +1,253 @@ +############################################# +############# Misc drives, added by Gentoo +############################################# + +"ST9160821AS" 194 C "Seagate ST9160821AS" +"ST3400620A" 194 C "Seagate Barracuda 7200.10 ST3400620A" +"MAXTOR STM3160212A" 194 C "Maxtor STM3160212A" +"WDC WD2500JS-23MHB0" 194 C "Western Digital 250GB, 8MB cache" +"WDC WD740ADFD-00NLR1" 194 C "Western Digital SATA Raptor 74GB 16MB" +"ST3320620AS" 194 C "Seagate ST3320620AS" +"WDC WD3200AAKS-00SBA0" 194 C "Western Digital WD3200AAKS-00SBA0" +"ST3120813AS" 194 C "Seagate ST3120813AS" +"ST3250620AS" 194 C "Seagate ST3250620AS" +"ST3808110AS" 194 C "Seagate Barracuda 7200.9 SATA2 80GB 8MB" +"ST3250824AS" 194 C "Seagate Barracuda 7200.9 SATA2 250GB 8MB" +"ST3250310AS" 194 C "Seagate Barracuda 7200.10 SATA 250GB 8MB" +"ST3500320AS" 194 C "Seagate Barracuda 7200.11 SATA 500GB 32MB" +"ST3320613AS" 194 C "Seagate Barracuda 7200.11 SATA 320GB 16MB" +"ST3500320AS" 194 C "Seagate Barracuda 7200.11 SATA 500GB 32MB" +"ST3500620AS" 194 C "Seagate Barracuda 7200.11 SATA 500GB 16MB" +"ST3640323AS" 194 C "Seagate Barracuda 7200.11 SATA 64GB 32MB" +"ST3750330AS" 194 C "Seagate Barracuda 7200.11 SATA 750GB 32MB" +"ST3750630AS" 194 C "Seagate Barracuda 7200.11 SATA 750GB 16MB" +"ST31000340AS" 194 C "Seagate Barracuda 7200.11 SATA 1000GB 32MB" +"SAMSUNG HD403LJ" 194 C "Samsung HD403LJ" +"SAMSUNG HD250HJ" 194 C "Samsung SpinPoint SpinPoint S250" +"ST3320620NS" 194 C "Seagate 320GB 7200rpm 16MB SATAII" +"FUJITSU MHZ2250BJ FFS G2" 194 C "FUJITSU MHZ2250BJ FFS G2" +"ST3500630A" 194 C "Seagate Barracuda 7200.10 PATA 500GB 16MB" +"WDC WD740ADFD-00NLR5" 194 C "Western Digital SATA Raptor 74GB 16MB" +"Hitachi HDP725032GLA360" 194 C "Hitachi Deskstar P7K500 - 320GB 7200RPM 16MB SATA II" +"Hitachi HDT721050SLA360" 194 C "Hitachi Deskstar 7K1000.B - 500GB 7200RPM 16MB SATA II" +"Hitachi HDT725025VLAT80" 194 C "Hitachi Deskstar T7K500 - 250GB 7200RPM 8MB PATA" +"SAMSUNG HD322HJ" 194 C "Samsung HD322HJ 320GB 7200RPM 16MB SATA" +"WDC WD2500BEVS-75UST0" 194 C "Western Digital WD2500BEVS-75UST0 - 250GB 5400RPM SATA" +"SAMSUNG HD103UJ" 194 C "Samsung Spinpoint F1 1000GB 32MB" +"SAMSUNG HD103SJ" 194 C "Samsung Spinpoint F3 1000GB 32MB" +"ST9250421ASG" 194 C "Seagate Momentus 7200.3 SATA 250GB 16MB" +"SAMSUNG HD401LJ" 194 C "SAMSUNG SpinPoint T133 series, 400GB" +"SAMSUNG HD753LJ" 194 C "SAMSUNG F1 series, 750 GB" +"SAMSUNG HD103SI" 194 C "Samsung Spinpoint F2 EcoGreen 1TB 5400RPM" +"WDC WD7500AACS-00ZJB0" 194 C "Western Digital Caviar Green 750 GB" +"WDC WD1002FAEX-00Z3A0" 194 C "Western Digital Caviar Black 1 TB" +"ST31500341AS" 194 C "Seagate Barracuda 7200.11 1500GB SATA2 7200RPM 32MB" +"ST31500541AS" 194 C "Seagate Barracuda Green 1500GB SATA2 5900RPM 32MB" +"SAMSUNG HD502IJ" 194 C "Samsung HD502IJ" +"Hitachi HTS545050B9SA00" 194 C "Hitachi Travelstar 500GB, SATA150, 2.5, 5400RPM, NCQ, 7MB Cache" +"ST3500418AS" 194 C "Seagate Barracuda 7200.12 SATA 500GB 16MB" +"ST9500420AS" 194 C "Seagate Momentus 7200.4 SATA 500GB 16MB" +"WDC WD5000AAKS-00A7B0" 194 C "Western Digital WD5000AAKS-00A7B0" +"ST9320325AS" 194 C "Seagate Momentus 5400.6 SATA 320GB 8MB" +"MAXTOR STM3250310AS" 194 C "Seagate DiamondMax 21 SATA 250GB" +"FUJITSU MHT2080AT PL" 194 C "Fujitsu MHT2080AT PL IDE/ATA 80GB" +"FUJITSU MHV2120AH" 194 C "FUJITSU MHV2120AH" +"WDC WD2001FASS-00W2B0" 194 C "Western Digital Caviar Black WD2001FASS" +"WDC WD1000BB-00CAA1" 0 C "Western Digital Caviar WD1000BB" +"WDC WD5000AADS-00S9B0" 194 C "Western Digital Caviar GP 500GB 32MB" +"WDC WD5000AVDS-63U7B0" 194 C "Western Digital Caviar AV GP 500GB 32MB" +"WDC WD5000AVJB-63YUA0" 194 C "Western Digital Caviar AV 500GB 8MB" +"WDC WD20EVDS-63T3B0" 194 C "Western Digital Caviar AV GP 2TB 32MB" +"WDC WD20EURS-63S48Y0" 194 C "Western Digital Caviar AV GP 2TB 64MB" +"WDC WD3202ABYS-02B7A0" 194 C "Western Digital Caviar WD3202ABYS" +"FUJITSU MHY2200BH" 194 C "FUJITSU MHY2200BH" +"ST3320418AS" 194 C "Seagate Barracuda 7200.12 SATA 320GB" +"TOSHIBA MK7559GSXP" 194 C "Toshiba MK7559GSXP" +"TOSHIBA MK1637GSX" 194 C "Toshiba MK1637GSX 160GB SATA2 5200RPM" +"TOSHIBA MG03ACA300" 194 C "Toshiba MG03ACA300 3TB SATA3 7200RPM" +"TOSHIBA MD04ACA400" 194 C "Toshiba MD04ACA400 4TB SATA3 7200RPM Enterprise HDD" +"OCZ-VERTEX2" 194 C "OCZ Vertex 2" +"SAMSUNG HD204UI" 194 C "Samsung Spinpoint F4EG 2TB SATA2 5400RPM 32MB" +"SAMSUNG HD154UI" 194 C "Samsung Spinpoint F2EG 1.5TB SATA2 5400RPM 32MB" +"WDC WD10EADS-00M2B0" 194 C "Western Digital Caviar Green 1TB SATA2 5400RPM 32MB" +"WDC WD20EARS-00S8B1" 194 C "Western Digital Caviar Green 2TB SATA2 IntelliPower 64MB" +"WDC WD3200BEKT-00F3T0" 194 C "Western Digital Scorpio Black 320GB SATA2 7200RPM 16MB" +"WDC WD3200BEKT-75A25T0" 194 C "Western Digital Scorpio Black 320GB SATA2 7200RPM 16MB" +"WDC WD6400AACS-00M3B0" 194 C "Western Digital Caviar Green 640GB SATA2 7200RPM 16MB" +"WDC WD5000AADS" 194 C "Western Digital Caviar Green 500GB SATA2 IntelliPower 32MB" +"WDC WD7500AARX" 194 C "Western Digital Caviar Green 750GB SATA3 IntelliPower 64MB" +"WDC WD3200AZDX" 194 C "Western Digital Caviar Green 320GB SATA3 IntelliPower 32MB" +"WDC WD5000AZDX" 194 C "Western Digital Caviar Green 500GB SATA3 IntelliPower 32MB" +"WDC WD5000AZRX-00A8LB0" 194 C "Western Digital Caviar Green 500GB SATA3 IntelliPower 64MB" +"WDC WD7500AZRX" 194 C "Western Digital Caviar Green 750GB SATA3 IntelliPower 64MB" +"WDC WD10EARS" 194 C "Western Digital Caviar Green 1TB SATA2 IntelliPower 64MB" +"WDC WD15EARS" 194 C "Western Digital Caviar Green 1.5TB SATA2 IntelliPower 64MB" +"WDC WD20EARS" 194 C "Western Digital Caviar Green 2TB SATA2 IntelliPower 64MB" +"WDC WD10EZRX" 194 C "Western Digital Caviar Green 1TB SATA3 IntelliPower 64MB" +"WDC WD25EZRX" 194 C "Western Digital Caviar Green 2.5TB SATA3 IntelliPower 64MB" +"WDC WD30EZRX" 194 C "Western Digital Caviar Green 3TB SATA3 IntelliPower 64MB" +"WDC WD10EARX" 194 C "Western Digital Caviar Green 1TB SATA3 IntelliPower 64MB" +"WDC WD15EARX" 194 C "Western Digital Caviar Green 1.5TB SATA3 IntelliPower 64MB" +"WDC WD20EARX" 194 C "Western Digital Caviar Green 2TB SATA3 IntelliPower 64MB" +"WDC WD7500AADS-11M2B1" 194 C "Western Digital Caviar Green 750GB SATA2 IntelliPower 32MB" +"WDC WD3200AABB" 194 C "Western Digital Caviar Blue 320GB PATA 7200RPM 2MB" +"WDC WD3200BB" 194 C "Western Digital Caviar Blue 320GB PATA 7200RPM 2MB" +"WDC WD3000BB" 194 C "Western Digital Caviar Blue 300GB PATA 7200RPM 2MB" +"WDC WD2500AABB" 194 C "Western Digital Caviar Blue 250GB PATA 7200RPM 2MB" +"WDC WD2500BB" 194 C "Western Digital Caviar Blue 250GB PATA 7200RPM 2MB" +"WDC WD2500LB" 194 C "Western Digital Caviar Blue 250GB PATA 7200RPM 2MB" +"WDC WD2000BB" 194 C "Western Digital Caviar Blue 200GB PATA 7200RPM 2MB" +"WDC WD2000LB" 194 C "Western Digital Caviar Blue 200GB PATA 7200RPM 2MB" +"WDC WD1800BB" 194 C "Western Digital Caviar Blue 180GB PATA 7200RPM 2MB" +"WDC WD1750BB" 194 C "Western Digital Caviar Blue 180GB PATA 7200RPM 2MB" +"WDC WD1600AABB" 194 C "Western Digital Caviar Blue 160GB PATA 7200RPM 2MB" +"WDC WD1600BB" 194 C "Western Digital Caviar Blue 160GB PATA 7200RPM 2MB" +"WDC WD1200BB" 194 C "Western Digital Caviar Blue 120GB PATA 7200RPM 2MB" +"WDC WD1200LB" 194 C "Western Digital Caviar Blue 120GB PATA 7200RPM 2MB" +"WDC WD1000BB" 194 C "Western Digital Caviar Blue 100GB PATA 7200RPM 2MB" +"WDC WD800BB" 194 C "Western Digital Caviar Blue 80GB PATA 7200RPM 2MB" +"WDC WD800BB-00JHC0" 194 C "Western Digital Caviar Blue 80GB PATA 7200RPM 2MB" +"WDC WD800LB" 194 C "Western Digital Caviar Blue 80GB PATA 7200RPM 2MB" +"WDC WD800PB" 194 C "Western Digital Caviar Blue 80GB PATA 7200RPM 2MB" +"WDC WD600BB" 194 C "Western Digital Caviar Blue 60GB PATA 7200RPM 2MB" +"WDC WD400BB" 194 C "Western Digital Caviar Blue 40GB PATA 7200RPM 2MB" +"WDC WD400LB" 194 C "Western Digital Caviar Blue 40GB PATA 7200RPM 2MB" +"WDC WD300BB" 194 C "Western Digital Caviar Blue 30GB PATA 7200RPM 2MB" +"WDC WD200BB" 194 C "Western Digital Caviar Blue 20GB PATA 7200RPM 2MB" +"WDC WD100BB" 194 C "Western Digital Caviar Blue 10GB PATA 7200RPM 2MB" +"WDC WD5000AAKB" 194 C "Western Digital Caviar Blue 500GB PATA 7200RPM 16MB" +"WDC WD5000AAJB" 194 C "Western Digital Caviar Blue 500GB PATA 7200RPM 8MB" +"WDC WD5000JB" 194 C "Western Digital Caviar Blue 500GB PATA 7200RPM 8MB" +"WDC WD4000AAKB" 194 C "Western Digital Caviar Blue 400GB PATA 7200RPM 16MB" +"WDC WD4000AAJB" 194 C "Western Digital Caviar Blue 400GB PATA 7200RPM 8MB" +"WDC WD4000JB" 194 C "Western Digital Caviar Blue 400GB PATA 7200RPM 8MB" +"WDC WD3200AAKB" 194 C "Western Digital Caviar Blue 320GB PATA 7200RPM 16MB" +"WDC WD3200AAJB" 194 C "Western Digital Caviar Blue 320GB PATA 7200RPM 8MB" +"WDC WD3200JB" 194 C "Western Digital Caviar Blue 320GB PATA 7200RPM 8MB" +"WDC WD3000JB" 194 C "Western Digital Caviar Blue 300GB PATA 7200RPM 8MB" +"WDC WD2500AAKB" 194 C "Western Digital Caviar Blue 250GB PATA 7200RPM 16MB" +"WDC WD2500AAJB" 194 C "Western Digital Caviar Blue 250GB PATA 7200RPM 8MB" +"WDC WD2500JB" 194 C "Western Digital Caviar Blue 250GB PATA 7200RPM 8MB" +"WDC WD2500PB" 194 C "Western Digital Caviar Blue 250GB PATA 7200RPM 8MB" +"WDC WD2000JB" 194 C "Western Digital Caviar Blue 200GB PATA 7200RPM 8MB" +"WDC WD2000PB" 194 C "Western Digital Caviar Blue 200GB PATA 7200RPM 8MB" +"WDC WD1800JB" 194 C "Western Digital Caviar Blue 180GB PATA 7200RPM 8MB" +"WDC WD1600AAJB" 194 C "Western Digital Caviar Blue 160GB PATA 7200RPM 8MB" +"WDC WD1600JB" 194 C "Western Digital Caviar Blue 160GB PATA 7200RPM 8MB" +"WDC WD1200JB" 194 C "Western Digital Caviar Blue 120GB PATA 7200RPM 8MB" +"WDC WD1200PB" 194 C "Western Digital Caviar Blue 120GB PATA 7200RPM 8MB" +"WDC WD1000JB" 194 C "Western Digital Caviar Blue 100GB PATA 7200RPM 8MB" +"WDC WD800JB" 194 C "Western Digital Caviar Blue 80GB PATA 7200RPM 8MB" +"WDC WD600JB" 194 C "Western Digital Caviar Blue 60GB PATA 7200RPM 8MB" +"WDC WD400JB" 194 C "Western Digital Caviar Blue 40GB PATA 7200RPM 8MB" +"WDC WD2002FAEX" 194 C "Western Digital Caviar Black 2TB SATA3 7200RPM 64MB" +"WDC WD1502FAEX" 194 C "Western Digital Caviar Black 1.5TB SATA3 7200RPM 64MB" +"WDC WD1002FAEX" 194 C "Western Digital Caviar Black 1TB SATA3 7200RPM 64MB" +"WDC WD7502AAEX" 194 C "Western Digital Caviar Black 750GB SATA3 7200RPM 64MB" +"WDC WD6402AAEX" 194 C "Western Digital Caviar Black 640GB SATA3 7200RPM 64MB" +"WDC WD5002AALX" 194 C "Western Digital Caviar Black 500GB SATA3 7200RPM 32MB" +"WDC WD2001FASS" 194 C "Western Digital Caviar Black 2TB SATA2 7200RPM 64MB" +"WDC WD1001FALS" 194 C "Western Digital Caviar Black 1TB SATA2 7200RPM 32MB" +"WDC WD7501AALS" 194 C "Western Digital Caviar Black 750GB SATA2 7200RPM 32MB" +"WDC WD6401AALS" 194 C "Western Digital Caviar Black 640GB SATA2 7200RPM 32MB" +"WDC WD5001AALS" 194 C "Western Digital Caviar Black 500GB SATA2 7200RPM 32MB" +"WDC WD10EALX" 194 C "Western Digital Caviar Blue 1TB SATA3 7200RPM 32MB" +"WDC WD7500AALX" 194 C "Western Digital Caviar Blue 750GB SATA3 7200RPM 32MB" +"WDC WD5000AAKX" 194 C "Western Digital Caviar Blue 500GB SATA3 7200RPM 16MB" +"WDC WD3200AAKX" 194 C "Western Digital Caviar Blue 320GB SATA3 7200RPM 16MB" +"WDC WD2500AAKX" 194 C "Western Digital Caviar Blue 250GB SATA3 7200RPM 16MB" +"WDC WD10EALS" 194 C "Western Digital Caviar Blue 1TB SATA2 7200RPM 32MB" +"WDC WD6400AAKS" 194 C "Western Digital Caviar Blue 640GB SATA2 7200RPM 16MB" +"WDC WD5000AAKS" 194 C "Western Digital Caviar Blue 500GB SATA2 7200RPM 16MB" +"WDC WD3200AAKS" 194 C "Western Digital Caviar Blue 320GB SATA2 7200RPM 16MB" +"WDC WD2500AAKS" 194 C "Western Digital Caviar Blue 250GB SATA2 7200RPM 16MB" +"WDC WD2500AAKS-00VSA0" 194 C "Western Digital Caviar Blue 250GB SATA2 7200RPM 16MB" +"WDC WD3200AAJS" 194 C "Western Digital Caviar Blue 320GB SATA2 7200RPM 8MB" +"WDC WD2500AAJS" 194 C "Western Digital Caviar Blue 250GB SATA2 7200RPM 8MB" +"WDC WD1600AAJS" 194 C "Western Digital Caviar Blue 160GB SATA2 7200RPM 8MB" +"WDC WD800AAJS" 194 C "Western Digital Caviar Blue 80GB SATA2 7200RPM 8MB" +"WDC WD10JPVT" 194 C "1TB SATA2 5400RPM 8MB" +"WDC WD10TPVT" 194 C "1TB SATA2 5200RPM 8MB" +"WDC WD7500BPVT" 194 C "750GB SATA2 5400RPM 8MB" +"WDC WD6400BPVT" 194 C "640GB SATA2 5400RPM 8MB" +"WDC WD5000BPVT" 194 C "500GB SATA2 5400RPM 8MB" +"WDC WD3200BPVT" 194 C "320GB SATA2 5400RPM 8MB" +"WDC WD2500BPVT" 194 C "250GB SATA2 5400RPM 8MB" +"WDC WD3200BEVE" 194 C "320GB PATA6 5400RPM 8MB" +"WDC WD2500BEVE" 194 C "250GB PATA6 5400RPM 8MB" +"WDC WD1600BEVE" 194 C "160GB PATA6 5400RPM 8MB" +"WDC WD1200BEVE" 194 C "120GB PATA6 5400RPM 8MB" +"WDC WD800BEVE" 194 C "80GB PATA6 5400RPM 8MB" +"WDC WD5000LPVT" 194 C "500GB SATA2 5400RPM 8MB" +"WDC WD3200LPVT" 194 C "320GB SATA2 5400RPM 8MB" +"WDC WD2500LPVT" 194 C "250GB SATA2 5400RPM 8MB" +"ST320LT007-9ZV142" 194 C "Seagate 320GB SATA2 7200RPM 16MB" +"ST250DM000" 194 C "Seagate Barracuda 7200.14 250GB SATA3 7200RPM 16MB" +"ST320DM000" 194 C "Seagate Barracuda 7200.14 320GB SATA3 7200RPM 16MB" +"ST500DM002" 194 C "Seagate Barracuda 7200.14 500GB SATA3 7200RPM 16MB" +"ST750DM003" 194 C "Seagate Barracuda 7200.14 750GB SATA3 7200RPM 64MB" +"ST1000DM003" 194 C "Seagate Barracuda 7200.14 1TB SATA3 7200RPM 64MB" +"ST1500DM003" 194 C "Seagate Barracuda 7200.14 1.5TB SATA3 7200RPM 64MB" +"ST2000DM001" 194 C "Seagate Barracuda 7200.14 2TB SATA3 7200RPM 64MB" +"ST3000DM001" 194 C "Seagate Barracuda 7200.14 3TB SATA3 7200RPM 64MB" +"ST32000641AS" 194 C "Seagate Barracuda XT ST32000641AS 2TB SATA3 7200RPM 64MB" +"ST500LM000-1EJ16" 194 C "Seagate 500GB SSHD" +"Hitachi HTS725050A9A364" 190 C "Hitachi Travelstar 7K500 500GB SATA2 7200RPM 16MB" +"HTE721080G9AT00" 194 C "Hitachi Travelstar E7K100 80GB PATA6 7200RPM 8MB" +"ST9250315AS" 194 C "Seagate Momentus 5400.6 250GB SATA2 5400RPM 8MB" +"ST9750420AS" 194 C "Seagate Momentus 7200.4 750GB SATA2 7200RPM 16MB" +"ST9500423AS" 194 C "Seagate Momentus 7200.4 500GB SATA2 7200RPM 16MB" +"TOSHIBA MK3252GSX" 194 C "Toshiba MK3252GSX" +"SAMSUNG HM160HC" 194 C "Samsung HM160HC" +"WDC WD1003FBYX-01Y7B1" 194 C "Western Digital RE4 1TB SATA2 7200RPM 64MB" +"WDC WD3003FZEX-00Z4SA0" 194 C "Western Digital Caviar Black 3TB SATA3 7200RPM 64MB" +"WDC WD3000FYYZ-01UL1B2" 194 C "Western Digital WD3000FYYZ 3TB SATA3 7200RPM" +"TOSHIBA DT01ACA050" 194 C "Toshiba 500GB SATA3 7200RPM 32MB" +"WDC WD10JFCX-68N6GN0" 194 C "Western Digital Red 1TB SATA3 IntelliPower 64MB" +"WDC WD40EFRX" 194 C "Western Digital Red 4TB SATA3 IntelliPower 64MB" +"WDC WD40EZRX" 194 C "Western Digital Green 4TB SATA3 IntelliPower 64MB" +"WDC WD20EARS" 194 C "Western Digital Green 2TB SATA2 IntelliPower 64MB" +"WDC WD5000BEVT" 194 C "Western Digital Scorpio Blue 500GB SATA2 5400RPM 8MB" +"WDC WD5000BPKT-00PK4T0" 194 C "Western Digital Scorpio Black 500GB SATA2 7200RPM 16MB" +"SanDisk SD6SB1M256G1022I" 194 C "Sandisk SSD X110 256GB" +"Hitachi HTS542512K9SA00" 194 C "Hitachi Travelstar 5K250 120GB SATA2 5400RPM 8MB" +"Hitachi HTS542516K9SA00" 194 C "Hitachi Travelstar 5K250 160GB SATA2 5400RPM 8MB" +"Hitachi HDS721680PLA380" 194 C "Hitachi Deskstar 7K160 80GB SATA2 7200RPM 8MB" +"Hitachi HDS721010CLA332" 194 C "Hitachi Deskstar 7K1000.C 1TB SATA2 7200RPM" +"HGST HDS724040ALE640" 194 C "HGST Deskstar 7K4000 4TB SATA3 7200RPM" +"ST9120822AS" 194 C "Seagate Momentus 5400.3 120GB SATA 5400RPM 8MB" +"ST32000542AS" 194 C "Seagate Barracuda LP 2000GB SATA2 5900RPM 32MB" +"ST2000DL003-9VT166" 194 C "Seagate Barracuda LP 2000GB SATA3 5900RPM 64MB" +"ST4000VN000-1H4168" 194 C "Seagate NAS HDD 4TB SATA3 64MB" +"Hitachi HTS545050B9A300" 194 C "Hitachi Travelstar 500GB SATA2 2.5 5400RPM 8MB" +"ST9500325AS" 194 C "Seagate Momentus 5400.6 500GB SATA2 5400RPM 8MB" +"WDC WD30EFRX-68AX9N0" 194 C "Western Digital Red 3TB SATA3 64MB" +"Toshiba DT01ACA300" 194 C "Toshiba DT01ACA300 3TB SATA3 7200RPM 64MB" +"TOSHIBA DT01ACA300" 194 C "Toshiba DT01ACA300 3TB SATA3 7200RPM 64MB" +"TOSHIBA HDWD130" 194 C "Toshiba P300 3TB SATA3 7200RPM 64MB" +"Samsung SSD 850 EVO" 190 C "Samsung SSD 850 EVO Series" +"Samsung SSD 840 Series" 190 C "Samsung SSD 840 Series" +"Samsung SSD 840 PRO Serise" 190 C "Samsung SSD 840 Pro Series" +"Samsung SSD 840 EVO" 190 C "Samsung SSD 840 EVO Series" +"SAMSUNG HD203WI" 194 C "Samsung SpinPoint F3 EcoGreen 2TB SATA2 5400RPM 32MB" +"SAMSUNG SSD 830 Series" 190 C "Samsung SSD 830 Series" +"SanDisk SDSSDH2128G" 194 C "Sandisk SSD Ultra Plus 128GB" +"SanDisk SDSSDH2256G" 194 C "Sandisk SSD Ultra Plus 256GB" +"OCZ-VERTEX3" 194 C "OCZ Vertex 3 120GB SATA3" +"Crucial_CT240M500SSD3" 194 C "Crucial M500 240GB SATA3 256MB" +"WDC WD5003ABYX-01WERA2" 194 C "Western Digital RE4 500GB" +"WDC WD5002ABYS-02B1B0" 194 C "Western Digital RE3 500GB" +"WDC WD20EZRX" 194 C "Western Digital Green 2TB" +"ST4000DM000" 194 C "Seagate Desktop 4TB" +"STM3160815AS" 194 C "Maxtor DiamondMax 21 - 160GB - 8MB Cache SATA" +"6G160E0" 194 C "Maxtor DiamondMax 17 - 160GB - 8MB Cache SATA" +"WDC WD7500BFCX-68N6GN0" 194 C "Western Digital Red 750GB SATA" +"Hitachi HTS547575A9E384" 190 C "Hitachi Travelstar 5K750 750GB SATA2 5400RPM 8MB" +"WDC WD30PURX-64P6ZY0" 194 C "Western Digital Purple 3TB 64MB Cache" +"WDC WD10EZEX-00BN5A0" 194 C "Western Digital Blue 1TB SATA3 7200RPM 64MB" +"WDC WD1003FZEX-00MK2A0" 194 C "Western Digital Black 1TB SATA3 7200RPM 64MB" +"SAMSUNG MZHPV128HDGM-00000" 194 C "Samsung SSD 128 GB PCIe Gen3 8Gb/s x4 M.2" +"CT960BX200SSD1" 194 C "Crucial BX200 960GB SSD" +"CT480BX200SSD1" 194 C "Crucial BX200 480GB SSD" +"CT240BX200SSD1" 194 C "Crucial BX200 240GB SSD" +"Crucial_CT256M550SSD1" 194 C "Crucial M550 256GB SSD" diff --git a/app-admin/hddtemp/files/hddtemp-0.3_beta15-byteswap.patch b/app-admin/hddtemp/files/hddtemp-0.3_beta15-byteswap.patch new file mode 100644 index 000000000000..7b0dddc2ae47 --- /dev/null +++ b/app-admin/hddtemp/files/hddtemp-0.3_beta15-byteswap.patch @@ -0,0 +1,28 @@ +diff -Nuar --exclude '*~' hddtemp-0.3-beta15.orig/src/sata.c hddtemp-0.3-beta15/src/sata.c +--- hddtemp-0.3-beta15.orig/src/sata.c 2006-05-14 02:09:55.579437498 -0700 ++++ hddtemp-0.3-beta15/src/sata.c 2006-05-14 02:06:08.495948437 -0700 +@@ -88,7 +88,9 @@ + return strdup(_("unknown")); + else + { ++ //fprintf(stderr,"sata_model1=%s\n",identify + 54); + sata_fixstring(identify + 54, 24); ++ //fprintf(stderr,"sata_model2=%s\n",identify + 54); + return strdup(identify + 54); + } + } +diff -Nuar --exclude '*~' hddtemp-0.3-beta15.orig/src/satacmds.c hddtemp-0.3-beta15/src/satacmds.c +--- hddtemp-0.3-beta15.orig/src/satacmds.c 2006-05-14 02:09:40.983470339 -0700 ++++ hddtemp-0.3-beta15/src/satacmds.c 2006-05-14 02:09:02.319557333 -0700 +@@ -98,7 +98,10 @@ + /* convert from big-endian to host byte order */ + for (p = end ; p != s;) { + unsigned short *pp = (unsigned short *) (p -= 2); +- *pp = ntohs(*pp); ++ char tmp = p[0]; ++ p[0] = p[1]; ++ p[1] = tmp; ++ //*pp = ntohs(*pp); + } + + /* strip leading blanks */ diff --git a/app-admin/hddtemp/files/hddtemp-0.3_beta15-dontwake.patch b/app-admin/hddtemp/files/hddtemp-0.3_beta15-dontwake.patch new file mode 100644 index 000000000000..969da7a70e40 --- /dev/null +++ b/app-admin/hddtemp/files/hddtemp-0.3_beta15-dontwake.patch @@ -0,0 +1,20 @@ +--- hddtemp-0.3-beta15/src/sata.c 2012-07-01 16:35:01.681708074 +0200 ++++ hddtemp-0.3-beta15/src/sata.c 2012-07-01 16:33:58.172109699 +0200 +@@ -125,6 +125,17 @@ + dsk->fd = -1; + return GETTEMP_NOSENSOR; + } ++ ++ switch(ata_get_powermode(dsk->fd)) { ++ case PWM_STANDBY: ++ case PWM_SLEEPING: ++ if (!wakeup) ++ return GETTEMP_DRIVE_SLEEP; ++ case PWM_UNKNOWN: ++ case PWM_ACTIVE: /* active or idle */ ++ default: ++ break; ++ } + + /* get SMART values */ + if(sata_enable_smart(dsk->fd) != 0) { diff --git a/app-admin/hddtemp/files/hddtemp-0.3_beta15-execinfo.patch b/app-admin/hddtemp/files/hddtemp-0.3_beta15-execinfo.patch new file mode 100644 index 000000000000..1e7239535d4d --- /dev/null +++ b/app-admin/hddtemp/files/hddtemp-0.3_beta15-execinfo.patch @@ -0,0 +1,21 @@ +--- hddtemp-0.3-beta15/configure.in~ 2005-10-17 19:14:19 +0000 ++++ hddtemp-0.3-beta15/configure.in 2006-12-11 18:23:22 +0000 +@@ -18,6 +18,7 @@ + AC_HEADER_STDC + AC_CHECK_HEADERS(fcntl.h) + AC_CHECK_HEADERS(netinet/in.h) ++AC_CHECK_HEADERS(execinfo.h) + AC_CHECK_TYPE(in_addr_t, ,[AC_DEFINE_UNQUOTED([in_addr_t], [uint32_t], [Define to 'uint32_t' if <netinet/in.h> does not define.])], [#include <netinet/in.h>]) + + # Checks for typedefs, structures, and compiler characteristics. +--- hddtemp-0.3-beta15/src/backtrace.c-orig 2006-12-11 18:20:41 +0000 ++++ hddtemp-0.3-beta15/src/backtrace.c 2006-12-11 18:23:28 +0000 +@@ -18,7 +18,7 @@ + + #include <features.h> + +-#if defined(__i386__) && defined(__GLIBC__) ++#ifdef HAS_EXECINFO_H + + #include <execinfo.h> + diff --git a/app-admin/hddtemp/files/hddtemp-0.3_beta15-iconv.patch b/app-admin/hddtemp/files/hddtemp-0.3_beta15-iconv.patch new file mode 100644 index 000000000000..621e7549aa0b --- /dev/null +++ b/app-admin/hddtemp/files/hddtemp-0.3_beta15-iconv.patch @@ -0,0 +1,28 @@ +--- hddtemp-0.3-beta15/src/utf8.c~ 2007-03-27 09:09:59.000000000 +0200 ++++ hddtemp-0.3-beta15/src/utf8.c 2007-03-27 09:10:06.000000000 +0200 +@@ -23,7 +23,9 @@ + + // Standard includes + #include <stdlib.h> ++#ifdef HAVE_ICONV + #include <iconv.h> ++#endif + #include <langinfo.h> + #include <locale.h> + #include <string.h> +@@ -34,6 +36,7 @@ + + static char *iconv_from_utf8_to_locale(const char *string, const char* fallback_string) + { ++#ifdef HAVE_ICONV + const size_t buffer_inc = 80; // Increment buffer size in 80 bytes step + const char *charset; + iconv_t cd; +@@ -93,6 +96,7 @@ + if (dest_buffer != NULL) + free(dest_buffer); // free buffer + free(src_buffer); // free string ++#endif // HAVE_ICONV + return strdup(fallback_string); // and return fallback string + } + diff --git a/app-admin/hddtemp/files/hddtemp-0.3_beta15-nls.patch b/app-admin/hddtemp/files/hddtemp-0.3_beta15-nls.patch new file mode 100644 index 000000000000..86567aeb8c39 --- /dev/null +++ b/app-admin/hddtemp/files/hddtemp-0.3_beta15-nls.patch @@ -0,0 +1,14 @@ +--- hddtemp-0.3-beta15/src/hddtemp.c~ 2006-04-19 02:37:35 +0000 ++++ hddtemp-0.3-beta15/src/hddtemp.c 2007-03-26 08:14:17 +0000 +@@ -275,9 +275,11 @@ + backtrace_sigill(); + backtrace_sigbus(); + ++#if ENABLE_NLS + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); ++#endif + + show_db = debug = numeric = quiet = wakeup = af_hint = syslog_interval = 0; + unit = DEFAULT; diff --git a/app-admin/hddtemp/files/hddtemp-0.3_beta15-satacmds.patch b/app-admin/hddtemp/files/hddtemp-0.3_beta15-satacmds.patch new file mode 100644 index 000000000000..d67e0681f33f --- /dev/null +++ b/app-admin/hddtemp/files/hddtemp-0.3_beta15-satacmds.patch @@ -0,0 +1,26 @@ +diff -Naurp hddtemp-0.3-beta15-orig/src/satacmds.c hddtemp-0.3-beta15/src/satacmds.c +--- hddtemp-0.3-beta15-orig/src/satacmds.c 2007-02-10 14:25:15.000000000 +0100 ++++ hddtemp-0.3-beta15/src/satacmds.c 2007-02-10 14:26:53.000000000 +0100 +@@ -54,7 +54,6 @@ int sata_pass_thru(int device, unsigned + unsigned char cdb[16]; + unsigned char sense[32]; + int dxfer_direction; +- int ret; + + memset(cdb, 0, sizeof(cdb)); + cdb[0] = ATA_16; +@@ -78,13 +77,7 @@ int sata_pass_thru(int device, unsigned + cdb[6] = cmd[1]; + cdb[14] = cmd[0]; + +- ret = scsi_SG_IO(device, cdb, sizeof(cdb), buffer, cmd[3] * 512, sense, sizeof(sense), dxfer_direction); +- +- /* Verify SATA magics */ +- if (sense[0] != 0x72 || sense[7] != 0x0e || sense[9] != 0x0e || sense[10] != 0x00) +- return 1; +- else +- return ret; ++ return scsi_SG_IO(device, cdb, sizeof(cdb), buffer, cmd[3] * 512, sense, sizeof(sense), dxfer_direction); + } + + void sata_fixstring(unsigned char *s, int bytecount) diff --git a/app-admin/hddtemp/files/hddtemp-conf.d b/app-admin/hddtemp/files/hddtemp-conf.d new file mode 100644 index 000000000000..f2f34d93b6e1 --- /dev/null +++ b/app-admin/hddtemp/files/hddtemp-conf.d @@ -0,0 +1,12 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# the hddtemp executable +HDDTEMP_EXEC=/usr/sbin/hddtemp + +# various options to pass to the daemon +HDDTEMP_OPTS="--listen=127.0.0.1" + +# a list of drives to check +HDDTEMP_DRIVES="/dev/sda /dev/sdb" + diff --git a/app-admin/hddtemp/files/hddtemp-init b/app-admin/hddtemp/files/hddtemp-init new file mode 100644 index 000000000000..39a640997cfe --- /dev/null +++ b/app-admin/hddtemp/files/hddtemp-init @@ -0,0 +1,22 @@ +#!/sbin/openrc-run +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need localmount +} + +start() { + ebegin "Starting hddtemp daemon" + /sbin/start-stop-daemon --start --quiet --exec ${HDDTEMP_EXEC} \ + -- -d ${HDDTEMP_OPTS} ${HDDTEMP_DRIVES} + eend $? +} + +stop() { + ebegin "Stopping hddtemp daemon" + start-stop-daemon --stop --quiet --exec ${HDDTEMP_EXEC} + eend $? +} + + diff --git a/app-admin/hddtemp/files/hddtemp.service b/app-admin/hddtemp/files/hddtemp.service new file mode 100644 index 000000000000..b2fca4214bca --- /dev/null +++ b/app-admin/hddtemp/files/hddtemp.service @@ -0,0 +1,11 @@ +[Unit] +Description=Hard drive temperature monitor daemon +Documentation=man:hddtemp(8) + +[Service] +Environment=HDDTEMP_OPTIONS=--listen=127.0.0.1 +EnvironmentFile=-/etc/conf.d/hddtemp +ExecStart=/usr/sbin/hddtemp -d $HDDTEMP_OPTIONS $HDDTEMP_DRIVES + +[Install] +WantedBy=multi-user.target diff --git a/app-admin/hddtemp/files/hddtemp.service-r1 b/app-admin/hddtemp/files/hddtemp.service-r1 new file mode 100644 index 000000000000..8105bfc50cce --- /dev/null +++ b/app-admin/hddtemp/files/hddtemp.service-r1 @@ -0,0 +1,10 @@ +[Unit] +Description=Hard drive temperature monitor daemon +Documentation=man:hddtemp(8) + +[Service] +Type=forking +ExecStart=/usr/sbin/hddtemp -d --listen=127.0.0.1 $HDDTEMP_DRIVES + +[Install] +WantedBy=multi-user.target diff --git a/app-admin/hddtemp/files/hddtemp.service.conf b/app-admin/hddtemp/files/hddtemp.service.conf new file mode 100644 index 000000000000..a2a6c7fbd7f4 --- /dev/null +++ b/app-admin/hddtemp/files/hddtemp.service.conf @@ -0,0 +1,3 @@ +# Set a list of drives to check +[Service] +Environment="HDDTEMP_DRIVES=/dev/sda /dev/sdb"
\ No newline at end of file diff --git a/app-admin/hddtemp/files/update-hddtemp.db b/app-admin/hddtemp/files/update-hddtemp.db new file mode 100644 index 000000000000..bc29b3ec0caa --- /dev/null +++ b/app-admin/hddtemp/files/update-hddtemp.db @@ -0,0 +1,33 @@ +#!/bin/bash + +update_db() { + local src=$1 + local dst=$2 + + while read line ; do + if [[ -z $(echo "${line}" | sed -re 's/(^#.*|^\w*$)//') ]]; then + echo "${line}" >> "${dst}" + fi + + id=$(echo "${line}" | grep -o '"[^"]*"') + + grep "${id}" "${dst}" 2>&1 >/dev/null || echo "${line}" >> "${dst}" + done < "${src}" +} + +die() { + echo "$*" + exit 1 +} + +cd /usr/share/hddtemp +wget http://download.savannah.nongnu.org/releases/hddtemp/hddtemp.db -O hddtemp.db -q || die "Failed to download new hddtemp.db file" + +# Try to get the Gentoo HDD DB from WebCVS. If that fails, just use the Gentoo HDD database +# that was installed by the ebuild. +if wget https://gitweb.gentoo.org/repo/gentoo.git/plain/app-admin/hddtemp/files/hddgentoo.db -O hddtmp.db -q; then + mv -f hddtmp.db hddgentoo.db +fi + +update_db "hddgentoo.db" "hddtemp.db" + |