-
Notifications
You must be signed in to change notification settings - Fork 66
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
MacMini8,1 + Mint 22 = no sound #597
Comments
You have to manually change to audio jack from settings>sounds |
Sorry for not making it clear: that's not an option. The only devices shown for me are the HDMI / DP built-in audio, and the internal speaker (which seems to vanish sometimes). If I open Easyeffects, that also shows as a device, as well as the Bluetooth speaker I'm using temporarily (the one selected in the screenshot below). |
What ISO did you use? |
The original one from the Mint website.
Then I installed the T2 kernel for Noble, the equivalent Ubuntu release,
and many different audio packages as suggested on the wiki.
Igor Santos
-- Desenvolvedor web
[enviado do meu celular]
…On Sat, 21 Dec 2024, 14:30 Aditya Garg, ***@***.***> wrote:
What ISO did you use?
—
Reply to this email directly, view it on GitHub
<#597 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEB6S3WS7PZZJYBHEZ6BOT2GWQUFAVCNFSM6AAAAABT375NU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGE4DCNBXGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Is |
I had to reboot and the internal speaker showed up again. The only profile it has is "Mono output":
|
It's strange that it's not showing up. @Redecorating can you help? |
Maybe check `journalctl -k --grep=audio`, there should be messages from aaudio describing what audio devices it discovered on startup.
|
Hope this is of any use 🙏
Merry Christmas for you all, if that's your culture! 🎄 |
Dec 24 13:17:05 mac-mint kernel: aaudio aaudio: aaudio: Num devices = 2
Dec 24 13:17:05 mac-mint kernel: aaudio aaudio: aaudio: Device 0 Speaker
Dec 24 13:17:05 mac-mint kernel: aaudio aaudio: aaudio: Device 0 Stream 0: Output; Buffer Count = 1
Dec 24 13:17:05 mac-mint kernel: aaudio aaudio: aaudio: Device 1 Codec Output
Dec 24 13:17:05 mac-mint kernel: aaudio aaudio: aaudio: Device 1 Stream 0: Output; Buffer Count = 1
Dec 24 13:17:05 mac-mint kernel: aaudio aaudio: aaudio: Created device 2 Codec Input
Dec 24 13:17:05 mac-mint kernel: aaudio aaudio: aaudio: Device 2 Host Stream; Input
Seems like the driver discovers speaker output, headphone/"codec" output+input. There isn't meant to be an internal microphone right?
You said you have have AppleT2x1, I think there's actually no configuration file for that here: https://github.com/kekrby/t2-better-audio/blob/main/files/profile-sets/
Maybe try this, I'm not sure if the chanel map for the headphones is meant to be mono or left,right.
```
[Mapping Speakers]
device-strings = hw:%f,0
paths-output = t2-speakers
channel-map = mono
direction = output
[Mapping Headphones]
device-strings = hw:%f,1
paths-output = t2-headphones
channel-map = mono
direction = output
[Mapping HeadsetMic]
device-strings = hw:%f,2
paths-input = t2-headset-mic
channel-map = mono
direction = input
[Profile Default]
description = Default Profile
output-mappings = Speakers Headphones
input-mappings = HeadsetMic
```
Merry Christmas for you all, if that's your culture! 🎄
Merry Christmas!
|
i can't seem to make that message not have terrible formatting by editing it, let's try again here:
|
Thanks for that! No clue what you did with the markdown formatting 😂 And no, AFAIK there's no internal speaker. Not that I care for it either. The headphone jack is a single one, which should be stereo. But also... no clue what I should do with that 😅 Could you point me to where I should place that config? |
On 27 Dec 2024, at 4:41 AM, Igor Santos ***@***.***> wrote:
Thanks for that! No clue what you did with the markdown formatting 😂
i think it may be because the message was initially sent as an email reply.
And no, AFAIK there's no internal speaker. Not that I care for it either. The headphone jack is a single one, which should be stereo.
No internal speaker and no internal microphone? Or do you mean only no internal microphone ?
But also... no clue what I should do with that 😅 Could you point me to where I should place that config?
I believe it should go into these two folders (one is for pulseaudio, the other for pipewire, so having both ensures it will work for everyone) \n
`/usr/share/alsa-card-profile/mixer/profile-sets` and
`/usr/share/pulseaudio/alsa-mixer/profile-sets`
\n
normally these files are installed by this script https://github.com/kekrby/t2-better-audio/blob/main/install.sh, but you will notice this repository has no t2x1 file, which would be why it's not working
|
Sorry! I said it wrong, I don't think it has an internal 🎙️ I created
|
I rebooted
🤔 🤔 🤔 And btw, the only files under the |
hmm im not too sure, maybe check if there is anything different in `pactl info` or the logs from pipewire (i don't remember how to check this except by `systemctl stop pipewire.socket` then `systemctl stop pipewire.service` then `pipewire -v`, and in another terminal `systemctl restart pipewire-pulse`. Don't use sudo as these are user services) the output from the pipewire process might have detail about any issues it is having with using the config files for this device.On 27 Dec 2024, at 11:42 AM, Igor Santos ***@***.***> wrote:
I rebooted three times in total:
added files, rebooted. It only showed me the HDMI output.
no changes; rebooted again, it took a while to boot up but other than that, same results.
renamed the new files so they would go missing, and rebooted once more. This time, the internal speaker is back again.
🤔 🤔 🤔
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
No big changes to Recently, I submitted a PR to some other unrelated repo, and learned there that user services would use Nonetheless, I had some trouble with the stop/restart commands; in the end, there was no output anymore in the Sound Settings screen, and pipewire said nothing useful. 😅 Not sure if all the trouble is because I got the stop order backwards, but... Here's what happened, in case you're curious:
On the other terminal I ended up running the restart/start/status multiple times, checking if pipewire would react:
On a third terminal, I tried checking the status of the other services I had stopped, and turns out they also had trouble:
That all |
On 27 Dec 2024, at 1:47 PM, Igor Santos ***@***.***> wrote:
No big changes to pactl info other than the default sink becoming my HDMI output, and numeric/hash changes in client index, tile size, and cookie.
Recently, I submitted a PR to some other unrelated repo, and learned there that user services would use systemctl --user. I added that option and the stop calls worked - without that and sudo, there would be simply a graphical password prompt and an error would be emitted.
ah i forgot about --user
Nonetheless, I had some trouble with the stop/restart commands; in the end, there was no output anymore in the Sound Settings screen, and pipewire said nothing useful. 😅 Not sure if all the trouble is because I got the stop order backwards, but... Here's what happened, in case you're curious:
it's not a very good method and it's evidently broken since i last tried to use it to get logs.
That all said pasted, unless you're very interested in having this fixed for the repo as a whole, I'm really leaning towards buying a cheapo USB sound card and calling it a day.
Fair enough, even with working audio on my macbook I still use one of the apple usbc-headphone adapters because the builtin one sometimes stutters. Hopefully eventually someone who knows how alsa/pipewire/pulseaudio works will fix this macmini issue some other time.
|
Thanks for trying, anyway! Hope you two have an awesome 2025 🎆 |
Same to you! |
I've reinstalled Mint, moving to Wilma 22 with Cinnamon, a couple of months ago. Wi-Fi was working mostly fine, although now I'm not sure if it was because I had an extra Bluetooth+Wi-Fi dongle sneakily plugged in, which I forgot had Wi-Fi capabilities 😂
At some point that stopped working, though, and I came back to the wiki - then, I must say, the Wi-Fi script from the wiki was painless to use!
On the other hand, I can't get the audio jack to work, no matter what I try. Here's the information I have, given other posts I've found around:
cat /proc/cmdline
yieldsBOOT_IMAGE=/boot/vmlinuz-6.12.4-1-t2-noble root=UUID=b35ca6bf-f93c-4d89-8051-607b2fa43340 ro quiet splash intel_iommu=on iommu=pt pcie_ports=compat
sed -n "s/.*\(AppleT2.*\) -.*/\1/p" /proc/asound/cards
yieldsAppleT2x1
The only thing I didn't try was editing initramfs-tools, which seemed a bit too drastic / unrelated?
The text was updated successfully, but these errors were encountered: