[mythtv-users] Audio from SAA7134

Andrew Osborn aosborn at gmail.com
Wed Nov 29 05:18:17 UTC 2006


I think I may be back at the begining.
My thinking right now is that the sound is bad because of the tuner's
audio being too loud. But I can't go into amixer/alsamixer to edit it.
That is because it isn't being detected again.

On a fresh reboot I get this:
root at KITIARA:~# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: ICH5 [Intel ICH5], device 0: Intel ICH [Intel ICH5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 1: Intel ICH - MIC ADC [Intel ICH5 - MIC ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 2: Intel ICH - MIC2 ADC [Intel ICH5
- MIC2 ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 3: Intel ICH - ADC2 [Intel ICH5 - ADC2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

That again is not showing the tuner card. If I do a "modprobe
saa7134-alsa" and then a "arecord -l" it displays it like it should.
But then when I run any mixer program (to decrease the sound levels)
my PC crashes with a kernel error:

Nov 28 23:00:26 KITIARA kernel: saa7134 ALSA driver for DMA sound loaded
Nov 28 23:00:26 KITIARA kernel: saa7133[0]/alsa: saa7133[0] at
0xffcee800 irq 22 registered as card 1
Nov 28 23:01:17 KITIARA kernel: BUG: unable to handle kernel NULL
pointer dereference at virtual address 00000016
Nov 28 23:01:17 KITIARA kernel:  printing eip:
Nov 28 23:01:17 KITIARA kernel: f915eb1f
Nov 28 23:01:17 KITIARA kernel: *pde = 00000000
Nov 28 23:01:17 KITIARA kernel: Oops: 0000 [#1]
Nov 28 23:01:17 KITIARA kernel: PREEMPT SMP
Nov 28 23:01:17 KITIARA kernel: Modules linked in: saa7134_alsa sg
snd_pcm_oss snd_mixer_oss i915 drm bcm5700 shpchp pci_hotplug 8250_pnp
cx8800 cx88xx ivtv lirc_i2c lirc_dev ipv6 ttusb_dec ttusbdecfe
dvb_ttusb_budget tsdev usbhid cx22700 budget_av tda10021 budget_ci
budget s5h1420 budget_core dvb_ttpci l64781 tda8083 stv0297 sp8870
ttpci_eeprom saa7146_vv saa7146 mt312 tda1004x ves1820 stv0299 ves1x93
evdev dvb_bt8xx nxt6000 mt352 dvb_pll sp887x dst_ca or51211
zl10353...etc
Nov 28 23:01:17 KITIARA kernel: stor sata_nv sata_mv raid_class
ohci1394 megaraid_sas megaraid ieee1394 aacraid a100u2w BusLogin
Nov 28 23:01:17 KITIARA kernel: CPU:    0
Nov 28 23:01:17 KITIARA kernel: EIP:
0060:[pg0+950123295/1066120192]    Not tainted VLI
Nov 28 23:01:17 KITIARA kernel: EFLAGS: 00010206   (2.6.17-chw-8 #1)
Nov 28 23:01:17 KITIARA kernel: EIP is at
snd_saa7134_volume_get+0xf/0x30 [saa7134_alsa]
Nov 28 23:01:17 KITIARA kernel: eax: f79f4440   ebx: f7ee3800   ecx:
00000002   edx: 00000001
Nov 28 23:01:17 KITIARA kernel: esi: 00000003   edi: 00000001   ebp:
f723b400   esp: d60b9f00
Nov 28 23:01:17 KITIARA kernel: ds: 007b   es: 007b   ss: 0068
Nov 28 23:01:17 KITIARA kernel: Process amixer (pid: 7464,
threadinfo=d60b8000 task=c197e550)
Nov 28 23:01:17 KITIARA kernel: Stack: 00000000 f8f94828 f79f4440
f7ee3800 f79f4440 f723b54c bfc4c080 00000003
Nov 28 23:01:17 KITIARA kernel:        00000000 f7ee3800 f723b5e8
f723b400 f8f94891 f723b400 f7ee3800 ffffffe7
Nov 28 23:01:17 KITIARA kernel:        f7b45900 bfc4c080 c2c45512
c0182fbc f723b400 bfc4c080 bfc4c080 f7b45900
Nov 28 23:01:17 KITIARA kernel: Call Trace:
Nov 28 23:01:17 KITIARA kernel:  <f8f94828>
snd_ctl_elem_read+0xe8/0xf0 [snd]  <f8f94891>
snd_ctl_elem_read_user+0x61/0xb0 [snd]
Nov 28 23:01:17 KITIARA kernel:  <c0182fbc> do_ioctl+0x5c/0x70
<c0183143> vfs_ioctl+0x53/0x1c0
Nov 28 23:01:17 KITIARA kernel:  <c018330d> sys_ioctl+0x5d/0x70
<c0103177> syscall_call+0x7/0xb
Nov 28 23:01:17 KITIARA kernel: Code: 50 00 00 00 00 c7 40 54 14 00 00
00 31 c0 c3 8d b6 00 00 00 00 8d bc 27 00 00 00 00 53 8b 44 24 08 8b
5c 24 0c 8b 48 5c 8b 50 58 <8b> 44 d1 0c 89 43 44 8b 44 d1 10 89 43 48
31 c0 5b c3 eb 0d 90
Nov 28 23:01:17 KITIARA kernel: EIP: [pg0+950123295/1066120192]
snd_saa7134_volume_get+0xf/0x30 [saa7134_alsa] SS:ESP 0068:dd60b9f00



My entire /etc/modprobe.conf:
alias ra0 rt2400
alias rausb0 rt2570

alias char-major-81 videodev
alias char-major-81-0 saa7134
options saa7134 card=41 tuner=17

### Get onboard sound to dsp0
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || :
;}; /sbin/modprobe -r .ignore-remove snd-intel8x0

### Get sound from Compro to dsp1
alias snd-card-1 saa7134-alsa
options snd-card-1 index=1
options saa7134-alsa index=1
remove saa7134-alsa { /usr/sbin/alsactl store 1 >/dev/null 2>&1 || :
;}; /sbin/modprobe -r .ignore-remove saa7134-alsa


The rest of my settings are the same as yours. Besides in MythTV my
audio device is /dev/dsp because /dev/dsp1 doesn't output sound, only
dsp and dsp0 do.

Am I doing something wrong? I do get audio directly upon boot
(crackily/humming audio though), and I have no errors in demsg.

Thanks

On 11/28/06, Michael Lynch <lynchmv at gmail.com> wrote:
> On 11/28/06, Andrew Osborn <aosborn at gmail.com> wrote:
> > Mine was set to None so I changed it to 32000 and did live tv. That
> > sounded perfect. So I rebooted and doublechecked the setting would
> > stay (only way to set that is through mythtv-setup?) and the setting
> > was still there. I then started mythtv and did livetv and it sounded
> > staticy like it did before....not sure why. I can't get it to sound
> > good anymore. Switching the audio sample rate from 32000 to none and
> > back again doesn't help.
> >
> > I played sound fine from the onboard sound card. I also installed
> > MythTV Filters on my Windows PC and if I play the recorded shows it
> > sounds the exact same as it does on the Myth box. So that means all my
> > recorded movies/shows are bad (I thought it was a playback issue), but
> > that isn't so bad. I can rerecord when I get this working.
> >
> > Any other settings I can check?
> >
> > Thanks a bunch!
> > Andy
> >
>
> Just verify that the 32000 audio setting stays from within
> mythtv-setup (these settings will stick if they're set while the
> backend isn't running, then starting the backend after setting it) and
> that your recording profiles (done from the frontend) are also set to
> have audio at 32000.
>
> Another is to make sure that your audio mixer doesn't have the sound
> levels set too high.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


-- 

Andy Osborn


More information about the mythtv-users mailing list