-
-
Notifications
You must be signed in to change notification settings - Fork 359
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 ? |
@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) |
Still same issue on 2.8.2 |
networkupstools#1925] Also handle "unknown 2000" assuming it is a mis-read "Eaton 9E 2000(i?)" which refused to tell libusb its vendor/product/serial strings. This may be the answer to such issues as networkupstools#1925, networkupstools#2380 (re-opened), networkupstools#2492 Signed-off-by: Jim Klimov <[email protected]>
Do you also have |
@masterwishx : following the fruitful discussion in libusb tracker (thanks for starting), can you please search NUT docs/sources about "(no)langid(fix)" - I remembered there are some keywords about some such concept(s?), but during travels can't easily check what it was about. Maybe NUT already has a fix about this situation already? |
Indeed blazer_usb.c and nutdrv_qx.c makes use of "langid_fix" and "noscanlangid" options. Maybe those are not needed if #2604 works around their issues in a more general manner. Note some devices actually need a specific langid_fix that is not en_US (0x0409), see |
This function doesn't use usb_get_string_simple() from libusb0 or libusb_get_string_descriptor_ascii() from libusb1 but replaces them to be able to add a workaround for devices with broken langid descriptors. If the langid descriptor is invalid, the en_US language is assumed. (See networkupstools#1925) It also adds retries to the string descriptor fetching, which may help in some cases. (See networkupstools#414) Signed-off-by: Tormod Volden <[email protected]>
Fixes networkupstools#1925 Signed-off-by: Tormod Volden <[email protected]>
@jimklimov @tormodvolden |
This function doesn't use usb_get_string_simple() from libusb0 or libusb_get_string_descriptor_ascii() from libusb1 but replaces them to be able to add a workaround for devices with broken langid descriptors. If the langid descriptor is invalid, the en_US language is assumed. (See networkupstools#1925) It also adds retries to the string descriptor fetching, which may help in some cases. (See networkupstools#414) A small delay is introduced between the retries. Signed-off-by: Tormod Volden <[email protected]>
Fixes networkupstools#1925 Signed-off-by: Tormod Volden <[email protected]>
…s#1925, networkupstools#2604] Signed-off-by: Jim Klimov <[email protected]>
…rkupstools#1925, networkupstools#2604] Signed-off-by: Jim Klimov <[email protected]>
…)` method [networkupstools#1925, networkupstools#2604] Signed-off-by: Jim Klimov <[email protected]>
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: