View previous topic :: View next topic |
Author |
Message |
ctschmidt n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Apr 2007 Posts: 8
|
Posted: Fri Apr 27, 2007 4:37 pm Post subject: (solved) How to pass module-parameters to in-kernel-driver? |
|
|
Hello again everyone,
when I compile a certain driver (lets say sndhda-intel) into the kernel (i.e. not as a module), how do I pass parameters to that driver that I would usually pass to the module using modprobe?
As an example:
When I compile snd-hda-intel as a module I would usually call it up using
Code: | modprobe snd-hda-intel model=acer |
Now, when I compile snd-hda-intel into the kernel - how do I pass the module=acer parameter to the kernel driver?
Thanks in advance, best regards,
Christian.
Last edited by ctschmidt on Fri Apr 27, 2007 5:52 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
wynn Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/46695354144c509f41a088.png)
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Fri Apr 27, 2007 4:53 pm Post subject: |
|
|
From Documentation/kernel-parameters.txt Quote: | Module parameters for modules that are built into the kernel image are specified on the kernel command line with the module name plus '.' plus parameter name, with '=' and value if appropriate, such as:
usbcore.blinkenlights=1 | so you would need Code: | snd_hda_intel.model=acer | I've only recently discovered this so you are benefiting from fresh knowledge ![Smile :)](images/smiles/icon_smile.gif) _________________ The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ctschmidt n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 Apr 2007 Posts: 8
|
Posted: Fri Apr 27, 2007 5:52 pm Post subject: |
|
|
sad thing is: i've read that text at least twice. need-more-concentration-syrup....
thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|