From owner-freebsd-bugs@freebsd.org Sat Jun 20 08:49:18 2020 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 14DFC34B526 for ; Sat, 20 Jun 2020 08:49:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49pq996shsz4fVK for ; Sat, 20 Jun 2020 08:49:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E9FF234B234; Sat, 20 Jun 2020 08:49:17 +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 E9CA434B525 for ; Sat, 20 Jun 2020 08:49:17 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49pq99606Nz4fjc for ; Sat, 20 Jun 2020 08:49:17 +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 C92189E11 for ; Sat, 20 Jun 2020 08:49:17 +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 05K8nHw0019424 for ; Sat, 20 Jun 2020 08:49:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05K8nHbd019422 for bugs@FreeBSD.org; Sat, 20 Jun 2020 08:49:17 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 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD Date: Sat, 20 Jun 2020 08:49:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: gnikl@justmail.de X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jun 2020 08:49:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204521 --- Comment #250 from gnikl@justmail.de --- (In reply to Henri Hennebert from comment #240) FYI, b1efa71bd7ebf308a59ae425d9b868e1f7c163b6 does not work for RTS5227. Th= at version produces timeouts and CMDx failures on my H730. During the initialization the machine is frozen so that I cannot switch virtual consol= es but Ctrl-Alt-Del works ;) When the init code is done, the keyboard is operational again. Additionally with that version the card detection is inverted for me. Older versions (build through ports) have the card detecti= on correct. Now some further observations: With ports version 2020-06-11/2020-06-16 the driver works if I boot directly into FreeBSD when the machine is switched o= n. Rebooting the machine into Windows 7 and then back again into FreeBSD resul= ts in a non-working driver. If the card is inserted when loading the driver failure output is generated. If the card is not inserted while loading the driver, the driver prints information about the found HW but no card events= are printed. Unloading the driver yields something about "nothing attached". Furthermore somehow I managed to confuse the older driver versions as well, which then had the card detection inverted. I have to switched the machine = off and wait for a certain amount of time to get the HW back in state that the older version like. I have no idea how I did that. Maybe booting Windows 7 first and then FreeBSD breaks the driver in a different way. IMHO this is a strong indication that the HW initialization by the driver is incomplete. --=20 You are receiving this mail because: You are the assignee for the bug.=