Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Gamepad/Joystick detected in kernel but not usable
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
NihonThePurpleFox
n00b
n00b


Joined: 18 May 2018
Posts: 2

PostPosted: Fri May 18, 2018 6:00 am    Post subject: [Solved] Gamepad/Joystick detected in kernel but not usable Reply with quote

Hi,
I have a generic USB gamepad that I would like to use. It is detected by the kernel, as dmesg shows:
Code:

[    0.802792] usb 3-2: New USB device found, idVendor=0079, idProduct=0006
[    0.802794] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    0.802795] usb 3-2: Product: USB Joystick         
[    0.802796] usb 3-2: Manufacturer: Microntek             


However, it isn't usable. Firstly, it has two modes - an LED lights up when the modes are switched. It won't light up, so I assume it's not properly working. Secondly, I compiled packages with the 'joystick' USE flag, but packages like Snes9x or SuperTuxKart won't register the gamepad. I have used this gamepad with other Linux distros (Manjaro) as well as FreeBSD; so it's compatible. Do I need to configure Xorg? The kernel? I recompiled the kernel before with all gamepad drivers enabled, but still didn't work. Any help would be appreciated. :-)


Last edited by NihonThePurpleFox on Mon May 21, 2018 4:04 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri May 18, 2018 11:46 am    Post subject: Reply with quote

NihonThePurpleFox,

Welcome to Gentoo.

Code:
[    0.802792] usb 3-2: New USB device found, idVendor=0079, idProduct=0006
[    0.802794] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    0.802795] usb 3-2: Product: USB Joystick         
[    0.802796] usb 3-2: Manufacturer: Microntek
is the kernel reading the
Code:
idVendor=0079, idProduct=0006
from the device.
It does not list any driver as being loaded.

Google tells me that your device needs
Code:
hid_dr
to be loaded.
You will probably need to rebuild your kernel with hid_dr support.
_________________
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
NihonThePurpleFox
n00b
n00b


Joined: 18 May 2018
Posts: 2

PostPosted: Mon May 21, 2018 4:03 am    Post subject: It worked Reply with quote

Thanks a lot! It worked!
But seriously, I had no idea my Microntek gamepad used Dragonrise drivers. XD
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon May 21, 2018 7:16 am    Post subject: Reply with quote

NihonThePurpleFox,

Ignore the shiny packing, its usually misleading.

The idVendor and idProduct tells what's inside, which is what matters to the kernel.
Once you know that, google will usually, not always, tell what the hardware driver is.
_________________
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
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