1. In an ssh session, not running a GUI:
Code: Select all
$ sudo amixer cset numid=3 1
numid=3,iface=MIXER,name='PCM Playback Route'
; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0
: values=1
Code: Select all
$ sudo amixer cset numid=3 2
numid=3,iface=MIXER,name='PCM Playback Route'
; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0
: values=2Code: Select all
$ sudo amixer cget numid=3
numid=3,iface=MIXER,name='PCM Playback Route'
; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0
: values=2Mute/unmute works ok with numid=2 1 or 0. So that hasn't changed.
Volume control is broken now as well.
Code: Select all
$ sudo amixer cset numid=1 -- -400
numid=1,iface=MIXER,name='PCM Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=-10239,max=400,step=0
: values=-10239
| dBscale-min=-102.39dB,step=0.01dB,mute=1Code: Select all
$ sudo amixer cset numid=1 -- 100
numid=1,iface=MIXER,name='PCM Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=-10239,max=400,step=0
: values=-10239
| dBscale-min=-102.39dB,step=0.01dB,mute=1Code: Select all
$ sudo amixer cget numid=1
numid=1,iface=MIXER,name='PCM Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=-10239,max=400,step=0
: values=-10239
| dBscale-min=-102.39dB,step=0.01dB,mute=1
Code: Select all
$ sudo amixer -v
amixer version 1.0.252. Running in LXDE in a VNC session.
So far so good, when I start a VNC session and use the GUI over VNC, opening up LXTerminal and typing exactly the same commands in gies me something different:
Code: Select all
$ sudo amixer cset numid=3 1
Clinet is not authorized to connect to Serverxcb_connection_has_error() returned true
numid=3,iface=MIXER,name='PCM Playback Route'
; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0
: values=1
/dev/snd is root:root but the contents are root:audio. My user, pi, is a member of the audio group, and has been able to run these commands previously.
Sorry it's so long, better to have too much info than not enough? Appreciate any help.
Thanks.
Cheers,
Norm.