Re: Beep on Backspace in Console Sessions

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

 



Hey Janina,

as Joseph suggested I would first check that the kernel driver pcspkr is
compiled as a module.

The answer is yes if this command gives an output:
lsmod|grep pcspkr

You coule also check the output of:
zgrep INPUT_PCSPKR /proc/config.gz
Here it gives:
CONFIG_INPUT_PCSPKR=m

If this module is provided, check that you have in /etc/inputrc:

set bell-style audible (the argument should not be "visible" or "none")

If this module is not provided you need to rebuild your kernel or use one that
provides it.

If you have this module but not the needed hardware you could use this software:
https://github.com/Hawk777/abeep

It is available for Arch in the AUR:
https://aur.archlinux.org/packages/abeep-git

I built it in Slint, it works and relies on the libasound.so shared library from
alsa

But what I don't know is how to tell bash to replace the call to pcspkr by
/usr/bin/bell and "man readline" did not give me a clue :(

there is also a beep software:
https://github.com/spkr-beep/beep also available on Arch:
https://archlinux.org/packages/extra/x86_64/beep/

It works here (TM) but also needs a the pcspkr module and the hardware.

Cheers


Le 27/05/2023 à 08:42, Janina Sajka a écrit :
> Dear All:
> 
> I'm wondering whether it's still supported in alsa?
> 
> Yes, in ancient history, with speakers in the computer case just for a
> beep on backspace, the old pcskpr module did the trick.
> 
> Then those speakers disappeared, but alsa-lib gave us an snd-beep module
> (as I recall). I'm not finding that module these days, and I'm wondering
> wheter it's just not getting compiled for some reason? Or has it really
> been dropped.
> 
> I know most fot the sighted world hates that beep on backspace. That's
> partly why it's quite hard to google for this question. I don't mind if
> it's off by default, but it should be something those of us who find it
> beneficial should be able to turn on, imo.
> 
> Anyone know.
> 
> Janina
> 




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]

  Powered by Linux