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

bug: example led-raspberrypi unable to open gpio on Raspberry Pi 4 #114

Open
EnableAsync opened this issue Apr 21, 2022 · 1 comment
Open

Comments

@EnableAsync
Copy link

EnableAsync commented Apr 21, 2022

Hi, I found a bug in led-raspberrypi. When I run it I get the following:

I0421 13:09:45.685260       1 light_mapper.go:168] Changing the state of the device to online
I0421 13:09:45.685930       1 light_mapper.go:242] Watching on the device twin values for device: led-light-instance-01
I0421 13:09:46.688850       1 light_mapper.go:248] Expected Value : ON
I0421 13:09:46.688901       1 light_mapper.go:250] Actual Value: <nil>
I0421 13:09:46.688922       1 light_mapper.go:254] Equating the actual  value to expected value
I0421 13:09:46.688936       1 light_mapper.go:257] Turning ON the light
E0421 13:09:46.689119       1 light_driver.go:14] operation not permitted

The bug comes from go-rpio[1][2]. So should this bug be fixed? (I would be happy to submit the relevant pull requests)

[1]stianeikeland/go-rpio#70
[2]stianeikeland/go-rpio#72

@EnableAsync EnableAsync changed the title bug: example led-raspberrypi unable to open gpio on Raspberry Board 4 bug: example led-raspberrypi unable to open gpio on Raspberry Pi 4 Apr 21, 2022
@RyanZhaoXB
Copy link

hello. please feel free to submit a pr to fix this bug. thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants