<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=7561&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Migrated Trixie install not loading hwdb rules]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7561</link>
		<description><![CDATA[The most recent posts in [SOLVED] Migrated Trixie install not loading hwdb rules.]]></description>
		<lastBuildDate>Fri, 14 Nov 2025 10:58:26 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Migrated Trixie install not loading hwdb rules]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59608#p59608</link>
			<description><![CDATA[<p>@stultumanto, I have learnt from your summary, thanks for posting in detail how you resolved it.</p>]]></description>
			<author><![CDATA[dummy@example.com (g4sra)]]></author>
			<pubDate>Fri, 14 Nov 2025 10:58:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59608#p59608</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Migrated Trixie install not loading hwdb rules]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59599#p59599</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Someone tried to open a bug report about it several years ago, but Pottering himself closed it. He said it sounded &quot;like a support issue!&quot;</p></div></blockquote></div><p>More garbage produce by that asshole, small shock there.</p>]]></description>
			<author><![CDATA[dummy@example.com (RedGreen925)]]></author>
			<pubDate>Fri, 14 Nov 2025 03:49:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59599#p59599</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Migrated Trixie install not loading hwdb rules]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59594#p59594</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Debian have become rather fond of breaking changes made recently.</p></div></blockquote></div><p>I really began to suspect something had changed when I saw this header in <span class="bbc">/usr/lib/udev/hwdb.d/60-keyboard.hwdb</span>:</p><div class="codebox"><pre><code># Note: The format of the &quot;evdev:&quot; prefix match key is a contract between the
# rules file and the hardware data, it might change in later revisions to
# support more or better matches, it is not necessarily expected to be a stable
# ABI.</code></pre></div><p>The sheer number of posts about udev &amp; hwdb I found across the web suggests it&#039;s a huge source of frustration for Linux users. I remember it took me hours to figure out that my rules needed to be indented by <em>exactly one</em> space. I can&#039;t think of another parser that brittle. Even Python is more forgiving! <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> Someone tried to open a bug report about it several years ago, but Pottering himself closed it. He said it sounded &quot;like a support issue!&quot;</p>]]></description>
			<author><![CDATA[dummy@example.com (stultumanto)]]></author>
			<pubDate>Fri, 14 Nov 2025 02:32:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59594#p59594</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Migrated Trixie install not loading hwdb rules]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59591#p59591</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>but it must have been changed recently.</p></div></blockquote></div><p>Debian have become rather fond of breaking changes made recently. If you are lucky that showed up in a news file most people never see or read when the package with the breaking change was installed. Good to see you get it solved and actually posted the solution something that can be a rare occurrence on internet forums, thanks for doing it.</p>]]></description>
			<author><![CDATA[dummy@example.com (RedGreen925)]]></author>
			<pubDate>Fri, 14 Nov 2025 00:45:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59591#p59591</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Migrated Trixie install not loading hwdb rules]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59577#p59577</link>
			<description><![CDATA[<p>Thanks for sticking with the problem, g4sra. In fact, I think you are right. It appears that name is no longer valid. It worked for years, but it must have been changed recently. I searched through the predefined keyboard rules under <span class="bbc">/usr/lib/udev/60-keyboard.hwdb</span> and found a ruleset that matched the output of <span class="bbc">udevadm info</span> for my keyboard. I copied the string used with this ruleset into my own file, and it worked! This was the working string:</p><div class="codebox"><pre><code>evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAlienware*:pn*:*</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (stultumanto)]]></author>
			<pubDate>Thu, 13 Nov 2025 20:35:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59577#p59577</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Migrated Trixie install not loading hwdb rules]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59568#p59568</link>
			<description><![CDATA[<p>@stultumanto, the only other step I can think of is to confirm that the newer hwdb from Excalibur\Trixie does not already have a definition using that keyboard string.</p><p>(Im using Daedalus)</p><div class="codebox"><pre><code>strings /lib/udev/hwdb.bin | grep -E &#039;AT.*eyboard&#039;
AT91SAM HID Keyboard Demo Application</code></pre></div><p>Sorry I cannot help more.<br />I do not know how to &#039;udevadm monitor&#039; and hotplug a laptop keyboard <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>Just one thought, I have used\had my desktop re-map my keyboard on login...</p>]]></description>
			<author><![CDATA[dummy@example.com (g4sra)]]></author>
			<pubDate>Thu, 13 Nov 2025 18:17:56 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59568#p59568</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Migrated Trixie install not loading hwdb rules]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59566#p59566</link>
			<description><![CDATA[<p>Thanks for the suggestion, I hadn&#039;t thought about checking with strace. At least I know now that <span class="bbc">udevadm hwdb --update</span> is successfully opening and reading my .hwdb file:</p><div class="quotebox"><blockquote><div><p>openat(AT_FDCWD, &quot;/etc/udev/hwdb.d/99-keyboard.hwdb&quot;, O_RDONLY|O_CLOEXEC) = 3<br />fstat(3, {st_mode=S_IFREG|0644, st_size=68, ...}) = 0<br />read(3, &quot;evdev:name:AT Translated Set 2 k&quot;..., 4096) = 68<br />read(3, &quot;&quot;, 4096)&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;= 0<br />close(3)&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; = 0</p></div></blockquote></div><p>I checked the trace for the <span class="bbc">udevadm trigger</span> as well, but it didn&#039;t contain anything useful. I checked again to make sure I was using the right name for my keyboard, and it still appeared to be correct:</p><div class="codebox"><pre><code># udevadm info -a /dev/input/by-path/platform-i8042-serio-0-event-kbd 
    ...
    ATTRS{name}==&quot;AT Translated Set 2 keyboard&quot;</code></pre></div><p>I believe usrmerge was already applied in Trixie before I started the migration to Excalibur. I remember checking for the symlinks shortly after installing Debian.</p>]]></description>
			<author><![CDATA[dummy@example.com (stultumanto)]]></author>
			<pubDate>Thu, 13 Nov 2025 17:49:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59566#p59566</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Migrated Trixie install not loading hwdb rules]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59543#p59543</link>
			<description><![CDATA[<p>No experience of any of this, my comments below are worth exactly what you pay for them (nothing).</p><p>My first foray would be to investigate if usrmerge has broken something.<br />Make sure the files being accessed are the right files in the right place with appropriate permissions.<br />I would personally resort to &#039;strace udevadm ....&#039; as I am used to reading its output and catching unexpected behaviour.</p>]]></description>
			<author><![CDATA[dummy@example.com (g4sra)]]></author>
			<pubDate>Thu, 13 Nov 2025 11:44:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59543#p59543</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Migrated Trixie install not loading hwdb rules]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=59541#p59541</link>
			<description><![CDATA[<p>Tonight I migrated a Debian Trixie install to Excalibur using <a href="https://www.devuan.org/os/documentation/install-guides/excalibur/trixie-to-excalibur.html" rel="nofollow">the instructions on the Devuan site</a>. Almost everything seems to be working, except that my custom hwdb keyboard rules now aren&#039;t loading. They&#039;d been working on Debian before the migration, and they are still working on another partition on the same PC, which was always running Devuan. It seems something specific about the migration broke hwdb, though.</p><p>Unfortunately these rules are kind of important, because my left control key is entirely broken off. It&#039;s an old laptop, with no replacement keyboard available. I have a file at <span class="bbc">/etc/udev/hwdb.d/99-keyboard.hwdb</span> that remaps caps lock to left ctrl. Here&#039;s the contents of the file:</p><div class="codebox"><pre><code>evdev:name:AT Translated Set 2 keyboard:*
 KEYBOARD_KEY_3a=leftctrl</code></pre></div><p>(I cut down the rules to just this one for troubleshooting purposes.) I verified that the timestamp on <span class="bbc">/etc/udev/hwdb.bin</span> is being refreshed when I run <span class="bbc">udevadm hwdb --update</span>. In the past, running <span class="bbc">udevadm trigger</span> would always load any rule changes immediately. I could verify them with <span class="bbc">udevadm info /dev/input/by-path/platform-i8042-serio-0-event-kbd</span>. Now, however, nothing ever changes, not even after I reboot.</p><p>If it matters, I run pretty &quot;barebones&quot; systems. I don&#039;t have <span class="bbc">elogind</span> installed on my machines. However, I saw that installing it was part of the migration instructions, so I did as I was instructed. Still, I wonder if my system is too different from the expected configuration for the migration process to work properly. Maybe I should just start over from scratch at this point.</p>]]></description>
			<author><![CDATA[dummy@example.com (stultumanto)]]></author>
			<pubDate>Thu, 13 Nov 2025 11:10:30 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=59541#p59541</guid>
		</item>
	</channel>
</rss>
