[mythtv-users] optical SPDIF output on nforce4 mobo: Success (of a sort)

Steven Adeff adeffs.mythtv at gmail.com
Tue May 16 02:16:09 UTC 2006


On 5/2/06, Geir Inge <geir.inge at gmail.com> wrote:
> Hi.
>
> I have a A8N-SLI mainboard based on the nvidia-4 chipset and my
> optical output works like a charm.
>
> I made it work by changing potentsial values in the /etc/asound.state
> file and performing a "alsactl restore" to test.
>
> I have included my working asound.state file, and hope it will solve
> your problems too.
>
> GIH
>
> ------ start asound.state-----
> state.CK804 {
>         control.1 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'Master Playback Switch'
>                 value true
>         }
>         control.2 {
>                 comment.access 'read write'
>                 comment.type INTEGER
>                 comment.count 2
>                 comment.range '0 - 31'
>                 iface MIXER
>                 name 'Master Playback Volume'
>                 value.0 22
>                 value.1 22
>         }
>         control.3 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'Center Playback Switch'
>                 value false
>         }
>         control.4 {
>                 comment.access 'read write'
>                 comment.type INTEGER
>                 comment.count 1
>                 comment.range '0 - 31'
>                 iface MIXER
>                 name 'Center Playback Volume'
>                 value 31
>         }
>         control.5 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'LFE Playback Switch'
>                 value true
>         }
>         control.6 {
>                 comment.access 'read write'
>                 comment.type INTEGER
>                 comment.count 1
>                 comment.range '0 - 31'
>                 iface MIXER
>                 name 'LFE Playback Volume'
>                 value 13
>         }
>         control.7 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 2
>                 iface MIXER
>                 name 'Surround Playback Switch'
>                 value.0 false
>                 value.1 false
>         }
>         control.8 {
>                 comment.access 'read write'
>                 comment.type INTEGER
>                 comment.count 2
>                 comment.range '0 - 31'
>                 iface MIXER
>                 name 'Surround Playback Volume'
>                 value.0 0
>                 value.1 0
>         }
>         control.9 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'Master Mono Playback Switch'
>                 value false
>         }
>         control.10 {
>                 comment.access 'read write'
>                 comment.type INTEGER
>                 comment.count 1
>                 comment.range '0 - 31'
>                 iface MIXER
>                 name 'Master Mono Playback Volume'
>                 value 0
>         }
>         control.11 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'PC Speaker Playback Switch'
>                 value false
>         }
>         control.12 {
>                 comment.access 'read write'
>                 comment.type INTEGER
>                 comment.count 1
>                 comment.range '0 - 15'
>                 iface MIXER
>                 name 'PC Speaker Playback Volume'
>                 value 0
>         }
>         control.13 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'Phone Playback Switch'
>                 value false
>         }
>         control.14 {
>                 comment.access 'read write'
>                 comment.type INTEGER
>                 comment.count 1
>                 comment.range '0 - 31'
>                 iface MIXER
>                 name 'Phone Playback Volume'
>                 value 0
>         }
>         control.15 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'Mic Playback Switch'
>                 value false
>         }
>         control.16 {
>                 comment.access 'read write'
>                 comment.type INTEGER
>                 comment.count 1
>                 comment.range '0 - 31'
>                 iface MIXER
>                 name 'Mic Playback Volume'
>                 value 0
>         }
>         control.17 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'Mic Boost (+20dB) Capture Switch'
>                 value false
>         }
>         control.18 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'Line Playback Switch'
>                 value false
>         }
>         control.19 {
>                 comment.access 'read write'
>                 comment.type INTEGER
>                 comment.count 2
>                 comment.range '0 - 31'
>                 iface MIXER
>                 name 'Line Playback Volume'
>                 value.0 0
>                 value.1 0
>         }
>         control.20 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'CD Playback Switch'
>                 value false
>         }
>         control.21 {
>                 comment.access 'read write'
>                 comment.type INTEGER
>                 comment.count 2
>                 comment.range '0 - 31'
>                 iface MIXER
>                 name 'CD Playback Volume'
>                 value.0 0
>                 value.1 0
>         }
>         control.22 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'Aux Playback Switch'
>                 value false
>         }
>         control.23 {
>                 comment.access 'read write'
>                 comment.type INTEGER
>                 comment.count 2
>                 comment.range '0 - 31'
>                 iface MIXER
>                 name 'Aux Playback Volume'
>                 value.0 0
>                 value.1 0
>         }
>         control.24 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'PCM Playback Switch'
>                 value true
>         }
>         control.25 {
>                 comment.access 'read write'
>                 comment.type INTEGER
>                 comment.count 2
>                 comment.range '0 - 31'
>                 iface MIXER
>                 name 'PCM Playback Volume'
>                 value.0 22
>                 value.1 22
>         }
>         control.26 {
>                 comment.access 'read write'
>                 comment.type ENUMERATED
>                 comment.count 2
>                 comment.item.0 Mic
>                 comment.item.1 CD
>                 comment.item.2 Video
>                 comment.item.3 Aux
>                 comment.item.4 Line
>                 comment.item.5 Mix
>                 comment.item.6 'Mix Mono'
>                 comment.item.7 Phone
>                 iface MIXER
>                 name 'Capture Source'
>                 value.0 Mic
>                 value.1 Mic
>         }
>         control.27 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'Capture Switch'
>                 value true
>         }
>         control.28 {
>                 comment.access 'read write'
>                 comment.type INTEGER
>                 comment.count 2
>                 comment.range '0 - 15'
>                 iface MIXER
>                 name 'Capture Volume'
>                 value.0 0
>                 value.1 0
>         }
>         control.29 {
>                 comment.access 'read write'
>                 comment.type ENUMERATED
>                 comment.count 1
>                 comment.item.0 Mix
>                 comment.item.1 Mic
>                 iface MIXER
>                 name 'Mono Output Select'
>                 value Mix
>         }
>         control.30 {
>                 comment.access 'read write'
>                 comment.type ENUMERATED
>                 comment.count 1
>                 comment.item.0 Mic1
>                 comment.item.1 Mic2
>                 iface MIXER
>                 name 'Mic Select Capture Switch'
>                 value Mic1
>         }
>         control.31 {
>                 comment.access read
>                 comment.type IEC958
>                 comment.count 1
>                 iface MIXER
>                 name 'IEC958 Playback Con Mask'
>                 value '0fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
>         }
>         control.32 {
>                 comment.access read
>                 comment.type IEC958
>                 comment.count 1
>                 iface MIXER
>                 name 'IEC958 Playback Pro Mask'
>                 value cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
>         }
>         control.33 {
>                 comment.access 'read write'
>                 comment.type IEC958
>                 comment.count 1
>                 iface MIXER
>                 name 'IEC958 Playback Default'
>                 value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
>         }
>         control.34 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'IEC958 Playback Switch'
>                 value true
>         }
>         control.35 {
>                 comment.access 'read write'
>                 comment.type INTEGER
>                 comment.count 1
>                 comment.range '0 - 3'
>                 iface MIXER
>                 name 'IEC958 Playback AC97-SPSA'
>                 value 0
>         }
>         control.36 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'Duplicate Front'
>                 value false
>         }
>         control.37 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'Mic Front Input Switch'
>                 value false
>         }
>         control.38 {
>                 comment.access 'read write'
>                 comment.type ENUMERATED
>                 comment.count 1
>                 comment.item.0 Shared
>                 comment.item.1 Independent
>                 iface MIXER
>                 name 'Surround Jack Mode'
>                 value Shared
>         }
>         control.39 {
>                 comment.access 'read write'
>                 comment.type ENUMERATED
>                 comment.count 1
>                 comment.item.0 '2ch'
>                 comment.item.1 '4ch'
>                 comment.item.2 '6ch'
>                 iface MIXER
>                 name 'Channel Mode'
>                 value '2ch'
>         }
>         control.40 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'IEC958 Capture Switch'
>                 value false
>         }
>         control.41 {
>                 comment.access 'read write'
>                 comment.type ENUMERATED
>                 comment.count 1
>                 comment.item.0 PCM
>                 comment.item.1 'Analog In'
>                 comment.item.2 'IEC958 In'
>                 iface MIXER
>                 name 'IEC958 Playback Source'
>                 value PCM
>         }
>         control.42 {
>                 comment.access 'read write'
>                 comment.type BOOLEAN
>                 comment.count 1
>                 iface MIXER
>                 name 'External Amplifier'
>                 value true
>         }
> }
> ------ end asound.state-----


well, I'm trying to get my nForce4 board with an ALC655 working with
digital output to no avail. I pasted the above to /etc/asound.state
and am using the .asoundrc for the ALC chips. I've got an ECS KN1
motherboard.

# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia
CK804 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


I'm also using kernel 2.6.16, which someone mentioned doesn't work
with alsa? which could be since I can't seem to get analog audio
either...

anyone have any ideas?

-- 
Steve
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/index.php/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette -
http://www.mythtv.org/wiki/index.php/Mailing_List_etiquette


More information about the mythtv-users mailing list