Enabling Joystick at Startup

August Karlstrom fusionfive at comhem.se
Sun Nov 6 23:27:08 UTC 2005


In my `~/.bashrc' file I have defined the following function to enable 
the joystick

    function my_enable_joystick
       sudo modprobe -r analog
       sudo modprobe joydev
       sudo modprobe analog
       sudo modprobe ns558
       sleep 0.5
       sudo modprobe -r ns558
       sudo modprobe ns558

If I want to have the joystick enabled every time I start the operating 
system, where should I put the modprobe commands? I use Ubuntu 5.10.



More information about the ubuntu-users mailing list