https://bugzilla.novell.com/show_bug.cgi?id=342808#c497442 Summary: Current kernel config presents 2 batteries to the system when only 1 exist Product: openSUSE 11.0 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: mboman@novell.com QAContact: qa@suse.de Found By: --- I'm using kernel 2.6.24-rc2-git4-2-default on a ThinkPad T43P. The current kernel config, presents 2 batteries to the system even though I only have one. (See also Bug#497442 in GNOME Bugzilla). This is the ouput from lshal; The kernel is reporting two battery devices, one from /proc/acpi/battery/X (old interface) and one from /sys/class/power_supply (new interface): udi = '/org/freedesktop/Hal/devices/computer_power_supply_0' battery.charge_level.current = 65260 (0xfeec) (int) battery.charge_level.last_full = 65260 (0xfeec) (int) battery.charge_level.percentage = 100 (0x64) (int) battery.charge_level.rate = 0 (0x0) (int) battery.current = 0 (0x0) (int) battery.present = true (bool) battery.rechargeable.is_charging = false (bool) battery.rechargeable.is_discharging = false (bool) battery.reporting.current = 65260 (0xfeec) (int) battery.reporting.design = 77760 (0x12fc0) (int) battery.reporting.last_full = 65260 (0xfeec) (int) battery.reporting.technology = 'Li-ion' (string) battery.reporting.unit = 'mWh' (string) battery.technology = 'lithium-ion' (string) battery.type = 'primary' (string) battery.vendor = 'SANYO' (string) battery.voltage.current = 12445 (0x309d) (int) info.capabilities = {'battery'} (string list) info.category = 'battery' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) info.product = 'Li-ion' (string) info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_0' (string) linux.hotplug_type = 2 (0x2) (int) linux.subsystem = 'power_supply' (string) linux.sysfs_path = '/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0C09:00/PNP0C0A:00/power_supply/BAT0' (string) udi = '/org/freedesktop/Hal/devices/acpi_BAT0' battery.alarm.design = 3263 (0xcbf) (int) battery.alarm.unit = 'mWh' (string) battery.charge_level.capacity_state = 'ok' (string) battery.charge_level.current = 65260 (0xfeec) (int) battery.charge_level.design = 77760 (0x12fc0) (int) battery.charge_level.granularity_1 = 1 (0x1) (int) battery.charge_level.granularity_2 = 1 (0x1) (int) battery.charge_level.last_full = 65260 (0xfeec) (int) battery.charge_level.low = 200 (0xc8) (int) battery.charge_level.percentage = 100 (0x64) (int) battery.charge_level.rate = 0 (0x0) (int) battery.charge_level.unit = 'mWh' (string) battery.charge_level.warning = 3263 (0xcbf) (int) battery.is_rechargeable = true (bool) battery.model = 'IBM-92P1077' (string) battery.present = true (bool) battery.rechargeable.is_charging = false (bool) battery.rechargeable.is_discharging = false (bool) battery.reporting.current = 65260 (0xfeec) (int) battery.reporting.design = 77760 (0x12fc0) (int) battery.reporting.granularity_1 = 1 (0x1) (int) battery.reporting.granularity_2 = 1 (0x1) (int) battery.reporting.last_full = 65260 (0xfeec) (int) battery.reporting.low = 200 (0xc8) (int) battery.reporting.rate = 0 (0x0) (int) battery.reporting.technology = 'LION' (string) battery.reporting.unit = 'mWh' (string) battery.reporting.warning = 3263 (0xcbf) (int) battery.serial = '113' (string) battery.technology = 'lithium-ion' (string) battery.type = 'primary' (string) battery.vendor = 'SANYO' (string) battery.voltage.current = 12445 (0x309d) (int) battery.voltage.design = 10800 (0x2a30) (int) battery.voltage.unit = 'mV' (string) info.capabilities = {'battery'} (string list) info.category = 'battery' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) info.product = 'Battery Bay' (string) info.udi = '/org/freedesktop/Hal/devices/acpi_BAT0' (string) linux.acpi_path = '/proc/acpi/battery/BAT0' (string) linux.acpi_type = 0 (0x0) (int) linux.hotplug_type = 4 (0x4) (int) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.