Re: Attrk - rtc?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux