Re: [LAU] RTC/HPET timer permissions

From: Brent Busby <brent@email-addr-hidden>
Date: Mon Nov 26 2012 - 17:24:29 EET

On Mon, 26 Nov 2012, Clemens Ladisch wrote:

> Jeremy Jongepier wrote:
>> On 11/25/2012 01:23 PM, Clemens Ladisch wrote:
>>> Using the RTC or HPET devices directly is necessary only if
>>> the kernel does not use them for timers. Nowadays, kernels do, and
>>> applications use the proper timer APIs.
>>
>> What are those timer API's?
>
> POSIX timers, interval timers, nanosleep(), usleep(), poll() timeout.
>
>>> You'd need this only if you're using some audio application that hasn't
>>> been updated for many years.
>>
>> So this section has become deprecated?
>> http://wiki.linuxmusicians.com/doku.php?id=system_configuration#hardware_timers
>
> Only if all applications actually have been updated.
> Wasn't there some sequencer (Rosegarden? Muse?) that still uses RTC?

Can you imagine any reason why an app using /dev/rtc or /dev/hpet would
need write access, or would it be sufficient to do something like 0640
root:realtime ?

-- 
+ Brent A. Busby	 + "We've all heard that a million monkeys
+ Sr. UNIX Systems Admin +  banging on a million typewriters will
+ University of Chicago	 +  eventually reproduce the entire works of
+ James Franck Institute +  Shakespeare.  Now, thanks to the Internet,
+ Materials Research Ctr +  we know this is not true." -Robert Wilensky
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Mon Nov 26 20:15:01 2012

This archive was generated by hypermail 2.1.8 : Mon Nov 26 2012 - 20:15:01 EET