You are not logged in.

#1 2008-08-17 07:38:44

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

modprobe.conf [Solved]

Hi,

To get lm-sensors working I have to run

 sudo modprobe w83627ehf force_id=0x8860

each time I log in, now would it be better to add to modprobe.conf? or rc.local ?

MrG

Last edited by Mr Green (2008-08-17 18:57:51)


Mr Green

Offline

#2 2008-08-17 09:37:43

Hohoho
Member
Registered: 2007-06-23
Posts: 222

Re: modprobe.conf [Solved]

Create a file in /etc/modprobe.d/ with whatever name, put this inside:

options w83627ehf force_id=0x8860

That should do exactly what you want.

Offline

#3 2008-08-17 18:57:26

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: modprobe.conf [Solved]

Thanks very much :-), I always thought you add stuff to modprboe.conf

MrG


Mr Green

Offline

#4 2008-08-17 19:10:55

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: modprobe.conf [Solved]

Hohoho wrote:

Create a file in /etc/modprobe.d/ with whatever name, put this inside:

options w83627ehf force_id=0x8860

That should do exactly what you want.

That actually does not work for me either. :S


Arch - It's something refreshing

Offline

#5 2008-08-17 21:05:13

Hohoho
Member
Registered: 2007-06-23
Posts: 222

Re: modprobe.conf [Solved]

You can add it to modprobe.conf, but it can get overwritten during upgrades.

whargoul: it should work just like that, see here for reference http://linux.die.net/man/5/modprobe.d

Offline

#6 2008-08-17 22:44:03

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: modprobe.conf [Solved]

Actually, modprobe.conf doesn't get overwritten during upgrade - it's in the backup array for the module-init-tools package, so pacman will leave it alone, and install a *.pacnew alongside.

Offline

#7 2008-08-18 19:33:41

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: modprobe.conf [Solved]

Hohoho wrote:

You can add it to modprobe.conf, but it can get overwritten during upgrades.

whargoul: it should work just like that, see here for reference http://linux.die.net/man/5/modprobe.d

Yeah I have done that.

I have a file named options in /etc/modprobe.d. One of the options is:

options usbcore autosuspend=1

However powertop tells me that it USB autosuspend isn't set.

EDIT:
Forgive my stupidity, but I forgot that my USB mice keeps the the USB port busy. So it is infact working for me.

Last edited by whargoul (2008-08-20 19:58:13)


Arch - It's something refreshing

Offline

#8 2008-08-30 14:13:37

yodo
Member
From: Germany
Registered: 2008-02-02
Posts: 71

Re: modprobe.conf [Solved]

whargoul wrote:
Hohoho wrote:

Create a file in /etc/modprobe.d/ with whatever name, put this inside:

options w83627ehf force_id=0x8860

That should do exactly what you want.

That actually does not work for me either. :S

Also not for me. sad

Offline

#9 2008-08-30 16:52:26

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: modprobe.conf [Solved]

yodo wrote:
whargoul wrote:
Hohoho wrote:

Create a file in /etc/modprobe.d/ with whatever name, put this inside:

options w83627ehf force_id=0x8860

That should do exactly what you want.

That actually does not work for me either. :S

Also not for me. sad

What is happening? Actually I found out that it is working quite alright.
As I said in #7 I use USB suspend to keep power consumption down. However my USB mice keeps my USB ports busy, so don't they won't put to sleep while I am using it. But if I unplug it, the ports will go to sleep.


Arch - It's something refreshing

Offline

#10 2008-08-30 22:06:40

yodo
Member
From: Germany
Registered: 2008-02-02
Posts: 71

Re: modprobe.conf [Solved]

Hm, I did not see your Edit. Sorry.
But anyway, its still not working for me - I did exactly the same as Hohoho suggested...
Sensors work if I load the module manually after logging in.

Ok it works now. Somehow I thought this file would replace the module entry in rc.conf.

Last edited by yodo (2008-08-31 00:17:46)

Offline

Board footer

Powered by FluxBB