Wednesday, October 6, 2010

Ubuntu Lucid and Thinkpad Sleep

I noticed that when trying to shut off my Thinkpad, the moon light continued to blink but the machine never entered into suspend state.

The problem appears to be related to an SD card mounted inside the card slot. If there is an SD card, then the Thinkpad will not be able to sleep.

The first solution is not to have the SD card. Another solution (untested) is to create a script to umount the SD card when the laptop enters Suspend or Hibernate mode:

case "${1}" in
                for i in `ls /media`; do
                   /usr/bin/gvfs-mount -u "/media/$i"
  # nothing

No comments:

Post a Comment