[mythtv-users] ALSA experts: Please help me configure SPDIF

Per Jørgensen udbytossen at gmail.com
Mon Jun 18 21:34:56 UTC 2007


Hey there .

I have a shuttle like - hereś what I did:

    * Edit /etc/asound.state. This file is where alsasound store your
      mixer settings.
    * Find a line that says : 'IEC958 Playback Switch'. Near it you will
      find a line saying value:false. Change it to value:true
    * Now find this line: 'IEC958 Playback AC97-SPSA' and change value
      to 0.
    * start alsa --> NOT RESTART

Afterwards make sure under $ alsamixer - That SPDIF (IEC958) is unmuted 
(M makes the swuitch)

Hopefully that helps


Greetings

Per Jørgensen
udbytossen at gmail.com <mailto:udbytossen at gmail.com>
<mailto:udbytossen at gmail.com>/\/o place like 127.0.0.1
Linux-user nr: 393221



JDP DATA skrev:
>
> I've been try to get SPDIF output on my frontend with no success. 
> Please any kind souls out there help me.
> I already try 
> http://mythtv.org/wiki/index.php/Configuring_Digital_Sound_with_AC3_and_SPDIF 
> and
> http://www.alsa-project.org/alsa-doc/doc-php/template.php?module=intel8x0#opt 
> <http://www.alsa-project.org/alsa-doc/doc-php/template.php?module=intel8x0#opt> 
>
>
> Well to be more specific, I do get sound via tos-link but only 2 
> channel (Dolby Pro-logic). I want to passthrough 5.1 (Dolby Digital). 
> Not having any luck, I've try playing with alsamixer. Unmute iec958 
> and set slider to "0", still no AC3 output to my receiver.
>
> my specs:
> Mythdora 4.0
> Shuttle XPC SB75G2 optical output ==>> Denon AVR-95 optical input
> Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
> Alsa v1.0.14
>
>
> lspci
> 00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller 
> Hub (rev 02)
> 00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP 
> Controller (rev 02)
> 00:06.0 System peripheral: Intel Corporation 82875P/E7210 Processor to 
> I/O Memory Interface (rev 02)
> 00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB 
> UHCI Controller #1 (rev 02)
> 00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB 
> UHCI Controller #2 (rev 02)
> 00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB 
> UHCI Controller #3 (rev 02)
> 00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB 
> UHCI Controller #4 (rev 02)
> 00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 
> EHCI Controller (rev 02)
> 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
> 00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC 
> Interface Bridge (rev 02)
> 00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE 
> Controller (rev 02)
> 00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA 
> Controller (rev 02)
> 00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus 
> Controller (rev 02)
> 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER 
> (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
> 01:00.0 VGA compatible controller: nVidia Corporation NV34GL [Quadro 
> FX 500/600 PCI] (rev a1)
> 02:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host 
> Controller (rev 46)
> 02:07.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 
> Gigabit Ethernet (rev 03)
>
> aplay -L
> front:CARD=ICH5,DEV=0
> Intel ICH5, Intel ICH5
> Front speakers
> surround40:CARD=ICH5,DEV=0
> Intel ICH5, Intel ICH5
> 4.0 Surround output to Front and Rear speakers
> surround41:CARD=ICH5,DEV=0
> Intel ICH5, Intel ICH5
> 4.1 Surround output to Front, Rear and Subwoofer speakers
> surround50:CARD=ICH5,DEV=0
> Intel ICH5, Intel ICH5
> 5.0 Surround output to Front, Center and Rear speakers
> surround51:CARD=ICH5,DEV=0
> Intel ICH5, Intel ICH5
> 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> null
> Discard all samples (playback) or generate zero samples (capture)
>
> aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: ICH5 [Intel ICH5], device 0: Intel ICH [Intel ICH5]
> Subdevices: 0/1
> Subdevice #0: subdevice #0
> card 0: ICH5 [Intel ICH5], device 4: Intel ICH - IEC958 [Intel ICH5 - 
> IEC958]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
>
> modprobe.conf
> alias scsi_hostadapter ata_piix
> 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
> # nvidia kernel module
> alias char-major-195 nvidia-1_0-9755
> alias nvidia nvidia-1_0-9755
> alias eth0 tg3
>
> asound.conf
> #Generated by system-config-soundcard, do not edit by hand
> #SWCONF
> #DEV 4
> defaults.pcm.card 0
> defaults.pcm.device 4
> defaults.ctl.card 0
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   


More information about the mythtv-users mailing list