From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-82954-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1KRXHm-0007BN-VP
	for garchives@archives.gentoo.org; Fri, 08 Aug 2008 19:06:03 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A7491E084A;
	Fri,  8 Aug 2008 19:06:01 +0000 (UTC)
Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25])
	by pigeon.gentoo.org (Postfix) with ESMTP id 93411E084A
	for <gentoo-user@lists.gentoo.org>; Fri,  8 Aug 2008 19:06:01 +0000 (UTC)
Received: from compute1.internal (compute1.internal [10.202.2.41])
	by out1.messagingengine.com (Postfix) with ESMTP id 5E8FA154F80
	for <gentoo-user@lists.gentoo.org>; Fri,  8 Aug 2008 15:06:01 -0400 (EDT)
Received: from heartbeat1.messagingengine.com ([10.202.2.160])
  by compute1.internal (MEProxy); Fri, 08 Aug 2008 15:06:01 -0400
X-Sasl-enc: aQ39e2sj/0lGwnKafpO12ge4mxa65ZgpgDJKShmThPDe 1218222360
Received: from [192.168.35.11] (cpe-24-167-121-156.satx.res.rr.com [24.167.121.156])
	by www.fastmail.fm (Postfix) with ESMTPSA id C85FF2DF6
	for <gentoo-user@lists.gentoo.org>; Fri,  8 Aug 2008 15:06:00 -0400 (EDT)
Subject: Re: [gentoo-user] openrc & modules args
From: Albert Hopkins <marduk@letterboxes.org>
To: gentoo-user@lists.gentoo.org
In-Reply-To: <489BE941.8010406@swipnet.se>
References: <489BE941.8010406@swipnet.se>
Content-Type: text/plain
Organization: Marduk Enterprises
Date: Fri, 08 Aug 2008 14:05:12 -0500
Message-Id: <1218222312.6286.5.camel@localhost>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 3a8908c3-3213-4a38-82f3-9fed777d6895
X-Archives-Hash: ba179521f9bbf88eec087370feb9ba66

On Fri, 2008-08-08 at 08:35 +0200, gigli wrote:
> Hi
> 
> I upgraded to openrc on my gentoo system, i use it as a mythbackend + 
> desktop. I need to pass an argument to the module dvb_usb_dib0700 to 
> activate the low noise amplifier, but i can't get it to work. 
> /etc/conf.d/modules looks like this
> 
> # You can define a list modules for a specific kernel version,
> # a released kernel version, a main kernel version or just a list.
> #modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
> modules_2_6="powernow-k8 dvb_usb_dib0700 cpufreq_ondemand"
> 
> # Give the modules some arguments if needed, per version if necessary.
> module_dvb_usb_dib0700_args="force_lna_activation=1"
> 
> # You should consult your kernel documentation and configuration
> # for a list of modules and their options.
> 
> 
> What am i doing wrong. The old /etc/modules.d/options does not work i guess?

I think it's a openrc problem.  I had a similar problem and I *think*
it's because udev was loading the module before openrc and so the
module_*_args did not apply.  Putting the options in /etc/modules.d/*
and running modules-update (aka "the old way") seems to have fixed it
for me.

-a