[LAU] RTC/HPET timer permissions

Jeremy Jongepier jeremy at autostatic.com
Sun Nov 25 20:17:30 UTC 2012


On 11/25/2012 01:23 PM, Clemens Ladisch wrote:
> Brent Busby wrote:
>> Is it still necessary or recommended these days for proper operation
>> of audio apps to have a user-accessible /dev/rtc?
>
> Not really.  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?

> 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
If so I'll remove it.

And how does the snd-hrtimer module relate to this matter?

Regards,

Jeremy

>> Is there a security risk?
>
> The risk was that handling interrupts at a frequency of 8 kHz would not
> leave enough CPU time for applications.  I doubt that you have any CPU
> where this is actually the case.
>
>
> Regards,
> Clemens
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-user
>



More information about the Linux-audio-user mailing list