[Nut-upsdev] Four UPS's via usb.

Alexander Yu. Solodukhin alt at softwarium.net
Fri Feb 1 12:12:15 UTC 2008


On Friday 01 February 2008 14:03, Arjen de Korte wrote:
> > May be I need hack libusb.c to match device number instead of port (use
> > port
> > directive from config file, but specify device number instead of path to
> > device port), I found that udevinfo shows bus number and device number
> > (different for all devices).
>
> That won't work reliably. The devices are enumerated by the kernel, so
> they get different device numbers when they reconnect (which depending on
> your environement, may happen as often as once every half hour or more).
>
> > Second variant is to place lock's on devices and do not match devices
> > that locked.
>
> That won't work either, because you still won't know which device is
> which. The only difference will be the physical port they are connected to
> and at present, we have no way of getting to that.
>
> [...]
>
> > lsusb -v shows iSerial parameter set to zero for all devices.
>
> That was to be expected.
>
> Best regards, Arjen

Ok, what You can suggest to me, pci serial board and serial cables or usb to 
serial converters?

-- 
wbr, Alexander Yu. Solodukhin
ISP CrIS, Softwarium



More information about the NUT-tracker mailing list