Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2013 10:20:02 GMT
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@FreeBSD.org
Subject:   Re: usb/175731: detaching USB keyboard freezes other USB keyboards
Message-ID:  <201302141020.r1EAK24w096947@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR usb/175731; it has been noted by GNATS.

From: Hans Petter Selasky <hselasky@c2i.net>
To: freebsd-usb@freebsd.org,
 Norbert Koch <nkoch@demig.de>
Cc: bug-followup@freebsd.org
Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards
Date: Thu, 14 Feb 2013 11:20:32 +0100

 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 <nkoch@demig.de>
 > 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 <nkoch@demig.de>
 >  >> 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:
 
 <merge key="input.x11_driver" type="string">kbd</merge>
 
 Into:
 
 <merge key="input.x11_driver" type="string">kbd_dummy</merge>
 
 
 Then restart hal.
 
 Possibly you need a keyboard device entry in /etc/X11/xorg.conf after this 
 change.
 
 --HPS



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