Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libinput not recognizing devices
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
HandlingThrowback
n00b
n00b


Joined: 11 Dec 2020
Posts: 2

PostPosted: Sat Dec 12, 2020 1:15 am    Post subject: libinput not recognizing devices Reply with quote

Hi all. New gentoo user here. I'm having trouble getting my keyboard+mouse working.

`libinput list-devices` doesn't list several devices. Unplugging+replugging usb devices sometimes works, but that's not a solution (it's a laptop). If I unplug+replug a working keyboard, it stops working until I reboot.

My init system is OpenRC. I'm running sway(wayland) as a window manager and don't have X installed. All keyboards work fine in the tty.

Here's the dmesg

Other system information:

profile: default/linux/amd64/17.1/no-multilib/hardened/selinux (stable)
groups: wheel audio video input me
USE="dbus peer_perms open_perms wayland -X alsa pulseaudio"
I don't have a login manager such as consolekit or elogind. [/url]


Last edited by HandlingThrowback on Sat Dec 12, 2020 2:53 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54824
Location: 56N 3W

PostPosted: Sat Dec 12, 2020 2:19 am    Post subject: Reply with quote

HandlingThrowback,

Welcome to Gentoo.

We need all of dmesg. What should be there but is missing is just as important as what in actually there.
When its filtered, its not possible to pick up missing entries.

Make friends with wgetpaste because dmesg is too big for a post.
Put dmesg onto a pastebin and post the link.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
HandlingThrowback
n00b
n00b


Joined: 11 Dec 2020
Posts: 2

PostPosted: Sat Dec 12, 2020 2:57 am    Post subject: Reply with quote

NeddySeagoon: I updated my original post with a link to the full dmesg
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54824
Location: 56N 3W

PostPosted: Sat Dec 12, 2020 12:24 pm    Post subject: Reply with quote

HandlingThrowback,

Your dmesg looks OK. I've seen problems with your touchpad as its an i2c_designware device.
Detection of i2c devices is difficult.

Getting back to USB devices and intermittent problems, I'm aware of several sources of pain.
Loading modules in the wrong order.
Loading modules for USB root hubs you don't have, interfering with the drives you do need.
USB bus powered devices overloading the bus.

We can investigate this by analysis.

Please put your kernel .config file onto a pastebin.
Put the output of
Code:
lsusb -vvv

Before you post that make sure all your usb devices appear in
Code:
lsusb

The -vvv gives enough information to reconstruct the bus power distribution tree.
Please post the output of
Code:
lspci -nnk
It can go to a pastebin if you prefer.

Lastly, the module load order when its working and not working.
Code:
lsmod
will show that. So that's two lsmod outputs.
Kernel modules come and go dynamically. The first loaded module is at the bottom of the output.
The USB modules may be reordered as a result of unplugging the device, then reconnecting it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sat Dec 12, 2020 3:22 pm    Post subject: Reply with quote

First, the info requested by NeddySeagoon is very important.

Second, I note (don't have the link handy) that a forum poster had trouble with libinput and went back to evdev, I did a new install last week and the mouse didn't work. I also got error messages "Your LiteOn USB keyboard is too slow >75ns". I had to power button out of the install. I re-entered the install via chroot, changed INPUT_DEVICES to "evdev", updated world and sure enough it works now. I provide this as information and potential fallback, but it is best if you can get libinput working. BTW, The keyboard is Microsoft branded, apparently really made by LiteOn. (It was the only one I could find in beige to match the old PS/2 leyboard).

OK, back to solving your problem the right way.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum