ubuntu freeze when I plugged the power cable

Solution 1:

Do you have Jupiter installed on your system?

If you do, I advise you to uninstall it. I faced the same problem in 12.10 but removing Jupiter fixed it.

Additionally, according to their official website, "Jupiter Applet has been retired and is no longer supported software." This might go some way to explain why it's now causing problems.


Note from a moderator: This answer was shown to fix things in the comments.:

@Mukund : Yeah I had Jupiter installed in my system and now I had removed it and my system works perfectly. No more freezing, So thanks a lot.

Please vote for it..

Solution 2:

This is a bug, and should be reported as one. If you find (or someone else reports) an effective workaround, that can be included in the bug report. As per the FAQ, bugs are off-topic on Ask Ubuntu, so the only part of this question that should really be addressed here is the issue of how to report this bug. Detailed work and troubleshooting on bugs in Ubuntu needs to happen on Launchpad; otherwise, valuable work tends to be ignored and fragmented.

Power management functionality is part of the kernel, so the correct way to report this bug is to run ubuntu-bug linux. Detailed technical information will be sent to Launchpad, but you will still have to describe the problem, including anything you've tried and what happened, in as much detail as possible.

One common mistake is to report power management bugs against the acpi package. That's not the right way, since the acpi package doesn't actually perform any power management; it's just an interface for getting information about the power management that is happening in the kernel (Linux).

I recommend that you:

  • Trigger the problem.
  • Record the time that you triggered it.
  • (Re)boot your Ubuntu system.
  • Once booted back up, immediately report the bug.
  • Indicate that you have done all this in your bug report, and specify the time (or approximate time) you triggered the freeze.

That may make it easier for triagers, developers, and other interested persons to identify entries in automatically attached log files that pertain to the problem.

It's a very good idea to read this thoroughly before reporting this or any other bug in Ubuntu. This question is also often quite helpful.

Finally, please note that if you are reporting this bug against the downstream kernel (linux in Ubuntu, reporting on Launchpad, as described here), you must be running (and you should have last produced the bug using) this version of the kernel, and not a custom-built or upstream kernel.org version.

If you report this bug or find it already reported, feel free to subscribe me to the bug if you wish.

Solution 3:

I did this:

  1. Edit /etc/default/grub via a terminal.
  2. In the grub file, change GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to be GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor" Save the file.
  3. Then do sudo update-grub
  4. Close terminal
  5. Then go to Ubuntu Software Center
  6. search for 'pm-utils'
  7. click on 'more info'
  8. on the add-ons: uncheck 'Utility to control ATI Radeon backlight functions on laptops'
  9. click on 'apply changes'
  10. Close and RESTART!

Now it does not freeze when I plug/un-plug the AC power and it fixed the brightness buttons on my keyboard too. :)

  • Running Ubuntu 12.04 x86
  • GNOME
  • Acer Aspire Laptop
  • Pentium B940 2.0GHz DC
  • 4GB DDR3 RAM
  • Intel HD Graphics (shows as Intel Sandybridge Mobile x86/mmx/SSE2

Hope this helps.

Solution 4:

I experienced the same problem on my laptop (Asus A53S; Ubuntu 12.10; Kernel 3.7.0).

I did two things:

  1. As Alvar indicated, I unchecked the 'Utility to control ATI Radeon backlight functions on laptops' functionality in pm-utils
  2. I updated my kernel to kernel 3.7.3, as this should fix the bug according to https://bugzilla.kernel.org/show_bug.cgi?id=51661. See Upgrade to Linux Kernel 3.7.3 for a manual on how to upgrade your kernel

Unfortunately I'm not sure which of the two methods did fix the issue, since I changed them both before going into reboot. However, unchecking a unnecessary feature in pm-utils is always a good idea, and updating to a new (stable) kernel too.