-
Notifications
You must be signed in to change notification settings - Fork 10
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
no sound after sleep/resume (KDE) #18
Comments
Suspend and resume is working for you with the internal nvme ssd? |
Yes.
…On Mon, Jun 27, 2022 at 5:43 PM Leif Liddy ***@***.***> wrote:
Suspend and resume is working for you with the internal nvme ssd?
—
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJHXEFOV7OBVBD2QBTNIFFLVRIVCFANCNFSM5YSWNARA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Really!? AFAIK, this issue has never been solved. Can you please provide the details on how you managed to get suspend/resume working while booted to the nvme drive? Can you please post the output of the following commands?
|
I'm running kernel |
I'm booting using efi. MacBook10,1 |
So you actually have a MacBook10,1 which is the 2017 model. That shouldn't make a difference though. |
*resume
…On Tue, Jul 5, 2022, 6:47 AM Adam E ***@***.***> wrote:
I used efibootmgr to add UEFI entry to boot directly. I used this fix to
get result working: Dunedan/mbp-2016-linux#37.
On Tue, Jul 5, 2022, 3:27 AM Leif Liddy ***@***.***> wrote:
> So you actually have a MacBook10,1 which is the 2017 model. That
> shouldn't make a difference though.
> >I'm booting using efi.
> Can you be more specific? If you run blkid /dev/nvme0n1p1 what is value
> of TYPE?
> Are you using systemd-boot as the bootloader?
>
> —
> Reply to this email directly, view it on GitHub
> <#18 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AJHXEFN7ZNELRFNDWRNVKCTVSPWWDANCNFSM5YSWNARA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
… On Tue, Jul 5, 2022, 6:47 AM Adam E ***@***.***> wrote:
I used efibootmgr to add UEFI entry to boot directly. I used this fix to
get result working: Dunedan/mbp-2016-linux#37.
On Tue, Jul 5, 2022, 3:27 AM Leif Liddy ***@***.***> wrote:
> So you actually have a MacBook10,1 which is the 2017 model. That
> shouldn't make a difference though.
> >I'm booting using efi.
> Can you be more specific? If you run blkid /dev/nvme0n1p1 what is value
> of TYPE?
> Are you using systemd-boot as the bootloader?
>
> —
> Reply to this email directly, view it on GitHub
> <#18 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AJHXEFN7ZNELRFNDWRNVKCTVSPWWDANCNFSM5YSWNARA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
I've tried that method before. It doesn't work on the Macbook9,1 |
tried adding |
It's been years since I last revisited this topic.
That's pretty cool. So it looks like the audio does not work after resuming from suspend. |
Hello there, I am not an experienced Linux user, but have managed to get this far on my Early 2016 MacBook - Ubuntu 22.04 installed and (thanks to this github page) I also have sound now, THANK YOU!! I have been looking and trying all sort of things, but this is the one that works for me. As I understand from your comment above, you will no longer work on this project. |
The echo command fixes sleep/wake nvme locking by (i think) disabling something in the controller (maybe like a sleep mode?)Sleep mode still will break audio. After a restart audio should work again though.Sent from my iPhoneOn Jul 25, 2022, at 4:19 PM, ronnygroenhaug ***@***.***> wrote:
Hello there, I am not an experienced Linux user, but have managed to get this far on my Early 2016 MacBook - Ubuntu 22.04 installed and (thanks to this github page) I also have sound now, THANK YOU!! I have been looking and trying all sort of things, but this is the one that works for me. As I understand from your comment above, you will no longer work on this project.
As the inexperienced user that I am, what does the echo-command do, and what do you mean by that "its working" ? Can I have this command run on startup, and have sound?
As of now I head into Terminal and run your magic commands+reboot when I need sound (as it dissapears after sleep and reboot).
Sorry for my poor knowledge.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Also you *should* not have to run the command before a reboot for sound to workSent from my iPhoneOn Jul 25, 2022, at 5:34 PM, Opal B ***@***.***> wrote:The echo command fixes sleep/wake nvme locking by (i think) disabling something in the controller (maybe like a sleep mode?)Sleep mode still will break audio. After a restart audio should work again though.Sent from my iPhoneOn Jul 25, 2022, at 4:19 PM, ronnygroenhaug ***@***.***> wrote:
Hello there, I am not an experienced Linux user, but have managed to get this far on my Early 2016 MacBook - Ubuntu 22.04 installed and (thanks to this github page) I also have sound now, THANK YOU!! I have been looking and trying all sort of things, but this is the one that works for me. As I understand from your comment above, you will no longer work on this project.
As the inexperienced user that I am, what does the echo-command do, and what do you mean by that "its working" ? Can I have this command run on startup, and have sound?
As of now I head into Terminal and run your magic commands+reboot when I need sound (as it dissapears after sleep and reboot).
Sorry for my poor knowledge.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
>As I understand from your comment above, you will no longer work on this project. >what does the echo-command do Several MBP models also have this issue: >As of now I head into Terminal and run your magic commands+reboot when I need sound (as it dissapears after sleep and reboot). So when you run those command, it's simply create a new sound module here: when you suspend and resume the system, yes the sound will no longer work. But simply rebooting the system shouldn't affect anything. Try powering down the system and powering it back on (as opposed to just rebooting it) and see if that works. Also anytime you update your kernel, you'll need to run run those magic commands again (on the next reboot) -- as that module needs to be built for every new kernel that's installed. |
Suspend-to-RAM breaks audio on my 2017 MacBook 10,1 the same way as reported. However, I found that Suspend-to-Idle keeps the driver functional! I don't yet know what exactly that means for power consumption but to me it's a better solution than having to reboot on every lid-open. Overall I'm happy with this. I hope this isn't stating the obvious for you all. Practically, that means replacing the systemd-suspend.service with a call to something like I also noticed some weird behavior when closing the lid while audio is playing but I can work around that. Finally, you still seem to need the NVMe fix (disabling it's sleep state) or it'll crash on resume from idle. Information on the various sleep states can be found in the Kernel doc. |
I used efibootmgr to add UEFI entry to boot directly. I used this fix to
get result working: Dunedan/mbp-2016-linux#37.
…On Tue, Jul 5, 2022, 3:27 AM Leif Liddy ***@***.***> wrote:
So you actually have a MacBook10,1 which is the 2017 model. That shouldn't
make a difference though.
>I'm booting using efi.
Can you be more specific? If you run blkid /dev/nvme0n1p1 what is value
of TYPE?
Are you using systemd-boot as the bootloader?
—
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJHXEFN7ZNELRFNDWRNVKCTVSPWWDANCNFSM5YSWNARA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Ok but how do I make the sound work on resume with your code?
…On Tue, Jul 5, 2022, 6:57 AM Leif Liddy ***@***.***> wrote:
I've tried that method before. It doesn't work on the Macbook9,1
—
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJHXEFPKDTDJ6UPQASUJOEDVSQPKTANCNFSM5YSWNARA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sound works until I sleep and resume the macbook (April 2016 12" - Version 9,1)
The text was updated successfully, but these errors were encountered: