View previous topic :: View next topic |
Author |
Message |
Fernandenhoff n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/2390999164afa0874218aa.jpg)
Joined: 24 Dec 2007 Posts: 43 Location: Brazil
|
Posted: Tue May 17, 2011 10:45 pm Post subject: [SOLVED] Joystick does not work |
|
|
Hi all.
I can't get my joystick working on my system, but it used to work before. Its a generic joystick.
System recognize it but udev does not create /dev/input/js* neither /dev/js*. I searched into /dev/input/by-path/ but there was nothing related to a joystick.
Code: | marcelo@MARSELLUS ~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0ac8:305b Z-Star Microelectronics Corp. ZC0305 Webcam
Bus 003 Device 003: ID 0079:0006 DragonRise Inc. Generic USB Joystick |
Kernel configuration:
Code: | [*] Joysticks/Gamepads ---> |
Code: | <*> Joystick interface |
I got the following answer when monitoring udev, plugging and unplugging the device:
Code: | MARSELLUS linux # udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[1305671777.724907] add /devices/pci0000:00/0000:00:02.1/usb3/3-2 (usb)
KERNEL[1305671777.728142] add /devices/pci0000:00/0000:00:02.1/usb3/3-2/3-2:1.0 (usb)
KERNEL[1305671777.728191] add /devices/pci0000:00/0000:00:02.1/usb3/3-2/3-2:1.0/0003:0079:0006.0003 (hid)
UDEV [1305671777.732685] add /devices/pci0000:00/0000:00:02.1/usb3/3-2 (usb)
UDEV [1305671777.733818] add /devices/pci0000:00/0000:00:02.1/usb3/3-2/3-2:1.0 (usb)
UDEV [1305671777.744078] add /devices/pci0000:00/0000:00:02.1/usb3/3-2/3-2:1.0/0003:0079:0006.0003 (hid)
KERNEL[1305671782.671540] remove /devices/pci0000:00/0000:00:02.1/usb3/3-2/3-2:1.0/0003:0079:0006.0003 (hid)
KERNEL[1305671782.671621] remove /devices/pci0000:00/0000:00:02.1/usb3/3-2/3-2:1.0 (usb)
KERNEL[1305671782.671657] remove /devices/pci0000:00/0000:00:02.1/usb3/3-2 (usb)
UDEV [1305671782.673009] remove /devices/pci0000:00/0000:00:02.1/usb3/3-2/3-2:1.0/0003:0079:0006.0003 (hid)
UDEV [1305671782.673444] remove /devices/pci0000:00/0000:00:02.1/usb3/3-2/3-2:1.0 (usb)
UDEV [1305671782.674220] remove /devices/pci0000:00/0000:00:02.1/usb3/3-2 (usb) |
Any ideas?
Last edited by Fernandenhoff on Thu May 19, 2011 10:43 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54848 Location: 56N 3W
|
Posted: Wed May 18, 2011 7:41 pm Post subject: |
|
|
Fernandenhoff,
You probably have something missing from your kernel.
emerge wgetpaste if you don't have it then run
Code: | wgetpaste /usr/src/linux/.config | this puts your kernel config file on the web, as it won't fit in a post any more.
Post the URL that wgetpaste returns so we can look at your kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fernandenhoff n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/2390999164afa0874218aa.jpg)
Joined: 24 Dec 2007 Posts: 43 Location: Brazil
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54848 Location: 56N 3W
|
Posted: Thu May 19, 2011 4:55 pm Post subject: |
|
|
Fernandenhoff,
Your Code: | Bus 003 Device 003: ID 0079:0006 DragonRise Inc. Generic USB Joystick | isn't quite as generic as you may think.
Your kernel says Code: | # CONFIG_HID_DRAGONRISE is not set |
When you enable Code: | DragonRise Inc. game controller | in menuconfig, you will see a new item Code: | DragonRise Inc. force feedback (NEW) | You probably want that too. Google suggests you may have a force feedback controller.
Rebuild and reinstall you kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fernandenhoff n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/2390999164afa0874218aa.jpg)
Joined: 24 Dec 2007 Posts: 43 Location: Brazil
|
Posted: Thu May 19, 2011 10:42 pm Post subject: |
|
|
Now it works! Thanks NeddySeagoon! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|