Thursday, April 6, 2017

QuickStart: Use 35mm Audio Jack Instead Of HDMI Audio On Raspbian

In some cases, using the HDMI Audio is ideal especially if you are connecting it to a display but in most cases you will not be using the Raspberry PI this way and will likely want to switch to using the Audio Jack or later even use other connectors such as a USB or Bluetooth Speaker.  This article will show you how to change it to the 35mm Audio Jack but you can use this as a pattern for later.


  • Click CTRL-ALT F1 to open the Terminal Window.
  • Type: sudo raspi-config
  • Choose option 8 - Advanced Options
  • Choose option 6 - Audio
  • Change from 0 to 2 using the arrows or your mouse and press enter.
  • Use the arrows to move to finished and press enter.
  • Reboot using: sudo shutdown -r 0
  • When it boots back up open the browser and navigate to YouTube and try playing a video. If the audio plays through your speaker you are all set.  

If this does not work, then you will have to use this workaround.

  • Click CTRL-ALT-F1 to open the Terminal Window
  • Type: sudo leafpad /boot/config.txt
  • When the editor comes up look for the line hdmi_drive=
  • If the number after the equal sign is not 2 change it to 2
  • Reboot using: sudo shutdown -r 0
  • When it boots back up open the browser and navigate to YouTube and try playing a video. If the audio plays through your speaker you are all set. 
If you are still having trouble with the 35mm Speaker or have other questions, let me know. My email address is chris.williams@readwatchcreate.com. Please follow me on twitter at @BerryPIChris

No comments:

Post a Comment