-
Notifications
You must be signed in to change notification settings - Fork 0
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
Tut needed for EMS Top Gun on Retropie #1
Comments
Hi @SirMcFrosty, Anyway, I would be very happy to assist you if this issue is still relevant for you (if it doesn't just tell me so I can close it). mkdir -p /lib/modules/`uname -r`/misc
cp /path/to/lcdtopgun.ko /lib/modules/`uname -r`/misc
depmod -a To check if Retropie sees the new module you can try to load it: modprobe lcdtopgun Please note that all actions should be run as |
Thanks for your answer. The issue is still relevant but at the moment i am a bit busy while moving into a new home and such stuff. So it would be good to leave it open so i can come back to you with that issue when i am again working on retropie stuff and testing your hint you gave me.
With best regards
Sir Mc Frosty
Von: Ansa89 <[email protected]>
Gesendet: Mittwoch, 8. Mai 2019 13:35
An: Ansa89/topgun-linux-driver <[email protected]>
Cc: SirMcFrosty <[email protected]>; Mention <[email protected]>
Betreff: Re: [Ansa89/topgun-linux-driver] Tut needed for EMS Top Gun on Retropie (#1)
Hi @SirMcFrosty <https://github.com/SirMcFrosty> ,
I'm very sorry for the late reply, but in the last years I had been very busy (and even now I don't have spare time for my hobbies).
Anyway, I would be very happy to assist you if this issue is still relevant for you (if it doesn't just tell me so I can close it).
Apparently you compiled the kernel module without errors, so you can just copy/paste it in some location inside kernel modules directory and run depmod:
mkdir -p /lib/modules/`uname -r`/misc
cp /path/to/lcdtopgun.ko /lib/modules/`uname -r`/misc
depmod -a
To check if Retropie sees the new module you can try to load it:
modprobe lcdtopgun
Please note that all actions should be run as root.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AJLVYFJIDX6DCLTWPJPVXKTPUK3F5ANCNFSM4FKFAGVA> . <https://github.com/notifications/beacon/AJLVYFLRRVYB3WBKI4RHLKDPUK3F5A5CNFSM4FKFAGVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODU53FMI.gif>
|
Ok, no problem, take your time. |
Are there any instruction available for building the kernel module? I'm having issues on groovyarcade( based on arch linux). |
I got this working in Ubuntu yesterday after a lot of trouble. The problem was with the Makefile. For any Linux kernel higher than 5.3, the SUBDIRS keyword is deprecated and you need to change it to M. Then make and make install should work. I am planning to try to get it to act as a mouse for use by emulators by following this tutorial: https://askubuntu.com/questions/114895/how-can-a-gamepad-control-the-mouse |
@pitprowler have you managed to make it work as a mouse? |
I did get it to work as a mouse using the antimicro program mentioned at the bottom of the thread I linked above. I would like to just edit the driver itself if I had the time. |
Thanks. I tried to edit and map it to a mouse with no luck. |
I remembered something I read a while ago and managed to get the gun recognized as a mouse without much effort. static const signed short topgun_btn[] = { |
That's really interesting! |
Hi Ansa89
I know it is a long time ago you made this driver. But it would be great if you could help me to install this driver on my Retropie. I could create a .ko file out of it, but now i am lost as i am not a linux expert. a make install didnt work and any other way do go further this problem i dont know.
Please help
Thanks in advance
The text was updated successfully, but these errors were encountered: