power control and laserstate control in driver