Mouse does not work with new Xorg, works with old Xorg (9.3-STABLE)

Andreas Nilsson andrnils at gmail.com
Wed Jul 23 08:37:36 UTC 2014


On Wed, Jul 23, 2014 at 9:11 AM, Jean-Sébastien Pédron <
jean-sebastien.pedron at dumbbell.fr> wrote:

> On 22.07.2014 21:11, Andreas Nilsson wrote:
> > Interesting that it works for you. If I set that I get no umsX devices at
> > all :(
>
> That's very strange, because moused(8) isn't involved in the creation of
> /dev entries. The ums(4) kernel module is responsible for that. It's
> automatically loaded by devd(8) when a USB mouse is plugged in (see
> /etc/devd/usb.conf, look for "ums").
>
> Double-check that devd(8) is enabled (it is by default) and running.
>
> --
> Jean-Sébastien Pédron
>
> Devd is running, yes. If I load ums and reconnect the keyboard I get a
umsX device.

usbconfig dump_device_desc gives:

ugen1.4: <ThinkPad USB Keyboard with TrackPoint Lite-On Technology Corp.>
at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA)


  bLength = 0x0012

  bDescriptorType = 0x0001

  bcdUSB = 0x0110

  bDeviceClass = 0x0000

  bDeviceSubClass = 0x0000

  bDeviceProtocol = 0x0000

  bMaxPacketSize0 = 0x0008

  idVendor = 0x17ef

  idProduct = 0x6009

  bcdDevice = 0x0126

  iManufacturer = 0x0001  <Lite-On Technology Corp.>

  iProduct = 0x0002  <ThinkPad USB Keyboard with TrackPoint>

  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001

So maybe some quirks are needed for this to trigger the devd-rule.

Having ums in loader.conf and moused_nondefault_enable="NO" seems to work
just fine though. Thanks!

Best regards
Andreas


More information about the freebsd-stable mailing list