Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No Volume control in alsamixer with Xonar Essence ST+H6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
sjr.gen
n00b
n00b


Joined: 17 Jan 2013
Posts: 2

PostPosted: Thu Jan 17, 2013 8:42 pm    Post subject: No Volume control in alsamixer with Xonar Essence ST+H6 Reply with quote

Hello everybody,

I have a Xonar Essence ST working perfectly under Gentoo.
Recently I bought an H6 daughterboard (for analog surround output) and the trouble began.

Even though alsamixer recognizes the combination correctly as Xonar ST+H6,
the (master) playback volume control is gone with the H6 connected.
According to the loudness, the volumes seems to be at maximum level and I can't change it.

While this isn't that bad for the surround output (I can adjust the volume at the external amplifier),
I can't use my headphones anymore.
So I need something like a master volume control in alsamixer and wonder why it isn't there.

I have a recent kernel (3.7.2), the sound driver (snd-virtuoso) built as module and alsa (lib, headers, utils) 1.0.25 / 1.0.26 installed.

Some more information about my system:
The results of the ALSA Information Script I ran today can be found here:
http://www.alsa-project.org/db/?f=2d7c211b5d08103b717494f1506502540a6a48e5

Since there is no Master/PCM mixer control, setting the volume with amixer doesn't work either:
Code:
$ amixer set Master 3dB-
amixer: Unable to find simple control 'Master',0


I read about problems with the Xonar Essence ST Deluxe (which equals ST+H6) mixer controls requiring I2C communication here:
http://git.opencores.org/?a=commitdiff&p=linux&h=dd203fa97bd5df18dbb0af5acf3e9a8beea33f74

But I don't know, if this also addresses my problem with the master volume control.

If you need more information, please let me know.
Thanks in advance
Back to top
View user's profile Send private message
sjr.gen
n00b
n00b


Joined: 17 Jan 2013
Posts: 2

PostPosted: Sun Jan 20, 2013 3:59 pm    Post subject: Status information Reply with quote

The volume controls are still gone, but as a temporary workaround, I extended my ~/.asoundrc file and tried to adjust everything in there.
Code:
$ cat ~/.asoundrc
# Inspired by http://wiki.ubuntuusers.de/.asoundrc
# 2013-01-19

pcm.snd_card {
        type hw
        card 0
        device 0
}

ctl.snd_card {
        type hw
        card 0
        device 0
}

pcm.dmixer_head {            # one mixer for stereo signals
    type dmix
    ipc_key 1023
    ipc_perm 0666
    slave.pcm "snd_card"
    slave {
        period_time 0
        period_size 1024
        buffer_size 8192
        rate 44100
        channels 2
    }
    bindings {
        0 0
        1 1
    }
}

pcm.dmixer_surr {            # and another mixer for surround signals
    type dmix
    ipc_key 1025
    ipc_perm 0666
    slave.pcm "snd_card"
    slave {
        period_time 0                                                                                 
        period_size 1024                                                                             
        buffer_size 8192                                                                             
        rate 44100                                                                                   
        channels 6                                                                                   
    }                                                                                                 
    bindings {                                                                                       
        0 0                                                                                           
        1 1                                                                                           
        2 2                                                                                           
        3 3
        4 4
        5 5
    }
}

pcm.headphone {
     type route
     slave.pcm "dmixer_head"
     slave.channels 2
     ttable.0.0 0.003          # remap with much less volume
     ttable.1.1 0.003          # ...
}

pcm.upmix {
     type route
     slave.pcm "dmixer_surr"
     slave.channels 6
     ttable.0.0 1            # distribute stereo signal on surround channels
     ttable.1.1 1
     ttable.0.2 1
     ttable.1.3 1
     ttable.0.4 0.5
     ttable.1.4 0.5
     ttable.0.5 0.5
     ttable.1.5 0.5
}

pcm.surr {
     type route
     slave.pcm "dmixer_surr"
     slave.channels 6
     ttable.0.0 1
     ttable.1.1 1
     ttable.2.2 1
     ttable.3.3 1
     ttable.4.4 1
     ttable.5.5 1
}

pcm.!default {
    type plug
    slave.pcm "headphone"    # headphone with stereo source
    #slave.pcm "upmix"       # surround set with stereo source
    #slave.pcm "surr"        # surround set with surround source
}


Any help to get (back) the volume control in alsamixer is highly appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum