udev and acer batteries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux