Arch Linux
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)
#2 2012-06-25 23:48:43
Re: HDMI Output, No Volume Control
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
#3 2012-06-25 23:54:21
Re: HDMI Output, No Volume Control
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)
Arch Linux
I’m having trouble getting pam_mount to mount a CIFS drive on login. I’ve setup the pam login module to include pam_mount and allowed user .pam_mount.conf.xml files. When I log in with debugging turned on I see a message saying «no volumes to mount.» I’ve tested that I can properly mount the cifs manually. The password for the user and the cifs mount are definitely the same. Any ideas?
This has been tested and works:
# sudo mount.cifs //nearspace1/cwoodruf ~/nearspace -o username=jpl/cwoodruf,sec=ntlmv2
Mar 2 14:09:08 localhost login[48797]: (rdconf1.c:701): path to luserconf set to /home/cwoodruf/.pam_mount.conf.xml Mar 2 14:09:08 localhost login[48797]: (pam_mount.c:365): pam_mount 2.13: entering auth stage Mar 2 14:09:08 localhost login[48797]: pam_unix(login:session): session opened for user cwoodruf by LOGIN(uid=0) Mar 2 14:09:08 localhost login[48797]: (rdconf1.c:701): path to luserconf set to /home/cwoodruf/.pam_mount.conf.xml Mar 2 14:09:08 localhost login[48797]: (pam_mount.c:554): pam_mount 2.13: entering session stage Mar 2 14:09:08 localhost login[48797]: (misc.c:39): Session open: (ruid/rgid=0/0, e=0/0) Mar 2 14:09:08 localhost login[48797]: (pam_mount.c:602): going to readconfig /home/cwoodruf/.pam_mount.conf.xml Mar 2 14:09:08 localhost login[48797]: (pam_mount.c:615): no volumes to mount Mar 2 14:09:08 localhost login[48797]: command: 'pmvarrun' '-u' 'cwoodruf' '-o' '1' Mar 2 14:09:08 localhost login[48798]: (misc.c:39): set_myuid: (ruid/rgid=0/0, e=0/0) Mar 2 14:09:08 localhost login[48798]: (misc.c:39): set_myuid: (ruid/rgid=0/0, e=0/0) Mar 2 14:09:08 localhost login[48797]: (pam_mount.c:441): pmvarrun says login count is 1 Mar 2 14:09:08 localhost login[48797]: (pam_mount.c:646): done opening session (ret=0)
#%PAM-1.0 auth required pam_securetty.so auth requisite pam_nologin.so auth required pam_unix.so nullok auth required pam_tally.so onerr=succeed file=/var/log/faillog auth optional pam_mount.so try_first_pass # use this to lockout accounts for 10 minutes after 10 failed attempts auth required pam_tally.so deny=10 unlock_time=600 onerr=succeed file=/var/log/faillog account required pam_access.so account required pam_time.so account required pam_unix.so #password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3 #password required pam_unix.so sha512 shadow use_authtok password optional pam_mount.so session required pam_unix.so session optional pam_mount.so session required pam_env.so session required pam_motd.so session required pam_limits.so session optional pam_mail.so dir=/var/spool/mail standard session optional pam_lastlog.so session optional pam_loginuid.so -session optional pam_ck_connector.so nox11 -session optional pam_systemd.so
Arch Linux
both do not report any error, but have no effect on volume either. `alsamixer` shows a single channel called "Master" which remains unchanged.
Last edited by Ploppz (2019-08-08 09:22:04)
#2 2019-08-08 08:04:09
Re: [Solved] Cannot set volume through amixer
Also +1 is a one volume step increment from potentially high increments, if you have a big step range a step of +1 will be almost inaudible
Last edited by V1del (2019-08-09 09:35:29)
#3 2019-08-08 08:35:51
Re: [Solved] Cannot set volume through amixer
$ aplay -lL null Discard all samples (playback) or generate zero samples (capture) jack JACK Audio Connection Kit pulse PulseAudio Sound Server default Default ALSA Output (currently PulseAudio Sound Server) hdmi:CARD=Generic,DEV=0 HD-Audio Generic, HDMI 0 HDMI Audio Output hdmi:CARD=Generic,DEV=1 HD-Audio Generic, HDMI 1 HDMI Audio Output hdmi:CARD=Generic,DEV=2 HD-Audio Generic, HDMI 2 HDMI Audio Output usbstream:CARD=Generic HD-Audio Generic USB Stream Output sysdefault:CARD=Generic_1 HD-Audio Generic, ALC257 Analog Default Audio Device front:CARD=Generic_1,DEV=0 HD-Audio Generic, ALC257 Analog Front speakers surround21:CARD=Generic_1,DEV=0 HD-Audio Generic, ALC257 Analog 2.1 Surround output to Front and Subwoofer speakers surround40:CARD=Generic_1,DEV=0 HD-Audio Generic, ALC257 Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Generic_1,DEV=0 HD-Audio Generic, ALC257 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Generic_1,DEV=0 HD-Audio Generic, ALC257 Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Generic_1,DEV=0 HD-Audio Generic, ALC257 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Generic_1,DEV=0 HD-Audio Generic, ALC257 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers usbstream:CARD=Generic_1 HD-Audio Generic USB Stream Output sysdefault:CARD=Audio ThinkPad Dock USB Audio, USB Audio Default Audio Device front:CARD=Audio,DEV=0 ThinkPad Dock USB Audio, USB Audio Front speakers surround21:CARD=Audio,DEV=0 ThinkPad Dock USB Audio, USB Audio 2.1 Surround output to Front and Subwoofer speakers surround40:CARD=Audio,DEV=0 ThinkPad Dock USB Audio, USB Audio 4.0 Surround output to Front and Rear speakers surround41:CARD=Audio,DEV=0 ThinkPad Dock USB Audio, USB Audio 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Audio,DEV=0 ThinkPad Dock USB Audio, USB Audio 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Audio,DEV=0 ThinkPad Dock USB Audio, USB Audio 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Audio,DEV=0 ThinkPad Dock USB Audio, USB Audio 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=Audio,DEV=0 ThinkPad Dock USB Audio, USB Audio IEC958 (S/PDIF) Digital Audio Output usbstream:CARD=Audio ThinkPad Dock USB Audio USB Stream Output **** List of PLAYBACK Hardware Devices **** card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: Audio [ThinkPad Dock USB Audio], device 0: USB Audio [USB Audio] Subdevices: 0/1 Subdevice #0: subdevice #0
$ amixer -c0 Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958',1 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958',2 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on]
Edit: Actually, now I realize that sound doesn't work at all (it did previously), although any channels in `alsamixer` are unmuted and have volume.
Also, I just realized that I do have pulseaudio, because it was installed as a dependency of zoom. In `pavucontrol`, it shows that there is audio. But I cannot hear anything.
Last edited by Ploppz (2019-08-08 08:46:10)