[alsa-devel] Intel card master and PCM channels doesn't work

Takashi Iwai tiwai at suse.de
Thu Aug 13 11:37:43 CEST 2009


[Please don't drop Cc to alsa-devel ML]

At Thu, 13 Aug 2009 11:27:29 +0300,
Mantas Pilipavičius wrote:
> 
> So I can play a sound with this command:
> speaker-test -Dhw:0,0 -c2 -twav
> 
> I edit my asound.rc:
> nano -w ~/.asoundrc and nano -w /etc/asound.conf 
> 
> With this:
> 
> pcm.softvol {
>     type            softvol
>     slave {
>         pcm         "hw:0,0"
>     }
>     control {
>         name        "Garsas"
>         card        0
>     }
> }
> 
> And the I try:
> 
> speaker-test -Dsoftwol -c2 -twav
> 
> And it doesn't work.

Elaborate what doesn't work how.

> Sorry to disturb you and consume your precious time, but
> I am new to open source and really need this.

What about if you run without -Dxxx option?
Usually PCM volume should be created as a softvol if not exists.


Takashi



> On Thu, Aug 13, 2009 at 11:14 AM, Takashi Iwai <tiwai at suse.de> wrote:
> 
>     At Thu, 13 Aug 2009 10:55:38 +0300,
>     Mantas Pilipavičius wrote:
>     >
>     > Can you explain more detailed? What is data manipulation?
>    
>     You need to change all the stream data multiplying the volume
>     gain/attenuation in software because you hardware gives no volume
>     control by itself.
>    
>     In the case of alsa-lib, it's softvol plugin.  Or, if you use PA,
>     PA does it automatically.
> 
>     Takashi
>    
>     > On Thu, Aug 13, 2009 at 8:41 AM, Takashi Iwai <tiwai at suse.de> wrote:
>     >
>     >     At Thu, 13 Aug 2009 00:39:48 +0300,
>     >     Mantas Pilipavičius wrote:
>     >     >
>     >     > http://www.alsa-project.org/db/?f=
>     >     afa01dd48ed59d895d18407af62dbd1fa138686c
>     >     > Everything works great, I can play the sound, but PCM and Master
>     >     channels
>     >     > don't work, so I can't increase or decrease volume. Only thing I
>     can do
>     >     is
>     >     > mute/unmute PCM channel
>     >
>     >     This hardware has no volume control indeed.
>     >     The volume has to be adjusted in software by data manipulation.
>     >
>     >     Takashi
>     >
>     >
> 
> 


More information about the Alsa-devel mailing list