On Sun, Jun 19, 2011 at 08:16:12PM +0200, Dawe wrote:
> On Jun 18, 2011 01:40, Alexandr Shadchin wrote:
> > On Wed, Jun 15, 2011 at 09:11:43AM +0200, Matthieu Herrb wrote:
> > > Hi,
> > > 
> > > here are a set of patches being worked on to add native synaptics
> > > touch pad support to OpenBSD and Xenocara.
> > > 
> > > The xf86-input-synaptics driver itself is already committed and built
> > > in Xenocara.
> > > 
> > > http://xenocara.org/wscons_config.2.diff is a diff that uses the X
> > > hot-plug mechanism to configure you input drivers. It will setup
> > > the xf86-input-synaptics driver for you if you have one, together with
> > > a regular mouse driver that will handle any external PS/2 or USB mouse
> > > attached in addition. Touchscreens will also be auto-configured this
> > > way if one is detected.
> > > 
> > > This new code also takes care of the configuration of the keyboard
> > > layout from the wscons layout. Thus a second diff:
> > > http://xenocara.org/xf86-input-keyboard.diff removes that code from
> > > the keyboard driver.
> > > 
> > > To apply those patches:
> > > 
> > >     cd /usr/xenocara/xserver
> > >     patch -p0 -E < /path/to/wscons_config.2.diff
> > >     make -f Makefile.bsd-wrapper obj
> > >     make -f Makefile.bsd-wrapper build
> > >     cd /usr/xenocara/driver/xf86-input-keyboard
> > >     patch -p0 -E < /path/to/xf86-input-keyboard.diff
> > >     make -f Makefile.bsd-wrapper obj
> > >     make -f Makefile.bsd-wrapper build
> > > 
> > > Once X is ready, apply the kernel patch, and build a new kernel with
> > > the synaptics support in pms(4):
> > > http://xenocara.org/sys-synaptics.diff
> > > 
> > >     cd /sys
> > >     patch -p0 -E < /path/to/sys-synaptics.diff
> > > 
> > > the new kernel will detect your synaptics touch pad if any, and  X
> > > will be configured with the xf86-input-synaptics. Read the
> > > synaptics(4) manual page to discover all its features.
> > > 
> > > You can check how the input drivers were configured by running the
> > > command:
> > > 
> > >    xinput list
> > > 
> > > If you are configuring input devices manually in xorg,conf you need to
> > > add this to the ServerFlags section (but may be you should give a try
> > > at auto-configuration and remove your InputDevice sections all together):
> > > 
> > >     Section ServerFlags
> > >   Option "AutoAddDevices" "false"
> > >     EndSection
> > > 
> > > Please test, comment and report failures. Make sure to include
> > > /var/log/Xorg.0.log and dmesg outputs in your reports.
> > > 
> > > Thanks to Alexandr Shadchin (shadchin@) for his work on this driver and
> > > to all people who already tested these patches and suggested
> > > enhancements.
> > > 
> > > -- 
> > > Matthieu Herrb
> > > 
> > 
> > New sys-synaptics.diff (http://koba.devio.us/distfiles/synaptics.v2.diff)
> > * fix wrong detect clickpad
> > * fix ignore buttons if no fingers on touchpad
> > * if open directly /dev/wsmouseX, then remove this device from mux
> >   (close device - get back in mux)
> > 
> > Thanks all for your feedback.
> > 
> > -- 
> > Alexandr Shadchin
> > 
> This breaks tapping for me on my T410i running amd64.
> The more advanced features like scrolling also don't work.
> Hitting the real buttons still works.
> 

Defaults tap and scrolling disabled.

Add in /etc/X11/xorg.conf:

Section "InputClass"
        Identifier  "Touchpad defaults"
        MatchIsTouchpad "on"
        Option      "VertEdgeScroll" "true"
        Option      "HorizEdgeScroll" "true"
        Option      "TapButton1" "1"
EndSection

-- 
Alexandr Shadchin

Reply via email to