From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18357 invoked from network); 12 Jan 2024 04:15:31 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 12 Jan 2024 04:15:31 -0000 Received: from pb-smtp1.pobox.com ([64.147.108.70]) by 9front; Thu Jan 11 23:14:20 -0500 2024 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 2F3B01D5F7F for <9front@9front.org>; Thu, 11 Jan 2024 23:14:15 -0500 (EST) (envelope-from unobe@cpan.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=message-id :to:subject:date:from:in-reply-to:mime-version:content-type :content-transfer-encoding; s=sasl; bh=0N8dUSo048WZ91FAnX1QHU4U8 P/YFKt96Vd4zKQEWBQ=; b=ovDANeKxwjuUfnkPR3G5XthbcwcJpm+3PUOHQ5M+e qO7+Wx86XOE0NcrlwqrQ9zKNer4/ajNaQYZlqYlff/Q/7LB27b0TRE5noMILUNHG 7XQ8lmbOqO3s7PGd7UeXANCHTqXAdau/byiEti1jRm0nZw9zY6Ye3f+zkPGaUoH4 Gk= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 27A1C1D5F7E for <9front@9front.org>; Thu, 11 Jan 2024 23:14:15 -0500 (EST) (envelope-from unobe@cpan.org) Received: from strider.localdomain (unknown [24.205.13.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id DC8C11D5F7D for <9front@9front.org>; Thu, 11 Jan 2024 23:14:13 -0500 (EST) (envelope-from unobe@cpan.org) Message-ID: <2235407F64A748720719B820A36567D0@smtp.pobox.com> To: 9front@9front.org Date: Thu, 11 Jan 2024 20:14:12 -0800 From: unobe@cpan.org In-Reply-To: <36EE81F372BF8C1F8A1E364884ACF95F@eigenstate.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Pobox-Relay-ID: 0B71734A-B101-11EE-BF2C-78DCEB2EC81B-09620299!pb-smtp1.pobox.com List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: callback rich-client locator Subject: Re: [9front] [PATCH 3/6] nusb/ptp: add mention to nusb man page and fix implementation per spec to start with transaction id 1, not 0. Reply-To: 9front@9front.org Precedence: bulk So this patch looks good as well? I don't have a commit bit. Quoth ori@eigenstate.org: > Wait, I retract that. > > Quoth Romano : > > > > Apple iPhones can now be used to transfer images. There is still an issue with the iPhone permission, wherein an actor has to be pretty quick on the trigger to Allow the connection from the iPhone side, but that would require a pause somewhere in the handshake that I did not have time to look into further. This patch at least allows the connection to succeed when permitted. > > sessionId = getpid(); > > + transId = 0; > > if(ptprpc(nil, OpenSession, 1, sessionId) < 0) > > Setting transid=0 here means that when we > enter vptprpc, we do: > > t = transId++; > ... > PUT4(rpc.transid, t); > > which will put *0* into the transaction ID. > Am I missing something here? >