2

I want to connect to a RPi thought LAN (possibly with VNC) and have it controlling a server that is connected to the RPi by USB.

Basically the RPi would have to send every keystroke/mouse movement to the server using the USB emulating the keyboard/mouse.

(I intend to gather the server image by using a VGA to USB card connected to the RPi, but that part seems simple).

Is this possible? What packages do you propose?

Mind that I can't install anything in the server (I want to control the server when it boots, not when I'm already booted, for that part I just SSH into the server and bypass the RPi).

Also, I don't need high performance, I just want to be able to control the server in case it doesn't boot by some reason or in case I need to change some BIOS setting and I don't want to be carrying a monitor and keyboard around with me.

4

Only the Raspberry Pi Zero , Zero W , Model A and Compute Module can act as USB device. Other models can not act as USB device. This is a hardware limitation which cannot be worked around in software.

You will not be able to make the Pi act as PS/2 keyboard or mouse. Not with the GPIO pins, that is.

Here is a guide for turning the Pi Zero into an USB keyboard/mouse using ConfigFS :

http://isticktoit.net/?p=1383

  • 1
    I see. I did find a project aiming to do that. It uses both a RPi B and a Zero, for what I know exactly for the purpose you describe: github.com/Fmstrat/diy-ipmi – jbssm Apr 15 '18 at 16:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.