From nobody Wed Oct 05 21:43:30 2022 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 4MjSkB4X5jz4f8lN for ; Wed, 5 Oct 2022 21:43:30 +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 4MjSkB2BMxz3Kdr for ; Wed, 5 Oct 2022 21:43:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MjSkB1Fj0z12yT for ; Wed, 5 Oct 2022 21:43:30 +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 295LhUsp038212 for ; Wed, 5 Oct 2022 21:43:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 295LhUqj038211 for usb@FreeBSD.org; Wed, 5 Oct 2022 21:43:30 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 266840] umodem: CH552 is not attached Date: Wed, 05 Oct 2022 21:43:30 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: trombik1973@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665006210; 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=9YcWeZ/IF8eahO2Uea1ce/lXYqkIZx9LOeqdzO9A3Ac=; b=KBp6+j2HwBNzLsh9pHpn5Efm7ey4PcMZFE2FQjRm6tnfc5HcEmH5S4a/A9y7HfturJhzdj MV7mQkc6qaEZwHXsThP8+mynFZNJKUq8SGulv/UiwFR23QL2fevU3FpWtBwZ+a5pxwkxAi sl668oNseTiLwQrD7M6//XQT7Q/Y9XMyHb6K+O8uDGGSasSCU+3CoLak8BPWwVZo+Gd+DR Fl/DDpZWDoPjWZJiBKzS7ZfcL+IO/XU5pixUpftxVLT5GVy8dms1I4nHCgqfL+jLGkLnKs hEVwCTiF3/K8B/hSdcubS56ax2/U9ed3DUDg+ZSPKIny4ynmOHrdMJPAcFMsKQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665006210; a=rsa-sha256; cv=none; b=OYGOpmnYKBYUz4NDb4j154LT/Iv9XyDUGdatT0mYwC3Dc0dvnaRw9GF2CJVOlKfv4vb7jv ilzABaqDP0CVH2scbSBmkCPNwxXhxIEV7DKxtBN888Ecw+IIymTeuYiNcidTuyuXe28+ZA tFPtOw+iuZ2QZXMlhFuA6Wcviwk7WSSJgMa1QQ7hjqd41BC48G+T3s6DlOAHu0DZfDyJ+e fF7kTVVzQ5m6+F6TbJtIohZzhEpl0MIFbiNa+yUddPNy/qUaBvsLWdQH938wcvizv2TCLp +ctOLAjW/5UJuhDisKzAW5MJU5KFi+XJgpMcqzwtC04g2O1C5pcVYj6r/Gt9Gg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266840 --- Comment #3 from Tomoyuki Sakurai --- (In reply to Hans Petter Selasky from comment #2) i understand what is going on (i think). the board is a development board. https://github.com/WeActStudio/WeActStudio.CH552CoreBoard when a button is pressed and the dev board is plugged into a machine, the bootloader, which accepts firmware, runs. Oct 6 04:23:18 t480s kernel: ugen0.6: at us= bus0 after 10 sec, it runs the user application (probably, an example firmware).= the=20 Oct 6 04:23:27 t480s kernel: ugen0.6: at us= bus0 (disconnected) Oct 6 04:23:27 t480s kernel: ugen0.6: at usbus0 Oct 6 04:23:27 t480s kernel: umodem0 on uhub0 Oct 6 04:23:27 t480s kernel: umodem0: on usbus0 Oct 6 04:23:27 t480s kernel: umodem0: data interface 0, has no CM over dat= a, has no break Oct 6 04:23:27 t480s kernel: umodem0: Can't setup transfer Oct 6 04:23:27 t480s kernel: device_attach: umodem0 attach returned 6 my understanding is that, if vendor and product ID are defined and added to umodem_host_devs in umodem.c, it should work when the bootloader is running= . am I correct? --=20 You are receiving this mail because: You are the assignee for the bug.=