Found cause of dead mouse at startup
Gradually fixing these bugs! I posted a list of issues several days ago:
- Next-generation EasyOS 6.94 V7pre-alpha — June 24, 2025
Many bugs have been fixed, including the broken network tray applet, see recent post:
- Proper fix for network tray applet — July 03, 2025
Another bug was the mouse pointer being frozen for several seconds after the desktop starts. I was immensely puzzled by that, until today...
I had a hunch that it might be something to do with udev, so
compiled the Xorg server without udev support, thinking that is
the most likely culprit. Good news, the devx sfs works. Also good
news, the mouse pointer worked immediately.
Took a closer look at the kernel message log (ran dmesg), and saw
this:
Starting hot-plug events dispatcher: udevd1 ... (warning).
Waiting 15 seconds and trying to continue anyway ... (warning).
A search revealed this warning about 15 second wait is in
/etc/init.d/eudev
Looking at part of that script:
NAME="udevd"
DAEMON="/sbin/udevd"
DAEMON_ARGS="--daemon"
...
log_daemon_msg "Starting $DESC" "$NAME"
if start-stop-daemon --start --name $NAME --exec $DAEMON --quiet \
-- $DAEMON_ARGS; then
log_end_msg $?
else
log_warning_msg $?
log_warning_msg "Waiting 15 seconds and trying to continue anyway"
sleep 15
fi
So, why does starting udevd return a non-zero error code?
Ah, of course. EasyOS starts 'udevd' in /etc/rc.d/rc.sysinit, so
that /etc/init.d/eudev clashes. The eudev script needs to be
removed!
Likely the package that has this script is 'eudev'. To confirm,
reinstalled it:
# apt install eudev --reinstall
Then found the .deb at /var/cache/apt/archives -- yes, the .deb
has etc/init.d/eudev
woofQ2 has a mechanism for modifying .deb packages when they
install. woofq2/builtin/deb/fixes has these, as the folder name
says, "fixes". So what I need to do is create a folder 'eudev' in
there, then a file named 'FIXUPHACK', and in that file just have
"rm -f etc/init.d/eudev"
Tags: easy