5

While following the instructions on Get Started with Edge TPU Dev Board, I can't get past Step 2:

$ screen /dev/ttyUSB0 115200

The issue is that screen immediately returns

[screen is terminating]

I have verified the contents of /etc/udev/rules.d/65-edgetpu-board.rules, verified the dmesg output, tried different USB ports, verified that all screen instances are closed, etc.

devunwired
  • 62,780
  • 12
  • 127
  • 139
user3076252
  • 1,919
  • 13
  • 13

2 Answers2

7

Solution = run screen command with sudo:

$ sudo screen /dev/ttyUSB0 115200
user3076252
  • 1,919
  • 13
  • 13
  • 1
    Glad you already figured this one out, but I did ran into similar issue before. from the official "Get started" instruction, most of them are missing `sudo` make sure you add `sudo` for others as well. – CharlesC Mar 27 '19 at 13:24
  • 3
    The reason you need sudo is because of the permissions on `/dev/ttyUSB0`. It is typically owned by `root:dialout`, so if you add yourself to the `dialout` group, you won't need `sudo`. You can do this once via `sudo usermod -a -G dialout $(whoami)`. You'll need to log out and log back in. – thinkski Apr 04 '19 at 06:09
0

First you should flash your iptables

Coammands:

sudo iptables -F 
mdt devices
milanbalazs
  • 4,811
  • 4
  • 23
  • 45