On 12.02.2019 16:16, Grzesiek Sójka wrote:
> I corrected the subject. It was Sid but it should be stretch.
> Sorry, to many computers.
>
> On 2/12/19 10:54 AM, Grzesiek Sójka wrote:
>> On 2/11/19 1:56 PM, Alexander V. Makartsev wrote:
>>> On 11.02.2019 16:20, Grzesiek Sójka wrote:
>>>> Hi there,
>>>>
>>>> Ups is connected via usb:
>>>>
>>>> Bus 003 Device 002: ID 051d:0002 American Power Conversion
>>>> Uninterruptible Power Supply
>>>>
>>>> Recently I noticed that nut stopped to recognize it (probably after
>>>> some update):
>>>>
>>>> # /lib/nut/usbhid-ups -a APC
>>>> Network UPS Tools - Generic HID driver 0.41 (2.7.4)
>>>> USB communication driver 0.33
>>>> No matching HID UPS found
>>>> # cat /etc/nut/ups.conf
>>>> [APC]
>>>>     driver = usbhid-ups
>>>>     port = auto
>>>>
>>>> I did try to fix the problem by adding vendor or product options or
>>>> changing the driver but no luck.
>>>>
>>>> Any suggestions? Is the driver correct?
>>>>
>>> I don't know about nut, but I had similar problems with APC SU1500
>>> models in the past.
>>> They had some kind of firmware bug, or hardware problem with USB
>>> interface and sporadically loose connectivity to host. Also there
>>> was no 
>> [...]
>>
>> I have PLD-linux in chroot ad I did run the following:
>>
>> # /lib/nut/usbhid-ups -u root -a APC
>> Network UPS Tools - Generic HID driver 0.41 (2.7.4)
>> USB communication driver 0.33
>> Using subdriver: APC HID 0.96
>>
>> As you can see, result is positive. No reboot, the same kernel. So,
>> this is 100% software problem related to Debian. A bug maybe??
>>
>> Any suggestions? Workaround?? Different driver??
>>
>
Smart-UPS models have two kinds of signal communications - Basic and Smart
Smart signaling offers more functionality and in general recommended to
use by APC.
I'd try to use "apcsmart" driver in nut config. [1]
For other things to try I'd check recent apt installation logs for
installed packages relevant to this case.
Also checking syslog for any clues would be a good place to start and
see how UPS is recognized by the system when connected and what
permissions assigned to it by udev.

[1] https://networkupstools.org/docs/man/apcsmart.html

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀ 

Reply via email to