Standby problem with ubuntu 10.10 64bit
hi,
i own a laptop Lenovo 3000 N500 with nvidia graphic card 4 gig of memory and 320gig hard disc.
i had ubuntu 32 bit on my laptop from version 9.4 until now and had no problem with standby and hybernate.
since i installed the ubuntu 10.10 64 bit version on this laptop following problem occoured.
1. standby
the system will go to standby but the resume cause the system to reboot.
2. hybernate
the system reboots directly.
i have found this solution on internet and putt it in the file "/etc/pm/
#!/bin/sh
TMPLIST_
TMPLIST_
E_DIR=/
X_DIR=/
E_BIND=
E_UNBIND=
X_BIND=
X_UNBIND=
#param1 = temp file, param2 = device dir, param3 = unbind
unbindDev (){
#inspired by http://
echo -n '' > $1
for i in `ls $2 | egrep '[0-9a-
echo -n "$i" | tee $3
echo "$i" >> $1
done
}
#param1 = tem file, param2 = bind
bindDev(){
[ -f $1 ] || return
for i in `cat $1`; do
echo -n "$i" | tee $2
done
rm $1
}
case "${1}" in
hibernate|
unbindDev $TMPLIST_E $E_DIR $E_UNBIND
unbindDev $TMPLIST_X $X_DIR $X_UNBIND
;;
resume|thaw)
bindDev $TMPLIST_E $E_BIND
bindDev $TMPLIST_X $X_BIND
;;
esac
can any one help me plz??
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu acpi Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was reopened
Can you help with this problem?
Provide an answer of your own, or ask Fariborz Nassermostofi for more information if necessary.