On Sun, May 13, 2012 at 9:50 PM, Jacek Drewniak
<jacek.drewn...@gmail.com> wrote:
> Attach and rapidly detach (to get not a lot lines) the stlink and in syslog
> find lines like
> May 13 15:42:37 debian kernel: [15607.902175] usb 1-1.2: new full speed USB
> device using ehci_hcd and address 3
> May 13 15:42:37 debian kernel: [15607.997512] usb 1-1.2: New USB device
> found, idVendor=0483, idProduct=3744
> May 13 15:42:37 debian kernel: [15607.997518] usb 1-1.2: New USB device
> strings: Mfr=1, Product=2, SerialNumber=3
> May 13 15:42:37 debian kernel: [15607.997522] usb 1-1.2: Product: STM32
> STLink
> May 13 15:42:37 debian kernel: [15607.997525] usb 1-1.2: Manufacturer:
> STMicroelectronics
> Maybe You have another numbers, but it will be strange
>

The VID/PID is the same but somehow the option to
blacklist the usb-storage driver for the device using
the following file does not seem to work. I will check again,.

cat /etc/modprobe.d/stlink.conf
options usb-storage quirks=483:3744:i

But the following works.
sudo modprobe -r usb-storage && sudo modprobe usb-storage quirks=483:3744:i

Instructions from:
https://github.com/texane/stlink

[11122.712031] usb 5-2: new full-speed USB device number 10 using uhci_hcd
[11122.882725] usb-storage 5-2:1.0: device ignored


-- 
Xiaofan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to