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

Re: Darn 'beep' stoped working after installing Stretch in place of Jessie



Maybe modprobe pcspkr might be helpful too.

On Tue, 1 Aug 2017, Henrique de Moraes Holschuh wrote:

Date: Tue, 1 Aug 2017 11:24:05
From: Henrique de Moraes Holschuh <hmh@debian.org>
To: debian-user@lists.debian.org
Subject: Re: Darn 'beep' stoped working after installing Stretch in place of
    Jessie
Resent-Date: Tue,  1 Aug 2017 15:24:25 +0000 (UTC)
Resent-From: debian-user@lists.debian.org

On Tue, 01 Aug 2017, Dejan Jocic wrote:
On 01-08-17, RavenLX wrote:
Having it work out-of-the-box would be nice. After a fresh install, I have a
bash script I run that installs all the apps I use and configures them.
Sometimes though, there are things that a user needs to answer. Thus, if I
want to have the script running and go do something else, I want to "beep"
when it's going to need attention by the user. I noticed this does not work
in Stretch so I ended up removing the part to install the "beep" package and
use beep to alert the user. I have tried escape codes via echo -e as well,
and no beep there either.

Does printf "\a" works for you? Though, echo -e "\a" works here too.

If it doesn't, you likely must fiddle with "digital beep" controls in
the sound subsystem.  Check alsa (alsactl, amixer...) and pulse audio
(pauvcontrol).  And try it from an xterm or the Linux text-mode console
just to make sure the beep ioctl is actually being issued...



--


Reply to: