edc Posted December 4, 2005 Report Share Posted December 4, 2005 (edited) I'm not realy sure where to post this question to software or to hardware section, but i decided to post it here. When i'm logged as a user, Kaffeine doesn't see DVB adapter, but when i log as a root everything is ok. How to gain access to /dev/dvb as a user? Please help! Edited December 4, 2005 by edc Quote Link to comment Share on other sites More sharing options...
devries Posted December 4, 2005 Report Share Posted December 4, 2005 Open a console, log in as root and type: chmod 666 /dev/dvb Then try again. Quote Link to comment Share on other sites More sharing options...
edc Posted December 4, 2005 Author Report Share Posted December 4, 2005 i tried that, but after restart permissions are returned to default. That is because new /dev/dvb is created every time during boot, when device is detected, so new /dev/dvb gets new permissions. Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted December 4, 2005 Report Share Posted December 4, 2005 The quick hack answer is to put: chmod 666 /dev/dvb at the end of /etc/rc.d/rc.local. rc.local is an init script that runs at every boot with root privileges. In fact, rc.local is the last of many init scripts to run so generally, nothing else will mess with what you do there and all your device files should have been created when rc.local runs. Quote Link to comment Share on other sites More sharing options...
edc Posted December 5, 2005 Author Report Share Posted December 5, 2005 Guys, thanks on your tips! It was needed to set: chmod 777 /dev/dvb/adapter0/demux0 chmod 777 /dev/dvb/adapter0/dvr0 chmod 777 /dev/dvb/adapter0/frontend0 chmod 777 /dev/dvb/adapter0/net0 and works! :D Quote Link to comment Share on other sites More sharing options...
aRTee Posted December 7, 2005 Report Share Posted December 7, 2005 (edited) Instead of that, you could have abbreviated with this: chmod -R 777 /dev/dvb/adapter0 to recursively make all devices read-write-executable. BTW, be careful with making things not executable, if a folder is not executable you can't read the listing inside.. Anyway, welcome to the board edc! Enjoy Linux! Edited December 7, 2005 by aRTee Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.