You are not logged in.
Pages: 1
I am using XFCE with alsa/dmix (no pulseaudio). Using the wiki instructions here I got HDMI output working: https://wiki.archlinux.org/index.php/Al … _on_or_off.
This works OK (with one modification in the switcher script to restart alsa using systemctl), I get sound out of my tv via hdmi. However I have NO volume control with xfce-mixer or alsamixer. None of the channels have any effect, they both only list one sound device. Any way to get this working? So close to having this setup perfectly 
Last edited by bwat47 (2012-06-25 23:09:28)
Offline

This may be obvious ... but have you tried the F6 menu in alsamixer?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
This may be obvious ... but have you tried the F6 menu in alsamixer?
yes, no luck. it only shows intel hda 0, which is controlling my laptop's sound, but has no effect on the hdmi output. I tried manually entering in the device name (hw:0,3 which is my hdmi output as shown by aplay -l), but no dice alsamixer says device not found. I don't understand how I can get hdmi output working, aplay shows my hdmi device, but alsamixer refuses to?
here's my aplay output if that helps:
[brandon@brandon-linux ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269VB Analog [ALC269VB Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[brandon@brandon-linux ~]$ Last edited by bwat47 (2012-06-25 23:58:15)
Offline
what about....
aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav????
Offline
Check this out;
https://bbs.archlinux.org/viewtopic.php?id=136790
Offline
Check this out;
https://bbs.archlinux.org/viewtopic.php?id=136790
thanks, that looks promising, but I'm a bit confused about what exactly I should change. This is the current config that runs when my hdmi is connected:
pcm.!default {
    type plug
    slave.pcm "dmixer"
}
pcm.dsp0 {
    type plug
    slave.pcm "dmixer"
}
pcm.dmixer {
    type dmix
    ipc_key 1024             
    ipc_key_add_uid 0
    ipc_perm 0666                
    slave {
        pcm "hw:0,3"    # HDMI CARD AND DEVICE
        period_time 0
        period_size 1024
        buffer_size 8192
        rate 48000 #or 44100
    }   
}
ctl.dmixer {
    type hw
    card 0
}And here's the solution he posted:
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 Do I add that onto my current one, totally replace my current one, or modify parts of it?
Offline
You could try and incorporate this part;
pcm.hdmi_complete {
  type softvol
  slave.pcm hdmi_hw 
  control.name hdmi_volume
  control.card 1
}And there's a logic to that part, HDMI audio is digital so there's no other way to change the volume than with some kind of software (softvol), as I've understood it. I've configured my players to do that for me instead.
EDIT; But read this about HDMI audio (a bit down);
http://ubuntuforums.org/showthread.php?t=1053751
Last edited by swanson (2012-06-26 15:27:00)
Offline
You could try and incorporate this part;
pcm.hdmi_complete { type softvol slave.pcm hdmi_hw control.name hdmi_volume control.card 1 }And there's a logic to that part, HDMI audio is digital so there's no other way to change the volume than with some kind of software (softvol), as I've understood it. I've configured my players to do that for me instead.
EDIT; But read this about HDMI audio (a bit down);
http://ubuntuforums.org/showthread.php?t=1053751
alright, I'll look into that thanks 
Offline

Did this post actually end up resolved?
My issue is almost identical. I'm using HDMI, but I managed to get audio working, just that not with multiple applications...
cat /etc/asound.conf
defaults.pcm.rate_converter "samplerate_best"
pcm.dmixer {
    type dmix
    ipc_key 1024
    ipc_key_add_uid 0
    ipc_perm 0660
}
pcm.dsp {
    type plug
    slave.pcm "dmix"
}
ctl.equal {
    type equal;
}
pcm.plugequal {
    type equal;
    # Modify the line below if you do not
    # want to use sound card 0.
    #slave.pcm "plughw:0,0";
    #by default we want to play from more sources at time:
    slave.pcm "plug:dmix";
}
#pcm.equal {
    # If you don't want the equalizer to be your
    # default soundcard comment the following
    # line and uncomment the above line. (You can
    # choose it as the output device by addressing
    # it with specific apps,eg mpg123 -a equal 06.Back_In_Black.mp3)
pcm.!default {
    type plug;
    slave.pcm plugequal;
}cat ~/.asoundrc 
pcm.!default {
    type hw
    card 0
    device 3
}
pcm.dsp {
    type plug
    slave.pcm "dmix"
}aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: VT1708S Digital [VT1708S Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 2: VT1708S HP [VT1708S HP]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0"The ecological crisis is a moral issue."
Offline
Did this post actually end up resolved?
My issue is almost identical. I'm using HDMI, but I managed to get audio working, just that not with multiple applications...
cat /etc/asound.conf defaults.pcm.rate_converter "samplerate_best" pcm.dmixer { type dmix ipc_key 1024 ipc_key_add_uid 0 ipc_perm 0660 } pcm.dsp { type plug slave.pcm "dmix" } ctl.equal { type equal; } pcm.plugequal { type equal; # Modify the line below if you do not # want to use sound card 0. #slave.pcm "plughw:0,0"; #by default we want to play from more sources at time: slave.pcm "plug:dmix"; } #pcm.equal { # If you don't want the equalizer to be your # default soundcard comment the following # line and uncomment the above line. (You can # choose it as the output device by addressing # it with specific apps,eg mpg123 -a equal 06.Back_In_Black.mp3) pcm.!default { type plug; slave.pcm plugequal; }cat ~/.asoundrc pcm.!default { type hw card 0 device 3 } pcm.dsp { type plug slave.pcm "dmix" }aplay -l **** List of PLAYBACK Hardware Devices **** card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 1: VT1708S Digital [VT1708S Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 2: VT1708S HP [VT1708S HP] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0
I ended up giving up trying to get this working with alsa and ended up using pulseaudio.
Offline
Pages: 1