Hi.
Could you please try the following:
* Create a file /etc/pm/sleep.d/50_custom with the following content:
--8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<-- #!/bin/sh
# Action script to shutdown modules before suspending. # before a hibernate # # Copyright: Copyright (c) 2009 Ernesto Revilla # License: GPL-2 #
PATH=/sbin:/usr/sbin:/bin:/usr/bin
case "${1}" in suspend|suspend_hybrid|hibernate) rmmod uvcvideo rmmod usbhid rmmod psmouse ;;
resume|thaw) modprobe uvcvideo modprobe usbhid modprobe psmouse ;;
--8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<--
Regards
Hi.
Could you please try the following:
* Create a file /etc/pm/ sleep.d/ 50_custom with the following content:
--8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<--
#!/bin/sh
# Action script to shutdown modules before suspending.
# before a hibernate
#
# Copyright: Copyright (c) 2009 Ernesto Revilla
# License: GPL-2
#
PATH=/sbin: /usr/sbin: /bin:/usr/ bin
case "${1}" in
suspend| suspend_ hybrid| hibernate)
rmmod uvcvideo
rmmod usbhid
rmmod psmouse
;;
;;
--8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<-- cut --8<--
Regards