You are not logged in.

#1 2010-08-19 17:47:44

thtroyer
Member
Registered: 2009-12-23
Posts: 12

Wacom tablet not showing up in /dev/input/

I have recently acquired a Wacom Bamboo Pen and Touch tablet but I can't seem to get Linux to recognize it (beyond very basic USB).

I have tried various rules in /etc/udev/rules.d/10-local.rules and currently have something very basic:
KERNEL=="event*", SYSFS{idVendor}=="056a", SYMLINK+="input/wacom"

My system is up to date and I have extra/xf86-input-wacom 0.10.8-1 installed.

Here's my lsusb:

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 004: ID 056a:00d1 Wacom Co., Ltd 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Here's ls /dev/input  (Edit: as I understand it, the wacom device should show up here.)

by-path  event1  event3  event5  event7  mouse0
event0   event2  event4  event6  mice

And plugging the device in only gives this in dmesg:

usb 3-1: new full speed USB device using uhci_hcd and address 5

I'm guessing I'm doing something wrong, but I'm not sure where to look next...

Last edited by thtroyer (2010-08-19 19:56:46)

Offline

#2 2010-08-20 03:41:02

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Wacom tablet not showing up in /dev/input/

I'm using the same driver from 'extra/', openbox on x86_64.

$ pacman -Qs wacom
local/xf86-input-wacom 0.10.8-1
    X.Org Wacom tablet driver

I can't tell you exactly how I stumbled into my no-setup setup.  It was only two weeks ago that I bought the tablet but they have been a busy two weeks.

My setup, with working Intuos4 4x6, model PTK-440, has no udev rules for the tablet and stylus.  Hot-plugging works for me on this desktop.  I do have rules in /etc/X11/xorg.conf.d/.  I recall trying a udev rules set, but when things weren't working, I removed it.  The wiki said the tablet might just work without any udev configuration and the wiki was right.  Again.

$ lsmod | grep wacom
wacom                  24422  0 
usbcore               146545  6 usbhid,wacom,usb_storage,ohci_hcd,ehci_hcd

$ lsusb | grep -i wacom
Bus 001 Device 006: ID 056a:00b8 Wacom Co., Ltd Intuos4 4x6

$ ls /dev/input
by-id/  by-path/  event0  event1  event2  event3  event4  event5  mice  mouse0  mouse1

$ ls -l /dev/input/by-id
total 0
lrwxrwxrwx 1 root root 9 Aug 19 17:50 usb-Tablet_PTK-440-event-mouse -> ../event5
lrwxrwxrwx 1 root root 9 Aug 19 17:50 usb-Tablet_PTK-440-mouse -> ../mouse1

$ ls /etc/X11/xorg.conf.d/
10-evdev.conf  10-quirks.conf  20-nvidia.conf  20-nvidia.conf.pacold  50-wacom.conf

The two '10-*' configuration sets were put there by the package 'xorg-server 1.8.1.902-1'.  I don't think the '10-quirks.conf' is needed, but it's not hurting, so I leave it alone.  It's for the ThinkPads with accelerometers.  The '50-wacom.conf' file was installed by 'xf86-input-wacom' and I haven't modified it.

I hope this helps.

Offline

#3 2010-08-22 21:06:21

thtroyer
Member
Registered: 2009-12-23
Posts: 12

Re: Wacom tablet not showing up in /dev/input/

Hm... I tried removing the udev rules.  Nothing different.  Upon bootup, I can't find any evidence that Xorg or udev has even tried to load a driver for the Wacom.

[tom@arch ~]$ lsmod | grep wacom
[tom@arch ~]$ cat /var/log/Xorg.0.log | grep [Ww]acom

# I can manually load the driver:
[tom@arch ~]$ sudo modprobe wacom
Password: 
[tom@arch ~]$ lsmod | grep [Ww]acom
wacom                  22898  0 
usbcore               121705  6 wacom,usbhid,usb_storage,uhci_hcd,ehci_hcd

# And after unplugging/replugging the device:

[tom@arch ~]$ dmesg | grep [Ww]acom
usbcore: registered new interface driver wacom
wacom: v1.52:USB Wacom tablet driver

Still nothing.

Nothing is created in /dev/input (and I checked all the event* files -- none are reading input from the device) and I don't seem to have a /dev/input/by-id/ folder (why would that be?), only a by-path folder, which isn't very interesting.

$ ls -l /dev/input/by-path/
total 0
lrwxrwxrwx 1 root root 9 Aug 22 16:37 platform-i8042-serio-0-event-kbd -> ../event0
lrwxrwxrwx 1 root root 9 Aug 22 16:37 platform-i8042-serio-1-event-mouse -> ../event5
lrwxrwxrwx 1 root root 9 Aug 22 16:37 platform-i8042-serio-1-mouse -> ../mouse0

Any ideas?

Offline

#4 2010-08-23 02:11:42

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Wacom tablet not showing up in /dev/input/

I do have a udev rule!  I'm very sorry about misleading you.  It was installed by the driver package in '/lib/udev/rules.d'.  All I can tell you is I wasn't expecting udev to have rules in the /lib directory.

$ locate wacom
/etc/X11/xorg.conf.d/50-wacom.conf
/lib/udev/rules.d/70-wacom.rules
/usr/bin/xsetwacom
/usr/include/xorg/Xwacom.h
/usr/include/xorg/wacom-properties.h
/usr/lib/pkgconfig/xorg-wacom.pc
/usr/lib/xorg/modules/input/wacom_drv.so
/usr/share/man/man1/xsetwacom.1.gz
/usr/share/man/man4/wacom.4.gz
/usr/src/linux-2.6.35-ARCH/include/config/hid/wacom
/usr/src/linux-2.6.35-ARCH/include/config/hid/wacom.h
/usr/src/linux-2.6.35-ARCH/include/config/hid/wacom/power
/usr/src/linux-2.6.35-ARCH/include/config/hid/wacom/power/supply.h
/usr/src/linux-2.6.35-ARCH/include/config/tablet/usb/wacom.h
/usr/src/linux-2.6.35-ARCH/include/config/touchscreen/wacom
/usr/src/linux-2.6.35-ARCH/include/config/touchscreen/wacom/w8001.h
$ cat /lib/udev/rules.d/70-wacom.rules
ACTION!="add|change", GOTO="wacom_end"

# Match all wacom tablets with a serial ID starting with WACf
ATTRS{id}=="WACf*" ENV{NAME}="Serial Wacom Tablet", ENV{SUBSYSTEM}="input", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"
ATTRS{id}=="FUJ*" ENV{NAME}="Serial Wacom Tablet", ENV{SUBSYSTEM}="input", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"

LABEL="wacom_end"
$ cat /etc/X11/xorg.conf.d/50-wacom.conf
Section "InputClass"
        Identifier "Wacom class"
# WALTOP needs a patched kernel driver, that isn't in mainline lk yet,
# so for now just let it fall through and be picked up by evdev instead.
#       MatchProduct "Wacom|WALTOP|WACOM"
        MatchProduct "Wacom|WACOM"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
EndSection

Section "InputClass"
        Identifier "Wacom serial class"
        MatchProduct "Serial Wacom Tablet"
        Driver "wacom"
EndSection

Section "InputClass"
        Identifier "Wacom serial class identifiers"
        MatchProduct "WACf|FUJ02e5|FUJ02e7"
        Driver "wacom"
EndSection

# N-Trig Duosense Electromagnetic Digitizer
Section "InputClass"
        Identifier "Wacom N-Trig class"
        MatchProduct "HID 1b96:0001|N-Trig Pen"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
        Option "Button2" "3"
EndSection

Offline

#5 2010-08-23 04:22:32

thtroyer
Member
Registered: 2009-12-23
Posts: 12

Re: Wacom tablet not showing up in /dev/input/

thisoldman wrote:

I do have a udev rule!  I'm very sorry about misleading you.  It was installed by the driver package in '/lib/udev/rules.d'.  All I can tell you is I wasn't expecting udev to have rules in the /lib directory.

Indeed, I'm pretty sure I have the file in /lib/udev.  So far as udev settings, I've only been tweaking files in /etc/udev/, as the wiki demonstrated.

I'll have a chance to look things over again tomorrow, and I'll check my settings and give auto-detect another go.  If that doesn't work, I'll probably try the static xorg configuration.

Thanks for the feedback thus far. smile

Offline

#6 2010-08-23 19:26:39

thtroyer
Member
Registered: 2009-12-23
Posts: 12

Re: Wacom tablet not showing up in /dev/input/

Still no luck...  Linux simply isn't seeing the Wacom as an input device.

[tom@arch ~]$ cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input0
U: Uniq=
H: Handlers=sysrq kbd event0 
B: EV=120013
B: KEY=500f 2902003 8380307c f910f001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1
U: Uniq=
H: Handlers=event1 
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2
U: Uniq=
H: Handlers=kbd event2 
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input3
U: Uniq=
H: Handlers=kbd event3 
B: EV=3
B: KEY=4000 0 0 0 0

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:1f/LNXVIDEO:00/input/input4
U: Uniq=
H: Handlers=kbd event4 
B: EV=3
B: KEY=3e000b 0 0 0 0 0 0 0

I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input5
U: Uniq=
H: Handlers=mouse0 event5 
B: EV=b
B: KEY=6420 0 30000 0 0 0 0 0 0 0 0
B: ABS=11000003

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel Mic at Ext Right Jack"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input6
U: Uniq=
H: Handlers=event6 
B: EV=21
B: SW=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel HP Out at Ext Right Jack"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input7
U: Uniq=
H: Handlers=event7 
B: EV=21
B: SW=4

Again, it sees it as USB, but won't load a driver...

[tom@arch ~]$ cat /proc/bus/usb/devices
...
T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=056a ProdID=00d1 Rev= 1.06
S:  Manufacturer=Wacom Co.,Ltd.
S:  Product=CTH-460
C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr= 98mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=   9 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=(none)
E:  Ad=82(I) Atr=03(Int.) MxPS=  64 Ivl=4ms
...

Any thoughts...?

Offline

#7 2010-08-24 01:26:44

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Wacom tablet not showing up in /dev/input/

The problem is probably due to conflicts with the Synaptics touchpad driver.

Several threads recommend the driver in the AUR, linuxwacom-bamboo-cth-ctl, http://aur.archlinux.org/packages.php?ID=31540.  The information in the file 'linuxwacom.install' included in that package is probably useful.

If that doesn't work, there's also the documentation at http://linuxwacom.sourceforge.net/index.php/howto/x11.

Offline

#8 2010-08-24 18:29:03

thtroyer
Member
Registered: 2009-12-23
Posts: 12

Re: Wacom tablet not showing up in /dev/input/

thisoldman wrote:

Several threads recommend the driver in the AUR, linuxwacom-bamboo-cth-ctl, http://aur.archlinux.org/packages.php?ID=31540.  The information in the file 'linuxwacom.install' included in that package is probably useful.

Ah ha!  This did the trick and the device is (mostly) working now.  Thanks for bringing this up -- I'm not sure how I missed seeing that.

Offline

Board footer

Powered by FluxBB