[Armadillo:04910] Re: 500FX DebianでのX

f-saki email@hidden
2010年 1月 23日 (土) 17:03:37 JST


藤咲です.

タッチパネルがクリックできない現象のままですが,
xevを実行するとButtonイベントは発生しているようです.
ですが,PressとReleaseが逆のような気がします.

すばやくタッチしても,ゆっくりタッチしてもReleaseから始まるので
これが原因ではないかと,思っています.

これが本当の原因であるかはわかりませんが,何か解決につながりそうなことを
ご存知でしたら教えていただければ嬉しいです.



debian:~# xev -display :0.0

MotionNotify event, serial 20, synthetic NO, window 0xa00001,
    root 0x3a, subw 0x0, time 592259553, (93,105), root:(95,107),
    state 0x0, is_hint 0, same_screen YES

ButtonRelease event, serial 20, synthetic NO, window 0xa00001,
    root 0x3a, subw 0x0, time 592259553, (93,105), root:(95,107),
    state 0x0, button 75, same_screen YES

ButtonPress event, serial 20, synthetic NO, window 0xa00001,
    root 0x3a, subw 0x0, time 592259553, (93,105), root:(95,107),
    state 0x0, button 75, same_screen YES

MotionNotify event, serial 20, synthetic NO, window 0xa00001,
    root 0x3a, subw 0x0, time 592259563, (98,61), root:(100,63),
    state 0x0, is_hint 0, same_screen YES

MotionNotify event, serial 20, synthetic NO, window 0xa00001,
    root 0x3a, subw 0x0, time 592259573, (102,56), root:(104,58),
    state 0x0, is_hint 0, same_screen YES



藤咲


(2010/01/22 19:23), f-saki wrote:
> 藤咲です.
> 
> 度々すみません.
> 
> タッチパネル上でカーソルを操作できたので出来上がったと思い上がってしまっ
> てクリックが効いてないことに後で気づいてしまいました.
> 
> synapticsを使うのだろうとおもい,調べつつ設定していたのですが,
> 行き詰まってしまいました.
> 
> 何かご存知でしたら,教えていただけると助かります.
> 
> 
> debian:/etc/X11# cat xorg.conf
> # /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
> # (Type "man /etc/X11/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 "Files"
>          FontPath        "/usr/share/fonts/X11/misc"
>          FontPath        "/usr/X11R6/lib/X11/fonts/misc"
>          FontPath        "/usr/share/fonts/X11/cyrillic"
>          FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
>          FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
>          FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
>          FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
>          FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
>          FontPath        "/usr/share/fonts/X11/Type1"
>          FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
>          FontPath        "/usr/share/fonts/X11/100dpi"
>          FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
>          FontPath        "/usr/share/fonts/X11/75dpi"
>          FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
>          # path to defoma fonts
>          FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
> EndSection
> 
> Section "Module"
>          Load    "bitmap"
>          Load    "ddc"
>          Load    "dri"
>          Load    "extmod"
>          Load    "freetype"
>          Load    "int10"
>          Load    "vbe"
>          Load    "synaptics"
> EndSection
> 
> #Section "InputDevice"
> #       Identifier      "Generic Keyboard"
> #       Driver          "kbd"
> #       Option          "CoreKeyboard"
> #       Option          "XkbRules"      "xorg"
> #       Option          "XkbModel"      "pc106"
> #       Option          "XkbLayout"     "jp"
> #       Option          "Device"        "/dev/input/event3"
> #EndSection
> 
> 
> Section "InputDevice"
> Identifier      "Configured Mouse"
> #       Driver          "evdev"
>          Driver          "synaptics"
>          Option          "CorePointer"
>          Option          "Device"                "/dev/input/event1"
>          Option          "Protocol"              "Auto"
> EndSection
> 
> Section "Device"
>          Identifier      "Generic Video Card"
>          Driver          "fbdev"
>          Option          "UseFBDev"              "true"
> EndSection
> 
> Section "Monitor"
>          Identifier      "Generic Monitor"
>          Option          "DPMS"
>          HorizSync       28-32
>          VertRefresh     43-60
> EndSection
> 
> Section "Screen"
>          Identifier      "Default Screen"
>          Device          "Generic Video Card"
>          Monitor         "Generic Monitor"
>          DefaultDepth    16
>          SubSection "Display"
>                  Depth           1
>                  Modes           "640x480"
>          EndSubSection
>          SubSection "Display"
>                  Depth           4
>                  Modes           "640x480"
>          EndSubSection
>          SubSection "Display"
>                  Depth           8
>                  Modes           "640x480"
>          EndSubSection
>          SubSection "Display"
>                  Depth           15
>                  Modes           "640x480"
>          EndSubSection
>          SubSection "Display"
>                  Depth           16
>                  Modes           "640x480"
>          EndSubSection
>          SubSection "Display"
>                  Depth           24
>                  Modes           "640x480"
>          EndSubSection
> EndSection
> 
> Section "ServerLayout"
>          Identifier      "Default Layout"
>          Screen          "Default Screen"
> #       InputDevice     "Generic Keyboard"
>          InputDevice     "Configured Mouse"
> EndSection
> 
> Section "DRI"
>          Mode    0666
> EndSection
> debian:/etc/X11#
> 
> 
> 
> 
> cat /var/log/Xorg.0.log
> 
> (II) Synaptics touchpad driver version 0.14.6 (1406)
> Configured Mouse no synaptics event device found (checked 13 nodes)
> (**) Option "Device" "/dev/input/event1"
> Query no Synaptics: 000000
> (EE) Configured Mouse no synaptics touchpad detected and no repeater device
> (EE) Configured Mouse Unable to query/initialize Synaptics hardware.
> (EE) PreInit failed for input device "Configured Mouse"
> (II) UnloadModule: "synaptics"
> (**) Option "CoreKeyboard"
> (**)<default keyboard>: Core Keyboard
> (**) Option "Protocol" "standard"
> (**)<default keyboard>: Protocol: standard
> (**) Option "AutoRepeat" "500 30"
> (**) Option "XkbRules" "xorg"
> (**)<default keyboard>: XkbRules: "xorg"
> (**) Option "XkbModel" "pc105"
> (**)<default keyboard>: XkbModel: "pc105"
> (**) Option "XkbLayout" "us"
> (**)<default keyboard>: XkbLayout: "us"
> (**) Option "CustomKeycodes" "off"
> (**)<default keyboard>: CustomKeycodes disabled
> (WW) No core pointer registered
> (II) XINPUT: Adding extended input device "<default keyboard>" (type:
> KEYBOARD)
>      xkb_keycodes             { include "xfree86+aliases(qwerty)" };
>      xkb_types                { include "complete" };
>      xkb_compatibility        { include "complete" };
>      xkb_symbols              { include "pc(pc105)+us" };
>      xkb_geometry             { include "pc(pc105)" };
> No core pointer
> 
> Fatal server error:
> failed to initialize core devices
> 
> 
> 
> 
> debian:/etc/X11# startx
> xauth:  creating new authority file /root/.serverauth.2188
> 
> X: warning; process set to priority -1 instead of requested priority 0
> 
> X Window System Version 7.1.1
> Release Date: 12 May 2006
> X Protocol Version 11, Revision 0, Release 7.1.1
> Build Operating System: UNKNOWN
> Current Operating System: Linux debian 2.6.26-at6 #5 PREEMPT Thu Jan 21
> 15:54:49 JST 2010 armv6l
> Build Date: 02 June 2008
>          Before reporting problems, check http://wiki.x.org
>          to make sure that you have the latest version.
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
>          (++) from command line, (!!) notice, (II) informational,
>          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 12 11:46:42 2010
> (==) Using config file: "/etc/X11/xorg.conf"
> Configured Mouse no synaptics event device found (checked 13 nodes)
> Query no Synaptics: 000000
> (EE) Configured Mouse no synaptics touchpad detected and no repeater device
> (EE) Configured Mouse Unable to query/initialize Synaptics hardware.
> (EE) PreInit failed for input device "Configured Mouse"
>      xkb_keycodes             { include "xfree86+aliases(qwerty)" };
>      xkb_types                { include "complete" };
>      xkb_compatibility        { include "complete" };
>      xkb_symbols              { include "pc(pc105)+us" };
>      xkb_geometry             { include "pc(pc105)" };
> No core pointer
> 
> Fatal server error:
> failed to initialize core devices
> XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
>        after 0 requests (0 known processed) with 0 events remaining.
> debian:/etc/X11#
> 
> 
> 
> 何度も申し訳ないですが,よろしくお願いいたします.
> 
> 
> 藤咲
> 
> 
> 
> 
> (2010/01/22 12:33), f-saki wrote:
>> 井町様,ご回答ありがとうございます.
>>
>> dpkg-reconfigure xserver-xorg
>> で xorg.confを 作り直したあと,
>>
>>> 	Driver を "mouse" から "evdev" に変更
>>> 	Option "Device" を "/dev/input/mice" から "/dev/input/event1" に変更
>>
>> を行いました.
>>
>> #startx
>>
>> で無事,Xが立ち上がり,タッチパッドで操作できるようになりました.
>> ありがとうございました.
>>
>> yashi様,井町様,この度は本当にありがとうございました.
>>
>>
>>
>> 藤咲
>>
>> debian:~# cat /etc/X11/xorg.conf
>> # /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
>> # (Type "man /etc/X11/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 "Files"
>>           FontPath        "/usr/share/fonts/X11/misc"
>>           FontPath        "/usr/X11R6/lib/X11/fonts/misc"
>>           FontPath        "/usr/share/fonts/X11/cyrillic"
>>           FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
>>           FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
>>           FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
>>           FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
>>           FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
>>           FontPath        "/usr/share/fonts/X11/Type1"
>>           FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
>>           FontPath        "/usr/share/fonts/X11/100dpi"
>>           FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
>>           FontPath        "/usr/share/fonts/X11/75dpi"
>>           FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
>>           # path to defoma fonts
>>           FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
>> EndSection
>>
>> Section "Module"
>>           Load    "bitmap"
>>           Load    "ddc"
>>           Load    "dri"
>>           Load    "extmod"
>>           Load    "freetype"
>>           Load    "int10"
>>           Load    "vbe"
>> EndSection
>>
>> Section "InputDevice"
>>           Identifier      "Generic Keyboard"
>>           Driver          "kbd"
>>           Option          "CoreKeyboard"
>>           Option          "XkbRules"      "xorg"
>>           Option          "XkbModel"      "pc106"
>>           Option          "XkbLayout"     "jp"
>> EndSection
>>
>> Section "InputDevice"
>>           Identifier      "Configured Mouse"
>>           Driver          "evdev"
>>           Option          "CorePointer"
>>           Option          "Device"                "/dev/input/event1"
>>           Option          "Protocol"              "Auto"
>> EndSection
>>
>> Section "Device"
>>           Identifier      "Generic Video Card"
>>           Driver          "fbdev"
>>           Option          "UseFBDev"              "true"
>> EndSection
>>
>> Section "Monitor"
>>           Identifier      "Generic Monitor"
>>           Option          "DPMS"
>>           HorizSync       28-32
>>           VertRefresh     43-60
>> EndSection
>>
>> Section "Screen"
>>           Identifier      "Default Screen"
>>           Device          "Generic Video Card"
>>           Monitor         "Generic Monitor"
>>           DefaultDepth    16
>>           SubSection "Display"
>>                   Depth           1
>>                   Modes           "640x480"
>>           EndSubSection
>>           SubSection "Display"
>>                   Depth           4
>>                   Modes           "640x480"
>>           EndSubSection
>>           SubSection "Display"
>>                   Depth           8
>>                   Modes           "640x480"
>>           EndSubSection
>>           SubSection "Display"
>>                   Depth           15
>>                   Modes           "640x480"
>>           EndSubSection
>>           SubSection "Display"
>>                   Depth           16
>>                   Modes           "640x480"
>>           EndSubSection
>>           SubSection "Display"
>>                   Depth           24
>>                   Modes           "640x480"
>>           EndSubSection
>> EndSection
>>
>> Section "ServerLayout"
>>           Identifier      "Default Layout"
>>           Screen          "Default Screen"
>>           InputDevice     "Generic Keyboard"
>>           InputDevice     "Configured Mouse"
>> EndSection
>>
>> Section "DRI"
>>           Mode    0666
>> EndSection
>>
>>
>>
>>
>>
>> (2010/01/22 11:06), Tomohiko IMACHI wrote:
>>> 井町といいます.
>>>
>>> xorg.conf のマウスのセクションで,
>>>
>>> 	Driver を "mouse" から "evdev" に変更
>>> 	Option "Device" を "/dev/input/mice" から "/dev/input/event1" に変更
>>>
>>> でどうでしょうか.
>>> マウス入力は USB マウスではなく,タッチスクリーンになりますが.
>>>
>>> ===========================================================
>>> 参考:$ cat /proc/bus/input/devices より抜粋
>>> -----------------------------------------------------------
>>> I: Bus=0019 Vendor=0000 Product=0000 Version=0000
>>> N: Name="mxckpd"
>>> P: Phys=
>>> S: Sysfs=/devices/virtual/input/input0
>>> U: Uniq=
>>> H: Handlers=kbd event0
>>> B: EV=3
>>> B: KEY=80 0 0 40000800 1ec0 0 78000000 10000ffc
>>>
>>> I: Bus=0000 Vendor=0000 Product=0000 Version=0000
>>> N: Name="ADS784x Touchscreen"
>>> P: Phys=spi3.1/input0
>>> S: Sysfs=/devices/platform/mxc_spi.2/spi3.1/input/input1
>>> U: Uniq=
>>> H: Handlers=event1
>>> B: EV=b
>>> B: KEY=400 0 0 0 0 0 0 0 0 0 0
>>> B: ABS=1000003
>>> ===========================================================
>>>
>>>
>>>> yashi様ご回答ありがとうございます.
>>>> USBマウスとhostsの設定をおこなってみました.
>>>>
>>>> dmesg
>>>>
>>>> input: Microsoft Basic Optical Mouse as
>>>> /devices/platform/fsl-ehci.1/usb2/2-1/2-1:1.0/input/input2
>>>> input: USB HID v1.10 Mouse [Microsoft Basic Optical Mouse] on
>>>> usb-fsl-ehci.1-1
>>>> usb 3-1: new low speed USB device using fsl-ehci and address 2
>>>> usb 3-1: configuration #1 chosen from 1 choice
>>>> input: USB-compliant keyboard as
>>>> /devices/platform/fsl-ehci.2/usb3/3-1/3-1:1.0/input/input3
>>>> input: USB HID v1.10 Keyboard [USB-compliant keyboard] on usb-fsl-ehci.2-1
>>>> input: USB-compliant keyboard as
>>>> /devices/platform/fsl-ehci.2/usb3/3-1/3-1:1.1/input/input4
>>>> input: USB HID v1.10 Mouse [USB-compliant keyboard] on usb-fsl-ehci.2-1
>>>>
>>>> USBマウスをつないでみました,認識しているようです.
>>>> このとき,xorg.confの変更が必要でしょうか?
>>>>
>>>> debian:~# startx
>>>> xauth:  creating new authority file /root/.serverauth.1488
>>>>
>>>> X: warning; process set to priority -1 instead of requested priority 0
>>>>
>>>> X Window System Version 7.1.1
>>>> Release Date: 12 May 2006
>>>> X Protocol Version 11, Revision 0, Release 7.1.1
>>>> Build Operating System: UNKNOWN
>>>> Current Operating System: Linux debian 2.6.26-at6 #5 PREEMPT Thu Jan 21
>>>> 15:54:49 JST 2010 armv6l
>>>> Build Date: 02 June 2008
>>>>            Before reporting problems, check http://wiki.x.org
>>>>            to make sure that you have the latest version.
>>>> Module Loader present
>>>> Markers: (--) probed, (**) from config file, (==) default setting,
>>>>            (++) from command line, (!!) notice, (II) informational,
>>>>            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
>>>> (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 12 02:31:58 2010
>>>> (==) Using config file: "/etc/X11/xorg.conf"
>>>> (EE) xf86OpenSerial: Cannot open device /dev/input/mice
>>>>            No such file or directory.
>>>> (EE) Configured Mouse: cannot open input device
>>>> (EE) PreInit failed for input device "Configured Mouse"
>>>>        xkb_keycodes             { include "xfree86+aliases(qwerty)" };
>>>>        xkb_types                { include "complete" };
>>>>        xkb_compatibility        { include "complete" };
>>>>        xkb_symbols              { include "pc(pc105)+us" };
>>>>        xkb_geometry             { include "pc(pc104)" };
>>>> No core pointer
>>>>
>>>> Fatal server error:
>>>> failed to initialize core devices
>>>> XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
>>>>          after 0 requests (0 known processed) with 0 events remaining.
>>>> debian:~#
>>>>
>>>>
>>>> debina:0は言われなくなりました.
>>>> ありがとうございます.
>>>>
>>>> ただ,まだXはうまく動かないようです.
>>>>
>>>> 藤咲
>>>>
>>>> (2010/01/22 9:29), Yasushi SHOJI wrote:
>>>>> At Thu, 21 Jan 2010 22:31:00 +0900,
>>>>> f-saki wrote:
>>>>> [...]
>>>>>> (EE) xf86OpenSerial: Cannot open device /dev/input/mice
>>>>>>             No such file or directory.
>>>>>> (EE) Configured Mouse: cannot open input device
>>>>>> (EE) PreInit failed for input device "Configured Mouse"
>>>>>>         xkb_keycodes             { include "xfree86+aliases(qwerty)" };
>>>>>>         xkb_types                { include "complete" };
>>>>>>         xkb_compatibility        { include "complete" };
>>>>>>         xkb_symbols              { include "pc(pc105)+us" };
>>>>>>         xkb_geometry             { include "pc(pc104)" };
>>>>>> No core pointer
>>>>> マウスが無いからとか? usbマウスを差したら、どうなります?
>>>>>
>>>>>> Fatal server error:
>>>>>> failed to initialize core devices
>>>>>> XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
>>>>>>           after 0 requests (0 known processed) with 0 events remaining.
>>>>>> xauth: (argv):1:  bad display name "debian:0" in "remove" command
>>>>>> debian:~#
>>>>> こっちは、/etc/hostsの設定かな。127.0.0.1に 「debian」を追加すると良いはず。
>>>>
>>>> _______________________________________________
>>>> armadillo mailing list
>>>> email@hidden
>>>> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
>>>>
>>>>
>>>
>>>
>>
> 




armadillo メーリングリストの案内