这是在 UBUNTU 14.04 LTS 上
如果我在启动后将 WACOM(Intuos4 PTK-440)插入 USB,或者如果我拔下并重新插入,而没有启动,平板电脑将不会响应。
但我确实得到了:
$ lsusb
Bus 003 Device 016: ID 056a:00b8 Wacom Co., Ltd Intuos4 4x6
dmesg
[234491.960080] usb 3-1: new full-speed USB device number 16 using xhci_hcd
[234492.088883] usb 3-1: New USB device found, idVendor=056a, idProduct=00b8
[234492.088889] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[234492.088892] usb 3-1: Product: PTK-440
[234492.088895] usb 3-1: Manufacturer: Tablet
[234492.089936] input: Wacom Intuos4 4x6 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/input/input28
在/dev/input/by-id
:
usb-Tablet_PTK-440-event-mouse
usb-Tablet_PTK-440-mouse
此外,Gimp 还能“看到”它(橡皮擦、垫子、触控笔和光标)
如果我重新启动平板电脑并将其插入 USB,一切就都正常了。
我该如何继续?
答案1
这应该可以解决问题
这是一个快速脚本,可让您在不重新启动计算机的情况下从系统中插入和拔出 Wacom 平板电脑
#!/bin/bash
WACOM=`lsusb | grep -i wacom | awk '{print $7}'`
if [[ $WACOM = "Wacom" ]]; then
echo" you will have to enter your password " \n
sudo modprobe -r wacom;
sudo modprobe -a wacom;
else
echo " no wacom was found check usb" \n
fi
exit