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

I made new install.sh and config.sh #12

Open
peacokswiss opened this issue Jan 5, 2023 · 12 comments
Open

I made new install.sh and config.sh #12

peacokswiss opened this issue Jan 5, 2023 · 12 comments

Comments

@peacokswiss
Copy link

peacokswiss commented Jan 5, 2023

Update 8 Jan 2023 see next.....

@xe5700
Copy link
Owner

xe5700 commented Jan 14, 2023

nice work

toss-a added a commit to toss-a/pikvm-armbian that referenced this issue Jan 16, 2023
Thanks to peacokswiss for creating a new script and explaining how to use it in detail
xe5700#12
@kazuho
Copy link

kazuho commented Jan 23, 2023

Super happy to report that I was able to install kvmd-armbian on radxa zero with the changes to install.sh and config.sh.

FTR, I used Armbian port of Ubuntu Jammy Jerryfish, as with Debian Bullseye I had issues with python being too old.

I had to install pyotp manually and chmod 644 /etc/kvmd/totp.secret, but they are the only tiny glitches that I had to fix.

Thank you @xe5700 for porting kvmd to armbian, and @peacokswiss for the modifications to the scripts.

@peacokswiss

This comment was marked as outdated.

@peacokswiss

This comment was marked as outdated.

@peacokswiss

This comment was marked as outdated.

@peacokswiss
Copy link
Author

peacokswiss commented Nov 20, 2023

Some Changes now... please refer to

it shoot work mostly for all Brands of Pi Boards (rockpi/orangepi/etc...)., if they able for usb-otg peripheral.....

ok cue;

http://www.industrie-optimierer.ch/tmp/PiKVM/PiKVM_OrangePizero2/

@BadgerAAV
Copy link

Some Changes now... please refer to

it shoot work mostly for all Brands of Pi Boards (rockpi/orangepi/etc...)., if they able for usb-otg peripheral.....

ok cue;

http://www.industrie-optimierer.ch/tmp/PiKVM/PiKVM_OrangePizero2/

Hello, the scripts from your ftp worked perfectly on orange pi pc on Armbian 23.11.1 bookworm.
Video/keyboard/mouse capture works, even MSD works, thanks a lot!
But I can't get pikvm to work with the ATX block in any way: if I turn on "/etc/kvmd/override.yaml" "atx:type: gpio", then I get an error when loading the page - internal server error.
I also tried to fit my pins in "/usr/lib/python3.11/site-packages/kvmd/plugins/atx/gpio.py "
As far as I understand, orangepi uses other libraries to work with gpio, is that the case? Do I need to install and import them in the configuration somehow?
Please tell me, does the ATX functionality work on orangepi zero2 in the latest version or not?
Maybe it's the architecture.. I have an allwinner H3 while you have an H616..

@peacokswiss
Copy link
Author

They use a very modern libgpiod

pikvm/libgpiod1 2.1-1 [installed]
C library and tools for interacting with the linux GPIO character device
i don't know where to get at moment
(This include the command -> gpiod.request_lines )

@BadgerAAV
Copy link

They use a very modern libgpiod

pikvm/libgpiod1 2.1-1 [installed] C library and tools for interacting with the linux GPIO character device i don't know where to get at moment (This include the command -> gpiod.request_lines )

Thanks for the answer!
In fact, these are just native three buttons in their submenu of the web interface, so it's not too scary, since from "gpio: drivers:" you can still call custom scripts, which describe how to work with GPIO.

@abhi-chakrab
Copy link

abhi-chakrab commented Feb 16, 2024

Some Changes now... please refer to

it shoot work mostly for all Brands of Pi Boards (rockpi/orangepi/etc...)., if they able for usb-otg peripheral.....

ok cue;

http://www.industrie-optimierer.ch/tmp/PiKVM/PiKVM_OrangePizero2/

@peacokswiss - Thanks to your changes I was able to install this on my H96 Max X3(Amlogic S905X3) running armbian. The video work great and I'm able to see it in the web console. But I'm trouble getting the mouse/keyboard to work. The web console shows the keyboard and mouse as orange. I have tried multiple usb cables and also taped the 5v pin on the usb plug.
image

I have checked the dtb file and it has otg enabled and is in peripheral mode:
image

Also I don't see any errors in the kvmd logs (journalctl -u kvmd), except below:
kvmd.apps.kvmd.info.hw ERROR --- Can't read DT serial-number from /proc/device-tree/serial-number: [Errno 2] No such file or directory: '/proc/device-tree/serial-number'

Any suggestions on how to debug or find what the issue is?

@peacokswiss
Copy link
Author

peacokswiss commented Feb 19, 2024

I don't have the hardware,, but it will be good you read......

http://www.industrie-optimierer.ch/tmp/PiKVM/PiKVM_OrangePizero2/Howtomake_theDTB_Files%20correct_ForPiKVM.pdf

My HowTo http://www.industrie-optimierer.ch/tmp/PiKVM/PiKVM_OrangePizero2/Howtomake_theDTB_Files%20correct_ForPiKVM.pdf

haves one part,, one befor changes, and then a part with the changes for usb,, read slowly please

one in dr_mode=peripheral the others status = "disabled"; (!! and this only for one usb plug)

And my tipp is,, you burn the img of a os to the sdcard,, befor first boot, it has to fit the dtb file... ok ,)

Your example is specaly, a USB@4000000 alone can't be, there must be more normal, one Host can handle three devices, this three devices i disable, so i put in one line on USB@4000000, ok i said i don't have your hardware.. maybee is there only one???? sorry

Maybee is the USB@400000 the only one,, then is the usb port to less in hardware,, normal you have usb@400100 usb@400200 too, if they not there, then i think the hardware is to cheap... sorry

this is the most i can say

cy

@peacokswiss
Copy link
Author

peacokswiss commented Mar 16, 2024

Dear people, unfortunately I am discontinuing support for the project. Thank you for all the inspiration, criticism and thanks.
I'll leave the project as it was at the end of February for another months
You can pick it up, copy it, totally free. Then I'll probably delete it.

So thank you so much guys.

Last Readme: http://industrie-optimierer.ch/tmp/PiKVM/PiKVM_OrangePizero2/Readme.txt
My Deposit: http://industrie-optimierer.ch/tmp/PiKVM/PiKVM_OrangePizero2

so cue....

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

5 participants