From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Fredrik Lingvall <fredrik.lingvall@gmail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: Hauppauge HVR-930C problems
Date: Wed, 07 Dec 2011 12:54:27 -0200 [thread overview]
Message-ID: <4EDF7E23.3090904@redhat.com> (raw)
In-Reply-To: <4EDF7758.3080309@gmail.com>
On 07-12-2011 12:25, Fredrik Lingvall wrote:
> On 12/07/11 14:55, Mauro Carvalho Chehab wrote:
>>
>>> <snip>
>>>
>>> Bus 2 doesn't seem to do anything [Alloc= 0/800 us ( 0%)] while I'm scanning!?
>>
>>
>> Scanning envolves 2 different things:
>> 1) tuning and locking into a channel;
>> 2) streaming and filtering, in order to seek for program tables
>> inside the MPEG-TS.
>>
>> Step 1 uses USB control messages.
>>
>> Only at step 2, the device will use the USB ISOC packets. The USB core will
>> see if is there enough bandwidth to reserve for ISOC transfers on that time
>> (based on other traffic data), and submit the URB's (or return -ENOSPC otherwise).
>>
>>>
>>> BTW: I'm running Gentoo x86_64 (amd64) on a Dell M2400 laptop with an SSD disk.
>>>
>>> Other hardware connected is a 200 GB disk using the eSata slot, a 1TB WD disk connected using another USB slot, a RME Multiface II soundcard using the expresscard slot.
>>
>> The external USB disk may be interfering, if it is also at bus 2.
>> Also, some laptops use USB for some internal components like wireless.
>>
>> Please remove all other USB devices, disable wireless (if your device is USB)
>> and try again.
>>
>> Regards,
>> Mauro
>
> No there's nothing else at Bus 2 (I did a umount on the WD usb disk, cannot unplug devices since I'm logged in remotely right now), and Wireless is a pci device:
>
> lin-tv ~ # lspci
> 00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
> 00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
> 00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
> 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
> 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
> 00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
> 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
> 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
> 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
> 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
> 00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
> 00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
> 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
> 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
> 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
> 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
> 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
> 00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
> 00:1f.2 RAID bus controller: Intel Corporation Mobile 82801 SATA RAID Controller (rev 03)
> 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
> 01:00.0 VGA compatible controller: nVidia Corporation Device 06fb (rev a1)
> 03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
> 03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
> 03:01.2 SD Host controller: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)
> 0c:00.0 Network controller: Intel Corporation PRO/Wireless 5300 AGN [Shiloh] Network Connection
> 0e:00.0 Multimedia audio controller: Xilinx Corporation RME Hammerfall DSP (rev 3c)
>
> lin-tv ~ # lsusb
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 003: ID 413c:2513 Dell Computer Corp. internal USB Hub of E-Port Replicator
> Bus 001 Device 005: ID 0c45:63f8 Microdia Sonix Integrated Webcam
> Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
> Bus 005 Device 002: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor
> Bus 006 Device 002: ID 0451:2036 Texas Instruments, Inc. TUSB2036 Hub
> Bus 003 Device 003: ID 413c:8157 Dell Computer Corp. Integrated Keyboard
> Bus 003 Device 004: ID 413c:8158 Dell Computer Corp. Integrated Touchpad / Trackstick
> Bus 006 Device 004: ID 046d:c704 Logitech, Inc. diNovo Wireless Desktop
> Bus 003 Device 005: ID 413c:8156 Dell Computer Corp. Wireless 370 Bluetooth Mini-card
> Bus 002 Device 008: ID 2040:1605 Hauppauge
>
> Devices at Bus 2:
>
> lin-tv ~ # lsusb | grep "Bus 002"
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 008: ID 2040:1605 Hauppauge
There's nothing at the DVB core returning -ENOSPC.
Try to add just one line to a channels file, like this one:
C 602000000 6900000 NONE QAM256
(this is the transponder that failed with w_scan. You could also use one
of the transponders where you got a pid timeout with scan)
Then call scan with this file, using strace:
$ strace -e ioctl dvbscan channelfile
This would allow to see what ioctl returned -ENOSPC (error -28).
Regards,
Mauro
next prev parent reply other threads:[~2011-12-07 14:54 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-02 19:41 Hauppauge HVR-930C problems Fredrik Lingvall
2011-12-02 19:45 ` Devin Heitmueller
2011-12-05 23:37 ` Eddi De Pieri
2011-12-06 8:38 ` Fredrik Lingvall
2011-12-07 12:22 ` Mauro Carvalho Chehab
2011-12-07 12:56 ` Mauro Carvalho Chehab
2011-12-07 13:31 ` Fredrik Lingvall
2011-12-07 13:55 ` Mauro Carvalho Chehab
2011-12-07 14:25 ` Fredrik Lingvall
2011-12-07 14:54 ` Mauro Carvalho Chehab [this message]
2011-12-08 8:31 ` Fredrik Lingvall
2011-12-08 15:02 ` Mauro Carvalho Chehab
2011-12-10 13:43 ` Fredrik Lingvall
2011-12-10 16:02 ` Mauro Carvalho Chehab
2011-12-17 17:42 ` Fredrik Lingvall
[not found] <CALJK-QhGrjC9K8CasrUJ-aisZh8U_4-O3uh_-dq6cNBWUx_4WA@mail.gmail.com>
2011-12-15 8:04 ` Fredrik Lingvall
2011-12-15 9:54 ` Mauro Carvalho Chehab
[not found] ` <CALJK-QjxDpC8Y_gPXeAJaT2si_pRREiuTW=T8CWSTxGprRhfkg@mail.gmail.com>
2011-12-16 8:20 ` Fredrik Lingvall
[not found] ` <CALJK-Qhpk7NtSezrft_6+4FZ7Y35k=41xrc6ebxf2DzEH6KCWw@mail.gmail.com>
[not found] ` <4EECB2C2.8050701@gmail.com>
2011-12-17 19:09 ` Mihai Dobrescu
[not found] ` <4EECE392.5080000@gmail.com>
[not found] ` <CALJK-QjChFbX7NH0qNhvaz=Hp8JfKENJMsLOsETiYO9ZyV_BOg@mail.gmail.com>
2011-12-17 19:59 ` Mihai Dobrescu
2011-12-18 9:20 ` Fredrik Lingvall
2011-12-25 15:56 ` Fredrik Lingvall
2012-01-10 14:42 ` Fredrik Lingvall
2012-01-10 19:30 ` Mihai Dobrescu
2012-01-10 19:41 ` Mauro Carvalho Chehab
2012-01-10 20:23 ` Mihai Dobrescu
2012-01-10 20:35 ` Mauro Carvalho Chehab
2012-01-11 5:28 ` Mihai Dobrescu
2012-01-11 10:53 ` Mauro Carvalho Chehab
2012-01-11 12:24 ` Fredrik Lingvall
2012-01-11 9:21 ` Fredrik Lingvall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EDF7E23.3090904@redhat.com \
--to=mchehab@redhat.com \
--cc=fredrik.lingvall@gmail.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.