From owner-freebsd-usb@FreeBSD.ORG Thu Feb 14 10:19:29 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 033ED975; Thu, 14 Feb 2013 10:19:29 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id 6B2E5278; Thu, 14 Feb 2013 10:19:27 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 376727600; Thu, 14 Feb 2013 11:19:20 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Norbert Koch Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards Date: Thu, 14 Feb 2013 11:20:32 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <201302140920.r1E9K21K085979@freefall.freebsd.org> In-Reply-To: <201302140920.r1E9K21K085979@freefall.freebsd.org> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: bug-followup@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2013 10:19:29 -0000 On Thursday 14 February 2013 10:20:02 Norbert Koch wrote: > The following reply was made to PR usb/175731; it has been noted by GNATS. > > From: Norbert Koch > To: hselasky@c2i.net > Cc: freebsd-usb@freebsd.org, bug-followup@freebsd.org, imp@freebsd.org > Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards > Date: Thu, 14 Feb 2013 10:19:05 +0100 > > Am 07.02.2013 22:26, schrieb Hans Petter Selasky: > > On Thursday 07 February 2013 13:10:01 Norbert Koch wrote: > >> The following reply was made to PR usb/175731; it has been noted by > >> GNATS. > >> > >> From: Norbert Koch > >> To: bug-followup@FreeBSD.org > >> Cc: > >> Subject: Re: usb/175731: detaching USB keyboard freezes other USB > >> keyboards Date: Thu, 07 Feb 2013 13:01:01 +0100 > >> > >> Same problem with FreeBSD-9.1-RELEASE. > > > > Hi, > > > > In /etc/devd.conf there are a few lines of code: > > > > # When a USB keyboard arrives, attach it as the console keyboard. > > attach 100 { > > > > device-name "ukbd0"; > > action "/etc/rc.d/syscons setkeyboard /dev/ukbd0"; > > > > }; > > detach 100 { > > > > device-name "ukbd0"; > > action "/etc/rc.d/syscons setkeyboard /dev/kbd0"; > > > > }; > > > > Can you try to uncomment these? > > > > Then restart devd or reboot and try again and see what happens. > > > > I believe the devd.conf lines above should be removed. > > > > --HPS > > I already tried this. Commenting out does not help. > > Two choices work for me: > 1. devd_enable=NO and hald_enable=YES > 2. devd_enable=YES and option "AutoAddDevices" "NO" in xorg.conf > Can you edit this file: /usr/local/share/hal/fdi/policy/10osvendor/10-x11-input.fdi And change: kbd Into: kbd_dummy Then restart hal. Possibly you need a keyboard device entry in /etc/X11/xorg.conf after this change. --HPS