DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 15th October 2011
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 593
Thanked 9 Times in 9 Posts
Default 5.0-Current and Synaptics Touch Pad

I just updated current yesterday and noted that the changelog has enabled xf86-input-synaptics - my understanding is that I do not have to patch the kernel now. I have configured the synaptics touchpad previously in linux and use the touch pad exclusively as a pointing device.
The xorg.conf below gives a moving mouse cursor but no tap-to-click
Code:
Section "InputDevice"
	Identifier	"Mouse0"
	Driver	"synaptics"
	Option	"Protocol"	"wsmouse"
	Option	"Device"	"/dev/wsmouse"
	Option	"MaxTapTime"	"180"
	Option	"MaxTapMove"	"220"
	Option	"VertEdgeScroll"	"true"
        Option	"HorizEdgeScrool"	"true"
	Option	"TapButton1"	"1"
	Option	"SHMConfig"	"true"
EndSection
Section "Device"
        Identifier      "Builtin Default sis Device 0"
        Driver  "sis"
EndSection
Section "Screen"
        Identifier      "Builtin Default sis Screen 0"
        Device  "Builtin Default sis Device 0"
EndSection
Section "Device"
        Identifier      "Builtin Default vesa Device 0"
	Driver  "vesa"
EndSection
Section "Screen"
        Identifier      "Builtin Default vesa Screen 0"
        Device  "Builtin Default vesa Device 0"
EndSection
Section "ServerLayout"
	InputDevice	"Mouse0"	"CorePointer"
        Identifier      "Builtin Default Layout"
        Screen  "Builtin Default sis Screen 0"
        Screen  "Builtin Default vesa Screen 0"
EndSection
I get the following message after killing X
Code:
(EE) Synaptics Driver unable to detect protocol
(EE) PreInit returned NULL for "Mouse0"
I have a wsmouse in /dev.

Has anyone set this up?
Reply With Quote
  #2   (View Single Post)  
Old 15th October 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,710
Thanked 214 Times in 189 Posts
Default

On a EeePC netbook running:
Code:
$ sysctl kern.version
kern.version=OpenBSD 5.0-current (GENERIC.MP) #8: Fri Oct  7 20:08:23 EDT 2011
    root@jggimi.homeip.net:/usr/src/sys/arch/i386/compile/GENERIC.MP
my hardware is:
Code:
$ dmesg | grep pms
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Synaptics touchpad, firmware 7.2
I use:
Code:
$ cat .xinitrc
synclient TapButton1=1
syndaemon -i 1 -d
exec startxfce4
I do not have an xorg.conf.

The touchpad works as a left mouse button, but not every time I touch it. There are knobs with synclient to change sensitivity, but I have not figured out which ones are which.
Reply With Quote
  #3   (View Single Post)  
Old 15th October 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

So. Many. Knobs.

There are several ways to configure synaptics, and as jggimi, on systems that support syntaptics the X server now automatically loads the synaptics driver.

Without an xorg.conf, you can use synclient(1) or xinput(1) to set your preferences, if you still prefer xorg.conf you'll likely have to prevent the autoconfiguration of input devices. I believe there is a reference to this on the mailing lists or in the -current FAQ.
Reply With Quote
  #4   (View Single Post)  
Old 15th October 2011
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 593
Thanked 9 Times in 9 Posts
Default

Quote:
So. Many. Knobs.
Well said. One of the things I really like about OpenBSD is the simplicity.

I renamed the xorg.conf to a backup file and used synclient in my .xsession and so far tap-to-left-click works well.

Thanks
Reply With Quote
  #5   (View Single Post)  
Old 16th October 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

That's good, these devices are a little weird in that they emulate PS/2 mice in the absence of a synaptics driver.

In PS/2 mode, special features like tap to click might be supported by the firmware, so some people upgrading from 4.9 or earlier may have some functionality suddenly disappear in 5.0.

People need to pay attention to changes like this.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I run -current? qmemo OpenBSD Installation and Upgrading 8 6th May 2011 12:25 AM
OpenBSD4.5 current to current... valorisa OpenBSD Installation and Upgrading 7 6th June 2009 09:26 AM
dat 72 one touch restore firstkmh FreeBSD General 0 29th August 2008 03:46 PM
Ipod touch syrushcw FreeBSD General 5 2nd May 2008 06:42 PM


All times are GMT. The time now is 10:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick