Ok well like you suggested, I used KernelCheck to compile my latest
kernel, so the process has gotten significantly easier (and Update
Manager no longer nags me all the time to update ^_^).

Proposed Fix Directions:

1. Make sure your system is fully up to date, either by running Update
Manager, or "sudo apt-get -y update && sudo apt-get -y upgrade && sudo
apt-get -y dist-upgrade" Be sure to reboot your system when finished.

2. Install the KernelCheck debian from
http://kcheck.sourceforge.net/download.html if you havent already (make
sure your running the latest version if you have).

3. Use typical installation to build your kernel. You could use custom
if you like, but I find that none of the options (including nvidia
options) were required.

4. When the graphical version of the kernel config displays (towards the
end, takes a while because it has to download a bunch of packages to
prep your system for building the kernel, as well as download and
extract the linux sources for the new kernel), search for or find "AC
Adapter" (the related kernel config key you are looking for is ACPI_AC,
but I didnt check if that was searchable). Make sure to select it such
that the checkbox next to it is a DOT not a CHECK (this based on the
help instructions tells the system to compile ACPI_AC as a module, which
is the whole reason to recompile the kernel). Once you are done hit SAVE
(very important otherwise your changes are lost), and exit the graphical
config.

5. From here the kernel will compile and be packaged as a deb for you,
as well as installed automatically. Like it says, it really does take
2-4 hours, so come back in a bit.

6. Reboot your system and thats it. From now on it should detect the ac
adapter correctly, and it shouldnt throw out any ACPI errors in the
startup log. You can check that it worked by looking at "dmesg | grep
ACPI | less" and looking for "ACPI: AC Adapter [AC] (on-line)" (towards
the bottom)

--

Also, since you use an nvidia chipset, I would also suggest the
following steps. By doing the above plus the set below, my system now
runs at full clock speed AND adjusts when I'm running on battery
(basically powermizer works as its supposed to):

1. Download the nvidia 190.32 official driver package from their site:

[32-bit] http://www.nvidia.com/object/linux_display_ia32_190.32.html
[64-bit] http://www.nvidia.com/object/linux_display_amd64_190.32.html

2. Remove all ubuntu/other debian nvidia packages with: "sudo apt-get -y
purge nvidia*"

Now your going to want to memorize or write down the following steps,
because your going to have to close X down in order to continue:

3. Switch to another tty such as tty2 (virtual terminal 2) via
Ctrl+alt+F2 (or F? if that terminal is not free, ex F4, F5). Login with
your normal username and password.

4. Run the following to shutdown X: "sudo /etc/init.d/gdm stop"

5. Now this seems counter intuitive, but trust me (my system broke for a
while until I figured this out). Run the following to UNINSTALL any
lingering nvidia drivers you might have: "sudo nvidia-uninstall"

6. Change to your desktop directory or wherever you put the downloaded
nvidia drivers via: "cd ~/Desktop" or "cd <download folder path>"

7. Make the driver package executable with: "chmod +x *.run"

8. Run the driver via: "sudo ./<Name of driver>.run".

9. Reboot your system.

And with that everything shoud just work. Im running at 550/800 on my
nvidia card right now and I used this process so I believe this fixes
our collective problem. Sorry if my tutorial is too long winded or
simplistic, but I wanted it to be useful for other people as well.

Hope everything goes well. Post any problems you have and I can see what
I can do.

-- 
ac adapter is not detected
https://bugs.launchpad.net/bugs/412499
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to