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

Tomohiko IMACHI email@hidden
2010年 1月 22日 (金) 11:06:37 JST


井町といいます.

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
> 
> 


-- 
T. Imachi



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