Re: [Nut-upsuser] usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10

2023-10-30 Thread Kelly Byrd
Thanks Charles for that last bit! Given the upcoming release, I'll give the master branch a spin, then trace down the code path I'm hitting and see what is going wrong. On Mon, Oct 30, 2023 at 4:06 AM Charles Lepple wrote: > On Oct 29, 2023, at 10:17 PM, Kelly Byrd wrote: > > > > > VID 2341

Re: [Nut-upsuser] usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10

2023-10-29 Thread Tim Dawson
"Is it possible I need to compile NUT myself instead of using the Ubuntu package?" Certainly! For me, it's very rare that I install anything that isn't compiled from source. As long as you have compilers and any prerequisite packages in place, it's close to a trivial process. - Tim On

Re: [Nut-upsuser] usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10

2023-10-29 Thread Kelly Byrd
> 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 I don't know enough about the project to know what a "subdriver" (that's what the comments

Re: [Nut-upsuser] usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10

2023-10-29 Thread Charles Lepple via Nut-upsuser
> On Oct 29, 2023, at 9:25 PM, Kelly Byrd 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 the NUT drivers

Re: [Nut-upsuser] usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10

2023-10-29 Thread Kelly Byrd
> 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 the NUT drivers are trying to expose all of the variables and commands, rather than just the simple shutdown bits. By "work with on Windows on macOS" I

Re: [Nut-upsuser] usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10

2023-10-29 Thread Kelly Byrd
Looking at the output of lsub in my original message: `bNumInterfaces 1` Then there's only one Interface Descriptor section. I can modify the USB code the runs on the Arduino, if needed. I'm looking for help on what is going wrong and what I could modify to fix it. I have seen reports of

Re: [Nut-upsuser] usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10

2023-10-29 Thread Jim Klimov via Nut-upsuser
OTOH: I wonder whether, when it says "Claimed interface 2 successfully" it got the right number of the correct (HID) one of many interfaces you likely have there?.. :\ Jim On Mon, Oct 30, 2023, 00:04 Kelly Byrd wrote: > > > Apologies for the long post. I'm trying to include what I hope are

[Nut-upsuser] usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10

2023-10-29 Thread Kelly Byrd
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