Advertisement

editing modules.conf for an USB gamepad

Started by January 18, 2002 01:20 PM
3 comments, last by Biased turkey 23 years ago
I wanted to use my playstation gamepad with a PSX to USB adapter on my Linux system. 1) I installed the joystick1.2.15-9 RPM ( I have Redhat7.2 ). 2) As root I enter the command: modprobe joydev modprobe analog Everything is fine and works when I use the following command: jstest /dev/js0 I made a short C progranm using the SDL libraries and the gamepad is detected and working. Now, I would like to automate the loading of the drivers at boot-time. I understand I have to edit the /etc/modules.conf file but don know how. I''m confused with what an alias is, does it works like a link? Could someone please be kind enough to tell me the exact content of the line I have to add to modules.conf? TIA
Are you saying your joystick does not work? If so, make sure that you have USB support in the kernel (either compiled in or as a module) and make sure you''ve got the USB Human Interface Device module (or, compiled in). I think there''s one other module needed for true USB support, but I don''t remember what it is at the time... It may be your best bet to just compile your kernel with all USB stuff enabled.

rm -rf /bin/laden
Advertisement
If you want a cheesy solution just put the lines you used to load the module into /etc/rc.d/rc.local (I think RedHat has that one; Otherwise just find the equivalent).

[Resist Windows XP''s Invasive Production Activation Technology!]
I finally ended going the "cheesy way " and it works even if it not the most elegant solution.
I''m afraid I''ll have to stick with that solution until I become an expert in alias and modules.conf

Thanks guys from taken some of your time to reply.
quote:
Thanks guys from taken some of your time to reply.

No problem, that''s what this forum''s for

rm -rf /bin/laden

This topic is closed to new replies.

Advertisement