Skip to content

nutdrv_qx not detecting GREEN CELL UPS01LCD 600VA - works with blazer_usb #2958

Description

@m-stefanski

Working configuration:

[nutdev1]
  driver = blazer_usb
  port = auto
  norating
  novendor
  protocol = megatec
  default.battery.voltage.high = 13.8
  default.battery.voltage.low = 10.5

I cannot make nutdrv_qx work in any case, but closest to showing something is following config:

[nutdev1]
  driver = "nutdrv_qx"
  protocol = "hunnox"
  port = "auto"
  vendorid = "0001"
  productid = "0000"
  product = "MEC0003"
  vendor = "MEC"
  bus = "003"  

which gives following output:

root@pve:~# /usr/lib/nut/nutdrv_qx -a nutdev1 -DDD
Network UPS Tools - Generic Q* USB/Serial driver 0.32 (2.8.0)
USB communication driver (libusb 1.0) 0.43
   0.000000     [D1] debug level is '3'
   0.000590     [D1] upsdrv_initups...
   0.002361     [D2] Checking device 1 of 6 (1D6B/0003)
   0.002376     [D1] Failed to open device (1D6B/0003), skipping: Access denied (insufficient permissions)
   0.002378     [D2] Checking device 2 of 6 (0001/0000)
   0.003263     [D2] - VendorID: 0001
   0.003267     [D2] - ProductID: 0000
   0.003269     [D2] - Manufacturer: MEC
   0.003270     [D2] - Product: MEC0003
   0.003272     [D2] - Serial Number: unknown
   0.003274     [D2] - Bus: 003
   0.003275     [D2] - Device: unknown
   0.003277     [D2] - Device release number: 0100
   0.003278     [D2] Trying to match device
   0.003280     [D3] match_function_regex: matching a device...
   0.003322     [D2] Device matches
   0.003326     [D2] Reading first configuration descriptor
   0.003332     [D3] libusb_kernel_driver_active() returned 0
   0.003348     [D2] Claimed interface 0 successfully
   0.003351     [D3] nut_usb_set_altinterface: skipped libusb_set_interface_alt_setting(udev, 0, 0)
   0.003356     [D2] Skipping protocol Voltronic 0.06
   0.003359     [D2] Skipping protocol Voltronic-QS 0.07
   0.003360     [D2] Skipping protocol Voltronic-QS-Hex 0.10
   0.003362     [D2] Skipping protocol Mustek 0.07
   0.003364     [D2] Skipping protocol Megatec/old 0.07
   0.003366     [D2] Skipping protocol BestUPS 0.06
   0.003367     [D2] Skipping protocol Mecer 0.07
   0.003372     [D3] send: Q1
   0.226152     [D3] read: (242.9 000.0 242.7 001 50.1 13.7 --.- 00001001
   0.226175     [D3] send: I
   0.410897     [D3] read: #                                     
   0.410912     [D1] ups_infoval_set: non significant value [ups.firmware]
   0.410917     [D3] send: Q1
   0.633018     [D3] read: (242.9 000.0 243.0 001 50.1 13.7 --.- 00001001
   0.633058     [D3] send: I
   0.817726     [D3] read: #                                     
   0.817742     [D1] ups_infoval_set: non significant value [ups.firmware]
   0.817747     [D3] send: Q1
   1.040236     [D3] read: (243.0 000.0 242.9 001 50.1 13.7 --.- 00001001
   1.040258     [D3] send: I
   1.224779     [D3] read: #                                     
   1.224795     [D1] ups_infoval_set: non significant value [ups.firmware]
   1.224800     [D2] Skipping protocol Zinto 0.06
   1.224802     [D2] Skipping protocol Masterguard 0.02
   1.224808     [D2] Skipping protocol Hunnox 0.01
   1.224809     [D2] Skipping protocol Ablerex 0.01
   1.224811     [D2] Skipping protocol Q1 0.07
   1.224813     Device not supported!
   1.224814     Device not supported!

nut-scanner:

root@pve:~# nut-scanner -U
Scanning USB bus.
[nutdev1]
        driver = "nutdrv_qx"
        port = "auto"
        vendorid = "0001"
        productid = "0000"
        product = "MEC0003"
        vendor = "MEC"
        bus = "003"

Metadata

Metadata

Assignees

No one assigned

    Labels

    DDLIncorrect or missing readingsOn some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.)Qx protocol driverDriver based on Megatec Q<number> such as new nutdrv_qx, or obsoleted blazer and some othersUSBUSB VID=0001 PID=0000 (Fry's Electronics/MEC0003)Seems to be a generic USB chip interfacing many devices and protocols (Qx, USB HID, ATCL...)impacts-release-2.8.0Issues reported against NUT release 2.8.0 (maybe vanilla or with minor packaging tweaks)impacts-release-2.8.3Issues reported against NUT release 2.8.3 (maybe vanilla or with minor packaging tweaks)

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions