Al 30/01/2013 12:14, En/na Yuri ha escrit:
I found the cause of this problem.

Due to the bug in Xorg it unloads the keyboard driver when it gets
signal from hald that keyboard is disconnected, even though there is
still another keyboard that is hooked up to kbdmux.
Looks like Xorg code assumes that there can only be one keyboard and
isn't aware of kbdmux.

This was when hald is enabled (by default), and ServerFlags section in
xorg.conf looked like this:
Section "ServerFlags"
Option "AllowEmptyInput" "yes"
EndSection

When I changed this section to this:
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
keyboard doesn't get affected, but mouse disappears for good when
unplugged and plugged back, since (I guess) Xorg ignores ums0 device
errors.

I filed the following PRs with Xorg:
https://bugs.freedesktop.org/show_bug.cgi?id=60069
https://bugs.freedesktop.org/show_bug.cgi?id=60070

Yuri
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Take a look at uhidd. I had the same problem a few time ago and because of it I switched to it.

  Perhaps will do fine for your setup.

  Regards,

  Gustau


--
   Salut i força,

   Gustau

---------------------------------------------------------------------------
Prou top-posting :      http://ca.wikipedia.org/wiki/Top-posting
Stop top-posting :      http://en.wikipedia.org/wiki/Posting_style      

O O O Gustau Pérez i Querol
O O O Unitat de Gestió dels departaments
O O O Matemàtica Aplicada IV i Enginyeria Telemàtica

      Universitat Politècnica de Catalunya
      Edifici C3 - Despatx S101-B
 UPC  Campus Nord UPC
      C/ Jordi Girona, 1-3
      08034 - Barcelona
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to