From nobody Fri Mar 24 09:46:59 2023 X-Original-To: freebsd-usb@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 UTF8SMTP id 4Pjcn34bYGz41M7m for ; Fri, 24 Mar 2023 09:47:03 +0000 (UTC) (envelope-from freebsd-usb@dino.sk) Received: from cm0.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with UTF8SMTPS id 4Pjcn31fSQz3lcN for ; Fri, 24 Mar 2023 09:47:03 +0000 (UTC) (envelope-from freebsd-usb@dino.sk) Authentication-Results: mx1.freebsd.org; none Received: from zeta.dino.sk ([84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1.3,256bits,TLS_AES_256_GCM_SHA384) by cm0.netlabit.sk with ESMTPSA id 0000000000B05B7F.00000000641D7194.0000D70C; Fri, 24 Mar 2023 10:47:00 +0100 Date: Fri, 24 Mar 2023 10:46:59 +0100 From: Milan Obuch To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org Subject: Re: Which serial driver for the development board? Message-ID: <20230324104659.3b64dd98@zeta.dino.sk> In-Reply-To: <072843c0-25d6-8c16-2b65-3d55560cf76d@selasky.org> References: <20230323130418.5ba9954f@zeta.dino.sk> <88f9b5a4-1e7f-ea9e-e170-888a8713a060@selasky.org> <20230323170028.186d77ed@zeta.dino.sk> <27d8da5f-f2f8-af1d-8300-4d7ccb35744b@selasky.org> <20230323220342.76a6c37a@zeta.dino.sk> <072843c0-25d6-8c16-2b65-3d55560cf76d@selasky.org> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Pjcn31fSQz3lcN X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Fri, 24 Mar 2023 09:57:41 +0100 Hans Petter Selasky wrote: > On 3/23/23 22:03, Milan Obuch wrote: > > I think there is some bug in device's firmware, but as MacOS was > > able to communicate with it out-of-the-box, no configuration > > necessary on MAC, there should be a way... > > Yes. > > There are some sysctl quirks you can play with. Maybe the no strings > quirk will do the trick. > > The device was only tested with MacOS and Windows probably. Nothing > more nothing less :-) > > --HPS > I tried no strings quirk: # usbconfig dump_device_quirks | grep 6141 VID=0x1d50 PID=0x6141 REVLO=0x0000 REVHI=0x0000 QUIRK=UQ_NO_STRINGS but I think it did not help: # usbconfig -d ugen0.5 list ugen0.5: at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) Looking over quirk names, I tried add UQ_ASSUME_CM_OVER_DATA and UQ_CFG_INDEX_0 as well, but no change, yet. Note, I disconnected the board after every change and press reset on it, so I think we can safely assume quirks were really in effect, but nothing helped, yet. Regards, Milan