Re: Unable to permanently mute OpenBSD keyboard

2023-02-05 Thread Cristian Danila
Many many thanks!
It seems the solution is a combination of two commands and only
working if added in rc.local(so no wsconsctl .conf)

wsconsctl -f /dev/wskbd1 keyboard.bell.volume.default=0
wsconsctl -f /dev/wskbd1 keyboard.bell.volume=0

Thank you.

On Sun, Feb 5, 2023 at 2:07 PM Crystal Kolipe
 wrote:
>
> On Sun, Feb 05, 2023 at 01:59:34PM +0200, Cristian Danila wrote:
> > After many tried and attempts, I was not able to find a way to permanently
> > disable openbsd keyboard "beep". Reading in different books about this:
> >
> > adding keyboard.bell.volume=0 into /etc/wsconsctl.conf
> > adding wsconsctl -f /dev/wskbd1 keyboard.bell.volume=0 into /etc/rc.local
> >
> > Nothing really works permanently.
> >
> > I do use an KVM to control multiple machines and it seems these settings are
> > persistent only till I switch to another machine and when I come back,
> > beep is also back again. As far i see, when the keyboard/mouse are 
> > reconnected
> > (due to kvm switch), the beep is back.
> >
> > Any idea if it is possible to mute it once forever?
>
> I'm not in front of a machine that I can test this on, but you could try:
>
> keyboard.bell.volume.default=0



Re: Unable to permanently mute OpenBSD keyboard

2023-02-05 Thread Crystal Kolipe
On Sun, Feb 05, 2023 at 01:59:34PM +0200, Cristian Danila wrote:
> After many tried and attempts, I was not able to find a way to permanently
> disable openbsd keyboard "beep". Reading in different books about this:
> 
> adding keyboard.bell.volume=0 into /etc/wsconsctl.conf
> adding wsconsctl -f /dev/wskbd1 keyboard.bell.volume=0 into /etc/rc.local
> 
> Nothing really works permanently.
> 
> I do use an KVM to control multiple machines and it seems these settings are
> persistent only till I switch to another machine and when I come back,
> beep is also back again. As far i see, when the keyboard/mouse are reconnected
> (due to kvm switch), the beep is back.
> 
> Any idea if it is possible to mute it once forever?

I'm not in front of a machine that I can test this on, but you could try:

keyboard.bell.volume.default=0



Unable to permanently mute OpenBSD keyboard

2023-02-05 Thread Cristian Danila
Hello,

After many tried and attempts, I was not able to find a way to permanently
disable openbsd keyboard "beep". Reading in different books about this:

adding keyboard.bell.volume=0 into /etc/wsconsctl.conf
adding wsconsctl -f /dev/wskbd1 keyboard.bell.volume=0 into /etc/rc.local

Nothing really works permanently.

I do use an KVM to control multiple machines and it seems these settings are
persistent only till I switch to another machine and when I come back,
beep is also back again. As far i see, when the keyboard/mouse are reconnected
(due to kvm switch), the beep is back.

Any idea if it is possible to mute it once forever?

Thank you.