Nut service and powermust 600 usb remote on pfsense 2.0.1 pc platform ?



  • Hi,

    As i understand from documentation nut service is having a bug on pfsense2.0.1 on some ups models.
    I want to use powermust 600 with usb managment on pfsense machine(pc platfom), but as i understand it select port on auto where is a problem, for example my device is on usb ugen3.2 in button menu where is auto for port i don't have this ugen3.2, no problem after research about problem i modified like here: http://viktorpetersson.com/2011/08/27/quick-and-dirty-way-of-fixing-nut-on-pfsense-2-0rc/   but it refuse to start :( after trying i made modification back like originals. Is a way to work with this ups and pfsense ? in ups config i have these:

    user=root
    [POWER-MUST]
    driver=megatec
    port=auto

    Thanks !



  • nobody can help me….


  • Netgate Administrator

    ugen3.2 is the name FreeBSD gives to usb devices it doesn't recognise. To make this work you will have to have it attached to a driver of some type.

    Does your UPS have a serial connection also? If it does this might help:
    http://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=58&t=7122&start=0
    Though the serial port names have changed.

    From here it looks as though the USB connection may be a USB-serial adapter which would be unsurprising, perhaps a 'Cypress Semiconductor USB to Serial'.

    What do you see from this command:

    usbconfig dump_all_config_desc
    

    Steve

    Edit: Forgot to add the relevant link.



  • Yes it has also serial port :D

    ugen0.2: <usb to="" serial="" cypress="" semiconductor="">at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON

    Configuration index 0

    bLength = 0x0009
        bDescriptorType = 0x0002
        wTotalLength = 0x0022
        bNumInterfaces = 0x0001
        bConfigurationValue = 0x0001
        iConfiguration = 0x0003  <retrieving string="" failed="">bmAttributes = 0x0080
        bMaxPower = 0x0032

    Interface 0
          bLength = 0x0009
          bDescriptorType = 0x0004
          bInterfaceNumber = 0x0000
          bAlternateSetting = 0x0000
          bNumEndpoints = 0x0001
          bInterfaceClass = 0x0003
          bInterfaceSubClass = 0x0000
          bInterfaceProtocol = 0x0000
          iInterface = 0x0004  <sample hid="">Additional Descriptor

    bLength = 0x09
          bDescriptorType = 0x21
          bDescriptorSubType = 0x00
          RAW dump:
          0x00 | 0x09, 0x21, 0x00, 0x01, 0x00, 0x01, 0x22, 0x1b,
          0x08 | 0x00

    Endpoint 0
            bLength = 0x0007
            bDescriptorType = 0x0005
            bEndpointAddress = 0x0081  <in>bmAttributes = 0x0003  <interrupt>wMaxPacketSize = 0x0008
            bInterval = 0x0020
            bRefresh = 0x0000
            bSynchAddress = 0x0000</interrupt></in></sample></retrieving></usb>



  • hi,
    thaks for your help !!!
    is working port was cuau0 and connection is now on serial !
    many thanks….


Log in to reply