modular driver now works. but wonder why it fails for PWM