PiKVM-A3

From Geekworm Wiki
Jump to navigation Jump to search
X630+X630-A3+KVM-C3 Case for Pi4
X630+X630-A3
X630+X630-A3
X630 HDMI to CSI-2 Module
X630-A3 V1.3 Packing List
X630-A3 V1.2 Packing List (Sold out)
X630-A5 Packing List
X630-A5
PiKVM-A3: X630+X630-A3+X630-A5+OLED for Pi 4

Update History

X630-A3 (The core expansion shield of this kit) was updated from V1.2 to V1.6 in October 2023.

  1. Support WatchDog
  2. RTC function can be used directly, no need to configure.
  3. I2S audio cable added.

Overview

PiKVM-A3 is a member of the PiKVM[1] family, which supports Raspberry Pi 4 with a matching metal case.

Features

  • Designed especially for PiKVM ( Raspberry Pi based KVM over IP)
  • For use with Raspberry Pi 4 Model B 1GB/2GB/4GB/8GB
  • Fully compatible with PiKVM OS (refer to user manual)
  • Only compatible with PiKVM V3 OS, NOT support V4
  • Control a server and computer using a web browser
  • HDMI Full HD capture based on the TC358743 chip
  • OTG Keyboard & mouse; Mass Storage Drive emulation
  • Hardware Real Time Clock (RTC) with CR1220 coin battery socket
  • Equipped with solidstate relays to protect RPi GPIO pins from computer and ESD spikes
  • ATX control via RJ45 connector Switch the machine on or off, reset it, and monitor the status of HDD LED & power LED remotely
  • Reserves the 10pin SH1.0 connector on X630-A3 for future I2S HDMI audio support
  • Reserves the 4pin header & spacers for I2C OLED display

Packing List

  • 1 x 0.96 inch OLED: Resolution: 128×64 pixel, with 2 piece of M2*6 screws
  • 1 x ATX Conrol Ethernet Cable (Cable length: 100cm)
  • 1 x X630 HDMI to CSI-2 Module
    • 1 x FFC Cable(5cm length)
  • 1 x X630-A3 Expansion Board(V1.2/V1.3/V1.6)
    • 1 x USB-A to USB-C OTG Cable (Cable Length: 100cm / 39.37 inch)
    • 4 x M2.5x20mm F/F Spacers
    • 7 x M2.5x5mm Screws
    • 1 x M2.5x10mm Screws
  • 1 x X630-A5 V1.0 Adapter Board
    • 1 x M3.5x6mm Screw
    • 1 x ATX Control Cable (Cable Length: 47cm / 18.50 inch)

ATX Conrol cable:

You can make your own ATX control cable, in fact, it is a normal Ethernet cable, and the requirements must be 568B line sequence

RJ75-568B.png

RJ45 Pinout of KVM:

RJ45-PINOUT.png

How to Power

  • Power Input: 5.1Vdc +/-5% , ≥3A (Power Via USB Type-C port of X630-A3)
  • DON'T power via raspberry pi's TYPE-C port, because it is occupied as USB OTG.

How to Cool

  • For use with raspberry pi 4, X630-A3 (PiKVM-A3) equipped with a active cooling fan that cool your raspberry pi;
  • For use with raspberry pi 4, X630-A8 (PiKVM-A8 PCIe version) equipped with a active cooling fan that cool your raspberry pi;
  • For use with raspberry pi zero 2 w, X630-A4 (PiKVM-A4) allows to use C296 aluminum heatsink with your raspberry pi zero 2 w, but user need to prepare 4pcs M2.5*7mm screws yourself.

Hardware Parameters

X630-A3 + X630 X630-A5 Adapter board

User Manual

First you need to make sure your hardware connections are correct, please refer to the video and diagram below

Installation Video

PiKVM-A3 Kit: https://youtu.be/KrpHCsK7veA (Note: the X630-A3 V1.2 has been updated to X630-V1.3 and remove one on-board spacer to simplify the installation.)

Connection Diagram

1. The PiKVM-A3 is composed of follow parts:

RPIKVM-A3

  • X630 HDMI to CSI-2 Board (for video capture)
  • X630-A3 HAT Board (for ethernet, cooling, RTC, ATX Control power in etc)
  • X630-A5 Adapter Board (it is installed inside the PC case, and it connect the computer motherboard and IO panel cabe of PC case))
  • 0.96 inch OLED (for display, Resolution: 128×64 pixel)
  • Ethernet Cable (TIA/EIA-568.B connection, and it's ATX control signal cable)

Note:

Please use the supplied USB Type-C to USB 2.0 A-Male Cable only. USB-C to USB-A cable only with DATA lines(for keyboard and mouse emulation) and no power supply, Using other cable might cause instability or damage to either the host PC or the Pi.
We need to ensure you isolate the 5v connection between the Raspberry Pi and host PC to prevent backpower issues that can cause instability or damage to either the host PC or the Pi.
Some PC case may not have HDMI port, you need to use VGA/DVI to HDMI adapter to transfer HDMI port, but VGA to HDMI adapter may not be compatible with PiKVM-A3

2. Connection Diagram

PIKVM-A3 PiKVM-A4

Click it to zoom in

Note:

  1. The X630-A5 adapter board will be install into the PC Case.
  2. The wire group ① connect to X630-A5 comes from the PANEL of PC Case.
  3. The black and red wires(wire group ②) come from X630-A5 accessories.

OS Download & Installation

1. Firstly, need prepair a micro sd card, a minimum 16 Gb class 10 memory card is recommended.

2. Download an appropriate OS image for the PiKVM, the url link is: https://pikvm.org/download/

We recommend that you use the 'V3 Pre-Assembled' version, and this image includes OLED display configuration.
For Raspberry Pi 4, please use PiKVM V3 platform. Only compatible with PiKVM V3 Platform OS, NOT support V4
PiKVM V3 platform

3. Flash it to a microSD memory card by following the simple instructions or Official installation tutorial

4. Power the device, then open explore to login the pikvm web ui.

5. Blog sharing for reference: https://www.andysblog.de/kvm-over-ip-pikvm-als-bausatz

Enable RTC

Only need to configure the RTC function for the X630-A3 V1.5/V1.3/V1.2 version, X630-A3 V1.6 don't need.

Due to different RTC chips with official PiKVM hardware, you still need to configure RTC to make RTC work normally.

Firstly, insert the CR1220 button battery. run the following command in web terminal window:

1. switch to 'root' user

su root

then type the password, and the default password is 'root' also.

2. Switch OS to writable mode

rw

3. Edit the /boot/config.txt file, and change line dtoverlay=i2c-rtc,pcf8563 to dtoverlay=i2c-rtc,ds1307 (due to use the different RTC chip).

sudo nano /boot/config.txt

Then save & reboot the device;

4.Test & setting RTC, write&read the time of Raspberry Pi to RTC DS1307

date
sudo hwclock -w
sudo hwclock -r

5. Swith OS to readonly mode

ro

Enable OLED display

Run the following command in web terminal window to enable OLED display:

rw
systemctl enable --now kvmd-oled 
ro

If you are using PiKVM OS V3 Pre-Assembled, the OLED configuration is already pre-installed, you can ignore this step.

Enable hdmi audio

Refer to Enable pikvm hdmi audio

FAQ

Q. Why the device does not show the video only display No Signals?
  • Please check the hardware connection. Double-check that the video capture device is connected correctly and tightly.
  • Make sure you use the original HDMI port. If your desktop only has a VGA display port, there may be no video signal when you use VGA to HDMI adapter, and there is no way to solve this; However, you can try to lower the resolution and restart the PC to test, but the probability of success is very low.
  • Change the HDMI cable to test.
  • Test the X630 separately to check if there is HDMI output.
  • Some laptops do not output any signal until you switch the output (usually via the FN + and an F5 key on the keyboard).
  • Your computer maybe enter sleep mode, please exit sleep mode
Q. How to login pikvm?

A: Input the XX.XX.XX.XX ip address on the web explorer, then input user: admin, the default password is 'admin' also.

Q. How to switch to root user?

A: run the following command:

su root

Then type the password, the default password is 'root' also.

Q. How to enable OLED display?

A: Run the following command to enable OLED display:

rw
systemctl enable --now kvmd-oled 
ro
Q. Why OLED is not display?

A: Please follow the steps below to check

1. Please confirm that your OS is right:

Due to downloading the wrong firmware, the OLED cannot be displayed. We ALSO made such mistakes during testing.

Pi4-V3-HAT.png

2. Please check if the order of OLED screen pins is correct, please contact us if it's a wrong pin order;

OLED-IMG-4373-1.jpg

then runt the following command to check i2c address

sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --  

3c is a hexadecimal number, it is the I2C address of OLED, if you can’t find this value, please shut down and reconnect X630-A3&OLED and run this command again, If you still can't find the OLED's I2C address, the OLED screen may be damaged.

4. Then run the following command to enable OLED display:

rw
systemctl enable --now kvmd-oled 
ro
Q. I want to control several pc power. Is it possible with one PiKVM-A3 and several x630-a5

A. No, one kit can only control one pc, you can refer to X680 to control up to 4 PCs.

References

  1. PiKVM © belongs to https://pikvm.org
Add your comment
Geekworm Wiki welcomes all comments. If you do not want to be anonymous, register or log in. It is free.


Anonymous user #23

15 days ago
Score 0++

Hi.

Very interested in buying this. Is there a max resolution or is it purely limited by what the Pi can handle?

Anonymous user #22

one month ago
Score 0++
Where can I get sdupport for my video output. Ive tried everything and it just isnt showing video. It isnt being detected by my host when HDMI is connected. All my other settings work great.

Anonymous user #21

one month ago
Score 0++
Like there are 2 connections ? First to motherboard second to PANEL ? I somehow know what is motherboard but what is a panel ?

Lisa

one month ago
Score 0++
Hi,You can refer to the installation video above

Anonymous user #21

one month ago
Score 0++
YO anybody can help me with x630-A5 ? I am completely ignorant when it comes to hardware ? Would love somebody to explain me what should i do

Anonymous user #15

2 months ago
Score 0++
Pi KVM is really great, what I wonder if you can completely remove the fan or if that causes problems? Can you use a passive cooler as an alternative? Or at least make the fan quieter?

Anonymous user #18

2 months ago
Score 0++
Fellow customer here. The Raspberry Pi 4 11mm embedded heatsink (P165-B) is compatible with the KVM-A3 Kit using four 2.5x9+6 standoffs instead of the 2.5x20 standoffs included in the KVM-A3 Kit. The fan doesn't get in the way and everything fits perfectly. You can probably remove the fan entirely with the heatsink installed, but I haven't personally tried.

Lisa

2 months ago
Score 0++
Yes, you can remove the fan and replace it with a P165 Heatsink, but you need to prepare copper spacers of appropriate height to fix it.

Anonymous user #20

3 months ago
Score 0++
Any plans to update the KVM-A3 case for Raspberry Pi 5?

Anonymous user #15

2 months ago
Score 0++
I am also very interested in a version for the Raspberry Pi 5, as I would not like to buy the version for the Pi 4 now, which will soon no longer be up to date. Can you say approximately when a new version will be available for the Raspberry Pi 5?

Lisa

2 months ago
Score 0++
Sorry, we cannot be sure yet. Please follow our wiki and Geekworm official store for updates.

Anonymous user #19

4 months ago
Score 0++
Can relevant product dimensions be provided so I can design my own 3d printed case for this product?

Anonymous user #15

2 months ago
Score 0++
That would be great :)

Anonymous user #18

4 months ago
Score 0++
Just thought I'd confirm for anyone interested that the Raspberry Pi 4 11mm embedded heatsink (P165-B) is compatible with the KVM-A3 Kit using four 2.5x9+6 standoffs instead of the 2.5x20 standoffs included in the KVM-A3 Kit. The fan doesn't get in the way and everything fits perfectly.

Walker

4 months ago
Score 0++
Hello, KVM-A3 with 2.5x20, P165-B height of 11MM, normally, with 2.5 * 9 + 5 or 2.5 * 9 + 6 are feasible!

Anonymous user #17

5 months ago
Score 0++

I could use some help/advice with my PiKVM setup. I've read through the Pinned topics here and PiKVM / GeekWorm Wikis but I could be missing something so please forgive me.

Hardware: - GeekWorm KVM-A3 Kit - Raspberry Pi 4B 4GB - HP Pavilion 14-v062us laptop

With the laptop off, I connected my PiKVM system (HDMI and OTG USB port) to the target (my laptop) and turned the PI on. Next I turned the laptop on.

I'm having two issues: 1.) H.264 / WebRTC - This option doesn't seem to work at all. I have to switch to MJPEG / HTTP to see anything and this only shows a stream when Windows loads.

2.) Viewing BIOS - When rebooting the stream cuts while the system is posting and will not stream while the laptop is in the BIOS, even though the keyboard actions are being successfully forwarded.

Walker

5 months ago
Score 0++
Hi, we have received your email and have replied to you in the email

Anonymous user #16

5 months ago
Score 0++

Can you give an example of a working /boot/config.txt with I2S cable for X630-A3 + X630,

what are the minimal required version of X630-A3 + X630 ?

Walker

5 months ago
Score 0++
Hello, now the kvm-a3 version are support I2S, in the X630-A3 board with I2S interface, at the same time the KVM-A3 set comes with the I2S cable inside!

Anonymous user #15

7 months ago
Score 0++
Do you have longer USB Cable (USB without Power for KVM) and longer Ethernet Cables (for ATX power control) in your Shop?

Walker

7 months ago
Score 0++

Hello, now only the KVM-A3 comes with that length of USB Cable and Ethernet Cables.You can buy a longer cable yourself, but please note that ATX Conrol cable, It must be 568B line sequence,

ATX Conrol cable

Anonymous user #15

2 months ago
Score 0++

I would also like to have longer USB cables included with the kit or as an add on in the store at Geekworm/Amazon. Especially as it is a special USB cable.

I would also like the bundle to be 3-4€ more expensive if it would include 2 lengths of KVM USB cable. A medium one like now and a long one. The same with the ATX Ethernet cable, that would be really great and I think that these are very reasonably priced items. It would be a great service and would make the set even better :)

Lisa

2 months ago
Score 0++
we don't have longer USB cables yet.Thanks very much for your feedback.

Anonymous user #14

8 months ago
Score 0++
The kit I bought on Amazon came with 3 heatsinks, but it doens't show in the instructions here or the linked video where to put them. Can you attach an image showing where to stick them on please?

Walker

8 months ago
Score 0++
Hello, those three heatsink are given as a gift, they are used to cool the Raspberry Pi 4B motherboard (it can be directly attached to the CPU, RAM, and USB management chip of the Raspberry Pi 4B)

Anonymous user #13

9 months ago
Score 0++
For the ATX Control I'd like to make my own cable with RJ45 on one and and pin connectors on the other end (skipping the case module). Could you please let me know which RJ45 pin connects to which ATX pin?

Harry

9 months ago
Score 0++

Refer to

RJ45-PINOUT.png

RJ75-568B.png

Harry

9 months ago
Score 0++
Must be 568B line sequence

Anonymous user #10

9 months ago
Score 0++
I tried the I2S audio cable from X630-A2 audio HAT and it worked on my X630-A3 setup.

Walker

9 months ago
Score 0++

Hello, if you need an I2S audio cable in the future, you can buy it here:

https://www....sa4itemAdapt

You don't have to buy the X630-A2 audio HAT

Anonymous user #9

10 months ago
Score 0++
Audio isn't working. Is the I2S cable released? How can I get one?

Anonymous user #10

9 months ago
Score 0++
Buy the X630-A2 audio HAT from amaz

Walker

9 months ago
Score 0++

Hello, you can buy I2S audio cable here :

https://www....sa4itemAdapt

Anonymous user #8

10 months ago
Score 0++

I tried the RTC instructions above but they didn't seem to work. Please help.

[root@pikvm kvmd-webterm]# rw [kvmd-webterm@pikvm ~]$ grep Clock -A 2 /boot/config.txt

  1. Clock
  2. dtoverlay=i2c-rtc,pcf8563

dtoverlay=i2c-rtc,ds1307 [root@pikvm kvmd-webterm]# date Mon Jul 17 09:42:47 MSK 2023 [root@pikvm kvmd-webterm]# hwclock -w hwclock: Cannot access the Hardware Clock via any known method.

hwclock: Use the --verbose option to see the details of our search for an access method.

Walker

10 months ago
Score 0++
Hello, we have updated the RTC instructions. For details, you can check How to enable RTC in the FAQ. Can you try it and see if it works? If it still doesn't work, you can send email to us (support@geekworm.com)

Harry

10 months ago
Score 0++

Hi, the RTC clip is different with ofical pikvm.

rw
sudo nano /boot/config.txt
#Then change the line: dtoverlay=i2c-rtc,pcf8563 to dtoverlay=i2c-rtc,ds1307

#Test RTC
#Display the current time of the Raspberry Pi
date
#Write the time of Raspberry Pi to DS1307
reboot before next step
sudo hwclock -w

#Read the time of DS1307
sudo hwclock -r
ro

Walker

10 months ago
Score 0++
The fan of X630-A3 does not support speed adjustment

Anonymous user #6

11 months ago
Score 0++

Is Fan is PWM controlled by some GPIO? (GPIO12)

Or it us just connected to +5V directly?

Walker

11 months ago
Score 0++
Hello, it is not a PWM fan, this fan is directly connected to the board of X630-A3

Anonymous user #7

11 months ago
Score 0++

Ca i control the rotation speed of the Fan by X630-A3 or Raspberry Pi 4?

It is too noisy now and i want it to be off or low speed when temperature is low.

Anonymous user #7

11 months ago
Score 0++
Can I control the rotation speed of the Fan by X630-A3 or Raspberry Pi 4? It is too noisy now and I want it to be OFF or low speed when temperature is low.

Anonymous user #12

9 months ago
Score 0++

I replaced the original fan with a Noctua NF-A4X10-FLX 5V I had lying around. Admittedly, I had to cut the original fan cable and 'MacGyver' the header connector to the Noctua fan (which I also had to shorten). One thing to note -> since I put a 40mm fan inside a 30mm fan opening, it does not fit completely, however, there is just barely enough space to jam the new fan firmly in place over part of the opening, which gives it enough airflow.

Results: Cooler temps, low noise, no vibration.

Harry

9 months ago
Score 0++

Thanks for your feedback.

We will also replace it with a better fan soon.

Regards.

Anonymous user #15

2 months ago
Score 0++

I also find the current fan terribly loud :( Is there also a suitable one that can be installed relatively easily and is very quiet?

Best regards

Anonymous user #5

11 months ago
Score 0++
Is it possible to connect to the kvm from an android smartphone?

Walker

11 months ago
Score 0++
Hi, PIKVM-A3 needs to be connected to Raspberry Pi 4

Anonymous user #4

13 months ago
Score 0++

I seem to be getting errors in "PiKVM - RTC-based hardware watchdog" The error: "Permission denied: '/sys/class/rtc/rtc0/wakealarm'"

And sure enough, that path does not exist in "/sys/class/rtc/rtc0"

I tried changing the line in /boot/config.txt to: "dtoverlay=i2c-rtc,ds1307,wakeup-source"

However that did not resolve the error for me.

I saw another post mention this setting: "dtoverlay=i2c-rtc-gpio,ds3231,i2c_gpio_sda=17,i2c_gpio_scl=27,wakeup-source"

I did not try it, since I'm not sure which pins the X630-A3 is connecting to the RPI4 GPIO for the RTC chip. (and messing with I2C blindly is a bad idea)

Can you please let me know if there is a solution to setting/fixing up the alarm/wakeup feature of the DS1307?

Harry

13 months ago
Score 0++

firstly run the command:

rw

Harry

13 months ago
Score 0++

Anonymous user #11

9 months ago
Score 0++
Any update on this issue? Is is possible to get wakeup support with the X630-A3 and ds1307 RTC?

Anonymous user #12

9 months ago
Score 0++

Replying to my orignal post - I don't believe it is possible to have the wake-up feature. I looked up the RTC chip online and it just doesn't have the wakealarm functionality built in the hardware (though if someone somehow pulls it off, by all means, please explain it here) The PiKVM v3 HAT has a different RTC chip, which supports this feature, but for the price diff, it's not worth it for me, given that we even have support for all major features, incl. audio.

Hence, I recommend changing the python code for the watchdog service so it stops throwing errors, or disable it completely.

Anonymous user #3

14 months ago
Score 0++
Why is 'root' password not accepted?

Anonymous user #3

14 months ago
Score 0++

I tried two routes:

1) ssh root@<ip>

2) From a browser login and 'Terminal' (as user kvdm-webterm) sudo su - root

sudo -i

Anonymous user #3

14 months ago
Score 0++

That got garbled as you don't register a single new line!


I tried two routes:

1) ssh root@<ip>

2) From a browser login and 'Terminal' (as user kvdm-webterm)

sudo su - root

sudo -i

Anonymous user #3

14 months ago
Score 0++
Got there with the correct O/S!

Walker

14 months ago
Score 0++
Is the problem solved?

Anonymous user #1

18 months ago
Score 0++
What is a TF card? Do I need one to make this work?

Lisa

18 months ago
Score 0++
Yes,you need a TF card. It is recommended that you learn more about PiKVM before considering purchasing it.

Anonymous user #2

17 months ago
Score 0++
TF card is also known as a SD card in other parts of the world.