← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 312756] Re: support graphics card hot switch

 

Hey Rodrigues,

Glad to hear this worked for you, instead of using a script download:

http://launchpadlibrarian.net/38458054/nvidia-g210m-acpi-source_0.1.0-1
%7Eppa-karmic_all.deb

This was originally designed for lenovo laptops. Kudos to Sylvain Joyeux
for creating this.

I also attached usr.src.nvidia-g210m-
acpi-0.1.0.nvidia_g210m_acpi.c.patch

(If on ubuntu run patch -p0 < usr.src.nvidia.g210m-acpi-0.1.0.nvidia_g210m_acpi.patch from /, then run the following commands, as root):
 
dkms remove -m nvidia-g210m-acpi -v 0.1.0 --all // Remove the already installed driver
dkms add -m nvidia-g210m-acpi -v 0.1.0 // Re-add it to the tree
dkms build -m nvidia-g210m-acpi -v 0.1.0 // Build the module
dkms install -m nvidia-g210m-acpi -v 0.1.0 // Install the module

Now just do an:

echo nvidia_g210m_acpi >> /etc/modules

This patch changes the acpi call to work with the U43Jc instead of
lenovo. It also calls kill_nvidia() after suspend...

This should load the module at boot, and it should call it after every
suspend/resume.

Also, you can easily get seven hours by running:

pm-suspend true // or putting it in /etc/rc.local

Then install powertop, and it should give you some further hints. I get
about 10.7W on idle with low screen brightness.

If you want to be able to do an aptitude (or apt-get) update && aptitude full-upgrade without your kernel being overwritten, run 
aptitude hold linux-headers-2.6.35-22-generic 
aptitude hold linux-image-2.6.35-22-generic

** Patch added: "usr.src.nvidia-g210m-acpi-0.1.0.nvidia_g210m_acpi.c.patch"
   https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/312756/+attachment/1714794/+files/usr.src.nvidia-g210m-acpi-0.1.0.nvidia_g210m_acpi.c.patch

-- 
support graphics card hot switch
https://bugs.launchpad.net/bugs/312756
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.