From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Pitt Date: Thu, 12 Aug 2010 18:25:03 +0000 Subject: Re: udev and acer batteries Message-Id: <20100812182503.GC2525@piware.de> MIME-Version: 1 Content-Type: multipart/mixed; boundary="gKMricLos+KVdGMg" List-Id: References: <201008111908.37155.stephane@22decembre.eu> In-Reply-To: <201008111908.37155.stephane@22decembre.eu> To: linux-hotplug@vger.kernel.org --gKMricLos+KVdGMg Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Bonjour St=E9phane, St=E9phane Guedon [2010-08-12 19:57 +0200]: > with ac power on, but battery not yet recognize : >=20 > 19:44:52 stephane@luciole:~ $ upower --dump > Device: /org/freedesktop/UPower/devices/line_power_ACAD > [...] OK, so this has the same problem as hal, not very surprising, though. This could be a BIOS bug, or your battery wasn't properly detected during coldplug. Does this command change anything? sudo udevadm trigger --verbose --subsystem-match=3Dpower_supply It should print two device paths, one for the AC and one for the battery. If the second one is missing, then the trigger didn't help, and it could be a kernel or BIOS bug. Thanks, Martin --=20 Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) --gKMricLos+KVdGMg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJMZDx8AAoJEPmIJawmtHufKqIP/1/BVPXjK0gBPK8IA5uG9rAL wJY/Et0jj2Xop9xsLY9DiW1/w6+7LcZq7D1BuJfMefY1+w2FXoRoE14TdWL3A5u7 zOuaFhEb9u/NW0nxd2zPzTPi/1ssHQE8xbyYRr8p/UJU41ktpIUzERvYUtCm5iu5 RtEl9yLJdvaJ0z7OlQBGDO5D+0RfZWPcFV+Xvjlplm8Fmnbs0uinNe2akYnGWqzb OaTNi3WJ0HvQ6+Bt9dWVlSqN5h3ziHs2fNerjMaceDf6Q8P22HgiCRCJZ50qJADE 92NIcqFICdgjaok7LWdbYejKBlcae6/WYOD3fa0KIU8rGGaAtLa2erK5PitZswaN Tq3ETgPzYsWIiPr5Jdtm/NbcCuKMN/VwSvg+tVf1FisiuzkKk1JSqVQxxtk60vr5 9vq2WhxvSG1IB8P7S9S+VIoGzl33C8iT29/d8ku5GRy3EHwH86dkdJCxbPjSk7Xo wGm5nkU58Nrf+DSV12hP17qHweNZIRtOaHwvPgQlFDlyBevqH8Cv2yvDbA7XpyqN Z90LgT8lQ/MN3ZKF6r7dGTYSgVcX2UH3FqYwkcr3xIViaoJk85hrt6XbYPR9N331 +VNfK8LqUPLrfB4kU3iAc9rB+kKWa7qkiBSezm47j1R8g04RmW6UpR0+O3pQSaFG CNebURExaumvijXgIP/0 =tZxO -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--