
Ubuntu日本語フォーラム

ログインしていません。
私はUbuntu9.10、デュアルディスプレイ、Wacom Intuos3を使用しています。
Ubuntuはタブレットを標準で認識しているのですが、ディジタイザの範囲が2画面両方にマッピングされています。
実際には1画面でしかタブレットを使わないので、そのようにマッピングの設定をしようと情報を集め、試行錯誤したのですが、自力では出来ませんでした。
また、使用中のディスプレイがワイドスクリーンですので、縦横比も保持したいです。
フォーラムで自分と同じ質問をみつけ、リンク先のフォーラムの情報に答えが載っているようなのですが、自分の知識では理解できませんでした。
恐縮ですが、どなたか私のような初心者向けに解説していただけると大変助かります。
http://ubuntuforums.org/showthread.php?t=1393775&highlight=wacom+setting
http://ubuntuforums.org/showthread.php?p=9028660#post9028660
リンク先で気になったのは、xorg.confを編集しているようなのですが、これは私も試しましたが、
Xが立ち上がらなくなり、その後xorg.confを編集するのは非推奨の方法だという情報を見つけました。
正しい方法は、10-linuxwacom.fdiを編集するか、xsetwacomで設定するのでは?と考えていますが、
自分の探した範囲では断片的な情報ばかりでなかなか理解できず、
どのように対処するべきか分からなくなってしまったため、質問させていただきました。
オフライン
引き続き格闘しております。
Linux Wacom projectのHowtoページを再読しました。
http://linuxwacom.sourceforge.net/index.php/howto/main
よく分からないのですが、タブレットがすでに認識できている場合には不要な情報なのでしょうか。
wacom manでも、主にXorg.confの設定方法が書かれているのですが、前述のフォーラムを見ても、
fdiかxsetwacomでの設定をしているようなので、混乱してしまいました。
ひとまずxsetwacomで設定しようと思い、以下のようなコマンドを打ってみたのですが、反映されませんでした。
このように入力するようなのですが・・・
xsetwacom set [tablet_name] [option] [value]
xsetwacom set "Wacom Intuos3 6x8" TwinView
xsetwacom set "Wacom Intuos3 6x8" Screen_No 0
Nvidiaの設定画面を見ると、TwinViewという方式を使っているようです。
デバイスの名前?は、xsetpointer -l コマンドで確認しました。
本来ならxsetwacom list で出るそうなのですが、コマンドを打っても何も帰ってきませんでした。
今度はfdiを直接変更しようと思い、このページ(http://ubuntuforums.org/showthread.php?t=1321238)
を参考にしてusr/share/hal/fdi/policy/20thirdparty/10-linuxwacom.fdiに以下の変更を加えて再起動してみましたが、変化はありません。
<merge key="input.x11_options.TwinView" type="string">Horizontal</merge>
<merge key="input.x11_options.ScreenNo" type="string">0</merge>
情報を得ても、基礎的なルールが分からないため、どういった設定が正しいのか、判断できない状態です。
なかなかゴールが見えません。
オフライン
なんとか、片方のディスプレイだけにマッピングできました。
usr/share/hal/fdi/policy/20thirdparty/10-linuxwacom.fdi に
<merge key="input.x11_options.TwinView" type="string">Horizontal</merge>
<merge key="input.x11_options.ScreenNo" type="string">1</merge>
を追加したところ、片方だけにマッピングされました。
前回書いた時は記述する場所が正しくなかったようで、
<match key="info.category" contains="input">
<match key="info.product" contains_outof="Wacom">
<merge key="input.x11_driver" type="string">wacom</merge>
<merge key="input.x11_options.Type" type="string">stylus</merge>
の下に記述したところ、動作しました。
xsetwacomなど、コマンドを使う方法もあったのでしょうが、
行ったのはNvidiaのSettingパネルで設定を確認したこととfdiファイルの編集だけです。
例えば二行目のScreenNoでは、NvidiaのSettingパネルでマッピングしたいディスプレイの番号を確認しました。
また、はじめ自分のデュアルディスプレイの方式?がTwinViewかXineramaか分からなかったのですが、
これもNvidiaのパネルで確認しました。
ただ、マッピングの設定がどこかおかしい所があり、
タブレットの範囲でしかカーソルが動かせません。
ワイドディスプレイを使っているのですが、下図のように左端にカーソルが運べません。
どうやらタブレットの範囲だけ、マッピングしたようです。
___________
| | | アクセスできるのは、ちょうどタブレットの範囲だけ
| | |
| | |
| | |
|_|________ |
ディスプレイ(1920x1280)
_______
| |
| |
|______|
タブレット(6x8)
縦横比の固定は、http://ubuntuforums.org/showthread.php?p=9028660を参考にして
fdiにOption "KeepShape": "on" or "off"を書くつもりだったのですが・・・。
たしかに、これなら縦横比も固定されているし、アクセスできない領域にあたる、
GIMPのツールパレットが使えないのは、ショートカットキーを使えばいいとして、ひとまず当面の問題は解決しました。
オフライン
10.04にアップデートしたところ初期状態(2画面にマッピングされている)に戻ってしまいました
いままでのやり方では設定できないようです。
64bit環境なためか、wacom-toolsもsynapticsからインストールできませんでした。
どなたかアドバイスしていただけないでしょうか。
オフライン
https://help.ubuntu.com/community/Wacom
ここに10.04での設定が書いてありました。
/usr/lib/X11/xorg.conf.d/10-wacom.conf をman wacomを見ながら編集しました。
Option "Twinview" "leftof"
Option "ScreenNo" "1"
でメインのスクリーンのみにカーソルをマッピングできたのですが
なぜかY軸の移動を感知しなくなりました
カーソルが縦移動しかできない状態です
オフライン
Lucidからは、カーネルのwacomモジュール(linuxwacomプロジェクトが提供)とXサーバのwacomドライバ(xf86-input-wacomプロジェクトが提供)との間のやりとりに、FDIファイルを用いたHALの設定を使わなくなり、代わりにUDEVを使うようになりました。また、パッケージ「wacom-tools」が採用されなくなり、xsetwacomというツールで細かな設定を行うようになりました。そのため、#4のような状況が発生します。
ディスプレイとの関連付けは、/usr/lib/X11/xorg.conf.d以下の設定ファイルで行うので正解です。Linux Wacom Project HOWTOの5.0 - Configuring X11章に、その設定の方法が書いてあります。
/usr/lib/X11/xorg.conf.d/10-wacom.confの内容を教えていただけると、よりよいアドバイスができるかな、と思います。
オフライン
mocchiさん
お返事とくわしい解説、どうもありがとうございます。
わたしの10-wacom.confの中身はこのようになっています
問題はScreenNo で指定したディスプレイの端にカーソルが固定されてしまい
縦移動するしかできない状態になってしまうということです。
Section "InputClass"
Identifier "Wacom class"
MatchProduct "Wacom|WACOM"
MatchDevicePath "/dev/input/event*"
Driver "wacom"
Option "Twinview" "horizontal"
Option "TVResolution" "1600x1200,1920x1200"
Option "ScreenNo" "1"
Option "KeepShape" "on"
EndSection
Section "InputClass"
Identifier "Wacom serial class"
MatchProduct "Serial Wacom Tablet"
Driver "wacom"
Option "ForceDevice" "ISDV4"
EndSection
# N-Trig Duosense Electromagnetic Digitizer
Section "InputClass"
Identifier "Wacom N-Trig class"
MatchProduct "HID 1b96:0001"
MatchDevicePath "/dev/input/event*"
Driver "wacom"
EndSection
オフライン
ええと、情報を整理させて下さい。
以下の環境で使用。
・Ubuntu 10.04 (9.10からのアップグレード)
・Nvidiaのグラフィックカードを使用。デュアルディスプレイはTwinViewで実現。
・ディスプレイ解像度: 1920:1080 (16:9)
・Intuos3の縦横比: 6:8
解決したい問題
・ディスプレイを2つ使う環境で、上記の解像度を持つディスプレイにのみIntuos3をマッピングするように、10-wacom.confの設定を変更したい。
この理解で間違いないでしょうか?
オフライン
Mocchiさん
すみませんでした。先にこちらの情報を整理して伝えるべきでしたね。
ほとんどMocchiさんのお書きになられた環境通りなのですが、
解像度が1920x1080ではなく、1920x1200です。
もう一度確認のために こちらの情報を書きます
Ubuntu10.04(64bit) 9.10からのアップグレード
Nvidia(QuadroFX 370)でTwinview
ディスプレイ0は1600x1200 ディスプレイ1は1920x1200
Intuos3 PTZ630 6:8
10-wacom.confでディスプレイ1だけにマッピングすることが目的です
問題は
TwinviewとScreenNoオプションを設定すると
スタイラスの横の動きが反映されないということです。
つまり スタイラスを動かすと ポインタが画面の左端に固定されて 縦方向にしか動かなくなる という現象です。
マルチディスプレイに関するOptionはman wacomを読む限り
Twinview,TVResolution,ScreenNoだけだと思うのですが、それらを設定しても改善しないので、あれ?
と思ったのでした。
オフライン
以下の環境で使用。
・Ubuntu 10.04, amd64 (9.10からのアップグレード)
・Nvidia (QuadroFX 370) でTwinview
・ディスプレイ0解像度: 1600x1200 (UXGA, 4:3)
・ディスプレイ1解像度: 1920x1200 (WUXGA, 16:10)
・Intuos3の縦横比: 6:8
解決したい問題
Intuos3をディスプレイ1にマッピングしたい
/usr/lib/X11/xorg.conf.d/10-wacom.conf
Section "InputClass"
Identifier "Wacom class"
MatchProduct "Wacom|WACOM"
MatchDevicePath "/dev/input/event*"
Driver "wacom"
Option "Twinview" "horizontal"
Option "TVResolution" "1600x1200,1920x1200"
Option "ScreenNo" "1"
Option "KeepShape" "on"
EndSection
以下、マニュアルからの引用。
Option "ScreenNo" "n"
In a multi-monitor environment, specifies the screen number in which the cursor can move. Here n starts from 0, which indicates the first screen.
Option "Twinview" "horizontal"|"vertical"|"leftof"|"aboveof"|"xinerama"|"none"
sets the orientation of TwinView to map the tablet to one screen and to be able to move the screen cursor from one screen to the other when tool reaches the edge of the tablet. The cursor can be constrained in a specific screen if "ScreenNo" option is added. If you want to map the tablet to the whole desktop, you should NOT add this option. The default is "none". Note: due to historic reason, "horizontal" represents the "RightOf" and "vertical" represents the "BelowOf" in acutal TwinView setup.
可能性のひとつとして、ScreenNoオプションでディスプレイとタブレットのマッピングは十分であり、TwinViewオプションの設定は必要ないのかもしれません。
もうひとつの可能性は、TwiinViewオプションの設定でしょうか。ScreenNoでタブレットをディスプレイ1にマッピングしているので、ディスプレイを(0, 1)と横に並べている場合は、ディスプレイ1はディスプレイ0の右にあるのでオプション値はrightofを意味するhorizontalに、ディスプレイを(1, 0)と並べている場合はleftofとなると思います。
うちはQuadro FX 580を使っているんですが複数ディスプレイでは使っていませんので、確認できないまま書き込んでいます。上記の法則はひょっとしたら逆かもしれません。
オフライン
mocchiさん
アドバイスにしたがって
今朝オプションの組み合わせをいろいろと変えてみました
ScreenNoのみを試したところ、ディスプレイ2つともにマッピングされてしまいました
左にディスプレイ0 右にディスプレイ1
マッピングしたいのはディスプレイ1で、目的のディスプレイは1なので
Twinview horizontalで設定したのですが
オプションがhorizontalでもleftofでもディスプレイ0にマッピングされました。
ScreenNoで1を指定すればディスプレイ1にカーソルが固定されます
Twinview horizontal
ScreenNo 1
これで一見ただしいディスプレイに関連付けられているのですが
問題は 「なぜかポインタが横に1ピクセルも移動できずディスプレイの端に固定されてしまう」という現象です
画面の関連付けはできているように見えるのに
なぜ横移動できないのか?とても不思議です。
下はいろいろと試したオプションの組み合わせです
Twinviewを設定せず "ScreenNo" "1"のみ
→ディスプレイ0,1両方にマッピングされてしまう
"Twinview"を設定 ただしオプション無し+"ScreenNo" "1"
→→ディスプレイ0,1両方にマッピングされてしまう
"Twinview" "horizontal"のみ
→ディスプレイ0の左端からカーソルが動かない
"Twinview" "leftof"のみ
→ディスプレイ0の左端からカーソルが動かない
"Twinview" "horizontal"
"ScreenNo" "1"
→目的のディスプレイ1の右端にカーソルが固定されて横に動かない
オフライン
leylines による投稿:
画面の関連付けはできているように見えるのに
なぜ横移動できないのか?とても不思議です。
うむぅ。どうも、タブレットの横幅とスクリーンの横幅がうまくマッピングできていないようですね。
ここで、KeepShapeオプションを参照してみます。
Option "KeepShape" "on"
When this option is enabled, the active zone begins according to TopX and TopY. The bottom corner is adjusted to keep the ratio width/height of the active zone the same as the screen while maximizing the area described by TopX, TopY, BottomX, BottomY.
以下、私の翻訳。
Option "KeepShape" "on"
このオプションが有効になっていると、スクリーンにおける、タブレットのアクティブな領域の開始点は、TopXとTopYの各オプションに従います。スクリーンにおける、アクティブな領域の最下部は、幅と高さの比率を保って調整されるほか、TopX、TopY、BottomX、BottomYに記述されている領域を最大化して調整されます。
ひょっとしたら、TopX、TopY、BottomX、BottomYの各オプションを記述すると、現状が打開できるかもしれません。
カーネルのwacomモジュールのソースにおける、Intuos3 6x8の縦幅と横幅を元にした数値でオプションを作ってみたのが、以下です。
Option "TopX" 0" Option "TopY" "0" Option "BottomX" "40640" Option "BottomY" "30480"
これで試してみませんか?
オフライン
mocchiさん
わたしもそのBottom,Topを手動で指定するべきなのかな?と思ったのですが、
数値のだしかたがわからなかったので(初心者ですみません)、数字を出していただいて、これで正常になると確信までして設定したのですが…。
残念ながら結果は変わらずでした。
何かマッピングの設定以外で心当たりのある原因はあるでしょうか?
"Mode" "Relative"や"Twinview" "none"であれば横にも移動できるので
少なくともハードウェアの故障というわけでもないようです。
オフライン
leylines による投稿:
数字を出していただいて、これで正常になると確信までして設定したのですが…。残念ながら結果は変わらずでした。
まぁ、がっかりせずに。ひょっとしたら私の出した数字が間違えているかもしれませんから。
さて、どうやら先に、Xサーバのログを取ってみたほうがよさそうです。
0. 差し当たり、10-wacom.confの内容を#7に戻していただいて
1. USBタブレットを接続せずに再起動
2. 端末で「gnome-system-log」を実行し、ログ・ビューアを起動。ログは項目「Xorg.0.log」に書き出されます。
3. USBタブレットを接続。更新されたログは太字で表示されます。
4. 更新されたログを投稿してみて下さい
例として、うちのプリンストン(Waltop)タブレットを接続した際のログを以下に載せときます。
(II) config/udev: Adding input device WALTOP International Corp. Slim Tablet (/dev/input/event7) (**) WALTOP International Corp. Slim Tablet: Applying InputClass "evdev pointer catchall" (**) WALTOP International Corp. Slim Tablet: Applying InputClass "evdev tablet catchall" (**) WALTOP International Corp. Slim Tablet: Applying InputClass "wizardpen" (**) Option "Device" "/dev/input/event7" (--) WALTOP International Corp. Slim Tablet: MaxX:10000 MaxY:6250 MaxZ:1023 (--) WALTOP International Corp. Slim Tablet: aspect ratio:-229.88:1 (**) WALTOP International Corp. Slim Tablet is in absolute mode (II) WALTOP International Corp. Slim Tablet: ScreenX = 1680, ScreenY = 1050 (**) WALTOP International Corp. Slim Tablet: TopX = 0 (**) WALTOP International Corp. Slim Tablet: TopY = 0 (**) WALTOP International Corp. Slim Tablet: BottomX = 9920 (**) WALTOP International Corp. Slim Tablet: BottomY = 6200 (**) WALTOP International Corp. Slim Tablet: TopZ (min pressure) = 0 (**) WALTOP International Corp. Slim Tablet: BottomZ (max pressure) = 1023 (**) WALTOP International Corp. Slim Tablet: always reports core events (II) XINPUT: Adding extended input device "WALTOP International Corp. Slim Tablet" (type: WizardPen Tablet) (II) WALTOP International Corp. Slim Tablet Increment: 5 (II) config/udev: Adding input device WALTOP International Corp. Slim Tablet (/dev/input/mouse1) (II) No input driver/identifier specified (ignoring)
オフライン
指示通りにログをとってみました
(II) config/udev: Adding input device Wacom Intuos3 6x8 (/dev/input/mouse2)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device Wacom Intuos3 6x8 (/dev/input/event7)
(**) Wacom Intuos3 6x8: Applying InputClass "evdev tablet catchall"
(**) Wacom Intuos3 6x8: Applying InputClass "Wacom class"
(II) LoadModule: "wacom"
(II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
(II) Module wacom: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 0.10.5
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(**) Option "Device" "/dev/input/event7"
(II) Wacom Intuos3 6x8: type not specified, assuming 'stylus'.
(II) Wacom Intuos3 6x8: other types will be automatically added.
(**) Wacom Intuos3 6x8: always reports core events
(**) Option "TVResolution" "1600x1200,1920x1200"
(**) Option "ScreenNo" "1"
(**) Option "Twinview" "horizontal"
(II) Wacom Intuos3 6x8: hotplugging dependent devices.
(**) Option "Device" "/dev/input/event7"
(**) Wacom Intuos3 6x8 eraser: always reports core events
(**) Option "TVResolution" "1600x1200,1920x1200"
(**) Option "ScreenNo" "1"
(**) Option "Twinview" "horizontal"
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8 eraser" (type: ERASER)
(--) Wacom Intuos3 6x8 eraser: using pressure threshold of 61 for button 1
(--) Wacom Intuos3 6x8 eraser: Wacom USB Intuos3 tablet speed=38400 maxX=40640 maxY=30480 maxZ=1023 resX=5080 resY=5080 tilt=enabled
(--) Wacom Intuos3 6x8 eraser: top X=0 top Y=0 bottom X=40640 bottom Y=30480 resol X=5080 resol Y=5080
(**) Option "Device" "/dev/input/event7"
(**) Wacom Intuos3 6x8 cursor: always reports core events
(**) Option "TVResolution" "1600x1200,1920x1200"
(**) Option "ScreenNo" "1"
(**) Option "Twinview" "horizontal"
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8 cursor" (type: CURSOR)
(--) Wacom Intuos3 6x8 cursor: top X=0 top Y=0 bottom X=40640 bottom Y=30480 resol X=5080 resol Y=5080
(**) Option "Device" "/dev/input/event7"
(**) Wacom Intuos3 6x8 pad: always reports core events
(**) Option "TVResolution" "1600x1200,1920x1200"
(**) Option "ScreenNo" "1"
(**) Option "Twinview" "horizontal"
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8 pad" (type: PAD)
(--) Wacom Intuos3 6x8 pad: top X=0 top Y=0 bottom X=40640 bottom Y=30480 resol X=5080 resol Y=5080
(II) Wacom Intuos3 6x8: hotplugging completed.
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8" (type: STYLUS)
(--) Wacom Intuos3 6x8: top X=0 top Y=0 bottom X=40640 bottom Y=30480 resol X=5080 resol Y=5080
オフライン
ログがしっかり取れてますね。stylus、eraser、cursor、padともにちゃんと認識されています。
さて、他の可能性を思いつきました。以前、xrandrをいじっていて気付いたことなんですが、複数ディスプレイの際のスクリーン座標は、2つのディスプレイの解像度を合わせたものとなります。今回の場合は、ディスプレイ0に投影されるスクリーンの範囲は、左上が座標(0,0)で、右下が(1600,1200)。ディスプレイ1に投影される範囲は左上(1600,0)、右下が(1600+1920=3520,1200)となります。ログから判断するに、タブレットがマッピングされた座標は、ディスプレイ0に投影される範囲内だけれど、カーソル移動はディスプレイ1に投影される範囲に制限されているので、両方の範囲で共通している座標(1600,y)をうろうろせざるえないのかなぁ、と。
スクリーン範囲を明確にしておきたいので、お手数ですが、ScreenNoオプションを消した状態=両方のディスプレイにマッピングされた状態のログを取ってもらえませんか?
オフライン
mocchiさん
ScreenNoを無効にしただけでは、例の現象がおきてしまうので(ただし、ディスプレイ1でなく0の左端に固定される)、2画面にマッピングするためにTwinviewをコメントアウトしたログをとりました。
自分で比較したかぎり、違いがわかりませんでした。
mocchiさんがなにか違いを見つけてくれるといいのですが。
(II) config/udev: Adding input device Wacom Intuos3 6x8 (/dev/input/mouse2)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device Wacom Intuos3 6x8 (/dev/input/event7)
(**) Wacom Intuos3 6x8: Applying InputClass "evdev tablet catchall"
(**) Wacom Intuos3 6x8: Applying InputClass "Wacom class"
(II) LoadModule: "wacom"
(II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
(II) Module wacom: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 0.10.5
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(**) Option "Device" "/dev/input/event7"
(II) Wacom Intuos3 6x8: type not specified, assuming 'stylus'.
(II) Wacom Intuos3 6x8: other types will be automatically added.
(**) Wacom Intuos3 6x8: always reports core events
(II) Wacom Intuos3 6x8: hotplugging dependent devices.
(**) Option "Device" "/dev/input/event7"
(**) Wacom Intuos3 6x8 eraser: always reports core events
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8 eraser" (type: ERASER)
(--) Wacom Intuos3 6x8 eraser: using pressure threshold of 61 for button 1
(--) Wacom Intuos3 6x8 eraser: Wacom USB Intuos3 tablet speed=38400 maxX=40640 maxY=30480 maxZ=1023 resX=5080 resY=5080 tilt=enabled
(--) Wacom Intuos3 6x8 eraser: top X=0 top Y=0 bottom X=40640 bottom Y=30480 resol X=5080 resol Y=5080
(**) Option "Device" "/dev/input/event7"
(**) Wacom Intuos3 6x8 cursor: always reports core events
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8 cursor" (type: CURSOR)
(--) Wacom Intuos3 6x8 cursor: top X=0 top Y=0 bottom X=40640 bottom Y=30480 resol X=5080 resol Y=5080
(**) Option "Device" "/dev/input/event7"
(**) Wacom Intuos3 6x8 pad: always reports core events
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8 pad" (type: PAD)
(--) Wacom Intuos3 6x8 pad: top X=0 top Y=0 bottom X=40640 bottom Y=30480 resol X=5080 resol Y=5080
(II) Wacom Intuos3 6x8: hotplugging completed.
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8" (type: STYLUS)
(--) Wacom Intuos3 6x8: top X=0 top Y=0 bottom X=40640 bottom Y=30480 resol X=5080 resol Y=5080
念のため、ScreenNoだけをコメントアウトしたログもとりました。
(ディスプレイ0の左端に固定されてしまう)
(II) config/udev: Adding input device Wacom Intuos3 6x8 (/dev/input/mouse2)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device Wacom Intuos3 6x8 (/dev/input/event7)
(**) Wacom Intuos3 6x8: Applying InputClass "evdev tablet catchall"
(**) Wacom Intuos3 6x8: Applying InputClass "Wacom class"
(II) LoadModule: "wacom"
(II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
(II) Module wacom: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 0.10.5
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(**) Option "Device" "/dev/input/event7"
(II) Wacom Intuos3 6x8: type not specified, assuming 'stylus'.
(II) Wacom Intuos3 6x8: other types will be automatically added.
(**) Wacom Intuos3 6x8: always reports core events
(**) Option "TVResolution" "1600x1200,1920x1200"
(**) Option "Twinview" "horizontal"
(II) Wacom Intuos3 6x8: hotplugging dependent devices.
(**) Option "Device" "/dev/input/event7"
(**) Wacom Intuos3 6x8 eraser: always reports core events
(**) Option "TVResolution" "1600x1200,1920x1200"
(**) Option "Twinview" "horizontal"
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8 eraser" (type: ERASER)
(--) Wacom Intuos3 6x8 eraser: using pressure threshold of 61 for button 1
(--) Wacom Intuos3 6x8 eraser: Wacom USB Intuos3 tablet speed=38400 maxX=40640 maxY=30480 maxZ=1023 resX=5080 resY=5080 tilt=enabled
(--) Wacom Intuos3 6x8 eraser: top X=0 top Y=0 bottom X=40640 bottom Y=30480 resol X=5080 resol Y=5080
(**) Option "Device" "/dev/input/event7"
(**) Wacom Intuos3 6x8 cursor: always reports core events
(**) Option "TVResolution" "1600x1200,1920x1200"
(**) Option "Twinview" "horizontal"
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8 cursor" (type: CURSOR)
(--) Wacom Intuos3 6x8 cursor: top X=0 top Y=0 bottom X=40640 bottom Y=30480 resol X=5080 resol Y=5080
(**) Option "Device" "/dev/input/event7"
(**) Wacom Intuos3 6x8 pad: always reports core events
(**) Option "TVResolution" "1600x1200,1920x1200"
(**) Option "Twinview" "horizontal"
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8 pad" (type: PAD)
(--) Wacom Intuos3 6x8 pad: top X=0 top Y=0 bottom X=40640 bottom Y=30480 resol X=5080 resol Y=5080
(II) Wacom Intuos3 6x8: hotplugging completed.
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8" (type: STYLUS)
(--) Wacom Intuos3 6x8: top X=0 top Y=0 bottom X=40640 bottom Y=30480 resol X=5080 resol Y=5080
オフライン
ログの取得、どうもありがとうございます。ここで、スクリーンのモニターへのマッピング状態を知りたいので、端末でコマンド「xrandr」を実行した結果も教えて下さい。
オフライン
xrandrを実行しました
これでいいのでしょうか?
Screen 0: minimum 3520 x 1200, current 3520 x 1200, maximum 3520 x 1200
default connected 3520x1200+0+0 0mm x 0mm
3520x1200 50.0*
オフライン
ただいまです。
xrandrの出力結果から判断するに、スクリーンのサイズは3520*1200。これは、モニター0の解像度とモニター1の解像度を合わせた領域にぴったり同じですね。そして、スクリーンをモニターに投影する部分は、NVIDIAドライバのTwinView機能が担っているようです(xrandrではない=Xサーバが担っているわけではない)。
TwinViewを使っているからTwinViewオプションを使わなければならないということもないかなぁと思いましたので、以下の設定を試してみていただけませんか?ただ単に、スクリーン上の座標(1600,0)から座標(3520,1200)にかけて、タブレットをマッピングする設定です。
Section "InputClass"
Identifier "Wacom class"
MatchProduct "Wacom|WACOM"
MatchDevicePath "/dev/input/event*"
Driver "wacom"
Option "TVResolution" "1600x1200,1920x1200"
Option "TopX" "1600"
Option "TopY" "0"
Option "BottomX" "3520"
Option "BottomY" "1200
EndSectionオフライン
設定してみました。
ところが、おかしな動きをするようになってしまいました。
カーソルが見えなくなり、画面の下だけで固定されているような…そして、二画面ともに行き来しているようです。
Section "InputClass"
Identifier "Wacom class"
MatchProduct "Wacom|WACOM"
MatchDevicePath "/dev/input/event*"
Driver "wacom"
Option "TVResolution" "1600x1200,1920x1200"
Option "TopX" "1600"
Option "TopY" "0"
Option "BottomX" "3520"
Option "BottomY" "1200"
#Option "Twinview" "horizontal"
#Option "ScreenNo" "1"
#Option "KeepShape" "on"
EndSection
オフライン
現在のログはこのようなものです。
(II) config/udev: Adding input device Wacom Intuos3 6x8 (/dev/input/mouse2)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device Wacom Intuos3 6x8 (/dev/input/event7)
(**) Wacom Intuos3 6x8: Applying InputClass "evdev tablet catchall"
(**) Wacom Intuos3 6x8: Applying InputClass "Wacom class"
(II) LoadModule: "wacom"
(II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
(II) Module wacom: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 0.10.5
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(**) Option "Device" "/dev/input/event7"
(II) Wacom Intuos3 6x8: type not specified, assuming 'stylus'.
(II) Wacom Intuos3 6x8: other types will be automatically added.
(**) Wacom Intuos3 6x8: always reports core events
(**) Option "TVResolution" "1600x1200,1920x1200"
(**) Option "TopX" "1600"
(**) Option "TopY" "0"
(**) Option "BottomX" "3520"
(**) Option "BottomY" "1200"
(II) Wacom Intuos3 6x8: hotplugging dependent devices.
(**) Option "Device" "/dev/input/event7"
(**) Wacom Intuos3 6x8 eraser: always reports core events
(**) Option "TVResolution" "1600x1200,1920x1200"
(**) Option "TopX" "1600"
(**) Option "TopY" "0"
(**) Option "BottomX" "3520"
(**) Option "BottomY" "1200"
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8 eraser" (type: ERASER)
(--) Wacom Intuos3 6x8 eraser: using pressure threshold of 61 for button 1
(--) Wacom Intuos3 6x8 eraser: Wacom USB Intuos3 tablet speed=38400 maxX=40640 maxY=30480 maxZ=1023 resX=5080 resY=5080 tilt=enabled
(--) Wacom Intuos3 6x8 eraser: top X=1600 top Y=0 bottom X=3520 bottom Y=1200 resol X=5080 resol Y=5080
(**) Option "Device" "/dev/input/event7"
(**) Wacom Intuos3 6x8 cursor: always reports core events
(**) Option "TVResolution" "1600x1200,1920x1200"
(**) Option "TopX" "1600"
(**) Option "TopY" "0"
(**) Option "BottomX" "3520"
(**) Option "BottomY" "1200"
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8 cursor" (type: CURSOR)
(--) Wacom Intuos3 6x8 cursor: top X=1600 top Y=0 bottom X=3520 bottom Y=1200 resol X=5080 resol Y=5080
(**) Option "Device" "/dev/input/event7"
(**) Wacom Intuos3 6x8 pad: always reports core events
(**) Option "TVResolution" "1600x1200,1920x1200"
(**) Option "TopX" "1600"
(**) Option "TopY" "0"
(**) Option "BottomX" "3520"
(**) Option "BottomY" "1200"
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8 pad" (type: PAD)
(--) Wacom Intuos3 6x8 pad: top X=1600 top Y=0 bottom X=3520 bottom Y=1200 resol X=5080 resol Y=5080
(II) Wacom Intuos3 6x8: hotplugging completed.
(II) XINPUT: Adding extended input device "Wacom Intuos3 6x8" (type: STYLUS)
(--) Wacom Intuos3 6x8: top X=1600 top Y=0 bottom X=3520 bottom Y=1200 resol X=5080 resol Y=5080
オフライン
状況は異なりますが、うちの環境でも再現できました。
・Ubuntu 9.10, amd64
・Nvidia (QuadroFX 580) でTwinview
・ディスプレイ0解像度: 1680x1050 (WSXGA+, 16:10)
・ディスプレイ1解像度: 1280x1024 (SXGA, 5:4)
・プリンストン株式会社 PTB-12PS: 16:10
状況としては、leylinesさんとは逆に、横方向へは動けるけど、縦方向には動かせないですね。とは言え初めてトライしてみた複数モニタ環境なので、原因が同じなのかどうかは判断しかねます。
leylinesさんと異なるデバイスを使っているので
1. Xサーバではwacomドライバではなくwizardpenドライバを使っている
2. udevではなくhalを経由している
3. カーネルにおいてwacomモジュールではなくusbhidモジュールのみで動作させている
leylinesさんと同じ条件なのは、NVIDIAの純正ドライバ(nvidia-settings)で、TwinView設定をしているところですね。今夜はもう遅いので色々試すのは明日にしようと思いますが、ひょっとしたらバグなんじゃなかろうかと思っています。
オフライン
mocchiさん
検証してくださってありがとうございました
9.10でとりあえずマッピングできていたのに、うかつにアップグレードしてしまったのが間違いでした。
とりあえずは、Wacomを使う際にはTwinviewを切って使おうと思います。
オフライン