From owner-freebsd-usb@freebsd.org Tue Oct 10 18:15:17 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 171FBE39230 for ; Tue, 10 Oct 2017 18:15:17 +0000 (UTC) (envelope-from Alexander@leidinger.net) Received: from mailgate.Leidinger.net (mailgate.leidinger.net [IPv6:2a00:1828:2000:375::1:5]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A493866A86 for ; Tue, 10 Oct 2017 18:15:16 +0000 (UTC) (envelope-from Alexander@leidinger.net) Date: Tue, 10 Oct 2017 20:14:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1507659308; bh=tib0xN+qmj+p3dXU+0HJpXraVvFPLFUnYNyzBHCxNZs=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=t5VTEZhWsVbE5qpkIK94+UGwZBWVqy11C/rtxqktU2jL0wl3bEWzYqeEM+g1cQVvI Tjvmfsos6CbPehBSTxVazSNwcL4Y97Ls7ht5GUjMjDraz6RB4oV6z8LevmDeDW/t85 a4oUDtE9AniKq12l4Bzk65v+rRtHAgi0N0sCMWIdNokR5u8ywrgfV/eutGcvriKukj PqMG7XWVZ0i/njPzSkbxA+0U+7bD4SiLLGGzoRkxZpflMcjS6gw8UU4DiwhcLQHl/o Bk4hhRSe0M64ScQOIhDZ8VKlLECK1catndC8xng6rO13x3zNGQqZ/gf/w4PMeSLo16 oJpP5Jr8/o+2g== Message-ID: <20171010201437.Horde.akunLS7Olg1TP_2Xo07fLI3@webmail.leidinger.net> From: Alexander Leidinger To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org Subject: Re: uaudio - distorted output References: <20171008125631.Horde.ZsqSFDr1-uiT1YrkgH5i0tF@webmail.leidinger.net> <633f23dd-3b61-fe17-b894-6b1221a5dfd4@selasky.org> <20171008142514.Horde.hRkzth4Ur4wvjgUIlWuc70c@webmail.leidinger.net> <21e04dc4-045d-fb30-337a-7f7bd4fe8b50@selasky.org> <20171008230836.Horde.gG7VyE_62V3bMJX_VtbUrAP@webmail.leidinger.net> <85f5fd9a-2a58-9f5d-6796-716aae617274@selasky.org> <20171009210535.Horde.-orp9MzE2_7XgkKpP7K9L4J@webmail.leidinger.net> <9399c2dc-b514-fd0f-3401-57d43daad96b@selasky.org> <20171009214747.Horde.6Me9X2nep_RP1M2tHVDmKxq@webmail.leidinger.net> In-Reply-To: User-Agent: Horde Application Framework 5 Content-Type: multipart/signed; boundary="=_dYRUBxqXwb6MJfZmNenhwlV"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 18:15:17 -0000 This message is in MIME format and has been PGP signed. --=_dYRUBxqXwb6MJfZmNenhwlV Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Hans Petter Selasky (from Mon, 9 Oct 2017=20=20 22:38:32=20+0200): > On 10/09/17 21:47, Alexander Leidinger wrote: >>> If you are using multi channel audio equipment with 24-bits, try=20=20 >>>=20to avoid FULL-speed ones! I have now tried every single USB connector, external and internal.=20=20 None=20of them attaches to the EHCI bus. :( The only connector which I=20= =20 was=20not able to test is labeled "USB SSD" and has a smaller pin-grid=20= =20 than=20those other internal usb-PIN-connectors with cables to the front=20= =20 of=20the case. I think I will now buy a PCIe USB3.0 card. Anything I should avoid?=20=20 Anything=20you recommend? I found this: =20=20=20=20=20 www.amazon.de/CSL-Express-Controller-SATA-Stromanschluss-Schnittstellenkart= e/dp/B00OBACW0G which=20seems to have some VLI chip on it. I haven't found anything=20=20 usable=20in terms of vendor/product ID or such. 4 ports may be enough, for an external USB backup HD, the soundcard,=20=20 and=20a video device, but for ~10 EUR difference... >> Well... first I want to get the 2 channel 16bit case working...=20=20 >>=20then I will have a look at extending this to 5.1 (most probably=20=20 >>=2016bit, that's enough to watch action movies). > > Hi, > > Some more ideas: > > 2 channel 16 bit will only work if you turn off bitperfect. The I activated bitperfect as a test because I got the distortion and was=20=20 hoping=20to either gain some lower-latency or at least get rid of some=20= =20 layers=20of code to rule out issues there. > lowest number of channels the device exports is 4 for playback. That=20= =20 >=20means the kernel will re-format 2 channels to 4 channels always and=20= =20 >=20that is done by the PCM feeder. You'll need to check that there is a=20= =20 >=20filter which handle that. > > You might want to install virtual_oss from ports to handle this=20=20 >=20device properly. In the end I want 5.1 output, so if the bus speed doesn't give me=20=20 this:=20no need to waste our time with the slow ports. Bye, Alexander. --=20 http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_dYRUBxqXwb6MJfZmNenhwlV Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJZ3Q4NAAoJEKrxQhqFIICEZJMP/AlEH3zYP4kTxAY0tuohW2pt ycFESRcShBf0mKR4XfeV25MnBXDBv8R3DvX7t7nKOHL2bJ1VZHsoQf6kx5YLPALM lQ9r5fLz+9K3CXSGuu4QQ7gebg79/7MdKtLdmL+qoz7ImvaQqHFqXLT8o2pX85gM RfkwvQE4KJs6OSgk3YzWeBuMxhrRhmCDeqpJGl1kcdlj4wY9fCowJT+PAq8TLoxn e05pi2u+SxOeUcDuoKTXftjq9TR5eHCyTJpUKJedJmSR4FWXR9jzaP9eaz/+fGo0 P41fwwUiOjfV+e5LfPcq0D4UB4FTt6OGZQHqpVxlSx/osk+0jfc9IRMpEMZ7B5lO qfKjmZ22dVLPp2yiDN6T7ziXwyX3UHwrGuiuYe4RzRxOQ2jFnxN8oSL7Yvh3b5qr V3bsr+fIGO5bxUzOSSr+BaTwshyS/7567C5eeduOMdqk0cCg+degJyzVZdXE2HA0 d+1pxw3e/jySpw8c9sLkG7yk/w2Rs3631moEWGrhGdzYk83keDRtRVXbTAP2Dgh4 qF5kjesHAmX0VZBRt2Axy8vEp2Cz6Il4lfQYCRROPEwCvFYDknEObt9BtHKhadkN URq/DSD771xBx0fPTMEeEX7zzpX+DXsHtaL2NQO3SWEj+ToO3E+vmLJ76m2cN/5F tpP5e6lCSKoy9fmsyNh6 =pHjY -----END PGP SIGNATURE----- --=_dYRUBxqXwb6MJfZmNenhwlV--