[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT, Ubuntu Sound Trouble



Can anyone tell me why I get permission problems on the below command?
I found this command on-line while searching for any sort of solution to get 
audio back:
sudo pactl set-sink-mute @DEFAULT_SINK@ toggle
I made it into a bash script and ran
sudo bash file.sh
Here's a copy of the command and the error:
lenny@lenny-desktop:~$ sudo bash unmutetoggle.sh 
graphic 192 Home directory not accessible: Permission denied

Connection failure: Connection refused
pa_context_connect() failed: Connection refused 
graphic 545 lenny@lenny-desktop:~$
----- Original Message ----- 
From: "Jude DaShiell" <jdashiel@panix.com>
To: "K0LNY_Glenn" <glenn@ervin.email>; 
<debian-accessibility@lists.debian.org>
Sent: Tuesday, March 28, 2023 1:31 PM
Subject: Re: OT, Ubuntu Sound Trouble


You wouldn't get the feedback since it's over ssh.

-- 
Jude <jdashiel at panix dot com>
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and amo.
Please use in that order."
Ed Howdershelt 1940.

On Tue, 28 Mar 2023, K0LNY_Glenn wrote:

> Hi Jude,
> I did remove asound.state.lock, but there is no card 0 there.
> When running alsamixer, there is no choices that the arrow keys move to
> after pressing F6.
> It does say default PCM headphone, but I hear nothing else.
> Maybe I am not getting the feedback because it is over SSH.
> I've tried arrowing all directions and entering, and escaping, and still 
> no
> sound.
> What are some commands I can do to unmute everything and make sure the
> volume is all the way up?
> This Linux audio issue is disparaging in terms of Linux ever becoming a
> viable OS for the Blind.
> Glenn
> ----- Original Message -----
> From: "Jude DaShiell" <jdashiel@panix.com>
> To: "K0LNY_Glenn" <glenn@ervin.email>;
> <debian-accessibility@lists.debian.org>
> Sent: Tuesday, March 28, 2023 4:46 AM
> Subject: Re: OT, Ubuntu Sound Trouble
>
>
> In /var/lock, I have two files which I would probably erase if I were
> trying to get a sound card playing.  Those are card0.lock and
> asound.state.lock.  Then if on a gui system I'd run alsamixer and hit f6
> and choose a card from the list with arrows and enter then hit escape and
> then do speaker-test and see what happened.  If speaker-test worked, I'd
> then do alsactl store then reboot and see if the change held.
>
>
> -- Jude <jdashiel at panix dot com> "There are four boxes to be used in
> defense of liberty: soap, ballot, jury, and amo. Please use in that
> order." Ed Howdershelt 1940.
>
> On Mon, 27 Mar 2023, K0LNY_Glenn wrote:
>
> > Hi Jude,
> > Thanks for the idea, here's what came back:
> > lenny@lenny-desktop:~$ amixer sset pcm 100% unmute graphic 192 amixer:
> > Unable to find simple control 'pcm',0
> >
> > lenny@lenny-desktop:~$ aplay -l
> > graphic 545 **** List of PLAYBACK Hardware Devices ****
> >
> > card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> > card 0: PCH [HDA Intel PCH], device 1: ALC283 Digital [ALC283 Digital]
> >   Subdevices: 1/1
> > graphic 545   Subdevice #0: subdevice #0
> >
> > card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> > ----- Original Message -----
> > From: "Jude DaShiell" <jdashiel@panix.com>
> > To: "K0LNY_Glenn" <glenn@ervin.email>;
> > <debian-accessibility@lists.debian.org>
> > Sent: Monday, March 27, 2023 6:57 PM
> > Subject: Re: OT, Ubuntu Sound Trouble
> >
> >
> > It may be running pcm in that case you might try amixer Set PCM 100%
> > unmute
> > also check /var/lock/alsa for any files ending in .lck and then try to
> > configure and if you get sound alsactl store.
> >
> >
> > -- Jude <jdashiel at panix dot com> "There are four boxes to be used in
> > defense of liberty: soap, ballot, jury, and amo. Please use in that
> > order." Ed Howdershelt 1940.
> >
> > On Mon, 27 Mar 2023, K0LNY_Glenn wrote:
> >
> > > Hi Group,
> > > I have a desktop with Ubuntu 18.something, and I don't want to upgrade
> > > the
> > > dist because a newer Python will break my Chirp program that I use for
> > > programming my radios.
> > > But it boots, and I can SSH into it, but I get no audio.
> > > I test it several ways,
> > > aplay file-name
> > > speaker-test
> > > espeak test
> > > I tried:
> > > amixer sset Master 100% unmute
> > > and
> > > amixer sset Headphone 100% unmute
> > > and no errors, but still no audio.
> > > It boots up to the desktop, and I tried to manually run orca, but it
> > > must
> > > already be running.
> > > This is a 64 bit desktop with 8 GB of RAM.
> > > It has two headphone jacks, and I'm testing both of them, in case the
> > > audio
> > > decided to switch outputs, which it has done before.
> > > Does anyone have any other ideas I can try?
> > > Alsamix is not too screenreader friendly via ssh.
> > > I don't know if I installed something recently that did this, like 
> > > maybe
> > > a
> > > ham radio program.
> > >
> > > Thanks.
> > >
> > > Glenn
> > >
> > >
> >
> >
>
>


Reply to: