Well I learned something new.
Creating a script that executes after hibernates resumes (thaw) can be done like this:
sudo touch /etc/pm/sleep.d/99_r5u87x-reload sudo chmod +x /etc/pm/sleep.d/99_r5u87x-reload sudo nano /etc/pm/sleep.d/99_r5u87x-reload
Add everything between the dashed lines to file 99_r5u87x-reload
----------------------------------------------------------------
#!/bin/sh case "$1" in hibernate|suspend) # do nothing ;; thaw) #thaw|resume) /usr/sbin/r5u87x-loader --reload 2>/dev/null ;; *) ;; esac exit $?
---------------------------------------------------------------
Save and enjoy video after a thaw.
Well I learned something new.
Creating a script that executes after hibernates resumes (thaw) can be done like this:
sudo touch /etc/pm/ sleep.d/ 99_r5u87x- reload sleep.d/ 99_r5u87x- reload sleep.d/ 99_r5u87x- reload
sudo chmod +x /etc/pm/
sudo nano /etc/pm/
Add everything between the dashed lines to file 99_r5u87x-reload
------- ------- ------- ------- ------- ------- ------- ------- ------- -
#!/bin/sh suspend)
/usr/sbin/ r5u87x- loader --reload 2>/dev/null
case "$1" in
hibernate|
# do nothing
;;
thaw) #thaw|resume)
;;
*)
;;
esac
exit $?
------- ------- ------- ------- ------- ------- ------- ------- -------
Save and enjoy video after a thaw.