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: 231
Joined: Tue Sep 12, 2017 4:34 pm
Location: Rabat, Morocco

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

Post by Boub65 »

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 13470 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 13470 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.
Sincèrement, Sincerely, 73,
Boubker

DM15L, DM41L, DM42 #00855 (domes upgraded), DM41X #00707
HP48SX (with dark screen), HP42s, HP32SII (1990 with fraction bug), HP41C/CV
TI-89 titanium, CASIO fx-cg50 and Numworks (to play with micropython)
rprosperi
Posts: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

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

Post by rprosperi »

Boub65 wrote:
Sat Jan 19, 2019 2: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, DM41X: β00071 & 00656, DM10L: 071/100
Boub65
Posts: 231
Joined: Tue Sep 12, 2017 4:34 pm
Location: Rabat, Morocco

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

Post by Boub65 »

rprosperi wrote:
Sat Jan 19, 2019 3:20 pm
Boub65 wrote:
Sat Jan 19, 2019 2: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.
Sincèrement, Sincerely, 73,
Boubker

DM15L, DM41L, DM42 #00855 (domes upgraded), DM41X #00707
HP48SX (with dark screen), HP42s, HP32SII (1990 with fraction bug), HP41C/CV
TI-89 titanium, CASIO fx-cg50 and Numworks (to play with micropython)
tycho
Posts: 35
Joined: Sun Nov 05, 2017 4:09 pm
Location: Norway

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

Post by tycho »

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 13426 times
"The Answer to the Great Question... Of Life, the Universe and Everything... Is... DM42" ― Adam Douglas
Post Reply