[alsa-devel] External sound card issue
Ionica Bizau
bizauionica at yahoo.com
Wed Jan 22 14:51:33 CET 2014
Hi Clemens and Raymond,
First of all please tell me if this can be fixed. I can be patient and wait until you fix it but if it's not possible I will return the external audio card to the shop.
Here you see the alsa information: http://www.alsa-project.org/db/?f=869ec0f1ade49a17bc50e9f62a1e8881f7b4cf91
(just uploaded it)
Below you have the commands and their output:
ionicabizau at laptop:~$ amixer -c1 controls
numid=7,iface=MIXER,name='PCM Capture Source'
numid=5,iface=MIXER,name='PCM Capture Switch'
numid=6,iface=MIXER,name='PCM Capture Switch',index=1
numid=4,iface=MIXER,name='IEC958 In Playback Switch'
numid=3,iface=MIXER,name='Input Gain Pad Control'
numid=1,iface=MIXER,name='Speaker Playback Switch'
numid=2,iface=MIXER,name='Speaker Playback Volume'
ionicabizau at laptop:~$ amixer -c1 cget name='PCM Capture Source'
numid=7,iface=MIXER,name='PCM Capture Source'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'Unit 22'
; Item #1 'Unit 22'
amixer: Control hw:1 element read error: Broken pipe
ionicabizau at laptop:~$ amixer -c1 cget name='PCM Capture Switch'
numid=5,iface=MIXER,name='PCM Capture Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
ionicabizau at laptop:~$ amixer -c1 cget name='PCM Capture Switch'
numid=5,iface=MIXER,name='PCM Capture Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
ionicabizau at laptop:~$ amixer -c1 cget name='IEC958 In Playback Switch'
numid=4,iface=MIXER,name='IEC958 In Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=off
ionicabizau at laptop:~$ amixer -c1 cget name='Input Gain Pad Control'
numid=3,iface=MIXER,name='Input Gain Pad Control'
; type=BOOLEAN,access=rw------,values=2
: values=off,off
ionicabizau at laptop:~$ amixer -c1 cget name='Speaker Playback Switch'
numid=1,iface=MIXER,name='Speaker Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
ionicabizau at laptop:~$ amixer -c1 cget name='Speaker Playback Volume'
numid=2,iface=MIXER,name='Speaker Playback Volume'
; type=INTEGER,access=rw---R--,values=8,min=0,max=127,step=0
: values=107,107,107,107,107,107,107,107
| dBminmax-min=-127.00dB,max=0.00dB
On Monday, January 20, 2014 3:01 PM, Raymond Yau <superquad.vortex2 at gmail.com> wrote:
2014/1/20 Clemens Ladisch <clemens at ladisch.de>
Ionica Bizau wrote:
>> I have just bought an external sound card: Asus Xonar U7
>>
>
>> cannot load mixer controls: Broken pipe
>
>This looks like a bug in the device's firmware.
>
>Can you at least read the list of controls ("amixer -c1 controls")?
>Are there some controls that you are able to access (try
>"amixer -c1 cget name='xxx'" for each one)?
>
>
alsactl store -f abc.txt
alsactl: get_control:256: Cannot read control '2,0,0,PCM Capture Source,0': Broken
[ 398.119996] cannot get ctl value: req = 0x81, wValue = 0x0, wIndex = 0x1400, type = 3
seem fail to read the capture source control
state.Device {
control.1 {
iface PCM
name 'Playback Channel Map'
value.0 0
value.1 0
comment {
access read
type INTEGER
count 2
range '0 - 36'
}
}
control.2 {
iface PCM
device 1
name 'Playback Channel Map'
value.0 0
value.1 0
comment {
access read
type INTEGER
count 2
range '0 - 36'
}
}
control.3 {
iface MIXER
name 'PCM Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.4 {
iface MIXER
name 'PCM Playback Switch'
index 1
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.5 {
iface MIXER
name 'PCM Playback Volume'
value.0 107
value.1 107
value.2 107
value.3 107
value.4 107
value.5 107
value.6 107
value.7 107
comment {
access 'read write'
type INTEGER
count 8
range '0 - 127'
dbmin -12700
dbmax 0
dbvalue.0 -2000
dbvalue.1 -2000
dbvalue.2 -2000
dbvalue.3 -2000
dbvalue.4 -2000
dbvalue.5 -2000
dbvalue.6 -2000
dbvalue.7 -2000
}
}
control.6 {
iface MIXER
name 'Mic Capture Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.7 {
iface MIXER
name 'Line Capture Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.8 {
iface MIXER
name 'PCM Capture Source'
value Mic
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Mic
item.1 Line
}
}
}
More information about the Alsa-devel
mailing list