ごとう@兵庫県です
こんにちは。またもや困ったときの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
Follow-Ups:
- [linux-users:83078] Re: WACOM FAVO USB + gimp ?Hotta Kazuhiko
- [linux-users:83090] Re: WACOM FAVO USB + gimp ?MARUBAYASHI Takamichi
- Prev by Subject: [linux-users:83064] Re: POP server with independent user management
- Next by Subject: [linux-users:83066] Re: FTP のデータ転送ができない
- Previous by thread: [linux-users:83216] Re: POP server with independent usermanagement
- Next by thread: [linux-users:83078] Re: WACOM FAVO USB + gimp ?
- Indexes:[Main][Thread]