Page 2 of 4

Re: Hi, Thanks, and questions about usage and features

PostPosted: Thu Jul 20, 2023 6:50 pm
by fvdw
It doesn't start automatic you will have to start de apcupsd binairy by giving the command apcupsd on the linux command line but before doing that you will need to det up the configuration file used by this program in /etc/apcups

I think you should search on the internet how to set up this configuration file

Re: Hi, Thanks, and questions about usage and features

PostPosted: Thu Jul 20, 2023 6:52 pm
by fvdw
See for example here http://www.apcupsd.org/manual/

Re: Hi, Thanks, and questions about usage and features

PostPosted: Thu Jul 20, 2023 7:08 pm
by RiveDC1
OK, it started, thanks! So far so good.

I'll look into the config file at weekend
Also, there may be some issues with my UPS too, it does not shows up as an USB device...

I'll report if there are any results

Re: Hi, Thanks, and questions about usage and features

PostPosted: Thu Jul 20, 2023 8:12 pm
by fvdw
RiveDC1 wrote:...
Also, there may be some issues with my UPS too, it does not shows up as an USB device...
....

This is probably caused by the fact that currently in our kernel there is no driver present for your ups. To see if we can compile an usb driver for your ups, to be added as kernel module, we need to know brand and type of your ups.

Re: Hi, Thanks, and questions about usage and features

PostPosted: Sat Jul 22, 2023 7:40 am
by RiveDC1
I think all USB devices are expected to be listed under the 'Attached devices//USB devices' tab of the web GUI, regardless of their support: at least both my (unlikely to be supported) headset and (tested to be unsupported) camera does. It'll be something with the UPS, So I'll need to sort out that one first.

I'll have time (more than planned...) for this this weekend.

Re: Hi, Thanks, and questions about usage and features

PostPosted: Sat Jul 22, 2023 1:41 pm
by RiveDC1
Finally, with a different UPS:
Code: Select all
T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0665 ProdID=5161 Rev=00.02
S:  Manufacturer=Cypress Semiconductor
S:  Product=USB to Serial
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid

I'll need to look into the other one later since that's way better, but this one will do as a test run, I guess.
There are apcupsd config parameters available for the thing, so...

Ps.: the smaller one is available on USB but as it seems it cannot supply the attached systems: the bigger one is not available on USB. Further testing will be postponed till next month budget :crazy

Re: Hi, Thanks, and questions about usage and features

PostPosted: Sat Jul 22, 2023 7:55 pm
by fvdw
RiveDC1 wrote:I think all USB devices are expected to be listed under the 'Attached devices//USB devices' tab of the web GUI, regardless of their support: at least both my (unlikely to be supported) headset and (tested to be unsupported) camera does. It'll be something with the UPS, So I'll need to sort out that one first.

I'll have time (more than planned...) for this this weekend.

Yes but to make them work there need to be a driver loaded.

Re: Hi, Thanks, and questions about usage and features

PostPosted: Fri Jul 28, 2023 6:59 am
by Jocko
Hi RiveDC1

Please to note without information (ie manufactorer, device name) we can not provide the required driver.

Re: Hi, Thanks, and questions about usage and features

PostPosted: Sat Jul 29, 2023 2:09 pm
by RiveDC1
Hi Jocko,

On my side the project is on hold, since as it turned out I don't have any UPS with proper deviceID which is able to supply my devices - till I get one, I can't do much.

According to APCUPSD manual ( http://www.apcupsd.org/manual/#verifyin ... and-driver ), the drivers it needs (and is not already present) are:
USB_HID
USB_HIDDEV

... and 'at least one USB Host Controller Driver'

If I take it right then no UPS specific drivers will be needed.



Honestly, this looks like awful lot of work for just for one single request. The files you provided were downloaded by me only, I think, so there are not many takers. If you feel so then please just feel free to abandon the whole thing. If not, then I'll follow up as long as I'm able to.

Thanks for the support and encouraging anyway. Just that the SW works so smooth is a great thing and it was a great help for me already.

Re: Hi, Thanks, and questions about usage and features

PostPosted: Wed Aug 09, 2023 10:10 am
by RiveDC1
Here it is:

Code: Select all
T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=051d ProdID=0002 Rev=01.06
S:  Manufacturer=American Power Conversion
S:  Product=Back-UPS XS 950U   FW:925.T2 .I USB FW:T2
S:  SerialNumber=3B1638X28885
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=24mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid


If you are willing to go on with this, then from now on, I can :)