You are not logged in.
Pages: 1
Hi,
I've tried to configure volume control bar with alsa in my machine. I have a asus sonar DSX. The master volume bar in alsamixer and kmix only works with analog output. I tried to figure out how i can configure softvol in asound file with no achieve.
i think the sound device has not hw volume control, not pvolume capability there.
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
aplay -l
lsmod
amixer
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default:CARD=DSX
Xonar DSX, Multichannel
Default Audio Device
sysdefault:CARD=DSX
Xonar DSX, Multichannel
Default Audio Device
front:CARD=DSX,DEV=0
Xonar DSX, Multichannel
Front speakers
surround21:CARD=DSX,DEV=0
Xonar DSX, Multichannel
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=DSX,DEV=0
Xonar DSX, Multichannel
4.0 Surround output to Front and Rear speakers
surround41:CARD=DSX,DEV=0
Xonar DSX, Multichannel
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=DSX,DEV=0
Xonar DSX, Multichannel
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=DSX,DEV=0
Xonar DSX, Multichannel
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=DSX,DEV=0
Xonar DSX, Multichannel
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=DSX,DEV=0
Xonar DSX, Multichannel
IEC958 (S/PDIF) Digital Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: DSX [Xonar DSX], device 0: Multichannel [Multichannel]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: DSX [Xonar DSX], device 1: Digital [Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
lsmod|grep snd
snd_virtuoso 45056 2
snd_oxygen_lib 36864 1 snd_virtuoso
snd_mpu401_uart 16384 1 snd_oxygen_lib
snd_rawmidi 28672 1 snd_mpu401_uart
snd_seq_device 16384 1 snd_rawmidi
snd_pcm 86016 1 snd_oxygen_lib
snd_timer 28672 1 snd_pcm
snd 65536 11 snd_timer,snd_pcm,snd_rawmidi,snd_virtuoso,snd_oxygen_lib,snd_mpu401_uart,snd_seq_device
soundcore 16384 1 snd
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right
Limits: Playback 135 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB] [on]
Front Right: Playback 255 [100%] [0.00dB] [on]
Rear Left: Playback 255 [100%] [0.00dB] [on]
Rear Right: Playback 255 [100%] [0.00dB] [on]
Front Center: Playback 255 [100%] [0.00dB] [on]
Woofer: Playback 255 [100%] [0.00dB] [on]
Side Left: Playback 255 [100%] [0.00dB] [on]
Side Right: Playback 255 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 61 - 127
Mono:
Front Left: Playback 127 [100%] [on]
Front Right: Playback 127 [100%] [on]
Simple mixer control 'Front Mic',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Line',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Mic',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Loopback',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Validity Check',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Aux',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'ADC Filter',0
Capabilities: cenum
Items: 'None' 'High-pass Filter'
Item0: 'None'
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] [off]
Simple mixer control 'Digital 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 'Input',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 165 - 255
Front Left: Capture 165 [0%]
Front Right: Capture 165 [0%]
Simple mixer control 'Level Control',0
Capabilities: cenum
Items: 'None' 'Peak Limiter' 'Automatic Level Control'
Item0: 'None'
Simple mixer control 'Noise Gate',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Stereo Upmixing',0
Capabilities: enum
Items: 'Front' 'Front+Surround' 'Front+Surround+Back' 'Front+Surround+Center/LFE' 'Front+Surround+Center/LFE+Back'
Item0: 'Front'
So, i guess the only think i can do is set softvol properly. Any ideas?
Alsa config is a very big ass pain to me because i dont understand quite well yet. The documentation i've read (alsa-project, alsa-opensrc) is slightly
ambiguous to me.
pcm.!default {
type plug
slave.pcm "softvol"
}
pcm.softvol {
type softvol
slave.pcm {
pcm "hw:0,1" ← that is digital device
}
control {
name "Altmaster"
card 0
}
}
any clues?
Thanks in advance.
Last edited by danichan (2016-05-22 23:18:06)
Offline
Pages: 1