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
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines