From: =?utf-8?q?St=C3=A9phane_Guedon?= Date: Thu, 12 Aug 2010 19:59:22 +0000 Subject: Re: udev and acer batteries Message-Id: <201008122159.34293.stephane@22decembre.eu> MIME-Version: 1 Content-Type: multipart/mixed; boundary="nextPart38847490.Ms6W4dxrqf" List-Id: References: <201008111908.37155.stephane@22decembre.eu> In-Reply-To: <201008111908.37155.stephane@22decembre.eu> To: linux-hotplug@vger.kernel.org --nextPart38847490.Ms6W4dxrqf Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Le Thursday 12 August 2010 20:25:03, Martin Pitt a =C3=A9crit : > Bonjour St=C3=A9phane, >=20 > St=C3=A9phane 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 > > [...] >=20 > OK, so this has the same problem as hal, not very surprising, though. >=20 > This could be a BIOS bug, or your battery wasn't properly detected > during coldplug. Does this command change anything? >=20 > sudo udevadm trigger --verbose --subsystem-match=3Dpower_supply >=20 > 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. >=20 > Thanks, >=20 > Martin I have nothing in my bios concerning batteries ! just after boot : 21:51:13 root@luciole:~ # udevadm trigger --verbose --subsystem- match=3Dpower_supply /sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ACAD plugging out and in ac adaptator : 21:51:16 root@luciole:~ # udevadm trigger --verbose --subsystem- match=3Dpower_supply /sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ACAD /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT1 So, on your advice, do I have to make a bug report ? I use currently gentoo tuxonice kernel, but it seems to be a standard kerne= l=20 with only hibernation patch. On an other thing, I find strange that I can't find your gpg signature in t= he=20 ubuntu keyserver, whereas you're a ubuntu "addicted" dev ... Best regards =2D-=20 St=C3=A9phane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf cl=C3=A9 publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.= asc --nextPart38847490.Ms6W4dxrqf Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAkxkUqUACgkQuOgaSVDV+yD38QCeM11bMmaPHYxK6BrbgdQLnT9X yUAAn0CYfdPgMhBrJQup1up+pLWJpM4B =98KB -----END PGP SIGNATURE----- --nextPart38847490.Ms6W4dxrqf--