LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-08-2015, 10:48 AM   #1
wisnoskij
LQ Newbie
 
Registered: May 2010
Posts: 12

Rep: Reputation: 0
How to Manage Devices and Drivers?


Hello All,

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.

Last edited by wisnoskij; 04-08-2015 at 10:51 AM.
 
Old 04-11-2015, 05:21 PM   #2
myxal
LQ Newbie
 
Registered: Apr 2015
Posts: 7

Rep: Reputation: Disabled
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?

Last edited by myxal; 04-11-2015 at 05:29 PM.
 
Old 04-11-2015, 11:30 PM   #3
wisnoskij
LQ Newbie
 
Registered: May 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Will give `evtest` a go. I had not because I have no idea what I am doing.

Ahh, ya I never remember which one it is supposed to be. I have tried both extensively, but will remember `X` for Xbox next time.
 
  


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
[SOLVED] Proper way to manage multiple sound devices? Hangdog42 Slackware 7 05-05-2011 11:59 AM
LXer: How to Manage Removable Devices in KDE LXer Syndicated Linux News 0 05-24-2010 03:00 PM
Need help on how to manage SAN devices in Linux mohanthakoor Linux - Newbie 2 03-30-2009 01:57 AM
How to manage order of sound devices in alsa? funkynesh Slackware 3 02-24-2007 09:46 AM
Enable and Manage Bluetooth Devices lmcilwain Fedora 8 07-25-2005 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:10 PM.

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