Skip to content

Adding PWM documentation#1168

Merged
Ellerbach merged 2 commits intodotnet:masterfrom
Ellerbach:pwmdoc
Sep 15, 2020
Merged

Adding PWM documentation#1168
Ellerbach merged 2 commits intodotnet:masterfrom
Ellerbach:pwmdoc

Conversation

@Ellerbach
Copy link
Member

Adding specific step by step documentation for hardware PWM activation on Raspberry Pi

@Ellerbach Ellerbach mentioned this pull request Aug 26, 2020
In order to have the hardware PWM activated on the Raspberry Pi, you'll have to edit the /boot/config.txt file and add an overlay.

Main https://github.com/raspberrypi/linux/blob/04c8e47067d4873c584395e5cb260b4f170a99ea/arch/arm/boot/dts/overlays/README#L925
Main Raspberry Pi kernel documentation gives 2 possibilities. Either a [single channel](), either a [dual channel](https://github.com/raspberrypi/linux/blob/04c8e47067d4873c584395e5cb260b4f170a99ea/arch/arm/boot/dts/overlays/README#L944).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Main Raspberry Pi kernel documentation gives 2 possibilities. Either a [single channel](), either a [dual channel](https://github.com/raspberrypi/linux/blob/04c8e47067d4873c584395e5cb260b4f170a99ea/arch/arm/boot/dts/overlays/README#L944).
Main Raspberry Pi kernel documentation gives 2 possibilities. Either a single channel, or a [dual channel](https://github.com/raspberrypi/linux/blob/04c8e47067d4873c584395e5cb260b4f170a99ea/arch/arm/boot/dts/overlays/README#L944).


### Adding your user to the right permission group

You will have to create a [specific group in udev](https://raspberrypi.stackexchange.com/questions/66890/accessing-pwm-module-without-root-permissions).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should no longer be necessary. After the latest kernel updates, the lines below are by default part of 99-com.rules. I had asked for this some time ago, and meanwhile it was actually done! See RPi-Distro/raspberrypi-sys-mods@eef0792

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not because it's in the latest version that it should not be present in this documentation. You may not always use last version. This is something to check in all the cases.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, but maybe explicitly mention that updating the Pi should fix this as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair! Will adjust. Thanks as always for the great insights.

@Ellerbach Ellerbach merged commit 9e8aff3 into dotnet:master Sep 15, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants