[Nut-upsuser] FreeBSD backed with a PR1500LCDRT2U
Louis G.
louis at frentzgzesh.info
Thu Sep 24 14:28:31 UTC 2015
>>
>> The output was also not as big as you made it out to be.
>
> Well, I didn't expect the driver to fail *that* badly :-)
>
> Assuming the UPS is still at /dev/ugen4.2, can you try the following command? (Probably needs to be run as root, with the driver stopped.)
>
> usbconfig -u 4 -a 2 dump_curr_config_desc
Here is output of the command. Thank you for your help with this.
ugen4.2: <product 0x0601 CyberPower Systems> at usbus4, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (50mA)
Configuration index 0
bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0029
bNumInterfaces = 0x0001
bConfigurationValue = 0x0001
iConfiguration = 0x0000 <no string>
bmAttributes = 0x00e0
bMaxPower = 0x0019
Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0002
bInterfaceClass = 0x0003 <HID device>
bInterfaceSubClass = 0x0000
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Additional Descriptor
bLength = 0x09
bDescriptorType = 0x21
bDescriptorSubType = 0x10
RAW dump:
0x00 | 0x09, 0x21, 0x10, 0x01, 0x21, 0x01, 0x22, 0x90,
0x08 | 0x02
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0003 <INTERRUPT>
wMaxPacketSize = 0x0008
bInterval = 0x000a
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0002 <OUT>
bmAttributes = 0x0003 <INTERRUPT>
wMaxPacketSize = 0x0008
bInterval = 0x0014
bRefresh = 0x0000
bSynchAddress = 0x0000
Joe Gzesh
Sent from Zimbra Open Source Mail Server. Hosted at my House.
Ask me how to set up your own Zimbra server.
----- Original Message -----
From: "Charles Lepple" <clepple at gmail.com>
To: "Joseph Gzesh" <louis at frentzgzesh.info>
Cc: nut-upsuser at lists.alioth.debian.org
Sent: Wednesday, September 23, 2015 8:04:37 PM
Subject: Re: [Nut-upsuser] FreeBSD backed with a PR1500LCDRT2U
On Sep 23, 2015, at 9:39 AM, Louis G. <louis at frentzgzesh.info> wrote:
>
> The output was also not as big as you made it out to be.
Well, I didn't expect the driver to fail *that* badly :-)
Assuming the UPS is still at /dev/ugen4.2, can you try the following command? (Probably needs to be run as root, with the driver stopped.)
usbconfig -u 4 -a 2 dump_curr_config_desc
--
Charles Lepple
clepple at gmail
More information about the Nut-upsuser
mailing list