Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows usb install #45

Merged
merged 5 commits into from
Jan 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,7 @@ Overhaul (2017-10-17)
------------------
* Migrated to study_lyte profile class usage
* Added in features to manage past profiles with fewer sensors

0.10.0 (TBD)
------------
* Added windows driver install script
9 changes: 3 additions & 6 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,11 @@ RAD Drivers Install
**Windows will not automatically find drivers for the Lyte probe**. Follow the
instructions below to install them.

1. Download Drivers from `RAD Drivers`_
1. Download driver installation script from `Radicl on Github`_

.. _RAD Drivers: https://drive.google.com/file/d/18t1XQvWoSRbmwd9GQrSo6ij6BaIVpXsY/view?usp=sharing
.. _Radicl on Github: https://github.com/AdventureData/radicl/blob/master/scripts/driver_install.bat

2. Unzip the folder
3. Run the VCP_V1.4.0_Setup.exe in the folder
4. Navigate to C:\Program Files (x86)\STMicroelectronics\Software\Virtual comport driver/Win8
5. Run dpinst_amd64.exe (for 64 bit machines)
2. Double click to launch the install in your downloads and follow the prompts.

If you have correctly installed the drivers move on to :ref:`Install radicl`.
below.
Expand Down
30 changes: 30 additions & 0 deletions scripts/driver_install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
@echo off
REM Installation of the USB probe usb driver on windows
REM Written by Micah Johnson
REM 12/15/2023
echo.
echo ========== LYTE PROBE USB DRIVER INSTALL ==========
echo.

REM Download the Zip file
echo Downloading Lyte probe usb drivers zip file...
powershell -command "& { (New-Object Net.WebClient).DownloadFile('https://drive.google.com/u/1/uc?id=18t1XQvWoSRbmwd9GQrSo6ij6BaIVpXsY&export=download', 'rad_drivers.zip') }"

REM Unzip the path locally
echo Unzipping...
powershell -command "Expand-Archive -Path 'rad_drivers.zip' -DestinationPath './rad_drivers' -Force"
REM Execute the setup
echo Launching installers...
"rad_drivers/VCP_V1.4.0_Setup.exe"
REM Install virtual com port
"C:\Program Files (x86)\STMicroelectronics\Software\Virtual comport driver\Win8\dpinst_amd64.exe"

REM clean up
echo Cleaning up...
del "rad_drivers.zip"
rmdir /s /q "./rad_drivers"
echo.
echo Lyte probe USB driver installation script finished!
echo Closing...
REM Delay closing for readability
timeout /nobreak /t 3 >nul
Loading