Re: USB and Solaris 10

From: Chris Ridd (chrisridd_at_mac.com)
Date: 08/19/05


Date: Fri, 19 Aug 2005 12:51:14 +0100

On 19/8/05 12:05, in article wyzmre5gr3.fsf@tiger2.tools.intra, "Juergen
Keil" <jk@tools.de> wrote:

> Did you test the console keyboard layout in single or in multi-user
> mode? There is a known problem that S10-x86 does not start the
> svc:/system/keymap:default service in single user mode.
>
> "svcadm enable -t keymap" should temporarily enable the service in
> single mode and the keyboard layout should change to 0x20 UK layout.

Ah, that was the problem indeed. I booted single-user, enabled the service,
ran kdmconfig to configure the keyboard (Xsun mode) and then kdmconfig to
switch back to Xorg mode. Rebooted multi-user, and the keys are working fine
:-))
 
Many thanks Jürgen!

> On my boxes I've used the following script to reconfigure smf to
> enable the svc:/system/keymap:default service in single user mode:
>
> % cat smf-keymap
> #!/bin/sh
>
> #
> # wrong keyboard layout on the single user login propmt with s10_b69
> #
>
> # delpg xkeymap
>
> svccfg -f - <<EOF
> select milestone/single-user
> addpg xkeymap dependency
> setprop xkeymap/entities = fmri:"svc:/system/keymap"
> setprop xkeymap/restart_on = astring: "none"
> setprop xkeymap/grouping = astring: "require_all"
> setprop xkeymap/type = astring: "service"
> end
> EOF
>
> svcadm refresh milestone/single-user

That might come in useful, thanks again.

Cheers,

Chris