We've included code in our Solaris Xorg builds which originally came from Xsun to use the keyboard layout set in the kernel console to initialize the XKB layouts when no xorg.conf is present or the layout is not specified. I'm not sure if this is the best way to integrate into Xorg or some more platform independent work should be done, but I'm posting the patch here so others can see it for now.
Assigning to myself
Created attachment 4733 [details] [review] Patch to existing os-support/sunos keyboard files
Created attachment 4734 [details] New file hw/xfree86/os-support/sunos/sun_xkbtable.c
Created attachment 4735 [details] New file hw/xfree86/os-support/sunos/sun_xkbtable.h With the attached patch and two new attached files, plus modifying the Imakefile to add sun_xkbtable.c in the KBD_SRCS and sun_xkbtable.o in KBD_OBJS you should be able to build Xorg 6.9.0 to match the version we ship in Solaris 10 & Nevada today.
Created attachment 4736 [details] xkbtable.map data file read by this code This is the data file read by the above code - it expects to find it installed in /usr/X11/lib/X11/xkb/xkbtable.map
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
This is now handled by a HAL probe module setting the XKB options passed via input hotplug, so closing the Xorg bug as WONTFIX,
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.