user changable brightness? [Was: Re: acpi_sony - no powerd, no man page!]

From: Emanuel Strobl <Emanuel.strobl_at_gmx.net>
Date: Mon, 26 Sep 2005 18:19:57 +0200
Am Dienstag, 13. September 2005 08:41 CEST schrieb Vladimir Grebenschikov:
> В вс, 11/09/2005 в 12:20 +0200, Christian Brueffer пишет:
> > On Sun, Sep 11, 2005 at 12:42:17AM +0200, Emanuel Strobl wrote:
> > > Hello,
> > >
> > > I just installed BETA4 on my notebook and was curious about the
> > > acpi_sony driver, but all I can see is that powerd soesn't work
> > > anymoder (if I call powerd -a min dev.cpu.0.freq is still 800 wher
> > > it was 62 without acpi_sony compiled in) and that I can set LCD
> > > brightness :) *bright_smile* But what does ctr, pcr, wdp and cdp
> > > mean?
> > > A short man page was wonderful!
> > > And is it known/intended that cpufreq doesn't work with acpi_sony?
>
> I have powerd worked for me without any problems (up to 211 Mhz)
> with acpi_sony

It turned out that cpufreq used acpi_perf instead of ichss, so it was not 
acpi_sony related! Solution was to add hint.acpi_perf.0.disabled="1" 
to /boot/loader.conf

But now I have the problem that a regular user can't change the brightness:

akima:~>6: sysctl -w dev.acpi_sony.0.brightness=5
dev.acpi_sony.0.brightness: 7
sysctl: dev.acpi_sony.0.brightness: Operation not permitted

Is there a tunable to allow regular users to write to dev. sysctls or even 
better, a sysctl MIB security mask to assign "rights" to a specific MIB?

Thanks,

-Harry

Received on Mon Sep 26 2005 - 14:20:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:44 UTC