/dev/pmu does not exist.

Bug #47419 reported by Niels Kristian Bech Jensen
8
Affects Status Importance Assigned to Milestone
pbbuttonsd (Ubuntu)
Fix Released
Wishlist
Martin Pitt

Bug Description

Binary package hint: pbbuttonsd

Dapper gives the error message "/dev/pmu does not exist" when trying to start pbbuttonsd. It seems that it does not check if the system has a PMU chip or not.

I've attached a patch that tests for the CUDA chip and exits gracefully if it is found. Maybe the test should be reversed to search for a PMU chip, but I have no such system to test the patch on.

Revision history for this message
Niels Kristian Bech Jensen (nkbjensen) wrote : Patch for /etc/init.d/pbbuttonsd

Test for CUDA chip and exit if found to avoid the "/dev/pmu does not exist" error.

Revision history for this message
Niels Kristian Bech Jensen (nkbjensen) wrote : Patch for /etc/init.d/pbbuttonsd #2

Looking at the kernel, sources I think it is safer to test for /proc/pmu.

Revision history for this message
Niels Kristian Bech Jensen (nkbjensen) wrote :

The bug still exists in Edgy.

Revision history for this message
Martin Pitt (pitti) wrote :

Thank you, I'll apply this in edgy.

Changed in pbbuttonsd:
assignee: nobody → pitti
status: Unconfirmed → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

 pbbuttonsd (0.7.5-2ubuntu4) edgy; urgency=low
 .
   * debian/pbbuttonsd.init: Immediately exit if /proc/pmu does not exist, i.
     e. if the system does not have a PMU chip. This avoids error messages on
     systems with CUDA. Closes: LP#47419

Changed in pbbuttonsd:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.