You are not logged in.

#1 2006-12-12 09:37:45

rivierrakid
Member
From: Newcastle, UK
Registered: 2006-06-28
Posts: 21

rc.conf and module parameters.. how?

Im setting up my joystick which is 2 axis 6 button, the standard 'analog' module loads up as a 4 axis 4 button where 2 buttons are displayed as analog...

I have it working perfect with

modprobe analog map=gamepad

is it possable to add the parameter in rc.conf?
would it be as simple as MODULES=(joydev analog map=gamepad)?

Offline

#2 2006-12-12 10:14:07

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: rc.conf and module parameters.. how?

Nah. You need an options directive in /etc/modprobe.conf. The man page has all the details.

Offline

#3 2006-12-12 13:38:52

rivierrakid
Member
From: Newcastle, UK
Registered: 2006-06-28
Posts: 21

Re: rc.conf and module parameters.. how?

cheers tomk for pointing me in the right direction.

got it sorted. Ive never had to edit the modprobe.conf in the past so it was a 'aaaaah thats what it does' kinda moment... simple really if you know where to look.

cheers

Offline

#4 2006-12-12 16:24:25

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: rc.conf and module parameters.. how?

alternatively, you can add them to the module array in quotes and it should work too.

Offline

Board footer

Powered by FluxBB