z.kevino at gmail.com
2022-Aug-11 12:03 UTC
[Nut-upsuser] Where is nut-scanner on raspberry pi?
So even with Buster I get the same results - no nut-scanner. I was under the impression that it was needed to get the serial # of an APC device. I have two of the same type of devices (APC UPS) and the vendor code and product code are the same for them, so I didn?t know how to distinguish one from the other in the config files. ----- The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence.> On Aug 10, 2022, at 21:05, z.kevino at gmail.com wrote: > > ? > pi at DMRraspPi:~ $ cat /etc/os-release > PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" > NAME="Raspbian GNU/Linux" > VERSION_ID="9" > VERSION="9 (stretch)" > VERSION_CODENAME=stretch > ID=raspbian > ID_LIKE=debian > HOME_URL="http://www.raspbian.org/" > SUPPORT_URL="http://www.raspbian.org/RaspbianForums" > BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" > > > nut is already the newest version (2.7.4-5). > nut-client is already the newest version (2.7.4-5+b1). > nut-server is already the newest version (2.7.4-5+b1). > > ----- > > The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence. > >>> On Aug 10, 2022, at 10:46, Kevin Zari <z.kevino at gmail.com> wrote: >>> >> ?Just get conman not found. Quick google search finds others with same issue. On raspberry pi 3b. >> >> ----- >> The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence.-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20220811/71335d5d/attachment.htm>
> On Aug 11, 2022, at 8:03 AM, z.kevino--- via Nut-upsuser wrote: > > So even with Buster I get the same results - no nut-scanner. I was under the impression that it was needed to get the serial # of an APC device. I have two of the same type of devices (APC UPS) and the vendor code and product code are the same for them, so I didn?t know how to distinguish one from the other in the config files. >The serial number is shown in dmesg: [ 7.337934] usb 6-2: New USB device found, idVendor=051d, idProduct=0003 [ 7.337935] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 7.337936] usb 6-2: Product: Smart-UPS C 1000 FW:UPS 10.0 / ID=1005 [ 7.337937] usb 6-2: Manufacturer: American Power Conversion [ 7.337938] usb 6-2: SerialNumber: 3S1746X05384 or you can retrieve it with lsusb: $ sudo lsusb -d 51d: -v | grep -2 iSerial iManufacturer 1 American Power Conversion iProduct 2 Smart-UPS C 1000 FW:UPS 10.0 / ID=1005 iSerial 3 3S1746X05384 bNumConfigurations 1 Configuration Descriptor: (examples from Ubuntu; formatting may vary slightly. the "lsusb -d 51d:" flag filters for APC's vendor ID.) # ups.conf [apc] driver = usbhid-ups port = auto serial = "3S1746X05384" desc = "Basement" -- Charles Lepple clepple at gmail