[MPlayer-users] Access to RTC

Tony Houghton tony at realh.co.uk
Thu May 9 01:02:01 CEST 2002


In <Pine.LNX.4.44.0205082348290.14845-100000 at suti.teteny.elte.hu>, Horváth István wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > When mplayer starts it gives this error:
> >
> > Linux RTC init error in ioctl (rtc_pie_on): Permission denied
> > Using usleep() timing
> >
> > I do have permission to access /dev/rtc and I get the same error running
> > as root anyway. Does it matter, and if so is there a cure?
> 
> it is beacause probably you are not root, so mplayer tries to use 1024 hz
> rtc, but if you see in the /usr/src/linux/drivers/char/rtc.c, there is you
> will see something like this:

Oh, it does work as root after all. I'm sure it didn't when I tried it
before.

Anyway, is using rtc better than usleep or is there no problem eg if
your processor is reasonably fast?

-- 
TH * http://www.realh.co.uk




More information about the MPlayer-users mailing list