>
> >:If the flags 0x100 is specified to syscons (this is now default in
> >:GENERIC), syscons should revert to the AT keyboard when the USB
> >:keyboard has gone.
> >:
> >:Kazu
> >
> > ok... so if we remove 'flags 0x1' from atkbd0, and leave
> > 'flags 0x100' on sc0, and add an entry to /etc/usbd.conf to
> > transfer control to the USB keyboard, then we will be ok? Or not?
>
> Yes, it should be OK. But, I have to check several things before we go
> committing things. IIRC, currently USB keyboards (for that matter,
> the AT keyboard too) don't have explicit /dev entries. We need to add
> them, otherwise usbd and kbdcontrol won't be able to refer to the
> newly attached USB keyboard.
To work properly it has to be done at a lower level than usbd, you want
it working when you boot into ddb. USB keyboards do have /dev
entries, I have a cordless USB keyboard, I've been doing this insufficient
hack at boot:
if [ -c /dev/kbd1 ]; then
cp /dev/null /dev/kbd1 2> /dev/null
if [ $? = 0 ]; then
/usr/sbin/kbdcontrol -k /dev/kbd1
fi
fi
which works for me especially since I just leave a second keyboard plugged
into it. Yes, I know this is no solution.
I assume there was a problem with leaving both keyboards enabled and
mixing the input? That would work for me.
Peter
--
Peter Dufault ([EMAIL PROTECTED]) Realtime development, Machine control,
HD Associates, Inc. Fail-Safe systems, Agency approval
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message