[LAU] /dev/rtc permissions on Debian

rosea.grammostola rosea.grammostola at gmail.com
Fri Mar 9 11:19:35 UTC 2012


On 01/08/2012 07:50 PM, R. Mattes wrote:
> On Sun, 08 Jan 2012 19:14:39 +0100, rosea.grammostola wrote
>> On 01/08/2012 12:40 AM, James Stone wrote:
>>> On 1/7/12, rosea.grammostola<rosea.grammostola at gmail.com>   wrote:
>>>> Hi,
>>>>
>>>> cannot set tick on /dev/rtc permission denied
>
> What a unhelpful error message! can't they at least include information
> on the value that was supposed to be used?
>
>>
>> same here, but the audio group has also the rights for /dev/rtc
>
> We need the permissions of the actual device file (/dev/rtc0) , _not_
> the link since the link permission only describes who is allowed to
> follow the link.
>
>> But still I get the message when launching Oostudio (openoctave /
>> oom).
>
> You might have your settings for the maximum value set too low. What does
> the following show:
>
>   $ cat /sys/class/rtc/rtc0/max_user_freq
>
> On older kernels that should be:
>
>   $ cat /proc/sys/dev/rtc/max-user-freq
>
> Also relevant:
>
>   $ cat /proc/sys/dev/hpet/max-user-freq
>
> You can set these values like this:
>
>   $ sudo echo 2048>  /sys/class/rtc/rtc0/max_user_freq
>   $ sudo echo 2048>  /proc/sys/dev/hpet/max-user-freq

This seems to be gone after reboot
>
> or set them in /etc/sysctl.conf

is this permanent? How do I do that exactly?

\r
>
> HTH Ralf Mattes
>
>



More information about the Linux-audio-user mailing list