GNOME Bugzilla – Bug 436570
endless loop on startup
Last modified: 2007-05-24 06:40:54 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).
Created attachment 87701 [details] --verbose output
Ahh, the method failed, and we got junk data. Thanks for this report. I'll cook up a fix now.
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.
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.
I'll test it tonight :)
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.
Created attachment 87709 [details] lshal yes. the brightness control works fine with pbbuttonsd and pommed.
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.
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 ?
OMG ! you did it ! i can now get rid of pbbuttonsd ! gnome-power-manager is awesome !
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 :-)
2.18.3 released with fix.
*** Bug 440847 has been marked as a duplicate of this bug. ***