6

Is it possible to communicate with the Raspberry Pi over USB?

Basically is it possible to write a device driver on my x86 PC running Linux, and also tweak the OS running on the RPi so that a communication channel is established? This should enable say a small terminal to be run remotely on the Rpi from the PC over USB. I am aware that the same can of course be done over Ethernet, but I'm curious as to why a similar application over USB does not exist.

Ghanima
  • 15,958
  • 17
  • 65
  • 125

2 Answers2

5

You may want to use the usbnet driver (usbnet homepage) which allow you to map USB port as they were Ethernet port. Then you can route traffic through your USB port and therefore ssh your RPi by the mean of a regular USB cable.

jlandercy
  • 446
  • 2
  • 10
1

You can do it with an FTDI cable like this one from Adafruit.

G Ragib
  • 97
  • 1
  • 4