Armadilloフォーラム

Armadillo-640 LCDの画面回転について

ggg

2018年11月28日 22時40分

お世話になります。gonakam55と申します。

Armadillo-640+LCDでlxdeによるデスクトップ環境を構築したのですが(apt install lxde-core)、
画面を縦長に回転させる設定・方法はありますでしょうか?
ご教授いただけると助かります。

コメント

at_mizo

2018年12月5日 10時18分

溝渕です。

> 画面を縦長に回転させる設定・方法はありますでしょうか?

私は試したことはありませんが、"x11-xserver-utils"パッケージに含まれる
"xrandr"が使えそうです。

"--rotate left"オプションを使うと回転できませんか?

ggg

2018年12月5日 14時36分

ご返答ありがとうございます。

> 私は試したことはありませんが、"x11-xserver-utils"パッケージに含まれる
> "xrandr"が使えそうです。
> "--rotate left"オプションを使うと回転できませんか?

xrandrの--rotateオプションや-oオプションを試してみたのですが、

$ xrandr --output default --rotation left
xrandr: output default cannot use rotation "left" reflection "none"

$ xrandr -o left
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 2 (RRSetScreenConfig)
Current serial number in output stream: 14

というエラーメッセージが出て、画面回転ができませんでした。
何かまだ設定が不足しているのでしょうか?
お知恵が有りましたら、ご教授いただけると助かります。

at_mizo

2018年12月6日 11時00分

溝渕です。

次のようなxorg.confを、/etc/X11/に配置して再起動してみてください。画面が右
回転して表示されると思います。

Section "Device"
    Identifier          "Primary"
    Driver              "fbdev"
    Option              "fbdev" "/dev/fb0"
    Option              "Rotate" "CW"
EndSection
 
Section "InputClass"
    Identifier          "libinput touchscreen catchall"
    MatchDevicePath     "/dev/input/event0"
    Driver              "libinput"
    Option              "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"
EndSection