Results 1 to 4 of 4

Thread: startup script + add load module

  1. #1
    Join Date
    Nov 2007
    Beans
    450

    startup script + add load module

    Hi,

    I've been trying to figure this out, unfortunately I can't get any further. I have a new computer, at the moment I'm trying to figure out how to get my fans running quiter. I've figured out how to use lm-sensors and I've created the profile I want to use. Whenever I reboot my computer though, everything I did stops working. To get the reading on my sensor I need to use this code

    Code:
    sudo modprobe w83627ehf force_id=0x8860
    How would I get this loaded?

    Next I need to run a file called /etc/fancontrol. Which is the configuration file.

    Code:
    # Configuration file generated by pwmconfig, changes will be lost
    INTERVAL=10
    FCTEMPS= hwmon4/device/pwm1=hwmon0/device/temp1_input
    FCFANS= hwmon4/device/pwm1=hwmon4/device/fan1_input
    MINTEMP= hwmon4/device/pwm1=45
    MAXTEMP= hwmon4/device/pwm1=60
    MINSTART= hwmon4/device/pwm1=90
    MINSTOP= hwmon4/device/pwm1=60
    MINPWM= hwmon4/device/pwm1=60
    MAXPWM=hwmon4/device/pwm1=255
    If anyone has any ideas, or a link to some howtos that would be great.

  2. #2
    Join Date
    Jul 2005
    Beans
    25

    Re: startup script + add load module

    Might just check into running it from the sessions manager system>prefrences>sessions.

    I have stuff starting with my system using that. I suppose you could direct it to start a script, I don't see why not.

    (of course will launch after the desktop starts)
    Last edited by anti_microsoft; May 7th, 2009 at 04:22 AM.

  3. #3
    Join Date
    May 2007
    Beans
    1,091

    Re: startup script + add load module

    to add the module run
    Code:
    gksu gedit /etc/modules
    add a line that says
    Code:
    w83627ehf force_id=0x8860
    then save and close the file.

    looking back at this the last part should be disregarded. if you followd the /etc/init.d stuff, let me know and we will take that back out.

    aside from that, what are you doing with /etc/fancontrol?
    Last edited by adult swim; May 7th, 2009 at 05:03 AM. Reason: probably better to use cp

  4. #4
    Join Date
    Nov 2007
    Beans
    450

    Re: startup script + add load module

    Quote Originally Posted by adult swim View Post
    to add the module run
    Code:
    gksu gedit /etc/modules
    add a line that says
    Code:
    w83627ehf force_id=0x8860
    then save and close the file.

    looking back at this the last part should be disregarded. if you followd the /etc/init.d stuff, let me know and we will take that back out.

    aside from that, what are you doing with /etc/fancontrol?
    So I added the module, rebooted it works so that's awesome. I did try using the rcupdate-rc-d thingy, but since that didn't work I also removed the entries. Now I have a different problem, after rebooting fancontrol doesn't work on my fans. I'm going to start a new thread about this. This one has been solved thank you

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •