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 132655 - [PATCH] cleanup error msgs wrt /dev/pmu on powerbooks
[PATCH] cleanup error msgs wrt /dev/pmu on powerbooks
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] settings-daemon
2.13.x
Other Linux
: High normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-01-27 12:31 UTC by Jeroen Zwartepoorte
Modified: 2006-01-11 18:38 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
acme-fblevel patch (5.36 KB, patch)
2004-01-27 12:32 UTC, Jeroen Zwartepoorte
none Details | Review
acme-fblevel patch (5.48 KB, patch)
2004-01-27 13:12 UTC, Jeroen Zwartepoorte
needs-work Details | Review
patch updated according to previous comment (4.96 KB, patch)
2006-01-11 18:38 UTC, Sebastien Bacher
committed Details | Review

Description Jeroen Zwartepoorte 2004-01-27 12:31:52 UTC
Attached patch cleans up the error reporting wrt /dev/pmu (whether it
exists, has the right permissions etc).
Comment 1 Jeroen Zwartepoorte 2004-01-27 12:32:29 UTC
Created attachment 23798 [details] [review]
acme-fblevel patch
Comment 2 Bastien Nocera 2004-01-27 12:56:45 UTC
The patch looks good to me, but I haven't tested it.
Comment 3 Jeroen Zwartepoorte 2004-01-27 13:12:22 UTC
Created attachment 23800 [details] [review]
acme-fblevel patch
Comment 4 Jeroen Zwartepoorte 2004-01-27 13:15:25 UTC
New patch doesn't display a dialog when the machine is not a
powerbook. The error is ignored.
Comment 5 Simon Porter 2004-02-05 16:55:55 UTC
Notes: Changed priority to high for increased visibility. Added
bugsquad keyword.
Comment 6 Bastien Nocera 2004-03-01 16:22:12 UTC
String freeze breakage, we'll apply that to 2.7 I'm afraid.
Comment 7 Elijah Newren 2004-03-11 00:26:37 UTC
I'm adding the BLOCKED_BY_FREEZE keyword.
Comment 8 Arnaud Patard 2004-07-07 20:56:21 UTC
Hi
It seems that a small (typo ?) error in this patch. The test on error in
acme_fblevel_new is wrong. To work : 
g_return_val_if_fail (error == NULL, NULL);
should become
g_return_val_if_fail (*error == NULL, NULL);
Comment 9 Bastien Nocera 2004-07-07 21:09:01 UTC
We shouldn't even have that test in there, it'll get removed.
Comment 10 Sebastien Bacher 2004-07-27 14:15:40 UTC
according to the pmud debian maintainer using directly /dev/pmu is dangerous
because concurrent access to /dev/pmu is not supported.
pmud/pbbuttonsd is supposed to mediate all access to /dev/pmu ... so it would be
nice to use that rather
Comment 11 Elijah Newren 2004-10-27 18:02:20 UTC
control-center has branched, so this is no longer blocked by freeze and I'm
removing the keyword.  The patch should probably be either applied, or changed
to needs-work based on Sebastien's comments.
Comment 12 Luis Villa 2005-01-02 17:28:57 UTC
Seb, should this be marked needswork instead of commit after freeze then?
Comment 13 Sebastien Bacher 2005-01-02 17:40:04 UTC
Comment on attachment 23800 [details] [review]
acme-fblevel patch

yep, probably. I've updated the status.
Comment 14 Luis Villa 2005-01-22 17:47:32 UTC
Cleaning up milestones. Would be good to get this in, but not a global gnome
showstopper.
Comment 15 Sebastien Bacher 2005-12-31 16:52:58 UTC
The Debian/Ubuntu package still use that patch. Anything should be changed to get it considered for upstream? It's marked as "needs-work", what change should be done?
Comment 16 Bastien Nocera 2006-01-04 17:00:36 UTC
After removing this particular line:
+	g_return_val_if_fail (error == NULL, NULL);
which is unneeded, the patch looks fine.
Comment 17 Sebastien Bacher 2006-01-11 18:38:17 UTC
Created attachment 57169 [details] [review]
patch updated according to previous comment

2006-01-11  Sebastien Bacher  <seb128@debian.org>

	reviewed by: Bastien Nocera <hadess@hadess.net>

	* actions/acme-fb-level.c: (acme_fblevel_error_quark),
	(acme_fblevel_new):
	* actions/acme-fb-level.h:
	* gnome-settings-multimedia-keys.c:
	(gnome_settings_multimedia_keys_load):
	cleanup messages about pmu on powerbook,
	patch by Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>
	(Closes: #132655)
Comment 18 Sebastien Bacher 2006-01-11 18:38:38 UTC
thanks for your work on that