The following module was proposed for inclusion in the Module List:
modid: Acpi::Class
DSLIP: Rdphp
description: ACPI info from /sys/class
userid: MIMOSINET (Joan Pujol)
chapterid: 16 (Server_and_Daemon_Utilities)
communities:
Inspired in Acpi::Battery, this module gets the contents of the
directory '/sys/class' in terms of 'classes' (ArrayRef of
directories in /sys/class), 'devices' (ArrayRef of subdirectory in
class) and 'attributes' (HashRef attributes => values, from the
contents of devices directory)
similar:
Acpi::Battery
rationale:
There is already Acpi::Battery, Acpi::Fan, Acpi::Temperature and
Acpi::Field. These modules use the deprecatated /proc/acpi directory
to get information. This module uses /sys/class, and different
devices can be selected form their classes (power_supply,
thermal,...).
enteredby: MIMOSINET (Joan Pujol)
enteredon: Mon Jan 28 14:09:49 2013 GMT
The resulting entry would be:
Acpi::
::Class Rdphp ACPI info from /sys/class MIMOSINET
Thanks for registering,
--
The PAUSE
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=34a00000_23d8e86172ee6f7d&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=34a00000_23d8e86172ee6f7d&SUBMIT_pause99_add_mod_insertit=1
Peek at the current permissions:
https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=Acpi%3A%3AClass