Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrading to 2.3 from 2.0, lights not working (Rpi PWM) #760

Closed
lironalm opened this issue Mar 18, 2019 · 7 comments
Closed

upgrading to 2.3 from 2.0, lights not working (Rpi PWM) #760

lironalm opened this issue Mar 18, 2019 · 7 comments
Labels

Comments

@lironalm
Copy link

after upgrading from 2.0 to 2.3, lights stopped working.
checked the pin assignments and also tried to operate them in manual mode, but still not working.
downgraded to 2.0 and they work again.

@lironalm lironalm added the bug label Mar 18, 2019
@gtinoco1
Copy link

same issue here after update, using kessil a80, rpi pwm pins 0,1, lights don't respond anymore.

@ranjib
Copy link
Collaborator

ranjib commented Mar 20, 2019

I'll look into this soon, meanwhile, please use 2.1/2.0 till I address this
/cc @theatrus had worked on the pi pwm bits

@theatrus
Copy link
Contributor

Relevant snippet when restarting the Pi (from https://www.reef2reef.com/threads/reef-pi-an-opensource-reef-tank-controller-based-on-raspberry-pi.289256/page-529#post-5938218 )

Apr 12 17:03:20 reefpi reef-pi[314]: 2019/04/12 17:03:20 lighting-subsystem: Setting PWM value: 48 at channel: 0
Apr 12 17:03:20 reefpi reef-pi[314]: 2019/04/12 17:03:20 Setting pwm driver: rpi pin: 0 value: 48
Apr 12 17:03:20 reefpi reef-pi[314]: 2019/04/12 17:03:20 ERROR: lighting-subsystem: Failed to set pwm value. Error: write /sys/class/pwm/pwmchip0/pwm0/duty_cycle: invalid argument​

@theatrus
Copy link
Contributor

I'm going to do tests on 3.0 with this, but I suspect the 2.3 build pulled in a different version of the github.com/reef-pi/rpi driver stack (I just don't know which).

@theatrus
Copy link
Contributor

Linked reef-pi/rpi#25

I can't assign the issue to myself 🙃

@ranjib
Copy link
Collaborator

ranjib commented Jun 2, 2019

Is this still an issue? Please test with 2.4 if possible

@ranjib ranjib closed this as completed Jul 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants