DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th December 2019
lancsuk lancsuk is offline
New User
 
Join Date: Dec 2019
Posts: 2
Default OpenBSD on a Lenovo Thinkpad T470

Hiya,

I'm new here and new in OpenBSD. I switched from Linux to OpenBSD, ok not exactly. For the time being I have a Slackware/OpenBSD ( UEFI ) multiboot, just to see if OpenBSD is an alternative.

The basic-installation wasn't a big deal, but I'm stuggling with the synaptics-touchpad. The touchpad works quite well but click & drag does not work.


Code:
Section "InputClass"
        Identifier      	"Touchpad"                      
        MatchIsTouchpad 	"yes"                           
        Driver          	"synaptics"                     
        Option 			"VertResolution" 		"100"
        Option 			"HorizResolution" 		"65"
        Option 			"MinSpeed" 			"1"
        Option 			"MaxSpeed" 			"1"	
        Option 			"AccelerationProfile" 		"2"
        Option 			"AdaptiveDeceleration" 		"16"
        Option 			"ConstantDeceleration" 		"16"
        Option 			"VelocityScale" 		"32"
	#
	Option			"ClickPad"			"true"
	Option			"EmulateMidButtonTime"		"0"
	Option			"SoftButtonAreas"		"50% 0 82% 0 0 0 0 0"
	Option			"TapButton1"			"1"	
	Option			"TapButton2"			"2"	
	Option			"TapButton3"			"3"
	Option			"VertEdgeScroll"		"on"
	Option			"VertTwoFingerScroll"		"on"
	Option			"HorizEdgeScroll"		"on"
	Option			"HorizTwoFingerScroll"		"on"
	Option			"CircularScrolling"		"on"
	Option			"CircScrollTrigger"		"2"
	Option			"EmulateTwoFingerMinZ"		"40"
	Option			"EmulateTwoFingerMinW"		"8"
	Option			"CoastingSpeed"			"0"
	Option			"FingerLow"			"35"
EndSection
System: OpenBSD 6.6 GENERIC
Hardware: Lenovo Thinkpad T470
Reply With Quote
  #2   (View Single Post)  
Old 24th December 2019
bsd-keith bsd-keith is offline
Real Name: Keith
Open Source Software user
 
Join Date: Jun 2014
Location: Surrey/Hants Border, England
Posts: 344
Default

Click & drag is usually a mouse action.

https://man.openbsd.org/wsmouse.4
__________________
Linux since 1999, & also a BSD user.
Reply With Quote
  #3   (View Single Post)  
Old 24th December 2019
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

OpenBSD is developing an alternative touchpad driver. The older synaptics driver can also be utilized. Synaptics has more options and better support for Elantouch. Which one you choose inpart depends on which features you want to implement.

http://openbsd-archive.7691.n7.nabbl...-td324005.html.
See @jggimi's post in the link above under "Josh Grosse-3"

synclient(1) can change synaptics settings on the fly.
xinput(1) will change the new driver on the fly.
Touchpad mouse scrolling
Reply With Quote
  #4   (View Single Post)  
Old 24th December 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

This is now the default mouse driver in X11, and I'm still using the defaults on my X220.
Code:
# wsconsctl | grep mouse
mouse.type=synaptics
mouse.rawmode=0
mouse.scale=1174,5768,790,5062,0,65,136
mouse.reverse_scrolling=0
mouse.tp.tapping=0
mouse.tp.scaling=0.146
mouse.tp.swapsides=0
mouse.tp.disable=0
mouse.tp.edges=0.0,5.0,10.0,5.0
mouse1.type=ps2
mouse1.reverse_scrolling=0

$ cat /var/log/Xorg.0.log
.
.
.
[    41.288] (II) config/wscons: checking input device /dev/wsmouse0
[    41.288] (**) /dev/wsmouse0: Applying InputClass "touchpad catchall"
[    41.288] (**) /dev/wsmouse0: Applying InputClass "Default clickpad buttons"
[    41.288] (**) /dev/wsmouse0: Applying InputClass "Default clickpad buttons"
[    41.288] (II) LoadModule: "synaptics"
[    41.296] (II) Loading /usr/X11R6/lib/modules/input/synaptics_drv.so
[    41.300] (II) Module synaptics: vendor="X.Org Foundation"
[    41.300]     compiled for 1.20.6, module version = 1.9.1
[    41.300]     Module class: X.Org XInput Driver
[    41.300]     ABI class: X.Org XInput driver, version 24.1
[    41.300] (II) Using input driver 'synaptics' for '/dev/wsmouse0'
[    41.300] (**) /dev/wsmouse0: always reports core events
[    41.300] (**) Option "Device" "/dev/wsmouse0"
[    42.233] (--) synaptics: /dev/wsmouse0: x-axis range 1174 - 5768 resolution 65
[    42.234] (--) synaptics: /dev/wsmouse0: y-axis range 790 - 5062 resolution 136
[    42.235] (**) /dev/wsmouse0: always reports core events
[    42.241] (II) XINPUT: Adding extended input device "/dev/wsmouse0" (type: TOUCHPAD, id 7)
[    42.242] (**) synaptics: /dev/wsmouse0: (accel) MinSpeed is now constant deceleration 2.5
[    42.242] (**) synaptics: /dev/wsmouse0: (accel) MaxSpeed is now 1.75
[    42.242] (**) synaptics: /dev/wsmouse0: (accel) AccelFactor is now 0.032
[    42.244] (**) /dev/wsmouse0: (accel) keeping acceleration scheme 1
[    42.244] (**) /dev/wsmouse0: (accel) acceleration profile 1
[    42.244] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000
[    42.245] (**) /dev/wsmouse0: (accel) acceleration threshold: 4
[    42.707] (II) config/wscons: checking input device /dev/wsmouse
[    42.707] (II) LoadModule: "ws"
[    42.708] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[    42.710] (II) Module ws: vendor="X.Org Foundation"
[    42.710]     compiled for 1.20.6, module version = 1.3.0
[    42.710]     Module class: X.Org XInput Driver
[    42.710]     ABI class: X.Org XInput driver, version 24.1
[    42.710] (II) Using input driver 'ws' for '/dev/wsmouse'
[    42.710] (**) /dev/wsmouse: always reports core events
[    42.711] (II) ws: /dev/wsmouse: debuglevel 0
[    42.711] (**) Option "Device" "/dev/wsmouse"
[    42.711] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[    42.711] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[    42.711] (**) ws: /dev/wsmouse: associated screen: 0
[    42.711] (II) ws: /dev/wsmouse: minimum x position: 0
[    42.711] (II) ws: /dev/wsmouse: maximum x position: 1365
[    42.711] (II) ws: /dev/wsmouse: minimum y position: 0
[    42.711] (II) ws: /dev/wsmouse: maximum y position: 767
[    42.711] (==) ws: /dev/wsmouse: Buttons: 7
[    42.711] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[    42.711] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 8)
[    42.711] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[    42.711] (**) /dev/wsmouse: (accel) acceleration profile 0
[    42.711] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[    42.711] (**) /dev/wsmouse: (accel) acceleration threshold: 4
.
.
.
I'm also using syndaemon(8) in my $HOME/.xsession script
Reply With Quote
  #5   (View Single Post)  
Old 24th December 2019
lancsuk lancsuk is offline
New User
 
Join Date: Dec 2019
Posts: 2
Default

Hiya Guys,

I'm just confused why I can't click and drag with my touchpad, is really anoying when I need to select texts or to move windows.

Code:
[  3945.305] (II) config/wscons: checking input device /dev/wsmouse0
[  3945.305] (**) /dev/wsmouse0: Applying InputClass "Touchpad"
[  3945.305] (II) LoadModule: "synaptics"
[  3945.308] (II) Loading /usr/X11R6/lib/modules/input/synaptics_drv.so
[  3945.309] (II) Module synaptics: vendor="X.Org Foundation"
[  3945.309] 	compiled for 1.20.5, module version = 1.9.1
[  3945.309] 	Module class: X.Org XInput Driver
[  3945.309] 	ABI class: X.Org XInput driver, version 24.1
[  3945.309] (II) Using input driver 'synaptics' for '/dev/wsmouse0'
[  3945.309] (**) /dev/wsmouse0: always reports core events
[  3945.309] (**) Option "Device" "/dev/wsmouse0"
[  3946.200] (--) synaptics: /dev/wsmouse0: x-axis range 1266 - 5676 resolution 45
[  3946.200] (--) synaptics: /dev/wsmouse0: y-axis range 1162 - 4690 resolution 54
[  3946.200] (**) Option "FingerLow" "35"
[  3946.200] (**) Option "ClickPad" "true"
[  3946.200] (**) Option "EmulateMidButtonTime" "0"
[  3946.200] (**) Option "EmulateTwoFingerMinZ" "40"
[  3946.200] (**) Option "EmulateTwoFingerMinW" "8"
[  3946.200] (**) Option "VertEdgeScroll" "on"
[  3946.201] (**) Option "HorizEdgeScroll" "on"
[  3946.201] (**) Option "VertTwoFingerScroll" "on"
[  3946.201] (**) Option "HorizTwoFingerScroll" "on"
[  3946.201] (**) Option "TapButton1" "1"
[  3946.201] (**) Option "TapButton2" "2"
[  3946.201] (**) Option "TapButton3" "3"
[  3946.201] (**) Option "CircularScrolling" "on"
[  3946.201] (**) Option "CircScrollTrigger" "2"
[  3946.201] (**) Option "MinSpeed" "1"
[  3946.201] (**) Option "MaxSpeed" "1"
[  3946.201] (**) Option "CoastingSpeed" "0"
[  3946.201] (**) Option "HorizResolution" "65"
[  3946.201] (**) Option "VertResolution" "100"
[  3946.201] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[  3946.201] (**) /dev/wsmouse0: always reports core events
[  3946.204] (II) XINPUT: Adding extended input device "/dev/wsmouse0" (type: TOUCHPAD, id 7)
[  3946.205] (**) synaptics: /dev/wsmouse0: (accel) MinSpeed is now constant deceleration 1.0
[  3946.205] (**) synaptics: /dev/wsmouse0: (accel) MaxSpeed is now 1.00
[  3946.205] (**) synaptics: /dev/wsmouse0: (accel) AccelFactor is now 0.035
[  3946.206] (**) /dev/wsmouse0: (accel) keeping acceleration scheme 1
[  3946.206] (**) Option "ConstantDeceleration" "16"
[  3946.206] (**) /dev/wsmouse0: (accel) constant deceleration by 16.0
[  3946.206] (**) Option "AdaptiveDeceleration" "16"
[  3946.206] (**) /dev/wsmouse0: (accel) adaptive deceleration by 16.0
[  3946.206] (**) Option "AccelerationProfile" "2"
[  3946.206] (**) /dev/wsmouse0: (accel) acceleration profile 2
[  3946.206] (**) Option "VelocityScale" "32"
[  3946.206] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000
[  3946.206] (**) /dev/wsmouse0: (accel) acceleration threshold: 4
[  3946.649] (II) config/wscons: checking input device /dev/wsmouse
[  3946.649] (II) LoadModule: "ws"
[  3946.651] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[  3946.652] (II) Module ws: vendor="X.Org Foundation"
[  3946.652] 	compiled for 1.20.5, module version = 1.3.0
[  3946.652] 	Module class: X.Org XInput Driver
[  3946.652] 	ABI class: X.Org XInput driver, version 24.1
[  3946.652] (II) Using input driver 'ws' for '/dev/wsmouse'
[  3946.652] (**) /dev/wsmouse: always reports core events
[  3946.652] (II) ws: /dev/wsmouse: debuglevel 0
[  3946.652] (**) Option "Device" "/dev/wsmouse"
[  3946.652] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[  3946.652] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[  3946.652] (**) ws: /dev/wsmouse: associated screen: 0
[  3946.652] (II) ws: /dev/wsmouse: minimum x position: 0
[  3946.652] (II) ws: /dev/wsmouse: maximum x position: 1919
[  3946.652] (II) ws: /dev/wsmouse: minimum y position: 0
[  3946.652] (II) ws: /dev/wsmouse: maximum y position: 1079
[  3946.652] (==) ws: /dev/wsmouse: Buttons: 7
[  3946.652] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[  3946.652] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 8)
[  3946.653] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[  3946.653] (**) /dev/wsmouse: (accel) acceleration profile 0
[  3946.653] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[  3946.653] (**) /dev/wsmouse: (accel) acceleration threshold: 4
[  4068.765] (II) UnloadModule: "ws"
[  4068.765] (II) UnloadModule: "synaptics"
[  4068.766] (II) UnloadModule: "kbd"
[  4068.854] (II) Server terminated successfully (0). Closing log file.
Quote:
mouse.type=synaptics
mouse.rawmode=0
mouse.scale=1266,5676,1162,4690,0,45,54
mouse.reverse_scrolling=0
mouse.tp.tapping=1
mouse.tp.scaling=0.163
mouse.tp.swapsides=0
mouse.tp.disable=0
mouse.tp.edges=0.0,5.0,10.0,5.0
mouse1.type=ps2
mouse1.reverse_scrolling=0
Quote:
Parameter settings:
LeftEdge = 1574
RightEdge = 5368
TopEdge = 1408
BottomEdge = 4444
FingerLow = 35
FingerHigh = 30
MaxTapTime = 180
MaxTapMove = 248
MaxDoubleTapTime = 180
SingleTapTimeout = 180
ClickTime = 100
EmulateMidButtonTime = 0
EmulateTwoFingerMinZ = 40
EmulateTwoFingerMinW = 8
VertScrollDelta = 112
HorizScrollDelta = 112
VertEdgeScroll = 1
HorizEdgeScroll = 1
CornerCoasting = 0
VertTwoFingerScroll = 1
HorizTwoFingerScroll = 1
MinSpeed = 1
MaxSpeed = 1
AccelFactor = 0.035417
TouchpadOff = 0
LockedDrags = 0
LockedDragTimeout = 5000
RTCornerButton = 0
RBCornerButton = 0
LTCornerButton = 0
LBCornerButton = 0
TapButton1 = 1
TapButton2 = 2
TapButton3 = 3
ClickFinger1 = 1
ClickFinger2 = 1
ClickFinger3 = 1
CircularScrolling = 1
CircScrollDelta = 0.1
CircScrollTrigger = 2
CircularPad = 0
PalmDetect = 0
PalmMinWidth = 10
PalmMinZ = 200
CoastingSpeed = 0
CoastingFriction = 50
PressureMotionMinZ = 30
PressureMotionMaxZ = 160
PressureMotionMinFactor = 1
PressureMotionMaxFactor = 1
GrabEventDevice = 0
TapAndDragGesture = 1
AreaLeftEdge = 0
AreaRightEdge = 0
AreaTopEdge = 0
AreaBottomEdge = 0
HorizHysteresis = 28
VertHysteresis = 28
ClickPad = 1
RightButtonAreaLeft = 3471
RightButtonAreaRight = 0
RightButtonAreaTop = 4054
RightButtonAreaBottom = 0
MiddleButtonAreaLeft = 0
MiddleButtonAreaRight = 0
MiddleButtonAreaTop = 0
MiddleButtonAreaBottom = 0
Maybe is it very simple what I need to do, but I have no idea, what I need to do in my case.

Last edited by ocicat; 25th December 2019 at 12:03 PM. Reason: Fixed errant [/quote] tag.
Reply With Quote
  #6   (View Single Post)  
Old 25th December 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

You have a lot of mouse device options in your Xorg.0.log which appear to be non-standard. Consider removing these from your provisioned X.org configuration file(s) and see if behavior changes.
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
OpenBSD on Librebooted X60 ThinkPad victorvas OpenBSD Installation and Upgrading 6 4th August 2019 10:59 PM
New OpenBSD install on Lenovo ultrabook pmaddams OpenBSD General 5 24th November 2014 05:01 PM
I want OpenBSD on my Thinkpad but.. Angevin OpenBSD Packages and Ports 14 9th November 2014 08:25 PM
ThinkPad X301 / OpenBSD DraconianTimes OpenBSD General 8 8th February 2010 04:30 PM
Lenovo Thinkpad T60 - FreeBSD Configuration Guidelines and Advices worldofopensource General Hardware 5 19th May 2008 12:27 PM


All times are GMT. The time now is 09:55 PM.


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