I seem to be having problems in getting the sound recorded with a Hauppauge WinTV Theater and a Soundblaster Live! I'm able to play back sound from a DVD using Xine.
The Line output from a VCR is connected to the Line Input on the Win TV card, The Line out phone plug is plugged into the Line Input of the sound card. Internally, the CD is connected to the CDIn and the CD passthough from the WinTV card is connected to Aux In.
The Audio Device in the capture Card Setup is set to /dev/dsp, No audio rate sampling limit is set, volume is not set to be adjusted.
In the Frontend, Audio Output device is set to /dev/dsp, passthough Output Device is set to Default. The mixer device is set to /dev/mixer and is set to PCM. Master mixer volume is set to 85, PCM mixer volume is set to 82.
(as root) from lspci -v (other entries deleted)
Code:
00:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Subsystem: Hauppauge computer works Inc. WinTV Series
Flags: bus master, medium devsel, latency 64, IRQ 19
Memory at e8041000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
00:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Subsystem: Hauppauge computer works Inc. WinTV Series
Flags: bus master, medium devsel, latency 64, IRQ 19
Memory at e8040000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
00:0c.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 05)
Subsystem: Creative Labs CT4620 SBLive!
Flags: bus master, medium devsel, latency 64, IRQ 18
I/O ports at bc00 [size=32]
Capabilities: [dc] Power Management version 1
00:0c.1 Input device controller: Creative Labs SB Live! Game Port (rev 05)
Subsystem: Creative Labs Gameport Joystick
Flags: bus master, medium devsel, latency 64
I/O ports at c000 [size=8]
Capabilities: [dc] Power Management version 1
So looking for the sound modules:
Code:
root@homenet-pvr1:/home/bruce# lsmod |grep snd
snd_bt87x 15844 0
snd_emu10k1_synth 10112 0
snd_emux_synth 36096 1 snd_emu10k1_synth
snd_seq_virmidi 9728 1 snd_emux_synth
snd_seq_midi_emul 9856 1 snd_emux_synth
snd_seq_dummy 6916 0
snd_seq_oss 34048 0
snd_seq_midi 10400 0
snd_seq_midi_event 10240 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq 50256 9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_emu10k1 110016 1 snd_emu10k1_synth
snd_rawmidi 22944 3 snd_seq_virmidi,snd_seq_midi,snd_emu10k1
snd_ac97_codec 94116 1 snd_emu10k1
snd_ac97_bus 6144 1 snd_ac97_codec
snd_pcm_oss 42912 0
snd_mixer_oss 18176 1 snd_pcm_oss
snd_pcm 69380 4 snd_bt87x,snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_seq_device 10508 8 snd_emu10k1_synth,snd_emux_synth,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_emu10k1,snd_rawmidi
snd_timer 22404 3 snd_seq,snd_emu10k1,snd_pcm
snd_util_mem 7552 2 snd_emux_synth,snd_emu10k1
snd_hwdep 10884 2 snd_emux_synth,snd_emu10k1
snd 47588 15 snd_bt87x,snd_emux_synth,snd_seq_virmidi,snd_seq_dummy,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
snd_page_alloc 11784 3 snd_bt87x,snd_emu10k1,snd_pcm
soundcore 11360 1 snd
root@homenet-pvr1:/home/bruce#
and the bt modules
Code:
root@homenet-pvr1:/home/bruce# lsmod |grep bt
dvb_bt8xx 16900 0
nxt6000 10884 1 dvb_bt8xx
mt352 9988 1 dvb_bt8xx
sp887x 10884 1 dvb_bt8xx
dst_ca 16000 1 dvb_bt8xx
dst 29320 2 dvb_bt8xx,dst_ca
dvb_core 73640 2 dvb_bt8xx,dst_ca
dvb_pll 16132 1 dvb_bt8xx
cx24110 11396 1 dvb_bt8xx
or51211 12932 1 dvb_bt8xx
zl10353 8708 1 dvb_bt8xx
lgdt330x 11676 1 dvb_bt8xx
bt878 12792 2 dvb_bt8xx,dst
snd_bt87x 15844 0
snd_pcm 69380 4 snd_emu10k1,snd_ac97_codec,snd_pcm_oss,snd_bt87x
bttv 167028 2 dvb_bt8xx,bt878
video_buf 23940 1 bttv
firmware_class 11648 4 dvb_bt8xx,sp887x,or51211,bttv
ir_common 28420 1 bttv
snd 47588 15 snd_emux_synth,snd_seq_virmidi,snd_seq_dummy,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_bt87x,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
compat_ioctl32 5248 1 bttv
i2c_algo_bit 12296 1 bttv
btcx_risc 8072 1 bttv
tveeprom 17296 1 bttv
snd_page_alloc 11784 3 snd_emu10k1,snd_bt87x,snd_pcm
videodev 24960 1 bttv
v4l2_common 23808 4 tuner,msp3400,bttv,videodev
i2c_core 20864 18 nvidia,dvb_bt8xx,nxt6000,mt352,sp887x,dst,dvb_pll,cx24110,or51211,zl10353,lgdt330x,tuner,tvaudio,msp3400,bttv,i2c_algo_bit,i2c_piix4,tveeprom
So it appears all the devices appear to be loaded.
Extracted from dmesg:
Code:
piix4_smbus 0000:00:07.3: Found 0000:00:07.3 device
gameport: EMU10K1 is pci0000:00:0c.1/gameport0, io 0xc000, speed 1217kHz
Linux video capture interface: v2.00
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Host bridge needs ETBF enabled.
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 19
bttv0: Bt878 (rev 17) at 0000:00:0a.0, irq: 19, latency: 64, mmio: 0xe8041000
bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
bttv0: using: Hauppauge (bt878) [card=10,autodetected]
bttv0: enabling ETBF (430FX/VP3 compatibilty)
bttv0: gpio: en=00000000, out=00000000 in=00ffffdb [init]
bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
tveeprom 1-0050: Hauppauge model 37284, rev B421, serial# 5030941
tveeprom 1-0050: tuner model is Philips FM1216 (idx 21, type 5)
tveeprom 1-0050: TV standards PAL(B/G) (eeprom 0x04)
tveeprom 1-0050: audio processor is MSP3410D (idx 5)
tveeprom 1-0050: has radio
bttv0: Hauppauge eeprom indicates model#37284
bttv0: using tuner=5
bttv0: i2c: checking for MSP34xx @ 0x80... found
msp3400 1-0040: MSP3410D-C5 found @ 0x80 (bt878 #0 [sw])
msp3400 1-0040: MSP3410D-C5 supports nicam, mode is autodetect
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
tuner 1-0042: chip found @ 0x84 (bt878 #0 [sw])
tda9887 1-0042: tda988[5/6/7] found @ 0x42 (tuner)
tuner 1-0061: chip found @ 0xc2 (bt878 #0 [sw])
tuner 1-0061: type set to 5 (Philips PAL_BG (FI1216 and compatibles))
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
bttv0: PLL: 28636363 => 35468950 .. ok
ACPI: PCI Interrupt 0000:00:0a.1[A] -> GSI 18 (level, low) -> IRQ 19
bt878: AUDIO driver version 0.0.0 loaded
So Looking at the /dev directory:
Code:
root@homenet-pvr1:/home/bruce# ls -l /dev/* |grep audio
crw-rw---- 1 root audio 14, 14 Jan 8 00:16 /dev/admmidi
crw-rw---- 1 root audio 14, 12 Jan 8 00:16 /dev/adsp
crw-rw---- 1 root audio 14, 28 Jan 8 00:16 /dev/adsp1
crw-rw---- 1 root audio 14, 13 Jan 8 00:16 /dev/amidi
crw-rw---- 1 root audio 14, 4 Jan 8 00:16 /dev/audio
crw-rw---- 1 root audio 14, 20 Jan 8 00:16 /dev/audio1
crw-rw---- 1 root audio 14, 9 Jan 8 00:16 /dev/dmmidi
crw-rw---- 1 root audio 14, 3 Jan 8 00:16 /dev/dsp
crw-rw---- 1 root audio 14, 19 Jan 8 00:16 /dev/dsp1
crw-rw---- 1 root audio 14, 2 Jan 8 00:16 /dev/midi
crw-rw---- 1 root audio 14, 0 Jan 8 00:16 /dev/mixer
crw-rw---- 1 root audio 14, 16 Jan 8 00:16 /dev/mixer1
crw-rw---- 1 root audio 10, 135 Jan 8 00:16 /dev/rtc
crw-rw---- 1 root audio 14, 1 Jan 8 00:16 /dev/sequencer
crw-rw---- 1 root audio 14, 8 Jan 8 00:16 /dev/sequencer2
crw-rw---- 1 root audio 116, 0 Jan 8 00:16 controlC0
crw-rw---- 1 root audio 116, 32 Jan 8 00:16 controlC1
crw-rw---- 1 root audio 116, 4 Jan 8 00:16 hwC0D0
crw-rw---- 1 root audio 116, 6 Jan 8 00:16 hwC0D2
crw-rw---- 1 root audio 116, 8 Jan 8 00:16 midiC0D0
crw-rw---- 1 root audio 116, 9 Jan 8 00:16 midiC0D1
crw-rw---- 1 root audio 116, 10 Jan 8 00:16 midiC0D2
crw-rw---- 1 root audio 116, 24 Jan 8 00:16 pcmC0D0c
crw-rw---- 1 root audio 116, 16 Jan 8 00:16 pcmC0D0p
crw-rw---- 1 root audio 116, 25 Jan 8 00:16 pcmC0D1c
crw-rw---- 1 root audio 116, 26 Jan 8 00:16 pcmC0D2c
crw-rw---- 1 root audio 116, 18 Jan 8 00:16 pcmC0D2p
crw-rw---- 1 root audio 116, 19 Jan 8 00:16 pcmC0D3p
crw-rw---- 1 root audio 116, 56 Jan 8 00:16 pcmC1D0c
crw-rw---- 1 root audio 116, 57 Jan 8 00:16 pcmC1D1c
crw-rw---- 1 root audio 116, 1 Jan 8 00:16 seq
crw-rw---- 1 root audio 116, 33 Jan 8 00:16 timer
root@homenet-pvr1:/home/bruce# ls -l /dev/* |grep video
crw-rw---- 1 root video 10, 175 Jan 8 00:16 /dev/agpgart
crw-rw---- 1 root video 29, 0 Jan 8 00:16 /dev/fb0
crw-rw---- 1 root video 81, 64 Jan 8 00:16 /dev/radio0
crw-rw---- 1 root video 81, 224 Jan 8 00:16 /dev/vbi0
crw-rw---- 1 root video 81, 0 Jan 8 00:16 /dev/video0
So as you can see, there's nothing obvious here
So scambling for some other info, I run aplay (which plays /usr/share/sounds/testing.wav OK)
Code:
root@homenet-pvr1:/home/bruce# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Live [SBLive! [CT4620]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
Subdevices: 32/32
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
Subdevice #8: subdevice #8
Subdevice #9: subdevice #9
Subdevice #10: subdevice #10
Subdevice #11: subdevice #11
Subdevice #12: subdevice #12
Subdevice #13: subdevice #13
Subdevice #14: subdevice #14
Subdevice #15: subdevice #15
Subdevice #16: subdevice #16
Subdevice #17: subdevice #17
Subdevice #18: subdevice #18
Subdevice #19: subdevice #19
Subdevice #20: subdevice #20
Subdevice #21: subdevice #21
Subdevice #22: subdevice #22
Subdevice #23: subdevice #23
Subdevice #24: subdevice #24
Subdevice #25: subdevice #25
Subdevice #26: subdevice #26
Subdevice #27: subdevice #27
Subdevice #28: subdevice #28
Subdevice #29: subdevice #29
Subdevice #30: subdevice #30
Subdevice #31: subdevice #31
card 0: Live [SBLive! [CT4620]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: Live [SBLive! [CT4620]], device 3: emu10k1 [Multichannel Playback]
Subdevices: 1/1
Subdevice #0: subdevice #0
root@homenet-pvr1:/home/bruce# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Live [SBLive! [CT4620]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Live [SBLive! [CT4620]], device 1: emu10k1 mic [Mic Capture]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Live [SBLive! [CT4620]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Bt878 [Brooktree Bt878], device 0: Bt87x Digital [Bt87x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Bt878 [Brooktree Bt878], device 1: Bt87x Analog [Bt87x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
root@homenet-pvr1:/home/bruce#
Aumix gives the list as follows, I manuipulated the Video and Line settings, but nothing is heard when recording or on playback.
Code:
Vol P
Bass
Trebl
Synth
Pcm
Spkr
Line R
Mic P
CD P
Pcm2
IGain
Line1 P
Digital1
PhoneIn P
PhoneOut P
Video P
I'm scratching my head here, though I've got the feeling it's something really, really simple.
Bruce S.
This system: PIII 650MHz FC+Slocket, Gigabyte GA-6BXD, 768Mb, Dual channel ATA-100 PCI ATA HBA, 80Gb PATA HDD,
LG GDR8161B DVD-ROM, LG GCE-8520B CD-RW, XFX GeForce FX5200, Hauppauge WinTV Theater, Intel Gigabit Ethernet, Creative Labs SB Live! KM R5E50.