Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED Off brand Gamecube controller help for Dolphin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
davidbrooke
n00b
n00b


Joined: 03 Jan 2015
Posts: 40

PostPosted: Tue Jun 16, 2015 7:47 pm    Post subject: SOLVED Off brand Gamecube controller help for Dolphin Reply with quote

I'm trying to setup an off brand Gamecube controller to use with Dolphin. Here is a url for the device:
http://www.amazon.com/Retro-GameCube-Style-Wired-Controller-Pc/dp/B00HS7LJ2G

I have tried to use the controller on two different computers with:
genkernel-x86_64-3.18.12 and 4.0.5
with USB HID support

Here is the kernel log when I plug in the controller:
06/16/15 02:50:13 PM usb 3-9 new low-speed USB device number 3 using xhci_hcd
06/16/15 02:50:13 PM usb 3-9 New USB device found, idVendor=0079, idProduct=0006
06/16/15 02:50:13 PM usb 3-9 New USB device strings: Mfr=0, Product=2, SerialNumber=0
06/16/15 02:50:13 PM usb 3-9 Product: Generic USB Joystick
06/16/15 02:50:13 PM usb 3-9 ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
06/16/15 02:50:13 PM usb 3-9 ep 0x1 - rounding interval to 64 microframes, ep desc says 80 microframes

I have reviewed several sites for guidance and this one seems to be the best:
https://steamcommunity.com/app/221410/discussions/0/558748653738497361/
But I can't get past step three since there isn't an dev/input/event for the controller.

Also I have installed games-util/xboxdrv-0.8.5-r1 but this is getting too far ahead since there isn't a dev/input/event for the controller.
Any help would be appreciated.
Thanks


Last edited by davidbrooke on Fri Jun 19, 2015 5:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
davidbrooke
n00b
n00b


Joined: 03 Jan 2015
Posts: 40

PostPosted: Fri Jun 19, 2015 5:42 pm    Post subject: Reply with quote

Retrolink USB GameCube Controller

https://wiki.archlinux.org/index.php/Gamepad#Disable_Joystick_From_Controlling_Mouse
https://forums.dolphin-emu.org/Thread-retrolink-gamecube-controllers
http://www.amazon.com/Retro-GameCube-Style-Wired-Controller-Pc/dp/B00HS7LJ2G

I have finally got this working. I loaded up Manjaro and checked the systemd journal listing - journalctl -f and found the module/driver being used for the Retrolink controller - dragonrise.
I have laid out some basic steps to get it working in Gentoo for Dolphin.

1. Verify dragonrise is loaded:
lsmod | grep hid_dr
If not configure kernel CONFIG_HID_DRAGONRISE
2. Verify joydev is loaded:
lsmod | grep joydev
If not configure kernel CONFIG_INPUT_JOYDEV
3. Verify usbhid is loaded: (this should be loaded if you are using a mouseand keyboard)
lsmod | grep usbhid
If not configure kernel CONFIG_USB_HID
4. Verify via kernel log that the controller is setup correctly:
Code:
06/19/15 11:38:03 AM   usb 3-10   new low-speed USB device number 3 using xhci_hcd
06/19/15 11:38:03 AM   usb 3-10   New USB device found, idVendor=0079, idProduct=0006
06/19/15 11:38:03 AM   usb 3-10   New USB device strings: Mfr=0, Product=2, SerialNumber=0
06/19/15 11:38:03 AM   usb 3-10   Product: Generic USB Joystick
06/19/15 11:38:03 AM   usb 3-10   ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
06/19/15 11:38:03 AM   usb 3-10   ep 0x1 - rounding interval to 64 microframes, ep desc says 80 microframes
06/19/15 11:38:03 AM   input   Generic USB Joystick as /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0/0003:0079:0006.0007/input/input18
06/19/15 11:38:03 AM   dragonrise 0003   079:0006.0007: input,hidraw4: USB HID v1.10 Joystick [Generic USB Joystick ] on usb-0000:00:14.0-10/input0

5. Start Dolphin emulator and configure Options>Gamecube pad settings>Device>SDL/0/Generic USB Joystick. Since Dolphin allows for configuring/mapping devices there is no need for evtest, xboxdrv, etc...


Other info:
Disable Joystick From Controlling Mouse (if x11-drivers/xf86-input-joystick is installed)
Create the following file:
/etc/X11/xorg.conf.d/50-joystick.conf
Section "InputClass"
Identifier "joystick catchall"
MatchIsJoystick "on"
MatchDevicePath "/dev/input/event*"
Driver "joystick"
Option "StartKeysEnabled" "False" #Disable mouse
Option "StartMouseEnabled" "False" #support
EndSection
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players 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