How to pass parameters to kernel modules
jdangler at atlantic.net
Tue Jan 2 17:11:47 UTC 2007
On Tue, 2007-01-02 at 17:27 +0100, Mauro Grauso wrote:
> I'm installing Ubuntu on my new Sony Picturebook laptop. It is an
> ultra small device that also features a builtin camera.
> To make a long story short, the module that support the sony devices
> is "sonypi" and the module that support the camera is "meye". Both
> modules are loaded at startup, but they are not loaded with the
> correct parameters.
> If I unload the modules by hand and reload them with the correct
> parameters, the camera works beautifully.
> The parameters are the following:
> sonypi camera=1
> meye gbuffers=32 video_nr=0 forcev4l1=1
> My problem (and question) is to pass the correct parameters to the
> kernel at boot time.
> Which is the file and syntax to use? I tried various options
> (/boot/grub/menu.1st and /etc/modules) but nothing worked. The file
> /etc/modules.conf doesnt' exists in Ubuntu, so I'm clueless.
Try adding the above 2 lines you need in /etc/modules so that they're
loaded at boot time with the parameters you specify.
> Xubuntu 6.06
> linux 2.6.15-27-386
> I would appreciate any idea. Thanks.
More information about the ubuntu-users