Anyone know of a dvb-tools package for slackware 10.2 current?
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.
At first, I could not compile the dvb-tools from www.linuxtv.org at all, I would get these error messages and I could not find any slackware packages. These are the errors I got;
In file included from input_keynames.h:4,
/usr/include/linux/input.h:801: error: syntax error before "kernel_ulong_t"
/usr/include/linux/input.h:805: error: syntax error before "evbit"
/usr/include/linux/input.h:805: error: `BITS_PER_LONG' undeclared here (not in a function)
/usr/include/linux/input.h:806: error: syntax error before "keybit"
/usr/include/linux/input.h:807: error: syntax error before "relbit"
/usr/include/linux/input.h:808: error: syntax error before "absbit"
/usr/include/linux/input.h:809: error: syntax error before "mscbit"
/usr/include/linux/input.h:810: error: syntax error before "ledbit"
/usr/include/linux/input.h:811: error: syntax error before "sndbit"
/usr/include/linux/input.h:812: error: syntax error before "ffbit"
/usr/include/linux/input.h:813: error: syntax error before "swbit"
/usr/include/linux/input.h:815: error: syntax error before "driver_info"
/usr/include/linux/input.h:805: error: storage size of `evbit' isn't known
/usr/include/linux/input.h:806: error: storage size of `keybit' isn't known
/usr/include/linux/input.h:807: error: storage size of `relbit' isn't known
/usr/include/linux/input.h:808: error: storage size of `absbit' isn't known
/usr/include/linux/input.h:809: error: storage size of `mscbit' isn't known
/usr/include/linux/input.h:810: error: storage size of `ledbit' isn't known
/usr/include/linux/input.h:811: error: storage size of `sndbit' isn't known
/usr/include/linux/input.h:812: error: storage size of `ffbit' isn't known
/usr/include/linux/input.h:813: error: storage size of `swbit' isn't known
make: *** [av7110_loadkeys] Error 1
make: Leaving directory `/mnt/downloads/dvb/dvb-apps-566199372388/util/av7110_loadkeys'
make: *** [all] Error 2
make: Leaving directory `/mnt/downloads/dvb/dvb-apps-566199372388/util'
make: *** [all] Error 2
The only way I could compile this code is by commenting out one of the lines in the makefile so that "av7110_loadkeys" was never compiled. I did this by modifying the makefile in the source (in the "util" directory);
I am not 100% sure, but I am guessing the av7110_loadkeys is something to do with the remote control (you get a small remote control with the freecom DVB USB stick), however I don't really need it . (Just want it to work!).
Note the "#" there to comment out the first line. This produces something that will compile and install, but I'm still not getting anywhere. The next problem is that /dev/dvb isn't being created at all. I have tried modprobing manually and udev simply will not create the entries, no matter what I try.
Output of "ls /dev/dv*"
Also, I see that my /etc/udev/rules.d/udev.rules mentions dvb;
Though I don't know if that is even correct or not it seems to make no difference if it's there or not.
This is the output of dmesg;
usb 1-4: new high speed USB device using ehci_hcd and address 19
usb 1-4: configuration #1 chosen from 1 choice
dvb-usb: found a 'WideView WT-220U PenType Receiver (Typhoon/Freecom)' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-wt220u-02.fw'
usb 1-4: USB disconnect, address 19
dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
usb 1-4: new high speed USB device using ehci_hcd and address 20
usb 1-4: configuration #1 chosen from 1 choice
dvb-usb: found a 'WideView WT-220U PenType Receiver (Typhoon/Freecom)' in warm state.
dvb-usb: will use the device's hardware PID filter (table count: 15).
DVB: registering new adapter (WideView WT-220U PenType Receiver (Typhoon/Freecom)).
DVB: registering frontend 0 (WideView USB DVB-T)...
input: IR-receiver inside an USB DVB receiver as /class/input/input9
dvb-usb: schedule remote query interval to 300 msecs.
dvb-usb: WideView WT-220U PenType Receiver (Typhoon/Freecom) successfully initialized and connected.
dvb-usb: recv bulk message failed: -110
No entries appear at all in /dev . The strange thing is that I have had this device working in Mandrake 2005 LE after compiling a new kernel. However the slackware 10.2 current uses a newer kernel than Mandrake 2005LE ever did, so surely slackware should work? . I'm trying to move from Mandrake 2005LE to Slackware 10.2 Current - I have everything else working (including a Canon Lide 60 scanner - !) but this DVB-T device just dosen't want to work!
The device itself lights up (there is an orange LED that lights up), slackware sees the device almost straight away, I don't need to enter any modprobe commands, the light comes on straight away. However I can't tune it at all, scan -c produces this;
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
main:2247: FATAL: failed to open '/dev/dvb/adapter0/frontend0': 2 No such file or directory
I have tried to make the entries in /dev manually, but this does not work either; scan -c will time out and not find any channels. It's very strange: the device seems to be recognised, but yet the device dosen't seem to be generating any data and sending it back to the computer.
I don't know what that last line about the error -110 is .
It seems that slackware isn't "starting" udev 100% - I tried running a program called "udevd" from the command line, and something in /dev/dvb was created. Here's what I have now;
Well, I'm now glad to say that after a lot of work, I've finally got this device to work under slackware 10.2 current. I don't claim I'm doing everything right, and hopefully I've noted down everything correctly here but this is what I did. Hopefully if anyone else is having problems this will give some sort of help . I've been working on this all morning!
Ok, this is what I did, right from starting installing slackware to using the device.
1) Install slackware current (10.2) . This can be found on the many slackware mirrors . I chose to download the two slackware current ISOs.
2) Update kernel using slackware current extras/testing. I used the 18.104.22.168 kernel.
3) Get "dvb-apps-a5de459c8fcb" from linuxtv.org . (The name may have changed by now).
4) Get "v4l-dvb-a3a095225de1" from linuxtv.org . (The name may have changed by now).
5) Get "dvb-usb-wt220u-01.fw" and "dvb-usb-wt220u-02.fw" from linuxtv.org . These are the firmware files.
6) Compile (3) with make & make install, but if errors occur on the compile comment out the line that mentions av7110_loadkeys in one of the makefiles. It's found in /util in the source for (3), adjust it to look like this:
11) If you haven't already, install xine and its libraries. They are found on the 1st slackware current cd iso (or on slackware's servers).
12) A program called "udevd" needs to be started, so type "udevd &" (I think as root) at a command line prompt. The freecom USB device will need to be removed and then plugged back in for udev itself to take notice of it. The light on the freecom USB should be light up, and be yellow.
13) Look in /dev for the following entries, if all is well so far these should be in /dev:
14) It's now time to scan for the channels. Go back to the dvb-utils (3) and cd into the directory "util", then the directory "scan", then finally "dvb-t".
15) You'll need to choose one of the files in /util/scan/dvb-t. These channels list the transmitters. I am in the UK, and in the south so I chose the file called "uk-Rowridge". Type the following to do this (you'll need to use a file that is relevent for your area);
scan uk-Rowridge > /root/channels.conf
Replace "root/channels.conf" to somewhere on your system.
16) If all went well, (and there were no segfaults!) you should now have a working "channels.conf".
17) Go to your home directory, find your .xine directory and copy "channels.conf" into it with;
cp channels.conf .xine
18) Now try from a command line - running xine. Type
xine "dvb://BBC ONE"
It should now hopefully(!) all work. One last thing -- if you find your playback is very jerky it might be because your X server is using the VESA driver. If it is, run "xorgconf" as root to change it.
Some final notes (not sure about these)
- modprobe uhci-hcd might prove that you really *do* have a USB 2 port on your system. The freecom DVB stick *needs* USB 2. If you get an error either something went wrong, or you don't have USB 2 (and none of this will work properly).
- Just doing "scan -c" by itself will not work.
- If you leave the freecom device plugged in, and its light is not on at all, it will get hot quite quickly. Best to unplug it.