Hinweis: Der Eintrag "HP DV X300, Linux, LEDs und mediasmartserverd" ist vor mehr als einem Jahr geschrieben oder zuletzt editiert worden und unter Umständen veraltet oder nicht mehr korrekt.
Auf mediasmartserver.net hat Chris die Sourcen zu medismartserverd
gepostet, auf http://bitbucket.org/adaptation/mediasmartserverd zu bekommen.
1 |
I got annoyed with the blinking health LED after I installed Ubuntu on my ex485. So I created a small Linux daemon that stops that, takes control of the LEDs, decreases the brightness, and monitors for disk changes using udev. |
Ich habe ja bis vorhin noch nicht einmal gesehen, welche LEDs HP im X312 verbaut hat – WHS hat die Kiste (zumindest bei mir hier) nie booten sehen…
Und so schaut’s momentan aus, Hardware-Info zuerst:
root@monster /usr/src/mediasmartserverd # lspci
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02) 00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02) 00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02) 00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02) 00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) 00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02) 00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA AHCI Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) |
root@monster /usr/src/mediasmartserverd # sensors-detect
1 2 3 4 5 6 |
Driver `coretemp': * Chip `Intel Atom thermal sensor' (confidence: 9) Driver `dme1737': * ISA bus, address 0xa00 Chip `SMSC SCH5127 Super IO' (confidence: 9) |
root@monster /usr/src/mediasmartserverd # ./mediasmartserverd --debug -v -v
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
LedHpEx48X: Device 0x86 Found: HP MediaSmart Server 48X ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0' (scsi) scsi_host: '/sys/devices/pci0000:00/0000:00:1f.2/host0' (scsi) scsi_host_parent: '/sys/devices/pci0000:00/0000:00:1f.2' (pci) sysnum: 0 ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0' (scsi) scsi_host: '/sys/devices/pci0000:00/0000:00:1f.2/host1' (scsi) scsi_host_parent: '/sys/devices/pci0000:00/0000:00:1f.2' (pci) sysnum: 1 ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0' (scsi) scsi_host: '/sys/devices/pci0000:00/0000:00:1f.2/host2' (scsi) scsi_host_parent: '/sys/devices/pci0000:00/0000:00:1f.2' (pci) sysnum: 2 ADDED: '/sys/devices/pci0000:00/0000:00:1f.2/host3/target3:0:0/3:0:0:0' (scsi) scsi_host: '/sys/devices/pci0000:00/0000:00:1f.2/host3' (scsi) scsi_host_parent: '/sys/devices/pci0000:00/0000:00:1f.2' (pci) sysnum: 3 |
Der X300/X312 hat die LEDs quer, 1 bis 4 von links nach rechts:
./mediasmartserverd --xmas
#1 weiß, #2 irgendwie pink, #3 weiß, #4 irgendwie pink – leuchtend, ohne Bewegung.
./mediasmartserverd --brightness 9 --light-show 1
Bunte Lightshow wie beim CSD.
./mediasmartserverd --brightness 9 --light-show 2
LEDs 4 -> 3 -> 2 -> 1 (Rechts nach links, blau)
./mediasmartserverd --brightness 9 --light-show 3
LEDs 1 -> 2 -> 3 -> 4 (Links nach rechts, blau)
./mediasmartserverd --brightness 9 --light-show 6
LEDs 4 -> 3 -> 2 -> 1 (Rechts nach links, rot)
./mediasmartserverd --brightness 9 --light-show 7
LEDs 1 -> 2 -> 3 -> 4 (Links nach rechts, rot)
./mediasmartserverd --brightness 9 --light-show 8
Knight Rider in rot
./mediasmartserverd --brightness 9 --light-show 9
Alle an, rot
./mediasmartserverd --brightness 9 --light-show 10
LEDs 4 -> 3 -> 2 -> 1 (Rechts nach links, weiß)
./mediasmartserverd --brightness 9 --light-show 11
LEDs 1 -> 2 -> 3 -> 4 (Links nach rechts, weiß)
./mediasmartserverd --brightness 9 --light-show 12
Knight Rider in weiß
./mediasmartserverd --brightness 9 --light-show 12
Wie --xmas
./mediasmartserverd --brightness 9 --light-show 16
Knight Rider in blau
Das im Topic zum Test der LED-Numerierung und Farbansteuerung vorgeschlagene Vorgehen zeigt, dass wohl alles wie beim Mediasmart EX verdrahtet ist:
./mediasmartserverd --brightness 9 --light-show 2
1 |
blue LEDs descending (top to bottom) |
./mediasmartserverd --brightness 9 --light-show 6
1 |
red LEDs descending (top to bottom) |
Was noch klemmt:
--brightness X
ändert nix – alle LEDs sind immer voll an. Auch Platten-Aktivität zeigt sich keine, hängt ja wahrscheinlich zusammen. Die Doku is ja auch bissl spärlich ;P
Die 3 linken LEDs, Power, LAN und Health sind immer blau: Power und LAN schon beim Einschalten, ohne OS, Health hat bis zum ersten Start von mediasmartserverd
nur geblinkt, wie auch bei Chris anfangs – das war ja erst der Ausschlag für’s Programmieren.
Und wie geht’s jetzt weiter?
falkadelik
Hi,
bin stolzer Besitzer eines X312.
Meiner läuft allerdings mit W2K8 R2 – auch erstaunlich schnell 🙂 – und natürlich spinnen auch bei meinem die LED’s an der Front.
Gibt es hier schon Jemanden, der unter Win dafür eine Lösung gefunden hat?
Stefan
Die Kiste rennt allgemein sehr fein…
Zu den LEDs solltes du dich mal in einem Windows Home Server – Forum umsehen.
Die für Die LEDs unter Windows/WHS zuständige
wnas.sys
ist hier:http://www.mediasmartserver.net/forums/viewtopic.php?p=72080&sid=ce72226720402ae3b0b188c1e0aff702#p72080
Mehr kann ich aber zu Windows nicht helfen…
Michael
Hallo ,
ich bekomme den mediasmartserverd bei mir einfach nicht ans laufen. Benutze openmediavault. Läuft unter Debian. habe die Sourcen die im git liegen übersetzt aber er erkennt die Discs nicht.
Könntest du mir deine zusenden?? mit dem deiner läuft.
Gruß
Michael