You are not logged in.
Pages: 1
Hii, when playing music with mplayer I get this thing
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
How can I fix it?
adding echo 1024 > /proc/sys/dev/rtc/max-user-freq each time is not wat I want, How can I fix it please?
Offline
You can add that line to /etc/rc.local
Next time you reboot it will already be applied and you wont get that message again.
Offline
amm , I have tried but it came back again, what is this problem anyway?
Offline
The newer timing code in Mplayer uses RTC (RealTime Clock) since it has precise 1ms timers. Unfortunately it requires either a sugid mplayer ( a bad thing) or the kernel setup a certain way.
My /etc/rc.local file contains:
#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
ntpdate ca.pool.ntp.org
echo 1024 > /proc/sys/dev/rtc/max-user-freq
This last line adjusts the RTC via the proc filesystem, allowing normal uses to use it.
Since adding that line to my rc.local file, I have not been prompted with the init error messge.
Which kernel are you running?
Try executing the "echo 1024 ? /proc/sys/dev/rtc/max-user-freq" command in a console as root. Then run mplayer as a regular user and see what happens.
Offline
Ok tanx I have fixed it, Strength thing any way
Offline
I always get that error too. I ignore it, mplayer seems to work fine anyway.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
Pages: 1