
Code: Select all
(II) LoadModule: "libinput"
(II) Loading /usr/lib64/xorg/modules/input/libinput_drv.so
(II) Module libinput: vendor="X.Org Foundation
(II) Using input driver 'libinput' for 'Keyboard0'
(II) Using input driver 'libinput' for 'Mouse0'
"libinput has been added to input devices, but no effect, as expected, haven't touched xorg.conf though (haven't found that yet, do you mean xorg.conf.d, if yes, then of cource i did), but, as I already said, the problem is not that xorg doesn't read libinput, it is that libinput doesn't read devices. I guess it has something to do with the daemons or rc.mir3x wrote: Have u configured xorg.conf ?
Have u added libinput to INPUT_DEVICES in make.conf ?
Code: Select all
# Match on all types of devices but tablet devices and joysticks
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
This isn't actually totally agreed on, and with other distributions that is not the advice always. Also note that might depend on a few different things, such as desktop versus laptop hardware and also the Desktop environment in use.It is a drop-in replacement for the slowly deprecating evdev and synaptics input drivers

Code: Select all
root #ln -s /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/Code: Select all
# emerge -pv dev-libs/libinput x11-drivers/xf86-input-libinput /etc/udev
# ls -l /dev/input
# libinput-list-devices
# strace libinput-list-devices 2>&1 1>/dev/null # (if it's not too long)Thanks for the reply!Ant P. wrote:You're right, this isn't anything to do with Xorg (so far). Besides, most of the suggestions above to change xorg.conf are wrong and misleading. Xorg loads files from /usr/share/X11/xorg.conf.d automatically, copying or linking things from there does nothing at best and more likely makes things worse. But that can wait until later.
It would help to figure out what's going on if we could see the full output from the following:Code: Select all
# emerge -pv dev-libs/libinput x11-drivers/xf86-input-libinput /etc/udev # ls -l /dev/input # libinput-list-devices # strace libinput-list-devices 2>&1 1>/dev/null # (if it's not too long)
Code: Select all
These are the packages that would be merged, in order:
Calculating dependencies ........ done!
[ebuild R ] sys-fs/eudev-3.1.5::gentoo USE="hwdb introspection kmod -rule-generator (-selinux) -static-libs {-test}" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild R ] dev-libs/libinput-1.7.3:0/10::gentoo USE="{-test}" INPUT_DEVICES="-wacom" 0 KiB
[ebuild R ] x11-drivers/xf86-input-libinput-0.25.1::gentoo 0 KiB
Total: 3 packages (3 reinstalls), Size of downloads: 0 KiB
* IMPORTANT: 15 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.Code: Select all
total 0
crw------- 1 root root 13, 64 nov 12 15:38 event0
crw------- 1 root root 13, 65 nov 12 15:38 event1
crw------- 1 root root 13, 66 nov 12 15:38 event2
crw------- 1 root root 13, 67 nov 12 15:38 event3
crw------- 1 root root 13, 68 nov 12 15:38 event4
crw------- 1 root root 13, 69 nov 12 15:38 event5
crw------- 1 root root 13, 70 nov 12 15:38 event6
crw------- 1 root root 13, 71 nov 12 15:38 event7
crw------- 1 root root 13, 72 nov 12 15:38 event8
crw------- 1 root root 13, 73 nov 12 15:38 event9
crw------- 1 root root 13, 63 nov 12 15:38 mice
crw------- 1 root root 13, 32 nov 12 15:38 mouse0Code: Select all
equery uses xorg-serverNo I didn't. The thread is full of my messages about xorg doing nothing bad. If you have a want to help me, please get aquented with what is already known.mir3x wrote:So maybe you installed xorg with 'minimal' flag enabled ? If yes then disable it.
Code: Select all
equery uses xorg-server


Sorry for the massive confusion, and for not reading posts more careful.strace's message was extremely huge, so I couldn's copy it even from the window term from ssh.
Code: Select all
emerge --ask app-text/wgetpaste"Expected device added events on startup but got none. Maybe you don't have the right permissions?"
Well, as nearly always, it just point the problem, but you ignore it, it's not your fault, we all do that.zinstack wrote:"Expected device added events on startup but got none. Maybe you don't have the right permissions?".
And here's mine, note the permissions and the group ownerzinstack wrote:Code: Select all
total 0 crw------- 1 root root 13, 64 nov 12 15:38 event0 crw------- 1 root root 13, 65 nov 12 15:38 event1
Code: Select all
crw-rw---- 1 root input 13, 65 Oct 24 10:21 event1
crw-rw---- 1 root input 13, 63 Oct 24 10:21 mice
That didn't help, but still thanks for a suggestion!krinn wrote:Well, as nearly always, it just point the problem, but you ignore it, it's not your fault, we all do that.zinstack wrote:"Expected device added events on startup but got none. Maybe you don't have the right permissions?".
And here's mine, note the permissions and the group ownerzinstack wrote:Code: Select all
total 0 crw------- 1 root root 13, 64 nov 12 15:38 event0 crw------- 1 root root 13, 65 nov 12 15:38 event1So you have to dig why your device manager is doing that.Code: Select all
crw-rw---- 1 root input 13, 65 Oct 24 10:21 event1 crw-rw---- 1 root input 13, 63 Oct 24 10:21 mice
Thanks for that, I've got the strace now. Here it is. And here is dmesg.LIsLinuxIsSogood wrote:Sorry for the massive confusion, and for not reading posts more careful.strace's message was extremely huge, so I couldn's copy it even from the window term from ssh.
1st of all, I did not realize from the links provided and the messages for the strace being long, you should have already been told about the useful tool for pastebin on the web, there are several options I use wgetpaste.
With that you should be able to include all the output from the strace, and whatever else it was you can't fit in the little box.Code: Select all
emerge --ask app-text/wgetpaste
Again sorry.
Also, in terms of the following message you are getting, I have never seen it before. Perhaps you could include some further output from dmesg about this?"Expected device added events on startup but got none. Maybe you don't have the right permissions?"

Code: Select all
rc-config show allOh my... I thought I've checked that in the very beginning! Everything just started working. Thanks so much to you all for helping me! Never thought I could be THAT dumb.Jaglover wrote:Check out if your udev and udev-trigger are started in sysinit runlevel.Code: Select all
rc-config show all
Sorry for not replying sooner (my router decided to die last week...) but good to see it got figured out.zinstack wrote:Oh my... I thought I've checked that in the very beginning! Everything just started working. Thanks so much to you all for helping me! Never thought I could be THAT dumb.