LFS 6.1
BLFS SVN
kernel 2.6.15.7
Xorg 6.9

I'm trying to make evdev work with my Logitech MX1000 mouse.
I have compiled Event interface inside kernel.

I read that evdev could not work on the standard /dev/input/mice so I created a device for mx1000 by modifying /etc/udev/rules.d/25-lfs.rules which looks like the following :

# Input devices go in their own subdirectory
KERNEL="event*",        NAME="input/mx1000", MODE="0644"

KERNEL="mice",          NAME="input/mx1000", MODE="0644"

#KERNEL="mouse*",       NAME="input/%k", MODE="0644", SYMLINK="mouse"

#KERNEL="event*",       NAME="input/%k", MODE="0644"


After the boot, the caracter device mx1000 is well created in /dev/input/, but X fails to launch with the following error :
(**) Option "CorePointer"

(**) MX1000: Core Pointer

(**) MX1000: Device: "/dev/input/mx1000"

(EE) ioctl EVIOCGBIT failed: Inappropriate ioctl for device

(EE) PreInit failed for input device "MX1000"

(II) UnloadModule: "evdev"


BUT if I unplug then replug the Logitech receiver just after the boot and before lauching X, mx1000 is refreshed in /dev/input and a mouse0 device appears, and then evdev no more pose problem, X runs fine and all my mx1000 buttons are recognized!!

A google search on the error (EE) gives nothing.

Here is some parts of my xorg.conf:
Section "ServerLayout"

       Identifier     "X.org Configured"

       Screen      0  "Screen0" 0 0

       InputDevice "MX1000" "CorePointer"

       InputDevice    "Keyboard0" "CoreKeyboard"

EndSection

....

....

Section "InputDevice"

       Identifier      "MX1000"

       Driver      "evdev"

       Option      "Dev Phys" "usb-0000:00:1d.2-1/input1"

       Option      "Device" "/dev/input/mx1000"

EndSection


(I don't know if Option "Dev Phys" is necessary here)

Well, I would like evdev and X to run fine without having to unplug and replug the usb every time I reboot!

What is wrong what my config?
and also, do I really need to create the mx1000 special device?

Note : I read recently on this mailing list that there were some bugs in old releases of udev (I run the udev of LFS 6.1 ie 056) so I installed udev-096 and linux 2.6.16.26 but it generated so many error messages at boot from udevd that I came back to my current config (hopefully, I had made a backup of the entire system before).

Thanks if you can help me
Yves





--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to