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

f-saki email@hidden
2010年 1月 22日 (金) 12:33:07 JST


井町様,ご回答ありがとうございます.

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 メーリングリストの案内