Finding the Linux Device Path

When you connect a device to your RevPi Flat and then want to access it via PiCtory, for example, you may need a so-called “device path”. This device path specifies the location in the Linux directory structure where the device can currently be found.

There is also such a directory path under Windows. You will find it in the navigation bar, for example when you click on a USB stick in Explorer. The principle is the same, although finding a device under Linux is slightly more complicated. But no worries, we will help you!

Let”s go!

  • Start your RevPi Flat and log on.

Important! Your device must not be connected yet.

  • Enter the following command:

ls /dev/ttyUSB* > /tmp/a 2>/dev/null

  • Now insert your USB device and wait about 5 seconds.
  • Enter the following commands:

ls /dev/ttyUSB* > /tmp/b 2>/dev/null

diff /tmp/a /tmp/b

  • Your device path will now be shown. It is “/dev/ttyUSB0”.

0a1

> /dev/ttyUSB0