[alsa-devel] using 'type softvol' in a card conf file in /usr/share/alsa/cards, am i doing this right?

John L. Utz III john.utz at dmx.com
Tue Jun 5 00:23:06 CEST 2007


Hello;

I am working with an CMEDIA 8738-MC6 and i am trying to gain control of
the second DAC by way of softvolume. but i seem to not be succeeding
because my application cant find my 'Rear' control, am i doing this
correctly?

the original /usr/share/alsa/cards/CMI8738-MC6.conf

CMI8738-MC6.pcm.rear.0 {
	@args [ CARD ]
	@args.CARD {
		type string
	}
	type hw
	card $CARD
	device 1
}

i have modified it to look thusly: notice that the type is now softvol
and the original hardware description is encapsulated in slave.pcm

# 2nd DAC
CMI8738-MC6.pcm.rear.0 {
        @args [ CARD ]
        @args.CARD {
                type string
        }
        type softvol
        slave.pcm {
                type hw
                card $CARD
                device 1
        }
        control {
                name "Rear Playback Volume"
                card $CARD
        }
}

Shouldnt i now be able to see 'Rear Playback Volume' in the output of
amixer controls ??

as it stands right now, i can not. what am i doing incorrectly?

tnx!

johnu




More information about the Alsa-devel mailing list