mjrgh / PinscapeConfigTool

Pinscape Controller Config Tool. This is a Windows program that helps you set up the Pinscape Controller. The Pinscape Controller is firmware that runs on the KL25Z microcontroller board, providing I/O functions uniquely designed for virtual pinball cabinets.
https://developer.mbed.org/users/mjr/code/Pinscape_Controller_V2/
Other
16 stars 7 forks source link

Windows error 1784 after update to Pinscape_Controller_KL25Z_20240818.bin #31

Open DoXer67 opened 1 month ago

DoXer67 commented 1 month ago

Hi, I updated to the new FW [Pinscape_Controller_KL25Z_20240818.bin] After that DOF don't work anymore. In the log are USB errors: Pinscape Controller USB error reading from device: The supplied user buffer is not valid for the requested operation (Win32 error 1784)

A downgrade solved the issue.

mjrgh commented 1 month ago

Sorry about that - looks like DOF wasn't checking the HID packet size properly, so it broke when it changed in the new firmware build. Here's a quick DOF patch that should fix it:

http://mjrnet.org/pinscape/downloads/DOFSetup-patch-20240827.msi

Give that a try and let me know if it fixes it for you.

DoXer67 commented 1 month ago

Thank you for the fast solution. What does this patch do? Can i revert it in case of no success?

mjrgh commented 1 month ago

Thank you for the fast solution. What does this patch do? Can i revert it in case of no success?

It fixes the DOF bug - if you want to see the technical details, the source is at https://github.com/mjrgh/DirectOutput/tree/pinscape-report-size-update-patch. If it causes problems, you can just reinstall the DOF version you're currently on. (You should note down which DOF you currently have and make sure you know where to get the installer for it; then you can back out the update by re-running the installer for your old version.)

DoXer67 commented 1 month ago

I created an image of my whole system with Clonezilla and want to install your provided MSI-package. Looks like it is "only" for 32Bit. Do you have also a 64Bit-Patch?

mjrgh commented 1 month ago

You're in luck - I've been working on the 64-bit installer. There's a testing release available, which includes the bug fix for Pinscape.

https://github.com/mjrgh/DirectOutput/releases/tag/v3.2-beta1b