{"id":35096,"date":"2022-06-25T04:51:52","date_gmt":"2022-06-25T04:51:52","guid":{"rendered":"http:\/\/pcbjunkie.net\/?page_id=35096"},"modified":"2023-02-02T13:15:03","modified_gmt":"2023-02-02T13:15:03","slug":"pj-disable-pcm-gpio-audio-and-use-the-headphone-jack-instead","status":"publish","type":"page","link":"https:\/\/pcbjunkie.net\/index.php\/pj-disable-pcm-gpio-audio-and-use-the-headphone-jack-instead\/","title":{"rendered":"PJ \u2013 Disable PCM GPIO audio and use the headphone jack instead"},"content":{"rendered":"\n<p>This short guide will allow you to PJ in situations where you\u2019d want to use the headphone jack with an external stereo amplifier instead of the built in JAMMA mono output<\/p>\n\n\n\n<p>Write your image to the SD card as normal. When finished, take the SD card out of your PC and insert it back in. You should see a boot directory under the drive representing the SD card. Go into the directory and find a file called config.txt. Make a copy of it so you can replace it if&nbsp;something goes wrong. Next, you will need to edit this file so you will need to open it with Wordpad.<\/p>\n\n\n\n<p>Comment out (disable) the following settings by putting a \u2018#\u2019 in front of the following lines:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dtoverlay=pwm,pin=18,func=2<\/pre>\n\n\n\n<p>On a Pi4, you may have to disable to following lines:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">audio_pwm_mode=2\r\ndtoverlay=audremap,pins_18_19<\/pre>\n\n\n\n<p>Save the file, eject and take your card out of your PC and insert it back into the Raspberry Pi. After restart the audio will be configured to go out the headphone jack which is the default setting.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This short guide will allow you to PJ in situations where you\u2019d want to use the headphone jack with an external stereo amplifier instead of the built in JAMMA mono output Write your image to the SD card as normal. When finished, take the SD card out of your PC and insert it back in. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/pcbjunkie.net\/index.php\/pj-disable-pcm-gpio-audio-and-use-the-headphone-jack-instead\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;PJ \u2013 Disable PCM GPIO audio and use the headphone jack instead&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-35096","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/pages\/35096","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/comments?post=35096"}],"version-history":[{"count":3,"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/pages\/35096\/revisions"}],"predecessor-version":[{"id":35716,"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/pages\/35096\/revisions\/35716"}],"wp:attachment":[{"href":"https:\/\/pcbjunkie.net\/index.php\/wp-json\/wp\/v2\/media?parent=35096"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}