Hi nut-upsdev, I have just got OMRON BX35F. Only object files and usage information is included. Where should I start to help you to get it supported? Any interest in supporting it at all?
> I have just got OMRON BX35F. Only object files and usage information is > included.And you didn't checkout NUT support *before* you bought it. :-)> Where should I start to help you to get it supported?Did you already try existing drivers with it? What kind of interface does it have? Have you tried snooping the communication between the UPS and the bundled software?> Any interest in supporting it at all?Apparently *you* have. Depending on what the above results in, we may or may not be interested in supporting it. Best regards, Arjen -- Eindhoven - The Netherlands Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57
Please keep the mailinglist CC-ed.> On 8/19/07, Arjen de Korte <nut+devel at de-korte.org> wrote: >> >> > I have just got OMRON BX35F. Only object files and usage information >> is >> > included. >> >> And you didn't checkout NUT support *before* you bought it. :-) > > No, i did have the compat list with me in the shop while buying. > Shop had only 2 of them (the same maker:) Going to the not-village > was not an option due to time constraints. Now I have it running > and that serves at least for preventing lightning surges. > > And, hey, maybe I can contribute to nut with my hw. > >> Did you already try existing drivers with it? > > Tried with the following: > > [test] > driver = newhidups > port = auto > desc = "testing" > > if [ -x /usr/local/bin/upsdrvctl ]; then > echo -n ' nut' > /usr/local/bin/upsdrvctl start > /dev/null 2>&1Well, great. You directed all output we might get from attempting to start the driver, directly to /dev/null. How are we supposed to see what is going on, if you blindfold us? :-)> /usr/local/sbin/upsd > /dev/null 2>&1Same here...> /usr/local/sbin/upsmon > /dev/null 2>&1...and here. In general, sending output to /dev/null is not a good idea if you're trying to get something to work.> fi > > syslogd got: > upsd[3802]: Can't connect to UPS [test] (test): No such file or directory.In all likelyhood, the driver failed to start. It probably gave a hint where to look, but this ended up in /dev/null.> Now, I know this might look lame - guy got err and started shouting. > It is not like that. I have intention to get this device into the > supported hw list, so I would need your help at some stage anyway.In that case, please run the driver again, with debugging enabled: <enterpathhere>/newhidups -a test -DDDDD auto It probably will fail to start, but at least we know why.>> What kind of interface does it have? > > USB.In that case, we want the output of 'lsusb -v' or something similar too.>> Have you tried snooping the communication between the UPS and the >> bundled software? > > No, not yet. First I have decided to ask you if it isn't one of those > really > ugly machines (as you know more about it than me) and if it is worth > doing it.I don't know. So far all the information you provided is the make and model.>> Apparently *you* have. > > Well, I do. I do appreciate your time and do understand the situation. > But, well, maybe I can become useful. > >> Depending on what the above results in, we may or >> may not be interested in supporting it. > > I have tried it with OpenBSD -current. Let me know what OS > environment and what info you prefer and I will see what I > can do. I am not a complete newbie despite it might seem so : )Upgrading to a more recent version (preferably the development version) might be a good idea. Otherwise, showing the version information of your OS and NUT would be helpful too. Best regards, Arjen
On 8/19/07, vladas <vladas.urbonas at gmail.com> wrote:> Hi nut-upsdev, > > I have just got OMRON BX35F. Only object > files and usage information is included. > > Where should I start to help you to get it > supported? Any interest in supporting it at all?Have you tried megatec_usb? Some USB UPSes using the megatec protocol use controllers made by OMRON. -- Carlos Rodrigues
On 8/28/07, Carlos Rodrigues wrote:> On 8/27/07, vladas wrote: > > > Have you tried megatec_usb? Some USB UPSes using the megatec protocol > > > use controllers made by OMRON. > > > > # /sbin/newhidups -a test -DDDDD megatec_usb > > > > Error: UPS [test] is for driver megatec_usb, but I'm newhidups! > I was asking if you had tried to use megatec_usb _instead_ of newhidups.Sorry for that. env info: Linux localhost.localdomain 2.6.21-1.3194.fc7 #1 SMP Wed May 23 22:35:01 EDT 2007 i686 i686 i386 GNU/Linux libusb-0.1.12-7.fc7 libusb-devel-0.1.12-7.fc7 installed with: # ./configure --with-user=nut --with-group=nut --with-usb # make # make install Network UPS Tools 2.2.0 - Megatec protocol driver 1.5.4 [megatec_usb] Carlos Rodrigues (c) 2003-2007 # cat /usr/local/ups/etc/ups.conf [test] driver = megatec_usb port = auto desc = "testing" # pwd /root/NUT/nut-2.2.0/drivers # ./megatec_usb -a test -DDDDD debug level is '5' Checking device (0000/0000) (001/001) - VendorID: 0000 - ProductID: 0000 - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 001 Trying to match device Device does not match - skipping Checking device (0000/0000) (002/001) - VendorID: 0000 - ProductID: 0000 - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 002 Trying to match device Device does not match - skipping Checking device (0590/0058) (004/003) - VendorID: 0590 - ProductID: 0058 - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 004 Trying to match device Device does not match - skipping Checking device (056E/000F) (004/002) - VendorID: 056e - ProductID: 000f - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 004 Trying to match device Device does not match - skipping Checking device (0000/0000) (004/001) - VendorID: 0000 - ProductID: 0000 - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 004 Trying to match device Device does not match - skipping Checking device (0000/0000) (003/001) - VendorID: 0000 - ProductID: 0000 - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 003 Trying to match device Device does not match - skipping Checking device (0000/0000) (005/001) - VendorID: 0000 - ProductID: 0000 - Manufacturer: unknown - Product: unknown - Serial Number: unknown - Bus: 005 Trying to match device Device does not match - skipping No appropriate HID device found No supported devices found. Please check your device availability with 'lsusb' and make sure you have an up-to-date version of NUT. If this does not help, try running the driver with at least 'vendorid' and 'subdriver' options specified. Please refer to the man page for details about these options (man 8 megatec_usb). Please report your results to the NUT user's mailing list <nut-upsuser at lists.alioth.debian.org>. in case needed (again): # lsusb -v 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 (or root) hub bMaxPacketSize0 64 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.06 iManufacturer 3 Linux 2.6.21-1.3194.fc7 uhci_hcd iProduct 2 UHCI Host Controller iSerial 1 0000:00:1d.0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) 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 0xc0 PortPwrCtrlMask 0xf6 Hub Port Status: Port 1: 0000.0100 power Port 2: 0000.0100 power Bus 002 Device 001: ID 0000:0000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.06 iManufacturer 3 Linux 2.6.21-1.3194.fc7 uhci_hcd iProduct 2 UHCI Host Controller iSerial 1 0000:00:1d.1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) 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 0xc0 PortPwrCtrlMask 0xf6 Hub Port Status: Port 1: 0000.0100 power Port 2: 0000.0100 power Bus 004 Device 003: ID 0590:0058 Omron Corp. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0590 Omron Corp. idProduct 0x0058 bcdDevice 0.07 iManufacturer 3 OMRON iProduct 1 BX35F iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 34 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 Remote Wakeup MaxPower 100mA 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.11 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 27 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 20 Bus 004 Device 002: ID 056e:000f Elecom Co., Ltd Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x056e Elecom Co., Ltd idProduct 0x000f bcdDevice 4.41 iManufacturer 1 ELECOM iProduct 2 ELECOM USB Mouse with Wheel iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 34 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 Remote Wakeup MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Devices bInterfaceSubClass 1 Boot Interface Subclass bInterfaceProtocol 2 Mouse iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.00 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 54 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 0x0004 1x 4 bytes bInterval 10 Bus 004 Device 001: ID 0000:0000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.06 iManufacturer 3 Linux 2.6.21-1.3194.fc7 uhci_hcd iProduct 2 UHCI Host Controller iSerial 1 0000:00:1d.3 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) 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 0xc0 PortPwrCtrlMask 0xf6 Hub Port Status: Port 1: 0000.0303 lowspeed power enable connect Port 2: 0000.0303 lowspeed power enable connect Bus 003 Device 001: ID 0000:0000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.06 iManufacturer 3 Linux 2.6.21-1.3194.fc7 uhci_hcd iProduct 2 UHCI Host Controller iSerial 1 0000:00:1d.2 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) 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 0xc0 PortPwrCtrlMask 0xf6 Hub Port Status: Port 1: 0000.0100 power Port 2: 0000.0100 power Bus 005 Device 001: ID 0000:0000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 1 Single TT bMaxPacketSize0 64 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.06 iManufacturer 3 Linux 2.6.21-1.3194.fc7 ehci_hcd iProduct 2 EHCI Host Controller iSerial 1 0000:00:1d.7 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) 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 0x0004 1x 4 bytes bInterval 12 Hub Descriptor: bLength 11 bDescriptorType 41 nNbrPorts 8 wHubCharacteristic 0x000a No power switching (usb 1.0) Per-port overcurrent protection TT think time 8 FS bits bPwrOn2PwrGood 10 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0xc0 0xf6 PortPwrCtrlMask 0xf9 0xb7 Hub Port Status: Port 1: 0000.0100 power Port 2: 0000.0100 power Port 3: 0000.0100 power Port 4: 0000.0100 power Port 5: 0000.0100 power Port 6: 0000.0100 power Port 7: 0000.0100 power Port 8: 0000.0100 power EOF.> Carlos RodriguesThank you for your time.