i always have the warning message, and to me it is related to using
"numid=5", whatever the output index i use
[seijitsu@localhost ~]$ amixer -D hw:DSP cset numid=5 0,0,12222
Could not find the specified element
[seijitsu@localhost ~]$ ./hdspdump hw:DSP > mix6
[seijitsu@localhost ~]$ diff mix5 mix6
0a1
12222
8,9c9
< 0
< 0
---
12222
3336c3336
< 0
---
12222
6663c6663
< 0
---
12222
[seijitsu@localhost ~]$ amixer -D hw:DSP
cset numid=5 0,8,4321
Could not find the specified element
[seijitsu@localhost ~]$ ./hdspdump hw:DSP > mix7
[seijitsu@localhost ~]$ diff mix6 mix7
9c9
< 12222
---
4321
3336c3336
< 12222
---
4321
6663c6663
< 12222
---
4321
[seijitsu@localhost ~]$ amixer -D hw:DSP
Simple mixer control 'Line Out',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Emphasis Bit',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Input Connector',0
Capabilities: enum
Items: 'Optical' 'Coaxial' 'Internal'
Item0: 'Coaxial'
Simple mixer control 'IEC958 Non-audio Bit',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Output also on ADAT1',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Professional Bit',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'ADAT Lock Status',1
Capabilities: enum
Items: 'No Lock' 'Lock' 'Sync'
Item0: 'No Lock'
Simple mixer control 'ADAT Lock Status',2
Capabilities: enum
Items: 'No Lock' 'Lock' 'Sync'
Item0: 'No Lock'
Simple mixer control 'ADAT Lock Status',3
Capabilities: enum
Items: 'No Lock' 'Lock' 'Sync'
Item0: 'No Lock'
Simple mixer control 'ADAT Sync Lock Status',0
Capabilities: enum
Items: 'No Lock' 'Lock' 'Sync'
Item0: 'No Lock'
Simple mixer control 'Analog Extension Board',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'AutoSync Reference',0
Capabilities: enum
Items: 'Word' 'ADAT Sync' 'IEC958' 'None'
'ADAT1' 'ADAT2' 'ADAT3'
Item0: 'None'
Simple mixer control 'External Rate',0
Capabilities: enum
Items: '32000' '44100' '48000' '64000' '88200'
'96000' 'None'
Item0: 'None'
Simple mixer control 'Preferred Sync Reference',0
Capabilities: enum
Items: 'Word' 'IEC958' 'ADAT1' 'ADAT Sync'
'ADAT2' 'ADAT3'
Item0: 'ADAT1'
Simple mixer control 'SPDIF Lock Status',0
Capabilities: enum
Items: 'No Lock' 'Lock' 'Sync'
Item0: 'No Lock'
Simple mixer control 'SPDIF Sample Rate',0
Capabilities: enum
Items: '32000' '44100' '48000' '64000' '88200'
'96000' 'None'
Item0: 'None'
Simple mixer control 'Sample Clock Source',0
Capabilities: enum
Items: 'AutoSync' 'Internal 32.0 kHz' 'Internal 44.1 kHz'
'Internal
48.0 kHz' 'Internal 64.0 kHz' 'Internal 88.2 kHz' 'Internal 96.0
kHz'
Item0: 'Internal 48.0 kHz'
Simple mixer control 'Sample Clock Source Locking',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'System Clock Mode',0
Capabilities: enum
Items: 'Master' 'Slave'
Item0: 'Master'
Simple mixer control 'System Sample Rate',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 0
Mono: 0 [0%]
Simple mixer control 'Word Clock Lock Status',0
Capabilities: enum
Items: 'No Lock' 'Lock' 'Sync'
Item0: 'No Lock'
2013/12/1, Fons Adriaensen <fons(a)linuxaudio.org>rg>:
On Sun, Dec 01, 2013 at 09:13:46PM +0100, raf wrote:
thanks for sharing your scripts, very useful to
me !
In fact i've been fooled myself with system messages doing this :
[seijitsu@localhost ~]$ amixer -D hw:DSP cset numid=5 0,8,12222
Could not find the specified element
For a Multiface the error would make sense as there is no mixer
output with index 8.
Ciao,
--
FA
A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)