You are not logged in.

#1 2006-03-30 14:33:09

EAD
Member
Registered: 2006-03-11
Posts: 255

Mplayer problem

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

#2 2006-03-30 15:33:12

kipper
Member
Registered: 2003-08-03
Posts: 49

Re: Mplayer problem

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

#3 2006-03-30 17:00:38

EAD
Member
Registered: 2006-03-11
Posts: 255

Re: Mplayer problem

amm , I have tried but it came back again, what is this problem anyway?

Offline

#4 2006-03-30 19:21:43

kipper
Member
Registered: 2003-08-03
Posts: 49

Re: Mplayer problem

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

#5 2006-03-30 19:43:11

EAD
Member
Registered: 2006-03-11
Posts: 255

Re: Mplayer problem

Ok tanx I have fixed it, Strength thing any way

Offline

#6 2006-03-31 12:34:40

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Mplayer problem

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

Board footer

Powered by FluxBB