|
From: Xiaofan C. <xia...@gm...> - 2012-05-13 14:31:21
|
On Sun, May 13, 2012 at 9:50 PM, Jacek Drewniak <jac...@gm...> 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 |