USB Joysticks in Gentoo
Okie Dokie, I've finnally gotten my 3d rendering and my ALSA working. I setup to play some Vendetta, and find out my USB joysticks aren't working. I check out my /dev/input and all I found was "mice". That's it. I'm assuming that I am missing joystick support in my kernel. I have gone back through, enabled EVERY joytick I saw listed (I have 3, will probably buy more), then typed the following as root:
make dep clean make modules modules_install The joystick drivers were configured as modular. Now the questions are: Will the above work to get my joysticks going? If not what else? Or am I only screwing things up? (BTW - I already know I'll have to recompile/reinstall ALSA after recompiling the new kernel) |
to get my USB joystick I just configure the kernel with usb suport, hid support and joystick support. then compile my kernel as usual and to use the joystick I just do insmod usbcore, then insmod hid, and insmod joydev and it should create the device in /dev/usb/
|
The very last command (insmod joydev) was the only one *NOT* loaded. How can I get that to load every time @ boot?
|
As I can see you are using gentoo. I just edited the file /etc/modules.autoload.d/kernel-2.4 and add joydev at the end of the file. Here is how mine is set up
Code:
GNU nano 1.2.1 File: /etc/modules.autoload.d/kernel-2.4 |
That file isn't there.
|
just do it yourself
|
Cool, got it. After I insmod joydev, the joysticks are showing up in /dev/input, but they are not working.
|
they are not working in what program????
|
Vendetta
|
ZSNES is saying the same thing
|
well I don't have that game but when I want to test a joystick I use tuxracer try it whit that game if you have it
|
I do have ZSNES and it works pretty well with my joystick try unloading the joydev and everything related with USB and load them again with you joystick connected to your pc. Thats all I can think of
|
BINGO!!! I tried ZSNES as root, the and joysticks showed up!! How can I give myself access to those devices?
|
just go to the directory /dev/input and change the permisons of the files so everyone can use it
|
That works, but the change is only temporary, it goes away when I reboot. Also, I still am having to execute insmod joydev manually. Afterwards I have to chmod +r /dev/input/js*.
|
All times are GMT -5. The time now is 08:31 PM. |