Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp1370610rwo; Sat, 22 Jul 2023 11:55:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlFAEZ91TNUe00nfizpZXr0VnxJYRf/mfpRy6MR571ALX1Et8KP+tDepg3nqdoUR4qlr1/64 X-Received: by 2002:a17:902:e74d:b0:1b8:4ede:4a0b with SMTP id p13-20020a170902e74d00b001b84ede4a0bmr4813738plf.9.1690052153619; Sat, 22 Jul 2023 11:55:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690052153; cv=none; d=google.com; s=arc-20160816; b=oEgwcgEbjb6I5NGqbQX2kUV2bRUA0GpqY8W/Guj1Bz7B0A/26P3ep8o285JsJg8go0 R8NfcYIK5SQLCiUX3dM3bHE17JrwWyEvOrJTfXBVNycdT5Nj6+6AjeVxPDSKCRX78KdD 2yAF3YkMEvTKnfIJ1hltKAZExfis68IEPYZjBCmuidn1c9OEvKjPgA5pHv02QeJW4mv5 TOcHbpIV8BQ8DoXokZHxUnP0TwBlWWIplg++GDvx1vQ+kOfLnWb6pIhhoBOc5uKreDOL z43u6zhbqOXltMU4TXoETmIjK2y9Pt7UBMNjGnlVxQrtyt5Vte56PHudvPANYxznzMrI VGsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=m9ibkvVetKnPgi6edUxyjCX+2jN94mCaaKhYLkGKRJI=; fh=PIW3h9CNP1gDwzPgqWpx+IgFig6WEhHLsUVoAC6Cc3o=; b=vF9AhapjbHskshLJv5ahdIm6Bgij4/ERUiqOFrVwps10724iHuYCXsFU+dhhcOK3Ah Qtr49oOjola7N6+GwUaKQU+Wt8/wS0V8Eh+gg9MY51Rh8qrCL2biOQLbwIbGPOmttzua zvZn7aocWqZMbxcOM7Vd8/CJergvbtYDdl5ggk6WB8FtH0T2pDs6nmelYHXg5/S2LwxL ZYDIe8KLRWLo+0Rxwtx7UZWTugCcdCczYuxwiBTbsrSswU21eVNx2ssg3m4/d/wiNE62 vVwZMUy4NlAtCTIKZEeSziZ3T+ed0DEKqS1yACqSCWWfYJwajlXk2oxdSzzQEm3Qvlr7 xeZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b=a1RBYg5c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q8-20020a170902dac800b001b9c3498526si6176765plx.433.2023.07.22.11.55.41; Sat, 22 Jul 2023 11:55:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b=a1RBYg5c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229662AbjGVSH4 (ORCPT + 99 others); Sat, 22 Jul 2023 14:07:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229569AbjGVSHy (ORCPT ); Sat, 22 Jul 2023 14:07:54 -0400 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 052132137 for ; Sat, 22 Jul 2023 11:07:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:Content-Type:Mime-Version: References:In-Reply-To:Message-Id:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=m9ibkvVetKnPgi6edUxyjCX+2jN94mCaaKhYLkGKRJI=; b=a1RBYg5cbsNdT8livfdgxdjmBP cXfkOQmosixCa9GvF0aup1zOvq83kylMXkxqSDOxYTZD9BUBF4YkQwrIJDqlyJueZdfBWcvj6YeZf XRR/vZofN/4uXCIbVuf6Z7jpH38odTD4vWRZwdfYp+TnkQ9/viW9YCQHRP5bLMkRshbQ=; Received: from modemcable061.19-161-184.mc.videotron.ca ([184.161.19.61]:38384 helo=pettiford) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1qNH15-0004Db-MI; Sat, 22 Jul 2023 14:07:44 -0400 Date: Sat, 22 Jul 2023 14:07:43 -0400 From: Hugo Villeneuve To: Miguel Ojeda Cc: me@davidreaver.com, poeschel@lemonage.de, Miguel Ojeda , Hugo Villeneuve , linux-kernel@vger.kernel.org, geert@linux-m68k.org, Christian Meusel Message-Id: <20230722140743.fe710f4f12c344f07d879c88@hugovil.com> In-Reply-To: References: <20230706185100.84322-1-hugo@hugovil.com> <20230706154937.1380bdcf9d84e1cff78911fa@hugovil.com> <7eb2d50baf269310e51854f700936e94@lemonage.de> <86wmysknde.fsf@davidreaver.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 184.161.19.61 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Subject: Re: [PATCH] auxdisplay: hd44780: move cursor home after clear display command X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 22 Jul 2023 18:04:03 +0200 Miguel Ojeda wrote: > On Sat, Jul 22, 2023 at 4:54 PM David Reaver wrote: > > > > I was actually hooking up a 16x2 HD44780 on my BeagleBone Black last > > night before I came across this patch, so I was able to test this. It > > works fine for me. I tested with: > > > > $ printf '\f' > /dev/lcd > > $ printf 'Hello\nWorld!\n' > /dev/lcd > > $ printf '\x1b[LR' > /dev/lcd > > $ printf '\x1b[LR' > /dev/lcd > > $ printf '\x1b[LR' > /dev/lcd > > $ printf '\f' > /dev/lcd > > $ printf 'Goodbye\nWorld!\n' > /dev/lcd > > > > As expected, "Goodbye World!" was correctly placed left-aligned on the > > display, split over both lines. Let me know if there is something else > > you would like me to do to test this! > > > > Tested-by: David Reaver > > Thanks a lot, that is very helpful! > > I will wait a while in case Christian or somebody else wants to test > it, and send it for 6.6. Hi Miguel, in the meantime, I will send V2 of the patch with the changes you suggested for the commit message and the comments. Hugo.