From owner-freebsd-questions@freebsd.org Tue Feb 5 10:12:36 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E507214AF0DE for ; Tue, 5 Feb 2019 10:12:35 +0000 (UTC) (envelope-from j.maxuel@gmail.com) Received: from mail-it1-x12f.google.com (mail-it1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F60B6A17D for ; Tue, 5 Feb 2019 10:12:34 +0000 (UTC) (envelope-from j.maxuel@gmail.com) Received: by mail-it1-x12f.google.com with SMTP id h193so6756800ita.5 for ; Tue, 05 Feb 2019 02:12:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=xgg41qOKz9cdgsCAxFBNvDFxPuttV7k2mdCYxGP34TI=; b=EIbWUcAzBImodnqlgWcY8HYuviNJXpCx4h+M7J07PXkquCv3cje8SmguEoHth7at5z LrkEQHvVOnWfgAupoPHVQv0URGbCg0aa9kn+hM3OK6aIMlw0MxDtSgFdrAIeah27eUDm 6vCzmNXitcv60U0jDThXr0x6gwnt907oq3D9Tf+iGDnXh2y6x+dur1P/U9PE2qCCmaHG IrG0d8bLDOzUzdJIIS9ELnPn6N0olk0lH0P7oYAJlf9gzhl3p4wvs0E7MuWzj/FXH5zZ rOpwwcAkA3/olE+2owa1b0xt/igRvkWFLb4X9ehQ3RlSkwG88u2SIEf4y9frTbgmg0wp taog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xgg41qOKz9cdgsCAxFBNvDFxPuttV7k2mdCYxGP34TI=; b=VaeoDrn6ztthkn+/uKnoGIEd846Pd+ebgtvEiMswv+dy5/R/hzvHyxUPy5GBPb9TDM R2BaWCeNHvEwglfG40VpzuHg6ZbuBF6cuiDi5FJHNB3hIhOdq0W1+GjG2SR0U9cyRTFW bEA9w4BUtkz+Jr+2s5snWxokEOaKGU5KvMx7TSxrIxYlQgRWijxHBI1tGMKaInt+DHJU 0a7eIHIbmNIG49seyE1uoZschdxna0ddUETd6MleJkTgpi0U55VKAmrwaB8UvsJeyTua 93OnPlI1UD2vmQuNTEJOc/VvePeFMjEmK/qD/7NhPj+VKze4UAITlfuQJGV0UQ3M4nWH bdsg== X-Gm-Message-State: AHQUAubiqjqbG82DvJZDRaprrmi8eorGExr8PISCapf05qj05x/c4qdI aEILFP+QpKFySw+EaUCgXNhiF/UhAAUMZuGRiclAvCZ2INA= X-Google-Smtp-Source: AHgI3IaITPbDB1/Ka9IZWqyRktRcJJBG9MUv/4/38dm63nz210XyCg2CVmZLX18/9VomWaZZyM+6vXtHyWzQdSnGsvI= X-Received: by 2002:a24:69cd:: with SMTP id e196mr2394181itc.161.1549361553551; Tue, 05 Feb 2019 02:12:33 -0800 (PST) MIME-Version: 1.0 From: Joel Maxuel Date: Tue, 5 Feb 2019 06:12:22 -0400 Message-ID: Subject: USB hub does not reconnect in XFCE4; `usbconfig` freezes To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 8F60B6A17D X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=EIbWUcAz; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of jmaxuel@gmail.com designates 2607:f8b0:4864:20::12f as permitted sender) smtp.mailfrom=jmaxuel@gmail.com X-Spamd-Result: default: False [-6.59 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.89)[-0.889,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.69)[ip: (-8.99), ipnet: 2607:f8b0::/32(-2.44), asn: 15169(-1.94), country: US(-0.07)]; RCVD_IN_DNSWL_NONE(0.00)[f.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2019 10:12:36 -0000 Hi all, I am attempting to sort out an issue similar to: https://forums.freebsd.org/threads/weird-xhci-crash-freeze-after-resume-from-suspend.68277/ ... that I have now noticed only applies when logged into a GUI (in this case XFCE4) - console and slim reconnect fine. As per the paste (link below to avoid cluttering this thread) while in XFCE4, when I turn off my USB hub (as in my main monitor), a few devices disconnect (normal behaviour and observed in other modes). When power is restored, the USB devices do not come back online, and I have found that the `usbconfig` command freezes when executed by this point. https://pastebin.com/9vewp8g4 My monitor hub is on a USB2 port, so cannot say it's an XHCI issue. I am curious if the problem has to do with my default mic being the webcam (which is built into the hub; I cannot move it to a dedicated port to test) and losing power to the mic creates a hopeless situation starting with the mixer. If so, is there some script-fu to change the default mic based on the presence of the webcam? Other possibilities? Thanks. -- Cheers, Joel Maxuel