xorg segfaults on startup if the device specified in an evdev InputDevice section is not the right device. I recently moved my PC to a new room, and after reconnecting everything, X failed to start, segfaulting shortly after being started. It took me a while to figure out that my MX1000 was now event1, not event2 where it used to be. Admittedly, I should have set up a udev rule to cause it to always appear at input/mx1000 which I have now done. Nevertheless, I feel that it should probably fail more gracefully in this situation, and possibly provide some insight into what it thinks is wrong.
(In reply to comment #0) I found the same thing, which is a total PITA since I have a laptop. Theres a line in evdev.c (somewhere near 691), that goes: xf86Msg(X_ERROR, "Unable to open evdev device \"%s\".\n", device); xfree(pEvdev); I found removing the xfree(pEvdev); line fixes that... Its a gross hack, but perhaps its a start for finding the real cause.
This bug is no longer an issue with the new evdev driver in the modular CVS tree.
Reassign to the new evdev maintainer.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.