Andrew Pattison wrote:
I've got an Ultra 10 with a brand new type 6 UK keyboard and mouse. By what you are 
saying, my system will boot Xorg with a UK keyboard by probing the keyboard. Presumably 
all I need to do to force a UK layout would be to set the keyboard-layout nvram variable 
by hand - is that correct? If so, does it simply contain the layout name e.g. 
"GB"?

Sun Type 6 keyboards contain PROM and or dip switches with the layout
code embedded, so they tell the system themselves what their layout is,
without any user intervention required (and indeed on older OBP, without
any user intervention possible - the OBP always believes the keyboard,
and if the keyboard doesn't say, forces you into US/English).

The kernel initializes the layout by asking OBP, but it can be overridden
with "kbd -s".   (The exact details here are changing in current Nevada
releases.)

Xsun & Xorg both use the kernel layout by default - but it can be manually
specified in their config files, in which case that is used instead.

So if you do a fresh install, make no manual config changes, the layout
code from the keyboard will be automatically used all the way up through
OBP, kernel console, and into X.

--
        -Alan Coopersmith-           [EMAIL PROTECTED]
         Sun Microsystems, Inc. - X Window System Engineering
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to