Hi, we had some openQA hardware testing in the past using the KVM2USB device [1]. Unfortunately that had some problems: * the driver was not open-source, so you had to ask the vendor to compile it for new kernels (every year after dup) * VGA capture only provided 3x6 bit per pixel with added noise, so we had to do fuzzy matching * had to manage CDs and power separately I know also that Alexander Graf looked into HDMI capture earlier, but FPGA-based devices in that area were rather expensive and complicated to get right. and I had experimented with USB-OTG keyboard+CD emulation during hackweek in https://github.com/os-autoinst/os-autoinst/tree/hidg Now thanks to Luca Beltrame, I discovered https://www.dennogumi.org/2021/02/dyi-kvm-over-ip-with-pikvm/ * based on Raspberry Pi 4 * HDMI capture over the camera input * fully open source * emulates keyboard+mouse+CD over USB-OTG (aka HID gadget mode) * provides VNC access and there will even be v3 hardware soon as a RPi-hat with integrated power control and less manual setup work. If we go this route and it is working, at some point we could replace the embedded ArchLinux with an openSUSE. This could finally ensure that at least some NVidia and AMD graphics cards keep working, with the possibility for some extra hardware testing for whatever Ethernet/Wifi/SATA/RAID/NVMe adapter is in the system under test. Ciao Bernhard M. [1] https://www.epiphan.com/products/kvm2usb/
Hi Bernhard,
"Bernhard M. Wiedemann"
Hi,
we had some openQA hardware testing in the past using the KVM2USB device [1]. Unfortunately that had some problems: * the driver was not open-source, so you had to ask the vendor to compile it for new kernels (every year after dup) * VGA capture only provided 3x6 bit per pixel with added noise, so we had to do fuzzy matching * had to manage CDs and power separately
I know also that Alexander Graf looked into HDMI capture earlier, but FPGA-based devices in that area were rather expensive and complicated to get right.
and I had experimented with USB-OTG keyboard+CD emulation during hackweek in https://github.com/os-autoinst/os-autoinst/tree/hidg
Now thanks to Luca Beltrame, I discovered https://www.dennogumi.org/2021/02/dyi-kvm-over-ip-with-pikvm/
* based on Raspberry Pi 4 * HDMI capture over the camera input * fully open source * emulates keyboard+mouse+CD over USB-OTG (aka HID gadget mode) * provides VNC access
This might be of interest to you as well: https://tinypilotkvm.com/
They even sell finished kits if you don't fancy building one yourself.
Cheers,
Dan
--
Dan Čermák
Bernhard M. Wiedemann wrote:
[...] Now thanks to Luca Beltrame, I discovered https://www.dennogumi.org/2021/02/dyi-kvm-over-ip-with-pikvm/
* based on Raspberry Pi 4 * HDMI capture over the camera input * fully open source * emulates keyboard+mouse+CD over USB-OTG (aka HID gadget mode) * provides VNC access
and there will even be v3 hardware soon as a RPi-hat with integrated power control and less manual setup work.
If we go this route and it is working, at some point we could replace the embedded ArchLinux with an openSUSE.
I gave pikvm a try last year too. Quite cool, especially as it allows to provide an EDID with the resolution we need. However, the keyboard does not work in grub when trying to control one Rpi with another due to u-boot¹. That is rather crucial for openQA though as it wants to enter stuff on the bootloader prompt. Using openSUSE does not work out of the box either as the CSI2 driver is not (or was not when I tested at least) in the upstream kernel. That driver is required to be able to use the HDMI2CSI2 adapter for video capture. cu Ludwig [1] https://bugzilla.opensuse.org/show_bug.cgi?id=1167675 -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer HRB 36809 (AG Nürnberg)
participants (3)
-
Bernhard M. Wiedemann
-
Dan Čermák
-
Ludwig Nussel