|
|
Flag day: New sysidtool, sysidkbdDate: Fri, 08 Sep 2006 11:49:20 +0800 From: Strony Zhang - USB China Team <Strony.Zhang at Sun dot COM> To: on-all at Sun dot COM, onnv-gate at onnv dot eng dot sun dot com Subject: Flag day: New sysidtool, sysidkbd My recent putback into snv_47: PSARC 2006/390 sysidkbd 6386531 The keyboards with zero country code are always recognized as US layout during installation on SPARC During the installation on sparc and x86, the sysidkbd runs before the X starts. In the reconfiguration in sys-unconfig, it runs early. For the self-ID keyboard (like type6/7), its corresponding keytable is automatically loaded into kernel. No prompts appear. For the non-self-ID keyboard (like coming type7C or low cost PC keyboards), the sysidkbd will prompt users a list of the supported keyboard layouts for users to configure their desired keyboard layout. In the sysidkbd, the keyboard keyword is defined with a new rule that is different from its current usage created by kdmconfig on x86. Please refer the details to the sysidcfg man page(updated on snv_48). Recommended usage in your jumpstart script: 1. If you want to set non US keyboard layout(e.g. German, French) for the non-self-ID keyboard, please set the keyboard entry like this, keyboard=German. 2. If you don't use keyboard keyword, the default keyboard layout is US English. 3. For the self-ID keyboard, the keyboard configuration won't work. It works within the sysidconfig(1M) framework. Its UI is the same with other sysidtool UI prompt. **Please note that the sysidkbd only runs on sparc machine currently. It will be enabled on x86 in the following Xorg-miniroot project. Background ---------- On Nevada, you can run the cmd 'kbd -l' to check if the attached USB keyboard is self-ID or non-self-ID. # kbd -l type=6 layout=0 (0x00) delay(ms)=500 rate(ms)=40 If the result displays "layout=0", it indicates the keyboard is non-self-ID. For the self-ID USB keyboard, its layout number is positive. Thanks, Strony |