On 05/06/13 15:33, Mick wrote: > On Tuesday 04 Jun 2013 14:26:50 William Kenworthy wrote: >> I am trying to get an argument passed to a kernel module - it works like >> below but not using the /etc/conf.d/modules file. >> >> insmod >> /lib/modules/3.8.13-gentoo/kernel/drivers/media/usb/em28xx/em28xx.ko >> card="46" >> >> In /etc/conf.d/modules I have >> module_em28xx_args="card=46" >> >> >> The only odd bit is its a qemu vm using usbip to connect to the usb >> stick on another PC but it works manually (at least the card bit ...) >> >> Have I made a mistake with the card arguments somehow thats not obvious? > > Have you tried to add module options in /etc/modprobe.d/ directory? e.g. > create a file em28xx.conf and add in it: > > options em28xx card=46 >
Brilliant, thanks Mick. I am using the latest baselayout 2 and was going by its instructions (which dont work) and didn't think to use the old way. Now I have a video0, but no /dev/dvb so thats the next hurdle to be tackled tomorrow. Thanks, BillK

