After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 436570 - endless loop on startup
endless loop on startup
Status: RESOLVED FIXED
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-manager
2.19.x
Other Linux
: Normal critical
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
: 440847 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-05-07 12:07 UTC by Benoît Dejean
Modified: 2007-05-24 06:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
--verbose output (54.12 KB, text/plain)
2007-05-07 12:11 UTC, Benoît Dejean
  Details
patch that should fix the issue (420 bytes, patch)
2007-05-07 12:44 UTC, Richard Hughes
none Details | Review
lshal (77.67 KB, text/plain)
2007-05-07 13:18 UTC, Benoît Dejean
  Details

Description Benoît Dejean 2007-05-07 12:07:36 UTC
2.18.2 fails to start on my powerpc.
I'am attaching the output of --verbose.
2.16 was just fine (OK, it did not handled suspend/resume, but everything else was  working).
Comment 1 Benoît Dejean 2007-05-07 12:11:04 UTC
Created attachment 87701 [details]
--verbose output
Comment 2 Richard Hughes 2007-05-07 12:43:08 UTC
Ahh, the method failed, and we got junk data. Thanks for this report. I'll cook up a fix now.
Comment 3 Richard Hughes 2007-05-07 12:44:30 UTC
Created attachment 87706 [details] [review]
patch that should fix the issue

I'll apply this to 2-18 - please can you try it and if that works I'll release 2.18.3 with this and a few other fixes sometime today or tomorrow. Thanks.
Comment 4 Richard Hughes 2007-05-07 12:46:49 UTC
Apply to 2-18:

2007-05-07  Richard Hughes  <richard@hughsie.com>

	* src/gpm-brightness-lcd.c: (gpm_brightness_lcd_get_hw):
	Initialise the brightness to zero when get brightness fails, to fix an
	infinite loop on startup on PPC. Fixes #436570.
Comment 5 Benoît Dejean 2007-05-07 12:51:15 UTC
I'll test it tonight :)
Comment 6 Richard Hughes 2007-05-07 13:05:35 UTC
Brilliant, thanks. The real issue is that HAL refused you the GetBrightness method, and hence we had no value set. Did you expect the brightness control to work? If so, can you also attach the output of lshal. Thanks.
Comment 7 Benoît Dejean 2007-05-07 13:18:21 UTC
Created attachment 87709 [details]
lshal

yes. the brightness control works fine with pbbuttonsd and pommed.
Comment 8 Richard Hughes 2007-05-07 13:32:31 UTC
Are you using debian by chance? Have a look at /etc/dbus-1/system.d/hal.conf and add yourself either to the group (powerdev if memory serves me correctly) or just add your username there.
Comment 9 Benoît Dejean 2007-05-07 14:12:26 UTC
yes debian. i'am now member of powerdev and it works ! (and many other applets). Thank you very much. Do you still need me to test the patch ?
Comment 10 Benoît Dejean 2007-05-07 14:15:31 UTC
OMG ! you did it ! i can now get rid of pbbuttonsd ! gnome-power-manager is awesome !
Comment 11 Richard Hughes 2007-05-07 14:17:28 UTC
Thanks! Cheers for the quick response. I'll push 2.18.3 sometime in the next few days so people not in powerdev get a semi-working service :-)
Comment 12 Richard Hughes 2007-05-24 06:40:49 UTC
2.18.3 released with fix.
Comment 13 Richard Hughes 2007-05-24 06:40:54 UTC
*** Bug 440847 has been marked as a duplicate of this bug. ***