Welcome, Guest. Please login or register.
April 24, 2014, 01:07:29 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Configuring Pardus
| | |-+  Pardus 2011.1 minor update problem
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Pardus 2011.1 minor update problem  (Read 915 times)
acjohnson
Pardus fellow craft
**
Posts: 48


View Profile
« on: July 17, 2011, 23:46:45 PM »

I have a Dell D620 laptop running Pardus 2011 64-bit and I just ran 'pisi up' to update to Pardus 2011.1.

After the reboot everything is working fine except that now my laptop does not detect the battery and I cannot go into sleep mode anymore...

I have attached a screen shot of the battery monitor plasmoid so you can see what I mean.

I have also updated my wife's laptop to Pardus 2011.1 but she is running the 32-bit version and her computer did not have the same problem.

Has anyone else experienced this problem during the update?


* powerissue.png (23.06 KB, 385x242 - viewed 96 times.)
Logged
Alexey
Pardus fellow craft
**
Gender: Male
Posts: 95



View Profile
« Reply #1 on: July 18, 2011, 00:51:37 AM »

have you installed udisks udev upower packages? >_<

If packages are installed, please show the contents of /var/log/messages on http://pastebin.com/
Logged
acjohnson
Pardus fellow craft
**
Posts: 48


View Profile
« Reply #2 on: July 18, 2011, 03:07:03 AM »

Well I tried reinstalling those packages like this:
Code:
pisi it udisks udev upower --reinstall

and then I rebooted but it didn't fix it. Here is my /var/log/messages:

http://pastebin.com/3yqYWNe7
Logged
Alexey
Pardus fellow craft
**
Gender: Male
Posts: 95



View Profile
« Reply #3 on: July 18, 2011, 09:08:22 AM »

hmm, command cat /proc/acpi/battery/BAT0/state    tell us more information.
Logged
Alexey
Pardus fellow craft
**
Gender: Male
Posts: 95



View Profile
« Reply #4 on: July 18, 2011, 09:16:22 AM »

and this command too
Code:
solid-hardware query 'IS Battery'
Logged
acjohnson
Pardus fellow craft
**
Posts: 48


View Profile
« Reply #5 on: July 18, 2011, 16:00:18 PM »

Hey, thanks for pointing me in the right direction. I was able to compare the output of the commands that you suggested with my wife's laptop and could see that upower was not detecting my battery properly.

I also found this command:
Code:
solid-hardware details '/org/freedesktop/UPower/devices/battery_BAT0'

which had this output:
Code:
udi = '/org/freedesktop/UPower/devices/battery_BAT0'
parent = '' (string)
vendor = '' (string)
product = '' (string)
description = '' (string)

Then I checked to see if there was a new version of upower in the Pardus 2011 devel repo which there was. The stable repo currently has upower v0.9.8 and the devel repo has upower v0.9.12 and was just updated by a Pardus dev for a version increase.

I can't find a bug tracker for upower so I'm not sure if there was a known issue with v0.9.8 that has been fixed but here is what I did to fix it:

Code:
pisi build https://svn.pardus.org.tr/pardus/2011/devel/hardware/powermanagement/upower/pspec.xml

and then once the package was done compiling I installed it like this:

Code:
pisi it upower-0.9.12-7-p11-x86_64.pisi

I imagine you could just download the binary package from here instead of building it yourself:
Code:
http://packages.pardus.org.tr/pardus/2011/devel/x86_64/upower-0.9.12-7-p11-x86_64.pisi

Or you could just install the devel repo into pisi and install it that way.

Anyways, it's working just fine now. I can suspend and everything.
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #6 on: July 18, 2011, 16:13:15 PM »

Or you could just install the devel repo into pisi and install it that way.
My advice: Don't do this ^^^^ Wink

The best way is:
Build yourself (as you did above) or
I imagine you could just download the binary package from here instead of building it yourself:
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!