Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2011 22:35:21 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Alexander Motin <mav@freebsd.org>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: USB HID support for xf86-input-mouse (including digitizers and touchscreens)
Message-ID:  <20110731193521.GS17489@deviant.kiev.zoral.com.ua>
In-Reply-To: <4E359C8D.1020102@FreeBSD.org>
References:  <4E255F64.30608@FreeBSD.org> <4E2B219B.7070608@FreeBSD.org> <1311510259.1962.5.camel@crashalot.rainbow-runner.nl> <4E2C43B9.1030109@FreeBSD.org> <4E359C8D.1020102@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--JaWZJa5jP1ODv42s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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. B=
ut
> >>>> 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 ma=
de 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?=20
> >=20
> > 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.
>=20
> 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.
>=20
>=20
> 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.
>=20
> vesa driver is still working, but required rebuild to work with new serve=
r.
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.

--JaWZJa5jP1ODv42s
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAk41rngACgkQC3+MBN1Mb4irOQCg2tQnTgY8LUw7D7DQLdnApAdv
cFYAmwWGVB6mSydtAbm5Bk2NdOd6dNun
=k+7V
-----END PGP SIGNATURE-----

--JaWZJa5jP1ODv42s--



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