abratchik

Results 47 comments of abratchik

Hi Hugo, of course you can do it. Moreover, it was designed exactly for that - to extend the stock HID library in order to support the control pipe for...

Hi Hugo, The SetFeature has 3 parameters. The first one is the feature ID, shoudl be equal to the feature ID in the HID Descriptor, which you are planning to...

Hi, first, your host needs to support the HID device of the type, which you are planning to implement. This is a mandatory requirement. If you plan to make your...

Sorry for late response, I cannot help much on this since I don't have RP2040.

Hi, I'm glad it worked for you, this was the intent ) These flags (Shutdown Imminent and Shutdown Requested) are part of the PresentStatus report, that delivers the information to...

I think it should work with usbhid-ups in theory as, on the lower level, this is just a USB HID Power Device interface specs implementation. May be the problem is...

Well I guess the magic happens (or doesn't happen) in [here](https://github.com/networkupstools/nut/blob/master/drivers/libusb.c) where the NUT is trying to retrieve the HID descriptor for the UPS: ``` /* Get HID descriptor */...

I do not think the altinterface will help. As far as I understand, this is an alternative set of parameters, which can be defined for an interface (Interface 0 in...

I think manipulating with CDC interfaces is not very good idea as it may brick your Arduino board so that you will need to re-flash the boot loader to make...

@shadow578 wow, this is impressive work, thank you. I think this is a very valid approach if a specific model of UPS need to be simulated for testing purposes. Agree...