sodcalculator

10 Tech How-To

Fix Linux Not Detecting Drawing Tablet

Guide 10-47087 · Updated · Step by step

If your drawing tablet shows no response in Linux, the fix usually involves checking kernel support, installing the right driver, and configuring the device in system settings. This guide walks you through the most common causes and solutions, from basic cable checks to driver installation and input configuration.

What You’ll Need

  • A Linux system with a desktop environment (GNOME, KDE, XFCE, etc.)
  • Your drawing tablet and its original USB cable (if applicable)
  • Internet access to download drivers or packages
  • A terminal emulator (usually preinstalled)
  • Administrative (sudo) privileges

Step-by-Step

  1. Check the physical connection. Ensure the tablet is plugged directly into a USB port on your computer, not a hub. Try a different port, preferably USB 2.0 or 3.0. If the tablet uses a proprietary cable, test with a known-good one.
  2. Verify the device is recognized by the kernel. Open a terminal and run lsusb. Look for your tablet’s vendor and product ID. If it appears, the kernel sees it. If not, try a different cable or port, or test the tablet on another computer to rule out hardware failure.
  3. Check kernel logs. Run dmesg | tail -20 after plugging in the tablet. Look for lines mentioning USB, input, or hid. If you see errors like “device descriptor read/64 error” or “unable to enumerate USB device”, the tablet may be drawing too much power or the cable is faulty.
  4. Install the appropriate driver. Most tablets work with the generic HID driver built into the kernel. However, some brands (like Wacom, Huion, XP-Pen) have dedicated drivers. For Wacom, install xf86-input-wacom (on X11) or use the built-in libinput support. For Huion and XP-Pen, you may need the digimend kernel driver. Install it via your package manager (e.g., sudo apt install digimend-dkms on Debian/Ubuntu, or sudo dnf install digimend-kmod on Fedora).
  5. Reboot after installing drivers. This ensures the kernel modules load correctly. After reboot, plug in the tablet and check lsusb again.
  6. Check input devices. Run ls /dev/input/ to see if event devices appear. You can also use sudo evtest to list input devices and test if the tablet sends events. If you see your tablet listed, the kernel is reading it.
  7. Configure the tablet in your desktop environment. Go to System Settings > Wacom Tablet (or Graphics Tablet) if you have one. If not, try installing a configuration tool like kde-config-tablet for KDE or gnome-settings-daemon for GNOME. Map the stylus to the screen and test pressure sensitivity.
  8. Test in a drawing application. Open GIMP, Krita, or Inkscape and try to draw. If the cursor moves but pressure doesn’t work, you may need to enable pressure in the app’s settings or set the tablet input mode to “Screen” instead of “Window”.
  9. If the tablet still isn’t detected, try a different USB protocol. Some tablets have a switch for USB or wireless. Ensure it’s set to USB. Also, try disconnecting and reconnecting the tablet after the system is fully booted.
  10. Consider using a userspace driver. For some tablets, especially Huion and XP-Pen, the official GUI drivers from the manufacturer may work better than the kernel driver. Download the Linux driver from the manufacturer’s website (they usually provide .deb or .rpm packages). Install it and run the configuration utility.

Common Mistakes

  • Using a USB hub. Hubs can cause power or enumeration issues. Always plug directly into the computer.
  • Forgetting to reboot after driver installation. Some drivers require a reboot to load kernel modules.
  • Assuming all tablets work out of the box. While many do, some require proprietary drivers or kernel modules.
  • Ignoring the cable. A damaged or low-quality cable can cause intermittent detection.
  • Not checking if the tablet is actually powered on. Some tablets have a physical power switch or require a button press to wake up.

Tips

  • Use lsusb -v to get detailed information about your tablet, including its bcdDevice (firmware version). This can help identify compatibility issues.
  • If you’re using a rolling release distribution (like Arch), ensure your kernel is up to date. Newer kernels often add support for newer tablets.
  • For pressure sensitivity in X11, you may need to set the Wacom driver in your Xorg configuration. Create a file like /etc/X11/xorg.conf.d/50-tablet.conf with the appropriate InputClass section.
  • If you’re using Wayland, some configuration tools may not work. Try switching to X11 for testing, or use a Wayland-compatible driver.
  • Join Linux tablet communities (e.g., the digimend GitHub page, or Linux on Reddit) for specific advice for your model.

Troubleshooting

  • If the tablet is detected but the cursor doesn’t move: Check if the stylus is paired (for wireless) or if the tablet’s active area is mapped to the correct monitor. Try recalibrating in the tablet settings.
  • If pressure sensitivity doesn’t work: In Krita, go to Settings > Configure Krita > Tablet Settings and ensure the input API is set to “Windows Ink” (for Windows) or “Linux Wacom” (for Linux). In GIMP, check Edit > Preferences > Input Devices and enable the tablet.
  • If the tablet works in one app but not another: The app may not have tablet support enabled. Check the app’s input settings.
  • If the tablet stops working after a system update: The kernel driver may have changed. Reinstall the digimend driver or check if a new version is available.
  • If lsusb shows the device but dmesg shows errors: Try a different USB port (preferably on the motherboard), or use a powered USB hub if the tablet draws too much power.
  • If nothing works: Try booting from a live USB of another Linux distribution (like Ubuntu or Fedora) to see if the tablet works there. If it does, the issue is with your installed system’s configuration. If it doesn’t, the tablet may be incompatible with Linux or faulty.

Frequently Asked Questions

Why does my tablet work on Windows but not Linux?

Most tablets are designed with Windows drivers in mind. Linux relies on generic HID drivers or community-developed drivers like digimend. Some features (like pressure sensitivity or custom buttons) may require additional configuration.

Do I need to install a driver for my Wacom tablet on Linux?

Modern Wacom tablets are usually supported by the kernel’s HID driver. However, for full functionality (like pressure sensitivity and button mapping), you may need to install xf86-input-wacom for X11 or use the built-in libinput support on Wayland.

What is the digimend driver and do I need it?

Digimend is a community-developed kernel driver that adds support for many Huion, XP-Pen, and other tablets that lack official Linux drivers. If your tablet isn’t detected or works poorly, installing digimend is a good next step.

My tablet is detected but the cursor jumps around. What should I do?

This usually indicates a calibration issue. In your tablet settings, try remapping the active area or calibrating the stylus. Also, ensure the tablet’s aspect ratio matches your monitor’s.

Can I use my tablet on Linux with Wayland?

Yes, but support varies. Wayland has built-in input handling, but some configuration tools may not work. If you have issues, try switching to an X11 session (log out and select X11 at the login screen) and configure there.

Why does my tablet work in Krita but not in GIMP?

GIMP may not have tablet support enabled by default. Go to Edit > Preferences > Input Devices and select your tablet from the list, then enable it. Also, ensure the device mode is set to “Screen” rather than “Window”.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →