xrandr rotates only the screen, but not the tablet

Bug #117283 reported by Charles Roduit
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
X.Org X server
Confirmed
Undecided
Unassigned
xf86-input-wacom (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hello,

I have a tablet PC (lenovo X60). When I rotate the screen using xrandr, it rotates only the screen, but not the tablet. This result that after a left rotation (xrandr -o left) when I point the pen in the lower right part of the screen (which was the lower left corner before rotation), the cursor is placed in the lower left part of the screen ...

Fortunately, a python script was written which allows the automatic rotation when the screen is swiveled. But it is not active for manual rotation...

direct link to the python script : http://luke.no-ip.org/x60tablet/examples/rotate

link to the page where I fount it : http://luke.no-ip.org/x60tablet/#rotate_script

(with a great thank to the guy who made it available)

Thank you !

Revision history for this message
Charles Roduit (charles-roduit) wrote :

Sorry, I was weong on the progect selection...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
korgman (korgie) wrote :

Same problem here (and same hardware).

I rotate the screen with unity, but the pen is not rotated.

I rotate the pen with
xsetwacom --set "Serial Wacom Tablet eraser" rotate cw

and "reset" with
xsetwacom --set "Serial Wacom Tablet eraser" rotate 0

affects: ubuntu → xf86-input-wacom (Ubuntu)
Revision history for this message
Bryce Harrington (bryce) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command in a terminal after reproducing the issue, and it it will automatically gather debugging information needed for this bug:

  apport-collect 117283

Changed in xf86-input-wacom (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
korgman (korgie) wrote : apport information

ApportVersion: 1.23-0ubuntu4
Architecture: i386
DistUpgraded: Fresh install
DistroCodename: oneiric
DistroRelease: Ubuntu 11.10
DistroVariant: ubuntu
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
MachineType: LENOVO 7762W2E
Package: xf86-input-wacom (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-17-generic root=UUID=cc0776db-1285-4a96-b75e-f0e25c4bed2c ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-17.30-generic 3.0.22
Tags: oneiric running-unity ubuntu
Uname: Linux 3.0.0-17-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin lpadmin sambashare
dmi.bios.date: 09/26/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 7SET35WW (1.21 )
dmi.board.name: 7762W2E
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:bvr7SET35WW(1.21):bd09/26/2008:svnLENOVO:pn7762W2E:pvrThinkPadX61Tablet:rvnLENOVO:rn7762W2E:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7762W2E
dmi.product.version: ThinkPad X61 Tablet
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu6.1
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

tags: added: apport-collected oneiric running-unity ubuntu
Revision history for this message
korgman (korgie) wrote : BootDmesg.txt

apport information

Revision history for this message
korgman (korgie) wrote : CurrentDmesg.txt

apport information

Revision history for this message
korgman (korgie) wrote : DpkgLog.txt

apport information

Revision history for this message
korgman (korgie) wrote : Lspci.txt

apport information

Revision history for this message
korgman (korgie) wrote : Lsusb.txt

apport information

Revision history for this message
korgman (korgie) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
korgman (korgie) wrote : ProcEnviron.txt

apport information

Revision history for this message
korgman (korgie) wrote : ProcInterrupts.txt

apport information

Revision history for this message
korgman (korgie) wrote : ProcModules.txt

apport information

Revision history for this message
korgman (korgie) wrote : UdevDb.txt

apport information

Revision history for this message
korgman (korgie) wrote : UdevLog.txt

apport information

Revision history for this message
korgman (korgie) wrote : dmidecode.txt.txt

apport information

Revision history for this message
korgman (korgie) wrote : locale.txt

apport information

Revision history for this message
korgman (korgie) wrote : peripherals.txt

apport information

Revision history for this message
korgman (korgie) wrote : setxkbmap.txt

apport information

Revision history for this message
korgman (korgie) wrote : xinput.txt

apport information

Revision history for this message
korgman (korgie) wrote :

I have "upgraded" to X61. Same results with X60.

I tried the recommended python script (rotate) as mentioned in original bug reporter and I modified the script to rotate properly the pen.

diff is here
--- rotate 2010-05-13 21:25:02.000000000 +0300
+++ rotate2 2012-04-12 22:47:20.184685642 +0300
@@ -275,7 +275,6 @@
         sys.stderr.write("Can not determine current rotation, bailing out :(\n")
         raise

-
     ## Calls xrandr and xsetwacom, sets new keymap.
 def setRotation(o):
     global displayName, xrandr
@@ -283,8 +282,8 @@
         return
     if runCmd("%s --output %s --rotate %s" % (xrandr, displayName, o))[0] != 0:
         raise Exception("xrandr rotate command failed, bailing out.")
- #wacomRots = {'normal': '0', 'left': '2', 'right': '1', 'inverted': '3'}
- wacomRots = {'normal': 'NONE', 'left': 'CCW', 'right': 'CW', 'inverted': 'HALF'}
+ wacomRots = {'normal': '0', 'left': '1', 'right': '2', 'inverted': '3'}
+# wacomRots = {'normal': 'NONE', 'left': 'CCW', 'right': 'CW', 'inverted': 'HALF'}
     tabletDevs = listDevices()
     if len(tabletDevs) < 1:
         sys.stderr.write('Did not find any tablet devices, only rotating screen.\n')

The rotation bug remains. Settings > Diplays > Rotate the screen

1. Screen rotates
2. Mouse and pen are not rotating.

korgman (korgie)
Changed in xf86-input-wacom (Ubuntu):
status: Incomplete → Invalid
korgman (korgie)
Changed in xf86-input-wacom (Ubuntu):
status: Invalid → Confirmed
Changed in xorg-server:
status: New → Confirmed
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.