Ubuntu – Dell Inspiron7520 and Ubuntu 12.04 issues

12.04faninspironvga

I have a DELL Inspiron 7520 in the highest configuration:

3rd Generation Intel® Core™ i7-3612QM processor (6M Cache, up to 3.1 GHz)
15.6" Full High Definition (1080p) LED Display
8GB3 Dual Channel DDR3 SDRAM at 1600MHz
1TB 5400RPM SATA HDD + 32GB mSATA SSD w/Intel Smart Response
Blu-ray Disc (BD) Combo (Reads BD and Writes to DVD/CD)
AMD Radeon™ HD 7730M 2GB
6.09 lbs

and I have installed Ubuntu 12.04 few days ago and I'm facing some issues:

1) Sometimes the whole ntb freezes and I have to hold power button for 5 secs to shut it down. I think it is something with VGA and connected external monitor. I have read somewhere that it is already a reported bug, but what I am not sure about that it is doing sporadically. Sometimes it freezes right after I log in, sometime I ran few hours and then it freezes. I am using those proprietary drivers but I wasn't been able to install those with updates.

2) The next issue is the fan is quite noisy even when the ntb is almost Idle. (max 10% CPU usage). Can you recommend me some software which could do this power management to minimize the noise? I have tried CPU frequency scaling indicator, but it seems that it has not any effects.

3) When I want to log out, restart or shutdown using the menu in upper right corner the upper and left trays disappear, but programs are still running and they won't close to complete log out or shutting down the OS. When I use the CLI command, it works fine.

Thanks for any help you can provide.

Best Answer

The solution to #2 seems to be:

$ echo "min_power" | sudo tee /sys/class/scsi_host/host*/link_power_management_policy

But it gets reset at startup or at resume from suspend/hibernate...

So make a script (e.g. /home/user/.powerfix) with the following content:

sleep 5 && echo "min_power" | tee /sys/class/scsi_host/host*/link_power_management_policy

Mark it as executable and then put sh /home/user/.powerfix into /etc/rc.local, before the exit 0 command so it runs at startup. Next, to run it at resume make a file named /etc/pm/sleep.d/90_minpower with the following content:

#!/bin/sh

case "$1" in
    resume|thaw)
        sh /home/user/.powerfix &
        ;;
esac