search for: kbyrd

Displaying 20 results from an estimated 22 matches for "kbyrd".

Did you mean: byrd
2023 Oct 30
2
usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10
...39;s at least some people that have thought about Arduino support since 2021. Is it possible I need to compile NUT myself instead of using the Ubuntu package? On Sun, Oct 29, 2023 at 6:46?PM Charles Lepple <clepple at gmail.com> wrote: > > On Oct 29, 2023, at 9:25 PM, Kelly Byrd <kbyrd at memcpy.com> wrote: > > > > I have seen reports of folks claiming this just worked for them out of > the box, > > Here you're referring to just making things work on Windows or macOS, > right? I don't think it will be quite as simple with NUT, mostly because &gt...
2023 Nov 15
2
What is the arduino sub-driver intended to be used for?
...I don't know how to check the state of a previously parsed value, especially one that doesn't have a place to be stored in the normal nut names variable hierarchy. Or maybe this is too much trouble and I'll just assume CapacityMode = 2. On Mon, Nov 13, 2023 at 7:41?AM Kelly Byrd <kbyrd at memcpy.com> wrote: > oh! Ok, I'll go look at all the HID objects reported by the sample > code @abratchik has on top-of-tree of his repo and see what makes sense to > add to NUT. PR coming this week. > > > On Sun, Nov 12, 2023 at 2:38?PM Jim Klimov <jimklimov+nut at...
2023 Oct 30
1
usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10
On Oct 29, 2023, at 10:17 PM, Kelly Byrd <kbyrd at memcpy.com> wrote: > > > VID 2341 doesn't show up in the NUT Git source tree. > I was curious about this so just searched for Arduino and then 2341. I found a few hits, but the interesting one was in nut/drivers > /arduino-hid.c > Sorry, I made a mistake while search...
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
...ything relies on them being initialized to 0 by default, then only set in subdrivers or situations that need something different. If I have this right, I'll just follow that example, test, and submit a PR. If not, let me know what I'm missing. On Sun, Nov 5, 2023 at 3:26?PM Kelly Byrd <kbyrd at memcpy.com> wrote: > Thanks for the quick reply! Ya, I'm new to all this so I didn't know this > either, I was vaguely aware of USB composite devices from other projects, > but never how it was all enumerated. > > I dug a bit more on this and I'm convinced the rela...
2023 Nov 15
1
What is the arduino sub-driver intended to be used for?
...y and its friends? Although the more I look into this, the more I think I won't bother and submit the PR with comments that CapacityMode is assumed to be 2 and maybe a log message if it isn't? On Wed, Nov 15, 2023 at 7:50?AM Greg Troxel <gdt at lexort.com> wrote: > Kelly Byrd <kbyrd at memcpy.com> writes: > > > Making progress on this PR. I have question about storing and checking > > state in a subdriver > > HID Power Devices can a "UPS.PowerSummary.CapacityMode" value. According > to > > the spec, the values are: > > 0: maH &g...
2023 Nov 13
1
What is the arduino sub-driver intended to be used for?
...t think it was supposed to end and be finished work at that point, > but distractions happen... > > It might be worth asking @abratchik if he has something tinkered over this > time and ready to upstream, as well. > > Jim Klimov > > On Sun, Nov 12, 2023, 22:46 Kelly Byrd <kbyrd at memcpy.com> wrote: > >> I posted earlier on this list about getting an Arduino Pro Micro using >> https://github.com/abratchik/HIDPowerDevice in a simple sketch to >> monitor a DIY UPS I have built. With the changes from that thread (I had a >> PR merged), I was abl...
2024 Sep 16
2
Weekend Puzzle: computer posing as an UPS
Kelly Byrd <kbyrd at memcpy.com> writes: > With USB-C ports and cables, there are a ton of profiles, I don't know what > the new Pi's support, but likely something like 3A @ 5V, 9V, or 12V over > USB-C Up to the RPI4, I was pretty sure there wasn't PD, just 5V and it drew what it drew, and...
2023 Nov 15
1
What is the arduino sub-driver intended to be used for?
Kelly Byrd <kbyrd at memcpy.com> writes: > Making progress on this PR. I have question about storing and checking > state in a subdriver > HID Power Devices can a "UPS.PowerSummary.CapacityMode" value. According to > the spec, the values are: > 0: maH > 1: mwH > 2: percent (%) >...
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
...rivers/libusb0.c` if applicable/possible there) > and `docs/man/nut_usb_addvars.txt` -- so this change applies consistently > to all USB-aware drivers, and if it all works - that would be a welcome > improvement :D > > Jim > > > On Sun, Nov 5, 2023 at 11:29?PM Kelly Byrd <kbyrd at memcpy.com> wrote: > >> Hi all, >> I posted originally here last week: >> >> https://alioth-lists.debian.net/pipermail/nut-upsuser/2023-October/013461.html >> >> Since then, I've been building and testing from source following the >> instructio...
2024 Sep 27
1
Weekend Puzzle: computer posing as an UPS
...ed for 60W -- and so far it survived a few loops of NUT fightwarn builds. Complains of undervoltage fairly frequently (every 30-60s), but now did not crash yet. Jim On Mon, Sep 16, 2024, 13:57 Greg Troxel via Nut-upsuser < nut-upsuser at alioth-lists.debian.net> wrote: > Kelly Byrd <kbyrd at memcpy.com> writes: > > > With USB-C ports and cables, there are a ton of profiles, I don't know > what > > the new Pi's support, but likely something like 3A @ 5V, 9V, or 12V over > > USB-C > > Up to the RPI4, I was pretty sure there wasn't PD, just...
2023 Nov 12
1
What is the arduino sub-driver intended to be used for?
...n-source UPS development. I don't think it was supposed to end and be finished work at that point, but distractions happen... It might be worth asking @abratchik if he has something tinkered over this time and ready to upstream, as well. Jim Klimov On Sun, Nov 12, 2023, 22:46 Kelly Byrd <kbyrd at memcpy.com> wrote: > I posted earlier on this list about getting an Arduino Pro Micro using > https://github.com/abratchik/HIDPowerDevice in a simple sketch to > monitor a DIY UPS I have built. With the changes from that thread (I had a > PR merged), I was able to get usbhid-ups...
2024 Sep 28
2
Weekend Puzzle: computer posing as an UPS
...ops of NUT fightwarn > builds. Complains of undervoltage fairly frequently (every 30-60s), but now > did not crash yet. > > Jim > > > On Mon, Sep 16, 2024, 13:57 Greg Troxel via Nut-upsuser < > nut-upsuser at alioth-lists.debian.net> wrote: > >> Kelly Byrd <kbyrd at memcpy.com> writes: >> >> > With USB-C ports and cables, there are a ton of profiles, I don't know >> what >> > the new Pi's support, but likely something like 3A @ 5V, 9V, or 12V over >> > USB-C >> >> Up to the RPI4, I was pretty sur...
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
...var()` in `drivers/libusb1.c` (and `drivers/libusb0.c` if applicable/possible there) and `docs/man/nut_usb_addvars.txt` -- so this change applies consistently to all USB-aware drivers, and if it all works - that would be a welcome improvement :D Jim On Sun, Nov 5, 2023 at 11:29?PM Kelly Byrd <kbyrd at memcpy.com> wrote: > Hi all, > I posted originally here last week: > > https://alioth-lists.debian.net/pipermail/nut-upsuser/2023-October/013461.html > > Since then, I've been building and testing from source following the > instructions a helpful reply in the above...
2024 Sep 28
1
Weekend Puzzle: computer posing as an UPS
...mplains of undervoltage fairly frequently (every 30-60s), but now >> did not crash yet. >> >> Jim >> >> >> On Mon, Sep 16, 2024, 13:57 Greg Troxel via Nut-upsuser < >> nut-upsuser at alioth-lists.debian.net> wrote: >> >>> Kelly Byrd <kbyrd at memcpy.com> writes: >>> >>> > With USB-C ports and cables, there are a ton of profiles, I don't know >>> what >>> > the new Pi's support, but likely something like 3A @ 5V, 9V, or 12V >>> over >>> > USB-C >>> >...
2024 Sep 28
1
Weekend Puzzle: computer posing as an UPS
...ently (every 30-60s), but now >>> did not crash yet. >>> >>> Jim >>> >>> >>> On Mon, Sep 16, 2024, 13:57 Greg Troxel via Nut-upsuser < >>> nut-upsuser at alioth-lists.debian.net> wrote: >>> >>>> Kelly Byrd <kbyrd at memcpy.com> writes: >>>> >>>> > With USB-C ports and cables, there are a ton of profiles, I don't know >>>> what >>>> > the new Pi's support, but likely something like 3A @ 5V, 9V, or 12V >>>> over >>>> >...
2023 Nov 12
1
What is the arduino sub-driver intended to be used for?
I posted earlier on this list about getting an Arduino Pro Micro using https://github.com/abratchik/HIDPowerDevice in a simple sketch to monitor a DIY UPS I have built. With the changes from that thread (I had a PR merged), I was able to get usbhid-ups to recognize my device and could setup NUT the rest of the way. My intended configuration is to run NUT on a Raspberry Pi, have that device be
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
Hi all, I posted originally here last week: https://alioth-lists.debian.net/pipermail/nut-upsuser/2023-October/013461.html Since then, I've been building and testing from source following the instructions a helpful reply in the above thread pointed out. The original problem is I've got one of these arduino HID power devices, as a project for a DIY UPS at home. This arduino is a composite
2024 Oct 18
1
NUT 2.8.0-7 Can't claim USB device [2341:8036]@2/0: Invalid parameter using usbhid-ups
Hi, you need a newer version of NUT. I was doing a similar project with that library and NUT needed some PRs to get it work. IIRC, v2.8.2 has everything needed. On Fri, Oct 18, 2024 at 4:58?AM linkinpiocz via Nut-upsuser < nut-upsuser at alioth-lists.debian.net> wrote: > Hello All, > > I have been trying to get NUT package working on proxmox host with > Arduino HIDPowerDevice
2024 May 17
1
Supporting a DIY UPS with minimal effort butmaximum gain
...specimens seen roaming in the wild keep eluding any pre-created matchers that are set in stone for the particular build of (packaged) NUT. This feature allows for at least some more tweaks and experiments in the field. Hope this helps, Jim Kl.imov On Fri, May 17, 2024 at 1:05?PM Kelly Byrd <kbyrd at memcpy.com> wrote: > Ha! I got several on and off list requests for details, so I'll give a > bunch of details here and then maybe I can move this to a wiki page others > can help edit. > > WARNING! WARNING! WARNING! > Be careful! My implementation required opening up h...
2023 Oct 29
1
usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10
Apologies for the long post. I'm trying to include what I hope are the relevant bits (output of lsusb -v and usbhid-ups) Long term goal: I've got a DIY UPS that I would like to get working with my QNAP NAS (which uses Linux and NUT underneath the hood) Immediate short-term problem: I can't get past running usbhid-ups on Ubuntu 23.10 with an Arduino Leonardo. I have an Arduino Micro