hp2710p从10.10版本升级到11.04,旋转屏幕90度后手写笔方向颠倒

笔记本/超便携移动PC软硬件相关支持,包括硬件、安装和驱动等
回复
apolou
帖子: 2
注册时间: 2011-05-15 8:30
送出感谢: 0
接收感谢: 0

hp2710p从10.10版本升级到11.04,旋转屏幕90度后手写笔方向颠倒

#1

帖子 apolou » 2011-05-15 8:48

原来我用的是ubuntu10.10,也有旋转屏幕90度后手写笔方向颠倒的问题,在正常不旋转没有问题。百度了一下,我按照the linux wacom project网站的方法,根据/var/log/Xorg.0.log中的坐标,将一下脚本保存为wacom.sh,并加权限执行

xsetwacom set "Serial Wacom Tablet stylus" TPCButton "on"
xsetwacom set "Serial Wacom Tablet stylus" Button1 "1"
xsetwacom set "Serial Wacom Tablet stylus" Button2 "3"
xsetwacom set "Serial Wacom Tablet stylus" Button3 "3"
xsetwacom set "Serial Wacom Tablet stylus" Suppress "4"
xsetwacom set "Serial Wacom Tablet stylus" RawSample "2"
xsetwacom set "Serial Wacom Tablet stylus" ClickForce "27"
xsetwacom set "Serial Wacom Tablet stylus" PressCurve "5 10 90 95"
xsetwacom set "Serial Wacom Tablet stylus" topx "0"
xsetwacom set "Serial Wacom Tablet stylus" topy "0"
xsetwacom set "Serial Wacom Tablet stylus" bottomx "26312"
xsetwacom set "Serial Wacom Tablet stylus" bottomy "16520"

设完后,我试了一下还是颠倒的,然后装了 magick rotate软件,结果成功了,能正常使用了,旋转90度后手写笔的操作轨迹是同步的。
可好景不长,让系统自动升级到11.04版本,好像也删除了一些东西,像magick rotate用不了,然后重新安装了一遍,旋转90度,手写的移动方向还是相反的。然后重新执行以上wacom.sh,结果报错。如下
Paramater 'TPCButton' is no longer in use. It was replaced with 'TabletPCButton'.
Paramater 'Button1' is no longer in use. It was replaced with 'Button'.
Paramater 'Button2' is no longer in use. It was replaced with 'Button'.
Paramater 'Button3' is no longer in use. It was replaced with 'Button'.
Paramater 'ClickForce' is no longer in use. It was replaced with 'Threshold'.
Paramater 'PressCurve' is no longer in use. It was replaced with 'PressureCurve'.
Unknown parameter name 'topx'.
Unknown parameter name 'topy'.
Unknown parameter name 'bottomx'.
Unknown parameter name 'bottomy'.

接着我执行一下脚本:获取参数的值
#!/bin/bash
# wacomSettings

echo "Button1=" `xsetwacom get 12 topx`
echo "TopY=" `xsetwacom get 12 topy`


结果为:
TopY= Paramater 'TopX' is no longer in use. It was replaced with 'Area'.
TopY= Paramater 'TopY' is no longer in use. It was replaced with 'Area'.

难道参数都变了吗?我还转了wacom control panel,一个设置wacom的ui界面,可是提示 no graphics tablets detected.没有获取到设备么?可是手写笔电脑能识别,可以用啊。。。请高手提供解决思路。。十分感谢
apolou
帖子: 2
注册时间: 2011-05-15 8:30
送出感谢: 0
接收感谢: 0

Re: hp2710p从10.10版本升级到11.04,旋转屏幕90度后手写笔方向颠倒

#2

帖子 apolou » 2011-05-16 10:15

有没有人遇过一样的情况?
gerry
帖子: 6
注册时间: 2009-10-16 13:34
送出感谢: 1 次
接收感谢: 0

Re: hp2710p从10.10版本升级到11.04,旋转屏幕90度后手写笔方向颠倒

#3

帖子 gerry » 2011-08-05 13:17

我在X200t 上用magick-rotation有同样的问题,
解决方法很简单,以 rotation mode "right" 为例
在高级设置中,设定
旋转后 xsetwacom set "Serial Wacom Tablet stylus" Rotate "ccw"
复位后 xsetwacom set "Serial Wacom Tablet stylus" Rotate "none"
就可以了

新的参数在这里有详细说明
http://sourceforge.net/apps/mediawiki/l ... =Xsetwacom
回复

回到 “笔记本、UMPC支持”