MandrivaThis Forum is for the discussion of Mandriva (Mandrake) 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
im trying to set up my sidewinder gamepad on mandriva 2007 powerpack, but having nojoy
its connected to my gameport on the motherboard
now when i tyoe lsmod heres what i get (shortened )
gameport 11912 1 snd_via82xx
snd_ac97_codec 96868 1 snd_via82xx
snd_ac97_bus 2848 1 snd_ac97_codec
snd_pcm 70116 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer 19620 3 snd_rtctimer,snd_seq,snd_pcm
snd_page_alloc 8712 2 snd_via82xx,snd_pcm
snd_mpu401_uart 7616 1 snd_via82xx
snd_rawmidi 19936 1 snd_mpu401_uart
snd_seq_device 7212 4 snd_seq_dummy,snd_seq_oss,snd_seq,sn
in configure/kde/system admin/joysticks
it says no joystick connected to this computer
1= do i need to get a driver for the gamepad
2= do i need a new driver for my motherboards sondcard
3= does anyone know how to set this up
please help me
You must install the joystick package either with the Mandriva Package Manager or urpmi
It is easiest with urpmi. Open a terminal window and su to root then execute:
Code:
urpmi joystick
Keep the terminal window open.
Identify the module needed for your gameport. You can do this in MCC (System / Configuration / Configure your computer in the menu system). Open MCC and navigate to Hardware. Click on Look at and configure the hardware. Scroll down. Your game port should be listed under Game port controllers. Select it. Near the bottom of the Information pane (right) you should see the module for your game port. On my system (I have an SBLive! sound card) it is listed as:
Quote:
Misc
Module: emu10k1-gp
Make a note of the module name. You will use it later. Close MCC.
In the terminal window run the following three commands:
Code:
modprobe analog
modprobe emu10k1-gp (replace with module name noted above)
lsmod
The first two commands install joydev, emu10k1-gp, analog, and gameport (emu10k1-gp will be replaced with the module name noted above). The third command lists the installed modules to confirm installation.
Now you can configure your joystick in KDE Control Center.
One Final Step:
You will want the joystick to work after a reboot so edit /etc/modules.preload in kwrite with the following command in the terminal window:
Code:
kwrite /etc/modules.preload
Add the following two lines:
Quote:
analog
emu10k1-gp (replace with your module name as noted above)
You must install the joystick package either with the Mandriva Package Manager or urpmi
It is easiest with urpmi. Open a terminal window and su to root then execute:
Code:
urpmi joystick
Keep the terminal window open.
Identify the module needed for your gameport. You can do this in MCC (System / Configuration / Configure your computer in the menu system). Open MCC and navigate to Hardware. Click on Look at and configure the hardware. Scroll down. Your game port should be listed under Game port controllers. Select it. Near the bottom of the Information pane (right) you should see the module for your game port. On my system (I have an SBLive! sound card) it is listed as:
Make a note of the module name. You will use it later. Close MCC.
In the terminal window run the following three commands:
Code:
modprobe analog
modprobe emu10k1-gp (replace with module name noted above)
lsmod
The first two commands install joydev, emu10k1-gp, analog, and gameport (emu10k1-gp will be replaced with the module name noted above). The third command lists the installed modules to confirm installation.
Now you can configure your joystick in KDE Control Center.
One Final Step:
You will want the joystick to work after a reboot so edit /etc/modules.preload in kwrite with the following command in the terminal window:
Code:
kwrite /etc/modules.preload
Add the following two lines:
Save your changes.
After a reboot, the joystick should still work.
thanks il have a go later on when i finish what im doing
il let you know the outcome
once again thanks
Did you get any error messages when you tried to install the sidewinder module?
not sure where the sidewinder module comes into it
i ran the urpmi joystick
got no errors there
then your next step said to "look at hardware" but theres no game port there
not sure where the sidewinder module comes into it
i ran the urpmi joystick
got no errors there
then your next step said to "look at hardware" but theres no game port there
I do not use a Sidewinder here, and I was giving generalized advise for installing a joystick. Since that is not getting us any where, I did some research and there is a wikipeia on the subject here. Maybe this will be of more help than I can be .
I do not use a Sidewinder here, and I was giving generalized advise for installing a joystick. Since that is not getting us any where, I did some research and there is a wikipeia on the subject here. Maybe this will be of more help than I can be .
HTH,
dont know if this is what i need? but was surfing through my h/d and found media/hda1/sys/module/gameport
inside are a folder called "sections" and a file called "refcnt"
opened the file with k-write and get "0"
inside the folder are a file called "ksymtab" saying "
0xe102326c
other file in folder is called "ksymtab_strings" saying 0xe10232cc
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.