Hi all,

my brand new Korad KA3005P power supply is not recognized by libsigrok yet, sigrok-cli reports:

sr: korad-kaxxxxp: Unknown model ID 'KORAD KA3005P V5.8' detected, aborting.

This is because the version 5.8 model is missing in the korad-kaxxxxp driver. I created a patch to include the new model in the driver, but I could not be bothered to somehow compile and test it on my windows PC. The patch only adds three lines of code that are mostly copy-pasted from the other KA3005P model entries, so I don't expect there to be any problems but you never know - maybe I missed something :D I added the model after the previous model V5.5, which shifts the integer assignments for other model enums below, I hope that doesn't break anything.

The patch can be found on my fork on github at https://github.com/JensKolb/libsigrok

Regards,

Jens Kolb



_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to