Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manager 3 Senoidal 700VA #1

Open
rstoever opened this issue Sep 3, 2014 · 3 comments
Open

Manager 3 Senoidal 700VA #1

rstoever opened this issue Sep 3, 2014 · 3 comments

Comments

@rstoever
Copy link

rstoever commented Sep 3, 2014

Hi,

I´m from Brazil and my nobreak is Manager 3 Senoidal 700VA I tried to use your code but the program is hang for a long time and doesnt return anything.

Have something to do to help me with this nobreak, my linux is centos 6.5 64b
lsusb -v
Bus 003 Device 002: ID 04b4:5500 Cypress Semiconductor Corp. HID->COM RS232 Adapter
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x04b4 Cypress Semiconductor Corp.
idProduct 0x5500 HID->COM RS232 Adapter
bcdDevice 0.00
iManufacturer 1 Cypress Semiconductor
iProduct 2 USB to Serial
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 Sample HID
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Device
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 37
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 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1

@petersenna
Copy link
Owner

Try using the command line to specify which is the serial port, and if it
doesn't work, try running it as root. Also make sure Network Manager is not
using the serial port, as some times it tries to use serial ports as 3G
modem.

On Wed, Sep 3, 2014 at 2:08 AM, rstoever notifications@github.com wrote:

Hi,

I´m from Brazil and my nobreak is Manager 3 Senoidal 700VA I tried to use
your code but the program is hang for a long time and doesnt return
anything.

Have something to do to help me with this nobreak, my linux is centos 6.5
64b
lsusb -v
Bus 003 Device 002: ID 04b4:5500 Cypress Semiconductor Corp. HID->COM
RS232 Adapter
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x04b4 Cypress Semiconductor Corp.
idProduct 0x5500 HID->COM RS232 Adapter
bcdDevice 0.00
iManufacturer 1 Cypress Semiconductor
iProduct 2 USB to Serial
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 Sample HID
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Device
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 37
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 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1


Reply to this email directly or view it on GitHub
#1.

Peter

@dmslabsbr
Copy link

Hello, @petersenna and @rstoever , do you know my homeassistant add-on for manager III ? https://github.com/dmslabsbr/smsUps . Sometimes the code can be useful for you.

@petersenna
Copy link
Owner

@dmslabsbr thanks for sharing, but I find it frustrating to have such complexity to interact with the nobreak. I was looking for a command line tool, not a web service when I created my ugly C code. smsUps feels like the software that SMS used to ship back then, and it is not my cup of tea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants