lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 26 Apr 2009 16:36:58 +0300
From:	Maxim Levitsky <maximlevitsky@...il.com>
To:	cbou@...l.ru
Cc:	dwmw2@...radead.org, linux-kernel <linux-kernel@...r.kernel.org>
Subject: [BUG] /sys/class/power_supply/BAT0/ shouldn't disappear when
 battery is unplugged

New sysfs battery interface has a flaw.

Suppose I removed battery from the system, and then booted it.
then gnome power manager has no idea that my system has battery, and
thus it hides battery settings.

It also has a bug that prevents it from hiding battery icon, when I
unplug the battery, in other words, it isn't prepared for battery to
disappear.

I think it would be nice to keep /sys/class/power_supply/BAT0/ even if
battery isn't present.

btw, there is /sys/class/power_supply/BAT0/present, thus maybe this is
just a bug?

Best regards,
	Maxim Levitsky

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ