[Nut-upsdev] Question on support for Upsonic Commercial UPS CXR 2000 - 2000VA/1200W - Rack/Tower on Freebsd 9.1.

Chris Duffy cjd at small-tree.com
Thu Feb 6 21:14:32 UTC 2014


here is the command(s) output using uhidd....

# uhidd -v -u /dev/ugen1.3ugen1.3[0]-> HID interface

ugen1.3[0]-> Report descriptor size = 27
ugen1.3[0]-> Kernel driver is active
ugen1.3[0]-> kernel driver detached!
ugen1.3[0]-> Find IN interrupt ep: 0x81 packet_size=0x8

# /usr/local/libexec/nut/blazer_usb -a UPSonic -u root -DDDD

    0.000000    debug level is '4'
    0.176793    Checking device (06DA/0005) (/dev/usb//dev/ugen1.3)
    0.183672    - VendorID: 06da
    0.183696    - ProductID: 0005
    0.183699    - Manufacturer: PPC
    0.183703    - Product: USB UPS
    0.183707    - Serial Number: unknown
    0.183710    - Bus: /dev/usb
    0.183714    Trying to match device
    0.183718    Device matches
    0.183746    Trying megatec protocol...
    0.184566    send: Q1
    0.423946    read: (239.3 239.3 229.9 027 50.0 2.19 22.8 00000001
    0.423988    Status read in 1 tries
    0.424000    Supported UPS detected with megatec protocol
    1.455927    send: Unknown error
    1.455973    Permissions problem: Input/output error
Network UPS Tools - Megatec/Q1 protocol USB driver 0.09 
(2.6.5-Unversioned directory)

On 2/6/14, 8:46 AM, Charles Lepple wrote:
> On Feb 6, 2014, at 9:33 AM, Chris Duffy wrote:
>> So since this is a new type of UPSonic UPS, do you think
>> the vendor screwed up or is it just some quirk on Freebsd?
> It's a pretty fundamental design flaw, although it isn't uncommon among USB devices aimed at the Windows market, and to their credit, it does make implementation and deployment simpler on Windows.
> Neither the FreeBSD nor the Linux USB stack is bug-compatible with Windows, but FreeBSD has been slower to catch up. Some UPSes already have quirks table entries in FreeBSD (APC, Cyberpower, probably MGE/Eaton).
> I did run across a daemon called 'uhidd' in the ports tree which might help. Try installing it, then run 'uhidd -v -u /dev/ugen1.3', kill it, and re-run the driver with -DDDD (as before).
> The '-u' flag will try to detach the uhid driver.

Chris Duffy
Product Support
Small Tree Communications
Direct 651-209-6509 X305
Mobil 651-303-9613
AIM/Google:cjdwoodbury at gmail.com

More information about the Nut-upsdev mailing list