Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 1 of 1
  1. #1
    Junior Member
    Join Date
    May 2019
    Posts
    27

    Can't get PWM hardware overlay to work in PiCorePlayer

    Hi, I'm planning to use a GPIO pin to control the brightness of my backlight for a LCD screen.

    I've managed to get it working using GPIO commands and can manually set the brightness, but I would like to get hardware overlay working if possible, so the device appears in /sys/class/pwm

    I'm currently using PWM on GPIO 13, Physical pin 33, so I've added this line to my config.txt in the custom section:

    Code:
    dtoverlay=pwm,pin=13,func=4
    However after rebooting, nothing appears in /sys/class/pwm

    What do I need to do in order to get this working? My goal is to have brightness control in JiveLite.

    EDIT: Solved this, once the kernel module is added in it works.
    Last edited by TheHypnoToad; 2019-07-30 at 06:18. Reason: resolved

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •