Add screen assignment and touch support for DomA and DomU#6
Add screen assignment and touch support for DomA and DomU#6hayashi-90 wants to merge 1 commit intoyhamamachi:v4hsbc_xen_kernel612from
Conversation
|
ご参考までに、本PRはドラフト状態ではありますが、コメントさせてください。 マルチディスプレイ時にDP側タッチパネルをDP側ドメインに紐づける方法ですが、
上記の設定によりDP側に接続したHDMIタッチディスプレイでDomAの動作ができることを確認しました。 以下、/tmp/westonのログの抜粋です。 $ cat tmp/weston | grep -i dev
(snip)
[02:52:59.764] event1 - ILITEK Multi-Touch-V5100: is tagged by udev as: Touchscreen
[02:52:59.764] event1 - ILITEK Multi-Touch-V5100: device is a touch device
(snip)
[02:53:00.605] associating input device event0 with output DSI-1 (none by udev)
[02:53:00.606] associating input device event2 with output DSI-1 (none by udev)
[02:53:00.606] associating input device event3 with output DSI-1 (none by udev)
[02:53:00.606] associating input device event4 with output DSI-1 (none by udev)
[02:53:00.606] associating input device event5 with output DSI-1 (none by udev)
[02:53:00.611] Initialized backlight for head 'DP-1', device /sys/class/backlight/backlight
[02:53:00.611] associating input device event1 with output DP-1 (DP-1 by udev) |
|
@yhamamachi さん 私の環境で使用しているディスプレイは、”wch.cn TouchScreen”でしたので、 SUBSYSTEM=="input", KERNEL=="event[0-9]", ATTRS{modalias}=="input:-e0*,3,a0,1,18,", SYMLINK+="input/touchscreen0" 画面割り当てについて
はどのように実現すればよいでしょうか?(別途パッチどこかにパッチが必要でしょうか) |
|
@hayashi-90 さん
手順を見る限りでは問題はないように見えます。
もしDomU westonに対して座標は移動するもののタッチだけが効かないということであれば、私の環境でも以前確認しました。 以下をDomU側のudev rulesに追加して、デバイスをタッチパネルであると認識させることでDomU Weston上でタッチが効くようになるかと思います。 設定ファイル作成後はudev ruleの再読み込みとwestonの再起動が必要です。
開発ブランチの方に取り込み済みの環境を使ってテストしています。 |
Update README.md with tips for DomA and DomU screen/touch configuration.