Re: Faking a Sun keyboard

Artyom Tarasenko <[email protected]> Wed, 31 Aug 2011 09:57:06 +0200
Newsgroups gmane.os.solaris.at-home
Message-ID <CACXAS8DPug+X-hucE66j9AZd9tJ_JBT4KAkLK9YtuM=zh_39Tg@mail.gmail.com>
On Wed, Aug 31, 2011 at 3:45 AM, Mouse <[email protected]> wrote:
>>> Is there a way to fake the existence of a keyboard [...]?
>> Do a "printenv" at the OBP. =A0You will see some variables that tell
>> you the input-device and output-device. =A0You can set these manually
>> to force the usage of the framebuffer console. =A0AFAIK.
>
> Can you? =A0As far as I know, the closest you can come is
> output-device=3Dscreen input-device=3Dkeyboard, in which case it
> auto-shifts to ttya if the keyboard does not respond.
>
> If there's an input-device value for "input device is keyboard, dammit,
> even if it doesn't respond right now", I'd love to hear about it.

ok devalias
...
keyboard!                /sbus/zs@f,1000000:forcemode
keyboard                 /sbus/zs@f,1000000

I'd guess that keyboard! may be what you are looking for.


-- =

Regards,
Artyom Tarasenko

solaris/sparc under qemu blog: http://tyom.blogspot.com/