Dell Inspiron 5150 - Suspend to RAM not working... still (part one)
Dave Woyciesjes
woyciesjes at sbcglobal.net
Wed Feb 17 18:44:14 UTC 2010
Dave Woyciesjes wrote:
> It now suspends (choosing suspend in the menu) & resumes correctly. I'm
> noting inline what I added to each file:
>
> sktsee wrote:
>> On Fri, 12 Feb 2010 14:30:24 -0500, Dave Woyciesjes wrote:
>>
>>> Dave Woyciesjes wrote:
>>>> I've had this laptop, upgraded from 8.10 to 9.04, and now to 9.10.
>>>> Suspend hasn't worked, oh, since 8.04. Finally getting 'round to fixing
>>>> it. Right now, it goes into suspend (from the menu, keyboard combo
>>>> doesn't work), but when I hit the power button to resume, I get:
>>>>
>>>> [ 109.218040] pm-op() pci_pm_resume+0x0/0x90 returns -16 [
>>>> 109.218044] PM: Device 0000:00:00.0 failed to resume: error -16
>>>>
>> [snip]
>>
>
>>> /etc/X11/xorg.conf
>>> Add under the “Device” section:
>>> Option “NvAGP” “1"
>> this is correct
> Added as above...
>
>>> /etc/modprobe.d/blacklist
>> I believe this should be blacklist.conf in keeping with new naming
>> conventions.
>>
>>> add
>>> blacklist intel_agp
>>> blacklist agpgart
>> You have the intel_agp and agpgart drivers blacklisted, but according to
>> the dmesg output in your other post they're still being loaded:
>>
>> ....
>> Actually, you'll need to load agpgart in order for your nvidia card to
>> use agp....
> Blacklisted only intel_agp as suggested. As as predicted below,
> intel_agp still seems to be loading. Next, I'll try his trick (below) to
> kill it.
>
> > It's the intel_agp driver
>> that want to prevent from loading. Unfortunately, simply blacklisting the
>> driver isn't sufficient in karmic. I'm not exactly sure why it keeps
>> loading even though it's blacklisted, but you can work around this by
>> moving intel_agp.ko out of /lib/modules/2.6.31-xx-generic/kernel/drivers/
>> char/agp to, say, /root and then run "sudo depmod -a" followed by "sudo
>> update-initramfs -u".
>>
>> as root:
>> # mv /lib/modules/'uname -r'/kernel/drivers/char/agp/intel-agp.ko /root
>> # depmod -a
>> # update-initramfs -u
>>
>> When you reboot, initrd won't load intel_agp because it isn't in the
>> initrd image anymore, and that leaves the nvidia driver to load its own
>> agp support. You can verify this by typing the previous lsmod comand.
>> Intel_agp should not be present. In addition, type "cat /proc/driver/
>> nvidia/agp/status" and you should get output like this:
>> Status: Enabled
>> Driver: NVIDIA
>> AGP Rate: 4x
>> Fast Writes: Disabled
>> SBA: Disabled
>
> Then, on to find out why it doesn't suspend when closing the lid; and
> to investigate more of what I found about the Fn hotkey not working to
> suspend it either....
>
Crap, forgot to add what I changed in /etc/default/acpi-support:
/etc/default/acpi-support
change
ACPI_SLEEP=true
ACPI_HIBERNATE=true
SAVE_VBE_STATE=false
POST_VIDEO=false
SAVE_VIDEO_PCI_STATE=true (uncomment)
--
--- Dave Woyciesjes
--- ICQ# 905818
--- AIM - woyciesjes
--- CompTIA A+ Certified IT Tech - http://certification.comptia.org/
--- HDI Certified Support Center Analyst - http://www.ThinkHDI.com/
Registered Linux user number 464583
"From there to here,
From here to there,
Funny things
are everywhere."
--- Dr. Seuss
More information about the ubuntu-users
mailing list