Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:averatec_5500_acpi [2009/11/21 00:58]
Joel Dare
linux:averatec_5500_acpi [2020/06/01 22:53]
Line 1: Line 1:
-====== Averatec 5500 ACPI ====== 
  
-My Averatec 5500 laptop does not properly sleep or wakeup under various Linux distributions. ​ Under CentOS 5 I was able to solve the problem by using pm-suspend with several quirks, but that same resolution didn't work under Ubuntu 8.10 Intrepid Ibex.  Below are instructions on how to fix the problems in Ubuntu 9.10, Ubuntu 8.10, and CentOS 5. 
- 
-====== Ubuntu 9.10 Karmic Koala ====== 
- 
-==== RT2500 ==== 
- 
-Under Ubuntu the RT2500 driver causes a kernel panic (a hard system lockup with two flashing lights) on resume from suspend. ​ To fix it, I edit the unload_modules file.  In version 9.10, this file didn't exist for me, so I just created it. 
- 
-  sudo vim /​etc/​pm/​config.d/​unload_modules 
- 
-Add the following line.  In my case, I'm using an RT2500 card.  If you're using some other network card you can use //sudo lshw// to find out which one and remove that instead. 
- 
-  SUSPEND_MODULES="​rt2500pci"​ 
- 
-Make the file executable. 
- 
-  sudo chmod +x /​etc/​pm/​config.d/​unload_modules 
- 
-That's it.  The Averatec 5500 now boots correctly. ​ But, you might notice the wireless isn't working. ​ To temporarily fix that, I've found that disabling and re-enabling the wifi works. ​ So, I do the following. 
- 
-  sudo modprobe -r rt2500pci 
-  sudo modprobe rt2500pci 
- 
-Now the wireless icon will spin and it will connect to my automatic networks. ​ As a temporary work-around,​ I've got those two commands assigned to a shortcut button so I can //turn on// my wifi card with a key press. ​ There'​s probably a better way... 
- 
-====== Ubuntu 8.10 Intrepid Ibex ====== 
- 
-==== RT2500 ==== 
- 
-Under Ubuntu the RT2500 driver causes a kernel panic on resume from suspend. ​ To fix it, I edit the unload_modules file. 
- 
-  sudo vim /​etc/​pm/​config.d/​unload_modules 
- 
-Add the following line. 
- 
-  SUSPEND_MODULES="​rt2500pci"​ 
- 
-Make the file executable. 
- 
-  sudo chmod +x /​etc/​pm/​config.d/​unload_modules 
- 
-That's it.  The Averatec 5500 now boots correctly. 
- 
-====== CentOS 5 ====== 
- 
-==== Working Quirks ==== 
- 
-The following quirks worked in terminal mode. 
- 
-  pm-suspend --quirk-vbe-post --quirk-vbemode-restore 
- 
-But, those options failed to work under X.  After a LOT of trial and error, I found the following combination that works under both terminal mode and X. 
- 
-  pm-suspend --quirk-vbe-post --quirk-vbemode-restore --quirk-s3-bios 
- 
-==== Gnome Power Manager ==== 
- 
-Now that I know which quirks work, I can create an FDI file so that the Gnome Power Manager uses those quirks. ​ I create the file in ///​usr/​share/​hal/​fdi/​information/​10freedesktop///​ and call it //​20-video-quirk-pm-el5-averatec.fdi//​. 
- 
-<​code>​ 
-<?xml version="​1.0"​ encoding="​ISO-8859-1"?>​ <!-- -*- SGML -*- --> 
-<​deviceinfo version="​0.2">​ 
-  <​device>​ 
-    <match key="​system.hardware.vendor"​ string="​To Be Filled By O.E.M.">​ 
-      <!-- Averatec 5500 --> 
-      <match key="​system.hardware.product"​ string="​To Be Filled By O.E.M.">​ 
-        <match key="​system.hardware.version"​ string="​To Be Filled By O.E.M.">​ 
-          <merge key="​power_management.quirk.vbe_post"​ type="​bool">​true</​merge>​ 
-          <merge key="​power_management.quirk.vbemode_restore"​ type="​bool">​true</​merge>​ 
-          <merge key="​power_management.quirk.s3_bios"​ type="​bool">​true</​merge>​ 
-        </​match>​ 
-      </​match>​ 
-    </​match>​ 
-  </​device>​ 
-</​deviceinfo>​ 
-</​code>​ 
- 
- 
-==== RT2500 Problems ==== 
- 
-When running pm-suspend from the command line, after resume my wireless network is broken. ​ To restore the network, I need to unload the RT2500 driver and then reload it. 
- 
-//Note: This seems to happen automatically when it's done through the Gnome Power Manager.// 
- 
- 
-==== Other ==== 
- 
-A special thank-you to Richard Hughes for his [[http://​people.freedesktop.org/​~hughsient/​quirk/​|HAL Quirk Site]]. ​ It was helpful in determining the correct combination of quirks that ultimately worked for me.  He was also kind enough to respond to my email and direct me to his information about adding it to the Gnome Power Manager as described above. 
comments powered by Disqus
linux/averatec_5500_acpi.txt · Last modified: 2020/06/01 22:53 (external edit)