The problem occurred upon a fresh install. I just tested kernel
4.5.0-040500-generic with no success.

However, I found a work around by applying this script for manual screen
and stylus rotation:

#!/bin/sh
# determine whether screen is already rotated
xrandr --current | grep primary | grep "left ("
if [ $? -eq 1 ];
then
  xrandr -o left
  # rotate stylus driver
  xinput set-prop 13 "Evdev Axis Inversion" 1, 0
  xinput set-prop 13 "Evdev Axes Swap" 1
else
  xrandr -o normal
  # un-rotate stylus driver
  xinput set-prop 13 "Evdev Axis Inversion" 0, 0
  xinput set-prop 13 "Evdev Axes Swap" 0
fi

I think the Systems Settings dialog for rotating the screen should also
rotate the stylus. Looks like this bug is related the 8 years old issue
of bug #217182.

** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1561943

Title:
  Stylus coordinates wrong when screen is rotated on Dell Venue 11 Pro
  7140

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I am using the pre-release 16.04 Ubuntu Xenial Xerus (development
  branch) with kernel 4.4.0-15-generic on a Dell Venue 11 Pro 7140.
  Touchscreen and Stylus are recognised out of the box:

  xinput --list
  ⎡ Virtual core pointer                        id=2    [master pointer  (3)]
  ⎜   ↳ Virtual core XTEST pointer                      id=4    [slave  pointer 
 (2)]
  ⎜   ↳ Synaptics T Pad V 01.31 Touchpad                id=9    [slave  pointer 
 (2)]
  ⎜   ↳ SYNA7500:00 06CB:780E Pen                       id=13   [slave  pointer 
 (2)]
  ⎜   ↳ SYNA7500:00 06CB:780E                           id=14   [slave  pointer 
 (2)]

  When I am manually rotating the screen by 90° using the System
  Settings option (automatic screen rotation does not work), the
  touchscreen and touchpad work as expected, however, the stylus is not
  using the correct coordinates and the cursor is not following the
  stylus position. When I move the stylus left/right, the cursor moves
  up/down, and vice versa.

  I had hoped to get a work around by disabling and re-enabling the
  stylus after rotating the screen using

  xinput --disable "SYNA7500:00 06CB:780E Pen"
  xinput --enable "SYNA7500:00 06CB:780E Pen"

  but this didn't solve the problem.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-15-generic 4.4.0-15.31 [modified: 
boot/vmlinuz-4.4.0-15-generic]
  ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6
  Uname: Linux 4.4.0-15-generic x86_64
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  asvin      1800 F.... pulseaudio
   /dev/snd/controlC1:  asvin      1800 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Fri Mar 25 11:21:35 2016
  HibernationDevice: RESUME=UUID=f716048f-ce0e-4825-b3c4-563fa743242a
  InstallationDate: Installed on 2016-03-23 (1 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160323)
  MachineType: Dell Inc. Venue 11 Pro 7140
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic.efi.signed 
root=UUID=a9cb1c53-fcf1-4691-a246-24b90dd908c6 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-15-generic N/A
   linux-backports-modules-4.4.0-15-generic  N/A
   linux-firmware                            1.157
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/27/2015
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A09
  dmi.board.name: 0XMVMH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA09:bd10/27/2015:svnDellInc.:pnVenue11Pro7140:pvr:rvnDellInc.:rn0XMVMH:rvrA00:cvnDellInc.:ct8:cvr:
  dmi.product.name: Venue 11 Pro 7140
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1561943/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to