[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#656668: 3.2 has different /sys/class/power



package: linux-image-3.2.0-1-amd64
version: 3.2.1-1
severity: major

linux 3.2 changed what is available in /sys/class/power_supply. wmbattery worked fine with 3.1, but the new 3.2 upgrade broke it.

This is a kernel problem, please change this back. You can add the new ADP1, but don't remove the BAT0. It's a userspace/kernel breakage, the kernel shouldn't be doing that.


From 3.2:
==
root@urk:~# tree /sys/class/power_supply/ADP1/
/sys/class/power_supply/ADP1/
├── device -> ../../../ACPI0003:00
├── online
├── power
│   ├── async
│   ├── autosuspend_delay_ms
│   ├── control
│   ├── runtime_active_kids
│   ├── runtime_active_time
│   ├── runtime_enabled
│   ├── runtime_status
│   ├── runtime_suspended_time
│   └── runtime_usage
├── subsystem -> ../../../../../../class/power_supply
├── type
└── uevent
==

From 3.1:
==
root@urk:~#  tree /sys/class/power_supply/BAT0/
/sys/class/power_supply/BAT0/
├── alarm
├── cycle_count
├── device -> ../../../PNP0C0A:00
├── energy_full
├── energy_full_design
├── energy_now
├── manufacturer
├── model_name
├── power
│   ├── async
│   ├── autosuspend_delay_ms
│   ├── control
│   ├── runtime_active_kids
│   ├── runtime_active_time
│   ├── runtime_enabled
│   ├── runtime_status
│   ├── runtime_suspended_time
│   └── runtime_usage
├── power_now
├── present
├── serial_number
├── status
├── subsystem -> ../../../../../../class/power_supply
├── technology
├── type
├── uevent
├── voltage_min_design
└── voltage_now
==



Reply to: