Hello, I updated my kernel recently, and the battery e_modules wasn't working anymore. I find that in the kernel menuconfig: (option Deprecated /proc/acpi files)
For backwards compatibility, this option allows │ │ depricated /proc/acpi/ files to exist, even when │ │ they have been replaced by functions in /sys. │ │ The deprecated files (and their replacements) include: │ │ │ │ /proc/acpi/sleep (/sys/power/state) │ │ /proc/acpi/info (/sys/modules/acpi/parameters/acpica_version) │ │ /proc/acpi/dsdt (/sys/firmware/acpi/tables/DSDT) │ │ /proc/acpi/fadt (/sys/firmware/acpi/tables/FACP) │ │ /proc/acpi/debug_layer (/sys/module/acpi/parameters/debug_layer) │ │ /proc/acpi/debug_level (/sys/module/acpi/parameters/debug_level) │ │ │ │ This option has no effect on /proc/acpi/ files │ │ and functions which do not yet exist in /sys. │ │ │ │ Say N to delete /proc/acpi/ files that have moved to /sys/ I look in /sys and found that: /sys/class/power_supply/BAT0 -> ../../devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 For now I enable the deprecated option. The file in /sys/class/power_supply/BAT0 are not the same than in the old /proc/acpi/battery. I will try to provide a patch soon, but I'm not sure I have the skill (I failed to update the code that use pam for authentification to use the thinkthinger pam module). bye, Mathieu. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
