From owner-freebsd-mobile Mon Jan 14 22: 7:44 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from vaio.aviaport.ru (dialup-h.aviaport.ru [217.69.199.239]) by hub.freebsd.org (Postfix) with ESMTP id 389C637B419 for ; Mon, 14 Jan 2002 22:07:42 -0800 (PST) Received: by vaio.aviaport.ru (Postfix, from userid 1001) id 30295E2B1B; Tue, 15 Jan 2002 09:07:36 +0300 (MSK) Date: Tue, 15 Jan 2002 09:07:36 +0300 From: Juriy Goloveshkin To: Alan Clegg Cc: freebsd-mobile@freebsd.org Subject: Re: USB Keyboard auto enable via usbd Message-ID: <20020115060736.GB5224@aviaport.ru> References: <20020114202858.C31216@shell.wetworks.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020114202858.C31216@shell.wetworks.org> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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