From 8398d22102282932bca84b071a92a429dc2ca2f2 Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 25 May 2021 03:56:19 +0800 Subject: [PATCH] fix readme --- tools/README_UPDATE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/README_UPDATE.md b/tools/README_UPDATE.md index f79a36d1d..9a2ce762f 100644 --- a/tools/README_UPDATE.md +++ b/tools/README_UPDATE.md @@ -11,8 +11,7 @@ Maintainer's note: this is a mirror of the README.md file found in [betrusted-ec * `sudo pip3 install pyusb progressbar2` (you need `pyusb` and `progressbar2` in the sudo environment) * you probably need to run as `sudo`: `sudo ./usb_update.py [args]` to access the USB port; add the appropriate command line arguments -In order to get `xtask` to work (it calls `usb_update.py`) you will need to add a udev rule to eliminate the need for sudo privs. Under -Ubuntu 18.04LTS, it looks something like this: +In order to get `xtask` to work (it calls `usb_update.py`) you will need to add a udev rule to eliminate the need for sudo privs. Under Ubuntu 18.04LTS, it looks something like this: 1. Add a file called `99-precursor-usb.rules` to /etc/udev/rules.d/ with the following content as a single line terminated by a carriage return: `SUBSYSTEM=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="5bf0", GROUP="plugdev", TAG+="uaccess"` @@ -21,6 +20,7 @@ Ubuntu 18.04LTS, it looks something like this: to take effect. We would appreciate any improvements/suggestions for alternate Linux distros. `udev` rules seem very distro-specific and change with time. + ### Installation: Windows 10 * You will need to install python3 from the Windows App store