From nobody Fri May 03 11:09:23 2024 X-Original-To: bugs@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 4VW7Nh0bR8z5Jps3 for ; Fri, 3 May 2024 11:09:24 +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 4VW7Ng6Cqcz4cbK for ; Fri, 3 May 2024 11:09:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714734563; a=rsa-sha256; cv=none; b=WqvUDZZ5VQxH7ev6AJgt0hMhlv59dYQecfzx91T6txSX3O9YB8mulCkWRWZohUJFLYoC3O ZmphW+JTqwHmDTokL6W5kGM133lO5/o5m3frWUq0C+sq3HsAs08Ee66ZsMZ3sOyro+cu3X kyxHubbDAVpv5AK/SgKgMCbOffC0P6P8Pz3S1qW4aocbjM01s9l31Q/BlO1E0/CpTJB/JM OLfMdu4DsY5y4QRxQLDRxYx0UZ0CvV7d7bqBeUySwWJrMB8xnwq4BC7egiSnGk235c8lCN faBQIZOuDMScKpsbcfM6+eya5Z+pOH1ER19ROAV/zqQ6rLAZCNeKgPS2IMftBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714734563; 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=EW870PSVzvprFuwq05VBC6Z9rFj97fY2iMXVc++NVd4=; b=FmHcyEtlwQe+y8dWiH8ii9DGdrwcNaKFwSCIRuzMmHtvUsnVxy72aulQSd7eSjfxJbk6Ie E8edQX5peNa3W9KrA7n6G8RIL4ui2uc5PqgSAQBUeaHeKk6hOANX+NkO+o52TUmJWulbdS sc2BHy8gCuTuZzTLb4K7DqopK/TmQ2NDktJwi8then9SF4vcpcFhazdoWsAGWyexD4mmff nu+/iD7fGOsD2Jm8wrVdeT2wgOeZIt+DKwcjZJ42JPVAk3/BVwO/ADNAXcZSXjl91NQpdN ahbvBeVnhnyRDCwZqBi04H3er9Fhb1nr0iT0IxzaWsdcNv7cQZ1GRHwNmIo4MQ== 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 4VW7Ng5jRtzkKq for ; Fri, 3 May 2024 11:09:23 +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 443B9NbV098969 for ; Fri, 3 May 2024 11:09:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 443B9Nk8098967 for bugs@FreeBSD.org; Fri, 3 May 2024 11:09:23 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: bugs@FreeBSD.org Subject: [Bug 278716] uslcom serial driver: communcation problem with FBSD > 13.2-RELENG Date: Fri, 03 May 2024 11:09:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278716 Bug ID: 278716 Summary: uslcom serial driver: communcation problem with FBSD > 13.2-RELENG Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ohartmann@walstatt.org uslcom(4) driver in 14-STABLE onward does have serious problems with several USB subsystems. I can not give specific details, but I can provide some experiences. I'd like to use FreeBSD as the base system for some MCU development, mainly ESP32 based, also some USB UART I2C targets (Amtel) are in focus. I have a couple of hardware platforms (Lenovo T560, T570, 460, 470 notebook= s, oldish IvyBridge based Intel host, Fujitsu Esprimo D538, Fujitsu Celsius M7= 40, Pine64). ESP32 is WROOM32, some oldish ESP32 dev boards and ESP32 D1 mini with a more recent chip. All in common is a CP210X UART (mostly CP2102). Another toy is an Amtel88 based I2C busmaster with Silicon Labs CP2102 UA= RT. All hardware platforms running FreeBSD > 13.3 in common is: comms/py-esptool (Python 3.9) -> fails to communicate with any ESP32 I hav= e on any computer running FreeBSD > 13.3 devel/arduino18 -> fails to communicate with any ESP32 I have, same as espt= ool. py-esptool reports: ohartmann@hebe:~ $ esptool.py --chip esp32 --baud 115200 --port /dev/cuaU0 read_mac esptool.py v4.7.0 Serial port /dev/cuaU0 Connecting........ A serial exception error occurred: device reports readiness to read but returned no data (device disconnected or multiple access on port?) Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers. For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html The ONLY HOST operating with the very same hardware and ANY OS up to recent 14-STABLE (as of compiled today) is the mentioned Fujitsu Celsius M740 and = the PINE64. The other hardware mentioned above (Fujitsu Esprimo, Lenovo Notebooks) do w= ell with FreeBSD 13.2, 13.3, but fail with 14-STABLE and CURRENT. The Amtel88 bases I2C busmaster is supposed to act as development toy for sensors we use fpr meteorological purpeses, it can be equipted with several= I2C sensors, the usage is a bit cryptic, but it works and delivers measurement results with FBSD < 14, but stays silent (LED flickers, indicating traffic,= but no output is emmited - same with ESP32's with bus indicator LED). From my perspective, this insicates a serious problem either with the USB subsystem/uslcom driver in recent FreeBSD or a serious probelm with my understanding of FreeBSD/FreeBSD's setup. Using a recent Xubuntu 24.04-LTS on the very same hardware indicates NO PROBLEMS! --=20 You are receiving this mail because: You are the assignee for the bug.=