Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2011 21:18:53 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Koop Mast <kwm@rainbow-runner.nl>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: USB HID support for xf86-input-mouse (including digitizers and touchscreens)
Message-ID:  <4E359C8D.1020102@FreeBSD.org>
In-Reply-To: <4E2C43B9.1030109@FreeBSD.org>
References:  <4E255F64.30608@FreeBSD.org> <4E2B219B.7070608@FreeBSD.org> <1311510259.1962.5.camel@crashalot.rainbow-runner.nl> <4E2C43B9.1030109@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
Alexander Motin



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