removed the USB PID "9800" entries in udev rules to prevent connection issue with rshell in CDC mode only.

JacobBeningo 2016-07-19 18:53:31 -05:00
parent 6c5c101f6d
commit 36f14137f1
1 changed files with 4 additions and 4 deletions

@ -38,10 +38,10 @@ sudo apt-get install dfu-util
* Create a udev rules file. I used ```sudo vi /etc/udev/rules.d/49-stmdiscovery.rules``` and put the following contents: * Create a udev rules file. I used ```sudo vi /etc/udev/rules.d/49-stmdiscovery.rules``` and put the following contents:
``` ```
# f055:9800 - STM32F4 Discovery running MicroPython in USB Serial Mode (CN5) # f055:9800 - STM32F4 Discovery running MicroPython in USB Serial Mode (CN5)
ATTRS{idVendor}=="f055", ATTRS{idProduct}=="9800", ENV{ID_MM_DEVICE_IGNORE}="1" ATTRS{idVendor}=="f055", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="f055", ATTRS{idProduct}=="9800", ENV{MTP_NO_PROBE}="1" ATTRS{idVendor}=="f055", ENV{MTP_NO_PROBE}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="f055", ATTRS{idProduct}=="9800", MODE:="0666" SUBSYSTEMS=="usb", ATTRS{idVendor}=="f055", MODE:="0666"
KERNEL=="ttyACM*", ATTRS{idVendor}=="f055", ATTRS{idProduct}=="9800", MODE:="0666" KERNEL=="ttyACM*", ATTRS{idVendor}=="f055", MODE:="0666"
# 0483:df11 - STM32F4 Discovery in DFU mode (CN5) # 0483:df11 - STM32F4 Discovery in DFU mode (CN5)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE:="0666" SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE:="0666"
``` ```