#!/bin/sh echo "Test earpiece" pactl set-sink-port sink.hw0 nokia-n950-twl4030-output-earpiece /usr/bin/paplay -v --device=sink.hw0 /usr/share/sounds/alsa/Noise.wav echo "Test speaker" pactl set-sink-port sink.hw0 nokia-n950-twl4030-output-ihf /usr/bin/paplay -v --device=sink.hw0 /usr/share/sounds/alsa/Noise.wav echo "Test headphone" /usr/bin/paplay -v --device=sink.headphone /usr/share/sounds/alsa/Noise.wav echo "Test TWL4030 -> TLV320DAC33 passthrough" #set TWL4030 to headset-call port which forwards output to TLV320DAC33 pactl set-sink-port sink.hw0 nokia-n950-twl4030-output-headset-call #set TLV320DAC33 to passthrough profile to accept input from TWL4030 pactl set-card-profile dac33 passthrough #play something to TWL4030 and see if it goes throught TLV320DAC33 to headphones /usr/bin/paplay -v --device=sink.hw0 /usr/share/sounds/alsa/Noise.wav pactl set-card-profile dac33 normal



| The Following 15 Users Say Thank You to wicket For This Useful Post: | ||

