[Bug 1354668] [NEW] Fix for suspend/hibernate with DVB-t USB stick
sander
1354668 at bugs.launchpad.net
Sat Aug 9 09:41:00 UTC 2014
Public bug reported:
I have a Terratec Cinergy T USB XXS DVB-t USB stick, but when you
suspend the system while a radio or TV channel is actively playing in
some application, the system does not correctly suspend the device. The
system will not wake up again and you have to reset the computer. This
bug exists for at least 3 year and likely people with similar DVB-t USB
sticks will be affected as well.
I have created a failure proof workaround solution for VLC by creating
the script /etc/pm/sleep.d/50_dvb_usb_dib0700_quirk:
#!/bin/sh
PASS=<enter password for LUA telnet access to VLC>
case "$1" in
hibernate|suspend)
# check whether a stream with "telx" (Teletext) is active or not
if [ "`{ echo $PASS; echo "info"; } | netcat localhost 4212 -q 1 | grep -c telx`" -eq "0" ]
then
continue
else
{ echo $PASS; echo "stop"; } | netcat localhost 4212 -q 1 > /dev/null
fi
modprobe -r dvb_usb_dib0700
sleep 1
;;
thaw|resume)
modprobe dvb_usb_dib0700
# automatically start playing after wake up
{ echo $PASS; echo "play"; } | netcat localhost 4212 -q 1 > /dev/null
;;
*) exit $NA
;;
esac
This solution was inspired by:
http://forum.xbmc.org/printthread.php?tid=71490
** Affects: pm-utils (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to pm-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1354668
Title:
Fix for suspend/hibernate with DVB-t USB stick
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1354668/+subscriptions
More information about the Ubuntu-server-bugs
mailing list