Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> HD-2000/3000 drivers -> Fedora Core 4: no /dev/video, /dev/dvb or /dev/dtv devices
Post new topic  This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic 
Fedora Core 4: no /dev/video, /dev/dvb or /dev/dtv devices
PostPosted: Wed Aug 31, 2005 10:20 am Reply with quote
guest
Guest
 




Greetings,

I've been trying to get my HD3000 working over the last couple of months, and I think I've finally hit the wall on what to try next.

I am running a 2.6.12-1.1398_FC4 kernel (vanilla Fedora 4 2.6.11-1.1369 as distributed with the kernel rpm update to 2.6.12), on an AMD Athlon XP 1800+ with 512M memory. I'm relying on the built-in resources in 2.6.12 that I read were sufficient to bring up the card; reading through the postings told me I didn't need any of the pchdtv drivers.

I edited /lib/modules/2.6.12-1.1398_FC4/modules.pcimap, moved cx88-dvb line before the cx8800 and cx8800-blackbird lines, as someone recommended.

After that, I started following the instructions in the "DVB with the pcHDTV
HD3000" writeup pointed to in the forum.

I checked the .config file to make sure that all modules were loaded correctly:
"When compiling your kernel, DVB_OR51132 needs to be set to "m". Also, CONFIG_VIDEO_CX88 and CONFIG_VIDEO_CX88_DVB both need to be set to "m" for the analog (NTSC) driver cx8800 to be built."

I copied the files dvb-fe-or51132-vsb.fw and dvb-fe-or51132-qam.fw to both /lib/firmware and /usr/lib/hotplug/firmware/ directories, just to be sure.

Then I did the modprobe commands as described:
[root@bach ~]# modprobe -rv cx88_blackbird
[root@bach ~]# modprobe -rv cx88-dvb
[root@bach ~]# modprobe -rv cx8800
[root@bach ~]# modprobe -v cx88-dvb
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/dvb/frontends/dvb-pll.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/dvb/frontends/cx22702.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/video-buf.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/dvb/dvb-core/dvb-core.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/video-buf-dvb.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/dvb/frontends/or51132.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/videodev.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/tveeprom.ko
install /sbin/modprobe tuner;/sbin/modprobe --ignore-install btcx-risc
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/tuner.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/btcx-risc.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/common/ir-common.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/i2c/algos/i2c-algo-bit.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/cx88/cx88xx.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/dvb/frontends/mt352.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/cx88/cx8802.ko
install /sbin/modprobe cx8800;/sbin/modprobe --ignore-install cx88-dvb
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/v4l2-common.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/v4l1-compat.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/cx88/cx8800.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/cx88/cx88-dvb.ko
[root@bach ~]#

The two occurrences above of "ignore-install" are not what I should be seeing according to the DVB help document. Is this why I don't have a /dev/dvb entry?

A little more information: dmesg returns no references to cx88 or dvb devices either before or after modprobe, but the following 3 lines have been added to the bottom of the output after the above modprobe commands:
Linux video capture interface: v1.00
cx2388x v4l2 driver version 0.0.4 loaded
cx2388x dvb driver version 0.0.4 loaded

And just to be complete, following everything above:
[root@bach ~]# lsmod
Module Size Used by
cx88_dvb 7621 0
cx8800 33741 0
v4l1_compat 13381 1 cx8800
v4l2_common 5825 1 cx8800
cx8802 12229 1 cx88_dvb
mt352 6341 1 cx88_dvb
cx88xx 54113 3 cx88_dvb,cx8800,cx8802
i2c_algo_bit 9289 1 cx88xx
ir_common 7493 1 cx88xx
btcx_risc 4937 3 cx8800,cx8802,cx88xx
tuner 27121 0
tveeprom 13017 1 cx88xx
videodev 9537 2 cx8800,cx88xx
or51132 9797 1 cx88_dvb
video_buf_dvb 7109 1 cx88_dvb
dvb_core 92393 1 video_buf_dvb
video_buf 23749 5 cx88_dvb,cx8800,cx8802,cx88xx,video_buf_dvb
cx22702 5957 1 cx88_dvb
dvb_pll 4677 3 cx88_dvb,or51132,cx22702
<snip>

So what am I missing or not doing correctly? I would appreciate knowing if I am even close to getting this beast to work.

Thanks for the help,
Ray
PostPosted: Wed Aug 31, 2005 10:28 am Reply with quote
jzc
 
Joined: 27 Dec 2004
Posts: 45




Might want to look in here...

DVB support for xine working!

Since I already had my kernel set up for my HD3000 card(have FC4 installed), I just followed the instructions for generating the channels.conf file and patching of the xine. After that, I was able to watch HDTV.
View user's profile Send private message
Re: Fedora Core 4: no /dev/video, /dev/dvb or /dev/dtv devi
PostPosted: Wed Aug 31, 2005 3:50 pm Reply with quote
PeterKnaggs
 
Joined: 21 Mar 2005
Posts: 54




guest wrote:

After that, I started following the instructions in the "DVB with the pcHDTV
HD3000" writeup pointed to in the forum.


That http://www.penlug.org/twiki/bin/view/Main/DigitalTelevisionDVB
guide is for Debian. You'll need to search for "udev" and "FC4" for
an explanation of the problem you're seeing. Otherwise, to save time,
you could always install Debian, there's a (not so quick) guide here:
http://www.penlug.org/twiki/bin/view/Main/DebianSargeNetinst

guest wrote:

Is this why I don't have a /dev/dvb entry?


It's due to your udev setup. I'm not too clear on how to get udev to work
on FC4, but perhaps you could manually create the devices instead, it can't hurt.
I'm not sure if it would work, though, or whether they'd disappear after a reboot.

Code:

mkdir -p /dev/dvb/adapter0
cd /dev/dvb/adapter0
mknod demux0 c 212 4
mknod dvr0 c 212 5
mknod frontend0 c 212 3
chmod 660 demux0 dvr0 frontend0
chgrp video demux0 dvr0 frontend0


If you do "ls -l /dev/dvb/adapter0" you should see:
Code:

crw-rw----  1 root video 212, 4 2005-07-31 22:42 /dev/dvb/adapter0/demux0
crw-rw----  1 root video 212, 5 2005-07-31 22:42 /dev/dvb/adapter0/dvr0
crw-rw----  1 root video 212, 3 2005-07-31 22:42 /dev/dvb/adapter0/frontend0
View user's profile Send private message Visit poster's website
Re: Fedora Core 4: no /dev/video, /dev/dvb or /dev/dtv devi
PostPosted: Thu Sep 01, 2005 9:37 am Reply with quote
jzc
 
Joined: 27 Dec 2004
Posts: 45




PeterKnaggs wrote:


It's due to your udev setup. I'm not too clear on how to get udev to work
on FC4, but perhaps you could manually create the devices instead, it can't hurt.
I'm not sure if it would work, though, or whether they'd disappear after a reboot.



I just did a "grep dvb *" in FC4's /etc/udev/rules.d/ and it produced this output....

Code:

$ grep dvb *
50-udev.rules:KERNEL=="dvb/*",          MODE="0660"
50-udev.rules:KERNEL=="dvb",                    MODE="0660"
50-udev.rules:KERNEL=="dvb/adapter*",           MODE="0660"
50-udev.rules:KERNEL=="dvb*", PROGRAM=="/etc/udev/scripts/dvb.sh %k", NAME="%c"
$


So it's in FC4 for setting up these devices althought it may have to be tweeked.
View user's profile Send private message
PostPosted: Thu Sep 01, 2005 7:45 pm Reply with quote
pcHDTV_tech
 
Joined: 16 Dec 2004
Posts: 295




If all you saw in dmesg after the modprobe was those three lines, then something else is loaded and grabbing the devices (like the cx88-blackbird module). Did you reboot after editing the modules.pcimap file?

For grins, run
Code:
> modprobe -r  cx88-dvb
> modprobe -r cx8800
> modprobe -r cx88-blackbird
>modprobe cx88-dvb


The ignore install messages are from the lines added to your modprobe.conf file to make sure the cx8800 module loads when you load the cx88-dvb module. This guarantees the tuner module is loaded and enables the analog video side of the card.

HTH,

Rusty
View user's profile Send private message Visit poster's website
Re: Fedora Core 4: no /dev/video, /dev/dvb or /dev/dtv devi
PostPosted: Fri Sep 02, 2005 8:14 am Reply with quote
PeterKnaggs
 
Joined: 21 Mar 2005
Posts: 54




jzc wrote:

Code:

50-udev.rules:KERNEL=="dvb*", PROGRAM=="/etc/udev/scripts/dvb.sh %k", NAME="%c"


Could you post also the contents of your dvb.sh script:
Code:

cat /etc/udev/scripts/dvb.sh


You'd still need the group entry on the KERNEL=="dvb*" line,
as explained by Rusty:
http://www.pchdtv.com/forum/viewtopic.php?t=944
View user's profile Send private message Visit poster's website
Re: Fedora Core 4: no /dev/video, /dev/dvb or /dev/dtv devi
PostPosted: Sun Sep 04, 2005 1:32 pm Reply with quote
jzc
 
Joined: 27 Dec 2004
Posts: 45




PeterKnaggs wrote:
jzc wrote:

Code:

50-udev.rules:KERNEL=="dvb*", PROGRAM=="/etc/udev/scripts/dvb.sh %k", NAME="%c"


Could you post also the contents of your dvb.sh script:
Code:

cat /etc/udev/scripts/dvb.sh


You'd still need the group entry on the KERNEL=="dvb*" line,
as explained by Rusty:
http://www.pchdtv.com/forum/viewtopic.php?t=944


Code:

#!/  bin  /  sh
/bin/echo $1 | /bin/sed -e 's,dvb\([0-9]\)\.\([^0-9]*\)\([0-9]\),dvb/adapter\1/\2\3,'


BTW, this script came with FC4.

And aye about needing the tweek. Smile
View user's profile Send private message
PostPosted: Tue Sep 06, 2005 7:00 am Reply with quote
Guest
Guest
 




Dohh! I've finally reached a breakthrough--embarrassing as it is to admit , the crux of my problem was at the physical layer. 10:30PM at the end of a 3-day weekend: it hit me. After reading through all the notes and realizing that the board just wasn't being seen at boot time, I shut the machine down completely (power off), pulled the board out and reseated it. Voila!, up came the cx messages that I hadn't seen at all before:

[root@bach ~]# dmesg
<snip>
Linux video capture interface: v1.00
cx2388x blackbird driver version 0.0.4 loaded
cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV [card=22,autodetected]
tuner 1-0061: chip found @ 0xc2 (cx88[0])
tuner 1-0061: type set to 52 (Thomson DDT 7610 (ATSC/NTSC))
cx2388x v4l2 driver version 0.0.4 loaded
ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV [card=22,autodetected]
tuner 1-0061: chip found @ 0xc2 (cx88[0])
tuner 1-0061: type set to 52 (Thomson DDT 7610 (ATSC/NTSC))
cx88[0]/0: found at 0000:00:07.0, rev: 5, irq: 10, latency: 32, mmio: 0xe2000000cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0
<snip>

Then did the modprobe stuff and the /dev/dvb device came up:

[root@bach ~]# modprobe -rv cx88_blackbird
rmmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/cx88/cx88-blackbird.ko
rmmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/cx88/cx8802.ko
[root@bach ~]# modprobe -rv cx88-dvb
[root@bach ~]# modprobe -rv cx8800
rmmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/cx88/cx8800.ko
rmmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/cx88/cx88xx.ko
rmmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/i2c/algos/i2c-algo-bit.ko
rmmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/video-buf.ko
rmmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/common/ir-common.ko
rmmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/tveeprom.ko
rmmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/v4l1-compat.ko
rmmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/v4l2-common.ko
rmmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/btcx-risc.ko
rmmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/videodev.ko
[root@bach ~]# modprobe -v cx88-dvb
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/dvb/frontends/dvb-pll.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/dvb/frontends/cx22702.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/video-buf.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/dvb/dvb-core/dvb-core.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/video-buf-dvb.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/dvb/frontends/or51132.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/videodev.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/tveeprom.ko
install /sbin/modprobe tuner;/sbin/modprobe --ignore-install btcx-risc
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/btcx-risc.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/common/ir-common.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/i2c/algos/i2c-algo-bit.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/cx88/cx88xx.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/dvb/frontends/mt352.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/cx88/cx8802.ko
install /sbin/modprobe cx8800;/sbin/modprobe --ignore-install cx88-dvb
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/v4l2-common.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/v4l1-compat.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/cx88/cx8800.ko
insmod /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/media/video/cx88/cx88-dvb.ko
[root@bach ~]# ls /dev/d*
/dev/dsp

/dev/dvb:
adapter0
[root@bach ~]#

So, thanks to all for your helpful comments that served to kick an inanimate part of my brain into gear and force me to look at the basics first. Now I can proceed on to getting the applications to work with the card.

Cheers, Ray
PostPosted: Tue Sep 06, 2005 7:53 am Reply with quote
firefly2442
 
Joined: 14 Aug 2005
Posts: 7




Sorry if this is a little off topic but does the DVB driver work with NTSC as well as high def. content?
View user's profile Send private message AIM Address
PostPosted: Tue Sep 06, 2005 1:53 pm Reply with quote
jzc
 
Joined: 27 Dec 2004
Posts: 45




firefly2442 wrote:
Sorry if this is a little off topic but does the DVB driver work with NTSC as well as high def. content?


Aye it does.. althought it uses an another driver for the NTSC channels. Just use your fav TV viewer program.
View user's profile Send private message
Fedora Core 4: no /dev/video, /dev/dvb or /dev/dtv devices
  pcHDTV Forum Index -> HD-2000/3000 drivers
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
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  This topic is locked: you cannot edit posts or make replies.  


Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin