linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev and acer batteries
@ 2010-08-11 17:08 Stéphane Guedon
  2010-08-11 19:47 ` Kay Sievers
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Stéphane Guedon @ 2010-08-11 17:08 UTC (permalink / raw)
  To: linux-hotplug

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

Hello

I am writing to you concerning acer batteries.
My laptop batteries aren't detected until I plug in/out the ac_adaptator.
If I am at home, working on it, no problem. But if I am out of buildings, 
where I can't have power, my power status won't be detected by my desktop 
environnement.

In fact, sysfs detect it at boot and display it's state. But kde seems to look 
at udev event :
-when I switch off udev service, and plug in or out my adaptator, kde detect 
nothing !
- if I start again udev (just after stopping it and plug in/out adaptator), 
kde detect it !

When I look at events in boot, I can see that my battery is detect by udev :

Aug 11 18:45:24 luciole hald[5494]: 18:45:24.981 [I] coldplug.c:221: found 
(udevdb export) 
'/sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ACAD' -> 
'/dev/(null)'
Aug 11 18:45:25 luciole hald[5494]: 18:45:25.445 [I] coldplug.c:94: creating 
HotplugEvent for 
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ACAD
Aug 11 18:45:25 luciole hald[5494]: 18:45:25.445 [I] coldplug.c:285: new event 
(dev node from udev) 
'/sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ACAD' ''
Aug 11 18:45:25 luciole hald[5494]: 18:45:25.445 [I] coldplug.c:319: new event 
(no dev node) 
'/sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ACAD'
Aug 11 18:45:25 luciole hald[5494]: 18:45:25.445 [D] hotplug.c:476: checking 
ADD event /sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ACAD
Aug 11 18:45:25 luciole hald[5494]: 18:45:25.445 [D] hotplug.c:397: event 
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ACAD: skip 
ourselves and all later events
Aug 11 18:45:25 luciole hald[5494]: 18:45:25.445 [I] hotplug.c:145: 
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ACAD is a device 
(subsystem)
Aug 11 18:45:25 luciole hald[5494]: 18:45:25.445 [I] device.c:5002: add_dev: 
subsys=power_supply 
sysfs_path=/sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/ACAD 
dev= parent_dev=0x00000000

In same time, I have found rules for toshiba laptop for example, but not for 
acer laptop.

As far as I understand, my battery is detected when power status change while 
udev is running.
So I would like to know if a rule for acer is being writed, if you need 
informations I can give you...

Tank you for you help.
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 --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-08-14 20:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).