public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] baselayout 2 module arguments
@ 2013-06-04 13:26 William Kenworthy
  2013-06-05  7:33 ` Mick
  0 siblings, 1 reply; 5+ messages in thread
From: William Kenworthy @ 2013-06-04 13:26 UTC (permalink / raw
  To: gentoo-user

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?

BillK



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] baselayout 2 module arguments
  2013-06-04 13:26 [gentoo-user] baselayout 2 module arguments William Kenworthy
@ 2013-06-05  7:33 ` Mick
  2013-06-05 14:39   ` William Kenworthy
  0 siblings, 1 reply; 5+ messages in thread
From: Mick @ 2013-06-05  7:33 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 756 bytes --]

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

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] baselayout 2 module arguments
  2013-06-05  7:33 ` Mick
@ 2013-06-05 14:39   ` William Kenworthy
  2013-06-05 14:45     ` Neil Bothwick
  0 siblings, 1 reply; 5+ messages in thread
From: William Kenworthy @ 2013-06-05 14:39 UTC (permalink / raw
  To: gentoo-user

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] baselayout 2 module arguments
  2013-06-05 14:39   ` William Kenworthy
@ 2013-06-05 14:45     ` Neil Bothwick
  2013-06-05 22:54       ` William Kenworthy
  0 siblings, 1 reply; 5+ messages in thread
From: Neil Bothwick @ 2013-06-05 14:45 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

On Wed, 05 Jun 2013 22:39:48 +0800, William Kenworthy wrote:

> Now I have a video0, but no /dev/dvb so thats the next hurdle to be
> tackled tomorrow.

Missing firmware?


-- 
Neil Bothwick

Newspaper Ad: Dog for sale: eats anything and is fond of children.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] baselayout 2 module arguments
  2013-06-05 14:45     ` Neil Bothwick
@ 2013-06-05 22:54       ` William Kenworthy
  0 siblings, 0 replies; 5+ messages in thread
From: William Kenworthy @ 2013-06-05 22:54 UTC (permalink / raw
  To: gentoo-user

On 05/06/13 22:45, Neil Bothwick wrote:
> On Wed, 05 Jun 2013 22:39:48 +0800, William Kenworthy wrote:
> 
>> Now I have a video0, but no /dev/dvb so thats the next hurdle to be
>> tackled tomorrow.
> 
> Missing firmware?
> 
> 

You could be right ... but google makes no mention of firmware being
required. I'll look into it tonight.

The usb stick I have firmware for loads it and then dies (a usbip
problem I think, resets after load)

BillK




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-05 22:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-04 13:26 [gentoo-user] baselayout 2 module arguments William Kenworthy
2013-06-05  7:33 ` Mick
2013-06-05 14:39   ` William Kenworthy
2013-06-05 14:45     ` Neil Bothwick
2013-06-05 22:54       ` William Kenworthy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox