From b12fb7c90bee09a7a06b03b66f5d2b20e7e23920 Mon Sep 17 00:00:00 2001 From: threader Date: Sun, 5 Feb 2023 21:52:36 +0100 Subject: [PATCH 1/2] Because Sony uses a different ID's, add that - this will be a learning experience --- Drivers/51-edl.rules | 3 +++ edlclient/Config/usb_ids.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Drivers/51-edl.rules b/Drivers/51-edl.rules index 455af78..683b1f2 100755 --- a/Drivers/51-edl.rules +++ b/Drivers/51-edl.rules @@ -2,6 +2,9 @@ # Qualcomm EDL SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9008", MODE="0666", GROUP="plugdev" +# Sony EDL +SUBSYSTEMS=="usb", ATTRS{idVendor}=="0fce", ATTRS{idProduct}=="9dde", MODE="0666", GROUP="plugdev" + # Qualcomm Memory Debug SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9006", MODE="0666", GROUP="plugdev" diff --git a/edlclient/Config/usb_ids.py b/edlclient/Config/usb_ids.py index 174e2dd..1b4ee43 100644 --- a/edlclient/Config/usb_ids.py +++ b/edlclient/Config/usb_ids.py @@ -1,5 +1,6 @@ default_ids = [ [0x05c6, 0x9008, -1], + [0x0fce, 0x9dde, -1], [0x05c6, 0x900e, -1], [0x05c6, 0x9025, -1], [0x1199, 0x9062, -1], @@ -15,6 +16,7 @@ default_diag_vid_pid = [ [0x1199, 0x9091, -1], # Sierra Wireless [0x0846, 0x68e2, 2], # Netgear [0x05C6, 0x9008, -1], # QC EDL + [0x0fce, 0x9dde, -1], # SONY EDL [0x05C6, 0x676C, 0], # QC Handset [0x05c6, 0x901d, 0], # QC Android "setprop sys.usb.config diag,adb" [0x19d2, 0x0016, -1], # ZTE Diag From 59a93ff7b813057a753103334999614f712b2af1 Mon Sep 17 00:00:00 2001 From: threader Date: Mon, 6 Feb 2023 03:39:36 +0100 Subject: [PATCH 2/2] README.md: move 'grab and install' and build with python3 - because everybody loves cut'n'paste --- README.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index b95ec97..1d40de7 100755 --- a/README.md +++ b/README.md @@ -16,6 +16,14 @@ User: user, Password:user (based on Ubuntu 22.04 LTS) ## Installation +#### Grab files and install +``` +git clone https://github.com/bkerler/edl +cd edl +git submodule update --init --recursive +pip3 install -r requirements.txt +``` + ### Linux (Debian/Ubuntu/Mint/etc): ```bash # Debian/Ubuntu/Mint/etc @@ -37,8 +45,8 @@ cd edl git submodule update --init --recursive sudo cp Drivers/51-edl.rules /etc/udev/rules.d sudo cp Drivers/50-android.rules /etc/udev/rules.d -python setup.py build -sudo python setup.py install +python3 setup.py build +sudo python3 setup.py install ``` ### macOS: @@ -48,8 +56,8 @@ brew install libusb git git clone https://github.com/bkerler/edl.git cd edl git submodule update --init --recursive -python setup.py build -sudo python setup.py install +python3 setup.py build +sudo python3 setup.py install ``` ### Windows: @@ -58,13 +66,6 @@ sudo python setup.py install - If you install python from microsoft store, "python setup.py install" will fail, but that step isn't required. - WIN+R ```cmd``` -#### Grab files and install -``` -git clone https://github.com/bkerler/edl -cd edl -git submodule update --init --recursive -pip3 install -r requirements.txt -``` #### Get latest UsbDk 64-Bit - Install normal QC 9008 Serial Port driver (or use default Windows COM Port one, make sure no exclamation is seen)