Logitech Z506 10-pin connector pinout

Had to pop open my Logitech Z506 speaker the other day because reasons. Thought that this may come in handy to someone looking for which wire goes to which pin on the 10-pin connector aka connector pinout. On the picture below I marked every pin with the color of the corresponding wire. It may be hard to see on the preview but the black one is ground. Happy tinkering!

Logitech Z506 10-pin connector pinout