Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2002 09:07:36 +0300
From:      Juriy Goloveshkin <j@gu.ru>
To:        Alan Clegg <alan@clegg.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: USB Keyboard auto enable via usbd
Message-ID:  <20020115060736.GB5224@aviaport.ru>
In-Reply-To: <20020114202858.C31216@shell.wetworks.org>
References:  <20020114202858.C31216@shell.wetworks.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 14, 2002 at 08:28:58PM -0500, Alan Clegg wrote:
> I've added the following section to my /etc/usbd.conf:
> 
> device "USB Keyboard"
> 	devname "ukbd0"
> 	attach "kbdcontrol -k /dev/kbd1 < /dev/ttyv0 > /dev/null"
> 	detach "kbdcontrol -k /dev/kbd0 < /dev/ttyv0 > /dev/null"
> 
> To take notice of the attachment (and detachment) of a USB keyboard.
> 
> Any pro/con to getting this submitted to the code maintainers to include
> in the default config?
I think keyboard attachment code has to have more language specific things.
For example, that's my usbd.conf:

device "Keyboard"
	devname "ukbd1"
	attach "kbdcontrol < /dev/kbd1 -l ru.koi8-r" 
	attach "kbdcontrol -k /dev/kbd1"
	attach "kbdcontrol -p fast"

it needs integration with rc.conf?
-- 
bye
Juriy Goloveshkin

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




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