xe5700 / kvmd-armbian

KVMD For Armbian Install Script
GNU General Public License v2.0
192 stars 55 forks source link

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

Open peacokswiss opened 1 year ago

peacokswiss commented 1 year ago

Update 8 Jan 2023 see next.....

xe5700 commented 1 year ago

nice work

kazuho commented 1 year ago

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 commented 1 year ago

I also noticed the changes (updated install.sh/config.sh), and small changes still.. (23 Jan 2023)

you can pickup here http://www.industrie-optimierer.ch/tmp/PiKVM/PiKVM_OrangePizero2/

I'm not sure I'll maintain it all the time, I'll probably make a local mirror at home.

peacokswiss commented 1 year ago

I have to say a very very big thank to @xe5700 ,,

that's all....

cue

peacokswiss commented 1 year ago

I recommend, take my SD card writer... the others can't do anything... honestly...

http://www.industrie-optimierer.ch/tmp/mksdcardpi/

greats...

peacokswiss commented 11 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 7 months ago

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....