[Nut-upsuser] Gentoo Ultra USB UPS

Barry Fawthrop barry at ttienterprises.org
Tue Aug 1 13:18:56 UTC 2006


Hi Charles

If this is some type of USB to serial converter How then do I link or 
makr /dev/usb/hiddev0  something like /dev/ttyS0 ?

What would be the process here ?

Thanks
Barry

Barry Fawthrop wrote:
> lsusb  -vvvvv
>
> Bus 001 Device 002: ID 0d9f:0001 Powercom Co., Ltd
> Device Descriptor:
>  bLength                18
>  bDescriptorType         1
>  bcdUSB               1.00
>  bDeviceClass            0 (Defined at Interface level)
>  bDeviceSubClass         0
>  bDeviceProtocol         0
>  bMaxPacketSize0         8
>  idVendor           0x0d9f Powercom Co., Ltd
>  idProduct          0x0001
>  bcdDevice            1.00
>  iManufacturer           1
>  iProduct                2
>  iSerial                 3
>  bNumConfigurations      1
>  Configuration Descriptor:
>    bLength                 9
>    bDescriptorType         2
>    wTotalLength           34
>    bNumInterfaces          1
>    bConfigurationValue     1
>    iConfiguration          0
>    bmAttributes         0x40
>      Self Powered
>    MaxPower                0mA
>    Interface Descriptor:
>      bLength                 9
>      bDescriptorType         4
>      bInterfaceNumber        0
>      bAlternateSetting       0
>      bNumEndpoints           1
>      bInterfaceClass         3 Human Interface Devices
>      bInterfaceSubClass      0 No Subclass
>      bInterfaceProtocol      0 None
>      iInterface              0
>        HID Device Descriptor:
>          bLength                 9
>          bDescriptorType        33
>          bcdHID               1.00
>          bCountryCode            0 Not supported
>          bNumDescriptors         1
>          bDescriptorType        34 Report
>          wDescriptorLength     175
>         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             250
>
> Bus 001 Device 001: ID 0000:0000
> Device Descriptor:
>  bLength                18
>  bDescriptorType         1
>  bcdUSB               1.10
>  bDeviceClass            9 Hub
>  bDeviceSubClass         0 Unused
>  bDeviceProtocol         0 Full speed hub
>  bMaxPacketSize0         8
>  idVendor           0x0000
>  idProduct          0x0000
>  bcdDevice            2.06
>  iManufacturer           3 Linux 2.6.14-hardened-r3 uhci_hcd
>  iProduct                2 UHCI Host Controller
>  iSerial                 1 0000:00:1f.2
>  bNumConfigurations      1
>  Configuration Descriptor:
>    bLength                 9
>    bDescriptorType         2
>    wTotalLength           25
>    bNumInterfaces          1
>    bConfigurationValue     1
>    iConfiguration          0
>    bmAttributes         0xc0
>      Self Powered
>    MaxPower                0mA
>    Interface Descriptor:
>      bLength                 9
>      bDescriptorType         4
>      bInterfaceNumber        0
>      bAlternateSetting       0
>      bNumEndpoints           1
>      bInterfaceClass         9 Hub
>      bInterfaceSubClass      0 Unused
>      bInterfaceProtocol      0 Full speed hub
>      iInterface              0
>      Endpoint Descriptor:
>        bLength                 7
>        bDescriptorType         5
>        bEndpointAddress     0x81  EP 1 IN
>        bmAttributes            3
>          Transfer Type            Interrupt
>          Synch Type               None
>          Usage Type               Data
>        wMaxPacketSize     0x0002  1x 2 bytes
>        bInterval             255
> Hub Descriptor:
>  bLength               9
>  bDescriptorType      41
>  nNbrPorts             2
>  wHubCharacteristic 0x000a
>    No power switching (usb 1.0)
>    Per-port overcurrent protection
>  bPwrOn2PwrGood        1 * 2 milli seconds
>  bHubContrCurrent      0 milli Ampere
>  DeviceRemovable    0x08
>  PortPwrCtrlMask    0x68
> Hub Port Status:
>   Port 1: 0000.0303 lowspeed power enable connect
>   Port 2: 0000.0100 power
>
>
> Charles Lepple wrote:
>> On 7/31/06, Barry Fawthrop <barry at ttienterprises.org> wrote:
>>> /dev/usb/hiddev0 is the UPS I'm sure (but not 100%)
>>
>> It may be that it is just a simple USB-to-serial converter, and not a
>> standards-compliant PDC UPS.
>>
>> Can you post the output from running 'lsusb -vvv' as root?
>>
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
>
>
>



More information about the Nut-upsuser mailing list