Re: general question about usb stack and ups

2013-09-20 Thread Gregory Edigarov
On 09/20/2013 03:19 PM, Gregory Edigarov wrote: On 09/19/2013 12:20 PM, Gregory Edigarov wrote: Hello, everybody. A few days ago I've bought a new ups, as a replacement for my old one, which got it's last way to junkyard. The old one had RS232 порт, and the new one is an USB ups. Trying diffe

Re: general question about usb stack and ups

2013-09-20 Thread Gregory Edigarov
On 09/19/2013 12:20 PM, Gregory Edigarov wrote: Hello, everybody. A few days ago I've bought a new ups, as a replacement for my old one, which got it's last way to junkyard. The old one had RS232 порт, and the new one is an USB ups. Trying different ways to connect it to OpenBSD, but everythin

Re: general question about usb stack and ups

2013-09-19 Thread Gregory Edigarov
On 09/19/2013 04:18 PM, Stuart Henderson wrote: On 2013-09-19, Gregory Edigarov wrote: I've connected it to Windows via USB, and installed software which came with it, snooped the protocol, and I am dead sure it is an old and frayed Megatec/Q1, which should work with blazer_usb driver from nut.

Re: general question about usb stack and ups

2013-09-19 Thread Stuart Henderson
On 2013-09-19, Gregory Edigarov wrote: > I've connected it to Windows via USB, and installed software which > came with it, snooped the protocol, and I am dead sure it is an old and > frayed Megatec/Q1, which should work with blazer_usb driver from nut. > But it isn't. Seems I've tried nearly ever

Re: general question about usb stack and ups

2013-09-19 Thread Stuart Henderson
On 2013-09-19, Martin Pieuchot wrote: > nut depends on the libusb to talk to the ups, and to be fully > functional with the libusb your device must be attached to > ugen(4). That's why usb_quirks.c contains various UPS. Actually, NUT is perfectly happy with many UPS attached to uhid and I think

Re: general question about usb stack and ups

2013-09-19 Thread Liviu Daia
On 19 September 2013, Gregory Edigarov wrote: > On 09/19/2013 12:20 PM, Gregory Edigarov wrote: > >Hello, everybody. > > > >A few days ago I've bought a new ups, as a replacement for my old > >one, which got it's last way to junkyard. The old one had RS232 > >, and the new one is an USB u

Re: general question about usb stack and ups

2013-09-19 Thread Gregory Edigarov
On 09/19/2013 12:20 PM, Gregory Edigarov wrote: Hello, everybody. A few days ago I've bought a new ups, as a replacement for my old one, which got it's last way to junkyard. The old one had RS232 порт, and the new one is an USB ups. Trying different ways to connect it to OpenBSD, but everythin

Re: general question about usb stack and ups

2013-09-19 Thread Martin Pieuchot
On 19/09/13(Thu) 12:20, Gregory Edigarov wrote: > Hello, everybody. > > A few days ago I've bought a new ups, as a replacement for my old one, which > got it's last way to junkyard. > The old one had RS232 порт, and the new one is an USB ups. > Trying different ways to connect it to OpenBSD, but

Re: general question about usb stack and ups

2013-09-19 Thread Antoine Jacoutot
On Thu, Sep 19, 2013 at 12:20:14PM +0300, Gregory Edigarov wrote: > Hello, everybody. > > A few days ago I've bought a new ups, as a replacement for my old one, which > got it's last way to junkyard. > The old one had RS232 порт, and the new one is an USB ups. > Trying different ways to connect

general question about usb stack and ups

2013-09-19 Thread Gregory Edigarov
Hello, everybody. A few days ago I've bought a new ups, as a replacement for my old one, which got it's last way to junkyard. The old one had RS232 порт, and the new one is an USB ups. Trying different ways to connect it to OpenBSD, but everything I've tried fails. The UPS reports itself as: u