[LAU] Attrk - rtc?

Jeremy Jongepier jeremy at autostatic.com
Tue Aug 3 07:28:11 UTC 2010

On 08/02/2010 10:00 PM, Josh Lawrence wrote:
> hi everyone,
> in my never-ending search for midi sequencers, I ran across Attrk, a
> rewrite of the tracker ttrk:
> http://www.lumanmagnum.net/physics/attrk/index.html
> I have been able to build it just fine, but I keep running into an
> issue with rtc access.  the application wants to be run as root to get
> realtime access to the realtime clock (rtc?).  I've never run into
> this issue before with midi sequencers, so I've been doing some
> reading.  apparently this was an older way of getting accurate timing
> from a midi sequencer, but isn't used much anymore (my assumption
> might be incorrect, please correct me if I'm wrong).  so what is the
> *proper* way to handle this sort of thing on a modern system?
> thanks,
> Josh

Hello Josh,

Create an audio group, add yourself to it and create a new udev rule in
/etc/udev/rules.d and name it something like 40-rtc-permissions.rules
with a single line in it:
KERNEL=="rtc0", GROUP="audio"

After a reboot /dev/rtc0 will have guid audio so any user in the audio
group has access to /dev/rtc0



More information about the Linux-audio-user mailing list