Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2017 11:53:29 +0100
From:      Markus Rechberger <mrechberger@gmail.com>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: What is wrong with FreeBSD and USB Support
Message-ID:  <CA%2BO4pCLvWi3hpLKfXiabQ6en0=PryXQC91tqeuj3VPCE8HQ_jg@mail.gmail.com>
In-Reply-To: <CA%2BO4pCLLSgdFOpJvnrD_F5Zh1aOGQexjiKKSiPbpcsKWs8wgUQ@mail.gmail.com>
References:  <CA%2BO4pCK4%2B1rE5ft4Boy_3xPdCxK31UtTQ2BYpnBUn5jxZr%2Bz_g@mail.gmail.com> <CA%2BO4pCJr5Bq-sgjzvZQB-mFRT6x7Tp3psga6f__V9Ag-=v-mhw@mail.gmail.com> <CA%2BO4pC%2Bf5xzOjENKSJu_sQeaiN3XL3WiTcRQvm4vVweQ71Xtrg@mail.gmail.com> <CA%2BO4pC%2B1t67ODF7bkyVhcojXTLnFkS28RbFAc%2Be-tjNncogMAQ@mail.gmail.com> <CA%2BO4pCLRJRFG8Sv6C=FK6myBDPdUfhNjZ88P=e1uuH2=ojB75w@mail.gmail.com> <1aff0983-deb6-2884-472c-bb1e1037275c@selasky.org> <CA%2BO4pCLLSgdFOpJvnrD_F5Zh1aOGQexjiKKSiPbpcsKWs8wgUQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 6, 2017 at 11:49 AM, Markus Rechberger
<mrechberger@gmail.com> wrote:
> On Mon, Mar 6, 2017 at 11:34 AM, Hans Petter Selasky <hps@selasky.org> wrote:
>> On 03/06/17 11:00, Markus Rechberger wrote:
>>>
>>> even though it's going up and down DVB-T is okay due to the lower
>>> bandwidth so something's obviously wrong with the freebsd USB Support.
>>
>>
>> Hi,
>>
>> Can you provide a usbdump trace and send it to me off-list?
>>
>> usbdump -i usbusX -f Y -s65536 -w usb_capture.pcap
>>
>> X and Y are number after ugenX.Y
>>
>> If you are using ISOCHRONOUS high-speed transfers with an XHCI USB
>> controller, the XHCI is much less forgiving about the USB PIDs of the
>> multi-data payloads coming from the USB device than the EHCI. I have seen at
>> least one DVB-T USB adapter which is totally broken with XHCI and works just
>> fine with EHCI. This has been verified with a USB wire analyzer.
>>
>
> I'm using EHCI only.
>
> Attached you can find the pcap file.
>
> Please note that DVB-T is okay due to the low bandwidth, only high
> bandwidth kicks in immediately with stalled transfers
>

We have 2 issues so far
1. slow usb control messages - did you already noticed that?
2. high latency bulk requests (I have seen this issue with Linux and
MacOSX too if we don't request enough urbs at once) Seems like that
double buffering strategy with FreeBSD is a real problem now - of
course you cannot have all the hardware out there so that issue might
be new for you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BO4pCLvWi3hpLKfXiabQ6en0=PryXQC91tqeuj3VPCE8HQ_jg>