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.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/120434
Title:
[needs-packaging] Ricoh R5U87x Webcam userland tools
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs