duckyPad icon indicating copy to clipboard operation
duckyPad copied to clipboard

DuckyConfigurator hangs when saving configuration files

Open jfbethlehem opened this issue 4 years ago • 2 comments

When saving the data for the duckypad configuration on SD card, the DuckyConfigurator program hangs for quite a long time, up to half a minute. After this very long duration of saving configuration files, it returns back to normal. This happens even when the amount of 'pages' in the duckypad is very low (4-6).

Expected behaviour: Still functioning application during saving / Quicker saving of files

jfbethlehem avatar Feb 22 '21 08:02 jfbethlehem

When you press Save button, it writes data to the SD card. So if hangs for a long time it means the SD data write is very slow for some reason.

If possible feel free to try a different SD card reader, different USB port, or maybe a different SD card altogether and see it helps.

dekuNukem avatar Feb 22 '21 09:02 dekuNukem

Optional change: Maybe only save the files/pages that have been edited. This way, less files will be written to disk & saving will be done faster.

I tried saving to a different disk, but even then it can sometimes hang for quite a long time (10-30 secs) considering the size of the files being written (max 5k total file size with 10 full pages of configurations, mostly keypresses, some longer scripts).

jfbethlehem avatar Mar 08 '21 09:03 jfbethlehem