** Description changed:

  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:
+ WORKAROUND: I have created a 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
  
  ---
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  sander     2545 F.... pulseaudio
   /dev/snd/controlC0:  sander     2545 F.... pulseaudio
   /dev/snd/pcmC0D0p:   sander     2545 F...m pulseaudio
  CRDA: Error: [Errno 2] Bestand of map bestaat niet
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=c4ca47bf-e5b3-4e55-8e04-7545c1f50cdd
  IwConfig:
   p4p1      no wireless extensions.
  
   lo        no wireless extensions.
  MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
  NonfreeKernelModules: nvidia
  Package: linux (not installed)
  ProcFB:
  
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-43-generic 
root=UUID=e882cc04-9882-4d29-b98d-cd0144f876ad ro quiet splash nomdmonddf 
nomdmonisw nomdmonddf nomdmonisw
  ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-43-generic N/A
   linux-backports-modules-3.13.0-43-generic  N/A
   linux-firmware                             1.127.10
  RfKill:
  
  Tags:  trusty
  Uname: Linux 3.13.0-43-generic x86_64
  UpgradeStatus: Upgraded to trusty on 2014-06-21 (174 days ago)
  UserGroups: adm cdrom debian-transmission dip lpadmin plugdev sambashare 
saned sudo
  _MarkForUpload: True
  dmi.bios.date: 10/23/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F13
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: B75M-D3V
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrF13:bd10/23/2013:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnB75M-D3V:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To be filled by O.E.M.
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

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

Title:
  0ccd:00ab Won't resume from suspend using DVB-t USB stick

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to