From owner-freebsd-bugs@freebsd.org Sun Feb 14 05:42:36 2021 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 65A4654A9C4 for ; Sun, 14 Feb 2021 05:42:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DdbjS2GCMz4ZlH for ; Sun, 14 Feb 2021 05:42:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4D9FB54AD42; Sun, 14 Feb 2021 05:42:36 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4D6AD54A777 for ; Sun, 14 Feb 2021 05:42:36 +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 4DdbjS1cb1z4ZnG for ; Sun, 14 Feb 2021 05:42:36 +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 202BF249F8 for ; Sun, 14 Feb 2021 05:42:36 +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 11E5gaS5011399 for ; Sun, 14 Feb 2021 05:42:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11E5gatA011398 for bugs@FreeBSD.org; Sun, 14 Feb 2021 05:42:36 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 253494] the uart driver does not recognize HSUARTs on a FitPC Fitlet2 computer Date: Sun, 14 Feb 2021 05:42:36 +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: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bsd@bobdbob.com 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2021 05:42:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253494 Bug ID: 253494 Summary: the uart driver does not recognize HSUARTs on a FitPC Fitlet2 computer Product: Base System Version: 12.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: bsd@bobdbob.com Overview: A Fitlet2 computer has an onboard serial port which is a PCI attached HSUAR= T.=20 The uart driver does not recognize the port, no /dev/cua* is created.=20=20 To Reproduce: Attempt to use a serial port on a fitlet2 computer, or perhaps more general= ly, a Celeron N3350/Pentium N4200/Atom E3900. Note that there is no /dev/cua* = for the serial port. The hardware appears in pciconf as: none2@pci0:0:24:2: class=3D0x118000 card=3D0x72708086 chip=3D0x5ac0808= 6 rev=3D0x0b hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller' class =3D dasp I cargo-culted the fix in PR 207910, and added the PCI id to the list in src/sys/dev/uart/uart_bus_pci.c. Adding the following at line 168: { 0x8086, 0x5abc, 0xffff, 0, "Celeron N3350/Pentium N4200/Atom E3900 Series HSUART#0", 0x10, 24 * DEFAULT_RCLK, 2 }, { 0x8086, 0x5abe, 0xffff, 0, "Celeron N3350/Pentium N4200/Atom E3900 Series HSUART#1", 0x10, 24 * DEFAULT_RCLK, 2 }, { 0x8086, 0x5ac0, 0xffff, 0, "Celeron N3350/Pentium N4200/Atom E3900 Series HSUART#2", 0x10, 24 * DEFAULT_RCLK, 2 }, { 0x8086, 0x5aee, 0xffff, 0, "Celeron N3350/Pentium N4200/Atom E3900 Series HSUART#3", 0x10, 24 * DEFAULT_RCLK, 2 }, I can only verify that HSUART#2 works correctly, since the Fitlet hardware = has only a single exposed RS-232 port (tested by connecting TX to RX, and obser= ving the echo using kermit.). There is a second physical port on an internal connector which is more difficult to get to. --=20 You are receiving this mail because: You are the assignee for the bug.=