Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error trying to stream using Streamtuner + XMMS + XMPLayer..
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Larcen
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 174

PostPosted: Sun Apr 17, 2005 2:39 pm    Post subject: Error trying to stream using Streamtuner + XMMS + XMPLayer.. Reply with quote

I get this rtc error..
Code:

 Failed to open /dev/rtc: Permission denied (it should be readable by the user.)


Anyone know why this is or how to resolve it? I'm not even sure what rtc is. I can stream fine using mplayer from the command line, and xine as well. Just not Streamtuner, XMMS, and XMPlayer.
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sun Apr 17, 2005 4:19 pm    Post subject: Reply with quote

rtc is the realtimeclock:
Code:
 ~ # ls -la /dev/rtc
lrwxrwxrwx  1 root root 8 Apr 17 17:58 /dev/rtc -> misc/rtc
 ~ # ls -la /dev/misc/rtc
crw-rw-r--  1 root root 10, 135 Apr 17 17:58 /dev/misc/rtc

And unixrights on my machine are indicating that user read is no problem.
Back to top
View user's profile Send private message
Larcen
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 174

PostPosted: Sun Apr 17, 2005 5:46 pm    Post subject: Reply with quote

Code:

(root@shell)[~]-> ls -la /dev/rtc
lr-xr-xr-x  1 root root 8 Apr  5 21:17 /dev/rtc -> misc/rtc
(root@shell)[~]-> ls -la /dev/misc/rtc
crw-r-----  1 root root 10, 135 Dec 31  1969 /dev/misc/rtc
(root@shell)[~]->


Is there a safe way to correct this?
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sun Apr 17, 2005 6:14 pm    Post subject: Reply with quote

This should be done automatically by udev/devfsd.
Manual correction (next reboot will probably overwrite the changes):
Code:

cd /dev/misc/rtc
chmod g+w rtc
chmod o+rw rtc


Check "/etc/udev/permissions.d/50-udev.permissions" it should have a section like this:
Code:
# misc devices
misc/nvram:root:root:0660
misc/rtc:root:root:0664
misc/inotify:root:root:0666
Back to top
View user's profile Send private message
Larcen
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 174

PostPosted: Sun Apr 17, 2005 6:54 pm    Post subject: Reply with quote

Hm.. I don't seem to have a /etc/udev/ directory, and applying the chmod changes to misc/rtc gives me this new error.

Code:
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sun Apr 17, 2005 7:25 pm    Post subject: Reply with quote

Make sure you compile rtc support into kernel and look for something called devfsd.d or similar in /etc.
I don't use devfsd because is marked deprecated.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum