[mythtv-users] Need help with sound problems in mythtv 0.16 on Fedora FC3

Per Weisteen per at weisteen.net
Mon Jan 24 14:17:29 EST 2005


Hi

Have installed MythTV on a Hush Technologies box using Jarod's excellent 
HOWTO. Unfortunately I've got problems making sound work on live TV and 
recordings.
When I start up Watch TV the picture is ok but there is no sound. If I 
switch channel the sound is suddenly ok. There is no sound when showing 
TV recordings.
When I first installed MythTV I used KDE but I were unable to get any 
sound at all. No system sound but aplay seemed to work occationally. 
Tried first /dev/adsp but MythTV always complained about not finding the 
device even if world had rwx on it. I switched to Gnome, turned on Sound 
Server (esd) and got Gnome sound events to work ok but only after MythTV 
had ben started (uses /dev/dsp) and I had switched channel once. Any 
help immensely appreciated.

TV Card is WinTV PVR-350.
Sound card is on-board Realtek ALC650 with AC'97 codec 5.1 channel on a 
P4M-865G MAX card from fic.com.tw. The audio-out from the PVR-350 is 
switched back to line-in on the sound card. TV display is for the moment 
on my standard X monitor. 
 
Base installation is Fedora FC3 with kernel updated to 2.6.9-1.724_FC3.

My modprobe.conf looks like this :
alias eth0 8139too
alias scsi_hostadapter ata_piix
alias scsi_hostadapter1 raid0
alias scsi_hostadapter2 raid1
alias usb-controller uhci-hcd
alias usb-controller1 ehci-hcd
alias ieee1394-controller ohci1394
alias char-major-61 lirc_i2c
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias /dev/v4l ivtv

options ivtv ivtv_debug=1 ivtv_pal=1 tuner=5
# Possibly: options ivtv tda9887=0
options tuner pal=1
options saa7127 enable_output=1 output_select=0 pal=1
options msp3400 once=1 simple=1

# Doesn't work on Fedora RC3
#add below ivtv msp3400 saa7115 saa7127 tuner
#add above ivtv lirc_dev lirc_i2c ivtv-fb

alias char-major-116-* snd
alias char-major-14-* soundcore
# Old: alias sound-service-0-0 snd-mixer-oss
# Old: alias sound-service-0-1 snd-seq-oss
# Old: alias sound-service-0-3 snd-pcm-oss
# Old: alias sound-service-0-8 snd-seq-oss
# Old: alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-intel8x0

install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && 
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; 
/sbin/modprobe -r --ignore-remove snd-intel8x0

# OLD: install ivtv { /sbin/modprobe msp3400; /sbin/modprobe saa7115; 
/sbin/modprobe saa7127; /sbin/modprobe tuner; } ; /sbin/modprobe 
--first-time --ignore-install ivtv && { /usr/bin/test_ioctl -d 
/dev/video0 -u 0xf f; }

# New:
install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb
install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install 
lirc_i2c

# New : from http://ivtv.writeme.ch/tiki-index.php?page=TvOutPal
# Doesn't work on Fedora RC3
# post-install ivtv /usr/local/bin/test_ioctl -d /dev/video0 -u 0xff

remove ivtv { /sbin/modprobe -r lirc_dev; /sbin/modprobe -r lirc_i2c; 
/sbin/modprobe -r ivtv-fb; } ; /sbin/modprobe -r --first-time 
--ignore-remove ivtv && { /sbin/modprobe -r msp3400; /sbin/modprobe -r 
saa7115; /sbin/modprobe -r saa7127; /sbin/modprobe -r tuner; /bin/true; }

lsmod gives this output :
Module                  Size  Used by
radeon                120389  2
bttv                  150413  0
video_buf              19716  1 bttv
v4l2_common             5760  1 bttv
btcx_risc               4553  1 bttv
lirc_i2c                7044  1
ivtv_fb                29968  0
msp3400                21800  0
saa7127                10140  0
saa7115                10520  0
tuner                  17580  0
tveeprom               10036  0
ivtv                  796772  3 ivtv_fb
i2c_algo_bit            8521  2 bttv,ivtv
videodev                9665  2 bttv,ivtv
i2c_core               22081  8 
bttv,lirc_i2c,msp3400,saa7127,saa7115,tuner,tveeprom,i2c_algo_bit
lirc_dev               11020  1 lirc_i2c
parport_pc             24705  1
lp                     11565  0
parport                36745  2 parport_pc,lp
autofs4                23109  0
sunrpc                156709  1
microcode               6497  0
md5                     4033  1
ipv6                  230529  12
xfs                   515121  1
button                  6481  0
battery                 8517  0
ac                      4805  0
ohci1394               34521  0
ieee1394              303129  1 ohci1394
uhci_hcd               31065  0
ehci_hcd               30661  0
snd_intel8x0           34829  2
snd_ac97_codec         63761  1 snd_intel8x0
snd_pcm_oss            48377  0
snd_mixer_oss          17985  2 snd_pcm_oss
snd_pcm                94921  2 snd_intel8x0,snd_pcm_oss
snd_timer              28997  1 snd_pcm
snd_page_alloc          9673  2 snd_intel8x0,snd_pcm
gameport                4801  1 snd_intel8x0
snd_mpu401_uart         8769  1 snd_intel8x0
snd_rawmidi            26085  1 snd_mpu401_uart
snd_seq_device          8137  1 snd_rawmidi
snd                    53541  11 
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               9889  2 snd
8139too                26177  0
mii                     4673  1 8139too
dm_snapshot            17029  0
dm_zero                 2369  0
dm_mirror              22957  2
ext3                  116553  6
jbd                    71257  1 ext3
dm_mod                 54229  5 dm_snapshot,dm_zero,dm_mirror
raid1                  19905  0
raid0                   7617  0
ata_piix                8389  9
libata                 41157  1 ata_piix
sd_mod                 17217  10
scsi_mod              120141  2 libata,sd_mod

Regards,
--
Per Weisteen



More information about the mythtv-users mailing list