[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[linux-users:83065] WACOM FAVO USB + gimp ?


ごとう@兵庫県です

こんにちは。またもや困ったときのlinux-users頼みです。

WACOMのFAVO(海外での名称はGraphire)のUSBをちと必要があって入手しました。

# 悪い虫がうずいたというか....(^^;

gimpでこれを使いたくて、設定を試行していますが動いていません。
どなたかヒントをいただけないでしょうか。

現象: gimp1.2.0を使っています。
       [ファイル]-[ダイアログ]-[入力デバイス...]で表示されるはずのFAVOが
      表示されず「入力デバイスがありません」となります。

環境: Kondara 2000ベース
       Kernel 2.2.19pre17
       XFree86 4.0.2
          w/ XInput用ドライバ pxh氏のGraphire USB http://www.pxh.de/fs/graphire/
       gimp 1.2.0
       gtk+-1.2.8

# gimpだけでなく、gsumi( http://www.gtk.org/~otaylor/gsumi/ )でも
# [File]-[Input Dialog...]で"core pointer"しか出て来ません。

詳細:    

1) カーネルドライバレベルでは動作していて、/dev/input/event0でFAVOからの情報は
   取れています(問題なさげなので詳細割愛...)。

# cat /dev/input/event0 としてスタイラスを動かすとデータがでてくる。

2) /etc/X11/XF86Config には次のように設定しています。

----
[...]
    Load "graphireusb" 
[...]
Section "InputDevice"
        Identifier      "gstylus"
        Driver          "graphireusb"
        Option          "Device" "/dev/input/event0"
        Option          "Mode" "Absolute"
        Option          "Type" "gstylus"
EndSection
Section "InputDevice"
        Identifier      "geraser"
        Driver          "graphireusb"
        Option          "Device" "/dev/input/event0"
        Option          "Mode" "Absolute"
        Option          "Type" "geraser"
EndSection
Section "InputDevice"
        Identifier      "gmouse"
        Driver          "graphireusb"
        Option          "Device" "/dev/input/event0"
        Option          "Mode" "relative"
        Option          "Type" "gmouse"
EndSection
[...]
Section "ServerLayout" 
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "gstylus" "AlwaysCore"
    InputDevice "geraser" "AlwaysCore"
    InputDevice "gmouse" "AlwaysCore"
EndSection
----
3) /var/log/XFree86.0.logの内容では、
----
[snip]
(**) gstylus: always reports core events
(**) gstylus event device is /dev/input/event0
(**) gstylus is in absolute mode
(**) Option "AlwaysCore"
(**) geraser: always reports core events
(**) geraser event device is /dev/input/event0
(**) geraser is in absolute mode
(**) Option "AlwaysCore"
(**) gmouse: always reports core events
(**) gmouse event device is /dev/input/event0
(**) gmouse is in relative mode
(II) XINPUT: Adding extended input device "gmouse" (type: Graphire Mouse)
(II) XINPUT: Adding extended input device "geraser" (type: Graphire Eraser)
(II) XINPUT: Adding extended input device "gstylus" (type: Graphire Stylus)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(**) Option "Device" "/dev/input/event0"
(==) GraphireUSB tablet top X=0 top Y=0 bottom X=10206 bottom Y=7422
(==) GraphireUSB tablet top X=0 top Y=0 bottom X=10206 bottom Y=7422
(==) GraphireUSB tablet top X=0 top Y=0 bottom X=10206 bottom Y=7422
[snip]
----
のようにログが出ていて、入力デバイスとして認識されているようです。
# xinput list
で各デバイスの状態を見ましたが上記ログと矛盾なく情報が取れます。
----
"gmouse"        id=0    [XExtensionDevice]
        Num_buttons is 5
        Num_axes is 3
        Mode is Relative
        Motion_buffer is 0
        Axis 0 :
                Min_value is 0
                Max_value is 10206
                Resolution is 49999
        Axis 1 :
                Min_value is 0
                Max_value is 7422
                Resolution is 49999
        Axis 2 :
                Min_value is 0
                Max_value is 511
                Resolution is 0
"geraser"       id=1    [XExtensionDevice]
        Num_buttons is 1
        Num_axes is 3
        Mode is Absolute
        Motion_buffer is 0
        Axis 0 :
                Min_value is 0
                Max_value is 10206
                Resolution is 49999
        Axis 1 :
                Min_value is 0
                Max_value is 7422
                Resolution is 49999
        Axis 2 :
                Min_value is 0
                Max_value is 511
                Resolution is 0
"gstylus"       id=2    [XExtensionDevice]
        Num_buttons is 3
        Num_axes is 3
        Mode is Absolute
        Motion_buffer is 0
        Axis 0 :
                Min_value is 0
                Max_value is 10206
                Resolution is 49999
        Axis 1 :
                Min_value is 0
                Max_value is 7422
                Resolution is 49999
        Axis 2 :
                Min_value is 0
                Max_value is 511
                Resolution is 0
----
# "Resolution is 0"ってのが気にかかるけれど....これが原因??

4) gtkのspecファイルでは

./configure --with-xinput=xfree --prefix=%_prefix --sysconfdir=/etc

のように、xinputが利用できるように設定されています。

上記のような状態ですが、まったくお手上げです。



--
ごとう まさはる(Masaharu Goto)
e-mail: magotou _at_ fubyshare.gr.jp

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: