Gnome-Power-Notification not recieving acpi events :(
I realized it last night my battery led on the notebook began to blink and i checked the power remaining from the gnome-power-notification package which i will refer to as g-p-n from now on.. and it said 100% i’m like wtf is going on.. did a few checks and restarted still nnothing it always starts with the corret notification tho meaning if it is plugged in it starts showing that it is plugged in or starts saying its charging and if its plugged out its starts showing its running on batteries and the actual life of the battery but it doesnt recieve any updates after that to make changes to the g-p-m status in the panel..
i dont think i did a hal upgrade recently and i remember having a problem where my system dbus and or hald, where they started after my g-p-n i fixed that by putting the dbus shell exec command in my session startups and it worked perfetly..
So referring to my previous problem i proceeded to remove the dbus shell exec comand or rather disable it…. It solved nothing… So I still need to figure it out..
here’s my terminal output from lshal -m with the power unplugged.
—————————————
acpi_BAT0 property battery.remaining_time = 7171 (0×1c03)
acpi_BAT0 property battery.charge_level.rate = 23776200 (0×16acbc8)
acpi_BAT0 property battery.charge_level.current = 47363700 (0×2d2b674)
acpi_BAT0 property battery.voltage.current = 12032 (0×2f00)
acpi_BAT0 property battery.reporting.rate = 2142 (0×85e)
acpi_BAT0 property battery.reporting.current = 4267 (0×10ab)
then i put the power in and bam
acpi_BAT0 property battery.voltage.current = 11937 (0×2ea1)
acpi_BAT0 property battery.reporting.rate = 0 (0×0)
acpi_BAT0 property battery.reporting.current = 4249 (0×1099)
acpi_AC property ac_adapter.present = true
ps
you know anything leave me a comment. thanks.























September 25th, 2006 at 5:03 pm
did a bit more research.. anddd this is what i found..
i noticed that when my system is booting up i see this message
setting sensor limits —- failed
did a bit of googling on that and found that it had to do with the lm-sensor packages which i did set up in my paranoia of my system over heating and having a nuclear meltdown in my room :(.. anyway lm-sensors is installed but needs the i2c kernel module and a few files created form i2c in the /dev directory
tried creating them using sudo ./MAKEDEV i2c
after this is hould be able to run sensors-detect succesfully but it still gives me an error
no i2c device files found use prog/mkdev/mkdev.sh to create them
i have no clue what they mean by prog (program maybe becuase there is defiantly no prog dir in the root mount dir) any way i’m stuck there cuase i need to run sensors-detect to come any closer to my solution
September 25th, 2006 at 5:06 pm
lm sensor really solves nothing.. i finally got a step closer to configuring it. i made my own makedev.sh file and made it an executable ran it then did sensor-detect of which only 2 things got picked up i added em to my modules folder /etc/modules and then initiated them “modprobe” but then tried sources “no sources” is all i got.. i then realize that it really isn’t gonna help my g-p-m situation anyway “lm-sensor” that is.. so i removed lm-sensor and that got rid of my little problem where at bootscreen i saw setting sensor limit failed. i’m now gonna remove gkrellm and i8krelm to see if that changes anything. those were the last chagnes i can remember making before this problem started
September 25th, 2006 at 7:27 pm
okay.. first off i’m not crazy and i’m not talking to my self in with this blog entry…..
but why wont hal give g-p-m the acpi status changes / notifications i dont get it at all. fromw hat i’m getting to understand g-p-m cannot really do anything on its own. and the module is succesfully started which is why i see the battery icon on the panel and i can restart / hibernate / sleep from it. however h.a.l just isn’t passing the notifications so g-p-m can display the change. i’m thinking that i might use conky to display my batter meter or some other power meeter application for the time being untill i figure this out.. also i pray that edgy eft comes out and shoot all these problems to hell.
September 26th, 2006 at 2:07 am
Yatta’s advice to this problem was to leave it alone and comeback to it. becuase all day at work i was trouble shooting as i coded on my work terminal i was troubleshooting in my gnome terminal (pun intended)
anyway i got home i ate i sat with the laptop while eating hammering away at the keys in the terminal trying to figure out why hal is being a stuck up bitch.. and i came to a common ground with ubuntu and powermanagement
conky…
i got familiar with a few new terminal commands where powermanagement or stats are concerned mainly acpi stuff. so i just edited my conkyrc file and placed the my acpi command to show my battery status in an execi tag and bam i was in session i now can know whats going on with my battery sadly it doens’t give me any really cool notifications but hmm it works. and while typing this my mind was kinda doing its lower throttle processing and I thought of something.. i’m a programmer.. and i’m kinda understanding the achitecture of linux systems i could easily write a bash executable that does what i want as a system alert when my battery status is at a level that is specify in the sh file.. and that is exactly what i will do. for now g-p-m will just keep getting the finger from the hardware abstraction layer it seems.. sigh…
September 26th, 2006 at 8:02 pm
errr not afraid to say i have no idea what all this is but hope you get it fixed/corrected/worked out soon