Egor Keke
2017-May-26 12:00 UTC
[Nut-upsuser] Powercom Smart KING Pro 1250A - Driver failed to start
Hi. Sorry for the English. Use online translator. Trying to configure Powercom Smart KING Pro 1250A and Debian Jessie. OS name and version: Debian Jessie 8.8, kernel 4.9.25-1~bpo8+1 exact NUT version: 2.7.2-4 NUT installation method: package exact device name and related information: Powercom Smart KING Pro 1250A (connect via usb; leads changed) complete problem description, with any relevant traces, like system log excerpts, and driver debug output. You can obtain the latter using the following command, as root and after having stopped NUT: # /lib/nut/usbhid-ups -DD -a myups Network UPS Tools - Generic HID driver 0.38 (2.7.2) USB communication driver 0.32 ?? 0.000000??? debug level is '2' ?? 0.000260??? upsdrv_initups... ?? 0.015814??? Checking device (0DB0/A871) (006/004) ?? 0.015838??? - VendorID: 0db0 ?? 0.015842??? - ProductID: a871 ?? 0.015844??? - Manufacturer: unknown ?? 0.015846??? - Product: unknown ?? 0.015848??? - Serial Number: unknown ?? 0.015850??? - Bus: 006 ?? 0.015852??? Trying to match device ?? 0.015856??? Device does not match - skipping ?? 0.015860??? Checking device (0DB0/3871) (006/003) ?? 0.015875??? - VendorID: 0db0 ?? 0.015877??? - ProductID: 3871 ?? 0.015880??? - Manufacturer: unknown ?? 0.015883??? - Product: unknown ?? 0.015885??? - Serial Number: unknown ?? 0.015887??? - Bus: 006 ?? 0.015889??? Trying to match device ?? 0.015892??? Device does not match - skipping ?? 0.015896??? Checking device (8087/0024) (006/002) ?? 0.015904??? - VendorID: 8087 ?? 0.015906??? - ProductID: 0024 ?? 0.015908??? - Manufacturer: unknown ?? 0.015910??? - Product: unknown ?? 0.015913??? - Serial Number: unknown ?? 0.015916??? - Bus: 006 ?? 0.015918??? Trying to match device ?? 0.015921??? Device does not match - skipping ?? 0.015925??? Checking device (1D6B/0002) (006/001) ?? 0.015935??? - VendorID: 1d6b ?? 0.015938??? - ProductID: 0002 ?? 0.015941??? - Manufacturer: unknown ?? 0.015944??? - Product: unknown ?? 0.015946??? - Serial Number: unknown ?? 0.015949??? - Bus: 006 ?? 0.015951??? Trying to match device ?? 0.015953??? Device does not match - skipping ?? 0.015957??? Checking device (0D9F/00A3) (005/007) ?? 0.017893??? - VendorID: 0d9f ?? 0.017902??? - ProductID: 00a3 ?? 0.017906??? - Manufacturer: unknown ?? 0.017908??? - Product: unknown ?? 0.017910??? - Serial Number: unknown ?? 0.017912??? - Bus: 005 ?? 0.017914??? Trying to match device ?? 0.017939??? Device matches ?? 0.019894??? Unable to get HID descriptor (error sending control message: Broken pipe) ?? 0.019907??? HID descriptor length 872 ?? 0.020520??? Unable to get Report descriptor: Broken pipe ?? 0.020538??? Checking device (0424/4063) (005/005) ?? 0.020558??? - VendorID: 0424 ?? 0.020563??? - ProductID: 4063 ?? 0.020566??? - Manufacturer: unknown ?? 0.020568??? - Product: unknown ?? 0.020570??? - Serial Number: unknown ?? 0.020573??? - Bus: 005 ?? 0.020575??? Trying to match device ?? 0.020580??? Device does not match - skipping ?? 0.020584??? Checking device (0424/2640) (005/004) ?? 0.020592??? - VendorID: 0424 ?? 0.020595??? - ProductID: 2640 ?? 0.020597??? - Manufacturer: unknown ?? 0.020598??? - Product: unknown ?? 0.020600??? - Serial Number: unknown ?? 0.020602??? - Bus: 005 ?? 0.020605??? Trying to match device ?? 0.020608??? Device does not match - skipping ?? 0.020612??? Checking device (8087/0024) (005/002) ?? 0.020619??? - VendorID: 8087 ?? 0.020622??? - ProductID: 0024 ?? 0.020625??? - Manufacturer: unknown ?? 0.020628??? - Product: unknown ?? 0.020630??? - Serial Number: unknown ?? 0.020633??? - Bus: 005 ?? 0.020635??? Trying to match device ?? 0.020638??? Device does not match - skipping ?? 0.020643??? Checking device (1D6B/0002) (005/001) ?? 0.020651??? - VendorID: 1d6b ?? 0.020655??? - ProductID: 0002 ?? 0.020657??? - Manufacturer: unknown ?? 0.020658??? - Product: unknown ?? 0.020660??? - Serial Number: unknown ?? 0.020663??? - Bus: 005 ?? 0.020665??? Trying to match device ?? 0.020667??? Device does not match - skipping ?? 0.020672??? Checking device (1D6B/0003) (004/001) ?? 0.035508??? - VendorID: 1d6b ?? 0.035522??? - ProductID: 0003 ?? 0.035526??? - Manufacturer: unknown ?? 0.035531??? - Product: unknown ?? 0.035533??? - Serial Number: unknown ?? 0.035534??? - Bus: 004 ?? 0.035536??? Trying to match device ?? 0.035541??? Device does not match - skipping ?? 0.035549??? Checking device (1D6B/0002) (003/001) ?? 0.035664??? - VendorID: 1d6b ?? 0.035669??? - ProductID: 0002 ?? 0.035673??? - Manufacturer: unknown ?? 0.035675??? - Product: unknown ?? 0.035676??? - Serial Number: unknown ?? 0.035679??? - Bus: 003 ?? 0.035682??? Trying to match device ?? 0.035685??? Device does not match - skipping ?? 0.035688??? Checking device (1D6B/0003) (002/001) ?? 0.035754??? - VendorID: 1d6b ?? 0.035759??? - ProductID: 0003 ?? 0.035762??? - Manufacturer: unknown ?? 0.035764??? - Product: unknown ?? 0.035766??? - Serial Number: unknown ?? 0.035769??? - Bus: 002 ?? 0.035771??? Trying to match device ?? 0.035773??? Device does not match - skipping ?? 0.035777??? Checking device (1D6B/0002) (001/001) ?? 0.035877??? - VendorID: 1d6b ?? 0.035881??? - ProductID: 0002 ?? 0.035884??? - Manufacturer: unknown ?? 0.035886??? - Product: unknown ?? 0.035888??? - Serial Number: unknown ?? 0.035891??? - Bus: 001 ?? 0.035894??? Trying to match device ?? 0.035896??? Device does not match - skipping ?? 0.035899??? No appropriate HID device found ?? 0.035907??? No matching HID UPS found lsusb | grep Powercom Bus 005 Device 007: ID 0d9f:00a3 Powercom Co., Ltd Smart King PRO Uninterruptible Power Supply (HID PDC) dmesg | grep -i powercom [??? 5.757678] usb 5-1.1: Manufacturer: POWERCOM Co.,LTD ? [??? 5.841506] hid-generic 0003:0D9F:00A3.0001: hiddev0,hidraw0: USB HID v1.00 Device [POWERCOM Co.,LTD?? Unknown UPS (off?)] on usb-0000:00:1a.0-1.1/input0 [24165.651886] usb 5-1.1: Manufacturer: POWERCOM Co.,LTD ? [24165.717409] hid-generic 0003:0D9F:00A3.0002: hiddev0,hidraw0: USB HID v1.00 Device [POWERCOM Co.,LTD?? SKP-1250A? S707-V1.1L] on usb-0000:00:1a.0-1.1/input0 [24190.481353] usb 5-1.1: Manufacturer: POWERCOM Co.,LTD ? [24190.547646] hid-generic 0003:0D9F:00A3.0003: hiddev0,hidraw0: USB HID v1.00 Device [POWERCOM Co.,LTD?? SKP-1250A? S707-V1.1L] on usb-0000:00:1a.0-1.1/input0 cat nut.conf: MODE=standalone cat ups.conf: [myups] ? driver = usbhid-ups ? port = auto ? vendorid = 0d9f ? productid = 00a3 ? desc = "Powercom Smart KING Pro 1250A" cat upsd.users: [monuser] ? password = pass ? upsmon master cat upsmon.conf: MONITOR myups at localhost 1 monuser pass master cat /etc/udev/rules.d/90-nut-ups.rules: ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0d9f", ATTR{idProduct}=="00a3", MODE="0660", GROUP="nut" check: /sbin/upsdrvctl start myups Network UPS Tools - UPS driver controller 2.7.2 Network UPS Tools - Generic HID driver 0.38 (2.7.2) USB communication driver 0.32 No matching HID UPS found Driver failed to start (exit status=1) systemctl status nut-driver.service ? nut-driver.service - Network UPS Tools - power device driver controller ?? Loaded: loaded (/lib/systemd/system/nut-driver.service; static) ?? Active: failed (Result: exit-code) since ?? 2017-05-26 14:51:26 MSK; 4min 15s ago ? Process: 921 ExecStart=/sbin/upsdrvctl start (code=exited, status=1/FAILURE) may 26 14:51:26 egorkeke upsdrvctl[921]: Network UPS Tools - Generic HID driver 0.38 (2.7.2) may 26 14:51:26 egorkeke upsdrvctl[921]: USB communication driver 0.32 may 26 14:51:26 egorkeke upsdrvctl[921]: No matching HID UPS found may 26 14:51:26 egorkeke systemd[1]: nut-driver.service: control process exited, code=exited status=1 may 26 14:51:26 egorkeke upsdrvctl[921]: Driver failed to start (exit status=1) may 26 14:51:26 egorkeke upsdrvctl[921]: Network UPS Tools - UPS driver controller 2.7.2 may 26 14:51:26 egorkeke systemd[1]: Failed to start Network UPS Tools - power device driver controller. may 26 14:51:26 egorkeke systemd[1]: Unit nut-driver.service entered failed state. systemctl status nut-server.service ? nut-server.service - Network UPS Tools - power devices information server ?? Loaded: loaded (/lib/systemd/system/nut-server.service; enabled) ?? Active: inactive (dead) may 26 14:51:26 egorkeke systemd[1]: Dependency failed for Network UPS Tools - power devices information server. ?systemctl status nut-monitor.service ? nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller ?? Loaded: loaded (/lib/systemd/system/nut-monitor.service; enabled) ?? Active: active (running) since ?? 2017-05-26 14:51:26 MSK; 7min ago ? Process: 1005 ExecStart=/sbin/upsmon (code=exited, status=0/SUCCESS) ?Main PID: 1062 (upsmon) ?? CGroup: /system.slice/nut-monitor.service ?????????? ??1061 /lib/nut/upsmon ?????????? ??1062 /lib/nut/upsmon may 26 14:58:31 egorkeke upsmon[1062]: UPS [myups at localhost]: connect failed: Connection failure: Connection refused may 26 14:58:36 egorkeke upsmon[1062]: UPS [myups at localhost]: connect failed: Connection failure: Connection refused What could be the problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170526/0ea50171/attachment-0001.html>