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? 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.


You can add the line modprobe wacom to /etc/rc.local and it will get executed on boot with root privileges.

  • This would have it load relatively late in the boot sequence. – Salami Sep 29 '15 at 22:12
  • I find that the command has to be delayed a bit, eg: (sleep 15s && [your command...]) & – Yan King Yin Oct 21 '17 at 9:09
  1. Go to /etc/modules-load.d/

    cd /etc/modules-load.d
  2. Create a conf file with name ending in .conf for example wacom.conf

    sudo touch wacom.conf
  3. Inside /etc/modules-load.d/wacom.conf (use for example sudo nano wacom.conf; just write the name of the module you want to load ie, wacom
  4. Reboot and it will be loaded by systemd at boot time
  • This 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" – FreeSoftwareServers May 20 '20 at 7:33

add a line to /etc/modules with wacom

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.