From nobody Wed Mar 15 17:32:32 2023 X-Original-To: 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 ESMTP id 4PcHXK0R63z3xXbq for ; Wed, 15 Mar 2023 17:32:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PcHXJ46wKz3N7W for ; Wed, 15 Mar 2023 17:32:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678901552; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XxoKDJh37h1s/yueYAWKbSZheYxm39/nje72MBals3M=; b=HQNBBrj74iuwQtBGF81MufOzQF9rfjG7hGVsnqCAG65TXRV1VZSjK6E7EO85PR0cK/zAmY +ovw0vc3+qhFHsg5LL8nzkvjLw7bUhV0Rl0Jct2uzYQGvz/zQnmJdOVwzEwSUOCj+x5kBg H+VNHmWRjgLxPNZhLdgz/g4p5tyS7q9D9yJCgXEznVhqpm9pGRx9unjtxl4VanLcXsW1ZK vk2HG2ovEHqftKtSoAyrPa4Nd55Xj4LaDsSf+F4g9ugoYybRHasBIt24H0ptw2P1vEYGys 8ka9TzmHteBFGdht+qRmw++qNiDVAkelh5/h2hynfsJ5JH2QqZte242obR5IaQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678901552; a=rsa-sha256; cv=none; b=cqRsx2s1tFhd84jiId4nGkNyDf8uJHeTazNN3bvpiZmet5p0fvOrxT8DOtz09TpSaGr4y2 CGkzCtpr0uiBDkS7IGTuaoulgAMfrxjnZn7nKnx3mDtRFIX1qeut2b5aXeiTNGqqRXgn4C 9sH4RkGPzadetQr/aE46b5vxyBPCF0hcBfsU1Vue9kHTZBTJVzkmYZqZJMsMZgK62pabhs dC/dpHvGNtXonzOokQFF+xLDZARck9ydtNYPnM5eN8c4o1+VZtR/ya3ESYVIpmaVLJSD6B KIUUI4cE6oPFKhtIES9Zyy62KN5KSbMSnpQ91XuI7cSplRunotW0qrnL2rAkPQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PcHXJ3Byyz1Q9R for ; Wed, 15 Mar 2023 17:32:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 32FHWWVA052182 for ; Wed, 15 Mar 2023 17:32:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32FHWWMk052181 for usb@FreeBSD.org; Wed, 15 Mar 2023 17:32:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 270070] Bios prevented loading with red box Date: Wed, 15 Mar 2023 17:32:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270070 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #1 from Ed Maste --- can you attach a screenshot or photo of the failure? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Mar 19 21:00:09 2023 X-Original-To: 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 ESMTP id 4Pfqy174Hmz3ygsG for ; Sun, 19 Mar 2023 21:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pfqy157w8z3p6d for ; Sun, 19 Mar 2023 21:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679259609; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H/Ny9Puki1GKoPya4k806WOFES1v/dPFavqTVRqRrOw=; b=ZoAv0vitlTXfoNGGVOvDlbPe9FkhbO7VzmKtSzGDmwKPBP25lF+oPCF1lO44KGyNELYjgT cvilLXqk3UM1XMGWsq9YjQAXh//f6ufQjEs4bnQDV8xKAMmTzMFx0qE9M3sV8cwBLCSu/i 4mSU0yfJ6acnOQ4qjWkt/XtwsHTB0bFoA2UquEzX204q6gfpbzrKDo/Tdw3INOni1UVaoZ kQ7bJhFQbiPCilTakPeI5or1kuLELNI9JX7fFiYndxRLcCdNLxSxereZBIo1axOs6IcZK0 JpD3l0VR+H2obff67kr42mBRGoAh1rxz3xOfQ5fGk+fWJaugDlHAv0k5VCfQyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679259609; a=rsa-sha256; cv=none; b=F0AScHakYNr4CUOjR49THRokistRwIk2fsJIgKnpCDe0lF1NHpmTuxONBAaTu/h3Hzsl4P rCub0wSZMIj7CH720IdKxsWQ1vScUKGEsUJzizzUaS/HOQt+l6lxVN0Mo3Umq8Hj+VbEYO d1v+q/98LF+2NJ76n5lxopswXvMCqmRkF3TW2KSuNnAULOiutl7EDmRP/iAWCyusM45aly 4Zp8+NEDbav3hTz7Ui8S1HwkNST2azunh0DrW2GcFF+9decEjNHs0fUEuzA8PlE0cL6sCN 12PFDPwlNXOegUNEs7pVFpOpL/ccKfJBqlsQxMmXDpwePDOfIbwFfHNLUcr/1w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Pfqy14Ddqz13cT for ; Sun, 19 Mar 2023 21:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 32JL09ZK043141 for ; Sun, 19 Mar 2023 21:00:09 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32JL09tC043140 for usb@FreeBSD.org; Sun, 19 Mar 2023 21:00:09 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202303192100.32JL09tC043140@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: usb@FreeBSD.org Subject: Problem reports for usb@FreeBSD.org that need special attention Date: Sun, 19 Mar 2023 21:00:09 +0000 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: multipart/alternative; boundary="16792596094.9FcDd9Dda.41353" Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N --16792596094.9FcDd9Dda.41353 Date: Sun, 19 Mar 2023 21:00:09 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 213877 | xhci reset causes panic on SuperMicro A1SRi-2758F Open | 234578 | Support for Sierra Wireless EM7455 modem Open | 247964 | Low read throughput on Sandisk Extreme external S 3 problems total for which you should take action. --16792596094.9FcDd9Dda.41353 Date: Sun, 19 Mar 2023 21:00:09 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
Open        |    213877 | xhci reset causes panic on SuperMicro A1SRi-2758F
Open        |    234578 | Support for Sierra Wireless EM7455 modem
Open        |    247964 | Low read throughput on Sandisk Extreme external S

3 problems total for which you should take action.
--16792596094.9FcDd9Dda.41353-- From nobody Thu Mar 23 12:04:18 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 4Pj3t50Kh1z41GPD for ; Thu, 23 Mar 2023 12:04:29 +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 4Pj3t35Bd0z4JCN for ; Thu, 23 Mar 2023 12:04:27 +0000 (UTC) (envelope-from freebsd-usb@dino.sk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-usb@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-usb@dino.sk; dmarc=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 0000000000B05AF0.00000000641C4043.0000436B; Thu, 23 Mar 2023 13:04:19 +0100 Date: Thu, 23 Mar 2023 13:04:18 +0100 From: Milan Obuch To: freebsd-usb@freebsd.org Subject: Which serial driver for the development board? Message-ID: <20230323130418.5ba9954f@zeta.dino.sk> 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-Spamd-Result: default: False [-1.84 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.99)[-0.991]; NEURAL_HAM_SHORT(-0.55)[-0.549]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-usb@freebsd.org]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[dino.sk]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Pj3t35Bd0z4JCN X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N Hi, I just received Sparkfun QuickLogic board. After connecting it via USB, I found following device: # usbconfig -d ugen0.5 dump_all_desc ugen0.5: at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0002 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0020 idVendor = 0x1d50 idProduct = 0x6141 bcdDevice = 0x0000 iManufacturer = 0x0000 iProduct = 0x0000 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 Searching for VID and PID did not get me anything. Trying any of our USB serial driver did not create any device. How can I connect to this device? It should be some serial port because that's what Sparkfun page says... Any hint? Regards, Milan N. B. I was able to connect to this device using my Mac: # cu -l /dev/tty.usbmodem1411 Connected. ############## Hello world!! #******************* Command Line Interface App SW Version: qorc-sdk/qt_apps/qt_helloworldsw #******************* From nobody Thu Mar 23 14:05:02 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 ESMTP id 4Pj6Y50HF8z41NdP for ; Thu, 23 Mar 2023 14:04:57 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 ESMTPS id 4Pj6Y44s37z4X26 for ; Thu, 23 Mar 2023 14:04:56 +0000 (UTC) (envelope-from hps@selasky.org) Authentication-Results: mx1.freebsd.org; none Received: from [10.36.2.154] (unknown [46.212.121.255]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 873C22603D2; Thu, 23 Mar 2023 15:04:53 +0100 (CET) Message-ID: <88f9b5a4-1e7f-ea9e-e170-888a8713a060@selasky.org> Date: Thu, 23 Mar 2023 15:05:02 +0100 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: Which serial driver for the development board? Content-Language: en-US To: Milan Obuch , freebsd-usb@freebsd.org References: <20230323130418.5ba9954f@zeta.dino.sk> From: Hans Petter Selasky In-Reply-To: <20230323130418.5ba9954f@zeta.dino.sk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Pj6Y44s37z4X26 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 3/23/23 13:04, Milan Obuch wrote: > Hi, > > I just received Sparkfun QuickLogic board. After connecting it via USB, > I found following device: > > # usbconfig -d ugen0.5 dump_all_desc > ugen0.5: at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0002 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0020 > idVendor = 0x1d50 > idProduct = 0x6141 > bcdDevice = 0x0000 > iManufacturer = 0x0000 > iProduct = 0x0000 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > Searching for VID and PID did not get me anything. Trying any of our > USB serial driver did not create any device. How can I connect to this > device? It should be some serial port because that's what Sparkfun page > says... Any hint? > > Regards, > Milan > > N. B. I was able to connect to this device using my Mac: > > # cu -l /dev/tty.usbmodem1411 > Connected. > ############## > > > > Hello world!! > > #******************* > Command Line Interface > App SW Version: qorc-sdk/qt_apps/qt_helloworldsw > #******************* > Hi! Did you try to dump the configuration descriptor? Maybe umodemX can handle it ... --HPS From nobody Thu Mar 23 16:00:28 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 4Pj96S6BJWz41Vbf for ; Thu, 23 Mar 2023 16:00:32 +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 4Pj96S3Mkfz3CPx for ; Thu, 23 Mar 2023 16:00:32 +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 0000000000B05B83.00000000641C779D.0000D8C3; Thu, 23 Mar 2023 17:00:29 +0100 Date: Thu, 23 Mar 2023 17:00:28 +0100 From: Milan Obuch To: freebsd-usb@freebsd.org Cc: hps@selasky.org Subject: Re: Which serial driver for the development board? Message-ID: <20230323170028.186d77ed@zeta.dino.sk> In-Reply-To: <88f9b5a4-1e7f-ea9e-e170-888a8713a060@selasky.org> References: <20230323130418.5ba9954f@zeta.dino.sk> <88f9b5a4-1e7f-ea9e-e170-888a8713a060@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: 4Pj96S3Mkfz3CPx 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 Thu, 23 Mar 2023 15:05:02 +0100 Hans Petter Selasky wrote: > On 3/23/23 13:04, Milan Obuch wrote: > > Hi, > > > > I just received Sparkfun QuickLogic board. After connecting it via > > USB, I found following device: > > > > # usbconfig -d ugen0.5 dump_all_desc > > ugen0.5: at usbus0, cfg=255 md=HOST > > spd=FULL (12Mbps) pwr=ON (100mA) > > > > bLength = 0x0012 > > bDescriptorType = 0x0001 > > bcdUSB = 0x0200 > > bDeviceClass = 0x0002 > > bDeviceSubClass = 0x0000 > > bDeviceProtocol = 0x0000 > > bMaxPacketSize0 = 0x0020 > > idVendor = 0x1d50 > > idProduct = 0x6141 > > bcdDevice = 0x0000 > > iManufacturer = 0x0000 > > iProduct = 0x0000 > > iSerialNumber = 0x0000 > > bNumConfigurations = 0x0001 > > > > Searching for VID and PID did not get me anything. Trying any of our > > USB serial driver did not create any device. How can I connect to > > this device? It should be some serial port because that's what > > Sparkfun page says... Any hint? > > > > Regards, > > Milan > > > > N. B. I was able to connect to this device using my Mac: > > > > # cu -l /dev/tty.usbmodem1411 > > Connected. > > ############## > > > > > > > > Hello world!! > > > > #******************* > > Command Line Interface > > App SW Version: qorc-sdk/qt_apps/qt_helloworldsw > > #******************* > > > > Hi! > > Did you try to dump the configuration descriptor? > > Maybe umodemX can handle it ... > I forgot to write I have all available serial drivers loaded, i.e. in kldstat output 54 1 0xffffffff81ae9000 23a0 umodem.ko 55 7 0xffffffff81aec000 4d10 ucom.ko 56 1 0xffffffff81af1000 22a0 uchcom.ko 57 1 0xffffffff81af4000 2200 ucycom.ko 58 1 0xffffffff81af7000 21e0 umoscom.ko 59 1 0xffffffff81afa000 2aa0 uplcom.ko 60 1 0xffffffff81afd000 32e0 uslcom.ko 61 1 0xffffffff81b01000 2260 uvscom.ko This is from a 13.1-STABLE system. What you mean by configuration descriptor? Is it this: # usbconfig -d ugen0.5 dump_all_config_desc ugen0.5: at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) # usbconfig -d ugen0.5 dump_curr_config_desc ugen0.5: at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) There is just this, nothing more. Could some usbdump help to identify the issue? I have no experience with this, also no idea how an initial device discovery could be catch with usbdump :( Regards, Milan From nobody Thu Mar 23 16:19:46 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 ESMTP id 4Pj9Xd1QrXz41Wdl for ; Thu, 23 Mar 2023 16:19:45 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 ESMTPS id 4Pj9Xc6XfDz3FWZ for ; Thu, 23 Mar 2023 16:19:44 +0000 (UTC) (envelope-from hps@selasky.org) Authentication-Results: mx1.freebsd.org; none Received: from [10.36.2.154] (unknown [46.212.121.255]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 5BF34260114; Thu, 23 Mar 2023 17:19:37 +0100 (CET) Message-ID: <27d8da5f-f2f8-af1d-8300-4d7ccb35744b@selasky.org> Date: Thu, 23 Mar 2023 17:19:46 +0100 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: Which serial driver for the development board? Content-Language: en-US To: Milan Obuch , freebsd-usb@freebsd.org References: <20230323130418.5ba9954f@zeta.dino.sk> <88f9b5a4-1e7f-ea9e-e170-888a8713a060@selasky.org> <20230323170028.186d77ed@zeta.dino.sk> From: Hans Petter Selasky In-Reply-To: <20230323170028.186d77ed@zeta.dino.sk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Pj9Xc6XfDz3FWZ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 3/23/23 17:00, Milan Obuch wrote: > On Thu, 23 Mar 2023 15:05:02 +0100 > Hans Petter Selasky wrote: > >> On 3/23/23 13:04, Milan Obuch wrote: >>> Hi, >>> >>> I just received Sparkfun QuickLogic board. After connecting it via >>> USB, I found following device: >>> >>> # usbconfig -d ugen0.5 dump_all_desc >>> ugen0.5: at usbus0, cfg=255 md=HOST >>> spd=FULL (12Mbps) pwr=ON (100mA) >>> >>> bLength = 0x0012 >>> bDescriptorType = 0x0001 >>> bcdUSB = 0x0200 >>> bDeviceClass = 0x0002 >>> bDeviceSubClass = 0x0000 >>> bDeviceProtocol = 0x0000 >>> bMaxPacketSize0 = 0x0020 >>> idVendor = 0x1d50 >>> idProduct = 0x6141 >>> bcdDevice = 0x0000 >>> iManufacturer = 0x0000 >>> iProduct = 0x0000 >>> iSerialNumber = 0x0000 >>> bNumConfigurations = 0x0001 >>> >>> Searching for VID and PID did not get me anything. Trying any of our >>> USB serial driver did not create any device. How can I connect to >>> this device? It should be some serial port because that's what >>> Sparkfun page says... Any hint? >>> >>> Regards, >>> Milan >>> >>> N. B. I was able to connect to this device using my Mac: >>> >>> # cu -l /dev/tty.usbmodem1411 >>> Connected. >>> ############## >>> >>> >>> >>> Hello world!! >>> >>> #******************* >>> Command Line Interface >>> App SW Version: qorc-sdk/qt_apps/qt_helloworldsw >>> #******************* >>> >> >> Hi! >> >> Did you try to dump the configuration descriptor? >> >> Maybe umodemX can handle it ... >> > > I forgot to write I have all available serial drivers loaded, i.e. in > kldstat output > > 54 1 0xffffffff81ae9000 23a0 umodem.ko > 55 7 0xffffffff81aec000 4d10 ucom.ko > 56 1 0xffffffff81af1000 22a0 uchcom.ko > 57 1 0xffffffff81af4000 2200 ucycom.ko > 58 1 0xffffffff81af7000 21e0 umoscom.ko > 59 1 0xffffffff81afa000 2aa0 uplcom.ko > 60 1 0xffffffff81afd000 32e0 uslcom.ko > 61 1 0xffffffff81b01000 2260 uvscom.ko > > This is from a 13.1-STABLE system. > > What you mean by configuration descriptor? Is it this: > > # usbconfig -d ugen0.5 dump_all_config_desc > ugen0.5: at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) > > # usbconfig -d ugen0.5 dump_curr_config_desc > ugen0.5: at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) > > There is just this, nothing more. Could some usbdump help to identify > the issue? I have no experience with this, also no idea how an initial > device discovery could be catch with usbdump :( > > Regards, > Milan Hi, cfg=255 means there is an error to set the configuration index. Try to use usbconfig to set config index 0 again? Maybe it just works? --HPS From nobody Thu Mar 23 21:03:42 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 4PjHrL5d64z40L4g for ; Thu, 23 Mar 2023 21:03:46 +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 4PjHrL21zgz4BG4 for ; Thu, 23 Mar 2023 21:03:46 +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 0000000000B05CBA.00000000641CBEAF.00014174; Thu, 23 Mar 2023 22:03:43 +0100 Date: Thu, 23 Mar 2023 22:03:42 +0100 From: Milan Obuch To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org Subject: Re: Which serial driver for the development board? Message-ID: <20230323220342.76a6c37a@zeta.dino.sk> In-Reply-To: <27d8da5f-f2f8-af1d-8300-4d7ccb35744b@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> 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: 4PjHrL21zgz4BG4 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 Thu, 23 Mar 2023 17:19:46 +0100 Hans Petter Selasky wrote: > On 3/23/23 17:00, Milan Obuch wrote: > > On Thu, 23 Mar 2023 15:05:02 +0100 > > Hans Petter Selasky wrote: > > > >> On 3/23/23 13:04, Milan Obuch wrote: > >>> Hi, > >>> > >>> I just received Sparkfun QuickLogic board. [ snip ] > >>> Searching for VID and PID did not get me anything. Trying any of > >>> our USB serial driver did not create any device. How can I > >>> connect to this device? It should be some serial port because > >>> that's what Sparkfun page says... Any hint? > >>> > >>> Regards, > >>> Milan > >>> > >>> N. B. I was able to connect to this device using my Mac: > >>> > >>> # cu -l /dev/tty.usbmodem1411 > >>> Connected. > >>> ############## > >>> > >>> > >>> > >>> Hello world!! > >>> > >>> #******************* > >>> Command Line Interface > >>> App SW Version: qorc-sdk/qt_apps/qt_helloworldsw > >>> #******************* > >>> > >> > >> Hi! > >> > >> Did you try to dump the configuration descriptor? > >> > >> Maybe umodemX can handle it ... > >> > > > > I forgot to write I have all available serial drivers loaded, i.e. > > in kldstat output > > > > 54 1 0xffffffff81ae9000 23a0 umodem.ko > > 55 7 0xffffffff81aec000 4d10 ucom.ko > > 56 1 0xffffffff81af1000 22a0 uchcom.ko > > 57 1 0xffffffff81af4000 2200 ucycom.ko > > 58 1 0xffffffff81af7000 21e0 umoscom.ko > > 59 1 0xffffffff81afa000 2aa0 uplcom.ko > > 60 1 0xffffffff81afd000 32e0 uslcom.ko > > 61 1 0xffffffff81b01000 2260 uvscom.ko > > > > This is from a 13.1-STABLE system. > > > > What you mean by configuration descriptor? Is it this: > > > > # usbconfig -d ugen0.5 dump_all_config_desc > > ugen0.5: at usbus0, cfg=255 md=HOST > > spd=FULL (12Mbps) pwr=ON (100mA) > > > > # usbconfig -d ugen0.5 dump_curr_config_desc > > ugen0.5: at usbus0, cfg=255 md=HOST > > spd=FULL (12Mbps) pwr=ON (100mA) > > > > There is just this, nothing more. Could some usbdump help to > > identify the issue? I have no experience with this, also no idea > > how an initial device discovery could be catch with usbdump :( > > > > Regards, > > Milan > > Hi, > > cfg=255 means there is an error to set the configuration index. > > Try to use usbconfig to set config index 0 again? Maybe it just works? > > --HPS > If you mean issuing # usbconfig -d ugen0.5 set_config 0 it does not help. Descriptors are the same after this command: # usbconfig -d ugen0.5 dump_all_desc ugen0.5: at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0002 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0020 idVendor = 0x1d50 idProduct = 0x6141 bcdDevice = 0x0000 iManufacturer = 0x0000 iProduct = 0x0000 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 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... Regards, Milan From nobody Fri Mar 24 08:43:29 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 ESMTP id 4PjbMb1RHWz41HlR for ; Fri, 24 Mar 2023 08:43:23 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 ESMTPS id 4PjbMZ5KZxz3Cld for ; Fri, 24 Mar 2023 08:43:22 +0000 (UTC) (envelope-from hps@selasky.org) Authentication-Results: mx1.freebsd.org; none Received: from [10.36.2.154] (unknown [46.212.121.255]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id E3CD02600D3; Fri, 24 Mar 2023 09:43:19 +0100 (CET) Message-ID: Date: Fri, 24 Mar 2023 09:43:29 +0100 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: Which serial driver for the development board? Content-Language: en-US To: Milan Obuch Cc: freebsd-usb@freebsd.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> From: Hans Petter Selasky In-Reply-To: <20230323220342.76a6c37a@zeta.dino.sk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4PjbMZ5KZxz3Cld X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 3/23/23 22:03, Milan Obuch wrote: > # usbconfig -d ugen0.5 dump_all_desc > ugen0.5: at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0002 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0020 > idVendor = 0x1d50 > idProduct = 0x6141 > bcdDevice = 0x0000 > iManufacturer = 0x0000 > iProduct = 0x0000 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > 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. Hi, You may need to run "usbdump" before plugging the device to figure out exactly what goes wrong. cfg=255 means there is a permanent issue using the USB control endpoint data channel. Yes - likely a bug in the firmware that it does not handle error conditions properly. --HPS From nobody Fri Mar 24 08:57:41 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 ESMTP id 4Pjbgz6ftYz41J7P for ; Fri, 24 Mar 2023 08:57:35 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 ESMTPS id 4Pjbgz44LNz3FZV for ; Fri, 24 Mar 2023 08:57:35 +0000 (UTC) (envelope-from hps@selasky.org) Authentication-Results: mx1.freebsd.org; none Received: from [10.36.2.154] (unknown [46.212.121.255]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id E5418260B5B; Fri, 24 Mar 2023 09:57:32 +0100 (CET) Message-ID: <072843c0-25d6-8c16-2b65-3d55560cf76d@selasky.org> Date: Fri, 24 Mar 2023 09:57:41 +0100 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: Which serial driver for the development board? Content-Language: en-US To: Milan Obuch Cc: freebsd-usb@freebsd.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> From: Hans Petter Selasky In-Reply-To: <20230323220342.76a6c37a@zeta.dino.sk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Pjbgz44LNz3FZV X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N 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 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