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

Emanuel Strobl Emanuel.strobl at gmx.net
Mon Sep 26 09:20:15 PDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050926/456e47f7/attachment.bin


More information about the freebsd-current mailing list