Jump to content

Recommended Posts

Posted (edited)

If anyone needs to get the 3.5mm audio jack working on the N2+, here's one method.

 

1. Edit or create /etc/asound.conf with these lines. Copied directly from the Hard Kernel Ubuntu setup.

 

pcm.!default{
    type hw
    card 0
    device 1
}
ctl.!default{
    type hw
    card 0
}

 

2. Run this script to turn on the 3.5mm audio in alsamixer. The settings are listed in the same order as in alsamixer.

#!/bin/bash 

# 3.5MM JACK, set to max gain 
amixer sset 'ACODEC' '255'

# 3.5MM JACK - set in/out channels (src/sink)
amixer sset 'FRDDR_B SINK 1 SEL' 'OUT 2' || true
amixer sset 'FRDDR_B SRC 1 EN' 'on' || true

# 3.5MM JACK
amixer sset 'TOACODEC SRC' 'I2S C' || true
amixer sset 'TOACODEC OUT EN' 'on' || true
amixer sset 'TOACODEC Lane Select' '0' || true

# SAVE NEW SETTINGS
alsactl store

 

Edited by Groove On
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines