Re: [Nut-upsuser] distinguishing identical multiple usbhid-ups devices

2008-03-19 Thread davor emard
HI As I will have limited resources, 2 computers with 2 usb bus each and 8-10 cheap upses in the same room that distribute power to other room, wired with ethernet and power cables, I can't have each computer from the other room connected to each ups obviously but should do for some usb hubbing an

Re: [Nut-upsuser] distinguishing identical multiple usbhid-ups devices

2008-03-19 Thread Arjen de Korte
> By browsing on the net I found http://www.usb-server.com/ > it's a USB sharing over ethernet. It could be a viable solution > that on one PC I have USB hub and this software (and somehow > configure it to be hubbed-port distinguishable) and via > ethernet distribute USB ports to the master NUT se

Re: [Nut-upsuser] distinguishing identical multiple usbhid-ups devices

2008-03-19 Thread davor emard
HI By browsing on the net I found http://www.usb-server.com/ it's a USB sharing over ethernet. It could be a viable solution that on one PC I have USB hub and this software (and somehow configure it to be hubbed-port distinguishable) and via ethernet distribute USB ports to the master NUT server r

Re: [Nut-upsuser] distinguishing identical multiple usbhid-ups devices

2008-03-18 Thread Dan Mahoney, System Admin
On Tue, 18 Mar 2008, Arjen de Korte wrote: This may be an "outside the box" solution, but perhaps, get a cheap ($10) usb add-in PCI card? -Dan > Charles Lepple wrote: > >>> usbhid-ups is capable to distinguish devices from the Bus >>> they are connected to, but as all are at the same hub the

Re: [Nut-upsuser] distinguishing identical multiple usbhid-ups devices

2008-03-18 Thread Arjen de Korte
Charles Lepple wrote: >> usbhid-ups is capable to distinguish devices from the Bus >> they are connected to, but as all are at the same hub the bus >> is the same. I'd like if usbhid-ups could distinguish them from >> the hubbed port they are plugged in. > I forget how the bus numbering goes,

Re: [Nut-upsuser] distinguishing identical multiple usbhid-ups devices

2008-03-18 Thread davor emard
iSerial=0 not only cyberpower unit but also many other manufacturers have constant serial number in usb interfaces I can ask cyberpower if they can help me set this serial number but the chances are small I guess On 3/18/08, Charles Lepple <[EMAIL PROTECTED]> wrote: > On Tue, Mar 18, 2008 at 12

Re: [Nut-upsuser] distinguishing identical multiple usbhid-ups devices

2008-03-18 Thread Charles Lepple
On Tue, Mar 18, 2008 at 12:47 PM, davor emard <[EMAIL PROTECTED]> wrote: > Can we have a libusb proxy that would reliably > distinguish the device by help of kernel, rewrite > their bus number (or serial number whatever is > easier) and present modified tree to the nut? > so nut would connect

Re: [Nut-upsuser] distinguishing identical multiple usbhid-ups devices

2008-03-18 Thread Charles Lepple
On Tue, Mar 18, 2008 at 12:58 PM, Ricardo Bugalho <[EMAIL PROTECTED]> wrote: > Hello, > the usbhid driver can distinguish different devices by their serial > number. > > Just look for "iSerial" in lsusb -v and add an matching "serial" in > ups.conf. Davor already posted the output of lsusb - i

Re: [Nut-upsuser] distinguishing identical multiple usbhid-ups devices

2008-03-18 Thread Ricardo Bugalho
Hello, the usbhid driver can distinguish different devices by their serial number. Just look for "iSerial" in lsusb -v and add an matching "serial" in ups.conf. Best regards, Ricardo On Tue, 2008-03-18 at 17:47 +0100, davor emard wrote: > HI > > I'm planning to have 8 or even more UP

Re: [Nut-upsuser] distinguishing identical multiple usbhid-ups devices

2008-03-18 Thread davor emard
HI I'm planning to have 8 or even more UPS-es monitored by the same system, Those cyberpower units are very cost effective. Adding each hub or other adapter per each usb raises the overall cost so I would prefer if it could be a software only solution. Can we have a libusb proxy that would reliab

Re: [Nut-upsuser] distinguishing identical multiple usbhid-ups devices

2008-03-18 Thread Charles Lepple
On Tue, Mar 18, 2008 at 9:39 AM, davor emard <[EMAIL PROTECTED]> wrote: > usbhid-ups is capable to distinguish devices from the Bus > they are connected to, but as all are at the same hub the bus > is the same. I'd like if usbhid-ups could distinguish them from > the hubbed port they are plugge

Re: [Nut-upsuser] distinguishing identical multiple usbhid-ups devices

2008-03-18 Thread Arjen de Korte
> usbhid-ups is capable to distinguish devices from the Bus > they are connected to, but as all are at the same hub the bus > is the same. I'd like if usbhid-ups could distinguish them from > the hubbed port they are plugged in. This isn't possible/portable. Only the kernel is aware which physical

[Nut-upsuser] distinguishing identical multiple usbhid-ups devices

2008-03-18 Thread davor emard
HI I would like to connect several Cyberpower Value 800E devices over a USB hub to a single host. Problem is how to distinguish them in order to correctly identify because lsusb - -d and upsc show the same device name and serial number is 0 Bus 002 Device 012: ID 0764:0501 Cyber Power System