Tiny Core Base > Corepure64
How do I get rid of udev messages during boot?
Rich:
Hi nurbles
--- Quote from: nurbles on August 02, 2023, 08:17:40 AM --- ... I will look for that file and try to remove the rules that should never have been included ...
--- End quote ---
I would remove the whole file. Here is why.
The first 6 rules simply exit the rules file:
--- Code: ---# udev rules for libwacom supported devices
ACTION=="remove", GOTO="libwacom_end"
KERNEL!="event[0-9]*", GOTO="libwacom_end"
# HUION and GAOMON consumer and system control devices are not tablets.
ATTRS{name}=="* Consumer Control", GOTO="libwacom_end"
ATTRS{name}=="* System Control", GOTO="libwacom_end"
# Match all serial wacom tablets with a serial ID starting with WACf
ENV{ID_BUS}=="tty|pnp", ATTRS{id}=="WACf*", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", GOTO="libwacom_end"
ENV{ID_BUS}=="tty|pnp", ATTRS{id}=="FUJ*", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", GOTO="libwacom_end"
--- End code ---
The next rule is the source of the errors:
--- Code: ---# use the /sys/class/input/eventXXX/device/modalias as lookup key, prefixed
# by libwacom:<device name>:
# This lookup key is a contract between the udev rules and the hwdb entries.
# It is not considered public API and may change.
KERNELS=="input*", IMPORT{builtin}="hwdb --subsystem=input '--lookup-prefix=libwacom:name:$attr{name}:'"
--- End code ---
This rule relies on the previous rule setting a variable, which never runs:
--- Code: ---# We can't unset properties through the hwdb but we can set them to zero.
# So let's have a rule that converts the 0 properties to unset ones.
ENV{ID_INPUT_JOYSTICK}=="0", ENV{ID_INPUT_JOYSTICK}=""
--- End code ---
This is where the first 6 rules jump to to exit:
--- Code: ---LABEL="libwacom_end"
--- End code ---
So aside from generating some error messages, the file does nothing.
To remove the file:
--- Code: ---tce-load -wil squashfs-tools.tcz
mkdir libwacom
cd libwacom
cp /etc/sysconfig/tcedir/optional/libwacom.tcz .
unsquashfs libwacom.tcz
rm -f squashfs-root/usr/local/share/libwacom/files/65-libwacom.rules
mksquashfs squashfs-root libwacom.tcz -noappend
mv libwacom.tcz /etc/sysconfig/tcedir/optional/
rm -f /etc/sysconfig/tcedir/optional/libwacom.tcz.md5.txt
cd ..
rm -rf libwacom
--- End code ---
The md5 file gets removed so the modified libwacom.tcz can't get
replaced if update apps is run.
nurbles:
Wow! Thanks Rich! Those instructions worked perfectly and saved hours of searching (and hand wringing while I debated whether my interpretations of what I found was correct!) :)
Navigation
[0] Message Index
[*] Previous page
Go to full version