Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

ndsvw, to asklemmy in Is Lemmy as a platform sustainable?
@ndsvw@feddit.de avatar

The costs surprises me, too…

I think, I red about the hosting situation of the German feddit.de (probably the 4th largest lemmy instance) and that they don’t take donations, because it’s “not that expensive”…

But thanks for being transparent…

ndsvw, to piracy in Do you donate to FOSS projects?
@ndsvw@feddit.de avatar

… which makes Mozilla more dependent from you know what company…

ndsvw, to upliftingnews in Well, this is something! (fossil-free electricity in Europe)
@ndsvw@feddit.de avatar

That’s not what I’d call green. Yes, pretty much no CO2, but the waste problem is still not solved.

Furthermore, increasing nuclear power generation in Germany means buying fuel rods from Putin, who will use it to murder Ukrainians.

ndsvw, to news in US says North Korea delivered 1,000 containers of equipment and munitions to Russia for Ukraine war
@ndsvw@feddit.de avatar

Why calling it DPRK? There is nothing democratic over there…

ndsvw, to linux in My first year using Linux: My experience
@ndsvw@feddit.de avatar

Hi,

Thank you.

I was able to get it working.

What really helped me was the fact that you can see the logs of stuff in /usr/lib/systemd/system-sleep/:

sudo journalctl -u systemd-suspend --since “7 minutes ago”

I think, I had a bug in there or the execution rights of a file was not set or similar.

Now, I have pretty much done what the suggest here: wiki.debian.org/…/Early-2015-13-inch

I’m glad, this is working as intended now.

ndsvw, to linux in My first year using Linux: My experience
@ndsvw@feddit.de avatar

I know that it’s a hack. A really bad hack TBH.

But I wasn’t able to get it working differently.

This is the service code I’m using (yes, I know… It’s very bad, especially the pinging):


<span style="color:#323232;">while :
</span><span style="color:#323232;">do
</span><span style="color:#323232;">	if [[ $(ping 192.168.178.1 -c 3) ]]
</span><span style="color:#323232;">	then
</span><span style="color:#323232;">		echo "pinged"
</span><span style="color:#323232;">	else
</span><span style="color:#323232;">		if [[ $(lsmod | grep brcmfmac) ]]
</span><span style="color:#323232;">		then
</span><span style="color:#323232;">			sudo rmmod brcmfmac
</span><span style="color:#323232;">		fi
</span><span style="color:#323232;">		sudo modprobe brcmfmac
</span><span style="color:#323232;">		sleep 250
</span><span style="color:#323232;">	fi
</span><span style="color:#323232;">	sleep 15
</span><span style="color:#323232;">
</span><span style="color:#323232;">done
</span>

When closing and opening my MacBook, it’s necessary to execute sudo rmmod brcmfmac and then sudo modprobe brcmfmac. Only executing the 2nd command is not enough.


@MonkderZweite

Your first 2 paths under /etc have a description like this:

kernel modules to load at boot time.

The problem I’m having is that I have to reload the module when the laptop was closed and reopened.

So, I think, the first 2 paths won’t work, right? It’s not boot time?


Something like the 2nd path was described in a tutorial about getting started on a MacBook with Linux. I remember it.

But the path you described does not exist on my system.

I have a path /usr/lib/systemd/system-sleep/, do you mean that one?

This contains 1 file (probably created by me in the beginning) called lid_wakeup_disable:


<span style="color:#323232;"> #!/bin/sh
</span><span style="color:#323232;">
</span><span style="color:#323232;"># /lib/systemd/system-sleep/lid_wakeup_disable
</span><span style="color:#323232;">#
</span><span style="color:#323232;"># Avoids that system wakes up immediately after suspend or hibernate
</span><span style="color:#323232;"># with lid open (e.g. suspend/hibernate through KDE menu entry)
</span><span style="color:#323232;">#
</span><span style="color:#323232;"># Tested on MacBookPro12,1
</span><span style="color:#323232;">
</span><span style="color:#323232;">case $1 in
</span><span style="color:#323232;">  pre)
</span><span style="color:#323232;">    if cat /proc/acpi/wakeup | grep -qE '^LID0.*enabled'; then
</span><span style="color:#323232;">        echo LID0 > /proc/acpi/wakeup
</span><span style="color:#323232;">    fi
</span><span style="color:#323232;">    ;;
</span><span style="color:#323232;">esac
</span><span style="color:#323232;">
</span>

Do I add rmmod brcmfmac; modprobe brcmfmac; (without sudo) at the bottom?

I’m thankful for any help to get rid of the service.

ndsvw, to memes in Guys I won!!!
@ndsvw@feddit.de avatar

Trump would spell Biden’s name O B A M A

ndsvw, to memes in Hi, my Name is
@ndsvw@feddit.de avatar

Stop making fun about Sir Gay Boob Titsky!!!

ndsvw, to asklemmy in Is Lemmy as a platform sustainable?
@ndsvw@feddit.de avatar

ber of instances grows 100x, all existing instances face an increase in costs even if they didn’t gain many more users, because they’re receiving more messages from federated instances,

The German feddit.de hosters (the one I’m using and probably the 5th largest instance) declined donation completely when I last checked…

ndsvw, to cooking in Do You Need To Wash Rice Before Cooking? Here’s The Science
@ndsvw@feddit.de avatar

Never washed it before. I don’t see the advantages.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #