[mythtv-users] no sound sblive alsa livetv

Technical forforms at comcast.net
Thu Dec 9 00:10:20 UTC 2004


my system specs are at bottom of message

Problem: No sound at all for live TV in Mythtv 0.16 using sblive patched cable from line out of tv card to line in of sound card. set mixer before stating mythtvfrontend per instructions from command line:
amixer set Master,0 100%,100% unmute
amixer set Line,0 75%,75% mute captur
amixer set Capture,0 100%,100% captur

what I did:
 made sure esd and artsd not running killallesd says esd: no process killed
I rebooted when I changed the modules.conf

misc notes:
why does it say  Opening OSS audio device '/dev/dsp'. when starting mythfrontend? shouldn't that say opening alsa  instead of oss?

After I tried everything I played with kmixer and there is an ac97 volume control on that. If I turn that up I get high pitched constant noise.

tests: 
aplay /usr/share/sounds/info.wav  works
xmms test mp3        works
xawtv works with sound 
tried this next test which failed per troubleshooting section: 
A better test to verify that sound will work for MythTV (and recording with xawtv for that matter) is to startup xawtv, mute the line-in then run aplay /dev/dsp. You should hear the recorded audio slightly delayed behind the real-time video. Once this test succeeds, MythTV should work correctly because it writes to and read from /dev/dsp in the same way that aplay does.

here is what I got:
Playing raw data '/dev/dsp' : Unsigned 8 bit, Rate 8000 Hz, Mono
underrun!!! (at least 10.579 ms long)
underrun!!! (at least 11.801 ms long)
underrun!!! (at least 11.861 ms long)
underrun!!! (at least 11.837 ms long)
underrun!!! (at least 11.861 ms long)
underrun!!! (at least 11.859 ms long)
underrun!!! (at least 11.837 ms long)
underrun!!! (at least 11.861 ms long)
underrun!!! (at least 11.860 ms long)
underrun!!! (at least 11.834 ms long)
underrun!!! (at least 3.109 ms long)
underrun!!! (at least 3.111 ms long)
underrun!!! (at least 2.048 ms long)
underrun!!! (at least 2.049 ms long)
underrun!!! (at least 3.113 ms long)
underrun!!! (at least 2.047 ms long)
underrun!!! (at least 2.049 ms long)
underrun!!! (at least 3.112 ms long)
underrun!!! (at least 2.044 ms long)
underrun!!! (at least 2.048 ms long)
underrun!!! (at least 3.110 ms long)
Aborted by signal Interrupt...

What does underrun mean?

when mythfront and back are running did a fuser -v /dev/dsp 

                     USER        PID ACCESS COMMAND
/dev/dsp        dave            4254 f....  mythbackend
                     dave       5246 f....  mythfrontend


my system:
myth 0.16 compliled no binaries
Running Mandrake 10.0, sblive value patched sound cable from line out of tv card to line in of sound card, disabled ac97 on mb in bios, 
using older Haupaguge PCI TV go card with black remote
video card: ATI AIW 64 meg

alsa was already installed or came with mandrake 10 but I did change the modules.conf to:

alias autofs autofs4
probeall usb-interface usb-uhci ehci-hcd
# alias sound-slot-0 snd-emu10k1
# above snd-maestro3 snd-pcm-oss
options bttv radio=1 gbuffers=4
# above snd-emu10k1 snd-pcm-oss
alias eth0 tulip
alias eth1 tulip

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
# 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


logs:
mythfrontend
2004-12-08 09:46:46 mythfrontend version: 0.16.20040906-1 www.mythtv.org
2004-12-08 09:46:46 Enabled verbose msgs : important general
2004-12-08 09:46:47 Registering Internal as a media playback plugin.
Error loading image  /usr/local/share/mythtv/themes/default/NOTHING.png
2004-12-08 09:47:54 Connecting to backend server: 192.168.0.1:6543 (try 1 of 5)
2004-12-08 09:47:54 Using protocol version 13
2004-12-08 09:47:54 Using protocol version 13
2004-12-08 09:47:54 Using protocol version 13
2004-12-08 09:47:55 Opening OSS audio device '/dev/dsp'.
2004-12-08 09:47:55 Audio fragment size: 4096
2004-12-08 09:47:55 Using XV port 70
2004-12-08 09:47:55 Changing from None to WatchingLiveTV
2004-12-08 09:47:56 Using realtime priority.


dmesg bttv info:
Linux video capture interface: v1.00
bttv: driver version 0.9.12 loaded
bttv: using 4 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:00:08.0, irq: 16, latency: 32, mmio: 0xe0122000
bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
bttv0: using: Hauppauge (bt878) [card=10,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00ffffdb [init]
bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
bttv0: Hauppauge eeprom: model=61381, tuner=Philips FM1236 (2), radio=yes
bttv0: using tuner=2
bttv0: i2c: checking for MSP34xx @ 0x80... found
msp34xx: init: chip=MSP3430G-A4 +nicam +simple +radio
msp3410: daemon started
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951),ta8874z
hiddev0: USB HID v1.00 Device [American Power Conversion Back-UPS 500 FW: 6.2.D USB FW: c1 ] on usb-0000:00:10.0-1
tuner: chip found @ 0xc2
tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles))
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: registered device radio0
bttv0: PLL: 28636363 => 35468950 .. ok
Linux agpgar

ls -l /dev/dsp
lr-xr-xr-x  1 root root 9 Dec  8 09:19 dsp -> sound/dsp
lr-xr-xr-x  1 root root 10 Dec  8 09:19 adsp -> sound/adsp

 ls -l sound
total 0
crw-------  1 dave audio 14, 14 Dec 31  1969 admmidi
crw-------  1 dave audio 14, 12 Dec 31  1969 adsp
crw-------  1 dave audio 14, 13 Dec 31  1969 amidi
crw-------  1 dave audio 14,  4 Dec 31  1969 audio
crw-------  1 dave audio 14,  9 Dec 31  1969 dmmidi
crw--w--w-  1 dave audio 14,  3 Dec 31  1969 dsp
crw-------  1 dave audio 14,  2 Dec 31  1969 midi
crw-------  1 dave audio 14,  0 Dec 31  1969 mixer
crw-------  1 dave audio 14,  1 Dec 31  1969 sequencer
crw-------  1 dave audio 14,  8 Dec 31  1969 sequencer2




What other tests can I run?


More information about the mythtv-users mailing list