LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-24-2015, 08:59 AM   #1
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Rep: Reputation: 33
Had to abandon Slackware for new laptop


Sad to report that I have had to ditch Slackware on my new laptop and have
turned to Arch to get a system whcih I find usable. The problem which I was
not able to solve using Slackware64-current was getting a functional driver
for the rather horrid trackpad supplied with the laptpop (Thinkpad L450). This
is one of those devices where you have a IBM trackpoint (small red button on
the keyboard with three buttons below the keyboard) and additioinally a
touchpad but with no associated buttons - instead the pad itself can be pushed
to click near its bottom edge and can be further configured so that clicks on
the left/right of the pad can be interpreted as left/right buttons. The
touchpad, as far as I am concerned, can be totally disabled on boot-up. The
trackpoint is fine for all my needs - but the buttons have to work with the
trackpoint. I could not get this to work with the slackware drivers. I started
a thread on LQ
(http://www.linuxquestions.org/questi...ad-4175546192/)
but did not manage to resolve the issues.

As far as I can make out two drivers have to work properly for this hardware to perform. These are the synaptics driver and the evdev driver. Once you have these up and running there are various configuration options which can be set either through xorg.conf or using utilities such as synclient and xinput. However I was never able to get any configuration in which the middle button was recognised to even exist nor where the drag operation could be made to work for both left and right buttons.

The Arch wiki made mention of patches that were required to the evdev and synaptics drivers and I tried to find the relevant source in my Slackware installation but it was obvious that the Arch patches were not patching the sources that I had. So I created another partition and installed Arch. I found that I had fully functional left and right buttons (including drag operations) in X and it was an easy configuration step to get the middle button wokring.

Seems like a small issue over which to drop my distro of choice but dragging stuff around the desktop is pretty basic to so many operations that I really felt I had to go with the alternative.

Arch itself is of course pretty stable but I have found a steep learning curve
when it comes to system configuration (systemd !! and some odd-looking
interface names - eth0 has become enp0s25...) and package management (pacman with alleged dependency resolution which went horribly worng for me when I tried to un-install some packages).

Slackware is still there on the other partition and I will update it as current evolves in the hope that at some point the evdev and synaptics drivers catch up with my hardware.
 
Old 07-24-2015, 09:54 AM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,224

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by bogzab View Post
The Arch wiki made mention of patches that were required to the evdev and synaptics drivers and I tried to find the relevant source in my Slackware installation but it was obvious that the Arch patches were not patching the sources that I had.
Link to the section of the Arch wiki that mentions those patches, and I'll see what I can do about making them work with Slackware's sources.
 
5 members found this post helpful.
Old 07-25-2015, 05:40 AM   #3
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Original Poster
Rep: Reputation: 33
Here is the link to the patches I mentioned:

https://aur.archlinux.org/packages/x...ut-evdev-track

I cannot be certain, of course that these patches will solve my problem, but they sound relevant. All I really know is that current Arch, as shipped, had drivers which work with my trackpoint device.
 
Old 07-25-2015, 06:49 AM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Sorry for jumping in when I may be off track but is this, perhaps, a kernel issue? I know when I first installed Debian on this machine I had to compile my own kernel as the older version supplied with Sid (which ought to be new) wasn't new enough but once I moved to a 3.9 kernel things were OK and with the 4.0 all was well. Is it worth just compiling a new kernel on Slackware?
 
2 members found this post helpful.
Old 07-25-2015, 09:18 AM   #5
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by bogzab View Post
Here is the link to the patches I mentioned:

https://aur.archlinux.org/packages/x...ut-evdev-track.
I think there is an error in your link. Maybe this:
https://aur.archlinux.org/packages/x...dev-trackpoint
 
Old 07-25-2015, 11:13 AM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,224

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
0001-implement-trackpoint-wheel-emulation.patch really needs to be broken up into two patches, one for evdev and one for synaptics. The new patches are attached.

0001-implement-trackpoint-wheel-emulation_evdev.txt (attached) is for Slackware's source/x/x11/src/driver/xf86-input-evdev-2.9.2.tar.xz.

0001-implement-trackpoint-wheel-synaptics.txt (attached) is for Slackware's source/x/x11/src/driver/xf86-input-synaptics-1.8.2.tar.xz

Arch's 0004-disable-clickpad_guess_clickfingers.patch applies as-is to Slackware's source/x/x11/src/driver/xf86-input-synaptics-1.8.2.tar.xz.

I've tested them as far as making sure that patching works. I haven't tried building them.

I did look at the third patch and wasn't sure how relevant it was (or what to do with it, tbh), so I decided to ignore it for now.

Last edited by dugan; 07-25-2015 at 11:22 AM.
 
Old 07-26-2015, 04:49 AM   #7
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Original Poster
Rep: Reputation: 33
Many thanks for sending these patches. I will try and apply them and post how I get on.
 
Old 07-27-2015, 07:36 AM   #8
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Original Poster
Rep: Reputation: 33
@dugan : Thanks for the patches. I applied them and ran the configure-make-make install to build the resulting files etc. The process seemed to work OK, but my trackpad is unfortunately behaving in the same way. At least I learned a bit about how to apply patches - something I had not had to do previously.

@273 : I'll have a go a building a new kernel to see if this helps.
 
Old 07-27-2015, 09:39 AM   #9
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Original Poster
Rep: Reputation: 33
Good News. Building kernel 4.1.3 worked pretty easily and appears to have solved the basic touchpad problems - ie drag operations now work fine with left and right buttons and middle button click is recognised. Should be easy now just to configure the middle button to do wheel emulation.

Nice example of how there is nearly always a solution to a Linux (Slackware) problem, even if you might need to be pointed in the right direction to find it.
 
Old 07-27-2015, 09:57 AM   #10
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Glad to hear it's sorted things out a little. I have two-finger scrolling but as yet but only have pinch-to-zoom in Google Maps for some reason.
 
Old 07-27-2015, 01:28 PM   #11
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Nixos
Posts: 179

Rep: Reputation: 122Reputation: 122
On a funny sidenote as a reaction on the title of this thread: I own a Dell Optiplex SX270 and it refuses to run anything else but Slackware. I tried Debian, Arch, OpenSuse, Scientific Linux but it is only with Slackware that I could make it work properly. Anything else makes it crash or freezing up. It forces me to use Slackware

Last edited by Hannes Worst; 07-27-2015 at 01:30 PM.
 
Old 07-28-2015, 06:11 AM   #12
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
And that's a bad thing? ;-)
 
Old 07-28-2015, 09:49 PM   #13
ill323
Member
 
Registered: Jul 2010
Posts: 43

Rep: Reputation: 11
Kernel 4.1.3 works very well on my Thinkpad R500, and it's the next LTS kernel.

Tue Jul 7 22:59:17 UTC 2015
testing/source/config-testing-4.1.1/*: Added.

Maybe it'll replace 3.18.x in current
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Will I have to abandon Slackware for KDE 3.5.x ? igadoter Slackware 106 12-02-2010 11:08 AM
[SOLVED] Will I have to abandon Slackware for KDE 3.5.x ? (derailments) tordfurden Slackware 28 11-29-2010 10:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration