Da ja bekanntermaßen die Xonar DG keine automatische Umschaltung auf den Frontpanel-Kopfhörer kennt/kann, suche ich ein (amixer?)-Script zum "toggeln" zwischen Lautsprecher und Kopfhörer.
Bisher funktioniert qasmixer da gut, nur etwas umständlich aufzurufen/umzustellen. Eine lange Google-Suche brachte leider kein befriedigendes Ergebnis.
klaus@indus:~$ amixer Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch pswitch-joined Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 255 [100%] [0.00dB] [on] Front Right: Playback 255 [100%] [0.00dB] [on] Simple mixer control 'Front Mic',0 Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0 Capture channels: Front Left - Front Right Limits: Capture -24 - 24 Front Left: Capture -24 [0%] [-12.00dB] [off] Front Right: Capture -24 [0%] [-12.00dB] [off] Simple mixer control 'Line',0 Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0 Capture channels: Front Left - Front Right Limits: Capture -24 - 24 Front Left: Capture -24 [0%] [-12.00dB] [off] Front Right: Capture -24 [0%] [-12.00dB] [off] Simple mixer control 'Mic',0 Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0 Capture channels: Front Left - Front Right Limits: Capture -24 - 24 Front Left: Capture -24 [0%] [-12.00dB] [on] Front Right: Capture -24 [0%] [-12.00dB] [on] Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'IEC958 Loopback',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958 Validity Check',0 Capabilities: cswitch cswitch-joined Capture channels: Mono Mono: Capture [off] Simple mixer control 'Aux',0 Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0 Capture channels: Front Left - Front Right Limits: Capture -24 - 24 Front Left: Capture -24 [0%] [-12.00dB] [off] Front Right: Capture -24 [0%] [-12.00dB] [off] Simple mixer control 'ADC High-pass Filter',0 Capabilities: cenum Items: 'Active' 'Frozen' Item0: 'Active' Simple mixer control 'Analog Input Monitor',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 1 Mono: Playback 1 [100%] [0.00dB] [on] Simple mixer control 'Analog Output',0 Capabilities: penum Items: 'Stereo Headphones' 'Stereo Headphones FP' 'Multichannel' Item0: 'Multichannel' Simple mixer control 'Digital Input Monitor',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 1 Mono: Playback 0 [0%] [-6.00dB] [off] Simple mixer control 'Stereo Upmixing',0 Capabilities: enum Items: 'Front' 'Front+Surround' Item0: 'Front+Surround'