Enabling Joystick at Startup

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Enabling Joystick at Startup

August Karlstrom
Hi,

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.


Regards,

August

--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users