linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Stéphane Guedon" <stephane@22decembre.eu>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev and acer batteries
Date: Thu, 12 Aug 2010 19:59:22 +0000	[thread overview]
Message-ID: <201008122159.34293.stephane@22decembre.eu> (raw)
In-Reply-To: <201008111908.37155.stephane@22decembre.eu>

[-- Attachment #1: Type: Text/Plain, Size: 1832 bytes --]

Le Thursday 12 August 2010 20:25:03, Martin Pitt a écrit :
> Bonjour Stéphane,
> 
> Stéphane Guedon [2010-08-12 19:57 +0200]:
> > with ac power on, but battery not yet recognize :
> > 
> > 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=power_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

I have nothing in my bios concerning batteries !

just after boot :

21:51:13 root@luciole:~ # udevadm trigger --verbose --subsystem-
match=power_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=power_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 kernel 
with only hibernation patch.

On an other thing, I find strange that I can't find your gpg signature in the 
ubuntu keyserver, whereas you're a ubuntu "addicted" dev ...

Best regards
-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2010-08-12 19:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-11 17:08 udev and acer batteries Stéphane Guedon
2010-08-11 19:47 ` Kay Sievers
2010-08-12  5:25 ` Martin Pitt
2010-08-12 17:57 ` Stéphane Guedon
2010-08-12 18:25 ` Martin Pitt
2010-08-12 19:59 ` Stéphane Guedon [this message]
2010-08-12 21:23 ` Curtis Gedak
2010-08-13  4:50 ` Martin Pitt
2010-08-13 20:40 ` Jordan_Hargrave
2010-08-14 17:58 ` Stéphane Guedon
2010-08-14 18:01 ` Stéphane Guedon
2010-08-14 20:01 ` Curtis Gedak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201008122159.34293.stephane@22decembre.eu \
    --to=stephane@22decembre.eu \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).