commit 2889315c20 added support for pwm but didn't read the channel numbers provided by user-space. They should be, otherwise it's not possible to start a sub-set of channels that are not the first "n" channels.
2889315c20