1 |
On Tuesday 04 Jun 2013 14:26:50 William Kenworthy wrote: |
2 |
> I am trying to get an argument passed to a kernel module - it works like |
3 |
> below but not using the /etc/conf.d/modules file. |
4 |
> |
5 |
> insmod |
6 |
> /lib/modules/3.8.13-gentoo/kernel/drivers/media/usb/em28xx/em28xx.ko |
7 |
> card="46" |
8 |
> |
9 |
> In /etc/conf.d/modules I have |
10 |
> module_em28xx_args="card=46" |
11 |
> |
12 |
> |
13 |
> The only odd bit is its a qemu vm using usbip to connect to the usb |
14 |
> stick on another PC but it works manually (at least the card bit ...) |
15 |
> |
16 |
> Have I made a mistake with the card arguments somehow thats not obvious? |
17 |
|
18 |
Have you tried to add module options in /etc/modprobe.d/ directory? e.g. |
19 |
create a file em28xx.conf and add in it: |
20 |
|
21 |
options em28xx card=46 |
22 |
|
23 |
-- |
24 |
Regards, |
25 |
Mick |