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
RIoTboard
  • Products
  • Dev Tools
  • Single-Board Computers
  • RIoTboard
  • More
  • Cancel
RIoTboard
Forum Setting Audio output to Jack instead of HDMI
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RIoTboard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 27 replies
  • Answers 2 answers
  • Subscribers 24 subscribers
  • Views 3319 views
  • Users 0 members are here
  • audio
  • riotboard
Related

Setting Audio output to Jack instead of HDMI

bose
bose over 11 years ago

Hello,

 

I am using the Debian Linux from agrahambell on my RIoT Board. Thanks for linux build.

I have loaded alsa package = alsa-base alsa-utils alsaplayer and other required pacakages.

In the alsamixer I have the audio output set to 'DAC'. Not sure what this means.

 

I need to play audio via the audio jack on an external speaker from the command line. So for that I have alsaplayer for this.

 

However when I try to play the audio file via aplay there is not sound via the audio jack.

Also I don't have HDMI TV to be able to check if the audio is coming from the HDMI or not.

My HDMI converter is connected to a Monitor via DVI-D conversion.

 

Kindly help me out with this problem.

 

Warm Regards,

Abhijit

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 11 years ago

    When using my 3.15 kernel, can you try the devicetree file from https://docs.google.com/file/d/0B-WIc2IIJv2FY2Y3UWloQWQ1ZWs/edit?pli=1 you just need to copy it into /boot and reboot

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 11 years ago

    When using my 3.15 kernel, can you try the devicetree file from https://docs.google.com/file/d/0B-WIc2IIJv2FY2Y3UWloQWQ1ZWs/edit?pli=1 you just need to copy it into /boot and reboot

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    There's a new set of files comprising SDcard image, kernel and devicetree available at   https://drive.google.com/folderview?id=0B-WIc2IIJv2FQURpR2V0MkhhUjg#list which will have working audio.

    Just do

    apt-get update

    apt-get install alsa-utils

    speaker-test -c 2

    and you should get sound.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bose
    0 bose over 11 years ago in reply to Former Member

    Hello,

     

    Thanks for the update.

    I am downloading this image and would try it out shortly.

     

    Warm Regards,

    Abhijit

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bose
    0 bose over 11 years ago in reply to Former Member

    Hi,

     

    With your changes now the audio is working.

    Additional packages installed:

    apt-get install ssh alsa python binutils wget curl bzip2 zip vim mplayer udisks

    This helped me to play the mp3 files from a pendrive and then eject it like in Ubuntu.

    No GUI or xorg was required to achive this.

     

    Thanks a lot agrahambell for your support,

     

    The only question now remains is if I can run Video over this setup and if VNC can put it on display.

    Well I will try that out too and update.

     

    Warm Regards,

    Abhijit

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to bose

    You can certainly get xorg running.  If by 'video' you mean playing mp4 h264 and such like video files in something like vlc or mplayer then it's somewhat more complex. You can play these, but currently only with software decoding, someone needs to do the work to integrate that parts needed to get hardware accelerated decoding functional.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    I haven't heard any audio from my RIoTboard with Debian either. It was build using the article series and is working great other than no sound. It appears that it is expected that the audio won't work. I have gone through tons of articles on fixing "no sound" issues with ALSA but so far everything seems to be working--except there is no sound. ALSA has been installed both from the current source and from a repository. I am not too interested in any blog-thread debugging but I am interested in any known or expected issues or gotchas. The hardware does work with at least one of the prebuilt images.

    • Cancel
    • Vote Up 0 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