• About
  • Linux Feeds & more
  • Archives
  • Categories
  • Archive for the ‘Driver Issues’ Category

    Gateway MT6451 Power Management – Disc Spin Up/Down Problem


    2008 - 05.29

    Well, since my IBM Thinkpad decided to explode and die on me a few weeks ago, I obtained my fiance’s almost new but broken Gateway.  The main problem with this computer was that the computer could not charge or operate on AC power.  I fixed the issue by simply taking the computer completely apart and re-soldering the power port on the motherboard.  After doing so, the computer now takes a charge and works off of AC.  This was not the issue of the this topic though. (However, if you would like any help or guidance on performing this yourelf, please feel free to contact me.)  The issue after repairing the computer was a slight clicking noise 2-3 times per minute coming from the inside of the computer.  The only issue I could come up with would be the power management for laptops being set too aggressively and spinning the hard discs up and down too often.  This can cause an extremely short life for your hard drive and in my case, higher than normal temperatures in your laptop.  This fix is for Hardy Heron with hda.  Substitute sda if you had a SATA drive.  Here’s the fix:

    Create a configuration file to manage hdd power management.  In Terminal type:

    sudo gedit /etc/pm/config.d/disk

    Within this file, create the following:

    # Configure the hdd power management settings to ensure
    # long disk life and acceptable power management.
    #
    # Space delimited list of disk devices this affects.
    #
    DEVICES_DISK_PM_NAMES=”/dev/hda”
    #
    #
    # Power management modes
    #
    # Powersave mode off
    # Disable APM and spin-down – Not completely disabled
    #
    DEVICES_DISK_PM_POWERSAVE_OFF=”hdparm -q -B 254 -q -S 242″
    #
    # Powersave mode on
    # Enable APM to conservative 200 and set spin-down for 21 minutes
    #
    DEVICES_DISK_PM_POWERSAVE_ON=”hdparm -q -B 200 -q -S 252″

    Now create the Power Management script.  In terminal type:

    sudo gedit /etc/pm/power.d/disk

    Within this file, create the following:

    #!/bin/bash
    . /usr/lib/pm-utils/functions
    . /etc/pm/config.d/disk

    if test -z “${DEVICES_DISK_PM_NAMES}”; then
            exit 1
    fi

    case “$1″ in
    true)
                    echo “**enabled pm for harddisk”
                    for DISK_NAME in `echo ${DEVICES_DISK_PM_NAMES}`; do
                            ${DEVICES_DISK_PM_POWERSAVE_ON} ${DISK_NAME}
                    done ;;
            false)
                    echo “**disabled pm for harddisk”
                    for DISK_NAME in `echo ${DEVICES_DISK_PM_NAMES}`; do
                            ${DEVICES_DISK_PM_POWERSAVE_OFF} ${DISK_NAME}
                    done ;;
    esac

    And now make this script executable.  In terminal, type:

    Sudo chmod +x /etc/pm/power.d/disc

    Voila!  That is it.

    Compiz-Check


    2008 - 05.06

    My main laptop is an IBM ThinkPad R40 with a Radeon 7500 M7 Video Card.  Because of this, I have never been able to get Compiz Fusion working correctly on it. Compiz Fusion I have searched forum after forum to no avail.  I finally got it working today with the help of an awesome script named Compiz-Check.  Basically, this script tests Compiz to check if it is able to run on your system and if not, it will give you the reason(s) why.  If you are having problems with Compiz, check out Forlong’s Blog and follow his instructions.  After months of messing around with different xorg setups and drivers, Compiz-Check alerted me to the fact that my screen resolution was incompatible with Compiz.  After a few tweaks and adjustments… voila!  It worked!  Major kudos Forlong!

    Dell Inspirion 1525 WiFi Driver (Ubuntu 8.04)


    2008 - 05.05

    My beautiful fiancée recently purchased a new Dell Inspirion 1525.  This specific version of the 1525 comes preloaded with Windows Vista.  Dell sells another version named the Inspirion 1525n that comes preloaded with Ubuntu 7.10.  My future Father-in-law and I assumed since Dell sold the 1525 as both a Vista and Ubuntu version, a switch to the Hardy Heron would be a breeze.  This assumption, for the most part, was true.  The main issue we had was with the Broadcom WLAN driver.  Between the two of us, we probably tried around 40 drivers and many configurations to no avail.  Finally after about a week of messing around with it, I found the solution:

    Open up Terminal and follow these commands:

    Blacklist the bcm43xx driver:

    lisa@ubuntu:~$ echo ‘blacklist bcm43xx’ | sudo tee -a /etc/modprobe.d/blacklist

    Install ndiswrapper and dependencies:

    lisa@ubuntu:~$ sudo apt-get install ndiswrapper-common ndisgtk

    Follow this link: http://ftp.us.dell.com/network/R174291.exe and save the .exe file.

    Unzip the file:

    lisa@ubuntu:~$ cd desktop
    lisa@ubuntu:~$ unzip R174291.exe
    lisa@ubuntu:~$ cabextract R174291.exe

    Open the folder that was just created and open folder DRIVER_US.  Locate bcmwl5.inf

    Use ndiswrapper to install bcmwl5.inf

    lisa@ubuntu:~$ sudo ndiswrapper -i bcmwl5.inf

    On my fiancées’ computer, the blue wifi light instantly turned on and the WLAN worked instantly.  You may or may not have to reboot to get it working.