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
Eaton 9E2000I unknown device and ups model #1925
Comments
Looking at that repo, "3 weeks ago" they added commits for a nut-2.8.0 bump, and https://github.com/SimonFair/NUT-unRAID/blob/master/packages/nut-2.8.0-x86_64-1.txz which contains files time-stamped 2022-04-30 (so same week as NUT 2.8.0 release). Your screenshots indicate a much older 2.7.4 NUT baseline. Wondering if an update can provide a quick fix, or if something remains to solve in the core. Also, looking at integration changes like https://github.com/dmacias72/NUT-unRAID/pull/1/files I suppose there is a lot of unRAID-specific voodoo that is maintained outside of NUT and without cross-coordination as the two evolve (which could be welcome). In NUT, each driver and sub-driver has a lot of changes over time and is responsible for the info it publishes - doing this job well or poorly is another matter, to solve in NUT. External projects are sort of expected to use NUT-provided data "as is", or if they know there's a specific issue to solve - to update NUT and have good inputs this way. Changes like that PR do make sense technically, but I'm afraid can sum up to something less maintainable over time. |
BTW, did apcd report anything about this device, that you don't see with NUT - e.g. the serial number? It may well be that the device does not serve it, or serves a useless value like a dozen of zeroes. The |
Yes it was show all data also serial number. This is my first expirience of UPS so I'm little confused, I was thinking will be opposite, that apcd was not sure, but it found device and show all info. |
i will check it,Thanks |
Product ID may be I can only guess that this device serves its serial number (and possibly correct name) on different USB report identifiers than its siblings... the mapping in NUT can be updated, but gotta figure out to what. Are you in position to run NUT from command line on that system? (Or attach the UPS to another system temporarily for debugging?) |
@jimklimov do you mean if I can run command line in Unraid? Sure I can. I can switch back to apcd and get all info needed. |
So I can connect to Main pc with Win11 if need, or just get all data from apcd in Unraid? |
I think all the bits of info would help, and also an attempt to start the driver with higher debug verbosity If it is possible to try building NUT from source to the extent of trying to make an usb-hid subdriver (see docs directory in github), that would even parse such findings into C mapping tables that we can merge with existing subdriver. |
@jimklimov if serial is needed i can send you in pm ... |
Also much less details here ... |
@jimklimov tryed to launch in command line in Unraid but having some errors, maybe you can help with this, if will not succeed with command line will try maybe build and connect in VM if possible... |
FYI: I'll be mostly offline till mid-May. Good luck on your quest!
…On Fri, Apr 28, 2023, 11:19 DaRK AnGeL ***@***.***> wrote:
@jimklimov <https://github.com/jimklimov> tryed to launch in command line
in Unraid but having some errors, maybe you can help with this, if will not
succeed with command line will try maybe build and connect in VM if
possible...
—
Reply to this email directly, view it on GitHub
<#1925 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMPTFEY4O2DBTATHBWHA7TXDODSZANCNFSM6AAAAAAXIRS3LM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
At all it's working fine, the only problem it's shows unknown 2000 ups.model,device.model and no serial number... |
Hey Also, an lsusb -vv as root could help |
Sure I can, I will try... |
runned 'lsusb -vv' it shows all info also serial number !
|
@aquette is it enough ? |
I also need the output of usbhid-ups, to see what's wrong |
Ah OK, it should be run when nut is running? |
First, stop the real driver, then launch the above command as root |
@aquette tryed 'usbhid-ups -DDDDD -s test -d2 -x port=auto -u root 2>&1 | tee -a /mnt/user/DiskNas/usbhid-ups.txt' |
@jimklimov @aquette please check the files above .... let me know if this is enough ? |
@jimklimov @aquette did you had time to check files maybe ? |
@jimklimov @aquette is any news maybe ? |
|
Oh its a flag ,checking ... |
Still puzzled by this. Pollonly won't solve, it's just for using the interrupt channel (like traps in SNMP) and not the control channel Have you tried other USB cable and ports |
i was tested both and sended already please check above ... |
i will try replug to usb3 when nut is running ... |
The thing is all working fine exclude unknown (device and model) and no serial , |
its becose of connection timeout when runed ""/usr/bin/usbhid-ups -x explore -DDDDDD -s test -x port=auto -x vendorid=0463 -u root"" |
@aquette can it be USB cable problem if all info shown on USB bus ? |
@masterwishx I would say no, but these limited I/O errors are puzzling! |
I'd need the kernel / libusb verbose info (from /var/log/messages for ex.) Around that nut_libusb_open / get_string |
I was started with v2.7.4 with 0.1 that has same unknown device, only then I moved to 2.8 with 1.0 to try but having same unknown, and staying on it now. |
now im on 2.8.0.1 ,same here ... |
Network UPS Tools (NUT) for UNRAID with NUT v 2.8.1 , still same .... |
Did you have a chance to follow up with Arnaud's suggestions (dmesg dumps near plugging events, trying libusb debug envvars in the driver environment, etc.)? Also you mentioned that |
Sorry, not sure what do you mean? if you can to explane i will try to check
Yes , befor NUT i checked Unraid native UPS ( APC UPS daemon) and it was worked with all data in it. Now Unraid NUT Plugin develops by other user and he added some new staff , also new 2.8.1 version (older versions also avalible ) Also the problem is only that (unknown 2000 for device.model,ups.model and no serial number is shown) but all working Fine at all. |
i have a similar problem but works different for me. i have installed nut server on my rasberry pi 4 with debian 11 (bullseye) so nut server version is 2.7.4 . now the fun part, any idea? |
Not sure this same issue, I have no problems with connections or other, the only thing it's shown as "unknown 2000" on upsc but in usb driver all info avaliable... Do you have also "unknown 3000" in upsc? |
update APC back-ups 1400 work and this is the output from nut-scanner -U for the second UPS [nutdev2] i dont't have any model or serial displayed |
@loso2255 : Does it literally say |
no no it's the eaton vendor id it say: vendorid = "0463" this is the full output |
do you have blank for ups model and ups device ? not "unknown 3000" ? also no serial displayed , but all info available if i run "lsusb -vvv" check the posts above : #1925 (comment) |
Using Unraid apcd working fine , but tryed plugin -NUT - Network UPS Tools by SimonFair .
and having some valus unknow like model and device and missing serial number ...
The text was updated successfully, but these errors were encountered: