From nobody Sun Jan 14 16:36:04 2024 X-Original-To: freebsd-arm@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 4TCgrM40Sfz56bhV for ; Sun, 14 Jan 2024 16:36:03 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TCgrL319jz4HwF for ; Sun, 14 Jan 2024 16:36:02 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 40EGa4VC026537 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sun, 14 Jan 2024 08:36:05 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 40EGa48C026536 for freebsd-arm@freebsd.org; Sun, 14 Jan 2024 08:36:04 -0800 (PST) (envelope-from fbsd) Date: Sun, 14 Jan 2024 08:36:04 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Re: USB-serial adapter suggestions needed Message-ID: References: <7D27DF9F-AA9A-4D44-BC28-8CC637D0F550@yahoo.com> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: - X-Spamd-Result: default: False [-1.10 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; MID_RHS_WWW(0.50)[]; WWW_DOT_DOMAIN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; DMARC_NA(0.00)[zefox.net]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; ARC_NA(0.00)[]; R_SPF_NA(0.00)[no SPF record] X-Rspamd-Queue-Id: 4TCgrL319jz4HwF On Sun, Jan 14, 2024 at 10:52:34AM +0000, void wrote: > Hi Bob, > > The following *may* be useful to you.. > > (rpi4 context) > > I've noticed, both on 13-stable and 14-stable, that, if both > onboard usb2 ports are utilised (eg keyboard & mouse) that > signals keyboard<>mouse interfere with each other. > It's easy to reproduce this problem. It's been a while > since testing that exact context, though. > > When running headless, I needed to make sure the ups cable > (serial) was plugged into the remaining usb3 port (and not usb2 > where a wifi dongle was plugged in) because communication from > the ups would make the wifi page down if both were plugged into the usb2 > side. The wifi would make the usb serial misbehave (caused 'no signal coming > from ups' type of error) too. > > I've had to press the hardware into service so cannot produce detailed error > output for now. At the moment I have two Pi4's, one running FreeBSD-current. That machine has a USB hard disk (boot device) in one USB 3 port, an ft232 usb-serial adapter (probably USB 2) in the other USB 3 port, with a keyboard and mouse pulugged into the two USB 2 ports. I've not noticed any problems with either keyboard or mouse. Of course, all are plugged in all the time, so there's only one enumeration happening, at boot. The Pi4 that I reported the problem with runs 64 bit RasPiOS. It has a single USB 3 hard disk (boot device) and a usb 2 keyboard with an internal hub, the mouse being plugged into the hub. It boots fine with that combo, I haven't tried moving the mouse to the other usb 2 port. When it's convenient to provoke a crash I'll try. I intended the mention of RasPiOS trouble with USB as recognition that USB is imperfect. I didn't mean to suggest that if Linux can't do something FreeBSD shouldn't try. Thanks for writing, bob prohaska