You are not logged in.

#1 2012-02-29 23:02:24

10robinho
Member
Registered: 2011-12-18
Posts: 34

[SOLVED] HDMI sound mixer, volume control. Is it possible?

Hi,

Is it possible to have sound volume control mixer when system is connected with HDMI cable?

when connected to speakers, there is mixer and I can control volume, but not with the HDMI.

Thanks!

Last edited by 10robinho (2012-03-19 18:39:03)

Offline

#2 2012-03-01 08:39:03

teekay
Member
Registered: 2011-10-26
Posts: 271

Re: [SOLVED] HDMI sound mixer, volume control. Is it possible?

What HDMI hardware do you have? (My nVidia does provide a volume control)

Offline

#3 2012-03-01 10:01:50

10robinho
Member
Registered: 2011-12-18
Posts: 34

Re: [SOLVED] HDMI sound mixer, volume control. Is it possible?

I have HD 6310 card onboard with AMD e-350.

I there any software volume mixer or something?

Offline

#4 2012-03-01 11:39:32

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] HDMI sound mixer, volume control. Is it possible?

To show all output devices you could run alsamixer and press F5, or run:

alsamixer -V all

If it's not in there (since the HDMI port comes from your (onboard) video card), maybe you can press F6 and select it. Then remember what the channel is called and try running these a few times:

# amixer set YourChannelName 5%+
# amixer set YourChannelName 5%-

--- Or this if you're using Pulseaudio (GNOME) on top of ALSA:

# amixer -D pulse set YourChannelName 5%+
# amixer -D pulse set YourChannelName 5%-

If you use Openbox you can easily create hotkeys: https://wiki.archlinux.org/index.php/Op … me_control. I have mine set to change the "Master" channel on Ctrl+Up and Ctrl+Down and the media players I'm using to change their volume with just the Up and Down keys. Works very well for me.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-03-01 11:59:00

10robinho
Member
Registered: 2011-12-18
Posts: 34

Re: [SOLVED] HDMI sound mixer, volume control. Is it possible?

I don't understand what are you trying to say, I don't have any volume control on HDMI output, only at stereo output.

EDIT: It looks like I have to implemement this: http://alsa.opensrc.org/Softvol

this is my .asoundrc

pcm.!default {
  type hw
  card 1
  device 3
}

but I don't get how to configure it with softvol... any examples or suggestions?

this is NOT working for me:

pcm.hdmi_hw {
  type hw
  card 1     # <--- card number
  device 3   # <--- device number
}

pcm.hdmi_formatted {
  type plug
  slave {
    pcm hdmi_hw
    rate 48000
    channels 2
  }
}

pcm.hdmi_complete {
  type softvol
  slave.pcm hdmi_formatted
  control.name hdmi_volume
  control.card 1
}

Thanks

EDIT:

after some time, I've found solution. It is really simple, I had to define default pcm.

pcm.hdmi_hw {
  type hw
  card 1     # <--- card number
  device 3   # <--- device number
}

pcm.hdmi_complete {
  type softvol
  slave.pcm hdmi_hw 
  control.name hdmi_volume
  control.card 1
}

pcm.!default hdmi_complete 

Last edited by 10robinho (2012-03-19 18:38:44)

Offline

Board footer

Powered by FluxBB