element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum raspberry pi zero w
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 11 replies
  • Answers 5 answers
  • Subscribers 664 subscribers
  • Views 1779 views
  • Users 0 members are here
Related

raspberry pi zero w

frodoclies
frodoclies over 5 years ago

hi im using a generic lcd with the dpi24.dtbo for the way to run it. it runs find but i wnat to push sound out of gpio18 and i can manually switch it to output sound but when i reboot i have to enable the gpio to use sound. i was wondering is there a way to edit dpi24 overlay in order to have it set gpio 18 to output sound. the screen i have uses the rgb lcd hat and does not use gpio18 ive had no difference in image. if i get greedy and try to use gpio 13 as well or on its own it makes the screen get funny scanlines that come in on a angle. please help im super new to this and ive about made my eyes bleed trying to search for information on how to make this work. its for a portable project im doing. any help would be super awsome and i would be grateful

  • Sign in to reply
  • Cancel
Parents
  • shabaz
    0 shabaz over 5 years ago

    Hi Adam,

     

    It's really hard to follow this question, it is missing capital letters at the start of sentences, and paragraphs.

    The overlay that you're using can be edited, I've no idea if it will work, I've not tried modifying it.

    The way to do it is to locate the source file. which usually has a .dts suffix. It is here:

    https://github.com/raspberrypi/linux/blob/rpi-4.14.y/arch/arm/boot/dts/overlays/dpi24-overlay.dts

     

    Use the following link to see how to edit it: https://www.raspberrypi.org/documentation/configuration/pin-configuration.md

    Build a new device tree fragment file (.dtbo suffix) with preferably a new filename too, using the information here:

    https://www.raspberrypi.org/forums/viewtopic.php?t=218235

    It is quite an advanced task, not very user-friendly or well documented.

     

    Alternatively, it may be possible to just create a systemd service since you suggest that you already have a command that you type to correct the situation, i.e. without needing to create the modified fragment file. Information is here: https://www.raspberrypi.org/documentation/linux/usage/systemd.md and this could be much easier than messing with device tree source, if you can avoid it.

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • frodoclies
    0 frodoclies over 5 years ago in reply to shabaz

    Thank you very much. And im sorry about the grammar im not really good at it so im sorry i burned your eyes with my nonsense. Ty for all the info i will try to apply this info tonight and see where it gets me. I can follow most tutorials with ease so if i get this thing working as i intend i will update here with pictures and maybe video. again thank you i would have been lost without this info.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • frodoclies
    0 frodoclies over 5 years ago in reply to shabaz

    Thank you very much. And im sorry about the grammar im not really good at it so im sorry i burned your eyes with my nonsense. Ty for all the info i will try to apply this info tonight and see where it gets me. I can follow most tutorials with ease so if i get this thing working as i intend i will update here with pictures and maybe video. again thank you i would have been lost without this info.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • frodoclies
    0 frodoclies over 5 years ago in reply to frodoclies

    Here is a link to a video that shows my basic setup https://youtu.be/WnzBkN-rkJk

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube