Public bug reported:

On my nice Elitebook 2740p I can use the touchscreen in normal position. But 
when I rotale it with the screen over the keyboard rotadet to he right, the 
touchplace on the screen and the pointer does not match at all. What can I do 
about it?
I use Oneric 11.10 64bit.
This is one of the scripts I use and I am shure I have tried all combinations.
Is this a bug or can I get a helping hand?
#!/bin/bash

old="0"
while true; do
        if [[ -e /sys/devices/platform/hp-wmi/tablet ]]; then
                new=`cat /sys/devices/platform/hp-wmi/tablet`
                if [[ $new != $old ]]; then
                        if [[ $new == "0" ]]; then
                                echo "Rotate to landscape, hide CellWriter."
                                xrandr -o normal
                                xsetwacom set stylus rotate none
                                xsetwacom set eraser rotate none
                                xsetwacom set touch rotate none
                                cellwriter --hide-window
                        elif [[ $new == "1" ]]; then
                                echo "Rotate to portrait, show CellWriter."
                                xrandr -o right
                                xsetwacom set stylus rotate cw
                                xsetwacom set eraser rotate cw
                                xsetwacom set touch  rotate cw
                                cellwriter --hide-window
                        fi
                fi
                old=$new
                sleep 1s
        fi
done

** Affects: gobi-loader (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/942860

Title:
  On HP Elitebbok 2740p, the touch tools does not work rotated

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gobi-loader/+bug/942860/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to