[xorg-bugzilla-noise] [Bug 1133] keyboard driver fails to initialize if DoLoadableServer=NO

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 19 07:02:43 PDT 2004


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1133        
   




------- Additional Comments From krh at bitplanet.net  2004-08-19 07:02 -------
Created an attachment (id=683)
 --> (https://freedesktop.org/bugzilla/attachment.cgi?id=683&action=view)
Patch to make DoLoadableServer NO work (relative to
programs/Xserver/hw/xfree86/input)

Ugh, yeah this is messy... another problem with the new keyboard driver and
DoLoadableServer NO is that the "kbd" isn't available in that build.  Since the
list of drivers is the directory-names uppercased, KEYBOARD will be in the list
but not KBD.  Since I changed the KEYBOARD struct in keyboard/kbd.c to contain
"keyboard" instead of "kbd", a non-loadable server will not recognize a "kbd"
driver.  One solution to this is to just add KBD explicitly to the list of
arguments to confdrv.sh in the Imakefile.

As for the problem with xf86KEYBOARD getting added to the list: that's hard
coded in confdrv.sh, and can be moved to the Imakefile where it can depend on
the setting of UseDeprecatedKeyboardDriver.

The attached patch fixes both problems as described, please check it out.        
   
   
--         
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list