DVB-T USB tuner dib0700 wrong initiated (no "cold state" step)

Bug #577377 reported by VSN
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

I'm running fully uptodate Ubuntu 10.04 and have the following problem with my DVB-T USB stick Terratec Cinergy T USB XXS (dib0700).

The DVB-T stick is always attached to my PC and sometimes it doesn't work properly. Meaning I get a I/O error message while trying to watch TV with Kaffeine player (s. below DiB0070 I2C read failed). More over if I disconnect the stick there are NO messages about that events in kernel.log and any other USD device shows the same behavior - it doesn't work and there are no messages in reknel.log by connecting or disconnecting it.

I noticed that this happens every time when the stick immediately found in warm state and the step of loading the firmware (dvb-usb-dib0700-1.20.fw) is missing.

This is the kernel.log for the case the stick doesn't work

May 4 20:10:17 vsn-desktop kernel: [ 12.558714] dib0700: loaded with support for 13 different device-types

May 4 20:10:17 vsn-desktop kernel: [ 12.560036] dvb-usb: found a 'Terratec Cinergy T USB XXS (HD)/ T3' in warm state.

May 4 20:10:17 vsn-desktop kernel: [ 12.560707] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.

May 4 20:10:17 vsn-desktop kernel: [ 12.560736] Linux video capture interface: v2.00

May 4 20:10:17 vsn-desktop kernel: [ 12.561431] DVB: registering new adapter (Terratec Cinergy T USB XXS (HD)/ T3)

May 4 20:10:17 vsn-desktop kernel: [ 12.579479] bttv: driver version 0.9.18 loaded

May 4 20:10:17 vsn-desktop kernel: [ 12.579484] bttv: using 8 buffers with 2080k (520 pages) each for capture

May 4 20:10:17 vsn-desktop kernel: [ 12.580046] bttv: Bt8xx card found (0).

May 4 20:10:17 vsn-desktop kernel: [ 12.580065] alloc irq_desc for 20 on node -1

May 4 20:10:17 vsn-desktop kernel: [ 12.580068] alloc kstat_irqs on node -1

May 4 20:10:17 vsn-desktop kernel: [ 12.580078] bttv 0000:02:06.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20

May 4 20:10:17 vsn-desktop kernel: [ 12.580091] bttv0: Bt878 (rev 17) at 0000:02:06.0, irq: 20, latency: 32, mmio: 0xfdeff000

May 4 20:10:17 vsn-desktop kernel: [ 12.580126] bttv0: detected: Pinnacle PCTV Sat [card=94], PCI subsystem ID is 11bd:001c

May 4 20:10:17 vsn-desktop kernel: [ 12.580129] bttv0: using: Pinnacle PCTV Sat [card=94,autodetected]

May 4 20:10:17 vsn-desktop kernel: [ 12.580131] IRQ 20/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs

May 4 20:10:17 vsn-desktop kernel: [ 12.580177] bttv0: gpio: en=00000000, out=00000000 in=009f00fc [init]

May 4 20:10:17 vsn-desktop kernel: [ 12.580284] bttv0: tuner absent

May 4 20:10:17 vsn-desktop kernel: [ 12.580403] bttv0: registered device video0

May 4 20:10:17 vsn-desktop kernel: [ 12.580492] bttv0: registered device vbi0

May 4 20:10:17 vsn-desktop kernel: [ 12.580522] bttv0: PLL: 28636363 => 35468950 .. ok

May 4 20:10:17 vsn-desktop kernel: [ 12.612607] bttv0: add subdevice "dvb0"

May 4 20:10:17 vsn-desktop kernel: [ 12.636856] type=1505 audit(1272996615.404:2): operation="profile_load" pid=631 name="/sbin/dhclient3"

May 4 20:10:17 vsn-desktop kernel: [ 12.637126] type=1505 audit(1272996615.408:3): operation="profile_load" pid=631 name="/usr/lib/NetworkManager/nm-dhcp-client.action"

May 4 20:10:17 vsn-desktop kernel: [ 12.637267] type=1505 audit(1272996615.408:4): operation="profile_load" pid=631 name="/usr/lib/connman/scripts/dhclient-script"

May 4 20:10:17 vsn-desktop kernel: [ 12.641228] type=1505 audit(1272996615.412:5): operation="profile_load" pid=658 name="/usr/sbin/ntpd"

May 4 20:10:17 vsn-desktop kernel: [ 12.699157] alloc irq_desc for 21 on node -1

May 4 20:10:17 vsn-desktop kernel: [ 12.699161] alloc kstat_irqs on node -1

May 4 20:10:17 vsn-desktop kernel: [ 12.699172] CA0106 0000:02:07.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21

May 4 20:10:17 vsn-desktop kernel: [ 12.699205] snd-ca0106: Model 1002 Rev 00000000 Serial 10021102

May 4 20:10:17 vsn-desktop kernel: [ 12.707800] bt878: AUDIO driver version 0.0.0 loaded

May 4 20:10:17 vsn-desktop kernel: [ 12.711087] bt878: Bt878 AUDIO function found (0).

May 4 20:10:17 vsn-desktop kernel: [ 12.711104] bt878 0000:02:06.1: PCI INT A -> GSI 20 (level, low) -> IRQ 20

May 4 20:10:17 vsn-desktop kernel: [ 12.711107] bt878_probe: card id=[0x1c11bd],[ Pinnacle PCTV Sat ] has DVB functions.

May 4 20:10:17 vsn-desktop kernel: [ 12.711115] bt878(0): Bt878 (rev 17) at 02:06.1, irq: 20, latency: 32, memory: 0xfdefe000

May 4 20:10:17 vsn-desktop kernel: [ 12.711139] IRQ 20/bt878: IRQF_DISABLED is not guaranteed on shared IRQs

May 4 20:10:17 vsn-desktop kernel: [ 12.737195] DVB: registering new adapter (bttv0)

May 4 20:10:17 vsn-desktop kernel: [ 12.757140] DVB: registering adapter 1 frontend 0 (Conexant CX24110 DVB-S)...

May 4 20:10:17 vsn-desktop kernel: [ 12.800653] nvidia 0000:01:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18

May 4 20:10:17 vsn-desktop kernel: [ 12.800664] nvidia 0000:01:00.0: setting latency timer to 64

May 4 20:10:17 vsn-desktop kernel: [ 12.800668] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem

May 4 20:10:17 vsn-desktop kernel: [ 12.800994] NVRM: loading NVIDIA UNIX x86 Kernel Module 195.36.15 Thu Mar 11 21:41:46 PST 2010

May 4 20:10:17 vsn-desktop kernel: [ 12.807436] Writing to ADC failed!

May 4 20:10:17 vsn-desktop kernel: [ 12.810597] Writing to ADC failed!

May 4 20:10:17 vsn-desktop kernel: [ 12.813732] DVB: registering adapter 0 frontend 0 (DiBcom 7000PC)...

May 4 20:10:17 vsn-desktop kernel: [ 13.022888] DiB0070: successfully identified

May 4 20:10:17 vsn-desktop kernel: [ 13.022985] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:13.5/usb1/1-10/input/input5

May 4 20:10:17 vsn-desktop kernel: [ 13.023051] dvb-usb: schedule remote query interval to 50 msecs.

May 4 20:10:17 vsn-desktop kernel: [ 13.023055] dvb-usb: Terratec Cinergy T USB XXS (HD)/ T3 successfully initialized and connected.

May 4 20:10:17 vsn-desktop kernel: [ 13.023285] usbcore: registered new interface driver dvb_usb_dib0700

May 4 20:10:17 vsn-desktop kernel: [ 14.670602] EXT4-fs (sda7): mounted filesystem with ordered data mode

May 4 20:10:17 vsn-desktop kernel: [ 14.966966] r8169: eth0: link up

May 4 20:10:58 vsn-desktop kernel: [ 54.835205] ehci_hcd 0000:00:13.5: force halt; handhake f8044024 00004000 00000000 -> -110

May 4 20:10:58 vsn-desktop kernel: [ 54.836017] DiB0070 I2C read failed

May 4 20:10:58 vsn-desktop kernel: [ 54.840013] DiB0070 I2C write failed

May 4 20:10:58 vsn-desktop kernel: [ 54.848014] DiB0070 I2C read failed

May 4 20:10:58 vsn-desktop kernel: [ 54.852016] DiB0070 I2C write failed

May 4 20:10:58 vsn-desktop kernel: [ 54.860019] DiB0070 I2C read failed

May 4 20:10:58 vsn-desktop kernel: [ 54.864020] DiB0070 I2C write failed

May 4 20:10:58 vsn-desktop kernel: [ 54.864023] DiB0070 I2C write failed

May 4 20:10:58 vsn-desktop kernel: [ 54.868013] DiB0070 I2C write failed

May 4 20:10:58 vsn-desktop kernel: [ 54.868016] DiB0070 I2C write failed

May 4 20:10:58 vsn-desktop kernel: [ 54.868019] DiB0070 I2C write failed

May 4 20:10:58 vsn-desktop kernel: [ 54.868022] DiB0070 I2C write failed

May 4 20:10:58 vsn-desktop kernel: [ 54.868025] DiB0070 I2C write failed

May 4 20:10:58 vsn-desktop kernel: [ 54.868028] DiB0070 I2C write failed

May 4 20:10:58 vsn-desktop kernel: [ 54.868030] DiB0070 I2C write failed

May 4 20:10:58 vsn-desktop kernel: [ 54.876013] DiB0070 I2C read failed

May 4 20:10:58 vsn-desktop kernel: [ 54.876016] DiB0070 I2C write failed

And here the stick works well

May 4 19:26:12 vsn-desktop kernel: [ 12.712850] dib0700: loaded with support for 13 different device-types

May 4 19:26:12 vsn-desktop kernel: [ 12.713784] dvb-usb: found a 'Terratec Cinergy T USB XXS (HD)/ T3' in cold state, will try to load a firmware

May 4 19:26:12 vsn-desktop kernel: [ 12.713790] usb 1-10: firmware: requesting dvb-usb-dib0700-1.20.fw

May 4 19:26:12 vsn-desktop kernel: [ 12.724652] bt878: AUDIO driver version 0.0.0 loaded

May 4 19:26:12 vsn-desktop kernel: [ 12.724678] bt878: Bt878 AUDIO function found (0).

May 4 19:26:12 vsn-desktop kernel: [ 12.724695] bt878 0000:02:06.1: PCI INT A -> GSI 20 (level, low) -> IRQ 20

May 4 19:26:12 vsn-desktop kernel: [ 12.724698] bt878_probe: card id=[0x1c11bd],[ Pinnacle PCTV Sat ] has DVB functions.

May 4 19:26:12 vsn-desktop kernel: [ 12.724705] bt878(0): Bt878 (rev 17) at 02:06.1, irq: 20, latency: 32, memory: 0xfdefe000

May 4 19:26:12 vsn-desktop kernel: [ 12.724719] IRQ 20/bt878: IRQF_DISABLED is not guaranteed on shared IRQs

May 4 19:26:12 vsn-desktop kernel: [ 12.731409] DVB: registering new adapter (bttv0)

May 4 19:26:12 vsn-desktop kernel: [ 12.734069] gameport: EMU10K1 is pci0000:02:07.1/gameport0, io 0xde00, speed 320kHz

May 4 19:26:12 vsn-desktop kernel: [ 12.742053] nvidia 0000:01:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18

May 4 19:26:12 vsn-desktop kernel: [ 12.742061] nvidia 0000:01:00.0: setting latency timer to 64

May 4 19:26:12 vsn-desktop kernel: [ 12.742065] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem

May 4 19:26:12 vsn-desktop kernel: [ 12.742653] NVRM: loading NVIDIA UNIX x86 Kernel Module 195.36.15 Thu Mar 11 21:41:46 PST 2010

May 4 19:26:12 vsn-desktop kernel: [ 12.744774] DVB: registering adapter 0 frontend 0 (Conexant CX24110 DVB-S)...

May 4 19:26:12 vsn-desktop kernel: [ 12.758074] Writing to ADC failed!

May 4 19:26:12 vsn-desktop kernel: [ 12.761039] Writing to ADC failed!

May 4 19:26:12 vsn-desktop kernel: [ 12.792251] Console: switching to colour frame buffer device 80x30

May 4 19:26:12 vsn-desktop kernel: [ 13.018655] EXT4-fs (sda7): mounted filesystem with ordered data mode

May 4 19:26:12 vsn-desktop kernel: [ 13.097174] dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.20.fw'

May 4 19:26:12 vsn-desktop kernel: [ 13.302139] dib0700: firmware started successfully.

May 4 19:26:12 vsn-desktop kernel: [ 13.805029] dvb-usb: found a 'Terratec Cinergy T USB XXS (HD)/ T3' in warm state.

May 4 19:26:12 vsn-desktop kernel: [ 13.805084] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.

May 4 19:26:12 vsn-desktop kernel: [ 13.805360] DVB: registering new adapter (Terratec Cinergy T USB XXS (HD)/ T3)

May 4 19:26:12 vsn-desktop kernel: [ 13.914750] type=1505 audit(1272993972.679:6): operation="profile_load" pid=817 name="/usr/share/gdm/guest-session/Xsession"

May 4 19:26:12 vsn-desktop kernel: [ 13.915405] r8169: eth0: link up

May 4 19:26:12 vsn-desktop kernel: [ 13.916381] type=1505 audit(1272993972.683:7): operation="profile_replace" pid=818 name="/sbin/dhclient3"

May 4 19:26:12 vsn-desktop kernel: [ 13.916643] type=1505 audit(1272993972.683:8): operation="profile_replace" pid=818 name="/usr/lib/NetworkManager/nm-dhcp-client.action"

May 4 19:26:12 vsn-desktop kernel: [ 13.916832] type=1505 audit(1272993972.683:9): operation="profile_replace" pid=818 name="/usr/lib/connman/scripts/dhclient-script"

May 4 19:26:12 vsn-desktop kernel: [ 13.920649] type=1505 audit(1272993972.687:10): operation="profile_load" pid=819 name="/usr/bin/evince"

May 4 19:26:12 vsn-desktop kernel: [ 13.924124] type=1505 audit(1272993972.691:11): operation="profile_load" pid=819 name="/usr/bin/evince-previewer"

May 4 19:26:12 vsn-desktop kernel: [ 14.017406] DVB: registering adapter 1 frontend 0 (DiBcom 7000PC)...

May 4 19:26:13 vsn-desktop kernel: [ 14.240537] DiB0070: successfully identified

May 4 19:26:13 vsn-desktop kernel: [ 14.240630] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:13.5/usb1/1-10/input/input5

May 4 19:26:13 vsn-desktop kernel: [ 14.240689] dvb-usb: schedule remote query interval to 50 msecs.

May 4 19:26:13 vsn-desktop kernel: [ 14.240693] dvb-usb: Terratec Cinergy T USB XXS (HD)/ T3 successfully initialized and connected.

May 4 19:26:13 vsn-desktop kernel: [ 14.241297] usbcore: registered new interface driver dvb_usb_dib0700

In the second case the stick was found in cold state, the firmware loaded and ONLY THEN the device was found in warm state.

In the second it was found immediately in warm state. So the firmware isn't loaded, what somehow leads to my usb hub not working anymore. Then I have to reboot my PC in order to get it working again.

Regards

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-22-generic 2.6.32-22.33
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: vsn 1441 F.... pulseaudio
CRDA: Error: [Errno 2] Нет такого файла или каталога
Card0.Amixer.info:
 Card hw:0 'CA0106'/'AudigyLS [SB0310] at 0xdf00 irq 21'
   Mixer name : 'CA0106'
   Components : 'AC97a:83847609'
   Controls : 35
   Simple ctrls : 19
Date: Sat May 8 12:10:20 2010
HibernationDevice: RESUME=UUID=a0b537c7-32a2-4c02-a6f2-0edd7cd283ff
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
MachineType: Gigabyte Technology Co., Ltd. GA-MA69G-S3H
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=d7aacd69-b169-42ea-94ba-c96f437c1deb ro quiet splash
ProcEnviron:
 LANGUAGE=de:ru:en
 PATH=(custom, no user)
 LANG=de_DE.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
RfKill:

SourcePackage: linux
dmi.bios.date: 07/27/2007
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F3
dmi.board.name: GA-MA69G-S3H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF3:bd07/27/2007:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA69G-S3H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA69G-S3H:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-MA69G-S3H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
VSN (vsn-inbox) wrote :
Revision history for this message
VSN (vsn-inbox) wrote :
Revision history for this message
VSN (vsn-inbox) wrote :
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi VSN,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
VSN (vsn-inbox) wrote :

Hi,

I have installed and tested the last upstream kernel (2.6.34-999) as requested. Result: the issue is not present there any more.

As to the problem. I finally got to know that exactly cold/warm states mean. So, the way it works now is right: after a restart (tuner is always connected to PC) the tuner has to be found in warm state, as the firmware was uploaded. OK. The problem is, every time the tuner is found in warm state (after a restart, for example, assuming the tuner is always connected to PC) it doesn't work (DiB0070 I2C write failed) and, more over, my usb hub (integrated in a south bridge AMD SB600 of my GA-MA69G-S3H motherboard) doesn't work any more, too. I have to disconnect the tuner, in order it will be found in cold state at the next boot, and restart my PC.

How could I help further?

Regards

tags: removed: needs-upstream-testing
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
sander (s-devrieze) wrote :

I can confirm the reboot issue is still not fixed in Ubuntu 14.04.

When rebooting the computer:

[ 6.921888] DiB0070: successfully identified
[ 6.947049] Registered IR keymap rc-dib0700-rc5
[ 6.947175] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/rc/rc0/input16
[ 6.947235] rc0: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/rc/rc0
[ 6.947392] dvb-usb: schedule remote query interval to 50 msecs.
[ 6.947393] dvb-usb: Terratec Cinergy T USB XXS (HD)/ T3 successfully initialized and connected.
[ 6.947508] dib0700: rc submit urb failed
[ 6.947583] usbcore: registered new interface driver dvb_usb_dib0700

Workaround as described in this thread still works: deconnecting the USB stick and reconnect it again.

Changed in linux (Ubuntu):
status: Expired → New
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.