Discussion:
[chromium-dev] Keyboard events for Chrome wayland server
'Jeffrey Kardatzke' via Chromium-dev
2018-12-10 22:04:03 UTC
Permalink
I'm working on a problem in Crostini where we are seeing errant pressed
keys getting sent from the Wayland server in Chrome.

Anybody know where the keyboard events that get sent out of the wayland
server in Chrome originate from? I was pointed to
components/exo/keyboard.cc but after adding some logging I'm only seeing
events in there on the login screen, but not afterwards.

Thanks,
--
Jeffrey Kardatzke
***@google.com
Google, Inc.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CA%2BddPcMmABLxvhCc306R30Ear6yW3B9S1p_2Pdyx0f_Zew3R0Q%40mail.gmail.com.
Scott Violet
2018-12-10 22:13:16 UTC
Permalink
Depends upon how far down in the stack you want to go. I believe ozone
(evdev) is likely the place the events first enter the system. Slightly
higher up is AshWindowTreeHostPlatform::DispatchEvent().

-Scott

On Mon, Dec 10, 2018 at 2:04 PM 'Jeffrey Kardatzke' via Chromium-dev <
Post by 'Jeffrey Kardatzke' via Chromium-dev
I'm working on a problem in Crostini where we are seeing errant pressed
keys getting sent from the Wayland server in Chrome.
Anybody know where the keyboard events that get sent out of the wayland
server in Chrome originate from? I was pointed to
components/exo/keyboard.cc but after adding some logging I'm only seeing
events in there on the login screen, but not afterwards.
Thanks,
--
Jeffrey Kardatzke
Google, Inc.
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups
"Chromium-dev" group.
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CA%2BddPcMmABLxvhCc306R30Ear6yW3B9S1p_2Pdyx0f_Zew3R0Q%40mail.gmail.com
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CA%2BddPcMmABLxvhCc306R30Ear6yW3B9S1p_2Pdyx0f_Zew3R0Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAKARY_k2Xn_h7ukpALyw1qTDNR42j0FhHoXXNfErF68QAaMUdQ%40mail.gmail.com.
Michael Spang
2018-12-10 22:27:10 UTC
Permalink
Are you sure you are looking at the right log files? See

https://chromium.googlesource.com/chromium/src/+/HEAD/docs/chrome_os_logging.md
Post by Scott Violet
Depends upon how far down in the stack you want to go. I believe ozone
(evdev) is likely the place the events first enter the system. Slightly
higher up is AshWindowTreeHostPlatform::DispatchEvent().
-Scott
On Mon, Dec 10, 2018 at 2:04 PM 'Jeffrey Kardatzke' via Chromium-dev <
Post by 'Jeffrey Kardatzke' via Chromium-dev
I'm working on a problem in Crostini where we are seeing errant pressed
keys getting sent from the Wayland server in Chrome.
Anybody know where the keyboard events that get sent out of the wayland
server in Chrome originate from? I was pointed to
components/exo/keyboard.cc but after adding some logging I'm only seeing
events in there on the login screen, but not afterwards.
Thanks,
--
Jeffrey Kardatzke
Google, Inc.
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups
"Chromium-dev" group.
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CA%2BddPcMmABLxvhCc306R30Ear6yW3B9S1p_2Pdyx0f_Zew3R0Q%40mail.gmail.com
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CA%2BddPcMmABLxvhCc306R30Ear6yW3B9S1p_2Pdyx0f_Zew3R0Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups
"Chromium-dev" group.
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAKARY_k2Xn_h7ukpALyw1qTDNR42j0FhHoXXNfErF68QAaMUdQ%40mail.gmail.com
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAKARY_k2Xn_h7ukpALyw1qTDNR42j0FhHoXXNfErF68QAaMUdQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAC5F_1nLo8NJEKovgAHwg0CZDAH-WkAktn2Dz-CF6fsOK5gDKw%40mail.gmail.com.
'Jeffrey Kardatzke' via Chromium-dev
2018-12-10 22:29:53 UTC
Permalink
Ahhh, OK I can see them in /home/chronos/user/log/chrome at that
point...thanks!
Post by Michael Spang
Are you sure you are looking at the right log files? See
https://chromium.googlesource.com/chromium/src/+/HEAD/docs/chrome_os_logging.md
Post by Scott Violet
Depends upon how far down in the stack you want to go. I believe ozone
(evdev) is likely the place the events first enter the system. Slightly
higher up is AshWindowTreeHostPlatform::DispatchEvent().
-Scott
On Mon, Dec 10, 2018 at 2:04 PM 'Jeffrey Kardatzke' via Chromium-dev <
Post by 'Jeffrey Kardatzke' via Chromium-dev
I'm working on a problem in Crostini where we are seeing errant pressed
keys getting sent from the Wayland server in Chrome.
Anybody know where the keyboard events that get sent out of the wayland
server in Chrome originate from? I was pointed to
components/exo/keyboard.cc but after adding some logging I'm only seeing
events in there on the login screen, but not afterwards.
Thanks,
--
Jeffrey Kardatzke
Google, Inc.
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google
Groups "Chromium-dev" group.
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CA%2BddPcMmABLxvhCc306R30Ear6yW3B9S1p_2Pdyx0f_Zew3R0Q%40mail.gmail.com
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CA%2BddPcMmABLxvhCc306R30Ear6yW3B9S1p_2Pdyx0f_Zew3R0Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups
"Chromium-dev" group.
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAKARY_k2Xn_h7ukpALyw1qTDNR42j0FhHoXXNfErF68QAaMUdQ%40mail.gmail.com
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAKARY_k2Xn_h7ukpALyw1qTDNR42j0FhHoXXNfErF68QAaMUdQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
--
Jeffrey Kardatzke
***@google.com
Google, Inc.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CA%2BddPcOF9HVSn-oaPQypNyOE%3DcRrKpPC61n5E%2BCJ0Qo1gx78cA%40mail.gmail.com.
'Jeffrey Kardatzke' via Chromium-dev
2018-12-10 22:28:10 UTC
Permalink
OK, thanks...I'll take a look there.

And apparently I am getting the events in there after login...but something
really odd is happening with the logging from Chrome in Chrome OS. It'll
log to the /var/log/ui/ui.LATEST file (which is a symlink) and then at some
point shortly after login it switches that to a new file and entries I saw
from doing a 'tail -F /var/log/ui/ui.LATEST' end up not appearing in those
files at that point and no additional information is written to those files
either...I have no idea what's happening with the logging in that scenario,
but likely specific to Chrome OS. And Chrome didn't crash when it switches
to a new logfile either.
Post by Scott Violet
Depends upon how far down in the stack you want to go. I believe ozone
(evdev) is likely the place the events first enter the system. Slightly
higher up is AshWindowTreeHostPlatform::DispatchEvent().
-Scott
On Mon, Dec 10, 2018 at 2:04 PM 'Jeffrey Kardatzke' via Chromium-dev <
Post by 'Jeffrey Kardatzke' via Chromium-dev
I'm working on a problem in Crostini where we are seeing errant pressed
keys getting sent from the Wayland server in Chrome.
Anybody know where the keyboard events that get sent out of the wayland
server in Chrome originate from? I was pointed to
components/exo/keyboard.cc but after adding some logging I'm only seeing
events in there on the login screen, but not afterwards.
Thanks,
--
Jeffrey Kardatzke
Google, Inc.
--
--
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups
"Chromium-dev" group.
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CA%2BddPcMmABLxvhCc306R30Ear6yW3B9S1p_2Pdyx0f_Zew3R0Q%40mail.gmail.com
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CA%2BddPcMmABLxvhCc306R30Ear6yW3B9S1p_2Pdyx0f_Zew3R0Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
--
Jeffrey Kardatzke
***@google.com
Google, Inc.
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CA%2BddPcPoOYPBSQnakHLoHHKA3%2BxshmO_KSm9FQ-4vOGUZEA_%3DQ%40mail.gmail.com.
Loading...