You are not logged in.

#1 2012-04-01 20:20:08

Foxandxss
Member
Registered: 2008-11-23
Posts: 16

Lack of S/PDIF-in and S/PIDF-out controls

Hello,

I have a Creative Fatal1ty professional and it works perfectly.

The problem is with S/PDIF.

I have my PS3 connected to the S/PDIF-in, so I can use my computer's speakers with the PS3.

In others distros, I had a s/pdif-in and a s/pdif-out but here in Arch, I just have a "s/pdif" control (but the PS3 have no sound).

I was looking at the alsa guide in the wiki. In concrete there is a part for getting a "s/pidf-out" control (well, I just need the input), anyway, the steps doesn't match in my box.

I will show you some info:

$ amixer scontrols
Simple mixer control 'Master',0
Simple mixer control 'PCM',0
Simple mixer control 'Front',0
Simple mixer control 'Surround',0
Simple mixer control 'Center/LFE',0
Simple mixer control 'Side',0
Simple mixer control 'Line',0
Simple mixer control 'Mic',0
Simple mixer control 'IEC958',0
Simple mixer control 'Digital',0

and asound.state:

state.XFi {
        control.1 {
                iface MIXER
                name 'Master Playback Volume'
                value.0 256
                value.1 256
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 256'
                        dbmin -9999999
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.2 {
                iface MIXER
                name 'PCM Playback Volume'
                value.0 256
                value.1 256
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 256'
                        dbmin -9999999
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.3 {
                iface MIXER
                name 'Line Playback Volume'
                value.0 256
                value.1 256
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 256'
                        dbmin -9999999
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.4 {
                iface MIXER
                name 'Mic Playback Volume'
                value.0 256
                value.1 256
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 256'
                        dbmin -9999999
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.5 {
                iface MIXER
                name 'IEC958 Playback Volume'
                value.0 256
                value.1 256
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 256'
                        dbmin -9999999
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.6 {
                iface MIXER
                name 'Digital Playback Volume'
                value.0 256
                value.1 256
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 256'
                        dbmin -9999999
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.7 {
                iface MIXER
                name 'Front Playback Volume'
                value.0 256
                value.1 256
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 256'
                        dbmin -9999999
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.8 {
                iface MIXER
                name 'Surround Playback Volume'
                value.0 256
                value.1 256
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 256'
                        dbmin -9999999
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.9 {
                iface MIXER
                name 'Center/LFE Playback Volume'
                value.0 256
                value.1 256
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 256'
                        dbmin -9999999
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.10 {
                iface MIXER
                name 'Side Playback Volume'
                value.0 256
                value.1 256
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 256'
                        dbmin -9999999
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.11 {
                iface MIXER
                name 'Master Capture Volume'
                value.0 256
                value.1 256
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 256'
                        dbmin -9999999
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.12 {
                iface MIXER
                name 'PCM Capture Volume'
                value.0 256
                value.1 256
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 256'
                        dbmin -9999999
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.13 {
                iface MIXER
                name 'Line Capture Volume'
                value.0 256
                value.1 256
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 256'
                        dbmin -9999999
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.14 {
                iface MIXER
                name 'Mic Capture Volume'
                value.0 256
                value.1 256
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 256'
                        dbmin -9999999
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.15 {
                iface MIXER
                name 'IEC958 Capture Volume'
                value.0 256
                value.1 256
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 256'
                        dbmin -9999999
                        dbmax 0
                        dbvalue.0 0
                        dbvalue.1 0
                }
        }
        control.16 {
                iface MIXER
                name 'PCM Capture Switch'
                value false
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.17 {
                iface MIXER
                name 'Line Capture Switch'
                value false
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.18 {
                iface MIXER
                name 'Mic Capture Switch'
                value false
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.19 {
                iface MIXER
                name 'IEC958 Capture Switch'
                value false
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.20 {
                iface MIXER
                name 'Digital Playback Switch'
                value false
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.21 {
                iface MIXER
                name 'Front Playback Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.22 {
                iface MIXER
                name 'Surround Playback Switch'
                value true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.23 {
                iface MIXER
                name 'Center/LFE Playback Switch'
                value false
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.24 {
                iface MIXER
                name 'Side Playback Switch'
                value false
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.25 {
                iface PCM
                device 4
                name 'IEC958 Playback Mask'
                value ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                comment {
                        access read
                        type IEC958
                        count 1
                }
        }
        control.26 {
                iface PCM
                device 4
                name 'IEC958 Playback Default'
                value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
                comment {
                        access 'read write'
                        type IEC958
                        count 1
                }
        }
        control.27 {
                iface PCM
                device 4
                name 'IEC958 Playback PCM Stream'
                value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
                comment {
                        access 'read write'
                        type IEC958
                        count 1
                }
        }
}
state.NVidia {
        control.1 {
                iface MIXER
                name 'IEC958 Playback Con Mask'
                value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
                comment {
                        access read
                        type IEC958
                        count 1
                }
        }
        control.2 {
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
                comment {
                        access read
                        type IEC958
                        count 1
                }
        }
        control.3 {
                iface MIXER
                name 'IEC958 Playback Default'
                value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
                comment {
                        access 'read write'
                        type IEC958
                        count 1
                }
        }
        control.4 {
                iface MIXER
                name 'IEC958 Playback Switch'
                value false
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.5 {
                iface PCM
                device 3
                name ELD
                value ''
                comment {
                        access read
                        type BYTES
                        count 0
                }
        }
        control.6 {
                iface MIXER
                name 'IEC958 Playback Con Mask'
                index 1
                value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
                comment {
                        access read
                        type IEC958
                        count 1
                }
        }
        control.7 {
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                index 1
                value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
                comment {
                        access read
                        type IEC958
                        count 1
                }
        }
        control.8 {
                iface MIXER
                name 'IEC958 Playback Default'
                index 1
                value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
                comment {
                        access 'read write'
                        type IEC958
                        count 1
                }
        }
        control.9 {
                iface MIXER
                name 'IEC958 Playback Switch'
                index 1
                value false
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.10 {
                iface PCM
                device 7
                name ELD
                value ''
                comment {
                        access read
                        type BYTES
                        count 0
                }
        }
        control.11 {
                iface MIXER
                name 'IEC958 Playback Con Mask'
                index 2
                value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
                comment {
                        access read
                        type IEC958
                        count 1
                }
        }
        control.12 {
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                index 2
                value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
                comment {
                        access read
                        type IEC958
                        count 1
                }
        }
        control.13 {
                iface MIXER
                name 'IEC958 Playback Default'
                index 2
                value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
                comment {
                        access 'read write'
                        type IEC958
                        count 1
                }
        }
        control.14 {
                iface MIXER
                name 'IEC958 Playback Switch'
                index 2
                value false
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.15 {
                iface PCM
                device 8
                name ELD
                value ''
                comment {
                        access read
                        type BYTES
                        count 0
                }
        }
        control.16 {
                iface MIXER
                name 'IEC958 Playback Con Mask'
                index 3
                value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
                comment {
                        access read
                        type IEC958
                        count 1
                }
        }
        control.17 {
                iface MIXER
                name 'IEC958 Playback Pro Mask'
                index 3
                value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
                comment {
                        access read
                        type IEC958
                        count 1
                }
        }
        control.18 {
                iface MIXER
                name 'IEC958 Playback Default'
                index 3
                value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
                comment {
                        access 'read write'
                        type IEC958
                        count 1
                }
        }
        control.19 {
                iface MIXER
                name 'IEC958 Playback Switch'
                index 3
                value false
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 1
                }
        }
        control.20 {
                iface PCM
                device 9
                name ELD
                value ''
                comment {
                        access read
                        type BYTES
                        count 0
                }
        }
}

If you need more info, just tell me.

Between "Mic" and "Digital" I need s/pdif-in and s/pdif-out but here I just have "s/pdif".

Thanks!

EDIT: Curiosly, in arch live, I configure the network, install alsa, and it works like a charm.

Last edited by Foxandxss (2012-04-01 20:22:28)

Offline

#2 2012-04-02 16:45:20

Foxandxss
Member
Registered: 2008-11-23
Posts: 16

Re: Lack of S/PDIF-in and S/PIDF-out controls

Ok, after some research, I discovered that it have to be with the kernel.

Tried ubuntu 12.04 live and new gentoo live (both uses recent kernels) and same stuff.

That's why mint (old kernel) and arch boot cd (old kernel) are working.

Since is lack of features, should I fill a bug somewhere?

Offline

#3 2012-04-02 23:56:13

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Lack of S/PDIF-in and S/PIDF-out controls

Yes. To be thorough I would systematically install kernel versions (from old Arch tarballs) until you can pinpoint the one that breaks your sound setup. Then I would see if Arch made any major change to the .config file between those two versions. If not, it's a kernel bug. Hopefully the people from kernel.org don't subsequently tell you to use git bisect to find the exact problematic commit.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#4 2012-04-03 00:08:31

Foxandxss
Member
Registered: 2008-11-23
Posts: 16

Re: Lack of S/PDIF-in and S/PIDF-out controls

I started filling a bug report on alsa, but I will explore the kernel stuff.

Offline

Board footer

Powered by FluxBB