[mythtv-users] Do I have my tuner card properly installed for myth?

Alan Snyder ax763 at yahoo.com
Tue Dec 9 11:48:57 EST 2003


I'm trying to track down my frontend freeze on live tv
and someone suggested that I look at my bttv
installation/configuration.

This is a Mandrake 9.1 system.  My bt878 card was
recognized by the Mandrake installer, though I had to
hand-specify the tuner type since my cardid was not in
the cardlist used by the xawtv rpm.

Recording and playback work flawlessly.  Problems
occur only in live tv.

/etc/modules loads the bttv driver:
# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules
that are
# to be loaded at boot time, one per line.  Comments
begin with
# a `#', and everything on the line after them are
ignored.

bttv

-----

lsmod looks OK:
# lsmod | grep bttv
bttv                   78496   0  [lirc_gpio]
videodev                7872   3  [bttv]
i2c-algo-bit            9064   1  [bttv]
i2c-core               21192   0  [tuner bttv
i2c-algo-bit]
soundcore               6276   0  [snd bttv]

----

modules.conf just adds the card type & tuner:
# cat /etc/modules.conf
alias char-major-61 lirc_gpio
probeall usb-interface usb-uhci
above snd-via82xx snd-pcm-oss
alias eth0 3c59x
alias sound-slot-0 snd-via82xx
options bttv card=78 tuner=2 radio=1 gbuffers=4
alias /dev/nvidia*   nvidia

----

/etc/modules.devfs suggests adding an alias but I'm
not sure why:
#head -25 /etc/modules.devfs
# /etc/modules.devfs
# Richard Gooch  <rgooch at atnf.csiro.au>        
24-MAR-2002
#
# THIS IS AN AUTOMATICALLY GENERATED FILE. DO NOT
EDIT!!!
# THIS FILE WILL BE OVERWRITTEN EACH TIME YOU INSTALL
DEVFSD!!!
# Modify /etc/modules.conf instead.
# This file comes with devfsd-vDEVFSD-VERSION which is
available from:
# http://www.atnf.csiro.au/~rgooch/linux/
# or directly from:
#
ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd-vDEVFSD-VERSION.tar.gz

###############################################################################
#   Sample configurations that you may want to place
in /etc/modules.conf
#
#alias          sound-slot-0            sb
#alias          /dev/v4l                bttv

----

bttv devices are there:

# ls -l /dev/vi*
lr-xr-xr-x    1 root     root           10 Dec  6
09:59 /dev/video -> v4l/video0
lr-xr-xr-x    1 root     root           10 Dec  6
09:59 /dev/video0 -> v4l/video0

# ls -l /dev/v4l
total 0
crw-------    1 alan     sys       81,  64 Dec 31 
1969 radio0
crw-------    1 alan     sys       81, 224 Dec 31 
1969 vbi0
crw-------    1 alan     sys       81,   0 Dec 31 
1969 video0

Finally, I *think* the card is properly specified in
the database:

mysql> select * from capturecard;

yields cardid=1, videodevice=/dev/video,
audiodevice=/dev/dsp, cbidevice=/dev/vbi0,
cardtype=V4L, auddioratelimit=0, hostname=localhost,
dvb_swfilter=NULL, dvb_recordts=NULL


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


More information about the mythtv-users mailing list