audiohacked / OpenCorsairLink

Linux and Mac OS support for the CorsairLink Devices
GNU General Public License v2.0
705 stars 125 forks source link

OpenCorsairLink not found #198

Closed olielvewen closed 5 years ago

olielvewen commented 5 years ago

Describe the bug I 'm noob with this software and I've followed the usage section with the first command. Same result with the second (help command). I 've got an Corsair RM650i that I 've bought in July.

To Reproduce Steps to reproduce the behavior: Just run an terminal and try to run OpenCorsairLink. I'm using the stable version and I've installed it with pacman.

Expected behavior Getting something to work. Unfortunately, there are no docs about what you should get when you have an AIO or an alim like RM650i.

Desktop (please complete the following information):

Additional context Here my terminal output : [olivier@thorielle ~]$ sudo ./OpenCorsairLink.elf [sudo] Mot de passe de olivier :  sudo: ./OpenCorsairLink.elf : commande introuvable

By Advance. Thanks to help me and sorry it is a bit confused.

olielvewen commented 5 years ago

I precise that I've installed OpenCorsairLink with pamac and it is the stable version (from AUR). I have access at others version which are opencorsairlink-git, opencorsairlink-testing, opencorsairlink-testing-git. Perhaps, it is not the good version. Which one to choose ? Just me two sens ............

jonasmalacofilho commented 5 years ago

Try calling OpenCorsairLink instead of OpenCorsairLink.elf.

And AFAIK (but @audiohacked please correct me if I'm wrong) you will generally want to use the 'testing' branch. For this both opencorsairlink-testing and opencorsairlink-testing-git from AUR look fine.


(Edit to add a) disclaimer: not a contributor here, but this issue was mentioned to me; I'm an Arch user as well.

audiohacked commented 5 years ago

@jonasmalacofilho Yes, everyone will generally want to use the 'testing' branch. It will have all the latest bug fixes. The 'master' branch will be updated when I feel like testing branch is stable enough to be considered a full 'stable' release.

olielvewen commented 5 years ago

After followed your advice, I have removed opencorsairlink. Then I have try opencorsairlink-testing-git and try after different combinations.

Here outputs :

sudo: ./OpenCorsairLink : commande introuvable
[olivier@thorielle ~]$ sudo ./OpenCorsairLink.elf
sudo: ./OpenCorsairLink.elf : commande introuvable
[olivier@thorielle ~]$ sudo ./opencorsairlink
sudo: ./opencorsairlink : commande introuvable
[olivier@thorielle ~]$ sudo ./opencorsairlink-testing-git
sudo: ./opencorsairlink-testing-git : commande introuvable
[olivier@thorielle ~]$ sudo ./opencorsairlink-testing
sudo: ./opencorsairlink-testing : commande introuvable
[olivier@thorielle ~]$ sudo ./opencorsairlink-testing.elf
sudo: ./opencorsairlink-testing.elf : commande introuvable
[olivier@thorielle ~]$ sudo ./opencorsairlink-testing-git.elf
sudo: ./opencorsairlink-testing-git.elf : commande introuvable
[olivier@thorielle ~]$ sudo ./OpenCorsairLink.elf
sudo: ./OpenCorsairLink.elf : commande introuvable
[olivier@thorielle ~]$ sudo ./OpenCorsairLink-testing-git.elf
sudo: ./OpenCorsairLink-testing-git.elf : commande introuvable

I've checked if there was a binary and yes in usr/bin/.

I've tried something else and it worked. I must run OpenCorsairLink in root (obviously) without ./ and elf.

olivier@thorielle ~]$ sudo OpenCorsairLink
Dev=0, CorsairLink Device Found: RM650i!

============================================================================== Now I must learn how to use it . ^_^ A first test to see if I can get an output and yes it worked.

[sudo] Mot de passe de olivier : 
Dev=0, CorsairLink Device Found: RM650i!

[olivier@thorielle ~]$ sudo OpenCorsairLink --dump --device 0 --debug
[sudo] Mot de passe de olivier : 
Checking USB device 0 (1d6b:0003)...
Checking USB device 1 (046d:c517)...
Checking USB device 2 (03f0:6411)...
Checking USB device 3 (1d6b:0002)...
Checking USB device 4 (1d6b:0003)...
Checking USB device 5 (1b1c:1b51)...
Checking USB device 6 (1038:12ad)...
Checking USB device 7 (1b1c:1c0a)...
Corsair product detected. Checking if device is RM650i... Dev=0, CorsairLink Device Found: RM650i!
Checking USB device 8 (1d6b:0002)...

DEBUG: scan done, start routines
DEBUG: selected device_number = 0
DEBUG: shortcuts set
DEBUG: init done
Vendor: CORSAIR
Product: RM650i
Firmware: NA
DEBUG: string done
03 8D C1 F0 00 00
Temperature 0: 49.65 C
03 8E 9C F0 00 00
Temperature 1: 40.18 C
Powered: 614442 (7d.  2h)
Uptime: 13242 (0d.  3h)
DEBUG: time done
03 88 CC F9 00 00
Supply Voltage: 230.00 V
03 EE 33 08 00 00
Total Watts: 104.00 W
DEBUG: supply done
Output 12v:
03 8B 08 D3 00 00
        Voltage 12.12 V
03 8C 1D F0 00 00
        Amps  7.50 A
03 96 2B 08 00 00
        Watts 88.00 W
Output 5v:
03 8B 3F D1 00 00
        Voltage  5.00 V
03 8C 2B E0 00 00
        Amps  2.75 A
03 96 1B F8 00 00
        Watts 14.00 W
Output 3.3v:
03 8B D5 D0 00 00
        Voltage  3.34 V
03 8C 1C E0 00 00
        Amps  1.75 A
03 96 0B F8 00 00
        Watts  6.00 W
[olivier@thorielle ~]$ 
olielvewen commented 5 years ago

Did am I alone in this case for run OpenCorsairLink ?i.e sudo OpenCorsairLink instead of ./OpenCorsairLink.elf Feel free to close it if you think so. Thanks to Jonas for point me in the right direction. More explanation on the use of branches and the operation of the software would be welcome