gryphius / pycyborg

My first attempt at reverse engineering a USB protocol - cyborg gaming lights
7 stars 5 forks source link

Hardware driven transitions #6

Closed Overboard closed 7 years ago

Overboard commented 7 years ago

After some experimentation, I discovered that the Cyborg hardware includes built in support for transition timing. It's accessed via the A2 command where a number of milliseconds to transition can be provided. I've added a method to the class to use that functionality. The existing software based transitions were left unchanged.

Incidentally, if you have any other data either as notes or pcaps from your reverse engineering efforts I'd be willing to take a look. My ambx drivers quit working a few months ago, so I've no means to capture. The hardware still works, which I only know now due to your efforts here. Thanks!

The pull request also includes some minor fixes, logging, and doc updates.

gryphius commented 7 years ago

After some experimentation, I discovered that the Cyborg hardware includes built in support for transition timing. It's accessed via the A2 command where a number of milliseconds to transition can be provided. I've added a method to the class to use that functionality. The existing software based transitions were left unchanged.

cool, I didn't know these devices could do harwarde transition

Incidentally, if you have any other data either as notes or pcaps from your reverse engineering efforts I'd be willing to take a look. My ambx drivers quit working a few months ago, so I've no means to capture. The hardware still works, which I only know now due to your efforts here. Thanks!

Unfortunately I don't have anything other than what's in this repo. I remember it was already hard to get the windows drivers working at the time. IIRC I ended up using virtualbox/usbmon with a Windows XP guest to grab the pcaps.

The pull request also includes some minor fixes, logging, and doc updates.

nice, thanks !

Overboard commented 7 years ago

Yes, I've fought with those drivers so many times now that I've decided to give up. That's what brought me here. I figured I'd write something just to get them lit up. Thanks for accommodating my changes.