Date: Mon, 26 Sep 2005 18:19:57 +0200 From: Emanuel Strobl <Emanuel.strobl@gmx.net> To: vova@fbsd.ru, freebsd-current@freebsd.org Subject: user changable brightness? [Was: Re: acpi_sony - no powerd, no man page!] Message-ID: <200509261820.05930@harrymail> In-Reply-To: <1126593686.1070.20.camel@localhost> References: <200509110042.31358@harrymail> <20050911102044.GA1142@unixpages.org> <1126593686.1070.20.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDOB+1Bylq0S4AzzwRAoJIAJ4g+jT9NtWvhnEZYzE6sHefC+9AJgCfaWvP pDhvohqlT6q+5e/sONlobgU= =eoMl -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509261820.05930>
