You are not logged in.

#1 2009-12-04 20:22:49

leonardof
Member
Registered: 2008-09-05
Posts: 66

How to set kernel module options at boot? (solved)

I've got a netbook with bluetooth supported by the omnibook driver. In rc.conf, I left the modules autoloading on, and added 'omnibook' to the modules array, because it wasn't automatically loaded. Then I added the following line to /etc/modules.d/modprobe.conf:

options omnibook ectype=12 wifi=1 bluetooth=1

But I still don't get a Bluetooth device after the boot. I only get it if I run:

sudo rmmod omnibook ; sudo modprobe omnibook ectype=12 wifi=1 bluetooth=1

How should I set these options at boot time? I couldn't find any other orientation in the wiki. Thanks!

Last edited by leonardof (2010-04-29 01:58:24)

Offline

#2 2009-12-04 20:28:56

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: How to set kernel module options at boot? (solved)

The omnibook module isn't something I've ever used but there is no need to include "sudo" in the options line.  How about trying:

options omnibook ectype=12 wifi=1 bluetooth=1

Offline

#3 2009-12-05 12:21:07

leonardof
Member
Registered: 2008-09-05
Posts: 66

Re: How to set kernel module options at boot? (solved)

Actually the sudo is not in the .conf file, sorry for pasting it here,

Offline

#4 2010-04-11 04:19:07

leonardof
Member
Registered: 2008-09-05
Posts: 66

Re: How to set kernel module options at boot? (solved)

Linux 2.6.33 is out, and the issue continues. Any ideas?

Offline

#5 2010-04-11 04:32:40

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: How to set kernel module options at boot? (solved)

The module could be getting loaded by the initcpio.  Try adding /etc/modprobe.d/modprobe.conf to FILES in /etc/mkinitcpio.conf.

Offline

#6 2010-04-11 14:17:49

leonardof
Member
Registered: 2008-09-05
Posts: 66

Re: How to set kernel module options at boot? (solved)

Already did it, no luck. Should I add the driver to the modules list in the mkinitcpio conf file?

Offline

#7 2010-04-11 14:23:51

leonardof
Member
Registered: 2008-09-05
Posts: 66

Re: How to set kernel module options at boot? (solved)

By the way, tried adding the omnibook driver to the modules list in /etc/mkinitcpio.conf but I still don't get bluetooth on startup.

Offline

#8 2010-04-29 01:57:39

leonardof
Member
Registered: 2008-09-05
Posts: 66

Re: How to set kernel module options at boot? (solved)

With the latest kernel update the problem was solved. I just set the options in /etc/modprobe.d/ and the kernel autoloads the driver.

Offline

Board footer

Powered by FluxBB