openstenoproject / plover

Open source stenotype engine
http://opensteno.org/plover
GNU General Public License v2.0
2.37k stars 278 forks source link

"ERROR: discarding incomplete packet: b'80'" whenever Georgi keyboard is used to wake up machine from sleep state #1208

Open user202729 opened 3 years ago

user202729 commented 3 years ago

Describe the bug

See title.

To Reproduce

Steps to reproduce the behavior:

  1. Open Plover.
  2. Suspend the computer.
  3. Press any key on the Georgi to wake the computer up.
  4. The error is printed. (NOTE I can't reliably reproduce the error? In fact it appears that the error disappeared when I try to reproduce it, even though nothing has changed)

Expected behavior

No error.

Operating system

X on Linux. Latest master, with a lot of modifications and plugins.

Hardware

Georgi keyboard, directly connected to computer with a (mini-to-)USB cable.


Actually it isn't a very serious issue, and it might not be easy to fix (because it might be the operating system that only send part of the packet); but leaving the issue here cannot be bad.

benoit-pierre commented 3 years ago

So which machine plugin is it using?

user202729 commented 3 years ago

Ah right, Gemini PR. (forgot that a Georgi can act as a keyboard too)

user202729 commented 3 years ago

Update: after a kernel upgrade, this stopped happening; instead there's #1273 (which is worse)