Error Inserting Gamecon
Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware How to get Parallel Port Joysticks (eg SNES pad) working in linux 2.6.4 kernel User Name Remember Me? Password Linux - Hardware This forum is for Hardware issues. Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 06-06-2004, 05:44 AM #1 Tyco LQ Newbie Registered: Jun 2003 Posts: 10 Rep: How to get Parallel Port Joysticks (eg SNES pad) working in linux 2.6.4 kernel it seems like the old Code: modprobe joydev modprobe gamecon gc=0,1,0,0,0,0 no longer seems to work in kernel 2.6.4. Looking around in joystick-parport seems to indicate that I now need to pass a parameter to the kernel. I've tried passing gamecon.map=0,1,0,0,0,0 to the kernel at boot, and then tried the above code to load the modul
DirectPad Joystick From Triyan W. Nugroho Answered By: Peter Knaggs Hello Gang, Here in Indonesia we have very cheap joystick using DirectPad Pro driver (it's actually just a modified Playstation joystick). [Peter] Does it connect to the parallel port of your Linux machine? If so, you might find the README and README-parport in the following are helpful to get an understanding: ftp://atrey.karlin.mff.cuni.cz/pub/linux/joystick/joystick-1.2.15.tar.gz If on the other hand, it connects to the game port of your sound card, don't use the parallel port driver, of course :) http://www.linuxquestions.org/questions/linux-hardware-18/how-to-get-parallel-port-joysticks-eg-snes-pad-working-in-linux-2-6-4-kernel-190278/ Yes, it does connect to parallel port. I have use it for a long time in Windows, but still have no idea how to use it with Linux. [Peter] Did you read these pages? http://atrey.karlin.mff.cuni.cz/~vojtech/input http://www.linuxgames.com/joystick Yes. But the documentation in the Linux kernel says that the kernel has support for DirectPad joysticks, using gamecon module. [Peter] Yes, "gamecon" is likely the right module to use. http://linuxgazette.net/122/tag/1.html So I think I don't have to compile the package provided in the abovementioned pages.. [Peter] True. Still, they're useful in that they combine the userland tools and the kernel drivers all in one place with some guides and FAQ and other such. It gives a good starting point, and from there you can work on the specific issues of the 2.6 kernel, once you know how to get the device to work correctly in a plain 2.4 kernel. And I'm still confused, because the package in these pages use different filename. [Peter] Yes, well filenames change over time, code hardly changes all that much. For example, Linux kernel uses joydev.c, but in these pages it is joystick.c. And for DirectPad joysticks, Linux kernel uses gamecon.c, while in these pages it is joy-console.c. [Peter] Those would have been the names during the 2.4 series kernel. I have been Googling and found that the Linux kernel actually have support on it. And then I found several documentation in the Linux kernel, but I always fail :( [Peter] What did you try, and how did it fail, specifically? cd /dev rm js* mkdir input mknod input/js0 c 13 0 mk
AMTrying to get my Mega Drive controllers to work with Ubuntu. My Sega is still fine, https://ubuntuforums.org/archive/index.php/t-61745.html but the adapter is shot and I hate fiddling with all my cartridges. I've got legal copies of the games, and legal ROMs aswell, so there's no issue of that. Just can't work out how to get it to work? I've tried # modprobe joydev # modprobe db9 but I get greated with error inserting FATAL: Error inserting db9: No such device. Any ideas? SirKaltenSeptember 3rd, 2005, 01:54 AM*coughs* And I need to find an emulator that'll support joysticks etc in Linux... o.0 ( I have the GENS SF version, but I can't seem to get the controller to run it ) theToolmanOctober 4th, 2005, 02:24 AMMake sure the error inserting gamecon package joystick is installed; then: You need to specify options when loading the db9 module; the docs say the parameter is db9={0|1},{0-10} but I have found that this parameter is actually named dev={0|1},{0-10} - the first is the /dev/lpx number to use, and the second is the device type; see: zcat /usr/share/doc/joystick/input/joystick-parport.txt.gz I havent got this going yet as I am getting: toolman@dev-toolman:~$ s modprobe -v db9 dev=0,1 insmod /lib/modules/2.6.10-5-686/kernel/drivers/input/joystick/db9.ko dev=0,1 FATAL: Error inserting db9 (/lib/modules/2.6.10-5-686/kernel/drivers/input/joystick/db9.ko): No such device toolman@dev-toolman:~$ dmesg | tail -n 2 parport0: cannot grant exclusive access for device db9 db9.c: parport busy already - lp.o loaded? toolman@dev-toolman:~$ dj_flxMarch 26th, 2006, 11:30 AMSay, did this ever get resolved? I'm getting the same results. I have zero experience dealing with PC-style game ports and the like (I've always had ADB and USB) so this is new to me. bobo1on1October 5th, 2006, 03:07 PMI did get my psx dualshock controller to work, it was quite easy. edit /etc/m