Run modprobe on startup
Solution 1
You can add the line modprobe wacom
to /etc/rc.local
and it will get executed on boot with root privileges.
Solution 2
Check if you have a /etc/modules-load.d/wacom.conf
file. If not, run this command:
sudo -i
echo wacom > /etc/modules-load.d/wacom.conf
This will create a configuration file ending in .conf
and with content wacom
.
Reboot and it will be loaded by systemd at boot time.
Solution 3
Just edit the file /etc/modules
and add a new line with wacom
.
You can reboot to check if it works.
If you do not have /etc/modules
, try this one instead:
/etc/modules-load.d/modules.conf
Even if it should be not a problem since in Debian-like or Ubuntu-like ecc. they are symlinked.
Related videos on Youtube
ConfusedStack
Updated on September 18, 2022Comments
-
ConfusedStack over 1 year
I need to run
sudo modprobe wacom
at startup to prevent an unrecoverable kernel panic (a blackscreen drop to terminal with repeating 1second audio looping and zero responsiveness) from occurring when a standard Wacom Intous (CTH-480) tablet is plugged into USB port on stock Xubuntu 14.04 LTS. I believe mainline kernel fixed this issue some time ago.Where is the preferred location for this configuration? It must be run as
root
.I have seen this How to run scripts on start up? but I am unsure which answer would work for the required permission level of
modprobe
. -
Salami over 8 yearsThis would have it load relatively late in the boot sequence.
-
Yan King Yin over 6 yearsI find that the command has to be delayed a bit, eg:
(sleep 15s && [your command...]) &
-
FreeSoftwareServers about 4 yearsThis is the correct method. rc.local is deprecated and doesn't work correctly and I also found I needed to use sleep if I hacked it, but this method just works and is "proper"