<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=7017&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=7017</link>
		<description><![CDATA[The most recent posts in XBell (beep) muted or disabled on Xorg (daedalus).]]></description>
		<lastBuildDate>Mon, 13 Jan 2025 12:38:06 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54065#p54065</link>
			<description><![CDATA[<p>and I was wrong, fresh install doesn&#039;t help. <br />however DM enables the beep for some reason, but I&#039;m not using one. <br />still chimaera works fine so there must be some kind of difference in firing the X session...</p>]]></description>
			<author><![CDATA[dummy@example.com (cade)]]></author>
			<pubDate>Mon, 13 Jan 2025 12:38:06 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54065#p54065</guid>
		</item>
		<item>
			<title><![CDATA[Re: XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54064#p54064</link>
			<description><![CDATA[<p>@stargate-sg1-cheyenne-mtn: you are right, you should stick to haiku. <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (cade)]]></author>
			<pubDate>Mon, 13 Jan 2025 12:35:04 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54064#p54064</guid>
		</item>
		<item>
			<title><![CDATA[Re: XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54062#p54062</link>
			<description><![CDATA[<p>thanks for letting thread visitors know that this was another &quot;upgrade versus fresh-install&quot; conundrum.</p><p>while i humbly and respectfully acknowledge that not _everyone_ is able to do a fresh-install(whether from lacking hardware and/or skills and/or willingness), nevertheless a fresh install is by far best.</p><p>should this be a poem or haiku?</p>]]></description>
			<author><![CDATA[dummy@example.com (stargate-sg1-cheyenne-mtn)]]></author>
			<pubDate>Mon, 13 Jan 2025 08:24:01 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54062#p54062</guid>
		</item>
		<item>
			<title><![CDATA[Re: XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54047#p54047</link>
			<description><![CDATA[<p>aaah &amp;*#%... fresh install works fine. it is upgrade glitch <img src="http://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></description>
			<author><![CDATA[dummy@example.com (cade)]]></author>
			<pubDate>Sun, 12 Jan 2025 17:17:55 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54047#p54047</guid>
		</item>
		<item>
			<title><![CDATA[Re: XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54041#p54041</link>
			<description><![CDATA[<p>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.</p><p>platform-pcspkr-event-spkr symlink is correct, I checked permissions, groups, etc. all looks fine...</p><p>I&#039;ll send you the log, thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (cade)]]></author>
			<pubDate>Sun, 12 Jan 2025 11:49:46 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54041#p54041</guid>
		</item>
		<item>
			<title><![CDATA[Re: XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54040#p54040</link>
			<description><![CDATA[<p>However wrong it is, the PC Speaker appears as an input device and is handled by the kbd module, or more specifically, Xorg looks for a keyboard device that handles bell. I think the idea is that the XBell event is actually like a KeyPress event and should be handled along the keyboard event handling path.</p><p>In any case, the kbd module is the only device handler for &quot;bell&quot; I&#039;ve been able to find. You could also try the &quot;evdev&quot; module as driver. Xorg doesn&#039;t really care, but &quot;libinput&quot; doesn&#039;t recognise the &quot;PC Speaker&quot; device, so no driver gets installed.</p><p>I&#039;m not sure how that could affect the &quot;real&quot; keyboard handling. The short of it is that Xorg has to install a driver for that device in order to use it.</p><p>The device, /dev/inputevent7 for you, is linked up by udev as /dev/input/by-path/platform-pcspkr-event-spkr (which you will find is a symbolic link to ../event7), and that&#039;s thus the same destination character device. But the missing link is for Xorg to install a (keyboard) driver that would have interest in the bell event(s).</p><p>EDIT: actually if you could share your Xorg.0.log with me, e.g. upload it to <span class="bbc"><a href="https://transfer.rrq.au" rel="nofollow">https://transfer.rrq.au</a></span> so I could havea glance and maybe get some inspiration.... Xorg.0.log is found in either <span class="bbc">/var/log/</span> (if Xorg is run as root) or in <span class="bbc">~/.local/share/xorg/</span> if Xorg is run by non-root user). Or email it to me.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sun, 12 Jan 2025 11:07:01 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54040#p54040</guid>
		</item>
		<item>
			<title><![CDATA[Re: XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54039#p54039</link>
			<description><![CDATA[<p>hi ralph and thanks for looking into this!</p><p>I tried your suggestion but it didn&#039;t work <img src="http://dev1galaxy.org/img/smilies/hmm.png" width="15" height="15" alt="hmm" /> </p><p>also I think pc speaker should not be handled by kbd driver (which also strangely was not installed here &quot;xserver-xorg-input-kbd&quot;, not sure if was upgrade glitch) because it ruined my keyboard mapping, all arrows/pgup/dn keys appear entirely different (not the keymap).</p><p>removed the driver line from xorg.conf and restarted, now I have this:</p><div class="codebox"><pre><code>[  1385.287] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[  1385.287] (**) PC Speaker: Applying InputClass &quot;PC Speaker&quot;
[  1385.287] (II) No input driver specified, ignoring this device.</code></pre></div><p>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.<br />I managed to set amixer -c2 sset &#039;Loopback Mixing&#039; Enabled and xset b 50 but still no success <img src="http://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>installed back pulseaudio and pipewire if they handle somewhere something but nothing happens.</p><p>a whole lot of ducks and few monsters around <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>I believe it should be evdev problem, beep command says</p><div class="codebox"><pre><code>$ 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</code></pre></div><p>and it works. but maybe X does not use the same interface? I don&#039;t know how to debug evdev/eudev channels...</p><p>I wasted nearly day and a half already so I&#039;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).</p><p>thanks again!</p>]]></description>
			<author><![CDATA[dummy@example.com (cade)]]></author>
			<pubDate>Sun, 12 Jan 2025 09:26:05 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54039#p54039</guid>
		</item>
		<item>
			<title><![CDATA[Re: XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54036#p54036</link>
			<description><![CDATA[<p>I looked into this a bit and found a fair few ducks to line up before it worked both in console and Xorg.</p><p>For bell sound by the &quot;xkbbell&quot; command I needed to</p><ul><li><p>add a special <span class="bbu">&quot;InputClass&quot; configuration snippet</span> that tells Xorg to use the &quot;kbd&quot; module (from <span class="bbc">xserver-xorg-input-kbd</span>) for the &quot;PC Speaker&quot; device;</p></li><li><p>configure Xorg to bell with 50% volume rather than 0%, and</p></li><li><p>enable loopback for the sound card.</p></li></ul><p>My special configuration snippet <span class="bbc">/etc/X11/xorg.conf.d/pcspkeaker.conf</span> is</p><div class="codebox"><pre><code>Section &quot;InputClass&quot;
	Identifier  &quot;PC Speaker&quot;
	MatchProduct &quot;PC Speaker&quot;
	Driver      &quot;kbd&quot;
EndSection</code></pre></div><p> You can use the &quot;lsinput&quot; command (from <span class="bbc">input-utils</span>) to verify the name (i.e. the MatchProduct string) of the device. You also need to restart Xorg for loading the snippet.</p><p>The Xorg bell volume would be raised with an &quot;xset&quot; xommand:<br /><span class="bbc"># xset b 50</span></p><p>Loopback enabling might also be a command:</p><div class="codebox"><pre><code>$ amixer sset &#039;Loopback Mixing&#039; Enabled</code></pre></div><p> though the actuals of that does depend on the soundcard; use a plain &quot;amixer&quot; command and guess from that.</p><p>I also needed that loopback enabling to hear a console bell.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sun, 12 Jan 2025 04:42:35 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54036#p54036</guid>
		</item>
		<item>
			<title><![CDATA[Re: XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54035#p54035</link>
			<description><![CDATA[<p>Yes, you&#039;re right. The XkbBellNotify event is generated but nothing handles it to make the noise.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sat, 11 Jan 2025 22:32:58 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54035#p54035</guid>
		</item>
		<item>
			<title><![CDATA[Re: XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54034#p54034</link>
			<description><![CDATA[<p>@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 <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (cade)]]></author>
			<pubDate>Sat, 11 Jan 2025 21:59:56 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54034#p54034</guid>
		</item>
		<item>
			<title><![CDATA[Re: XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54033#p54033</link>
			<description><![CDATA[<p>Each terminal emulator has its own code to handle keyboard input and character output/display. Some of them have configurable properties to &quot;re-enable&quot; audible bell and some don&#039;t.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sat, 11 Jan 2025 21:48:43 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54033#p54033</guid>
		</item>
		<item>
			<title><![CDATA[Re: XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54032#p54032</link>
			<description><![CDATA[<p>@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...</p><p>@greenjeans: I don&#039;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...</p><p>pretty strange, it worked fine for the last 25 years <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (cade)]]></author>
			<pubDate>Sat, 11 Jan 2025 21:39:06 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54032#p54032</guid>
		</item>
		<item>
			<title><![CDATA[Re: XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54028#p54028</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>@cade: We are talking about the old-school hardware PC speaker, not some soundcard emulation, right?<br />Is the pcspkr module loaded, and does &#039;beep&#039; work? Do you have an appropriate evdev link (i.e. /dev/input/by-path/platform-pcspkr-event-spkr)?</p></div></blockquote></div><p>@steve_v: yes, good plain pc speaker. nothing to do with soundcard, which I keep muted on the amp usually.<br />* yes, I have proper link in /dev<br />* also set bell-style audible in xinput<br />* pcspkr is loaded, tried to unload/load even without effect</p><p>but! console (text mode) beep works!<br />also &#039;beep&#039; command in rxvt terminal beeps but I think this has nothing to do with X bell notify event (i.e. gui apps and terms)</p><p>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... </p><p>I even had brief look at X sources... but this will be last resort <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" />)</p><p>thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (cade)]]></author>
			<pubDate>Sat, 11 Jan 2025 20:44:27 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54028#p54028</guid>
		</item>
		<item>
			<title><![CDATA[Re: XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54027#p54027</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>checkbox at the bottom for enabling system sounds.</p></div></blockquote></div><p>&quot;system sounds&quot; are not the same as the dedicated <em>PC speaker</em> bell.</p><p>@cade: We are talking about the old-school hardware PC speaker, not some soundcard emulation, right?<br />Is the pcspkr module loaded, and does &#039;beep&#039; work? Do you have an appropriate evdev link (i.e. /dev/input/by-path/platform-pcspkr-event-spkr)?</p><p>You&#039;re not the first to ask after this here, see <span class="bbu"><a href="https://dev1galaxy.org/viewtopic.php?id=6295" rel="nofollow">this</a></span> thread.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Sat, 11 Jan 2025 20:28:31 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54027#p54027</guid>
		</item>
		<item>
			<title><![CDATA[Re: XBell (beep) muted or disabled on Xorg (daedalus)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54026#p54026</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>hello!</p><p>today I upgraded my chimaera machine to the latest daedalus.</p><p>for my surprise, audible beep in Xorg via the pc speaker was muted or disabled</p></div></blockquote></div><p>Distributions have taken to black listing the pcspkr module as it some kind of inconvenience to be alerted to potential problems, the noise offends their sensibilites. </p><div class="codebox"><pre><code>To get your beep in the console back.
https://askubuntu.com/questions/19906/beep-in-shell-script-not-working

edit the /etc/modprobe.d/blacklist.conf and comment out the black listing of
the pcspkr module.

# ugly and loud noise, getting on everyone&#039;s nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr</code></pre></div><p>Put a # in front of the blacklist pcspkr and on next boot the module should load. A <strong>modprobe pcspkr</strong> as root or using sudo in front should load it and have it available without the reboot.</p>]]></description>
			<author><![CDATA[dummy@example.com (RedGreen925)]]></author>
			<pubDate>Sat, 11 Jan 2025 20:13:55 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54026#p54026</guid>
		</item>
	</channel>
</rss>
