[intrepid] suspend/resume with wacom pointers rotated loses calibration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xf86-input-wacom (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: wacom-tools
Intrepid (with wacom-tools-
- suspend/resume machine without any display/pointer rotation => pen works correctly, with the cursor calibrated to the position of the pen on the screen
- rotate the display, without rotating the wacom pointers (xrandr -o right). Then suspend/resume the machine and rotate the display back to landscape (xrandr -o normal) => no calibration problem
- rotate the display and the wacom pointers (xrandr -o right && xsetwacom set Stylus Rotate cw && xsetwacom Eraser Rotate cw). The pen/cursor calibration is fine. Then suspend/resume the machine => The pen/cursor calibration is off. When the pen is at the center of the screen, the cursor is approximately 2 inches up and to the left of the center (with the screen in portrait mode). Rotating the screen and pointers back to normal landscape position (xrandr -o normal && xsetwacom set Stylus Rotate none && xsetwacom Eraser Rotate none) the calibration continues to be off, with the cursor up and to the right of the pen. If I move the pen to the top left corner of the screen (landscape), the cursor is right under the pen. As I move the pen to the right, the cursor gradually moves faster to the right than the pen. Starting from the top left corner again and moving the pen down, the cursor moves slower toward the bottom of the screen than the pen.
- rotate only the wacom pointers (xsetwacom set Stylus Rotate cw && xsetwacom Eraser Rotate cw), then suspend/resume the machine, then return the wacom pointer rotation to normal (xsetwacom set Stylus Rotate none && xsetwacom Eraser Rotate none) => The pen and cursor show the same problem as described above (poor calibration between pen and cursor).
So, the calibration is only affected when the wacom pointers are rotated. It seems that the wacom pointers get the dimensions of the screen mixed up after a suspend/resume if they are rotated. After each of these cases, restarting the xserver restores the proper calibration. It also does not matter if the TopX, TopY, BottomX, BottomY lines are enabled or commented in the attached xorg.conf, the same behavior is observed.
This is a regression as it worked correctly in Hardy.
Changed in wacom-tools (Ubuntu): | |
status: | Incomplete → Confirmed |
tags: | added: intrepid |
Changed in xf86-input-wacom (Ubuntu): | |
status: | Confirmed → Incomplete |
Andrew, your bug report is really detailed, thanks.
I don't know how to solve the problem. However, as a temporary fix you can use wacomcpl, copy the .xinitrc created to another name (for example "calibration"), make it executable and create a panel launcher with, as command: the/file/ calibration
sh /path/to/
Then click on the launcher each time the calibration is off.
Try also posting in linuxwacom-discuss since your troubleshooting is already quite thorough, they may get it fixed faster (but they might ask you to install 0.8.1.6 version first, see https:/ /help.ubuntu. com/community/ Wacom/LatestDri ver ).