Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2014 03:32:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-usb@FreeBSD.org
Subject:   [Bug 175731] detaching USB keyboard freezes other USB keyboards
Message-ID:  <bug-175731-17-w5iXsd06vb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-175731-17@https.bugs.freebsd.org/bugzilla/>
References:  <bug-175731-17@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=175731

Henry Hu <henry.hu.sh@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |henry.hu.sh@gmail.com

--- Comment #8 from hselasky@c2i.net ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-175731-17-w5iXsd06vb>