お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2008-09-23 14:20:39

isao1300
メンバ
登録日: 2008-08-02

シリアル、トラックボール

シリアルポートに、いわゆる トラックボールを接続して、マウスとして使用とすべく頑張ってます。「と いっても気持ちだけ頑張って、さっぱりわからない初心者です。」認識させる方法を模索しております。宜しくお願いします。

オフライン

 

#2 2008-09-23 14:33:16

zagan
メンバ
登録日: 2008-08-12

Re: シリアル、トラックボール

xorg.confを貼り付けると、回答が早いかもですね。
Section "InputDevice"周り。

最後の編集者: zagan (2008-09-23 14:34:12)

オフライン

 

#3 2008-09-23 14:41:25

isao1300
メンバ
登録日: 2008-08-02

Re: シリアル、トラックボール

早速有難う御座います。「xorg.confを貼り付けると、回答が早いかもですね。
Section "InputDevice"周り。」
初心者の私にとって、申し訳ありませんが、意味不明の世界です。もう少し噛み砕いてサポート頂けると有難いのですが。お手数おかけします。

オフライン

 

#4 2008-09-23 14:52:26

zagan
メンバ
登録日: 2008-08-12

Re: シリアル、トラックボール

ぁぁ。ごめんなさい。
画面上部に「アプリケーション」と言う項目があります。そこから、「アクセサリ」をポイントし、「端末」をクリックします。
下記を端末にコピペして、エンターキーを押してください。

コード:

gedit /etc/X11/xorg.conf

geditと言うエディタが起動して、xorg.confと言うXWindow(デスクトップ環境)の設定ファイルが表示されます。

オフライン

 

#5 2008-09-23 15:01:13

isao1300
メンバ
登録日: 2008-08-02

Re: シリアル、トラックボール

有難う御座います。こんなんが表示されました。またまたご教授のほどを。
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "jp106"
    Option        "XkbLayout"    "jp,jp"
    Option        "XkbOptions"    "grp:alt_shift_toggle,grp_led:scroll"
    Option        "XkbVariant"    "106,"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
EndSection

Section "InputDevice"
    Identifier    "Synaptics Touchpad"
    Driver        "synaptics"
    Option        "SendCoreEvents"    "true"
    Option        "Device"        "/dev/psaux"
    Option        "Protocol"        "auto-dev"
    Option        "HorizEdgeScroll"    "0"
EndSection

Section "Device"
    Identifier    "Configured Video Device"
EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
    Device        "Configured Video Device"
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
    InputDevice    "Synaptics Touchpad"
EndSection

オフライン

 

#6 2008-09-23 15:34:06

zagan
メンバ
登録日: 2008-08-12

Re: シリアル、トラックボール

isao1300さん による投稿:

Option        "XkbVariant"    "106,"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
EndSection

Section "InputDevice"
    Identifier    "Synaptics Touchpad"

この部分をコメントアウト(先頭に#をつける)

#Section "InputDevice"
#    Identifier    "Configured Mouse"
#    Driver        "mouse"
#    Option        "CorePointer"
#EndSection

http://d.hatena.ne.jp/s-yano/20080111/p3
を参考に「#EndSection」の下部に以下を貼り付け

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option    "CorePointer"
  Option    "Protocol" "auto"
  Option    "Device" "/dev/input/mice"
  Option    "Buttons" "9"
  Option    "Emulate3Buttons" "true"
  Option    "EmulateWheel" "true"
  Option    "EmulateWheelButton" "1"
  Option    "DragLockButtons" "9"
  Option    "YAxisMapping" "4 5"
EndSection

で、どうでしょう?
http://www.logicool.co.jp/index.cfm/mice_pointers/trackballs/devices/156&cl=jp,ja
のトラックボールの設定例みたいですが・・・

最後の編集者: zagan (2008-09-23 15:35:07)

オフライン

 

#7 2008-09-23 15:38:30

zagan
メンバ
登録日: 2008-08-12

Re: シリアル、トラックボール

編集するときは

コード:

sudo gedit /etc/X11/xorg.conf

とエディタに管理者権限を与えて編集してください。

最後の編集者: zagan (2008-09-23 16:35:01)

オフライン

 

Board footer

Powered by FluxBB