As a side note, in working on the joy.cpl code I had a lot of issues with effects not playing back correctly randomly. Eventually tracked it down to the fact that the Sidewinder 2 occasionally returning garbage when allocating a slot. For example ``` ... 00b4:trace:hid:hid_internal_dispatch read feature report id 2 length 5: 00b4:trace:hid:hid_internal_dispatch 00000000 02 cc 03 00 00 ... 0144:fixme:joycpl:enum_effects Failed to create effect with type {13541c27-8e33-11d0-9ad0-00a0c9a06e35},flags 0xc804, hr 0x8007001e ``` where the usages are ``` ```
Seems the kernel driver knows about this and contains a [work around](https://github.com/torvalds/linux/blob/99bade344cfa1577c6dd658e10a3d64b119bd...) (it retries up to 60 times on an unknown response). Of course wine doesn't have such a work around o hidram randomly fails when loading effects.