Re: [PATCH] auxdisplay: hd44780: move cursor home after clear display command

From: Hugo Villeneuve
Date: Sat Jul 22 2023 - 14:17:12 EST


On Sat, 22 Jul 2023 18:04:03 +0200
Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> wrote:

> On Sat, Jul 22, 2023 at 4:54 PM David Reaver <me@xxxxxxxxxxxxxxx> 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 <me@xxxxxxxxxxxxxxx>
>
> 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.