** Description changed: - Further details in Bug #1254668. This bug is intended for testing on - another computer as requested. + 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 + for example VLC, the system does not correctly suspend the device. The + system will not wake up again and you have to reset the computer. + + 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 ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: linux-image-3.2.0-74-generic 3.2.0-74.109 ProcVersionSignature: Ubuntu 3.2.0-74.109-generic 3.2.64 Uname: Linux 3.2.0-74-generic i686 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. AplayDevices: - **** List of PLAYBACK Hardware Devices **** - card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog] - Subdevices: 1/1 - Subdevice #0: subdevice #0 + **** List of PLAYBACK Hardware Devices **** + card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog] + Subdevices: 1/1 + Subdevice #0: subdevice #0 ApportVersion: 2.0.1-0ubuntu17.8 Architecture: i386 ArecordDevices: - **** List of CAPTURE Hardware Devices **** - card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog] - Subdevices: 1/1 - Subdevice #0: subdevice #0 + **** List of CAPTURE Hardware Devices **** + card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog] + Subdevices: 1/1 + Subdevice #0: subdevice #0 AudioDevicesInUse: - USER PID ACCESS COMMAND - /dev/snd/controlC0: sander 4909 F.... pulseaudio + USER PID ACCESS COMMAND + /dev/snd/controlC0: sander 4909 F.... pulseaudio CRDA: - country BE: - (2402 - 2482 @ 40), (N/A, 20) - (5170 - 5250 @ 40), (N/A, 20) - (5250 - 5330 @ 40), (N/A, 20), DFS - (5490 - 5710 @ 40), (N/A, 27), DFS + country BE: + (2402 - 2482 @ 40), (N/A, 20) + (5170 - 5250 @ 40), (N/A, 20) + (5250 - 5330 @ 40), (N/A, 20), DFS + (5490 - 5710 @ 40), (N/A, 27), DFS Card0.Amixer.info: - Card hw:0 'Intel'/'HDA Intel at 0xf7eb8000 irq 44' - Mixer name : 'Realtek ALC269' - Components : 'HDA:10ec0269,1043831a,00100004' - Controls : 17 - Simple ctrls : 9 + Card hw:0 'Intel'/'HDA Intel at 0xf7eb8000 irq 44' + Mixer name : 'Realtek ALC269' + Components : 'HDA:10ec0269,1043831a,00100004' + Controls : 17 + Simple ctrls : 9 Date: Mon Dec 22 21:03:12 2014 MachineType: ASUSTeK Computer INC. 901 MarkForUpload: True ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-74-generic root=UUID=7f7edf1b-e27e-4af3-977b-a174a3317497 ro quiet splash vt.handoff=7 RelatedPackageVersions: - linux-restricted-modules-3.2.0-74-generic N/A - linux-backports-modules-3.2.0-74-generic N/A - linux-firmware 1.79.18 + linux-restricted-modules-3.2.0-74-generic N/A + linux-backports-modules-3.2.0-74-generic N/A + linux-firmware 1.79.18 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 06/11/2009 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 2103 dmi.board.asset.tag: To Be Filled By O.E.M. dmi.board.name: 901 dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: x.xx dmi.chassis.asset.tag: 0x00000000 dmi.chassis.type: 10 dmi.chassis.vendor: ASUSTek Computer INC. dmi.chassis.version: x.x dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2103:bd06/11/2009:svnASUSTeKComputerINC.:pn901:pvrx.x:rvnASUSTeKComputerINC.:rn901:rvrx.xx:cvnASUSTekComputerINC.:ct10:cvrx.x: dmi.product.name: 901 dmi.product.version: x.x dmi.sys.vendor: ASUSTeK Computer INC.
-- 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/1404976 Title: 0ccd:00ab [Asus 901] Won't suspend using 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 for example VLC, the system does not correctly suspend the device. The system will not wake up again and you have to reset the computer. 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 ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: linux-image-3.2.0-74-generic 3.2.0-74.109 ProcVersionSignature: Ubuntu 3.2.0-74.109-generic 3.2.64 Uname: Linux 3.2.0-74-generic i686 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. AplayDevices: **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 ApportVersion: 2.0.1-0ubuntu17.8 Architecture: i386 ArecordDevices: **** List of CAPTURE Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: sander 4909 F.... pulseaudio CRDA: country BE: (2402 - 2482 @ 40), (N/A, 20) (5170 - 5250 @ 40), (N/A, 20) (5250 - 5330 @ 40), (N/A, 20), DFS (5490 - 5710 @ 40), (N/A, 27), DFS Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf7eb8000 irq 44' Mixer name : 'Realtek ALC269' Components : 'HDA:10ec0269,1043831a,00100004' Controls : 17 Simple ctrls : 9 Date: Mon Dec 22 21:03:12 2014 MachineType: ASUSTeK Computer INC. 901 MarkForUpload: True ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-74-generic root=UUID=7f7edf1b-e27e-4af3-977b-a174a3317497 ro quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-3.2.0-74-generic N/A linux-backports-modules-3.2.0-74-generic N/A linux-firmware 1.79.18 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 06/11/2009 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 2103 dmi.board.asset.tag: To Be Filled By O.E.M. dmi.board.name: 901 dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: x.xx dmi.chassis.asset.tag: 0x00000000 dmi.chassis.type: 10 dmi.chassis.vendor: ASUSTek Computer INC. dmi.chassis.version: x.x dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2103:bd06/11/2009:svnASUSTeKComputerINC.:pn901:pvrx.x:rvnASUSTeKComputerINC.:rn901:rvrx.xx:cvnASUSTekComputerINC.:ct10:cvrx.x: dmi.product.name: 901 dmi.product.version: x.x dmi.sys.vendor: ASUSTeK Computer INC. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1404976/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp