-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use on RetroPie? #12
Comments
I get this error too when I download and compile the latest libusb-1.0.19 |
Your libc headers are probably out of date. If you're not running the latest Debian version try upgrading. |
I'm running RetroPie 3 beta 3 on a Pi 2 which is running Debian Wheezy, not Jessie. Linux retropie 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux |
It might be that Wheezy doesn't have the latest version of the Linux headers, which is why those symbols are missing. Can you try upgrading to Jessie and see if that works? |
@ToadKing can you tell us what the minimal required Linux Kernel is? Perhaps we could get the RetroPie team to backport some of the features, since getting this working would be a significant boost to their project. |
Hi, |
Hi @baddger , |
Hi @jjmakin ,
|
Hi all, I have followed all of your instructions but have not had any success. I have a rp2 with retropie 3.0 installed from the image file. I have successfully switched to Jessie, fixed the autologin, fixed the eth0 issue which cropped up, was able to make Toadking's driver, and placed the above script in the init.d folder pointing towards where I stored the driver. Emulation station still does not even recognize any controller that I hook up to gc adapter. I have tried wavebirds as well as nes and snes controllers with gc connection adapters. This would be great if I could just get it to work. When i go into /dev/input, I don't see any joystick values populate. When I plug the device in I see a new event0 and mouse0. I don't have any other devices plugged into the usb ports of the raspberry pi. pi@retropie /dev/input $ ls |
Hello, Anyone any ideas? |
I have ran 'make' and all seemed to go great. No errors. After running make, is there anything I am supposed to do to allow retro pi to see the GC Adapter? Im new to raspberry pi, but learning loads! :) |
Just got this working on my Raspberry Pi 3. You are going to want to be on the latest RetroPie (3.6+) which uses Debian Jessie (as opposed to Wheezy). Using the latest RetroPie image, I did a clean install on my SD card followed by the obligatory update:
After that, you will need to pull the code from here via
The above commands will build the adapter driver, make it executable, and move it to a standard location (out of the home folder). Debian Jessie has migrated to
Paste this into the file and save it:
Then to enable and start the service:
Reboot and check that the service is running:
You should get something like this:
|
The remaining issue is when RetroPie shows console dialogs (similar to what |
Hello,
I have a raspberry pi running RetroPie and a GameCube controller to Wii-U adapter. I have tried to use this adapter to use gamecube controllers I already have in an attempt to not have to buy new usb controllers. When I tried to run "make" it came up with an error concerning my "libusb". I then attempted to find an update but my raspberry pi said I already had the newest version. I then downloaded the newest version (1.0.19 is the newest I think) on my raspberry pi via SSH and compiled it. Then when I attempted to run the make file again it gave this error message:
cc -c -o wii-u-gc-adapter.o wii-u-gc-adapter.c -Wall -Wextra -pedantic -Wno-format -std=c99 -I/usr/local/include/libusb-1.0 -O2
wii-u-gc-adapter.c:44:4: error: ‘BTN_SOUTH’ undeclared here (not in a function)
wii-u-gc-adapter.c:45:4: error: ‘BTN_WEST’ undeclared here (not in a function)
wii-u-gc-adapter.c:46:4: error: ‘BTN_EAST’ undeclared here (not in a function)
wii-u-gc-adapter.c:47:4: error: ‘BTN_NORTH’ undeclared here (not in a function)
wii-u-gc-adapter.c:48:4: error: ‘BTN_DPAD_LEFT’ undeclared here (not in a function)
wii-u-gc-adapter.c:49:4: error: ‘BTN_DPAD_RIGHT’ undeclared here (not in a function)
wii-u-gc-adapter.c:50:4: error: ‘BTN_DPAD_DOWN’ undeclared here (not in a function)
wii-u-gc-adapter.c:51:4: error: ‘BTN_DPAD_UP’ undeclared here (not in a function)
Makefile:16: recipe for target 'wii-u-gc-adapter.o' failed
make: *** [wii-u-gc-adapter.o] Error 1
I think the new libusb needs to be placed where the previous version is or else re-route the program to find it where it is currently but I'm not certain. I was hoping you could help me get this figured out. I am a college student learning hardware and software and I can't seem to get it on my own.
The text was updated successfully, but these errors were encountered: