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

Reduce boot time #4

Open
robinlefleur opened this issue Nov 2, 2021 · 3 comments
Open

Reduce boot time #4

robinlefleur opened this issue Nov 2, 2021 · 3 comments

Comments

@robinlefleur
Copy link

robinlefleur commented Nov 2, 2021

Hello, you mentioned, that you could reduce the boot time of the raspberry pi to use the keyboard in bios. Which services did you disable to archieve that? hciuart is still taking ~6 seconds which is needed for the project as far as I understand

@HeuristicPerson
Copy link
Owner

I think my best times were much longer than that, maybe like 20 seconds or so. I read a bit about optimizing Linux to improve the booting speed but that wasn't very interesting to me and that's the reason I stopped working on the project. But even if you manage to do it, with modern SSDs and fast-boot option in the BIOS of most computers, the chances of your keyboard not being recognised are quite high.

I think a better approach is to continuously power the Pi through an external power supply.

@robinlefleur
Copy link
Author

robinlefleur commented Nov 4, 2021

Okay, I've tried to continuously power the Pi but now the problem is, that after reboot the usb port doesn't seem to recognize the pi anymore when it's permanently connected. The only solution is to reboot the pi. Any clues?

Edit: The usb port recognizes the pi but the pi doesn't forward the keyboard inputs to the computer

Edit 2: Okay, I know what the error was. When you press the F1 - 12 Keys the (raspi?) crashes (or the script?). I'm looking for a fix for it. Maybe you got an idea

@HeuristicPerson
Copy link
Owner

It could be that the connection with the PC through USB must be reinitialised if the Pi was already booted up. I'll try to get a pi zero after holidays to try to solve the issue.

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

No branches or pull requests

2 participants