LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-27-2013, 07:41 PM   #16
steak1987
Member
 
Registered: Jan 2012
Posts: 130

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by xl View Post
The lshw from your first post says scsi0 is the logical name of the IT-GO adapter. You just have to find out on what interface it is connected to (PCI?). Best bet would be to compare the output of lsmod of your live USB system and your normal system.
Is it worth comparing the lsmod output of both if the system refuses to suspend either way ? I mentioned a few posts up that even on a live UUSB system, if the Internal HDD is plugged in, it refuses to suspend. The only way it could suspend is if I were to unplug it and then run the system off the USB drive.


EDIT:

Here is the lsmod output with the live system, but the HDD still plugged in.

Code:
mint@mint ~ $ sudo lsmod
Module                  Size  Used by
dm_crypt               22321  0 
b43                   351918  0 
cdc_ether              13245  0 
usbnet                 26567  1 cdc_ether
cdc_acm                22338  0 
cdc_wdm                17663  0 
coretemp               13131  0 
bcma                   39645  1 b43
mac80211              526519  1 b43
snd_hda_codec_idt      63896  1 
snd_hda_intel          38307  3 
joydev                 17097  0 
snd_hda_codec         117580  2 snd_hda_codec_idt,snd_hda_intel
kvm                   376505  0 
snd_hwdep              13272  1 snd_hda_codec
snd_pcm                80890  2 snd_hda_codec,snd_hda_intel
pcmcia                 39544  0 
snd_page_alloc         14230  2 snd_pcm,snd_hda_intel
snd_seq_midi           13132  0 
snd_seq_midi_event     14475  1 snd_seq_midi
snd_rawmidi            25114  1 snd_seq_midi
yenta_socket           27095  0 
gpio_ich               13236  0 
dell_wmi               12601  0 
dm_multipath           22402  0 
sparse_keymap          13658  1 dell_wmi
scsi_dh                14427  1 dm_multipath
pcmcia_rsrc            18191  1 yenta_socket
pcmcia_core            21505  3 pcmcia,pcmcia_rsrc,yenta_socket
dell_laptop            17161  0 
snd_seq                51280  2 snd_seq_midi_event,snd_seq_midi
cfg80211              436177  2 b43,mac80211
lpc_ich                16925  0 
snd_seq_device         14137  3 snd_seq,snd_rawmidi,snd_seq_midi
dcdbas                 14021  1 dell_laptop
psmouse                81038  0 
snd_timer              24411  2 snd_pcm,snd_seq
microcode              18286  0 
serio_raw              13031  0 
parport_pc             27504  0 
snd                    56485  15 snd_hwdep,snd_timer,snd_hda_codec_idt,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device
ssb_hcd                12749  0 
mac_hid                13037  0 
ppdev                  12817  0 
lp                     13299  0 
soundcore              12600  1 snd
bnep                   17669  2 
parport                40753  3 lp,ppdev,parport_pc
rfcomm                 37420  4 
bluetooth             202069  10 bnep,rfcomm
binfmt_misc            17260  1 
squashfs               35834  1 
overlayfs              27279  1 
nls_iso8859_1          12617  1 
dm_raid45              75357  0 
xor                    26062  1 dm_raid45
dm_mirror              21621  0 
dm_region_hash         16012  1 dm_mirror
dm_log                 18137  3 dm_region_hash,dm_mirror,dm_raid45
usb_storage            47684  1 
mmc_block              26557  0 
i915                  535544  2 
sdhci_pci              18158  0 
sdhci                  31824  1 sdhci_pci
firewire_ohci          35292  0 
i2c_algo_bit           13197  1 i915
firewire_core          61718  1 firewire_ohci
drm_kms_helper         47545  1 i915
tg3                   143666  0 
ssb                    50834  2 b43,ssb_hcd
crc_itu_t              12627  1 firewire_core
ptp                    18189  1 tg3
wmi                    18590  1 dell_wmi
drm                   228489  3 i915,drm_kms_helper
pps_core               13736  1 ptp
video                  18894  1 i915

Last edited by steak1987; 07-27-2013 at 08:31 PM. Reason: added lsmod output.
 
Old 07-27-2013, 11:09 PM   #17
chapchap70
LQ Newbie
 
Registered: May 2013
Distribution: FatDog64
Posts: 10

Rep: Reputation: Disabled
Did you try a version with a newer kernel

Hi steak1987,

I had a similar problem and don't have the same expertise you seem to have in trying to resolve it but my problem went away with a newer version. I am using Fatdog64 and it suspends and opens back up with a key press. Might be worth a try to boot into RAM one time. I did not need a savefile for the suspend to work.



My post in a puppy thread

http://distro.ibiblio.org/fatdog/iso/Fatdog64-621.iso
http://distro.ibiblio.org/fatdog/iso...iso.md5sum.txt
 
Old 07-28-2013, 12:48 AM   #18
steak1987
Member
 
Registered: Jan 2012
Posts: 130

Original Poster
Rep: Reputation: Disabled
Hey, cheers, ill take a look at fatdog and update the thread then.
 
Old 07-28-2013, 05:21 AM   #19
steak1987
Member
 
Registered: Jan 2012
Posts: 130

Original Poster
Rep: Reputation: Disabled
UPDATE: Running fatdog, the laptop wouldnt suspend when I closed the lid. The command "pm-suspend" didnt work either.
 
Old 07-28-2013, 12:11 PM   #20
chapchap70
LQ Newbie
 
Registered: May 2013
Distribution: FatDog64
Posts: 10

Rep: Reputation: Disabled
If the laptop you are using just came out, I have a feeling a newer kernel will "fix" the issue with some hardware in your machine. The Fatdog I referenced used Kernel 3.87; maybe there is distro with a newer one. Other than that, I have no idea.
 
Old 07-29-2013, 10:59 PM   #21
steak1987
Member
 
Registered: Jan 2012
Posts: 130

Original Poster
Rep: Reputation: Disabled
Its a pretty old machine, Its a dell D430 and it was released around 2007 ....
 
Old 07-30-2013, 05:48 AM   #22
xl
Member
 
Registered: Feb 2013
Location: Germany, EU
Distribution: Debian (stable release)
Posts: 67

Rep: Reputation: 9
You'll need the lsmod of the live system without and then with your HDD plugged in.
You unfortunately don't write the circumstances of post #12 but the diff looks like this:
Code:
$ diff -u0 lsmod-post12.sorted.log lsmod-post16.sorted.log
--- lsmod-post12.sorted.log
+++ lsmod-post16.sorted.log
@@ -1 +0,0 @@
-arc4                   12543  2 
@@ -7 +5,0 @@
-btrfs                 774622  0 
@@ -16,0 +15 @@
+dm_crypt               22321  0 
@@ -31 +29,0 @@
-libcrc32c              12543  1 btrfs
@@ -37,0 +36,2 @@
+nls_iso8859_1          12617  1 
+overlayfs              27279  1 
@@ -66,0 +67 @@
+squashfs               35834  1 
@@ -71 +72 @@
-usb_storage            47684  0 
+usb_storage            47684  1 
@@ -76 +76,0 @@
-zlib_deflate           26445  1 btrfs
 
1 members found this post helpful.
Old 07-31-2013, 02:27 AM   #23
steak1987
Member
 
Registered: Jan 2012
Posts: 130

Original Poster
Rep: Reputation: Disabled
I just copied your command (with my filenames) comparing the lsmod output using live systems with and without the HDD Plugged in.


Code:
 $ diff -u0 noHDD.log withHDD.log 
--- noHDD.log	2013-07-31 07:14:04.000000000 +1000
+++ withHDD.log	2013-07-31 07:09:42.000000000 +1000
@@ -5 +5 @@
-joydev                 17161  0 
+b43                   347284  0 
@@ -8 +7,0 @@
-b43                   347284  0 
@@ -10 +8,0 @@
-snd_pcm                80163  2 snd_hda_intel,snd_hda_codec
@@ -12,0 +11,2 @@
+snd_pcm                80163  2 snd_hda_intel,snd_hda_codec
+joydev                 17161  0 
@@ -13,0 +14 @@
+kvm                   357806  0 
@@ -17 +17,0 @@
-gpio_ich               13159  0 
@@ -19 +19 @@
-kvm                   357806  0 
+gpio_ich               13159  0 
@@ -21,7 +20,0 @@
-cdc_ether              13278  0 
-cfg80211              175375  2 b43,mac80211
-lpc_ich                16925  0 
-snd                    61991  17 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
-usbnet                 25169  1 cdc_ether
-psmouse                84843  0 
-ssb_hcd                12749  0 
@@ -29,2 +22,2 @@
-cdc_wdm                17663  0 
-bcma                   34483  1 b43
+snd                    61991  17 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
+lpc_ich                16925  0 
@@ -32 +24,0 @@
-cdc_acm                22367  0 
@@ -34,2 +25,0 @@
-bnep                   17707  2 
-serio_raw              13031  0 
@@ -38 +28 @@
-parport_pc             31968  0 
+cfg80211              175375  2 b43,mac80211
@@ -39,0 +30,4 @@
+parport_pc             31968  0 
+cdc_ether              13278  0 
+bnep                   17707  2 
+psmouse                84843  0 
@@ -41,3 +35,6 @@
-dell_wmi               12601  0 
-dell_laptop            17161  0 
-mac_hid                13037  0 
+serio_raw              13031  0 
+cdc_wdm                17663  0 
+usbnet                 25169  1 cdc_ether
+bcma                   34483  1 b43
+cdc_acm                22367  0 
+ssb_hcd                12749  0 
@@ -45,2 +42 @@
-sparse_keymap          13658  1 dell_wmi
-microcode              18209  0 
+dell_laptop            17161  0 
@@ -47,0 +44,4 @@
+dell_wmi               12601  0 
+microcode              18209  0 
+sparse_keymap          13658  1 dell_wmi
+mac_hid                13037  0 
@@ -49 +48,0 @@
-dm_multipath           22365  0 
@@ -51 +49,0 @@
-scsi_dh                14178  1 dm_multipath
@@ -52,0 +51,2 @@
+dm_multipath           22365  0 
+scsi_dh                14178  1 dm_multipath
@@ -62,3 +61,0 @@
-usb_storage            39350  1 
-uas                    17556  0 
-firewire_ohci          35521  0 
@@ -66,0 +64,2 @@
+usb_storage            39350  1 
+firewire_ohci          35521  0 
@@ -70,2 +68,0 @@
-ssb                    50087  2 b43,ssb_hcd
-tg3                   130448  0 
@@ -72,0 +70 @@
+wmi                    18590  1 dell_wmi
@@ -75 +73,2 @@
-wmi                    18590  1 dell_wmi
+ssb                    50087  2 b43,ssb_hcd
+tg3                   130448  0 
@@ -76,0 +76,2 @@
+mint@mint ~ $ 
+

EDIT: here is the full lsmod for both (with and without HDD).

http://pastebin.com/pKWRdZnK

Last edited by steak1987; 07-31-2013 at 02:30 AM. Reason: adding full lsmod link
 
Old 07-31-2013, 05:33 AM   #24
xl
Member
 
Registered: Feb 2013
Location: Germany, EU
Distribution: Debian (stable release)
Posts: 67

Rep: Reputation: 9
You can sort the output with:
Code:
lsmod | sort
or later with:
Code:
sort lsmod.log > lsmod.sorted.log
Result of the diff:
Code:
$ diff -u0 lsmod-withhdd.sorted.log lsmod-withouthdd.sorted.log 
--- lsmod-withhdd.sorted.log
+++ lsmod-withouthdd.sorted.log
@@ -67,0 +68 @@
+uas                    17556  0
UAS: USB Attached SCSI ... could be the culprit. Put that in a hook.
I've also found other problems with D430 and suspend with hints to s2ram and running the suspend scripts with a leading "sh -x".
 
1 members found this post helpful.
Old 07-31-2013, 06:39 AM   #25
steak1987
Member
 
Registered: Jan 2012
Posts: 130

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by xl View Post
You can sort the output with:
Code:
lsmod | sort
or later with:
Code:
sort lsmod.log > lsmod.sorted.log
Result of the diff:
Code:
$ diff -u0 lsmod-withhdd.sorted.log lsmod-withouthdd.sorted.log 
--- lsmod-withhdd.sorted.log
+++ lsmod-withouthdd.sorted.log
@@ -67,0 +68 @@
+uas                    17556  0
UAS: USB Attached SCSI ... could be the culprit. Put that in a hook.
I've also found other problems with D430 and suspend with hints to s2ram and running the suspend scripts with a leading "sh -x".




Sorry, Im still a beginner and fairly inexperienced with linux, what did you mean by these ? What am I to do ?
 
Old 08-01-2013, 04:53 AM   #26
xl
Member
 
Registered: Feb 2013
Location: Germany, EU
Distribution: Debian (stable release)
Posts: 67

Rep: Reputation: 9
Ah, sorry. I meant "put it in SUSPEND_MODULES" (https://wiki.archlinux.org/index.php/Pm-utils). Also read the whole article and linked articles.

The uswsusp package brings the programs s2ram and s2disk. They deliver a method for pm-suspend/pm-hibernate. Or try them independently.

You can debug a pm script like this (Launchpad bug #363140):
Code:
sh -x /usr/sbin/pm-suspend
A "return 0" after a command means success. If it returns a digit bigger than/equal 1 than an error occured.
 
Old 08-01-2013, 10:04 AM   #27
steak1987
Member
 
Registered: Jan 2012
Posts: 130

Original Poster
Rep: Reputation: Disabled
Question

Code:
XXXX@XXXX-Latitude-D430 ~ $ sudo sh -x /usr/sbin/pm-suspend
+ export STASHNAME=pm-suspend
+ echo suspend
+ tr - _
+ export METHOD=suspend
+ . /usr/lib/pm-utils/pm-functions
+ [  = true ]
+ set -a
+ PM_UTILS_LIBDIR=/usr/lib/pm-utils
+ PM_UTILS_ETCDIR=/etc/pm
+ PM_UTILS_RUNDIR=/var/run/pm-utils
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/lib/pm-utils/bin
+ PM_LOGFILE=/var/log/pm-suspend.log
+ TEMPORARY_CPUFREQ_GOVERNOR=performance
+ LOCKDIR=/var/run/pm-utils/locks
+ STORAGEDIR=/var/run/pm-utils/pm-suspend/storage
+ NA=254
+ NX=253
+ DX=252
+ PM_FUNCTIONS=/usr/lib/pm-utils/functions
+ PM_QUIRKDB=/usr/lib/pm-utils/video-quirks
+ PM_LKW_QUIRKS=/var/cache/pm-utils/last_known_working.quirkdb
+ LC_COLLATE=C
+ HIBERNATE_MODE=
+ HIBERNATE_RESUME_POST_VIDEO=no
+ SLEEP_MODULE=auto
+ SUSPEND_MODULES=
+ HOOK_BLACKLIST=
+ ADD_PARAMETERS=
+ DROP_PARAMETERS=
+ PARAMETERS=/var/run/pm-utils/pm-suspend/storage/parameters
+ INHIBIT=/var/run/pm-utils/pm-suspend/storage/inhibit
+ PM_CMDLINE=
+ BEFORE_HOOKS=
+ MODULE_HELP=
+ SUSPEND_MODULE=
+ HIBERNATE_MODULE=
+ SUSPEND_HYBRID_MODULE=
+ PM_HIBERNATE_DELAY=900
+ PM_RTC=/sys/class/rtc/rtc0
+ [ -f /usr/lib/pm-utils/defaults ]
+ . /usr/lib/pm-utils/defaults
+ [ -f /usr/lib/pm-utils/pm-suspend.defaults ]
+ set +a
+ [ -f /etc/pm/config.d/modules ]
+ [  ]
+ [  ]
+ [  ]
+ [  ]
+ set -a
+ . /etc/pm/config.d/modules
+ SUSPEND_MODULES=uas
+ SUSPEND_MODULES= uas
+ HOOK_BLACKLIST= 
+ ADD_PARAMETERS= 
+ DROP_PARAMETERS= 
+ set +a
+ [ -f /etc/pm/pm-suspend.config.d/*[!~] ]
+ continue
+ . /usr/lib/pm-utils/functions
+ is_set 
+ return 2
+ profiling
+ [  = true ]
+ profiling
+ [  = true ]
+ profiling
+ [  = true ]
+ [ auto = auto ]
+ SLEEP_MODULE=tuxonice uswsusp
+ mod=/usr/lib/pm-utils/module.d/tuxonice
+ [ -f /usr/lib/pm-utils/module.d/tuxonice ]
+ . /usr/lib/pm-utils/module.d/tuxonice
+ export TUXONICE_LOC
+ [ -d /sys/power/tuxonice ]
+ [ -d /sys/power/suspend2 ]
+ [ -n  ]
+ [ -z  -a -n  ]
+ [ -z  -a -n  ]
+ mod=/usr/lib/pm-utils/module.d/uswsusp
+ [ -f /usr/lib/pm-utils/module.d/uswsusp ]
+ . /usr/lib/pm-utils/module.d/uswsusp
+ [ -z  ]
+ command_exists s2ram
+ type s2ram
+ return 0
+ grep -q mem /sys/power/state
+ SUSPEND_MODULE=uswsusp
+ [ suspend = suspend ]
+ add_before_hooks uswsusp_hooks
+ [ -z  ]
+ BEFORE_HOOKS=uswsusp_hooks
+ add_module_help uswsusp_help
+ [ -z  ]
+ MODULE_HELP=uswsusp_help
+ [ -z  ]
+ [ -f /sys/power/disk ]
+ grep -q disk /sys/power/state
+ [ -c /dev/snapshot ]
+ command_exists s2disk
+ type s2disk
+ return 0
+ HIBERNATE_MODULE=uswsusp
+ [ -z  ]
+ grep -q mem /sys/power/state
+ command_exists s2both
+ type s2both
+ return 0
+ check_hibernate
+ [ -n uswsusp ]
+ SUSPEND_HYBRID_MODULE=uswsusp
+ [ suspend = suspend_hybrid ]
+ [ -z uswsusp ]
+ [ -z uswsusp ]
+ [ -z uswsusp -a -w /sys/class/rtc/rtc0/wakealarm ]
+ r=0
+ id -u
+ [ 0 != 0 ]
+ try_lock pm-suspend.lock
+ local lock=/var/run/pm-utils/locks/pm-suspend.lock
+ mkdir -p /var/run/pm-utils/locks
+ touch /var/run/pm-utils/locks/pm-suspend.lock
+ exec
+ flock -x -n 3
+ return 0
+ trap remove_suspend_lock 0
+ rm -rf /var/run/pm-utils/pm-suspend/storage
+ mkdir -p /var/run/pm-utils/pm-suspend/storage
+ [ -f /var/run/pm-utils/pm-suspend/storage/parameters ]
+ echo 
+ add_parameters
+ remove_parameters
+ local p
+ [  = all ]
+ echo 
+ grep -vxFf /var/run/pm-utils/pm-suspend/storage/parameters.rm /var/run/pm-utils/pm-suspend/storage/parameters
+ cp -f /var/run/pm-utils/pm-suspend/storage/parameters.new /var/run/pm-utils/pm-suspend/storage/parameters
+ update_parameters
+ [ -f /var/run/pm-utils/pm-suspend/storage/parameters.new ]
+ get_parameters
+ cat /var/run/pm-utils/pm-suspend/storage/parameters
+ export PM_CMDLINE=
+ rm -f /var/run/pm-utils/pm-suspend/storage/parameters.new
+ [ 0 -gt 0 ]
+ command_exists check_suspend
+ type check_suspend
+ return 0
+ command_exists do_suspend
+ type do_suspend
+ return 0
+ check_suspend
+ [ -n uswsusp ]
+ ACTION=suspend
+ REVERSE=resume
+ init_logfile /var/log/pm-suspend.log
+ [ -z /var/log/pm-suspend.log ]
+ [ -h /var/log/pm-suspend.log ]
+ [ -f /var/log/pm-suspend.log -a ! -O /var/log/pm-suspend.log ]
+ export LOGGING=true
+ exec
XXXX@XXXX-Latitude-D430 ~ $ sudo dbus-send --system --print-reply --dest="org.freedesktop.UPower" \
> /org/freedesktop/UPower org.freedesktop.UPower.Suspend
method return sender=:1.23 -> dest=:1.57 reply_serial=2
XXXX@XXXX-Latitude-D430 ~ $ sudo s2ram 
KMS graphics driver is in use, skipping quirks.
s2ram_do: Success

Both commands resulted in the screen briefly flashing, and then returning to the desktop.

Code:
XXXX@XXXX-Latitude-D430 /etc/pm/config.d $ tail modules 
SUSPEND_MODULES="uas"
I added the module "hook", as per instructions, rebooted my system, tried the above commands again, as well as " sudo pm-suspend" but the result was the same: Screen flashing black, then returning to desktop.
 
Old 08-02-2013, 04:11 AM   #28
xl
Member
 
Registered: Feb 2013
Location: Germany, EU
Distribution: Debian (stable release)
Posts: 67

Rep: Reputation: 9
You see this is complicated. Could be a hardware thing I don't know. The suspend seems successful but something wakes it up immediately.
I hope I didn't confuse you with "hook". Just put it in /etc/pm/config.d/modules
And there should be more like it's in the wiki. Ethernet, Bluetooth, HCI ... Button? i915?!?
Do you have other files in /etc/pm/config.d/?

Also maybe you don't need uswsusp or tuxonice. My system (desktop Dell Inspiron 531) just goes to sleep with SLEEP_MODULE=kernel
But before you uninstall try this: http://sourceforge.net/mailarchive/m...sg_id=19214507
And other s2ram options: man s2ram

I've read it's always harder with laptops who knows why ...
 
Old 08-03-2013, 08:54 AM   #29
steak1987
Member
 
Registered: Jan 2012
Posts: 130

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by xl View Post
You see this is complicated. Could be a hardware thing I don't know. The suspend seems successful but something wakes it up immediately.
I hope I didn't confuse you with "hook". Just put it in /etc/pm/config.d/modules
And there should be more like it's in the wiki. Ethernet, Bluetooth, HCI ... Button? i915?!?
Do you have other files in /etc/pm/config.d/?

Also maybe you don't need uswsusp or tuxonice. My system (desktop Dell Inspiron 531) just goes to sleep with SLEEP_MODULE=kernel
But before you uninstall try this: http://sourceforge.net/mailarchive/m...sg_id=19214507
And other s2ram options: man s2ram

I've read it's always harder with laptops who knows why ...

There is nothing in the config.d folder apart from the suspend modules file I was suggested to make:

Code:
XXXX-Latitude-D430 XXXX # cd /etc/pm/config.d/
XXXX-Latitude-D430 config.d # ls
modules
XXXX-Latitude-D430 config.d # tail modules 
SUSPEND_MODULES="uas"
XXXX-Latitude-D430 config.d #

I tried out the link you posted:
Code:
XXXX@XXXX-Latitude-D430 ~ $ sudo s2ram -n
[sudo] password for XXXX: 
Machine matched entry 256:
    sys_vendor   = 'Dell Inc.'
    sys_product  = 'Latitude D430 *'
    sys_version  = ''
    bios_version = ''
Fixes: 0x88  VBE_POST VBE_MODE 
This machine can be identified by:
    sys_vendor   = "Dell Inc."
    sys_product  = "Latitude D430                   "
    sys_version  = ""
    bios_version = "A09"
XXXX@XXXX-Latitude-D430 ~ $ sudo s2ram -f -p
KMS graphics driver is in use, skipping quirks.
s2ram_do: Success

It mentions the KMS driver being in use, is that what is preventing it from suspending ?


UPDATE
I looked at the manual page for s2ram and tried the combinations (none of which worked):

Code:
$ su
Password: 
XXXX-Latitude-D430 XXXX # s2ram -h
Usage: s2ram [options]
  -h, --help		this text.
  -V, --version				version information
  -n, --test		test if the machine is in the database.
  -i, --identify	prints a string that identifies the machine.
  --nofbsuspend		do not suspend the framebuffer (debugging only!).
  --force		force suspending, even on unknown machines.

The following options are only available with --force:
  --vbe_save		save VBE state before suspending and restore after resume.
  --vbe_post		VBE POST the graphics card after resume.
  --vbe_mode		get VBE mode before suspend and set it after resume.
  --radeontool		turn off the backlight on radeons before suspending.
  --pci_save		save the PCI config space for the VGA card.
  --acpi_sleep <acpi_sleep>	set the acpi_sleep parameter before suspend
			1=s3_bios, 2=s3_mode, 3=both
XXXX-Latitude-D430 XXXX # s2ram --force
KMS graphics driver is in use, skipping quirks.
s2ram_do: Success
XXXX-Latitude-D430 XXXX # s2ram --force --vbe_save
KMS graphics driver is in use, skipping quirks.
s2ram_do: Success
XXXX-Latitude-D430 XXXX # s2ram --force --vbe_post
KMS graphics driver is in use, skipping quirks.
s2ram_do: Success
XXXX-Latitude-D430 XXXX # s2ram --force --vbe_mode
KMS graphics driver is in use, skipping quirks.
s2ram_do: Success
XXXX-Latitude-D430 XXXX # s2ram --force --radeontool
KMS graphics driver is in use, skipping quirks.
s2ram_do: Success
XXXX-Latitude-D430 XXXX # s2ram --force --pci_save
KMS graphics driver is in use, skipping quirks.
s2ram_do: Success
XXXX-Latitude-D430 XXXX # s2ram --force --acpi_sleep 1
KMS graphics driver is in use, skipping quirks.
s2ram_do: Success
XXXX-Latitude-D430 XXXX # s2ram --force --acpi_sleep 2
KMS graphics driver is in use, skipping quirks.
s2ram_do: Success
XXXX-Latitude-D430 XXXX # s2ram --force --acpi_sleep 3
KMS graphics driver is in use, skipping quirks.
s2ram_do: Success

Last edited by steak1987; 08-03-2013 at 01:26 PM. Reason: man page
 
Old 08-04-2013, 08:46 AM   #30
xl
Member
 
Registered: Feb 2013
Location: Germany, EU
Distribution: Debian (stable release)
Posts: 67

Rep: Reputation: 9
How do you connect to the internet? Wireless? Turn off the WiFi switch on your laptop.
http://www.bortzmeyer.org/dell-latitude-d430-linux.html

You should try more modules like explained in the ArchWiki.
Something like
Code:
SUSPEND_MODULES="uas b43 bluetooth sdhci"
Try more if it's not working!

Quote:
Originally Posted by steak1987 View Post
It mentions the KMS driver being in use, is that what is preventing it from suspending ?
No.
"New KMS drivers are able to save and restore the state of the graphic card without the need of user space graphics quirks. s2ram will directly suspend the machine if a KMS driver is in use."
http://suspend.sourceforge.net/
 
  


Reply

Tags
suspend hibernate thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Improved ways to suspend and hibernate a laptop under Linux LXer Syndicated Linux News 0 02-16-2007 05:01 PM
LXer: How to suspend and hibernate a laptop under Linux LXer Syndicated Linux News 0 06-06-2006 08:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration