Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] baselayout 2 module arguments
Date: Wed, 05 Jun 2013 14:40:26
Message-Id: 51AF4DB4.2070403@iinet.net.au
In Reply to: Re: [gentoo-user] baselayout 2 module arguments by Mick
1 On 05/06/13 15:33, Mick wrote:
2 > On Tuesday 04 Jun 2013 14:26:50 William Kenworthy wrote:
3 >> I am trying to get an argument passed to a kernel module - it works like
4 >> below but not using the /etc/conf.d/modules file.
5 >>
6 >> insmod
7 >> /lib/modules/3.8.13-gentoo/kernel/drivers/media/usb/em28xx/em28xx.ko
8 >> card="46"
9 >>
10 >> In /etc/conf.d/modules I have
11 >> module_em28xx_args="card=46"
12 >>
13 >>
14 >> The only odd bit is its a qemu vm using usbip to connect to the usb
15 >> stick on another PC but it works manually (at least the card bit ...)
16 >>
17 >> Have I made a mistake with the card arguments somehow thats not obvious?
18 >
19 > Have you tried to add module options in /etc/modprobe.d/ directory? e.g.
20 > create a file em28xx.conf and add in it:
21 >
22 > options em28xx card=46
23 >
24
25 Brilliant, thanks Mick. I am using the latest baselayout 2 and was
26 going by its instructions (which dont work) and didn't think to use the
27 old way.
28
29 Now I have a video0, but no /dev/dvb so thats the next hurdle to be
30 tackled tomorrow.
31
32 Thanks,
33 BillK

Replies

Subject Author
Re: [gentoo-user] baselayout 2 module arguments Neil Bothwick <neil@××××××××××.uk>