tech-x11 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Couple minor native Xorg bugs
On Thu, 23 Oct 2008, Jared D. McNeill wrote:
2. 'startx' with no config selects the "vesa" driver, and the mouse
doesn't work.
The "vesa" selection appears to be caused by the way we populate
/usr/X11R7/lib/modules/drivers/, if I get rid of the symlink nest and
simply install each driver as foo_drv.so it works.
Here's an untested patch for the mouse:
Index: dist/hw/xfree86/common/xf86Config.c
===================================================================
RCS file:
/cvsroot/xsrc/external/mit/xorg-server/dist/hw/xfree86/common/xf86Config.c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 xf86Config.c
--- dist/hw/xfree86/common/xf86Config.c 31 Jul 2008 19:49:42 -0000 1.1.1.1
+++ dist/hw/xfree86/common/xf86Config.c 23 Oct 2008 17:01:03 -0000
@@ -1338,6 +1338,17 @@ checkCoreInputDevices(serverLayoutPtr se
bzero(&defPtr, sizeof(defPtr));
defPtr.inp_identifier = "<default pointer>";
defPtr.inp_driver = "mouse";
+#ifdef __NetBSD__
+ defPtr.inp_option_list =
+ xf86addNewOption(defPtr.inp_option_list, xstrdup("Protocol"),
+ xstrdup("wsmouse"));
+ defPtr.inp_option_list =
+ xf86addNewOption(defPtr.inp_option_list, xstrdup("Device"),
+ xstrdup("/dev/wsmouse"));
+ defPtr.inp_option_list =
+ xf86addNewOption(defPtr.inp_option_list, xstrdup("ZAxisMapping"),
+ xstrdup("4 5 6 7"));
+#endif
confInput = &defPtr;
foundPointer = TRUE;
from = X_DEFAULT;
3. 'X -configure' selects the "vesa" driver instead of "intel".
I checked in a fix for this.
4. Unable to switch from X to console with ctrl+alt+Fn
5. No big warning when I tried to use X without the xetc set
installed.
That's all for now.
Cheers,
Jared
Home |
Main Index |
Thread Index |
Old Index