-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Orange Pi 3B: Vendor: Enable audio via headphone jack #7330
Conversation
Excellent work |
Repeated build command with success! Audio out works & sound devices name are properly identified. In mainline kernel 6.6 microphone was also detected & I was able to capture sounds. Here it is not :( I used same cable (Standard Nokia audio out/in combo)
|
@dust-7 I think the only remaining stuff for this SBC is capturing audio using 3.5mm jack. In this mainline kernel image it's is working properly https://github.com/defencedog/orangepi3b_v2.1/tree/main/MicroLinux_Armbian_Orangepi3b_jammy_edge_6.6.4 |
Mic via headphone jack can work. You need to use PulseAudio Volume Control ( I do not intend to investigate or improve the mic issue any further. |
@dust-7 really appreciate your contributions to the opi3b board. I have a question. I use armbian community 24.11-trunk 358 (the most recent) and it turns out that the audio through the jack is not detected. Whatever is corrected, I always have audio through HDMI and I don't have to be switching between (Analog output and headphone output). When I connect my headphones, I do notice noise (interference), something that didn't happen before. What adjustments should I make to solve the lack of audio through the 3.5mm jack?. Thanks |
Did you download the image (provide URL), build it (provide build command), or update from apt? Which distro?
Don't understand what you're saying here.
For me, I have not heard noise from headphone jack before and after this commit. How this commit enables audio via headphone jack is by selecting the correct Playback Path in AlsaMixer. You can verify this like so: |
@Gi-0n this |
By following the 5 steps I was able to activate the audio, the playback path had another configuration. I use Armbian 24.11 trunk-358 updated by apt. Thanks for the indication @dust-7 @defencedog |
Description
In vendor kernel, audio via headphone jack does not work out of the box. Updating alsamixer configurations as hinted in vendor's build fixes this.
Also taking this chance to rename audio devices. This is especially useful for mainline kernel, which displays both HDMI and headphone jack audio devices as "Analog Output - Built-in Audio".
How Has This Been Tested?
Tested vendor and edge images on v2.1 board. On both images, audio works out of the box via HDMI and headphone jack. Audio device names updated accordingly.
./compile.sh build BOARD=orangepi3b BRANCH=vendor BUILD_DESKTOP=yes BUILD_MINIMAL=no DESKTOP_APPGROUPS_SELECTED= DESKTOP_ENVIRONMENT=gnome DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base KERNEL_CONFIGURE=no KERNEL_GIT=shallow RELEASE=noble
./compile.sh build BOARD=orangepi3b BRANCH=edge BUILD_DESKTOP=yes BUILD_MINIMAL=no DESKTOP_APPGROUPS_SELECTED= DESKTOP_ENVIRONMENT=gnome DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base KERNEL_CONFIGURE=no KERNEL_GIT=shallow RELEASE=noble
Checklist: