[patch] xsetwacom --set "Serial Wacom Tablet stylus" Rotate "ccw" not working

Bug #727505 reported by Espen Arnesen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xf86-input-wacom (Ubuntu)
Fix Released
Medium
Bryce Harrington

Bug Description

espen77@simba:~$ xsetwacom --list parameters
...
...
Rotate - Sets the rotation of the tablet. Values = none, cw, ccw, half (default is none).
...
...

espen77@simba:~$ xsetwacom --get "Serial Wacom Tablet stylus" Rotate
none
espen77@simba:~$ xsetwacom --set "Serial Wacom Tablet stylus" Rotate "cw"
espen77@simba:~$ xsetwacom --get "Serial Wacom Tablet stylus" Rotate
cw
espen77@simba:~$ xsetwacom --set "Serial Wacom Tablet stylus" Rotate "ccw"
espen77@simba:~$ xsetwacom --get "Serial Wacom Tablet stylus" Rotate
none
espen77@simba:~$ xsetwacom --set "Serial Wacom Tablet stylus" Rotate "half"
espen77@simba:~$ xsetwacom --get "Serial Wacom Tablet stylus" Rotate
half
espen77@simba:~$ xsetwacom --set "Serial Wacom Tablet stylus" Rotate "none"
espen77@simba:~$ xsetwacom --get "Serial Wacom Tablet stylus" Rotate
none
espen77@simba:~$ xsetwacom --set "Serial Wacom Tablet stylus" Rotate 1
espen77@simba:~$ xsetwacom --get "Serial Wacom Tablet stylus" Rotate
cw
espen77@simba:~$ xsetwacom --set "Serial Wacom Tablet stylus" Rotate 2
espen77@simba:~$ xsetwacom --get "Serial Wacom Tablet stylus" Rotate
ccw
espen77@simba:~$ xsetwacom --set "Serial Wacom Tablet stylus" Rotate 3
espen77@simba:~$ xsetwacom --get "Serial Wacom Tablet stylus" Rotate
half
espen77@simba:~$ xsetwacom --set "Serial Wacom Tablet stylus" Rotate 0
espen77@simba:~$ xsetwacom --get "Serial Wacom Tablet stylus" Rotate
none

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xserver-xorg-input-wacom 1:0.10.11-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic-pae 2.6.38-rc6
Uname: Linux 2.6.38-5-generic-pae i686
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,scale,session,unityshell]
CompositorRunning: compiz
DRM.card0.DP.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.DP.2:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.DP.3:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.HDMI.A.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.HDMI.A.2:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: Off
 modes: 1280x800
 edid-base64: AP///////wAwrhFAAAAAACgTAQOAGhB46tCjlltXlCYjUlkAAAABAQEBAQEBAQEBAQEBAQEBxxsAoFAgFzAwIDYABaMQAAAYxxsAoFAgFzAwIDYABaMQAAAYAAAADwCBCjyBCjwoCgAwZAAIAAAA/gBMVDEyMUVFMDgwMDAKAPI=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
Date: Wed Mar 2 00:50:53 2011
DistUpgraded: Fresh install
DistroCodename: natty
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:20e4]
   Subsystem: Lenovo Device [17aa:20e4]
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110202)
MachineType: LENOVO 74494ZG
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-5-generic-pae root=UUID=48617e61-48d8-4619-94a2-dc5c4de714ee ro quiet splash vt.handoff=7
Renderer: Unknown
SourcePackage: xf86-input-wacom
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/02/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 7WET67WW (3.17 )
dmi.board.name: 74494ZG
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7WET67WW(3.17):bd12/02/2010:svnLENOVO:pn74494ZG:pvrThinkPadX200Tablet:rvnLENOVO:rn74494ZG:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 74494ZG
dmi.product.version: ThinkPad X200 Tablet
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.4-0ubuntu3
version.libdrm2: libdrm2 2.4.23-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1~git20110215.cc1636b6-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu8
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-1ubuntu11
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu5

Revision history for this message
Espen Arnesen (espen77) wrote :
Revision history for this message
Espen Arnesen (espen77) wrote :

seems there is a typo in the source-file "cww" should be "ccw" xsetwacom.c line 1387
patch for xf86-input-wacom-0.10.11/tools/xsetwacom.c

tags: added: patch
Bryce Harrington (bryce)
summary: - xsetwacom --set "Serial Wacom Tablet stylus" Rotate "ccw" not working
+ [patch] xsetwacom --set "Serial Wacom Tablet stylus" Rotate "ccw" not
+ working
Changed in xf86-input-wacom (Ubuntu):
assignee: nobody → Bryce Harrington (bryce)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

the patch has been merged upstream.

tags: added: patch-accepted-upstream
removed: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xf86-input-wacom - 1:0.10.11-0ubuntu3

---------------
xf86-input-wacom (1:0.10.11-0ubuntu3) natty; urgency=low

  * Add 101_xsetwacom_ccw.patch: Fix rotate "ccw" to be accepted when set
    (LP: #727505)
 -- Bryce Harrington <email address hidden> Mon, 07 Mar 2011 17:43:04 -0800

Changed in xf86-input-wacom (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.