Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

writing settings can cause usb devices to malfunction #14

Open
delan opened this issue Apr 16, 2024 · 1 comment
Open

writing settings can cause usb devices to malfunction #14

delan opened this issue Apr 16, 2024 · 1 comment

Comments

@delan
Copy link
Owner

delan commented Apr 16, 2024

  • affects pcb rev A3 and firmware 1.5
  • affects Microsoft Wheel Mouse Optical 1.1A (045E:0040)
    • writing settings has a >20% chance of causing malfunction
    • red led goes dim, mouse spews reports until disconnected
  • probably due to suspending interrupts and pausing the other core when writing to flash
    • same failure if you replace Settings::write impl with just noInterrupts() + sleep_ms(5) + interrupts()
@delan
Copy link
Owner Author

delan commented May 25, 2024

workaround in firmware 2.0: settings are now saved when you close the menu, and you can hold Shift to reboot the adapter after saving (Shift+Enter).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant