Libinput: list-devices is not a libinput command or not installed


(Maximilian Hartert) #1
Hardware information
cpu:                                                            
                       Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz, 2018 MHz
                       Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz, 2816 MHz
                       Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz, 2633 MHz
                       Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz, 2372 MHz
keyboard:
                       Integrated Device Keyboard
                       Valve Software Steam Controller
                       Razer DeathAdder Chroma
                       Holtek USB Keyboard
mouse:
                       Razer DeathAdder Chroma
  /dev/input/mice      Max's Magic Trackpad
monitor:
                       Generic Monitor
graphics card:
                       nVidia VGA compatible controller
sound:
                       Intel Audio device
                       nVidia Audio device
storage:
                       SATA controller
                       Intel SATA controller
                       SATA controller
network:
  enp0s25              Intel Ethernet controller
  enp4s0               Intel Ethernet controller
network interface:
  enp0s25              Ethernet network interface
  lo                   Loopback network interface
  enp4s0               Ethernet network interface
disk:
  /dev/sdb             Samsung SSD 850
  /dev/sdc             Corsair Neutron
  /dev/sda             WDC WD2003FZEX-0
partition:
  /dev/sdb1            Partition
  /dev/sdb2            Partition
  /dev/sdb3            Partition
  /dev/sdb4            Partition
  /dev/sdc1            Partition
  /dev/sdc2            Partition
  /dev/sdc3            Partition
  /dev/sdc4            Partition
  /dev/sda1            Partition
  /dev/sda2            Partition
cdrom:
  /dev/sr0             TSSTcorp DVDWBD SH-B123L
usb controller:
                       Intel USB Controller
                       Intel USB Controller
                       Intel USB Controller
bios:
                       BIOS
bridge:
                       Intel PCI bridge
                       Intel ISA bridge
                       Intel PCI bridge
                       Intel PCI bridge
                       Intel Host bridge
                       PCI bridge
                       Intel 82801 PCI Bridge
                       Intel PCI bridge
                       Intel PCI bridge
hub:
                       ASMedia AS2107
                       Hub
                       Linux 4.18.12-1-CHAKRA xhci-hcd xHCI Host Controller
                       ASMedia AS2107
                       Linux 4.18.12-1-CHAKRA xhci-hcd xHCI Host Controller
                       Linux 4.18.12-1-CHAKRA ehci_hcd EHCI Host Controller
                       Hub
                       Linux 4.18.12-1-CHAKRA ehci_hcd EHCI Host Controller
memory:
                       Main Memory
bluetooth:
                       Cambridge Silicon Radio Bluetooth Dongle (HCI mode)
unknown:
                       FPU
                       DMA controller
                       PIC
                       Keyboard controller
                       Intel Communication controller
                       Intel SMBus
                       Serial controller
                       Valve Software Steam Controller
                       Holtek USB Keyboard
                       Integrated Device Unclassified device
                       Razer DeathAdder Chroma

pacman.conf (2.8 KB)

pacman.log (511.0 KB)

Hello,

I am trying to setup up my magic trackpad by Apple again. Basic input works. Even super smooth now, I am really impressed. But I still have a hard time getting gestures to run.
For gestures I am using libinput-gestures, which can be found in the ccr. I have the the current 2.38-1 installed.
Sadly it still fails when trying to list the devices. Yes I have added my self to the input group.
Whenever I type “libinput list-devices” it fails with telling me that the command is not installed. While “libinput --help” lists me that command as an option…
Like last time I am unable to find anything on the net. Am I the first and still only one to have that problem?

Anyways, how can I make that command to work?
According to one thread it might be a part of a “libinput-tools” package, well on Ubuntu at least. I cannot find that package in the repository here nor the ccr.
The arch wiki regarding libinput was not helpful either.

Thanks in advance and have a nice day.


(kepszlok) #2

Based on the libinput’s git repo, the missing tools shoud be part of the built libinput package (i think), because the missing things are under the /tools folder. https://github.com/bminor/libinput
Hope this helps for the right people. :slight_smile:


(Maximilian Hartert) #3

Oh, this is interesting. So it either is somehow missing in the package or it’s a dorked install on my side. I just reinstalled libinput (even xf86-input-libinput) to check if that helps, the computer says no.

I don’t think that it’s actually missing in the libinput of the chakra repro. Considering that many users would be affected, including the active maintainer of libinput-gestures. Otherwise it seems that I am the only where “list-devices” is missing, hmm.


(kepszlok) #4

No, the tools are missing from our binary libinput package. They are missing for all of us.


(Maximilian Hartert) #5

Good to know that I am not crazy, lol. That explains everything. Thanks for the info!

Are there specific reasons on why it is left out? Can this be changed? I don’t see how else I would be able to get gestures to run.
I would also accept a workaround.

Perhaps a discussion on the “discussion” sub would be better suited now.


(kepszlok) #6

Well, the files are present in the package, so at least you can use them directly while the packager fixes this.

This will work:
sudo /usr/libexec/libinput/libinput-list-devices

You can see what’s inside a package in Octopi package manager.


(brli) #7

Hi,

if this is a problem in CCR package, please try to get the maintainer/packager notified via leaving comment under that package, thank you.


(kepszlok) #8

@brli

No, it’s our libinput package from the core repo. I already sent an email to it’s packager about this issue.


(Maximilian Hartert) #9

That does work indeed. Let’s see If I can work with that :slight_smile:

Cool, thank you! Should I fail, this should do the trick then.

Have a nice day.


(Francesco Marinucci) #10

Fixed with libinput-1.12.3, on testing :wink:
Thanks for reporting!


(Maximilian Hartert) #11

Nice, thank you :grinning:

I will report back, once it has landed on the test repo I am subscribed to and probably close this thread.

Have a nice day!


(Maximilian Hartert) #12

Gestures are running now :grin:

Thanks a lot!