Hi Thierry,

On Sat, 26 Jan 2013 16:41:36 +0100, Thierry Bultel
<thierry.bul...@wanadoo.fr> wrote:
> I am using the "inputattach" utility to work with an elotouch 
> touchscreen, with serial wire.
> 
> The running kernel is a 3.0.49, the board an iMX6 SOC. The kernel module 
> source is 'drivers/input/touche/elo.c'
> 
> The issue is that I cannot communicate with the touchscreen without 
> hacking, either in the kernel, or in inputattach.
> 
> My quick analysis from the kernel side is that I am not sending any 
> characters in the serial line, because I have tty->hw_stopped = 1, and 
> therefore uart_start does not call start_tx.
> 
> This is set when the line discipline is configured with CRTSCTS.
> 
> If in 'elo.c' I force the result of the elo_command_10 to be 0, and the 
> expected packet as well, then I obviously do not send the start packet 
> but I correctly receive touch event interrupts from the serio layer.
> 
> Or, better, if in inputattach.c, I remove the CRTSCTS flag, then
> communication is OK without to hack in the kernel.
> 
> Furthermore, I have taken a look at the old
> xserver-xorg-input-elographics-1.1.0/src/xf86Elo.c, that works from ages 
> with my touchscreen, and I do not see the CRTSCTS in the termios flags.
> 
> I would be please to provide more information if needed.

Thanks for reporting this. Could you tell me exactly which Elotouch model
you're using? I take it you're specifying "--elotouch" or "-elo" on the
inputtach command line; is that correct?

Thanks in advance,

Stephen

Attachment: signature.asc
Description: PGP signature

Reply via email to