智能手機(iPhone、Android之類)是不是單片機?

原来我用的是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软件,结果就可以了,
自从让系统自动升级到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   发布时间: 2011-05-15