-
-
Notifications
You must be signed in to change notification settings - Fork 340
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
USB driver Eurocase EA200LED 1200VA #307
Comments
This sounds like something that should be supported by nutdrv_qx with 'fabula' USB subdriver (set protocol to 'megatec', if you want to skip the initial match procedure, which otherwise should give you some failed queries before the actual start of communication with the device), or, in case you experience any problem with it, you may want to try the 'krauler' one (which doesn't support shutdowns). In case of success, please test all the available instant commands (or, at least, the shutdowns and the shutdown procedure) and report back the output of upsc / upsrw / upscmd for our DDL. |
I have tried blazer_usb and nutdrv_qx with none or "fabula" or "krauler" subdrivers specified. To make it working, I had to specify the port to /dev/usbhid-ups (see SYMLINK in udev conf file above, auto-detection always failed). Then all drivers settings always worked (kind of - communication starts, some info is pulled from UPS), but only for the first packets, all consequent readings show same values, so it looks, like some buffer is not flushed. Even when I pull the plug from wall socket, it reads online (not on battery). |
Hm, looks like i have something-around issue...let me paste it there, and do not create another one issue :) A have device:
First, i had 'device not found\not detected' and etc issues from 'blazer_usb' /lib/nut/blazer_usb -DD -a frys
After some research(#113 ), After update to : (from trusty(2.7.1-1ubuntu1) => to xenial)
But it didn't help me, and now problem is:
And so on in loop :( Also, i found old threads
some info from strace :
and ldd
http://lists.alioth.debian.org/pipermail/nut-upsuser/2014-November/009348.html (chmod \ -u root fixes also tryed) Could you suggest me something else to try ? |
Hey, did you ever find a solution for this ? After 1 day of troubleshooting and finding the same interrupt crap for the graphical tool (UPsmart) in my tcpdump files I stumbled on this thread. I have an Energenie UPS - in USB name that would be Fry's Electronics. Tried all possible combinations with blazer_ups, nutdrv_qx ... |
A setup like this worked for me:
Having a Logic Power UPS 2000 which gets identified as same Fry's Electronics thing |
@CyborTronik thank you! nutdrv_qx works perfectly for my Logic Power UPS (LK-800 USB?). I'm using Home Assistant with Network UPS Tools Home Assistant Community Add-on.
Also there should be nut sensor in general HA config:
|
This worked like a charm!!! |
Hey @jcanderle any further conclusion? I hit the same issue... |
Can you point me where to start to write driver/sub_driver for the Eurocase EA200LED 1200VA?
I have collected USB communication (Send/Receive on beginning of line are not part of comm) :
I am trying to figure out the meaning of commands and returned results meanwhile.
The USB USP device report itself as:
ID 0001:0000 Fry's Electronics
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0001 Fry's Electronics
idProduct 0x0000
bcdDevice 1.00
iManufacturer 0
iProduct 1 MEC0003
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 624
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
for which I have created udev rule to create symlink /dev/usbhid-ups to the usb device:
ATTR{idVendor}=="0001", ATTR{idProduct}=="0000", ATTRS{product}=="MEC0003", MODE="0774", GROUP="nut", SYMLINK+="usbhid-ups"
I have tried other available drivers, but it seems that this device is not using any supported protocol.
The text was updated successfully, but these errors were encountered: