From nobody Fri Aug 12 20:34:53 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M4FmD1jx4z4Z9Vx for ; Fri, 12 Aug 2022 20:35:08 +0000 (UTC) (envelope-from harris.snyder@gmail.com) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M4FmC3NkFz3xFT for ; Fri, 12 Aug 2022 20:35:07 +0000 (UTC) (envelope-from harris.snyder@gmail.com) Received: by mail-lf1-x135.google.com with SMTP id c17so2769615lfb.3 for ; Fri, 12 Aug 2022 13:35:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc; bh=6a+WdKWQYnCU9ZLMS9fahsD/z9RZYT1usbQTU5fDmSU=; b=IOdMtqlgtJ/NN1N2E2DGWhuf+TEj/GzsZVrK2/AO8Nla/8Chi5mpjM6J90atIMdO24 B84n0Mbb8AkckPF0KX8f1CASEHPQa+HlpXblwxn1A6ljSiSBFF3ldw9eijx20Vt3lVfZ /HIQkGgwgppuBCURkCWfq0RtJklFLUBN7gI/pjtywcHU9QapozC40enK5h/68yLf/7Pc ol3eR+U1GT33+LAHjYElMMdHiUDtNVO1j/1CquKV3ctiNhBQ1YqP1PVczi/F+09R3w5g AtI4zwR5linC5t++ktSkI3FwqniIM6Lt78fM1uBT3DcFaVkIUxUBz4SrEJB8Bo1Tj+eE 7hkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc; bh=6a+WdKWQYnCU9ZLMS9fahsD/z9RZYT1usbQTU5fDmSU=; b=dPl1/60Ir+ZPdizyfkegvP4jT46qiwXGwQky2vtk1a7FEAConj0uF5czTQxPZSpD1b PJFl8xsojW7is7qNQgDHoLFCnVGfyXvyaJwfF8fqRgF5MqNRe436HpKVst7FgmPR2Ri7 i5HsxHi0orGk1Wpki2GpDVEn5tQSOPLeKhTIeWBS7yGrlYdJb2z5QUTdG9nHBoL3kqHf pLac131xtkeogVzid8X+S/x1iHtkUKLxb95SmsW440e8dQNOwLY1n5hQ3T7wBuXM7A5L yuTtpckpU5hhVQt4iLLGuRMtArAYllA5alwCn7mheazodL+1Oxud1v/oI6yMD2jpMSdl akLg== X-Gm-Message-State: ACgBeo2pjYPU6vEqfZZMsFzxtoq5SDmYlDkwDffiF1sROdBI646rmXMz CBmZiJnvnuAkn+KH9dOx98ORYBqPokapu/ddF0x1nzI2 X-Google-Smtp-Source: AA6agR4Yt//ElAnm5+aI7+tLTazyTh+BiLBzUN0uiGsp3KBsopvKT648gVpaMi/B2gyLwo/2qtyUC+YQkU0V4UTRqMI= X-Received: by 2002:ac2:5f77:0:b0:48b:3886:5d55 with SMTP id c23-20020ac25f77000000b0048b38865d55mr1702539lfc.668.1660336505026; Fri, 12 Aug 2022 13:35:05 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 From: Harris Snyder Date: Fri, 12 Aug 2022 16:34:53 -0400 Message-ID: Subject: Strange behavior of USB PCIe add-in cards To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4M4FmC3NkFz3xFT X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=IOdMtqlg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of harris.snyder@gmail.com designates 2a00:1450:4864:20::135 as permitted sender) smtp.mailfrom=harris.snyder@gmail.com X-Spamd-Result: default: False [-3.93 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.997]; NEURAL_HAM_SHORT(-1.00)[-0.996]; NEURAL_HAM_MEDIUM(-0.94)[-0.936]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::135:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hello everyone, I have two USB3 PCIe cards (different chipset vendors) that are both exhibiting the same symptoms: - They are detected and attached to the xhci driver. - They sort of work (a usb stick seems to work for file IO) - When an interactive device (e.g. USB sound card, mouse, or keyboard) is connected, they seem to drop the overwhelming majority of input events. For example, the mouse moves jerkily, at intervals of several seconds. Most keypresses on a keyboard are missed, and occasionally a "key up" event seems to be missed and the same key is typed repeatedly. A USB sound card has stutters and hitches in the audio output. Does anybody recognize this behaviour or know of a solution? I have tried: - A different PCIe slot - Two different PCIe USB3 cards from different vendors (and different chipset vendors - VIA and ASMedia). One of the cards uses the VIA VL806, which some users on the FreeBSD forum have reported working... I'm using CURRENT, but about 2 weeks behind... Thanks, Harris