-
-
Notifications
You must be signed in to change notification settings - Fork 506
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
USB Keyboard emulation on RPi0W #3489
Comments
@danergo |
@MichaIng: I have reinstalled DietPi at least a dozens of times, and it did not worked. With DietPi, But DietPi does not have rc.local and I did not tried with systemctl style autorun. Again: this shall be working with DietPi, but the single essence of the solution (which is bringing up I would still prefer using DietPi vs Raspbian Lite, but currently I don't have any option to see RPi0W's console, as I can only login with ssh over wifi. |
@danergo
... ah I think I know the issue. Please do:
You should see the output, showing that the setting has been added and hence was not been present. |
Sounds cool, thank you. Now I don't necessarily touch this device again unless I can be sure that DietPi can also work in fully readonly rootfs (this Pi is like a pendrive: can be plugged out from the computer, i.e. power break without correct shutdown procedure). The procedure I made with Raspbian consisted some steps, like:
Now I know DietPi is kind of ligthweight and already use a nice log which does not load the SD card. Could you please confirm this for me? Then I will test this USB HID thing and reply back here with my results. |
Our scripts work with all Raspbian/Debian versions up to Bullseye (testing), since Buster is the new stable version and we provide RPi Buster images for a long time, of course they have been tested throughoutly. Basically you can do everything with DietPi that you can do with Raspbian. DietPi is Raspbian made lightweight and with our own script/tool set on top, but with same APT repo, kernel/firmware/bootloader etc. So basically, if you want to try it again with DietPi, I would wait for the next release, where RAMdisk has gone, which removes the need to write tmpfs files back to disk on shutdown, so more compatible with R/O systems. Else I don't see an issue. |
Okay, I'll wait for the next release, thanks. Shall we close this issue for now and reopen after next version will come out? |
@danergo |
I mixed up the issues I think, as this had nothing to do with LIRC 😄, which was handled here instead: #3481 |
There are a lot of infos around to use RPI0W as a standard USB keyboard via g_hid.
I.e.: https://github.com/raspberrypisig/pizero-usb-hid-keyboard
or: https://www.aidanwoods.com/blog/building-a-wifi-enabled-usb-rubber-ducky
And there are others too (all relates to the same method).
Is there any chance that DietPi truncates this feature so I can not use this by default?
The text was updated successfully, but these errors were encountered: