← Back to team overview

desktop-packages team mailing list archive

[Bug 1354668] Re: Fix for suspend/hibernate with DVB-t USB stick

 

sander, could you please execute the following via a terminal in order for the necessary debugging information to be attached:
apport-collect 1354668

** Package changed: pm-utils (Ubuntu) => linux (Ubuntu)

** Changed in: linux (Ubuntu)
   Importance: Undecided => Low

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pm-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1354668

Title:
  Fix  for suspend/hibernate with DVB-t USB stick

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1354668/+subscriptions