LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   DVB usb device no longer detected as a DVB , but as V4L., so no longer works (https://www.linuxquestions.org/questions/slackware-14/dvb-usb-device-no-longer-detected-as-a-dvb-but-as-v4l-so-no-longer-works-691448/)

vdemuth 12-18-2008 05:58 AM

DVB usb device no longer detected as a DVB (solved)
 
Any Udev/Kernel gurus out there who can help with this problem. Since upgrading to 12.2, my usb DVB tuner is no longer working. Previously, when I plugged it in, udev (presumably) created device nodes at /dev/dvb/adapter0/ but it no longer does this, instead creating nodes at /dev/video0 and /dev/vbi0.
The wiki at linuxtv and v4l both say the nodes should be at /dev/dvb etc.

I think that the kernel is no longer detecting it as a DVB device, but rather as a V4L device and don't know how to go about getting this action to change.

Anyone any ideas, or do I need to go back to a kernel which recognised it correctly?

TIA

titopoquito 12-18-2008 06:26 AM

First I would control the output in /var/log/messages. What info do you get when you plug in the stick?

Second, do the udev rules have changed from 12.1 to 12.2 with respect til DVB would be my next try.

Third, you could try to install from the mercury repository at http://linuxtv.org/wiki/index.php/Ho...from_Mercurial. I'm not sure if this will help and it will change or might even break something. On Slackware 12.1 (not 12.2!) with 2.6.27.7 it produced at least no errors. Your mileage may vary.

Woodsman 12-18-2008 03:23 PM

I'm only recently learning the quirks of TV capture cards. I have a Hauppauge HVR-1250.

I was using Slackware 12.1 and kernel 2.6.24.5 last week when I first installed the card and am now using 12.2 and the 2.6.27.7 kernel. There is no analog support for this card, but digital reception works fine with both.

My dmesg output:

dmesg | grep -i dvb
cx23885[0]: cx23885 based dvb card
DVB: registering new adapter (cx23885[0])
DVB: registering frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)...


The output in /var/log/messages and syslog only duplicate the dmesg output.

I have the following in /dev:

Code:

ls /dev/dvb/adapter0
total 0
drwxr-xr-x 2 root root    120 2008-12-18 15:07 ./
drwxr-xr-x 3 root root      60 2008-12-18 15:07 ../
crw-rw---- 1 root video 212, 4 2008-12-18 15:07 demux0
crw-rw---- 1 root video 212, 5 2008-12-18 15:07 dvr0
crw-rw---- 1 root video 212, 3 2008-12-18 15:07 frontend0
crw-rw---- 1 root video 212, 7 2008-12-18 15:07 net0

One caveat, as I reported here, I cannot boot my box with the sock 2.6.27.7 huge kernel. I have to blacklist the cx23885 module. If you are using the huge kernel then you might have to recompile. :(

My card is PCI-X, not external USB. I don't know whether any of this info helps.

vdemuth 12-21-2008 01:38 PM

Solved
 
OK. Got this to work using the following method.
This is, of course for my TV DVB usb stick, a KWORLD 355u, but ought to work with any em28xx type usb tuner.

First go here http://www.selenic.com/mercurial/rel...l-1.1.1.tar.gz and download Mercurial

And here http://konstantin.filtschew.de/v4l-firmware/ for the tuner firmware

Next, recompile the stock kernel, and disable all references to em28xx devices
under the media tab thus:-

Code:

# CONFIG_V4L_USB_DRIVERS is not set
# CONFIG_DVB_CAPTURE_DRIVERS is not set

Boot into new kernel

Then untar and compile Mercurial

Then go here from the CLI
hg clone http://mcentral.de/hg/~mrec/v4l-dvb-experimental for the latest
v4l dvb support modules

Then untar and compile the v4l-dvb-experimental modules

Then untar and install the firmware to /lib/firmware

Now when I plug in my DVB usb device, the correct node is created by Udev,
firmware and modules are loaded. The rest is painless using Kaffiene/Xine
or other programs that support TV

Would be nice if this had worked with the stock kernel, but then it wouldn't be such a challenge.

titopoquito 12-21-2008 06:31 PM

Quote:

Originally Posted by vdemuth (Post 3383158)
OK. Got this to work using the following method.

...

First go here http://www.selenic.com/mercurial/rel...l-1.1.1.tar.gz and download Mercurial

Mercurial is included in Slackware since 12.0 or 11.1, so you could have gotten it one step easier. However nice you got it working :)


All times are GMT -5. The time now is 07:21 PM.