Jump to content

Fma965

Community Developer
  • Posts

    175
  • Joined

  • Last visited

Posts posted by Fma965

  1. 1 hour ago, b3rs3rk said:

     

    @Fma965


    https://github.com/CyanLabs/corsairpsu-unraid/blob/224941e4e1f056decc07d1e422eb7c75c0019ae0/src/corsairpsu/usr/local/emhttp/plugins/corsairpsu/status.page#L97
     

    That line is your problem.  You're looking for $update in PHP to be true but in 6.9.0 and up that variable is either not set (NULL) or set to false from the UnRAID code.  What I did for my plugin is allowed to the user to decide if they want it to automatically refresh while the dashboard is open or not and then checked that variable since I knew it would always be there.  But there are reasons (like log spam from a weird Nvidia issue) for doing that in my case that might not make sense in yours.  If you just want it to update regardless I would either get rid of that IF conditional or set $update in PHP to be true somewhere above that JavaScript portion of your page file.

    https://github.com/b3rs3rk/gpustat-unraid/blob/f82c490d0d5f24d8777310aeaf9f7241d086a0dd/src/gpustat/usr/local/emhttp/plugins/gpustat/gpustatus.page#L234

    Thanks, but i don't have time to investigate this currently so someone can PR me if they want or i will look when i can

  2. On 3/5/2020 at 3:46 AM, NOLA_DireWolff said:

    Does this work on the axi1500?

     

    On 3/6/2020 at 6:28 AM, [email protected] said:

    Second this. Anything we can do to get this going on the 1500i ? 

     

    It is not working on the the 1500i as of 3/7/2020 

     

    I am able to connect to it via windows VM and it obviously shows up in my usb devices. 

     

    On 3/8/2020 at 12:38 PM, ingux16 said:

    I am third !

    Any one tried this with HWInfo on windows, does that detect it? 

  3. On 2/8/2020 at 2:45 PM, pluginCop said:

    Just an FYI,

     

    CA's application feed is getting stricter on plugins.  The template for CA for this plugin references one URL which does not match the URL referenced within the plugin itself.

     

    This is a security issue because if / when the plugin updates, effectively a different plugin winds up getting installed from the one CA has listed (even though in this case they are identical, but due to the differing URLs they effectively are different plugins).

     

    Because of this the application feed is automatically blacklisting Corsair PSU until either the template or the plugin are fixed to point to the same URL

     

    If the GitHub repository simply changed where the plugin is stored, then the solution is to change the template to that new repository

     

    Fma965's Repository
    https://raw.githubusercontent.com/Fma965/corsairpsu-unraid/master/corsairpsu.plg:
            Fatal: Plugin URL on xml template does not match PluginURL in .plg (https://raw.githubusercontent.com/Fma965/corsairpsu-unraid/master/corsairpsu.plg vs https://raw.githubusercontent.com/Cyanlabs/corsairpsu-unraid/master/corsairpsu.plg)

    fixed i think.

  4. 5 hours ago, aptalca said:

    while that does work thats less unraid specific. 

     

    12 hours ago, toolmanz said:

    All,

     

    I have gone over this thread many times - still can't get this to work. 😫

     

    Tested with sonarr, radarr etc. just get the NGINX 404 page.

     

    I think the problem is the section on PROXY_PASS. 

     

    I don't understand what this is and what file I should be adding those lines to.....☹️

     

    Can somebody tell me what file(s) I need to add these lines to?? I can't find anything on what this stuff is....

     

    I am using the duckdns site and have a typical unraid installation.

     

    Thought I knew a lot about unraid - apparently that isn't the case....😖

     

    If anyone is around I would appreciate a "nudge" in the right direction.

     

    Thanks in advance

     

     

     

     

    It's unclear what part your are actually struggling with.

  5. 7 hours ago, dwarfer said:

    These are my usb devices

     

    root@Tower:/sys/bus/usb/drivers/usbhid# lsusb
    Bus 006 Device 003: ID 05e3:0626 Genesys Logic, Inc. USB3.1 Hub
    Bus 006 Device 002: ID 05e3:0620 Genesys Logic, Inc. USB3.1 Hub
    Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 005 Device 004: ID 413c:2107 Dell Computer Corp. 
    Bus 005 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
    Bus 005 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
    Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 002: ID 174c:3074 ASMedia Technology Inc. ASM1074 SuperSpeed hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 003: ID 1b1c:1c11 Corsair USB API
    Bus 001 Device 002: ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hub
    Bus 001 Device 008: ID 0b05:18b8 ASUSTek Computer, Inc. Channel AURA MOTHERBOARD
    Bus 001 Device 007: ID 8087:0025 Intel Corp. 
    Bus 001 Device 006: ID 051d:0003 American Power Conversion UPS
    Bus 001 Device 005: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

     

    Here is what I have under /sys/bus/usb/drivers

     

    root@Tower:/sys/bus/usb/drivers# ls -al
    total 0
    drwxr-xr-x 9 root root 0 Jan  7 13:31 ./
    drwxr-xr-x 4 root root 0 Jan  7 13:31 ../
    drwxr-xr-x 2 root root 0 Jan  7 13:31 btusb/
    drwxr-xr-x 2 root root 0 Jan  7 13:31 hub/
    drwxr-xr-x 2 root root 0 Jan  7 13:31 synaptics_usb/
    drwxr-xr-x 2 root root 0 Jan  7 13:31 usb/
    drwxr-xr-x 2 root root 0 Jan  7 13:31 usb-storage/
    drwxr-xr-x 2 root root 0 Jan  7 13:31 usbfs/
    drwxr-xr-x 2 root root 0 Jan  7 13:31 usbhid/
    root@Tower:/sys/bus/usb/drivers# cd btusb
    root@Tower:/sys/bus/usb/drivers/btusb# ls -al
    total 0
    drwxr-xr-x 2 root root    0 Jan  7 13:31 ./
    drwxr-xr-x 9 root root    0 Jan  7 13:31 ../
    lrwxrwxrwx 1 root root    0 Jan 22 12:01 1-13:1.0 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-13/1-13:1.0/
    lrwxrwxrwx 1 root root    0 Jan 22 12:01 1-13:1.1 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-13/1-13:1.1/
    --w------- 1 root root 4096 Jan 22 12:01 bind
    lrwxrwxrwx 1 root root    0 Jan 22 12:01 module -> ../../../../module/btusb/
    -rw-r--r-- 1 root root 4096 Jan 22 12:01 new_id
    -rw-r--r-- 1 root root 4096 Jan 22 12:01 remove_id
    --w------- 1 root root 4096 Jan  7 13:31 uevent
    --w------- 1 root root 4096 Jan 22 12:01 unbind
    root@Tower:/sys/bus/usb/drivers/btusb# cd ../hub
    root@Tower:/sys/bus/usb/drivers/hub# ls -al
    total 0
    drwxr-xr-x 2 root root    0 Jan  7 13:31 ./
    drwxr-xr-x 9 root root    0 Jan  7 13:31 ../
    lrwxrwxrwx 1 root root    0 Jan  7 13:47 1-0:1.0 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-0:1.0/
    lrwxrwxrwx 1 root root    0 Jan  7 13:47 1-6:1.0 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/
    lrwxrwxrwx 1 root root    0 Jan  7 13:47 2-0:1.0 -> ../../../../devices/pci0000:00/0000:00:14.0/usb2/2-0:1.0/
    lrwxrwxrwx 1 root root    0 Jan  7 13:47 2-6:1.0 -> ../../../../devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/
    lrwxrwxrwx 1 root root    0 Jan  7 13:47 3-0:1.0 -> ../../../../devices/pci0000:00/0000:00:1c.0/0000:03:00.0/usb3/3-0:1.0/
    lrwxrwxrwx 1 root root    0 Jan  7 13:47 4-0:1.0 -> ../../../../devices/pci0000:00/0000:00:1c.0/0000:03:00.0/usb4/4-0:1.0/
    lrwxrwxrwx 1 root root    0 Jan  7 13:47 5-0:1.0 -> ../../../../devices/pci0000:c0/0000:c0:00.0/0000:c1:00.2/usb5/5-0:1.0/
    lrwxrwxrwx 1 root root    0 Jan  7 13:47 5-2.1:1.0 -> ../../../../devices/pci0000:c0/0000:c0:00.0/0000:c1:00.2/usb5/5-2/5-2.1/5-2.1:1.0/
    lrwxrwxrwx 1 root root    0 Jan  7 13:47 5-2:1.0 -> ../../../../devices/pci0000:c0/0000:c0:00.0/0000:c1:00.2/usb5/5-2/5-2:1.0/
    lrwxrwxrwx 1 root root    0 Jan  7 13:47 6-0:1.0 -> ../../../../devices/pci0000:c0/0000:c0:00.0/0000:c1:00.2/usb6/6-0:1.0/
    lrwxrwxrwx 1 root root    0 Jan  7 13:47 6-2.2:1.0 -> ../../../../devices/pci0000:c0/0000:c0:00.0/0000:c1:00.2/usb6/6-2/6-2.2/6-2.2:1.0/
    lrwxrwxrwx 1 root root    0 Jan  7 13:47 6-2:1.0 -> ../../../../devices/pci0000:c0/0000:c0:00.0/0000:c1:00.2/usb6/6-2/6-2:1.0/
    --w------- 1 root root 4096 Jan  7 13:47 bind
    lrwxrwxrwx 1 root root    0 Jan  7 13:47 module -> ../../../../module/usbcore/
    -rw-r--r-- 1 root root 4096 Jan  7 13:47 new_id
    -rw-r--r-- 1 root root 4096 Jan  7 13:47 remove_id
    --w------- 1 root root 4096 Jan  7 13:31 uevent
    --w------- 1 root root 4096 Jan  7 13:47 unbind
    root@Tower:/sys/bus/usb/drivers/hub# cd ../synaptics_usb/
    root@Tower:/sys/bus/usb/drivers/synaptics_usb# ls -al
    total 0
    drwxr-xr-x 2 root root    0 Jan  7 13:31 ./
    drwxr-xr-x 9 root root    0 Jan  7 13:31 ../
    --w------- 1 root root 4096 Jan 22 09:44 bind
    -rw-r--r-- 1 root root 4096 Jan 22 09:44 new_id
    -rw-r--r-- 1 root root 4096 Jan 22 09:44 remove_id
    --w------- 1 root root 4096 Jan  7 13:31 uevent
    --w------- 1 root root 4096 Jan 22 09:44 unbind
    root@Tower:/sys/bus/usb/drivers/synaptics_usb# cd ../usb
    root@Tower:/sys/bus/usb/drivers/usb# ls -al
    total 0
    drwxr-xr-x 2 root root    0 Jan  7 13:31 ./
    drwxr-xr-x 9 root root    0 Jan  7 13:31 ../
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 1-11 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-11/
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 1-12 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-12/
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 1-13 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-13/
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 1-14 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-14/
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 1-6 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-6/
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 1-7 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-7/
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 2-6 -> ../../../../devices/pci0000:00/0000:00:14.0/usb2/2-6/
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 5-2 -> ../../../../devices/pci0000:c0/0000:c0:00.0/0000:c1:00.2/usb5/5-2/
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 5-2.1 -> ../../../../devices/pci0000:c0/0000:c0:00.0/0000:c1:00.2/usb5/5-2/5-2.1/
    lrwxrwxrwx 1 root root    0 Jan 22 12:02 5-2.1.3 -> ../../../../devices/pci0000:c0/0000:c0:00.0/0000:c1:00.2/usb5/5-2/5-2.1/5-2.1.3/
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 6-2 -> ../../../../devices/pci0000:c0/0000:c0:00.0/0000:c1:00.2/usb6/6-2/
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 6-2.2 -> ../../../../devices/pci0000:c0/0000:c0:00.0/0000:c1:00.2/usb6/6-2/6-2.2/
    --w------- 1 root root 4096 Jan 22 09:37 bind
    --w------- 1 root root 4096 Jan  7 13:31 uevent
    --w------- 1 root root 4096 Jan 22 09:37 unbind
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 usb1 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 usb2 -> ../../../../devices/pci0000:00/0000:00:14.0/usb2/
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 usb3 -> ../../../../devices/pci0000:00/0000:00:1c.0/0000:03:00.0/usb3/
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 usb4 -> ../../../../devices/pci0000:00/0000:00:1c.0/0000:03:00.0/usb4/
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 usb5 -> ../../../../devices/pci0000:c0/0000:c0:00.0/0000:c1:00.2/usb5/
    lrwxrwxrwx 1 root root    0 Jan 22 09:37 usb6 -> ../../../../devices/pci0000:c0/0000:c0:00.0/0000:c1:00.2/usb6/
    root@Tower:/sys/bus/usb/drivers/usb# cd ../usb-storage
    root@Tower:/sys/bus/usb/drivers/usb-storage# ls -al
    total 0
    drwxr-xr-x 2 root root    0 Jan  7 13:31 ./
    drwxr-xr-x 9 root root    0 Jan  7 13:31 ../
    lrwxrwxrwx 1 root root    0 Jan 22 12:02 1-11:1.0 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.0/
    --w------- 1 root root 4096 Jan 22 12:02 bind
    lrwxrwxrwx 1 root root    0 Jan 22 12:02 module -> ../../../../module/usb_storage/
    -rw-r--r-- 1 root root 4096 Jan 22 12:02 new_id
    -rw-r--r-- 1 root root 4096 Jan 22 12:02 remove_id
    --w------- 1 root root 4096 Jan  7 13:31 uevent
    --w------- 1 root root 4096 Jan 22 12:02 unbind
    root@Tower:/sys/bus/usb/drivers/usb-storage# cd ../usbfs
    root@Tower:/sys/bus/usb/drivers/usbfs# ls -al
    total 0
    drwxr-xr-x 2 root root    0 Jan  7 13:31 ./
    drwxr-xr-x 9 root root    0 Jan  7 13:31 ../
    --w------- 1 root root 4096 Jan 22 12:03 bind
    lrwxrwxrwx 1 root root    0 Jan 22 12:03 module -> ../../../../module/usbcore/
    -rw-r--r-- 1 root root 4096 Jan 22 12:03 new_id
    -rw-r--r-- 1 root root 4096 Jan 22 12:03 remove_id
    --w------- 1 root root 4096 Jan  7 13:31 uevent
    --w------- 1 root root 4096 Jan 22 12:03 unbind
    root@Tower:/sys/bus/usb/drivers/usbfs# cd ../usbhid
    root@Tower:/sys/bus/usb/drivers/usbhid# ls -al
    total 0
    drwxr-xr-x 2 root root    0 Jan  7 13:31 ./
    drwxr-xr-x 9 root root    0 Jan  7 13:31 ../
    lrwxrwxrwx 1 root root    0 Jan 22 09:44 1-12:1.0 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/
    lrwxrwxrwx 1 root root    0 Jan 22 09:44 1-14:1.0 -> ../../../../devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/
    lrwxrwxrwx 1 root root    0 Jan 22 12:03 5-2.1.3:1.0 -> ../../../../devices/pci0000:c0/0000:c0:00.0/0000:c1:00.2/usb5/5-2/5-2.1/5-2.1.3/5-2.1.3:1.0/
    --w------- 1 root root 4096 Jan 22 09:44 bind
    lrwxrwxrwx 1 root root    0 Jan 22 09:44 module -> ../../../../module/usbhid/
    -rw-r--r-- 1 root root 4096 Jan 22 09:44 new_id
    -rw-r--r-- 1 root root 4096 Jan 22 09:44 remove_id
    --w------- 1 root root 4096 Jan  7 13:31 uevent
    --w------- 1 root root 4096 Jan 22 09:44 unbind
    root@Tower:/sys/bus/usb/drivers/usbhid#

     

    Do you need any more info?

     

    Thanks!

    Unfortunately i don't have one myself to test, please join https://discord.gg/rjb3z87 and hopefully me and @rasmus can figure it out

  6. 22 minutes ago, ingux16 said:

    Exactly same problem , no such file or directory error with AX1500i PSU . Unraid 6.8.1

     

    2 hours ago, dwarfer said:

    Firstly great work, thank you!

     

    I have an AX1600i and have loaded the new plugin and selected AX but don't get any readings from the PSU. Do I have to first load the driver with the following command?

     

    echo -n "3-12:1.0" > /sys/bus/usb/drivers/cp210x/bind

     

    I don't have a cp210x folder in my usb drivers directory though.

     

    Any ideas appreciated 

     

    Thanks

    Please can you provide some screenshots, info on your usb devices etc. 

  7. 18 minutes ago, dwarfer said:

    Firstly great work, thank you!

     

    I have an AX1600i and have loaded the new plugin and selected AX but don't get any readings from the PSU. Do I have to first load the driver with the following command?

     

    echo -n "3-12:1.0" > /sys/bus/usb/drivers/cp210x/bind

     

    I don't have a cp210x folder in my usb drivers directory though.

     

    Any ideas appreciated 

     

    Thanks

    Others haven't needed to, try it, any issues let me know your unraid version etc.

  8. 10 hours ago, FranciumF said:

    image.png.f44c09e086fc54fe55108870a591d2bc.png

    having some issues with the cpsumon XD

    you can just try this plugin now anyway https://raw.githubusercontent.com/Cyanlabs/corsairpsu-unraid/dual/corsairpsu.plg

     

    Settings > Utilities > Corsair PSU set type to AXi

     

    Please let me know the outcome, this is a BETA, the table will show uptime and stuff as 0 as the AX psu's don't support this. i will remove this section on the actual release.

  9. So guys, i've made some progress with the help of @rasmus

     

    This is running on UnRAID

    unknown.png

     

    Here is a compiled version of just the CLI application, extract and dump it in /usr/local/bin via SCP (SSH), windows users can use WinSCP for example. the path of the binary needs to be /usr/local/bin/cpsumon/cpsumoncli

    https://drive.google.com/file/d/1LqRRKbqku96GYuQ8oHc9_TQDSY58uQKi/view?usp=sharing

     

    you will still need to do the unbind/bind

     

    THIS IS NOT A USER INTERFACE THIS IS MERELY THE COMPILED BINARY, I AM WORKING ON ADDING SUPPORT BUT THIS IS JUST A PROGRESS UPDATE.

     

     

×
×
  • Create New...