Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to Wake the Computer without WOL? I tried to type on the keyboard, but didn't work #829

Closed
wilsonnkwan opened this issue Nov 25, 2021 · 9 comments
Labels
question Further information is requested

Comments

@wilsonnkwan
Copy link

Hi,

My target computer does not support wake on lan for some reason, so I was trying to pass keystrokes into the target system while it is sleeping, it doesn't seem to work. I suspect OTG input is not working when the target computer is asleep.
But interestingly, I can wake up the target computer with a physical keyboard or mouse.

Is there anyway that we can wake the computer up while it is asleep other than WOL?

Thank you.

Warmest Regards,
Wilson

@wilsonnkwan wilsonnkwan added the question Further information is requested label Nov 25, 2021
@mtlynch
Copy link
Collaborator

mtlynch commented Nov 30, 2021

Unfortunately, I don't have a workaround for getting target machines to wake up if they fail to respond to TinyPilot's keystrokes while asleep.

Have you checked your BIOS settings? Usually, if it's not responding to WOL, you can enable it there, but I've seen some motherboards that claim to support WOL and they actually don't (or only certain BIOS revisions do).

@mtlynch mtlynch closed this as completed Nov 30, 2021
@jlian
Copy link

jlian commented Aug 4, 2022

There's a kernel patch + small init-usb-gadget driver updates that now fixes this. Works on my TinyPilot CE setup.

@wilsonnkwan
Copy link
Author

wilsonnkwan commented Aug 4, 2022 via email

@jlian
Copy link

jlian commented Aug 4, 2022

I had to learn to patch and compile the Linux kernel for the first time too! It’s different depending on your setup, but I took some notes here https://github.com/jlian/linux-kernel-cross-compile

Links I referenced:

@mtlynch
Copy link
Collaborator

mtlynch commented Aug 8, 2022

@jlian - Thanks so much for taking the time to write up those notes and share those references!

@wilsonnkwan
Copy link
Author

@mtlynch , Possible to incorporate in future release? hahahaha
Sorry, total noob here, not sure how to compile this after reading the instructions.

@mtlynch
Copy link
Collaborator

mtlynch commented Aug 8, 2022

We'll likely incorporate it if Linux accepts the patch upstream, though it's going to be a while, as it's nontrivial to distribute new kernel patches.

@luckman212
Copy link

In May 2024 is there any progress here? My target system just went to sleep and I can't wake it up via mouse/keyboard... argh

@db39
Copy link
Contributor

db39 commented May 13, 2024

is there any progress here?

It doesn't look like there has been any upstream changes / patches, unfortunately. So this issue still exists.

As a work around, we created a simple mouse jiggler to keep target machines from entering sleep mode. Alternatively, you can edit your target machine's settings to prevent it from entering sleep mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants