You are not logged in.

#1 2011-01-08 14:49:08

Natanji
Member
Registered: 2009-09-22
Posts: 133

xsetwacom no longer working

Hello everyone,
I recently noticed that xsetwacom doesn't find any wacom devices anymore:

$ xsetwacom list dev

returns nothing.

But the Tablet is actually working without a flaw, and also added to xinput:

$ xinput list
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                       id=10    [slave  pointer  (2)]
⎜   ↳ Serial Wacom Tablet eraser                  id=12    [slave  pointer  (2)]
⎜   ↳ Serial Wacom Tablet stylus                  id=13    [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
    ↳ Power Button                                id=6    [slave  keyboard (3)]
    ↳ Video Bus                                   id=7    [slave  keyboard (3)]
    ↳ Sleep Button                                id=8    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=9    [slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                      id=11    [slave  keyboard (3)]

The problem here is that xsetwacom is needed to rotate the pen orientation along with the screen on my Thinkpad X60 Tablet. Can anyone tell me why xsetwacom doesn't find my device?

EDIT: I have a guess. I found that there is now a file, /lib/modules/2.6.36-ARCH/kernel/drivers/input/tablet/wacom.ko, that I don't remember being there a few kernel versions ago. Could it be that an incompatible wacom driver was added as a Linux kernel module recently, which is incompatible with xsetwacom? Or is that just for USB devices? (nope, see EDIT3)

EDIT2: I noticed that the command

$ xsetwacom set "Serial Wacom Tablet stylus" Rotate cw

doesn't give any errors, while I get an error message when I use a device name that isn't listed by xinput, such as:

$ xsetwacom set "Wacom foo" Rotate cw
Error (2): WacomConfigOpenDevice: No such device
Set: Failed to open device 'Wacom foo'

Very, very weird... xidump "Serial Wacom Tablet stylus" also doesn't show any kind of activity. So it seems xsetwacom cannot actually connect to the xinput device...

EDIT3: Sorry this is getting kinda long. wink I also looked in the Xorg log file, and from that it looks like the correct driver (from the xf86-input-wacom package) is used for my tablet.

$ cat /var/log/Xorg.0.log | grep wacom
[    51.422] (II) config/udev: Adding input device Serial Wacom Tablet (/dev/ttyS0)
[    51.422] (**) Serial Wacom Tablet: Applying InputClass "Wacom serial class"
[    51.422] (II) LoadModule: "wacom"
[    51.423] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[    51.447] (II) Module wacom: vendor="X.Org Foundation"
[    51.447] (II) Serial Wacom Tablet: type not specified, assuming 'stylus'.
[    51.447] (II) Serial Wacom Tablet: other types will be automatically added.
[    51.447] (**) Serial Wacom Tablet stylus: always reports core events
[    51.706] (II) Serial Wacom Tablet stylus: serial tablet id 0x90.
[    51.706] (--) Serial Wacom Tablet stylus: using pressure threshold of 27 for button 1
[    51.706] (--) Serial Wacom Tablet stylus: Wacom General ISDV4 tablet maxX=24576 maxY=18432 maxZ=127 resX=2540 resY=2540  tilt=disabled
[    51.706] (II) Serial Wacom Tablet stylus: hotplugging dependent devices.
[    51.706] (**) Serial Wacom Tablet eraser: Applying InputClass "Wacom serial class"
[    51.707] (**) Serial Wacom Tablet eraser: always reports core events
[    51.707] (--) Serial Wacom Tablet eraser: Wacom General ISDV4 tablet maxX=24576 maxY=18432 maxZ=127 resX=2540 resY=2540  tilt=disabled
[    51.707] (II) XINPUT: Adding extended input device "Serial Wacom Tablet eraser" (type: ERASER)
[    51.708] (--) Serial Wacom Tablet eraser: top X=0 top Y=0 bottom X=24576 bottom Y=18432 resol X=2540 resol Y=2540
[    51.708] (II) Serial Wacom Tablet stylus: hotplugging completed.
[    51.708] (II) XINPUT: Adding extended input device "Serial Wacom Tablet stylus" (type: STYLUS)
[    51.709] (--) Serial Wacom Tablet stylus: top X=0 top Y=0 bottom X=24576 bottom Y=18432 resol X=2540 resol Y=2540

Last edited by Natanji (2011-01-08 15:42:00)

Offline

#2 2011-01-11 08:12:57

Natanji
Member
Registered: 2009-09-22
Posts: 133

Re: xsetwacom no longer working

*bump* Are there no other Wacom users here that could at least tell me what their specific output of "xsetwacom list dev" is?

Offline

#3 2011-01-15 19:39:18

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: xsetwacom no longer working

I get :

xsetwacom list dev
Wacom Bamboo eraser ERASER   
Wacom Bamboo cursor CURSOR   
Wacom Bamboo pad PAD       
Wacom Bamboo stylus STYLUS 

and

xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                     id=9    [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                     id=11   [slave  pointer  (2)]
⎜   ↳ Wacom Bamboo eraser                       id=12   [slave  pointer  (2)]
⎜   ↳ Wacom Bamboo cursor                       id=13   [slave  pointer  (2)]
⎜   ↳ Wacom Bamboo pad                          id=14   [slave  pointer  (2)]
⎜   ↳ Wacom Bamboo stylus                       id=15   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ Logitech USB Receiver                     id=8    [slave  keyboard (3)]
    ↳ UVC Camera (046d:0809)                    id=10   [slave  keyboard (3)]

Offline

#4 2011-01-17 18:47:59

Natanji
Member
Registered: 2009-09-22
Posts: 133

Re: xsetwacom no longer working

Bamboo is USB, right? What is your output from

$ cat /var/log/Xorg.0.log | grep wacom

?

Offline

#5 2011-01-18 01:47:00

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

Re: xsetwacom no longer working

@Natanji,

A better grep would be:

$ grep -i wacom /var/log/Xorg.0.log

I'm using a USB Wacom Intuos tablet.  It also includes a Wacom mouse.  'xsetwacom' still works for me. 

Here's what locate reveals:

$ locate wacom
/etc/X11/xorg.conf.d/50-wacom.conf
/lib/modules/2.6.36-ARCH/kernel/drivers/hid/hid-wacom.ko
/lib/modules/2.6.36-ARCH/kernel/drivers/input/tablet/wacom.ko
/lib/modules/2.6.36-ARCH/kernel/drivers/input/touchscreen/wacom_w8001.ko
/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.36-ARCH/include/config/hid/wacom
/usr/src/linux-2.6.36-ARCH/include/config/hid/wacom.h
/usr/src/linux-2.6.36-ARCH/include/config/hid/wacom/power
/usr/src/linux-2.6.36-ARCH/include/config/hid/wacom/power/supply.h
/usr/src/linux-2.6.36-ARCH/include/config/tablet/usb/wacom.h
/usr/src/linux-2.6.36-ARCH/include/config/touchscreen/wacom
/usr/src/linux-2.6.36-ARCH/include/config/touchscreen/wacom/w8001.h

And here's the output of the grep command above:

 $ grep -i wacom /var/log/Xorg.0.log
[   174.585] (II) config/udev: Adding input device Wacom Intuos4 4x6 (/dev/input/event5)
[   174.585] (**) Wacom Intuos4 4x6: Applying InputClass "evdev tablet catchall"
[   174.585] (**) Wacom Intuos4 4x6: Applying InputClass "Wacom class"
[   174.585] (II) LoadModule: "wacom"
[   174.585] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[   174.591] (II) Module wacom: vendor="X.Org Foundation"
[   174.610] (II) Wacom Intuos4 4x6: type not specified, assuming 'stylus'.
[   174.610] (II) Wacom Intuos4 4x6: other types will be automatically added.
[   174.610] (**) Wacom Intuos4 4x6 stylus: always reports core events
[   174.610] (--) Wacom Intuos4 4x6 stylus: using pressure threshold of 27 for button 1
[   174.610] (--) Wacom Intuos4 4x6 stylus: Wacom USB Intuos4 tablet maxX=31496 maxY=19685 maxZ=2047 resX=5080 resY=5080  tilt=enabled
[   174.610] (II) Wacom Intuos4 4x6 stylus: hotplugging dependent devices.
[   174.610] (**) Wacom Intuos4 4x6 eraser: Applying InputClass "evdev tablet catchall"
[   174.610] (**) Wacom Intuos4 4x6 eraser: Applying InputClass "Wacom class"
[   174.636] (**) Wacom Intuos4 4x6 eraser: always reports core events
[   174.636] (--) Wacom Intuos4 4x6 eraser: Wacom USB Intuos4 tablet maxX=31496 maxY=19685 maxZ=2047 resX=5080 resY=5080  tilt=enabled
[   174.663] (II) XINPUT: Adding extended input device "Wacom Intuos4 4x6 eraser" (type: ERASER)
[   174.663] (--) Wacom Intuos4 4x6 eraser: top X=0 top Y=0 bottom X=31496 bottom Y=19685 resol X=5080 resol Y=5080
[   174.743] (**) Wacom Intuos4 4x6 cursor: Applying InputClass "evdev tablet catchall"
[   174.743] (**) Wacom Intuos4 4x6 cursor: Applying InputClass "Wacom class"
[   174.770] (**) Wacom Intuos4 4x6 cursor: always reports core events
[   174.770] (--) Wacom Intuos4 4x6 cursor: Wacom USB Intuos4 tablet maxX=31496 maxY=19685 maxZ=2047 resX=5080 resY=5080  tilt=enabled
[   174.796] (II) XINPUT: Adding extended input device "Wacom Intuos4 4x6 cursor" (type: CURSOR)
[   174.796] (--) Wacom Intuos4 4x6 cursor: top X=0 top Y=0 bottom X=31496 bottom Y=19685 resol X=5080 resol Y=5080
[   174.797] (**) Wacom Intuos4 4x6 pad: Applying InputClass "evdev tablet catchall"
[   174.797] (**) Wacom Intuos4 4x6 pad: Applying InputClass "Wacom class"
[   174.823] (**) Wacom Intuos4 4x6 pad: always reports core events
[   174.823] (--) Wacom Intuos4 4x6 pad: Wacom USB Intuos4 tablet maxX=31496 maxY=19685 maxZ=2047 resX=5080 resY=5080  tilt=enabled
[   174.850] (II) XINPUT: Adding extended input device "Wacom Intuos4 4x6 pad" (type: PAD)
[   174.850] (--) Wacom Intuos4 4x6 pad: top X=0 top Y=0 bottom X=31496 bottom Y=19685 resol X=5080 resol Y=5080
[   174.850] (II) Wacom Intuos4 4x6 stylus: hotplugging completed.
[   174.876] (II) XINPUT: Adding extended input device "Wacom Intuos4 4x6 stylus" (type: STYLUS)
[   174.876] (--) Wacom Intuos4 4x6 stylus: top X=0 top Y=0 bottom X=31496 bottom Y=19685 resol X=5080 resol Y=5080
[   174.877] (II) config/udev: Adding input device Wacom Intuos4 4x6 (/dev/input/mouse1)

Offline

#6 2011-01-18 08:20:29

Natanji
Member
Registered: 2009-09-22
Posts: 133

Re: xsetwacom no longer working

Weird. The only difference I can think of is that my tablet is connected via serial. It uses the same driver though, so that kind of surprises me anyway. Any serial tablet users here that could report if it is working for them? Otherwise I guess I'll have to report this upstream, anyway.

Offline

Board footer

Powered by FluxBB