diff --git a/Installers/Ubuntu-Install.sh b/Installers/Ubuntu-Install.sh new file mode 100644 index 0000000..be59e98 --- /dev/null +++ b/Installers/Ubuntu-Install.sh @@ -0,0 +1,32 @@ +#!/bin/sh + +echo Please enter your password to continue... + +# Install the following dependencies from repositories without asking questions, git-core can be removed afterwords as it's only used to initialise a local git repository +echo Installing dependencies +sudo apt-get -y install git-core libusb-1.0.0 libudev-dev python3 cython3 python3-pip python3-pil python3-setuptools + +cd /tmp +pip3 install hidapi click + +# Build within /tmp +cd /tmp + +# If the git repository already exists then delete it +if [ -d "python-evic" ]; then + rm -Rf python-evic +fi + +# Clone the pythin-evic repository the change directory into it +echo Cloning python-evic repository +git clone git://github.com/Ban3/python-evic.git && cd ./python-evic + +# Install python-evic +echo Installing python-evic +sudo python3 setup.py install + +# Cleanup +cd ../ +rm -Rf python-evic + +echo Installation complete. Run \"sudo evic-usb upload /path/to/firmware.bin\" to install a new firmware. diff --git a/README.rst b/README.rst index dc76d7f..d6ea7bb 100644 --- a/README.rst +++ b/README.rst @@ -20,7 +20,8 @@ Supported devices * Vaporflask Classic* * Vaporflask Lite* * Vaporflask Stout* -* Reuleaux RX200* +* Reuleaux RX200 +* Reuleaux RX200S \*Untested @@ -29,6 +30,8 @@ Tested firmware versions * Evic VTC Mini <=3.02 * Presa TC75W 1.02\* +* RX200 3.10 +* RX200S 4.10 * Examples from `evic-sdk `_ \*Flashing Presa firmware to a VTC Mini requires changing the hardware version @@ -37,6 +40,11 @@ on some devices. Backup your data flash before flashing! Installation ------------- +Installing on Ubuntu: +^^^^^^^^^^^^^^^^^^^^^^ +Download Ubuntu-Install.sh from the Installers directory. Right click > Properties > Mark Executable. +It will automatically download and install all of the required dependencies and evic-usb. + Install from source: ^^^^^^^^^^^^^^^^^^^^^^ @@ -44,7 +52,7 @@ Using ``evic-usb`` requires ``cython-hidapi``. You can install it using ``pip`` :: - $ pip install hidapi + $ pip install hidapi click setuptools pil Building ``cython-hidapi`` requires libusb headers and cython. On Arch Linux they can be obtained from the repositories by installing packages ``libusb`` and ``cython``. Debian based distributions will have packages ``libusb-1.0-0-dev`` and ``cython``. diff --git a/evic/device.py b/evic/device.py index ae124af..4c3a4c3 100644 --- a/evic/device.py +++ b/evic/device.py @@ -62,7 +62,8 @@ class HIDTransfer(object): 'W010': "Classic", 'W011': "Lite", 'W013': "Stout", - 'W014': "Reuleaux RX200"} + 'W014': "Reuleaux RX200", + 'W033': "Reuleaux RX200S"} supported_product_ids = {'E052': ['E052', 'W007'], 'E056': ['E056'], 'E060': ['E060'], @@ -72,7 +73,8 @@ class HIDTransfer(object): 'W010': ['W010'], 'W011': ['W011'], 'W013': ['W013'], - 'W014': ['W014']} + 'W014': ['W014'], + 'W064': ['W064']} supported_logo_size = {'E052': (64, 40), 'E056': (64, 40), 'E060': (64, 40),