Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have never managed to figure out how to deal with drivers and devices in Linux, and I currently have a strange and serious problem. I probably just need to uninstall the drivers and allow the PnP to refresh with a clean install, at least that is what I would do in windows.
I have this Linux Mint box that I bought two Logitech gaming controllers for. They worked out the the box for programs like Zsnes/ect. But one night first one and then the other simply stopped working. and I cannot get key presses recognize at all. It is not connected to the internet, and how not been for months at that point. So I can verify that nothing was updated or installed.
Before Plug In:
Code:
wisnoskij@wis-dell ~ $ lsusb -t
/: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
|__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
wisnoskij@wis-dell ~ $ dmesg|tail -n 20
[ 71.902127] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 71.902133] usb 2-2: Product: Mass Storage Device
[ 71.902138] usb 2-2: Manufacturer: Generic
[ 71.902142] usb 2-2: SerialNumber: 058F091111B
[ 71.974482] usb-storage 2-2:1.0: USB Mass Storage device detected
[ 71.974560] scsi4 : usb-storage 2-2:1.0
[ 71.974666] usbcore: registered new interface driver usb-storage
[ 72.972785] scsi 4:0:0:0: Direct-Access Multi Flash Reader 1.00 PQ: 0 ANSI: 0
[ 72.973168] sd 4:0:0:0: Attached scsi generic sg2 type 0
[ 73.303517] sd 4:0:0:0: [sdb] 62521344 512-byte logical blocks: (32.0 GB/29.8 GiB)
[ 73.304502] sd 4:0:0:0: [sdb] Write Protect is off
[ 73.304510] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 73.305499] sd 4:0:0:0: [sdb] No Caching mode page found
[ 73.305506] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 73.309627] sd 4:0:0:0: [sdb] No Caching mode page found
[ 73.309635] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 73.313528] sdb: sdb1
[ 73.317125] sd 4:0:0:0: [sdb] No Caching mode page found
[ 73.317133] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 73.317139] sd 4:0:0:0: [sdb] Attached SCSI removable disk
After:
Code:
wisnoskij@wis-dell ~ $ lsusb -t
/: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
|__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
wisnoskij@wis-dell ~ $ dmesg|tail -n 20
[ 73.317133] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 73.317139] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[ 230.832028] usb 6-1: new full-speed USB device number 2 using uhci_hcd
[ 231.025050] usb 6-1: New USB device found, idVendor=046d, idProduct=c216
[ 231.025058] usb 6-1: New USB device strings: Mfr=1, Product=9, SerialNumber=3
[ 231.025063] usb 6-1: Product: Logitech Dual Action
[ 231.025068] usb 6-1: Manufacturer: Logitech
[ 231.025073] usb 6-1: SerialNumber: C8D64285
[ 231.204178] input: Logitech Logitech Dual Action as /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/input/input14
[ 231.204428] hid-generic 0003:046D:C216.0005: input,hidraw3: USB HID v1.11 Joystick [Logitech Logitech Dual Action] on usb-0000:00:1d.0-1/input0
[ 231.288126] usb 6-1: USB disconnect, device number 2
[ 375.804027] usb 6-1: new full-speed USB device number 3 using uhci_hcd
[ 375.997050] usb 6-1: New USB device found, idVendor=046d, idProduct=c216
[ 375.997058] usb 6-1: New USB device strings: Mfr=1, Product=9, SerialNumber=3
[ 375.997064] usb 6-1: Product: Logitech Dual Action
[ 375.997069] usb 6-1: Manufacturer: Logitech
[ 375.997073] usb 6-1: SerialNumber: C8D0C33C
[ 386.005062] hid-generic 0003:046D:C216.0006: timeout initializing reports
[ 386.005197] input: Logitech Logitech Dual Action as /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/input/input15
[ 386.005441] hid-generic 0003:046D:C216.0006: input,hidraw3: USB HID v1.11 Joystick [Logitech Logitech Dual Action] on usb-0000:00:1d.0-1/input0
//Removed Controller:
[ 600.576077] usb 6-1: USB disconnect, device number 3
So it looks like it is adding the device, though "usb-0000:00:1d.0-1/input0" does look a little overly generic. I did remove and re-add once or twice as I was not sure that it had picked it up the first time. What do you think? What can I try to fix this issue? Every other USB device is working normally as expected.
Have you tried evtest to check if the kernel is getting events from the driver?
Also - going by the output of dmesg, your controller is in Dual-action mode. Is that correct? Last time I tried a switchable controller in Linux, only the xbox mode worked correctly. Can you try switching to that mode on the controller?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.