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 01-19-2017, 06:50 AM   #1
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Rep: Reputation: Disabled
Libinput - beware!


System: Slackware64-current.

Just updated via slackpkg, and noticed in the changelog that evdev is being replaced by libinput. Installed both libinput files, and following a reboot found myself locked out - keyboard and mouse (USB) totally unresponsive!

Luckily, I managed to SSH in from another machine and remove both libinput packages. This restored normal operation. If I hadn't had another machine, I could have been in trouble!

I assume some extra configuration is necessary to use libinput, but this isn't clear from the changelog, so be careful!

I've emailed Pat...

--
Pete
 
Old 01-19-2017, 06:56 AM   #2
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
Quote:
Originally Posted by pchristy View Post
System: Slackware64-current.

Just updated via slackpkg, and noticed in the changelog that evdev is being replaced by libinput. Installed both libinput files, and following a reboot found myself locked out - keyboard and mouse (USB) totally unresponsive!

Luckily, I managed to SSH in from another machine and remove both libinput packages. This restored normal operation. If I hadn't had another machine, I could have been in trouble!

I assume some extra configuration is necessary to use libinput, but this isn't clear from the changelog, so be careful!

I've emailed Pat...

--
Pete
I had the exact problem, it turns out the newer official "libinput" package did actually not install because there is an existing one at Aliens current-repository (http://bear.alienbase.nl/mirrors/peo...6_64/libinput/: libinput-1.3.x-alien. Because alien-repository is prioritized over slackware64, it did not upgrade to libinput-1.5.x.

So, if that is the problem temporarily disable aliens repository to fully upgrade.

Last edited by Bindestreck; 01-19-2017 at 07:34 AM.
 
Old 01-19-2017, 07:27 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,863

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
Quote:
Originally Posted by pchristy View Post
S
Luckily, I managed to SSH in from another machine and remove both libinput packages. This restored normal operation. If I hadn't had another machine, I could have been in trouble!
Nowadays you can login from your phone too (if that was smart enough...)
 
Old 01-19-2017, 07:38 AM   #4
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled
No, I don't have the Alien repository enabled on that machine - its pure Slackware. Good thought, though! As is the 'phone suggestion, though I didn't know you could get a terminal window up on that! ;-)

--
Pete
 
Old 01-19-2017, 07:51 AM   #5
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 360

Rep: Reputation: 199Reputation: 199
I've installed libinput yesterday and haven't noticed any changes (except that /var/log/Xorg.0.log clearly shows that libinput is in use), all input devices working as expected.

Quote:
Originally Posted by pchristy View Post
<...> Installed both libinput files <...> remove both libinput packages.
Actually, there are three new packages:

Code:
x/libinput-1.5.4-x86_64-1.txz:  Added.
x/libwacom-0.22-x86_64-1.txz:  Added.
  This is needed for libinput.
x/xf86-input-libinput-0.23.0-x86_64-1.txz:  Added.
  This is the new generic X.Org input driver which replaces evdev for most
  purposes.  It does not (for now) replace xf86-input-synaptics or
  xf86-input-vmmouse.  If this driver package is missing then X will fall
  back to using xf86-input-evdev as before.
  Thanks to Robby Workman.
Maybe you forgot to install one of them?
 
2 members found this post helpful.
Old 01-19-2017, 08:50 AM   #6
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled
Ah! Perhaps I missed libwacom! I assumed that was only needed for pen & tablet devices!

Good spot! I'll give it a try....

--
Pete
 
Old 01-19-2017, 08:53 AM   #7
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled
Yes! That was it! My fault, and well spotted!

--
Pete
 
Old 01-19-2017, 06:40 PM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by pchristy View Post
As is the 'phone suggestion, though I didn't know you could get a terminal window up on that! ;-)
I don't know about iOS, but if you have Android, by far, the best SSH client I've used is JuiceSSH. It has the most intuitive interface (a special pop-up keyboard providing you common things like the pipe symbol, forward slash, tab, ctrl, etc), allows code "snippets" enabling you to save commands, and allows you to store multiple machines with multiple users. It even supports ssh keys if you don't allow username/password logins.

The code snippets might require the pro version, but so far, I've used it to log into my machines almost 700 times, so I paid the few bucks to get the pro version. I don't remember what features require the pro version, but it's still plenty functional without it (I used the free version for at least a year before getting pro).
 
Old 01-19-2017, 07:05 PM   #9
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,226

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Code:
slackpkg install-new
 
Old 01-19-2017, 07:51 PM   #10
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
I've got another thread going on this same issue. I thought the problem might be conflict with libinput-1.3.3-x86_64-1alien and libinput-1.5.4-x86_64 in relation to libwacom or xf-86-input-libinput. I have libwacom installed and I was still totally locked out under X, requiring a reboot to recover CLI.

I did run the slackpkg install-new for libinput and libwacom, but the slackpkgplus priorities made alien's package of earlier version the priority. In checking he X.orgO.log I see that it is searching and can't find LIBINPUT_1.5. It attempts this libinput load about five times and then stops WITHOUT falling back to evdev!

I've run in to this problem before and sometimes you have to rename slackpkgplus.conf so regular slackpkg loads latest from Pat's repository.
 
Old 01-20-2017, 03:08 AM   #11
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled
Bassmadrigal: Thanks for the tip. That's certainly something I shall investigate!

Dugan & Bamunds: My other machine does have the Alien repository enabled (I have KDE 5 on it) and as suggested, this does stop libinput-1.5 from installing - UNLESS you disable slackpkg+ (there is an on/off switch in the conf file).

On the first machine it was entirely my fault, as I hadn't read the changelog closely enough. I'd passed over libwacom as I don't have a wacom (or similar) tablet, and never needed it before. By the time I updated the other machine, I had already read bamunds post about the Alien repository and managed to side-step the problem, but if it hadn't been for that, I would have certainly fallen for that "gotcha"!

--
Pete
 
Old 01-20-2017, 09:09 AM   #12
bassplayer69
Member
 
Registered: Jul 2007
Location: In a van down by the river...
Distribution: MX Linux 21
Posts: 237

Rep: Reputation: 56
I was lazy and got bit by that libinput slackpkg+ issue as well. Luckily, I was able to burn a current64 dvd from the terminal and re-install. The only thing I had to redo was installing plasma 5 kde. So far everything is working normally again. Going back to doing all updates by hand so I make sure things get installed in the proper order.
 
Old 01-20-2017, 02:46 PM   #13
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
This issue also covered in this thread http://www.linuxquestions.org/questi...ut-4175597831/. It seems that depending on how you have slackpkg+ setup you may or maynot get the latest libinput installed. It would be beneficial for any user after installing updates to always verify that all updates have installed before rebooting.
 
  


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
libinput makes devices unresponsive naikin Linux - Software 4 08-08-2016 03:17 PM
why slackware no have xf86-input-libinput ? USUARIONUEVO Slackware 9 03-13-2016 08:06 AM
LXer: Wayland's Libinput Gets New Multi-Touch Touchpad LXer Syndicated Linux News 0 02-17-2014 08:51 PM
Beware of Zombies floppywhopper General 1 08-27-2005 06:23 AM
Buyers Beware! elvis Linux - General 4 04-22-2005 06:53 AM

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

All times are GMT -5. The time now is 09:38 AM.

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