diff options
author | Sudarsana Nagineni <sudarsana.nagineni@intel.com> | 2017-05-08 16:11:09 +0300 |
---|---|---|
committer | Sakari Poussa <sakari.poussa@intel.com> | 2017-05-11 09:23:51 +0300 |
commit | d3a31a0067cf45be6780c6130b82bce54e54f352 (patch) | |
tree | c43a9701db4d03ed2132bcf0522ee35eaed1f2b1 | |
parent | 57bb40022eebdb4ddb4c7bae2a6ef07e0b148f7d (diff) |
[docs] Update docs to blacklist the device from ModemManager
Add instructions to blacklist the device from ModemManager by
creating a udev rule.
Signed-off-by: Sudarsana Nagineni <sudarsana.nagineni@intel.com>
-rwxr-xr-x | docs/ashell.md | 41 |
1 files changed, 27 insertions, 14 deletions
diff --git a/docs/ashell.md b/docs/ashell.md index 9b85e96..ac17751 100755 --- a/docs/ashell.md +++ b/docs/ashell.md @@ -47,30 +47,43 @@ below instructions to connect to the device from the browser IDE directly. ```bash $ sudo udevadm control --reload-rules ``` - * Disable ModemManager to stop interfering when the browser accessing the device. - ```bash - $ sudo service modemmanager stop - ``` + * Blacklist the device using udev rule or disable ModemManager to stop interfering + when the browser accessing the device. + + * To blacklist the device: Add the following line in /etc/udev/rules.d/99-arduino-101.rules + + `SUBSYSTEM=="usb", ATTRS{idVendor}=="8086" ATTRS{idProduct}=="f8a1", ENV{ID_MM_DEVICE_IGNORE}="1"` + + Then run this command: + ```bash + $ sudo udevadm control --reload-rules + ``` + + or - If you get the message "Unit modemmanager.service not loaded." try this instead: + * To disable the ModemManager: + ```bash + $ sudo service modemmanager stop + ``` - ```bash - $ sudo service ModemManager stop - ``` + If you get the message "Unit modemmanager.service not loaded." try this instead: + ```bash + $ sudo service ModemManager stop + ``` -4. On Windows: +3. On Windows: * WebUSB compatible device is not appearing with the official WinUSB driver on Windows for some reason, so try installing different version of WinUSB driver with the Zadig utility. Also, note that the landing page detection is disabled on Windows on Chrome startup so you don't see a notification when the device is connected to the host, but the WebUSB will continue to work. -5. Connect the device to the host PC using a USB cable. -6. A notification from Chrome will appear with an URL of the IDE. If not, the +4. Connect the device to the host PC using a USB cable. +5. A notification from Chrome will appear with an URL of the IDE. If not, the address for the IDE is https://01org.github.io/zephyrjs-ide. -7. Click on the notification to open IDE in the browser. -8. Click on connect button and grant an access to the device. -9. Try uploading JS code to the device. +6. Click on the notification to open IDE in the browser. +7. Click on connect button and grant an access to the device. +8. Try uploading JS code to the device. Commands -------- |