Re: [LAU] Attrk - rtc?

From: Jeremy Jongepier <jeremy@email-addr-hidden>
Date: Tue Aug 03 2010 - 10:28:11 EEST

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

Best,

Jeremy
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Aug 3 12:15:01 2010

This archive was generated by hypermail 2.1.8 : Tue Aug 03 2010 - 12:15:01 EEST