[opensuse] not able to use evdev
hi i tried use evdev for my mouse in my xorg file Section "Module" Load "dbe" Load "type1" Load "freetype" Load "extmod" Load "glx" Load "v4l" Load "evdev" EndSection Section "InputDevice" Driver "evdev" Identifier "Mouse[1]" Option "Device" "/dev/input/event2" Option "Name" "Logitech USB RECEIVER" Option "Vendor" "Logitech" EndSection if i write that in my xorg file, X refuse to start /var/log/messages return an 24 21:52:48 linux kernel: /opt/gspcav1-20070110/gspca_core.c: [gspca_set_isoc_ep:881] ISO EndPoint found 0x81 AlternateSet 7 Jan 24 21:52:49 linux syslog-ng[31786]: Changing permissions on special file /dev/xconsole Jan 24 21:52:49 linux syslog-ng[31786]: Changing permissions on special file /dev/tty10 Jan 24 21:52:49 linux kdm: :0[31891]: IO Error in XOpenDisplay Jan 24 21:52:49 linux kdm[31837]: Display :0 cannot be opened Jan 24 21:52:49 linux kdm[31837]: Unable to fire up local display :0; disabling. Jan 24 21:55:38 linux init: Switching to runlevel: 3 Jan 24 21:55:43 linux init: Switching to runlevel: 5 Jan 24 21:55:43 linux kernel: Kernel logging (proc) stopped. Jan 24 21:55:43 linux kernel: Kernel log daemon terminating. Jan 24 21:55:44 linux syslog-ng[31786]: syslog-ng version 1.6.11 going down Jan 24 21:55:44 linux syslog-ng[32121]: syslog-ng version 1.6.11 starting Jan 24 21:55:44 linux logger: /etc/init.d/xdm: No changes for /etc/X11/xdm/Xservers Jan 24 21:55:44 linux logger: /etc/init.d/xdm: No changes for /etc/X11/xdm/xdm-config Jan 24 21:55:49 linux syslog-ng[32121]: Changing permissions on special file /dev/xconsole Jan 24 21:55:49 linux syslog-ng[32121]: Changing permissions on special file /dev/tty10 Jan 24 21:55:49 linux kdm: :0[32186]: IO Error in XOpenDisplay Jan 24 21:55:49 linux kdm[32172]: Display :0 cannot be opened Jan 24 21:55:49 linux kdm[32172]: Unable to fire up local display :0; disabling. Jan 24 21:55:49 linux kernel: klogd 1.4.1, log source = /proc/kmsg started. Jan 24 21:55:49 linux kernel: /opt/gspcav1-20070110/gspca_core.c: [spca5xx_set_light_freq:1858] Sensor currently not support light frequency banding filters. Jan 24 21:55:49 linux kernel: /opt/gspcav1-20070110/gspca_core.c: [gspca_set_isoc_ep:881] ISO EndPoint found 0x81 AlternateSet 7 Jan 24 21:56:50 linux init: Switching to runlevel: 3 Jan 24 21:56:55 linux init: Switching to runlevel: 5 Jan 24 21:56:55 linux kernel: Kernel logging (proc) stopped. Jan 24 21:56:55 linux kernel: Kernel log daemon terminating. Jan 24 21:56:56 linux syslog-ng[32121]: syslog-ng version 1.6.11 going down Jan 24 21:56:56 linux syslog-ng[32413]: syslog-ng version 1.6.11 starting Jan 24 21:56:56 linux logger: /etc/init.d/xdm: No changes for /etc/X11/xdm/Xservers Jan 24 21:56:56 linux logger: /etc/init.d/xdm: No changes for /etc/X11/xdm/xdm-config Jan 24 21:57:01 linux kernel: klogd 1.4.1, log source = /proc/kmsg started. Jan 24 21:57:01 linux kernel: /opt/gspcav1-20070110/gspca_core.c: [spca5xx_set_light_freq:1858] Sensor currently not support light frequency banding filters. don't have any problem if i don't use evdev thanks ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 2007-01-26 at 18:12 -0800, Collin Marc wrote:
hi
i tried use evdev for my mouse
in my xorg file
Section "Module" Load "dbe" Load "type1" Load "freetype" Load "extmod" Load "glx" Load "v4l" Load "evdev" EndSection
Is the order of this section important? Can evdev be loaded first? -- ___ _ _ _ ____ _ _ _ | | | | [__ | | | |___ |_|_| ___] | \/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 29 January 2007 11:36, Carl William Spitzer IV wrote:
On Fri, 2007-01-26 at 18:12 -0800, Collin Marc wrote:
hi
i tried use evdev for my mouse
in my xorg file
Section "Module" Load "dbe" Load "type1" Load "freetype" Load "extmod" Load "glx" Load "v4l" Load "evdev" EndSection
Is the order of this section important? Can evdev be loaded first?
SuSE doesn't configure/compile evdev as a kernel mod. It's a lib package /usr/lib/pulse-0.9/modules/module-mmkbd-evdev.la /usr/lib/pulse-0.9/modules/module-mmkbd-evdev.so /usr/lib/xorg/modules/input/evdev_drv.la /usr/lib/xorg/modules/input/evdev_drv.so /usr/share/man/man4/evdev.4.gz /usr/share/X11/xkb/keycodes/evdev /usr/src/linux-2.6.18.2-34-obj/i386/bigsmp/include/config/input/evdev.h /usr/src/linux-2.6.18.2-34-obj/i386/debug/include/config/input/evdev.h /usr/src/linux-2.6.18.2-34-obj/i386/default/include/config/input/evdev.h /usr/src/linux-2.6.18.2-34-obj/i386/kdump/include/config/input/evdev.h /usr/src/linux-2.6.18.2-34-obj/i386/um/include/config/input/evdev.h /usr/src/linux-2.6.18.2-34-obj/i386/xen/include/config/input/evdev.h /usr/src/linux-2.6.18.2-34-obj/i386/xenpae/include/config/input/evdev.h /usr/src/linux-2.6.18.2-34/drivers/input/evdev.c Note no *.ko file. From what I gather it loads on demand. The latest SaX2 packages have updated the code for evdev and I have gotten it to load, though in my case my mobo's usb bus seems to be flaky so I went back to ps/2. Funny thing is that I haven't changed my xorg.conf to reflect this and the mouse works fine <shrugs> My xorg conf section for the mouse is as follows (you may have known/done this already). Section "InputDevice" Identifier "Mouse[1]" Driver "evdev" Option "Vendor" "Sysps" Option "Protocol" "explorerps/2" Option "Dev Name" "B16_b_02 USB-PS/2 Optical Mouse" Option "Dev Phys" "usb-0000:00:02.1-2/input0" Option "Device" "/dev/input/mice" Option "Buttons" "7" Option "ZAxisMapping" "4 5" Option "ButtonMapping" "1 2 3 6 7" Option "Resolution" "800" EndSection The dev name and dev phys is from: cat /proc/bus/input/devices I've always had problems with reliability and throughput with usb mouses in SuSE - ever since early 8x/9x beta days. And this held true in 10.2 (once again on this particular mobo the usb bus gets flaky at times). But, evdev gave me much better response and through put. They're still working out the kinks but have included a config option in the latest SaX2 package. HTH, Curits. -- Spammers Beware: Trespassers will be shot, survivors will be shot again! I don't want a politician I can believe in. I simply want a politician I can believe! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Carl William Spitzer IV
-
Collin Marc
-
Curtis Rey