Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2004 11:57:31 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-current@freebsd.org
Cc:        freebsd-stable@freebsd.org
Subject:   Re: atkbd default flags
Message-ID:  <200403081157.31216.doconnor@gsoft.com.au>
In-Reply-To: <404B9D48.90404@barryp.org>
References:  <002c01c4039e$52760980$0300000a@butik> <20040306180957.GA44450@chihiro.leafy.idv.tw> <404B9D48.90404@barryp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 8 Mar 2004 08:38, Barry Pederson wrote:
> leafy wrote:
> > On Sat, Mar 06, 2004 at 09:56:02AM -0800, Aaron Wohl wrote:
> >>- if you hook up a crash cart with a keyboard and monitor the keyboard
> >>cant type in. It can only see a keyboard at boot  time
> >
> > This can be corrected
> > 4.x -> remove the flags 0x01 in kernel for atkbdc
> > 5.x -> remove hint.atkbd.0.flags="0x1" in /boot/devices.hints
>
> I gotta wonder about how much sense this makes, having the default flags
> disable the keyboard if it's not present on bootup.
>
> The man page for atkbd on a 5.2 box says:
>
>    By default the atkbd driver will install even if a
>    keyboard is not actually connected to the system.
>
> So the default behavior of FreeBSD is to override the default behavior
> of the atkbd driver - which seems quite bizarre.
>
> Any chance that flag/hint could be changed in the default install?

If the default is changed then anyone with a USB keyboard would be hosed.

You can only have 1 keyboard device and it prefers a PS/2 keyboard, so if you 
have forced it to think there is one plugged in then it will ignore the USB 
keyboard..

It would be ideal if it could merge events from both keyboards but this is 
non-trivial :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403081157.31216.doconnor>