Suspend in Lucid (10.04) does not work out of the box, either, on my
Dell Inspiron 5150. Same hardware as in #12.

I got suspend working through the following steps.

First, the graphics card (01:00.0 VGA compatible controller: nVidia
Corporation NV34M [GeForce FX Go5200 64M] (rev a1)):

1. Add the following line to /etc/X11/xorg.conf, "Device" section, using
the nvidia-173 driver:

  Option  "NvAGP"         "1"

2. Add the following lines to the file /etc/modprobe.d/blacklist.conf:

  blacklist intel_agp
  blacklist agpgart

3. Remove compiz packages or set System > Preferences > Appearance >
Visual Effects > None (bug #225858)

My WLAN card is a Dell TrueMobile 5150 mini-pci card (orinoco_cs
driver). To get the card working:

4. sudo dpkg-divert --rename /lib/firmware/agere_sta_fw.bin

(see
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/498336/comments/86
)

5. Create /etc/pm/config.d/suspend with the following content (not sure if all 
are needed):
  SUSPEND_MODULES="orinoco orinoco_cs yenta_socket"

6. Create /etc/pm/sleep.d/10_kenny_inspiron_5150 with the following
content

  #!/bin/sh
  
  case "$1" in
        suspend)
                [ -x /sbin/pccardctl ] && /sbin/pccardctl eject
                ;;
        resume)
                [ -x /usr/bin/setpci ] && /usr/bin/setpci -s 00:1f.0 bb.b=0a
                ;;
  esac

and run:
chmod +x /etc/pm/sleep.d/10_kenny_inspiron_5150

7. The setpci stuff in the previous item was to make the power button,
lid switch and Fn-Esc (suspend) work (see http://www.tedfelix.com/linux
/Linux-Inspiron-5150.html ). To make this also work before the first
suspend, add the line

  [ -x /usr/bin/setpci ] && /usr/bin/setpci -s 00:1f.0 bb.b=0a

to /etc/rc.local before the "exit 0" line.

-- 
hibernate/suspend on Dell Inspiron 5150
https://bugs.launchpad.net/bugs/6289
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

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

Reply via email to