[mythtv-users] No sound in recordings (bttv card)
Chris Ribe
chrisribe at gmail.com
Thu Jun 29 03:18:22 UTC 2006
Greetings all.
Many years ago, I purchased a Pinnacle PCTV Vision card so I could
watch TV on my Windows PC.
I lost my job, my harddrive died, my dog ate my Windows install disc,
and my Windows PC became a Linux box.
I got my Pinnacle (bt878 basec) card up and running without a problem
under MythTV .16 on FC2 and MythTV .18 on FC3 without a hitch, but
then I got sick of needing 2 computers for crappy playback (a 1 GHz
PIII backend which couldn't quite handle simultaneous encode and
playback and a 450 Mhz PII running Knoppmyth which could just barely
handle 512x352 RTjpeg playback) and I bought a PVR-150. Given my
hardware issues, two tuners was not an option at that time.
Since then I have added a Moto 6200 for Firewire HD capture, followed
by a 3.0 GHz EM64T P4 on a Via based motherboard for HD playback,
followed by an Nvidia FX5200 video card for tear-free HD playback.
To make a long story somewhat longer, the time has come for me to
bring my Pinnacle bt878 card back into the mix.
Unfortunately, I can't figure how to get Myth to record the sound put
out by this card.
The card is of the type that requires a jumper cable to feed the audio
cable into the sound card. In the name of thouroughness, I currently
have a jumper running form the cards audio output to the line in on
the onboard VIA audio. I also have a cable connecting the card's
interal audio output to the CD audio input on the MB. When I watch
programs recorded by this card through myth, I get no sound. Sound
continues to work just fine through the PVR and Firewire inputs.
Sound works just fine with the Pinnacle when I use xawtv. If I unmute
one of the inputs that the card is feeding, I get real time audio
through my speakers.
I had been getting errors along the lines of "-1 of 4096 bytes read
from /dev/dsp" from the Mythbackend log whenever a program was
recording on the tuner, but those have disappeared since I installed
the latest kmdl, nvidia, ivtv, video4linux, and alsa drivers (not that
nvidia and ivtv have anything to do with it, but good luck upgrading
your kernel without upgrading them). I then changed to the input for
my card in mythtvsetup from "dev/dsp" to "ALSA:default"
Now I get no errors and no sound. I can actually get the "-1 of 4096"
errors to come back if I deactivate capture on either of the inputs
using alsamixer.
I have no /dev/dsp0 and have not been able to figure out why.
I have read many, many threads from the archives regarding similar
problems, but noone has ever seemed to resolve them.
Other pertinant info:
[mythtv at mythtv ~]$ echo $KVER
2.6.16-1.2115_FC4smp
[mythtv at mythtv ~]$ rpm -q video4linux
video4linux-20060528-73.rhfc4.at
[mythtv at mythtv ~]$ rpm -q alsa-driver
alsa-driver-1.0.11-47.rhfc4.at
[mythtv at mythtv ~]$ rpm -q ivtv
ivtv-0.6.2-110.rhfc4.at
[mythtv at mythtv ~]$ cat /etc/modprobe.conf
alias eth0 via-rhine
alias scsi_hostadapter sata_via
alias char-major-61 lirc_i2c
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias ieee1394-controller ohci1394
# ivtv (PVR-150MCE)
alias char-major-81 videodev
alias char-major-81-0 ivtv
# bttv
alias char-major-81-1 bttv
options bttv card=39
install ohci1394 /sbin/modprobe --ignore-install ohci1394;
/sbin/modprobe raw1394
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-via82xx
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
#----cut here----
# I2C module options
alias char-major-89 i2c-dev
# I2C adapter drivers
#modprobe i2c-viapro
#modprobe i2c-isa
# I2C chip drivers
#modprobe eeprom
#modprobe it87
install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install lirc_i2c
# nvidia kernel module
alias char-major-195 nvidia-1_0-8762
alias nvidia nvidia-1_0-8762
[mythtv at mythtv ~]$ sudo dmesg | grep 'bttv
> ivtv
> alsa
> /dev/dsp
> mythtv
> v4l'
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.6.2 (development snapshot compiled on Mon Jun 12
18:47:15 2006) loading
ivtv: Linux version: 2.6.16-1.2115_FC4smp SMP 686 REGPARM 4KSTACKS gcc-4.0
ivtv: In case of problems please include the debug info between
ivtv: the START INIT IVTV and END INIT IVTV lines, along with
ivtv: any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based)
tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
cx25840 0-0044: cx25841-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 0-0044: loaded v4l-cx25840.fw firmware (13353 bytes)
wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02040024
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
ivtv: ==================== END INIT IVTV ====================
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:00:08.0, irq: 20, latency: 64, mmio: 0xf3ffe000
bttv0: detected: Pinnacle PCTV [card=39], PCI subsystem ID is 11bd:0012
bttv0: using: Pinnacle PCTV Studio/Rave [card=39,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ffefff [init]
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: pinnacle/mt: id=5 info="NTSC / mono" radio=no
bttv0: using tuner=33
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: registered device video1
bttv0: registered device vbi1
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: PLL can sleep, using XTAL (28636363).
[mythtv at mythtv ~]$ /sbin/lsmod
Module Size Used by
dv1394 25101 0
parport_pc 31405 0
lp 16897 0
parport 40457 2 parport_pc,lp
autofs4 23621 1
it87 24421 0
hwmon_vid 6849 1 it87
hwmon 7237 1 it87
eeprom 11217 0
i2c_isa 9153 1 it87
rfcomm 45781 0
l2cap 32833 5 rfcomm
bluetooth 57125 4 rfcomm,l2cap
sunrpc 153573 1
dm_mod 59861 0
video 19397 0
button 10577 0
battery 13381 0
ac 8901 0
nvidia 4533652 8
ipv6 270721 30
raw1394 34101 4
ohci1394 39301 1 dv1394
ieee1394 301593 3 dv1394,raw1394,ohci1394
uhci_hcd 36817 0
ehci_hcd 37581 0
bt878 13420 0
i2c_viapro 13013 0
bttv 171868 1 bt878
video_buf 27396 1 bttv
ir_common 31492 1 bttv
compat_ioctl32 5120 1 bttv
i2c_algo_bit 13129 1 bttv
btcx_risc 8584 1 bttv
wm8775 8716 0
cx25840 25744 0
tda9887 19472 0
tuner 55864 0
v4l2_common 19584 2 bttv,tuner
ivtv 189968 0
v4l1_compat 16900 1 ivtv
tveeprom 17296 2 bttv,ivtv
i2c_core 26177 13
it87,eeprom,i2c_isa,nvidia,i2c_viapro,bttv,i2c_algo_bit,wm8775,cx25840,tda9887,tuner,ivtv,tveeprom
videodev 11392 2 bttv,ivtv
snd_via82xx 28824 1
gameport 19657 1 snd_via82xx
snd_ac97_codec 90656 1 snd_via82xx
snd_ac97_bus 6016 1 snd_ac97_codec
snd_seq_dummy 7044 0
snd_seq_oss 34788 0
snd_seq_midi_event 10496 1 snd_seq_oss
snd_seq 51660 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 40608 0
snd_mixer_oss 19968 1 snd_pcm_oss
snd_pcm 83844 3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer 25348 2 snd_seq,snd_pcm
snd_page_alloc 12296 2 snd_via82xx,snd_pcm
snd_mpu401_uart 10624 1 snd_via82xx
snd_rawmidi 25888 1 snd_mpu401_uart
snd_seq_device 11916 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd 52192 14
snd_via82xx,snd_ac97_codec,snd_seq_dummy,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 13729 1 snd
via_rhine 28485 0
mii 9665 1 via_rhine
floppy 67965 0
ext3 134217 6
jbd 61269 1 ext3
sata_via 12485 0
libata 62801 1 sata_via
sd_mod 22081 0
scsi_mod 137677 2 libata,sd_mod
[mythtv at mythtv ~]$
Any help on this matter would be greatly appreciated. I simply cannot
figure out how to get myth to encode the line in audio into the video
file.
Thanks,
Chris
My kernel is:
More information about the mythtv-users
mailing list