<div dir="ltr"><div>Hi Pekka,</div><div><br></div><div>thanks for your reply.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 21, 2015 at 3:02 PM, Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 21 Dec 2015 14:35:14 +0000<br>
Lance Bai <<a href="mailto:lancebai@gmail.com">lancebai@gmail.com</a>> wrote:<br>
<br>
> Dear All,<br>
><br>
> I have a question regarding grabbing the key input in weston.<br>
><br>
> I am running weston-1.8.92 on raspberry pi2(i.e compositor-rpi, launch with<br>
> weston-launch), and found that the /dev/input/eventX file descriptor is<br>
> read by both weston and tty, which means the input will be showed on the<br>
> tty terminial as well. However, I would like the key input taken by the<br>
> weston application only, without showing what I type in TTY.<br>
<br>
</span>That sounds terrible. Please file a bug report.<br>
<span class=""><br></span></blockquote><div><br></div><div>sure, I am going to create a bug report regarding that. </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> Should I set the input event fd with EVIOCGRAB in weston_launcher_open,<br>
> like libinput/tools/shared.c? or is there any better approach?<br>
<br>
</span>The VT input should get disabled as part of the launching sequence and<br>
also in the VT-switching sequence. Sounds like that's not working right.<br>
<br>
Or it is possible that Weston is showing, but not on the VT it thinks<br>
it is.<br></blockquote><div><br></div><div>is there a easy way to check this?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Do you have systemd or not?<br></blockquote><div><br></div><div>no, I do not build systemd on my rpi2 develop environment.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Thanks,<br>
pq<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">BR,<br>Lance Bai<br></div>
</div></div>