Bug 6018 - autoconfigure should set keyboard layouts on Solaris based on kernel layout
Summary: autoconfigure should set keyboard layouts on Solaris based on kernel layout
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/Keyboard (show other bugs)
Version: git
Hardware: All Solaris
: high enhancement
Assignee: Alan Coopersmith
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-24 05:26 UTC by Alan Coopersmith
Modified: 2009-09-01 07:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch to existing os-support/sunos keyboard files (5.69 KB, patch)
2006-02-24 05:30 UTC, Alan Coopersmith
no flags Details | Splinter Review
New file hw/xfree86/os-support/sunos/sun_xkbtable.c (5.44 KB, text/x-csrc)
2006-02-24 05:31 UTC, Alan Coopersmith
no flags Details
New file hw/xfree86/os-support/sunos/sun_xkbtable.h (2.02 KB, text/x-chdr)
2006-02-24 05:33 UTC, Alan Coopersmith
no flags Details
xkbtable.map data file read by this code (7.62 KB, text/plain)
2006-02-24 05:36 UTC, Alan Coopersmith
no flags Details

Description Alan Coopersmith 2006-02-24 05:26:35 UTC
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.
Comment 1 Alan Coopersmith 2006-02-24 05:27:00 UTC
Assigning to myself
Comment 2 Alan Coopersmith 2006-02-24 05:30:47 UTC
Created attachment 4733 [details] [review]
Patch to existing os-support/sunos keyboard files
Comment 3 Alan Coopersmith 2006-02-24 05:31:50 UTC
Created attachment 4734 [details]
New file hw/xfree86/os-support/sunos/sun_xkbtable.c
Comment 4 Alan Coopersmith 2006-02-24 05:33:38 UTC
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.
Comment 5 Alan Coopersmith 2006-02-24 05:36:31 UTC
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
Comment 6 Daniel Stone 2007-02-27 01:30:37 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 7 Alan Coopersmith 2009-09-01 07:42:52 UTC
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.