GPIO Kernel Module
#3
That is very good to know, thank you! Smile

Well, yes I'd like to reimplement leds-gpio, I think. I guess a very simple LED driver would be a good learning experience for a beginner.

So, I have a question... When I write to "brightness" in /sys/devices/platform/leds/leds/pinephone:blue:user/ (Ubuntu Touch), then the brightness can be modified. Which, I assume, is a value that is used by the leds-gpio module and written in the corresponding memory mapped register. So, why is there no leds-gpio module present when I execute lsmod?
  Reply


Messages In This Thread
GPIO Kernel Module - by Foxchild - 03-09-2020, 03:10 PM
RE: GPIO Kernel Module - by Foxchild - 03-09-2020, 05:16 PM
RE: GPIO Kernel Module - by Foxchild - 03-14-2020, 10:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PSA: WiFi driver is broken - Unload kernel module to save lots of power Trbl 3 4,086 06-23-2021, 02:28 AM
Last Post: Merc
Lightbulb Python3 - GPIO - controlling LED's etc bonce 1 2,209 06-06-2021, 09:43 AM
Last Post: bonce
  Ubports Wifi Module not Returning Networks acohl 4 4,542 04-21-2021, 03:27 AM
Last Post: NinjaDino29
  Mainline kernel repo hns 5 7,422 02-15-2020, 08:47 AM
Last Post: hns

Forum Jump:


Users browsing this thread: 1 Guest(s)