← Back to team overview

kernel-packages team mailing list archive

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

 

sander, could you please test the latest upstream kernel available from
the very top line at the top of the page (the release names are
irrelevant for testing, and please do not test the daily folder)
following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow
additional upstream developers to examine the issue.

If the test did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested exactly shown as:
kernel-fixed-upstream-3.18

This can be done by clicking on the yellow circle with a black pencil
icon next to the word Tags located at the bottom of the bug description.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's
Status as Confirmed. Please let us know your results. Thank you for your
understanding.

** 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:
  
  #!/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
-   ;;
+  # 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
-   ;;
+   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
- --- 
+ 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     2632 F.... pulseaudio
-  /dev/snd/controlC0:  sander     2632 F.... pulseaudio
+  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:
-  p6p1      no wireless extensions.
-  
-  lo        no wireless extensions.
- MachineType: MSI MS-7681
- NonfreeKernelModules: nvidia
- Package: linux (not installed)
- ProcFB:
-  
- ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-39-generic root=UUID=e882cc04-9882-4d29-b98d-cd0144f876ad ro quiet splash nomdmonddf nomdmonisw nomdmonddf nomdmonisw
- ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
- RelatedPackageVersions:
-  linux-restricted-modules-3.13.0-39-generic N/A
-  linux-backports-modules-3.13.0-39-generic  N/A
-  linux-firmware                             1.127.10
- RfKill:
-  
- Tags:  trusty
- Uname: Linux 3.13.0-39-generic x86_64
- UpgradeStatus: Upgraded to trusty on 2014-06-21 (166 days ago)
- UserGroups: adm cdrom debian-transmission dip lpadmin plugdev sambashare saned sudo
- _MarkForUpload: True
- dmi.bios.date: 07/13/2011
- dmi.bios.vendor: American Megatrends Inc.
- dmi.bios.version: V1.14
- dmi.board.asset.tag: To be filled by O.E.M.
- dmi.board.name: P67A-GD65 (MS-7681)
- dmi.board.vendor: MSI
- dmi.board.version: 2.0
- dmi.chassis.asset.tag: To Be Filled By O.E.M.
- dmi.chassis.type: 3
- dmi.chassis.vendor: MSI
- dmi.chassis.version: 2.0
- dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV1.14:bd07/13/2011:svnMSI:pnMS-7681:pvr2.0:rvnMSI:rnP67A-GD65(MS-7681):rvr2.0:cvnMSI:ct3:cvr2.0:
- dmi.product.name: MS-7681
- dmi.product.version: 2.0
- dmi.sys.vendor: MSI
- --- 
- 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.
+  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
+  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.

** Attachment removed: "AlsaInfo.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1354668/+attachment/4274778/+files/AlsaInfo.txt

** Attachment removed: "BootDmesg.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1354668/+attachment/4274779/+files/BootDmesg.txt

** Attachment removed: "CurrentDmesg.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1354668/+attachment/4274780/+files/CurrentDmesg.txt

** Attachment removed: "Lspci.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1354668/+attachment/4274781/+files/Lspci.txt

** Attachment removed: "Lsusb.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1354668/+attachment/4274782/+files/Lsusb.txt

** Attachment removed: "ProcCpuinfo.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1354668/+attachment/4274783/+files/ProcCpuinfo.txt

** Attachment removed: "ProcEnviron.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1354668/+attachment/4274784/+files/ProcEnviron.txt

** Attachment removed: "ProcModules.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1354668/+attachment/4274786/+files/ProcModules.txt

** Attachment removed: "ProcInterrupts.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1354668/+attachment/4274785/+files/ProcInterrupts.txt

** Attachment removed: "PulseList.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1354668/+attachment/4274787/+files/PulseList.txt

** Attachment removed: "UdevDb.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1354668/+attachment/4274788/+files/UdevDb.txt

** Attachment removed: "UdevLog.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1354668/+attachment/4274789/+files/UdevLog.txt

** Attachment removed: "WifiSyslog.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1354668/+attachment/4274790/+files/WifiSyslog.txt

** Tags removed: bios-outdated-4.3
** Tags added: latest-bios-13

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

** Summary changed:

- Fix  for suspend/hibernate with DVB-t USB stick
+ 0ccd:00ab Fix for suspend/hibernate with DVB-t USB stick

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

Title:
  0ccd:00ab 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

  ---
  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.

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