The officially official Devuan Forum!

You are not logged in.

#1 Re: Desktop and Multimedia » XBell (beep) muted or disabled on Xorg (daedalus) » 2025-01-13 12:38:06

and I was wrong, fresh install doesn't help.
however DM enables the beep for some reason, but I'm not using one.
still chimaera works fine so there must be some kind of difference in firing the X session...

#2 Re: Desktop and Multimedia » XBell (beep) muted or disabled on Xorg (daedalus) » 2025-01-13 12:35:04

@stargate-sg1-cheyenne-mtn: you are right, you should stick to haiku. smile

#3 Re: Desktop and Multimedia » XBell (beep) muted or disabled on Xorg (daedalus) » 2025-01-12 17:17:55

aaah &*#%... fresh install works fine. it is upgrade glitch sad

#4 Re: Desktop and Multimedia » XBell (beep) muted or disabled on Xorg (daedalus) » 2025-01-12 11:49:46

yes, kbd driver seems to be proper way since, afaik, the bell/buzzer was initially attached to the physical keyboards back then. I will try again with kbd but keys mapping goes crazy.

platform-pcspkr-event-spkr symlink is correct, I checked permissions, groups, etc. all looks fine...

I'll send you the log, thanks!

#5 Re: Desktop and Multimedia » XBell (beep) muted or disabled on Xorg (daedalus) » 2025-01-12 09:26:05

hi ralph and thanks for looking into this!

I tried your suggestion but it didn't work hmm

also I think pc speaker should not be handled by kbd driver (which also strangely was not installed here "xserver-xorg-input-kbd", not sure if was upgrade glitch) because it ruined my keyboard mapping, all arrows/pgup/dn keys appear entirely different (not the keymap).

removed the driver line from xorg.conf and restarted, now I have this:

[  1385.287] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[  1385.287] (**) PC Speaker: Applying InputClass "PC Speaker"
[  1385.287] (II) No input driver specified, ignoring this device.

I also have 3 sound cards, one on the mb, which has loopback mixing, one usb audigy, which has only master vol and a strange hdmi interface.
I managed to set amixer -c2 sset 'Loopback Mixing' Enabled and xset b 50 but still no success sad

installed back pulseaudio and pipewire if they handle somewhere something but nothing happens.

a whole lot of ducks and few monsters around smile

I believe it should be evdev problem, beep command says

$ beep --verbose
beep: Verbose: evdev driver_detect 0x55e45ecdb700 (nil)
beep: Verbose: b-lib: opened /dev/input/by-path/platform-pcspkr-event-spkr as 3
beep: Verbose: beep: using driver 0x55e45ecdb700 (name=evdev, fd=3, dev=/dev/input/by-path/platform-pcspkr-event-spkr)
beep: Verbose: 1 times 200 ms beeps (100 ms delay between, 0 ms delay after) @ 440 Hz
beep: Verbose: evdev driver_begin_tone 0x55e45ecdb700 440
beep: Verbose: evdev driver_end_tone 0x55e45ecdb700
beep: Verbose: evdev driver_end_tone 0x55e45ecdb700
beep: Verbose: evdev driver_fini 0x55e45ecdb700

and it works. but maybe X does not use the same interface? I don't know how to debug evdev/eudev channels...

I wasted nearly day and a half already so I'm thinking to get fresh install on separate machine (I have lenovo tiny around) so I can see if it is install or upgrade glitch (or both).

thanks again!

#6 Re: Desktop and Multimedia » XBell (beep) muted or disabled on Xorg (daedalus) » 2025-01-11 21:59:56

@ralph.ronnquist: it is not terminal problem, they properly send XBell notifications, I can see them in xkbevd. I did check rxvt, xterm and gnome-terminal. The problem still exists and with X gui apps like Firefox, it beeps when you search for something which is not found on the current page... i.e. not beeping in my case smile

#7 Re: Desktop and Multimedia » XBell (beep) muted or disabled on Xorg (daedalus) » 2025-01-11 21:39:06

@RedGreen925: sorry, forgot to mention that I already checked that and console (text mode) beep works fine. just X ignores the bell events, well, at least audible...

@greenjeans: I don't use any DE, just X with window manager (icewm), so the problem is somewhere in the Xorg, not in apps (DEs). I even did try to run clean X without my xinitrc configuration (which is a lot) and still no beeps...

pretty strange, it worked fine for the last 25 years smile

#8 Re: Desktop and Multimedia » XBell (beep) muted or disabled on Xorg (daedalus) » 2025-01-11 20:44:27

@cade: We are talking about the old-school hardware PC speaker, not some soundcard emulation, right?
Is the pcspkr module loaded, and does 'beep' work? Do you have an appropriate evdev link (i.e. /dev/input/by-path/platform-pcspkr-event-spkr)?

@steve_v: yes, good plain pc speaker. nothing to do with soundcard, which I keep muted on the amp usually.
* yes, I have proper link in /dev
* also set bell-style audible in xinput
* pcspkr is loaded, tried to unload/load even without effect

but! console (text mode) beep works!
also 'beep' command in rxvt terminal beeps but I think this has nothing to do with X bell notify event (i.e. gui apps and terms)

I will check the thread you linked, thanks! I also suspect the bell handling is routed through the sound subsystem somewhere or muted, but still have no much progress of alsa/pulse/etc. digging...

I even had brief look at X sources... but this will be last resort smile)

thanks!

#9 Desktop and Multimedia » XBell (beep) muted or disabled on Xorg (daedalus) » 2025-01-11 18:39:50

cade
Replies: 16

hello!

today I upgraded my chimaera machine to the latest daedalus.

for my surprise, audible beep in Xorg via the pc speaker was muted or disabled somehow,
so bash will not alert in my rxvt, neither xterm nor gnome-terminal. even Firefox does
not beep on failed Ctrl+F search, f.e.

I tried everything:

xset b
xinput set bell-style audible
checked /dev/input links (seem correct)
pcspkr kernel module is loaded
xkbbell
xkbevd to check if XkbBellNotify fires (it fires but nothing audible)
apt purged pulseaudio and pipewire to avoid notification capture
...

strangely, beep works in text mode consoles (i.e. before running Xorg...)

has anyone noticed this? it is pretty annoying if you got used to beeps smile

I'd appreciate any ideas what to check next or how to fix this?

UPDATE: looks like using DM enables the beep (slim,xdm,lightdm...) but when not using one, just startx, it disappears...

thank you and have a great new year!
Vladi.
--

Board footer

Forum Software