syfs attributes for signaling
Quoted 9 lines · Hans de Goede
I just got some info from Siemens (Thanks Thilo) on howto detect the presence of up to 2 power supplies with the fscscy and fscpos IC's and the status (OK or fail) of these. So we need to come up with a sysfs interface for this.
I suggest:
powersupplyX_presentpowersupplyX_faultHow does that sound?
Don't we have a sysfs powersupply class? It should probably be used instead.
Signature · 9 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 5 lines · Henrique de Moraes Holschuh
Quoted 4 lines · Hans de Goede
I just got some info from Siemens (Thanks Thilo) on howto detect the presence of up to 2 power supplies with the fscscy and fscpos IC's and the status (OK or fail) of these. So we need to come up with a sysfs interface for this.
Quoted 9 lines
Quoted 5 lines
I suggest:
powersupplyX_presentpowersupplyX_faultHow does that sound?
Don't we have a sysfs powersupply class? It should probably be used instead.
That would be a good idea if the darn thing was documented:
[hans@localhost linux-2.6.23-rc9.git4]$ grep -r powersupply Documentation Documentation/arm/SA1100/LART:through a number of connectors. The powersupply accepts voltages
[hans@localhost linux-2.6.23-rc9.git4]$
And:
[hans@localhost linux-2.6.23-rc9.git4]$ find -name '*powersupply*.c' [hans@localhost linux-2.6.23-rc9.git4]$
And:
[hans@localhost linux-2.6.23-rc9.git4]$ grep -r powersupply . ./Documentation/arm/SA1100/LART:through a number of connectors. The powersupply accepts voltages./drivers/sbus/char/bbc_envctrl.c: * power for cpu/system and 'on' fo the
powersupply fan
[hans@localhost linux-2.6.23-rc9.git4]$
So either it isn't named powersupply or it is very well hiden.
GRR, found it, actually it is named power_supply. Yes that will work well, thanks!
Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors