From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.kapsi.fi ([217.30.184.167]:41544 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754418Ab2JCMQ3 (ORCPT ); Wed, 3 Oct 2012 08:16:29 -0400 Message-ID: <506C2C85.5090108@iki.fi> Date: Wed, 03 Oct 2012 15:16:05 +0300 From: Antti Palosaari MIME-Version: 1.0 To: Marx CC: linux-media@vger.kernel.org Subject: Re: ITE9135 on AMD SB700 - ehci_hcd bug References: <5055E0ED.8030808@iki.fi> <505F3750.8070104@iki.fi> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: On 10/03/2012 01:55 PM, Marx wrote: > On 23.09.2012 18:22, Antti Palosaari wrote: >> On 09/16/2012 05:23 PM, Antti Palosaari wrote: >>> On 09/12/2012 09:32 AM, Marx wrote: >>>> Hello >>>> I'm trying to use dual DVB-T tuner based on ITE9135 tuner. I use Debian >>>> kernel 3.5-trunk-686-pae. My motherboard is AsRock E350M1 (no USB3 >>>> ports). >>>> Tuner is detected ok, see log at the end of post. >>>> >>>> When I try to scan channels, bug happens: >>>> Sep 11 17:16:31 wuwek kernel: [ 209.291329] ehci_hcd 0000:00:13.2: >>>> force halt; handshake f821a024 00004000 00000000 -> -110 >>>> Sep 11 17:16:31 wuwek kernel: [ 209.291401] ehci_hcd 0000:00:13.2: HC >>>> died; cleaning up >>>> Sep 11 17:16:31 wuwek kernel: [ 209.291606] usb 2-3: USB disconnect, >>>> device number 2 >>>> Sep 11 17:16:41 wuwek kernel: [ 219.312848] dvb-usb: error while >>>> stopping stream. >>>> Sep 11 17:16:41 wuwek kernel: [ 219.320585] dvb-usb: ITE 9135(9006) >>>> Generic successfully deinitialized and disconnected. >>>> >>>> After trying many ways I've read about problems with ehci on SB700 >>>> based >>>> boards and switched off ehci via command >>>> sh -c 'echo -n "0000:00:13.2" > unbind' >>>> and now ehci bug doesn't happen. Of course I can see only one tuner and >>>> in slower USB mode (see log at the end). But now I can scan succesfully >>>> without any errors. >>>> >>>> Of course it isn't acceptable fix for my problem. Drivers for ITE9135 >>>> seems ok, but there is a problem with ehci_hcd on my motherboard. >>>> I would like to know what can I do to fix my problem. >>> >>> I am quite sure dvb_usb_v2 fixes that. Test latest tree. >>> >>> Antti >>> >> >> Test results please? > > I've replaced motherboard (no AMD chipset) and this problem disappeared. > Unfortunatelly there were some problem with newsgate on gmane and I > didn't receive your reply on time. Now I don't have this motherboard, > but I can confirm ITE9135 drivers now works ok, so this problem was with > USB driver. I have also AMD SB700 USB bridge and saw these errors. I suspect it race condition in DVB USB which happens in certain situation / combinations. I added one mutex to DVB USB v2 due to that... > Now I have some small problem with ITE9135 driver. I use dual tuner. > When I restart computer while the card is connected then disconnect and > connect card again, I have four devices in /dev/dvb instead of two. > Is it known bug and is fixed or I should attach some logs? > Marx New for me. It could be ITE9135 driver bug or DVB USB bug. I have to test it. regards Antti -- http://palosaari.fi/