From nobody Sat Jul 02 15:48:28 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 7D4D38AA40B for ; Sat, 2 Jul 2022 15:48:28 +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 4LZxLN2R2pz3R9P for ; Sat, 2 Jul 2022 15:48:28 +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 337C312B57 for ; Sat, 2 Jul 2022 15:48:28 +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 262FmS7w055688 for ; Sat, 2 Jul 2022 15:48:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 262FmS70055687 for usb@FreeBSD.org; Sat, 2 Jul 2022 15:48:28 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 253232] ulpt possible regression in 12.2 Date: Sat, 02 Jul 2022 15:48:28 +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: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pmc@citylink.dinoex.sub.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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656776908; 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=eF14CriiGp1DhinRSde/JhwT6OTGL7hh2ATv3VamGHM=; b=ShTjZm77aXDTjqJxwRt1vhdFiuIJ3oRLpeYkCsi+dFnB71Z3RRbPQuU02Qx31Iwx4mGJ7g GD5HMmYAR0jAiTxAGZMT9RyC6dPGAtIegPp+Y/bb0KejQkF9Be2esGPG92ScRF4RF1IXAd SEFgjfJw6kVEnWwSCvla1UkzO6b1zZEeCmFb49RpKbTVERx7va1AiB+Fuih/E1wTM7ZhJ5 9/U9v+Ai8mduoWN+m9xtfIWvhrSlsYYAH/iApQ33a74SRBWZOXKZrF8bQtFimAqUR074jk 8G6166beXrqbFb1TVjyKkVjSLyxpszmidJt8QtdykJVQno9OWpekaZZUggbCsw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656776908; a=rsa-sha256; cv=none; b=gl2MGBfKxFc8L5aAQHAYMvQEMAMk0nTkgP1kGMVUYWpKaZaO6gqScDSsv96SbNoe0YInti QqjIRJdKYmuaPYu1E3zp5MnSzXIYgoNKixF0qr00SeuifsNeQjJ24FCAi22496jd7oWJqX gOA7ex9nk0rMDG8/ZgShpnNtfKkcl66+9ALo9PwlI50L2A2kVGpsHhNhTSvePKXJ3TJX+X sl2GPTTSydRHlpBUIeSFtgVfFSyDQoX871VYfnJEkfI/MWD+zjotmAHxioa34nHSKt/Fdv KpSxRc/h4I5Y8dPklb4scxX8iIrxbHOfm+WGOAs6OMJMYjzw0V47Rrj9Li83Vw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253232 Peter Much changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pmc@citylink.dinoex.sub.org --- Comment #6 from Peter Much --- I'm getting the same errors only on one of two identical Prolific devices. I bought such a piece, it worked immediately with no further problems.=20 A year later I ordered another one, got the very identcal piece (branded "Logitech"), the kernel detects it as the same thing, so I put it into my OK shelf. Now I try to use it, and it doesn't work. No data whatsoever goes through. = From this report I now got the idea to write to /dev/usb/1.3.1 - and voila, I ge= t a line written on the printer! So the piece is apparently not just broken, and, from the timeline, t doesn= 't seem to be the unsufficiently-tested prize from the guangzhou lottery, but rather the silently-upgraded-with-new-bugs-or-features prize. (Sorry, Hans-Petter) Have a closer look: old: ugen2.3: at usbus2, cfg=3D0 md=3DHOST spd=3DFU= LL (12Mbps) pwr=3DON (96mA) new: ugen1.3: at usbus1, cfg=3D0 md=3DHOST spd=3DFU= LL (12Mbps) pwr=3DON (100mA) old: ugen2.3: at usbus2 ulpt_probe:=20 syslog: last message repeated 1 times ulpt0 on uhub4 ulpt_attach: sc=3D0xfffff80006957000 ulpt0: on us= bus2 ulpt_attach: setting alternate config number: 0 ulpt0: using bi-directional mode ulpt0: out of paper new: ugen1.3: at usbus1 ulpt_probe:=20 syslogd: last message repeated 1 times ulpt1 on uhub3 ulpt_attach: sc=3D0xfffff800bcc0f400 ulpt1: on us= bus1 ulpt_attach: setting alternate config number: 1 ulpt1: using bi-directional mode ulpt_status_callback: error=3DUSB_ERR_STALLED ulpt_status_callback: error=3DUSB_ERR_STALLED ulpt_status_callback: error=3DUSB_ERR_STALLED ulpt_status_callback: error=3DUSB_ERR_STALLED [loops forever, once a second] The alternate config number is different. The old one has only one config with and : Interface 0 bLength =3D 0x0009=20 bDescriptorType =3D 0x0004=20 bInterfaceNumber =3D 0x0000=20 bAlternateSetting =3D 0x0000=20 bNumEndpoints =3D 0x0002=20 bInterfaceClass =3D 0x0007 bInterfaceSubClass =3D 0x0001=20 bInterfaceProtocol =3D 0x0002=20 The new one has three of them: Interface 0 bLength =3D 0x0009=20 bDescriptorType =3D 0x0004=20 bInterfaceNumber =3D 0x0000=20 bAlternateSetting =3D 0x0000=20 bNumEndpoints =3D 0x0001=20=20=20=20=20=20=20 bInterfaceClass =3D 0x0007 bInterfaceSubClass =3D 0x0001=20 bInterfaceProtocol =3D 0x0001=20 [ only ] Interface 0 Alt 1 bLength =3D 0x0009=20 bDescriptorType =3D 0x0004=20 bInterfaceNumber =3D 0x0000=20 bAlternateSetting =3D 0x0001=20 bNumEndpoints =3D 0x0002=20 bInterfaceClass =3D 0x0007 bInterfaceSubClass =3D 0x0001=20 bInterfaceProtocol =3D 0x0002=20 [ and ] Interface 0 Alt 2 bLength =3D 0x0009=20 bDescriptorType =3D 0x0004=20 bInterfaceNumber =3D 0x0000=20 bAlternateSetting =3D 0x0002=20 bNumEndpoints =3D 0x0003=20 bInterfaceClass =3D 0x00ff bInterfaceSubClass =3D 0x0000=20 bInterfaceProtocol =3D 0x00ff=20 [ , and ] I'll now try and test the suggested patch. --=20 You are receiving this mail because: You are the assignee for the bug.=