[mythtv-users] Compro DVB-T300 and MythTV problems continued...

Greg Vickers daehenoc at optusnet.com.au
Sun Nov 27 05:16:13 EST 2005


Hi all,

My enthsuasm for EQ1 has declined greatly so I decided (after much research) to go and get myself a Compro DVB-T300 (digital and analog-TV and radio receivers and analog capture, all good) and convert said EQ box into a MythTV box.

(Side note: I haven't tried the TV out on the video card yet, next step! Video card as determined by lspci: 0000:02:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600] )

No joy. After much digging and IRCing I find that udev isn't creating /dev/dvb directory structure or corresponding links. (Amazing how fast you can learn about new technology/software!) See below for contents of /etc/udev/saa7134.rules file. (I just updated udev tonight, don't know if that file was there prior to tonight, it was a couple of weeks ago when I first started this.)

I discover that there are static links in /dev/.static/dev/dvb/adapter[x]/bla0 and delve into the mythtv mysql database and manually insert these links into what I think is the relevant place but still no joy. Mythtv-setup reports "Card Name: Could not open card #0" or, after editing the mysql db: "Card Name: Could not open card #/dev/.static/dev/dvb/..." when trying to configure a DVB capture card. Funny about the first error when the links don't exist and about the second when permissions aren't correct. I set the permissions ot allow the 'video' group read/write access to the /dev/.static/dev/dvb/... directories and still no joy.

I've seen the instructions on http://www.overclockers.com.au/wiki/MythTV about the DVB-T300 but I assume they are fairly old seeing as how the saa7134 module is compiled by default with this 2.6.12 kernel... Please enlighten me if this is not the case!

I've tried 'rmmod saa7134', then 'modprobe saa7134 oss=1 card=49' (card type reported in dmesg below,) no joy. (This as per the Overclocker MythTV wiki.) The saa7134-dvb module is not automatically loaded so I ran 'modprobe saa71340-dvb'. Output of 'lsmod | grep saa' is listed below.

The V4L capture device (analog capure input?) seems to have been detected fine, and it is configured as a 'Standard V4L capture card' (on /dev/video0) - I haven't tried hooking it up to a signal and capturing off it yet.

So it looks like udev isn't creating the relevant /dev/dvb/adapter[x] directories and links when the module is loaded so I've got a DVB capture card which isn't working for me . Any suggestions of what to do or where to go to for help would be fantastic, I look like a right wally to my wife now...!


Pertinent details:

Distro: Debian/testing
Kernel: 2.6.12-1-k7 (Athlon 1800)
udev version: 0.074-2

$ dmesg | grep saa
saa7130/34: v4l2 driver version 0.2.12 loaded
saa7134[0]: found at 0000:01:07.0, rev: 1, irq: 201, latency: 32, mmio: 0xea010000
saa7134[0]: subsystem: 185b:c900, board: Compro VideoMate Gold+ Pal [card=49,insmod option]
saa7134[0]: board init: gpio is 843f00
saa7134[0]: i2c eeprom 00: 5b 18 00 c9 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
saa7134[0]: i2c eeprom 10: 00 ff 86 0f ff 20 ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c eeprom 20: 01 40 01 03 03 ff 03 01 08 ff 00 87 ff ff ff ff
saa7134[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7134[0]: i2c scan: found device @ 0x10 [???]
saa7134[0]: i2c scan: found device @ 0x86 [tda9887]
saa7134[0]: i2c scan: found device @ 0xa0 [eeprom]
saa7134[0]: i2c scan: found device @ 0xd0 [???]
tuner 2-0068: chip found @ 0xd0 (saa7134[0])
saa7134[0]: registered device video0 [v4l2]
saa7134[0]: registered device vbi0
saa7134[0]: registered device radio0
saa7134[0]: registered device dsp2
saa7134[0]: registered device mixer2
saa7134[0]/audio: audio carrier scan failed, using 5.500 MHz [default]

# cat /etc/udev/saa7134.rules
#KERNEL=="saa7134", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; A=$${K%%%%.*}; D=$${K#*.}; echo dvb/adapter$$A/$$D'", \

# modprobe saa7134-dvb
# lsmod | grep saa
saa7134_dvb 5572 0
mt352 6980 1 saa7134_dvb
firmware_class 10432 1 saa7134_dvb
video_buf_dvb 6404 1 saa7134_dvb
tda1004x 15876 1 saa7134_dvb
saa7134 110420 1 saa7134_dvb
video_buf 21956 3 saa7134_dvb,video_buf_dvb,saa7134
v4l2_common 5760 1 saa7134
v4l1_compat 14788 1 saa7134
ir_common 7556 1 saa7134
videodev 9600 1 saa7134
soundcore 9760 2 saa7134,snd
i2c_core 21904 5 mt352,tda1004x,tuner,saa7134,i2c_nforce2


More information about the mythtv-users mailing list