SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
If you compiled from source (it's the only way I've installed it) and you have the kernel source installed, check the output of when you run the configure command: has it located the dvb header files in your kernel source directory eg. frontend.h, if not you can put a symbolic link in /usr/include/linux
If you are starting this app as an user you have to set the correct permissions of the /dev/dvb/adapterX/* devices. You may also need to edit some conf files concerning udev (if you are using udev at all).
I'm running the latest kaffeine with dvb in slack-10.2
I'm using the stock 2.6.13 kernel in slack-10.2 with a dvico fusion dvb-t card and as krassyo says above I had to set up udev. I had this working in 10.1 with a patched 184.108.40.206 kernel but needed to set up udev as well.
I'll past in my notes:
11. CONFIGURING FOR DVB CARD
I've run lspci and lsmod as root to check and see that my dvb card is recognised and that the correct modules hae been loaded. Everything looks OK but I need to make some changes in /etc/udev if I want the correct devices set up in /dev/dvb/adaptor0. I don't understand all of the whys about what I'm going to do but it is necessary and it worked in my current workstation. Udev is fairly new and maybe it will get simpler with time.
This script has to be copied into /etc/udev/scripts:
/bin/echo $1 | /bin/sed -e 's,dvb\([0-9]\)\.\([^0-9]*\)\([0-9]\),dvb/adapter\1/\2\3,'
#end of script
Previously I would also have to add this to /etc/udev/rules.d/udev.rules:
to /etc/udev/permissions.d/udev.permissions and I think I'll leave everything as it is now with the exception of copying in the missing dvb.sh and I'll see if I get the correct devices created at the next boot.
On reboot I now have a /dev/dvb/adapter0. There are four devices in adapter0 which is what I should have and the permissions are as per the dvb line in udev rules:
rick@rick:~$ ls -l /dev/dvb/adapter0/
crw-rw---- 1 root video 212, 4 2005-09-17 20:33 demux0
crw-rw---- 1 root video 212, 5 2005-09-17 20:33 dvr0
crw-rw---- 1 root video 212, 3 2005-09-17 20:33 frontend0
crw-rw---- 1 root video 212, 7 2005-09-17 20:33 net0
so its quite clear that I'll have to make rick a member of the group video if I'm going to access my dvb related devices. I'll be lazy and do it in kuser but since I need to make the chnges as root I'll do the following:
[Alt F2] will open up a little window in KDE which will allow me to type in the command [[kdesu kuser]. After I hit Enter I will be prompted for the root password and after entering that kuser will open up allowing me to make changes as root.
12. SETTING UP KAFFEINE FOR DIGITAL TV
Now that I know everything is in order for accessing/using my dvb card I'll setup Kaffeine for viewing digital TV programs. Kaffeine is also a good dvd viewer and has plugins for viwing other video type files as well.
The most recent is kaffeine-0.7.1 and I'll download the source and compile with ./configure, make and checkinstall which will create a slackpack. In slack-10.1 I could not get checkinstall to work right even though I followed Pat's instructions but checkinstall works fine this time around.
Kaffeine will also require libdvdcss for encrypted dvds.
Maybe I interpreted the first post wrong but I thought they said Xine was working fine which I took to mean they could use dvb using another xine user interface but not using kaffeine which would indicate the device settings/permissions and all that are fine, of course that's if I've interpreted what they said right.
AFAIK Kaffeine will be looking for demux0, dvr0, frontend0 and net0 in /dev/dvb/adapterX/. If they are not there it will not display the DVB menu/options. Xine may pick up dvb and v4l devices elsewhere in the /dev tree.
Maybe what I contributed was redundant but then again it might give apinta10 a better understanding of what he needs to do.
BTW, once you get kaffeine up with dvb available, kaffeine has allot of channel listings for major cities and will run its own channels scan and create its own channel config. You can do it all from the scan option in the dvb pulldown menu.
It will not be a bad idea to also try VDR (Video Disk Recorder). I find it even better for digital tv and radio broadcasts reception. To use it with Flexcop II chip you need to also install the softdevice plugin (because there is no hardware mpeg2 decoder build in this type of pci/usb card).
Have you checked to see if the four devices were/are created in /dev/dvb/adapter0 ?
Is the user running kaffeine a member of the group video? Can that user cd into /dev/dvb/adapter0 or alternatively navigate in with a file manager?
If they are (and this may sound lame but...) try uninstalling and then reinstalling kaffeine. Make sure that the app and conf files for kaffeine in ~/.kde have been renamed (if you want to keep them for reference) or deleted. Then reinstall. Note that there is also a /opt/kde/share/apps/kaffeine/ with a file named kaffeinui.rc but that all should go when you uninstall kaffeine
I had trouble setting up on another box this weekend and after I had udev working properly, kaffeine wouldn't show DVB menu until a reinstall. It seems that when it first starts up it probes to see whats installed.
When you first run it a little window will pop up with a sort of viewable checklist saying whether or not you have things like DVB card, libdvdcss installed, etc. This is probably when kaffeine is setting up it's first configuration files and probably when it decides to give you a dvb menu if it finds a workable dvb card installed and setup properly.
Hopefully if you have permissions, groups, and udev working right the next time you start a clean install of kaffeine it works as it should.
It is the viewer of preference in our house and the only one I use for DVB-T.