Help! how to remove libusb-win32 drivers on Windows 10

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
Post Reply
Boub65
Posts: 89
Joined: Tue Sep 12, 2017 2:34 pm
Location: Rabat, Morocco

Help! how to remove libusb-win32 drivers on Windows 10

Post by Boub65 » Sat Jan 19, 2019 1:51 pm

Hi all,
I have a problem accessing to my DM42 as an USB Drive (using "USB Mass Storage" mode) from my Windows 10 computer.

The libusb-win32 drivers are installed successfully!

The computer recognizes the DM42 when put in "USB Mass Storage" mode, ring the little bell announcing connexion of ab USB device, and the "Device Manager" shows a "STM32 Mass Storage" line (cf image 1).

DM41_1.jpg
DM41_1.jpg (107.5 KiB) Viewed 1233 times

The DM42 is visible in "Control Panel --> Hardware and Sound --> Devices and Printers" (cf image 2) with an "working fine" message.

DM41_2.jpg
DM41_2.jpg (185.92 KiB) Viewed 1233 times

But... there is (absolutely) no way to see the DM42 in the file explorer.
I tried everything I could...

Now, I want to remove the installation of the libusb-win32 drivers, and I didn't find any way to do it.
There is no "uninstall" option with the distribution.
It does not appear in the "Control Panel --> Programs and Features --> Uninstall a program" neither!

I'm stuck...

Any help, from any one is welcome...
Thanks,
Boubker.
2xDM15L, DM41L, DM42 SN#00855
TI-89 titanium, CASIO fx-cg50 (to play with micropython)

rprosperi
Posts: 501
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: Help! how to remove libusb-win32 drivers on Windows 10

Post by rprosperi » Sat Jan 19, 2019 2:20 pm

Boub65 wrote:
Sat Jan 19, 2019 1:51 pm
Now, I want to remove the installation of the libusb-win32 drivers, and I didn't find any way to do it.
There is no "uninstall" option with the distribution.
It does not appear in the "Control Panel --> Programs and Features --> Uninstall a program" neither!
In Device Manager, right-click on the device, and click "Uninstall Device" in the pop-up menu.
--bob p

DM42: β00071 & 00282

Boub65
Posts: 89
Joined: Tue Sep 12, 2017 2:34 pm
Location: Rabat, Morocco

Re: Help! how to remove libusb-win32 drivers on Windows 10

Post by Boub65 » Sat Jan 19, 2019 3:10 pm

rprosperi wrote:
Sat Jan 19, 2019 2:20 pm
Boub65 wrote:
Sat Jan 19, 2019 1:51 pm
Now, I want to remove the installation of the libusb-win32 drivers, and I didn't find any way to do it.
There is no "uninstall" option with the distribution.
It does not appear in the "Control Panel --> Programs and Features --> Uninstall a program" neither!
In Device Manager, right-click on the device, and click "Uninstall Device" in the pop-up menu.
Unfortunately, it just temporarily removes the device (aka "eject"), but the libusb-win32 driver stays there and reappears the next time I plug the DM42.
2xDM15L, DM41L, DM42 SN#00855
TI-89 titanium, CASIO fx-cg50 (to play with micropython)

tycho
Posts: 32
Joined: Sun Nov 05, 2017 3:09 pm
Location: Norway

Re: Help! how to remove libusb-win32 drivers on Windows 10

Post by tycho » Sun Jan 20, 2019 12:20 am

You can't do it with device manager. I happen to have the exact same problem but found a solution.
Use the Device Cleanup Tool at: https://www.uwe-sieber.de/misc_tools_e.html
Make sure to run it in Admin mode (or File -> Restart in Admin). I removed both the two STM drivers and the SwissMic DM42 USB driver.
Note: I haven't tried to reinstall the drivers yet, but they are definitely gone after restart (picture is from before removal without DM42 plugged in).

DevCleanup.jpg
DevCleanup.jpg (134.91 KiB) Viewed 1189 times
"The Answer to the Great Question... Of Life, the Universe and Everything... Is... DM42" ― Adam Douglas

Post Reply