[MPlayer-users] A little OT: /dev/rtc
Jukka Tastula
jukka.tastula at kotinet.com
Sun Mar 24 23:43:02 CET 2002
On Sunday 24 March 2002 23:00, Marc wrote:
> I noticed MPlayer is not able to r/w to /dev/rtc. Initially it said
> "permission denied" when I started MPlayer as a user. Then I changed the
> permission to
>
> 668 crw-rw-rw- 1 root root 10, 135 Mar 22 15:57 /dev/rtc
>
> but MPlayer still cannot make use of it. Someone told me to set MPlayer
> suid root but that is not the solutions I guess. What can I do now? The
> MPlayer "error message" is:
>
> Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Linux kernel, drivers/char/rtc.c
/*
* We don't really want Joe User enabling more
* than 64Hz of interrupts on a multi-user machine.
*/
if ((rtc_freq > 64) && (!capable(CAP_SYS_RESOURCE)))
return -EACCES;
More information about the MPlayer-users
mailing list