USB HID support for xf86-input-mouse (including digitizers and touchscreens)

Kostik Belousov kostikbel at gmail.com
Sun Jul 31 19:35:25 UTC 2011


On Sun, Jul 31, 2011 at 09:18:53PM +0300, Alexander Motin wrote:
> Alexander Motin wrote:
> > Koop Mast wrote:
> >> On Sat, 2011-07-23 at 22:31 +0300, Alexander Motin wrote:
> >>> Alexander Motin wrote:
> >>>> Looking on xf86-input-mouse, I've found that it includes some code to
> >>>> support USB HID pointing devices directly using libusbhid library. But
> >>>> that code seemed like newer worked (at least on FreeBSD) and is quite
> >>>> limited. Same time that approach would allow us to override different
> >>>> limitation, now imposed by sysmouse protocol. For example, to support
> >>>> absolute coordinates, pressure force, multiple touches, etc. I've made a
> >>>> patch, rewriting it to support wide range of pointing devices. I've
> >>>> tested it with few mouses, digitizer and two touchscreens.
> >>> First, I would like to tell about newer patch version:
> >>> http://people.freebsd.org/~mav/patch-zz-input-mouse9
> >>>
> >>> Second, I still would like to hear any comments from x11@ people about
> >>> possibility to include this patch to the xf86-input-mouse port. Patch
> >>> should not be invasive for existing users, as most of code it touches
> >>> never worked on FreeBSD before. If with perspective of the port update
> >>> you need patch for the newer driver version, I will gladly do it, it
> >>> should not be difficult.
> >> Could you regen the patch against xf86-input-mouse 1.7.1? 
> > 
> > Sure. Here it is: http://people.freebsd.org/~mav/patch-zz-input-mouse9.1.7.1
> > It builds with our present X server, and old code even works, but I
> > can't test the new, as even without my patch there is some problem with
> > options parsing -- driver sees no options at all. I suppose it may be
> > some incompatibility with our present (old) server.
> 
> I've updated X from the development tree and the problem has gone now.
> Touch-screen works fine with 1.7.1 driver and patch above.
> 
> 
> Also, just for note, I've installed intel-kms driver and it works on my
> Atom N570 (Pineview GM, according to the driver) in 2D with xv. Attempt
> to enable effects in KDE instantly locked up the system. Unluckily there
> is neither serial nor firewire ports on the netbook.
> 
> vesa driver is still working, but required rebuild to work with new server.
What do you mean intel-kms ? Was the kernel patched ?

Start with something simpler, like glxgears. Watch the kernel messages
after attempt to run it. You should be able to gather required debug
information.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20110731/f2999182/attachment.pgp


More information about the freebsd-x11 mailing list