Bug#281952: additional /proc/device-tree patch for this issue. ...
Juergen Kreileder
Juergen Kreileder <jk@blackdown.de>, 281952@bugs.debian.org
Sat, 22 Jan 2005 20:37:59 +0100
> As you see, the crux of this patch is to check for the existence of
> a via-pmu device in the firmware provided device-tree.
This isn't really good enough. My machine (G5) has a PMU, it's in the
device-tree and /proc/pmu exists too. But it does not have
/dev/pmu[1]. You only get /dev/pmu the kernel was built with
CONFIG_PMAC_PBOOK (last time I checked ppc64 didn't compile with that
option).
Even if you patch the kernel to get /dev/pmu on all machines with a
via-pmu (I've written a patch for this some time ago), it wouldn't
help because not all machines have an fblevel control.
Anyhow, I won't complain as long as errors are just logged to
.xsession-errors instead of being reported via annoying dialogs.
Juergen
Footnotes:
[1] Or a non-functional /dev/pmu without udev.
--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/