Gentoo Archives: gentoo-user

From: Albert Hopkins <marduk@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] openrc & modules args
Date: Fri, 08 Aug 2008 19:06:03
Message-Id: 1218222312.6286.5.camel@localhost
In Reply to: [gentoo-user] openrc & modules args by gigli
1 On Fri, 2008-08-08 at 08:35 +0200, gigli wrote:
2 > Hi
3 >
4 > I upgraded to openrc on my gentoo system, i use it as a mythbackend +
5 > desktop. I need to pass an argument to the module dvb_usb_dib0700 to
6 > activate the low noise amplifier, but i can't get it to work.
7 > /etc/conf.d/modules looks like this
8 >
9 > # You can define a list modules for a specific kernel version,
10 > # a released kernel version, a main kernel version or just a list.
11 > #modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
12 > modules_2_6="powernow-k8 dvb_usb_dib0700 cpufreq_ondemand"
13 >
14 > # Give the modules some arguments if needed, per version if necessary.
15 > module_dvb_usb_dib0700_args="force_lna_activation=1"
16 >
17 > # You should consult your kernel documentation and configuration
18 > # for a list of modules and their options.
19 >
20 >
21 > What am i doing wrong. The old /etc/modules.d/options does not work i guess?
22
23 I think it's a openrc problem. I had a similar problem and I *think*
24 it's because udev was loading the module before openrc and so the
25 module_*_args did not apply. Putting the options in /etc/modules.d/*
26 and running modules-update (aka "the old way") seems to have fixed it
27 for me.
28
29 -a