Skip to content
This repository has been archived by the owner on Dec 14, 2019. It is now read-only.

Review keyboard initialization sequences #6

Open
CMoH opened this issue Jul 1, 2015 · 1 comment
Open

Review keyboard initialization sequences #6

CMoH opened this issue Jul 1, 2015 · 1 comment

Comments

@CMoH
Copy link
Owner

CMoH commented Jul 1, 2015

Some "faking away with initialization" message seems to appear on all devices.
The initialization sequence seems to be reverse engineered with an USB monitor from the windows drivers until the device "worked". The stages and the messages exchanged at that phase seem to differ for each device, although the results are ignored by the driver.

@CMoH CMoH changed the title Review keyboard initialization sequence Review keyboard initialization sequences Jul 1, 2015
@CMoH
Copy link
Owner Author

CMoH commented Jul 1, 2015

From email with @guillaumecl:

On my G13 I have warnings that the initialization does not work, the
device still works though (and it powers up much faster). It looks like
the G13 never sends the messages that are supposed to be received in
raw_input.

I have tried to remove the wait condition, and the device still powers
up fine, everything works as expected. I've noticed this initialization
sequence is also found on other devices, does it give warnings on those
too ?

The computer I am using has both a Linux installation and a Windows
install. I have noticed that my G19 (my main keyboard) behaves
differently from a cold boot to a reboot from Linux or a reboot from
Windows. Also, the G19 is externally powered, and power-cycling the
keyboard seems to have effects on its state after boot.

Perhaps it's worth seeing if your conclusions hold in each of these
situations. If they do, then we can remove (or deactivate) that code - see
if anyone complains :)

Thanks for the observations. When I had removed the initialization code,
it worked from cold boot, resume after suspend to ram, plug out the
cable then plug back again.

What I never tested was to boot Windows then reboot to Linux since my
Windows setup is on another older machine. I'll test that too just in
case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant