It amazing that somebody actually went through intense amount of development and hassle, for the software he/she will just open for anybody to use. I truly admire developers of all the opensource projects.
My need is for keyboard-mouse only, the computer in question is connected to a physical display. This is quite common need as modern monitors have the capability to switch among inputs. Best of luck with your project!
The Pi Zero W is cheap, but the HDMI CSI input module is not. Only good thing about this setup I believe, with low FPS set aside, would be much smaller form factor and less power consumption.
thanks for letting me know, that is part of a little test network i use for my projects. much easier to type then special characters but still, i should have noted to use something like testwifi / password instead so people understand
Loved the vid. I part I don't understand is why a build would hardcode WiFi. Most single board and IoT has a WiFi "setup" network where you use a phone or PC to login to a web page and join it to your network, or uses a text file on the SD card with a small FAT partition. I know it takes some code space to do this on my ESP32 projects but it's worth it if I'm going to give the board to someone or give the software away. Then you can just use a pre-built image too. I understand the need to make the SD read only on a Pi (does the Zero and Pi4 corrupt as easy as the 2 did?) but I'm wondering if it can be set rw just during some config changes like the rare wifi setup step or passwd change.
@@trizedlyza cause you lose the ablity to connect a keyboard to the raspberry pi zero, so there would be no way to configure the wifi after you powered it on
If i recall, can't you hook up an RJ45 ethernet port to the GPIO of the PiZero? i know it wouldn't provide greater bandwidth, but might help with latency If you can and are able to make it work with this, please post and update, been looking for a piZero project and this be great for my homeserver/renderbox
Great channel! You say this works better on the Pi zero and Four but not the 2 or 3. I’ve got a couple of 3s hanging around but no 0s right now. Will it not work with them?
You can use 3 and 4 but wou will need arduino to emulate keyboard and mouse. These boards does not support OTG so it can't emulate mass storage device.
Didn't think of that for the 2 or 3. I'm planning on a Teensy or Digispark to emulate HID with serial from the Pi GPIO instead of any USB splitters. So I guess I can go with one of my old Pi 2's. Thanks for the idea.
I think there's a lot of misconception of what a KVM is. It's Key Board, Video, Mouse. Essentially your gaining access to the computer as if your sitting on a desk having access to the physical input and monitor. While VNC, Team view, and all other 3rd party software let you gain remote access, you can't gain access to underlying hardware like BIOS and ilom/drac. Another uses is when you end up working for government laptop, they won't let you take it out the country or install remote tool/software. Your only option is then network KVM which is crazy expensive. Pi KVM does what I need. Lastly, Pi KVM does this by capturing the HDMI signal from the video card and does keyboard/mouse by USB. There is circuit you can build to also gain access to power/reset/drive light for ATX mobo. I was doing some research on CSI-2 c780a and it seems this does audio, have not found anyone done a video or have confirm this. Does anyone know?
That's awesomo Dr Don - was it confirmed to be the CPU that was choking the performance here rather than I/O or the USB bus? I'm curious to know... As for uses for the zeros - I use two as send-to targets as display devices (piping output to them using netcat) and that's rather useful for status displays, etc. - have them on two 4:3 screens I picked up for £5 each. I also use one as a mini pickup/dropoff server as well, they certainly have their uses.
Thank you for the video! I hit what appears to be a new issue with the latest Arch image causing an error in the build: error: failed to initialize alpm library (could not find or read directory: /var/lib/pacman/). I logged an issue on the pikvm github.
Looks like Pi-KVM changed how wifi is configured 3 days ago. How would I get wifi on a Pi-Zero W? I don't see any pre-creation of image instructions. Looks like it is done after the image is flashed.
Love this channel! Did you ever have a look at the Orange Pi Zero and Zero 2? These are really powerful mini PCs with LAN, Wifi and BT and a quadcore CPU for about 15-20 euros. The Zero 2 outperforms the Raspberry Pi 3B+. Do you think you could get this running on these devices?
@@NovaspiritTechHi there! we discussed that on discord few months ago. You can use it Orange Pi Zero (H2) and Zero Plus(H5). Just need to use HDMI usb capture device There is a prebuilt img ready to flash on github
I'm sorry to bother you I was wondering what case you use for your kvn I built mine but it just sits on the desk and it seems to get really hot without being in a case to cool it every time I touch it I burn myself so I was wondering what case to buy
Your Amazon Link for the HDMI-CSI-2 bridge is empty.. why are the alternatives $100-$400? is there really that big of demand for them, or did "Big KVM" run up the prices to protect their business model?
Don can a USB C POE Ethernet adapter be used with the Pi-KVM Zero solution. Use a POE injector if you don't have a POE switch. Thinking one Pi Zero solution per need vs Pi-KVM with HAT and HDMI KVM switch.
The Pi Zero does not support usb c and only has one usb port which is needed to emulate the keyboard and mouse. The other micro usb connector on the zero is power only.
I'm using a pi 0 (orginal) and I get video, but I'm not getting any keyboard or mouse. The pikvm is plugged into a Pi 4 via the micro usb otg port to one of the Pi4's usb A ports. Any idea why my mouse and keyboard from my laptop are not being detected? Bad micro usb cable?
I just made 1 yesterday! I couldn't find a RUclips video anywhere. Think your the first. Why did you chose not to write the card using the CLI. I added the correct card to the config file and used, I believe the install comand, before the command making the image. I didn't have to install any other software or extract the image.
Doesn't this requirement make a Raspberry PI-3 the best candidate ? Reason all it would require is a sturdy HDMI cable for a normal scenario. And, in case the PC/Server only has VGA port then we can use the "HDMI to VGA, BENFEI HDMI to VGA Adapter (Female to Male)"
Don, is there any way we can try and get this working on Gadget mode? This would mean being able to plug the pi-kvm directly into a usb port, getting ethernet thru it as well as power, direct static IP can be set on the zero so wifi is not needed, i already have a bulky usb key prepared HMU if you want me to send it.
Technically it is in gadget mode since it's emulating keyboard and mouse. Adding ethernet emulation should be possible, but if you are getting ethernet through the host computer you are relying on the host OS to route ethernet traffic thus you might just as well use software solution such as teamviewer, VNC or RDP etc.
@@Tweak42 Ya, i figure that not long ago that i wouldn't be able to boot the system from start since the ethernet would be inactive when the target system is off, so instead im just gonna do as he did with wifi, still keeping the bulky usb because its much better than having 2-3 cables laying everywhere.
im having so much problems with "make os" i did sudo and still stock i have followed every step till this command error 255 and error 2 is the major hit into the wall for me.
i wonder if you can stack & use this with the 'Best waveshare Ethernet/USB HUB HAT for Raspberry Pi 3 B+/3 B/2 B/Zero/Zero W/Zero WH Expansion Board, 1x RJ45 Ethernet Port,3x USB Ports Compatible with USB2.0/1.1' Price: £13.55
Tried creating my own PiKVM OS for pi zero W and it failed on every ubuntu machine I tried (Server 20.04 LTS and 20.10). If you have an image you've already created that you can share, I would like a copy.
Unfortunately my image wont work with your setup unless it's recompiled with new wifi / host information. You should hop over to there discord and ask why your not able to compile
@@NovaspiritTech I went to discord and requested a copy. mdevaev has the zero pi w pre-made image on the website now. I got my pi zero W with HDMI-CSI bridge working using the image now available on his website. I already had 2 Pi 4B's running PiKVM before the Pi Zero. BTW, I wasn't the only one having the issue compiling. It looks like a known issue. pikvm.org/download.html
You either leaked your WIFI ssid and password @8:20 or these values are fake?! But then, why editing the file off screen in the first place? Btw: If these are your real credentials - you should change them immediately and never use a password that weak! Teaching linux stuff and using a password like that does not fill me with confidence in your videos ...
I imagined that he had a “test” WiFi network, similar to a Test vs Production scheme in real life companies. Personally, why keep this “private” in the first place. It’s hard to keep out of the videos without heavy scrubbing/editing of the video afterwards. For simplicity, he is also (correctly) using very default passwords too. Eases the flow of the lesson. A simple note throughout the video saying these are “default and insecure creds” is sufficient for the average viewer to figure out this is something not to do.
Using a testing wifi for stuff like this is good practice, but using a password that weak is definitely not - even if it is just for testing purposes. Just my two cents.
i agree with you both... this all started cause i was trying to input password to a pi and i didn't have special characters on the keyboard i was using.. so decided to make a new wifi with my cats name. but your right. i should have just kept it default like "testwifi" and "password". i will be changing this to something simple like that
It amazing that somebody actually went through intense amount of development and hassle, for the software he/she will just open for anybody to use. I truly admire developers of all the opensource projects.
Facts
Thank you DON OMG yesterday i was struggling on PI-KVM on the github and i couldn't understand JACK this is much clearer.
Thank you sooo much! I've been struggling for hours and couldn't get it to work! This is fantastic!
My need is for keyboard-mouse only, the computer in question is connected to a physical display. This is quite common need as modern monitors have the capability to switch among inputs. Best of luck with your project!
Pi-KVM supports remote ATX power and WoL too, this is exactly what I was looking for.
But, although you have WoL in RPI, would you be able to power on a PC "manually"? Thanks
Perfect timing - thanks a lot!
Pi-KVM on a Zero, you’re my hero...😁
Fascinating. Thank you for posting.
The Pi Zero W is cheap, but the HDMI CSI input module is not. Only good thing about this setup I believe, with low FPS set aside, would be much smaller form factor and less power consumption.
Been watching your videos for the last couple of weeks and I’m wondering what Linux distro you’re running on your main machine. It’s super clean!
Ubuntu 20.10 gnome. I just did a 2021 desktop review
at the end of the build log, FYI, it shows your Wifi SSID and PW mate, might wanna change your stuff IRL just incase
you can see it at 8:23
thanks for letting me know, that is part of a little test network i use for my projects. much easier to type then special characters but still, i should have noted to use something like testwifi / password instead so people understand
Loved the vid. I part I don't understand is why a build would hardcode WiFi. Most single board and IoT has a WiFi "setup" network where you use a phone or PC to login to a web page and join it to your network, or uses a text file on the SD card with a small FAT partition. I know it takes some code space to do this on my ESP32 projects but it's worth it if I'm going to give the board to someone or give the software away. Then you can just use a pre-built image too.
I understand the need to make the SD read only on a Pi (does the Zero and Pi4 corrupt as easy as the 2 did?) but I'm wondering if it can be set rw just during some config changes like the rare wifi setup step or passwd change.
@@trizedlyza cause you lose the ablity to connect a keyboard to the raspberry pi zero, so there would be no way to configure the wifi after you powered it on
@@KingBjord you also see it at 7:56 when it builds the OS
If i recall, can't you hook up an RJ45 ethernet port to the GPIO of the PiZero? i know it wouldn't provide greater bandwidth, but might help with latency
If you can and are able to make it work with this, please post and update, been looking for a piZero project and this be great for my homeserver/renderbox
yes you can use a SPI ethernet for the pi zero, i have not tried it out with that yet
That's a good idea! I always go wired when possible. You can always count on WiFi, except when it doesn't work.😉
Great channel! You say this works better on the Pi zero and Four but not the 2 or 3. I’ve got a couple of 3s hanging around but no 0s right now. Will it not work with them?
You can use 3 and 4 but wou will need arduino to emulate keyboard and mouse. These boards does not support OTG so it can't emulate mass storage device.
Didn't think of that for the 2 or 3. I'm planning on a Teensy or Digispark to emulate HID with serial from the Pi GPIO instead of any USB splitters. So I guess I can go with one of my old Pi 2's. Thanks for the idea.
I think there's a lot of misconception of what a KVM is. It's Key Board, Video, Mouse. Essentially your gaining access to the computer as if your sitting on a desk having access to the physical input and monitor. While VNC, Team view, and all other 3rd party software let you gain remote access, you can't gain access to underlying hardware like BIOS and ilom/drac. Another uses is when you end up working for government laptop, they won't let you take it out the country or install remote tool/software. Your only option is then network KVM which is crazy expensive. Pi KVM does what I need. Lastly, Pi KVM does this by capturing the HDMI signal from the video card and does keyboard/mouse by USB. There is circuit you can build to also gain access to power/reset/drive light for ATX mobo. I was doing some research on CSI-2 c780a and it seems this does audio, have not found anyone done a video or have confirm this. Does anyone know?
Excellent video. Thanks.
That's awesomo Dr Don - was it confirmed to be the CPU that was choking the performance here rather than I/O or the USB bus? I'm curious to know... As for uses for the zeros - I use two as send-to targets as display devices (piping output to them using netcat) and that's rather useful for status displays, etc. - have them on two 4:3 screens I picked up for £5 each. I also use one as a mini pickup/dropoff server as well, they certainly have their uses.
the low frame rates has to do with CPU choking, and the latencey is due to wifi
Thank you for the video! I hit what appears to be a new issue with the latest Arch image causing an error in the build: error: failed to initialize alpm library (could not find or read directory: /var/lib/pacman/). I logged an issue on the pikvm github.
It was mentioned in the issue that the author replied that the latest mirror compilation is best to use the latest version of archlinux.
@@arkcold7500 He mentioned this after I commented as I am the one who logged the issue. 😊
Looks like Pi-KVM changed how wifi is configured 3 days ago. How would I get wifi on a Pi-Zero W? I don't see any pre-creation of image instructions. Looks like it is done after the image is flashed.
It does NOT require Ubuntu, I built the image on Arch with no problem.
Is there any reason why official docs recommends using both ports (one for power one for hid) instead of just using the power from the host?
Thank you your vidio is verry cool!
Love this channel! Did you ever have a look at the Orange Pi Zero and Zero 2? These are really powerful mini PCs with LAN, Wifi and BT and a quadcore CPU for about 15-20 euros. The Zero 2 outperforms the Raspberry Pi 3B+. Do you think you could get this running on these devices?
Yea but won't work. I asked the dev. This strictly uses vidcore which is rpi specific
@@NovaspiritTechHi there! we discussed that on discord few months ago. You can use it Orange Pi Zero (H2) and Zero Plus(H5). Just need to use HDMI usb capture device
There is a prebuilt img ready to flash on github
Hi, Orange Pi is even more rare than Raspberry Pi. Where to get one for 15-20 € like you said?
Can you do an update video for the pi zerow 2?
Thanks Don! Got pi-kvm working on the zeroW but only using straight HDMI. When I introduce an HDMI to VGA adapter I get "No Signal"
@Rodolfo Perez, hi did you get it to work on VGA?
Can you make a comparision about the performance with the Pi Zero 2 W?
Seconded, though I guess if someone's mentioned performance with the 3A+, performance with a Zero 2W would be close to the 3A+?
3A+ performance is pretty good, feels similar to the Pi4 shown in the demo.
upvoted for ooyy music
It looks like you didn’t enter a host name in the config file.
Thanks Don for the nice demo.
I'm sorry to bother you I was wondering what case you use for your kvn I built mine but it just sits on the desk and it seems to get really hot without being in a case to cool it every time I touch it I burn myself so I was wondering what case to buy
Your Amazon Link for the HDMI-CSI-2 bridge is empty.. why are the alternatives $100-$400? is there really that big of demand for them, or did "Big KVM" run up the prices to protect their business model?
Don can a USB C POE Ethernet adapter be used with the Pi-KVM Zero solution. Use a POE injector if you don't have a POE switch. Thinking one Pi Zero solution per need vs Pi-KVM with HAT and HDMI KVM switch.
The Pi Zero does not support usb c and only has one usb port which is needed to emulate the keyboard and mouse. The other micro usb connector on the zero is power only.
I'm using a pi 0 (orginal) and I get video, but I'm not getting any keyboard or mouse. The pikvm is plugged into a Pi 4 via the micro usb otg port to one of the Pi4's usb A ports. Any idea why my mouse and keyboard from my laptop are not being detected? Bad micro usb cable?
If one port is free when taking power from same cable that goes in to the computer, isnt it possible to have a usb nic connected then?
I just made 1 yesterday! I couldn't find a RUclips video anywhere. Think your the first. Why did you chose not to write the card using the CLI. I added the correct card to the config file and used, I believe the install comand, before the command making the image. I didn't have to install any other software or extract the image.
This way I can save the image on my nas and load it anytime I need it.
What is the different between HDMI to CSI or CSI2? CSI version is alot cheaper, does it make any sense to insist CSI2? Thanks.
"newgrp docker" so you don't have to logout to run the "docker" command
What about a pi kvm with dual nics to connect to lan devices
I have a Problem. Im constantly seeing green artifacts all over my Screen. Does anybody know why this is happening??
why isn't the `make` command taking all or at least 50% of the threads into action?
Is there something in between the RPi 4 and the Zero in terms of price and performance.
Doesn't this requirement make a Raspberry PI-3 the best candidate ?
Reason all it would require is a sturdy HDMI cable for a normal scenario. And, in case the PC/Server only has VGA port then we can use the "HDMI to VGA, BENFEI HDMI to VGA Adapter (Female to Male)"
I believe the pi3 doesn't do keyboard/mouse HID in their USB ports.. so you would have only the image..
can you power on/off the pc (can you connect to the motherboard power headers?) with raspberry pi W?
I don't need hdmi video can i still use this just for keyboard and mouse?
im making a pi0 camera. i want a vuew finder and the hdim out put. is this posible. ither with a splitter or a spi screen and the hdmi out?
Don, is there any way we can try and get this working on Gadget mode? This would mean being able to plug the pi-kvm directly into a usb port, getting ethernet thru it as well as power, direct static IP can be set on the zero so wifi is not needed, i already have a bulky usb key prepared HMU if you want me to send it.
Technically it is in gadget mode since it's emulating keyboard and mouse. Adding ethernet emulation should be possible, but if you are getting ethernet through the host computer you are relying on the host OS to route ethernet traffic thus you might just as well use software solution such as teamviewer, VNC or RDP etc.
@@Tweak42 Ya, i figure that not long ago that i wouldn't be able to boot the system from start since the ethernet would be inactive when the target system is off, so instead im just gonna do as he did with wifi, still keeping the bulky usb because its much better than having 2-3 cables laying everywhere.
im having so much problems with "make os" i did sudo and still stock i have followed every step till this command error 255 and error 2 is the major hit into the wall for me.
On GitHub shows Zero2w and not ZeroW Im guessing it still works?
Excellent video, but i think you should hide your password 8:23
Pi zero has two type c port. Can you do a latest video as on 2024
Will this work even if you're not in the same WiFi/ Internet connection as pc you're trying to control?
i wonder if you can stack & use this with the
'Best waveshare Ethernet/USB HUB HAT for Raspberry Pi 3 B+/3 B/2 B/Zero/Zero W/Zero WH Expansion Board, 1x RJ45 Ethernet Port,3x USB Ports Compatible with USB2.0/1.1' Price: £13.55
Which version of Ubuntu did you use?
Can you test it with banana pi zero? It has a quad Core cpu.
Does overclocking help at all with the rendering quality?
it should... but pi zero w overclock is very minimal, doenst make too much of a impact
Just tried to compile for raspberry pi zero w and is NO longer possible, had to go for a zero 2 w . Pity developers took away the option!
I can't seem to find the HDMI-IN CSI2 expansion board. Any ideas?
If you still need it, check here: www.amazon.com/gp/product/B0899L6ZXZ/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
Tried creating my own PiKVM OS for pi zero W and it failed on every ubuntu machine I tried (Server 20.04 LTS and 20.10). If you have an image you've already created that you can share, I would like a copy.
Unfortunately my image wont work with your setup unless it's recompiled with new wifi / host information. You should hop over to there discord and ask why your not able to compile
@@NovaspiritTech I went to discord and requested a copy. mdevaev has the zero pi w pre-made image on the website now. I got my pi zero W with HDMI-CSI bridge working using the image now available on his website. I already had 2 Pi 4B's running PiKVM before the Pi Zero. BTW, I wasn't the only one having the issue compiling. It looks like a known issue.
pikvm.org/download.html
Hey Don can you do video on the latest
Does anyone have an STL for a case that will fit this setup?
does this still work? I read the pi zero no longer has support. Will this tutorial work?
Wondering the same. Have to Zero W v1 coming in so hopefully lol
sadly this is outdated and no you cant build it for the pi zero it says invalid board. combo or something of the sort.
This video is out of date because there is already a pre built image for the pi-zerow pikvm.org/images/
Has anyone designed a case for this to print?
I'm working on something for it
@@NovaspiritTech cool, I can't wait to check it out. Im going to try to put 1 together in tinkercad lol.
@@NovaspiritTech Did you ever get that case done?
First!
HDMI to CSI is like at least 4 times as expencive as the rpi itself. There have to be another solution, the pricing of this little board is rediculous
How does it perform when only the terminal is shown?
Your wifi password 168family? :p
You either leaked your WIFI ssid and password @8:20 or these values are fake?! But then, why editing the file off screen in the first place?
Btw: If these are your real credentials - you should change them immediately and never use a password that weak! Teaching linux stuff and using a password like that does not fill me with confidence in your videos ...
yea that's the password i use on my testing wifi. i forgot to cut that out
trying to keep typing hard passwords for my videos has became a nuisance so i have a separate wifi essid just for rpi stuff
I imagined that he had a “test” WiFi network, similar to a Test vs Production scheme in real life companies.
Personally, why keep this “private” in the first place. It’s hard to keep out of the videos without heavy scrubbing/editing of the video afterwards. For simplicity, he is also (correctly) using very default passwords too. Eases the flow of the lesson. A simple note throughout the video saying these are “default and insecure creds” is sufficient for the average viewer to figure out this is something not to do.
Using a testing wifi for stuff like this is good practice, but using a password that weak is definitely not - even if it is just for testing purposes. Just my two cents.
i agree with you both... this all started cause i was trying to input password to a pi and i didn't have special characters on the keyboard i was using.. so decided to make a new wifi with my cats name. but your right. i should have just kept it default like "testwifi" and "password". i will be changing this to something simple like that
ssid friday, password 168family, but nice try.
Still boosting the lows WAY too much.
Ohh I didn't get a new mic yet but I did buy a new c stand for overhead camera and mic setup... Soooooon
Kvm pi noob here?
Second@