Bug#281952: additional /proc/device-tree patch for this issue. ...
Juergen Kreileder
Juergen Kreileder <jk@blackdown.de>, 281952@bugs.debian.org
Sun, 23 Jan 2005 13:13:01 +0100
Sven Luther <sven.luther@wanadoo.fr> writes:
> On Sun, Jan 23, 2005 at 12:37:50PM +0100, Juergen Kreileder wrote:
>> It's a via-pmu:
>
> Ok, so where is the problem ? The /dev/pmu stuff would be accessible
> in acme/control-center/whatever-it-is, nd everyone will be happy ?
> Unless you are telling me that you don't have blacklight control for
> this one ?
It doesn't have a backlight control.
> Ah. So, you are not using a debian kernel, and there is no reason to
> support you at all :)
Hehe :-)
(Using the kernel provided by Debian would mean wasting 2GB of memory
on my machine.)
> Well, we need to test this from userland, not kernelland.
It shouldn't be too hard to find "backlight" in device-tree.
>> ,----
>> | bk_node = find_devices("backlight");
>
> Ok, so there is maybe a blacklight device somewhere in /proc/devices
> ?
Yes. (At least I think so, I only have one machine and that doesn't
have any backlight control.)
> But these don't have a /dev/pmu ? Or do they have it ?
via-pmu.c uses register_backlight_controller from pmac_backlight.c, so
this should cover machines with via-pmu.
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/