Redirect 302 redirect from GET @entry_comment_create (de0eec)

Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
3.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.04 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\EntryComment {#1374
  +user: Proxies\__CG__\App\Entity\User {#1867 …}
  +entry: App\Entity\Entry {#1849 …}
  +magazine: App\Entity\Magazine {#312
    +icon: Proxies\__CG__\App\Entity\Image {#293 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#320
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#284 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
    +entries: Doctrine\ORM\PersistentCollection {#227 …}
    +posts: Doctrine\ORM\PersistentCollection {#185 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
    +bans: Doctrine\ORM\PersistentCollection {#164 …}
    +reports: Doctrine\ORM\PersistentCollection {#150 …}
    +badges: Doctrine\ORM\PersistentCollection {#128 …}
    +logs: Doctrine\ORM\PersistentCollection {#118 …}
    +awards: Doctrine\ORM\PersistentCollection {#107 …}
    +categories: Doctrine\ORM\PersistentCollection {#94 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#321
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#315
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +parent: Proxies\__CG__\App\Entity\EntryComment {#2356 …}
  +root: Proxies\__CG__\App\Entity\EntryComment {#2356 …}
  +body: """
    I know that it’s a hack. A really bad hack TBH.\n
    \n
    But I wasn’t able to get it working differently.\n
    \n
    This is the service code I’m using (yes, I know… It’s very bad, especially the pinging):\n
    \n
    ```\n
    \n
    <span style="color:#323232;">while :\n
    </span><span style="color:#323232;">do\n
    </span><span style="color:#323232;">\tif [[ $(ping 192.168.178.1 -c 3) ]]\n
    </span><span style="color:#323232;">\tthen\n
    </span><span style="color:#323232;">\t\techo "pinged"\n
    </span><span style="color:#323232;">\telse\n
    </span><span style="color:#323232;">\t\tif [[ $(lsmod | grep brcmfmac) ]]\n
    </span><span style="color:#323232;">\t\tthen\n
    </span><span style="color:#323232;">\t\t\tsudo rmmod brcmfmac\n
    </span><span style="color:#323232;">\t\tfi\n
    </span><span style="color:#323232;">\t\tsudo modprobe brcmfmac\n
    </span><span style="color:#323232;">\t\tsleep 250\n
    </span><span style="color:#323232;">\tfi\n
    </span><span style="color:#323232;">\tsleep 15\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">done\n
    </span>\n
    ```\n
    \n
    ---\n
    \n
    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.\n
    \n
    ---\n
    \n
    @MonkderZweite@feddit.ch\n
    \n
    Your first 2 paths under `/etc` have a description like this:\n
    \n
    > kernel modules to load at boot time.\n
    \n
    The problem I’m having is that I have to **reload the module when the laptop was closed and reopened**.\n
    \n
    So, I think, the first 2 paths won’t work, right? It’s not boot time?\n
    \n
    ---\n
    \n
    Something like the 2nd path was described in a tutorial about getting started on a MacBook with Linux. I remember it.\n
    \n
    But the path you described does not exist on my system.\n
    \n
    I have a path `/usr/lib/systemd/system-sleep/`, do you mean that one?\n
    \n
    This contains 1 file (probably created by me in the beginning) called `lid_wakeup_disable`:\n
    \n
    ```\n
    \n
    <span style="color:#323232;"> #!/bin/sh\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;"># /lib/systemd/system-sleep/lid_wakeup_disable\n
    </span><span style="color:#323232;">#\n
    </span><span style="color:#323232;"># Avoids that system wakes up immediately after suspend or hibernate\n
    </span><span style="color:#323232;"># with lid open (e.g. suspend/hibernate through KDE menu entry)\n
    </span><span style="color:#323232;">#\n
    </span><span style="color:#323232;"># Tested on MacBookPro12,1\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">case $1 in\n
    </span><span style="color:#323232;">  pre)\n
    </span><span style="color:#323232;">    if cat /proc/acpi/wakeup | grep -qE '^LID0.*enabled'; then\n
    </span><span style="color:#323232;">        echo LID0 > /proc/acpi/wakeup\n
    </span><span style="color:#323232;">    fi\n
    </span><span style="color:#323232;">    ;;\n
    </span><span style="color:#323232;">esac\n
    </span><span style="color:#323232;">\n
    </span>\n
    ```\n
    \n
    Do I add `rmmod brcmfmac; modprobe brcmfmac;` (without sudo) at the bottom?\n
    \n
    I’m thankful for any help to get rid of the service.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701514701 {#1769
    date: 2023-12-02 11:58:21.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@ndsvw@feddit.de"
    "@MonkderZweite@feddit.ch"
  ]
  +children: Doctrine\ORM\PersistentCollection {#2476 …}
  +nested: Doctrine\ORM\PersistentCollection {#2288 …}
  +votes: Doctrine\ORM\PersistentCollection {#2446 …}
  +reports: Doctrine\ORM\PersistentCollection {#2439 …}
  +favourites: Doctrine\ORM\PersistentCollection {#2488 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1841 …}
  -id: 190431
  -bodyTs: "'/bin/sh':209 '/etc':103 '/lib/systemd/system-sleep/lid_wakeup_disable':210 '/proc/acpi/wakeup':240,248 '/usr/lib/systemd/system-sleep':188 '1':196,233,235 '15':68 '192.168.178.1':45 '2':100,141 '250':65 '2nd':92,155 '3':47 'abl':17 'add':253 'avoid':211 'bad':10,37 'begin':204 'boot':114,150 'bottom':262 'brcmfmac':55,59,63,83,88,255,257 'c':46 'call':205 'case':234 'cat':239 'close':71,133 'code':27 'command':93 'contain':195 'creat':199 'describ':158,177 'descript':106 'differ':22 'disabl':208 'done':69 'e.g':224 'echo':49,246 'els':51 'enabl':244 'enough':96 'entri':229 'esac':250 'especi':38 'execut':80,90 'exist':180 'fi':60,66,249 'file':197 'first':99,140 'get':19,163,270 'grep':54,241 'hack':7,11 'help':268 'hibern':220 'immedi':216 'kde':227 'kernel':109 'know':2,33 'laptop':131 'lid':206,222 'lid0':243,247 'like':107,153 'linux':169 'load':112 'lsmod':53 'm':29,119,264 'macbook':75,167 'macbookpro12':232 'mean':191 'menu':228 'modprob':62,87,256 'modul':110,128 'monkderzweite@feddit.ch':97 'necessari':78 'one':193 'open':73,223 'path':101,142,156,175,187 'ping':40,44,50 'pre':237 'probabl':198 'problem':117 'qe':242 'realli':9 'reload':126 'rememb':171 'reopen':135 'rid':271 'right':146 'rmmod':58,82,254 'servic':26,274 'sleep':64,67 'someth':152 'start':164 'sudo':57,61,81,86,259 'suspend':218 'suspend/hibernate':225 'system':183,213 'tbh':12 'test':230 'thank':265 'think':138 'time':115,151 'tutori':161 'use':30 'wake':214 'wakeup':207 'wasn':15 'without':258 'won':143 'work':21,145 'yes':31"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.de/comment/5336606"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701514701 {#1969
    date: 2023-12-02 11:58:21.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\EntryComment {#1374
  +user: Proxies\__CG__\App\Entity\User {#1867 …}
  +entry: App\Entity\Entry {#1849 …}
  +magazine: App\Entity\Magazine {#312
    +icon: Proxies\__CG__\App\Entity\Image {#293 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#320
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#284 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
    +entries: Doctrine\ORM\PersistentCollection {#227 …}
    +posts: Doctrine\ORM\PersistentCollection {#185 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
    +bans: Doctrine\ORM\PersistentCollection {#164 …}
    +reports: Doctrine\ORM\PersistentCollection {#150 …}
    +badges: Doctrine\ORM\PersistentCollection {#128 …}
    +logs: Doctrine\ORM\PersistentCollection {#118 …}
    +awards: Doctrine\ORM\PersistentCollection {#107 …}
    +categories: Doctrine\ORM\PersistentCollection {#94 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#321
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#315
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +parent: Proxies\__CG__\App\Entity\EntryComment {#2356 …}
  +root: Proxies\__CG__\App\Entity\EntryComment {#2356 …}
  +body: """
    I know that it’s a hack. A really bad hack TBH.\n
    \n
    But I wasn’t able to get it working differently.\n
    \n
    This is the service code I’m using (yes, I know… It’s very bad, especially the pinging):\n
    \n
    ```\n
    \n
    <span style="color:#323232;">while :\n
    </span><span style="color:#323232;">do\n
    </span><span style="color:#323232;">\tif [[ $(ping 192.168.178.1 -c 3) ]]\n
    </span><span style="color:#323232;">\tthen\n
    </span><span style="color:#323232;">\t\techo "pinged"\n
    </span><span style="color:#323232;">\telse\n
    </span><span style="color:#323232;">\t\tif [[ $(lsmod | grep brcmfmac) ]]\n
    </span><span style="color:#323232;">\t\tthen\n
    </span><span style="color:#323232;">\t\t\tsudo rmmod brcmfmac\n
    </span><span style="color:#323232;">\t\tfi\n
    </span><span style="color:#323232;">\t\tsudo modprobe brcmfmac\n
    </span><span style="color:#323232;">\t\tsleep 250\n
    </span><span style="color:#323232;">\tfi\n
    </span><span style="color:#323232;">\tsleep 15\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">done\n
    </span>\n
    ```\n
    \n
    ---\n
    \n
    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.\n
    \n
    ---\n
    \n
    @MonkderZweite@feddit.ch\n
    \n
    Your first 2 paths under `/etc` have a description like this:\n
    \n
    > kernel modules to load at boot time.\n
    \n
    The problem I’m having is that I have to **reload the module when the laptop was closed and reopened**.\n
    \n
    So, I think, the first 2 paths won’t work, right? It’s not boot time?\n
    \n
    ---\n
    \n
    Something like the 2nd path was described in a tutorial about getting started on a MacBook with Linux. I remember it.\n
    \n
    But the path you described does not exist on my system.\n
    \n
    I have a path `/usr/lib/systemd/system-sleep/`, do you mean that one?\n
    \n
    This contains 1 file (probably created by me in the beginning) called `lid_wakeup_disable`:\n
    \n
    ```\n
    \n
    <span style="color:#323232;"> #!/bin/sh\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;"># /lib/systemd/system-sleep/lid_wakeup_disable\n
    </span><span style="color:#323232;">#\n
    </span><span style="color:#323232;"># Avoids that system wakes up immediately after suspend or hibernate\n
    </span><span style="color:#323232;"># with lid open (e.g. suspend/hibernate through KDE menu entry)\n
    </span><span style="color:#323232;">#\n
    </span><span style="color:#323232;"># Tested on MacBookPro12,1\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">case $1 in\n
    </span><span style="color:#323232;">  pre)\n
    </span><span style="color:#323232;">    if cat /proc/acpi/wakeup | grep -qE '^LID0.*enabled'; then\n
    </span><span style="color:#323232;">        echo LID0 > /proc/acpi/wakeup\n
    </span><span style="color:#323232;">    fi\n
    </span><span style="color:#323232;">    ;;\n
    </span><span style="color:#323232;">esac\n
    </span><span style="color:#323232;">\n
    </span>\n
    ```\n
    \n
    Do I add `rmmod brcmfmac; modprobe brcmfmac;` (without sudo) at the bottom?\n
    \n
    I’m thankful for any help to get rid of the service.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701514701 {#1769
    date: 2023-12-02 11:58:21.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@ndsvw@feddit.de"
    "@MonkderZweite@feddit.ch"
  ]
  +children: Doctrine\ORM\PersistentCollection {#2476 …}
  +nested: Doctrine\ORM\PersistentCollection {#2288 …}
  +votes: Doctrine\ORM\PersistentCollection {#2446 …}
  +reports: Doctrine\ORM\PersistentCollection {#2439 …}
  +favourites: Doctrine\ORM\PersistentCollection {#2488 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1841 …}
  -id: 190431
  -bodyTs: "'/bin/sh':209 '/etc':103 '/lib/systemd/system-sleep/lid_wakeup_disable':210 '/proc/acpi/wakeup':240,248 '/usr/lib/systemd/system-sleep':188 '1':196,233,235 '15':68 '192.168.178.1':45 '2':100,141 '250':65 '2nd':92,155 '3':47 'abl':17 'add':253 'avoid':211 'bad':10,37 'begin':204 'boot':114,150 'bottom':262 'brcmfmac':55,59,63,83,88,255,257 'c':46 'call':205 'case':234 'cat':239 'close':71,133 'code':27 'command':93 'contain':195 'creat':199 'describ':158,177 'descript':106 'differ':22 'disabl':208 'done':69 'e.g':224 'echo':49,246 'els':51 'enabl':244 'enough':96 'entri':229 'esac':250 'especi':38 'execut':80,90 'exist':180 'fi':60,66,249 'file':197 'first':99,140 'get':19,163,270 'grep':54,241 'hack':7,11 'help':268 'hibern':220 'immedi':216 'kde':227 'kernel':109 'know':2,33 'laptop':131 'lid':206,222 'lid0':243,247 'like':107,153 'linux':169 'load':112 'lsmod':53 'm':29,119,264 'macbook':75,167 'macbookpro12':232 'mean':191 'menu':228 'modprob':62,87,256 'modul':110,128 'monkderzweite@feddit.ch':97 'necessari':78 'one':193 'open':73,223 'path':101,142,156,175,187 'ping':40,44,50 'pre':237 'probabl':198 'problem':117 'qe':242 'realli':9 'reload':126 'rememb':171 'reopen':135 'rid':271 'right':146 'rmmod':58,82,254 'servic':26,274 'sleep':64,67 'someth':152 'start':164 'sudo':57,61,81,86,259 'suspend':218 'suspend/hibernate':225 'system':183,213 'tbh':12 'test':230 'thank':265 'think':138 'time':115,151 'tutori':161 'use':30 'wake':214 'wakeup':207 'wasn':15 'without':258 'won':143 'work':21,145 'yes':31"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.de/comment/5336606"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701514701 {#1969
    date: 2023-12-02 11:58:21.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\EntryComment {#1374
  +user: Proxies\__CG__\App\Entity\User {#1867 …}
  +entry: App\Entity\Entry {#1849 …}
  +magazine: App\Entity\Magazine {#312
    +icon: Proxies\__CG__\App\Entity\Image {#293 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#320
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#284 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
    +entries: Doctrine\ORM\PersistentCollection {#227 …}
    +posts: Doctrine\ORM\PersistentCollection {#185 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
    +bans: Doctrine\ORM\PersistentCollection {#164 …}
    +reports: Doctrine\ORM\PersistentCollection {#150 …}
    +badges: Doctrine\ORM\PersistentCollection {#128 …}
    +logs: Doctrine\ORM\PersistentCollection {#118 …}
    +awards: Doctrine\ORM\PersistentCollection {#107 …}
    +categories: Doctrine\ORM\PersistentCollection {#94 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#321
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#315
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +parent: Proxies\__CG__\App\Entity\EntryComment {#2356 …}
  +root: Proxies\__CG__\App\Entity\EntryComment {#2356 …}
  +body: """
    I know that it’s a hack. A really bad hack TBH.\n
    \n
    But I wasn’t able to get it working differently.\n
    \n
    This is the service code I’m using (yes, I know… It’s very bad, especially the pinging):\n
    \n
    ```\n
    \n
    <span style="color:#323232;">while :\n
    </span><span style="color:#323232;">do\n
    </span><span style="color:#323232;">\tif [[ $(ping 192.168.178.1 -c 3) ]]\n
    </span><span style="color:#323232;">\tthen\n
    </span><span style="color:#323232;">\t\techo "pinged"\n
    </span><span style="color:#323232;">\telse\n
    </span><span style="color:#323232;">\t\tif [[ $(lsmod | grep brcmfmac) ]]\n
    </span><span style="color:#323232;">\t\tthen\n
    </span><span style="color:#323232;">\t\t\tsudo rmmod brcmfmac\n
    </span><span style="color:#323232;">\t\tfi\n
    </span><span style="color:#323232;">\t\tsudo modprobe brcmfmac\n
    </span><span style="color:#323232;">\t\tsleep 250\n
    </span><span style="color:#323232;">\tfi\n
    </span><span style="color:#323232;">\tsleep 15\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">done\n
    </span>\n
    ```\n
    \n
    ---\n
    \n
    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.\n
    \n
    ---\n
    \n
    @MonkderZweite@feddit.ch\n
    \n
    Your first 2 paths under `/etc` have a description like this:\n
    \n
    > kernel modules to load at boot time.\n
    \n
    The problem I’m having is that I have to **reload the module when the laptop was closed and reopened**.\n
    \n
    So, I think, the first 2 paths won’t work, right? It’s not boot time?\n
    \n
    ---\n
    \n
    Something like the 2nd path was described in a tutorial about getting started on a MacBook with Linux. I remember it.\n
    \n
    But the path you described does not exist on my system.\n
    \n
    I have a path `/usr/lib/systemd/system-sleep/`, do you mean that one?\n
    \n
    This contains 1 file (probably created by me in the beginning) called `lid_wakeup_disable`:\n
    \n
    ```\n
    \n
    <span style="color:#323232;"> #!/bin/sh\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;"># /lib/systemd/system-sleep/lid_wakeup_disable\n
    </span><span style="color:#323232;">#\n
    </span><span style="color:#323232;"># Avoids that system wakes up immediately after suspend or hibernate\n
    </span><span style="color:#323232;"># with lid open (e.g. suspend/hibernate through KDE menu entry)\n
    </span><span style="color:#323232;">#\n
    </span><span style="color:#323232;"># Tested on MacBookPro12,1\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">case $1 in\n
    </span><span style="color:#323232;">  pre)\n
    </span><span style="color:#323232;">    if cat /proc/acpi/wakeup | grep -qE '^LID0.*enabled'; then\n
    </span><span style="color:#323232;">        echo LID0 > /proc/acpi/wakeup\n
    </span><span style="color:#323232;">    fi\n
    </span><span style="color:#323232;">    ;;\n
    </span><span style="color:#323232;">esac\n
    </span><span style="color:#323232;">\n
    </span>\n
    ```\n
    \n
    Do I add `rmmod brcmfmac; modprobe brcmfmac;` (without sudo) at the bottom?\n
    \n
    I’m thankful for any help to get rid of the service.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701514701 {#1769
    date: 2023-12-02 11:58:21.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@ndsvw@feddit.de"
    "@MonkderZweite@feddit.ch"
  ]
  +children: Doctrine\ORM\PersistentCollection {#2476 …}
  +nested: Doctrine\ORM\PersistentCollection {#2288 …}
  +votes: Doctrine\ORM\PersistentCollection {#2446 …}
  +reports: Doctrine\ORM\PersistentCollection {#2439 …}
  +favourites: Doctrine\ORM\PersistentCollection {#2488 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1841 …}
  -id: 190431
  -bodyTs: "'/bin/sh':209 '/etc':103 '/lib/systemd/system-sleep/lid_wakeup_disable':210 '/proc/acpi/wakeup':240,248 '/usr/lib/systemd/system-sleep':188 '1':196,233,235 '15':68 '192.168.178.1':45 '2':100,141 '250':65 '2nd':92,155 '3':47 'abl':17 'add':253 'avoid':211 'bad':10,37 'begin':204 'boot':114,150 'bottom':262 'brcmfmac':55,59,63,83,88,255,257 'c':46 'call':205 'case':234 'cat':239 'close':71,133 'code':27 'command':93 'contain':195 'creat':199 'describ':158,177 'descript':106 'differ':22 'disabl':208 'done':69 'e.g':224 'echo':49,246 'els':51 'enabl':244 'enough':96 'entri':229 'esac':250 'especi':38 'execut':80,90 'exist':180 'fi':60,66,249 'file':197 'first':99,140 'get':19,163,270 'grep':54,241 'hack':7,11 'help':268 'hibern':220 'immedi':216 'kde':227 'kernel':109 'know':2,33 'laptop':131 'lid':206,222 'lid0':243,247 'like':107,153 'linux':169 'load':112 'lsmod':53 'm':29,119,264 'macbook':75,167 'macbookpro12':232 'mean':191 'menu':228 'modprob':62,87,256 'modul':110,128 'monkderzweite@feddit.ch':97 'necessari':78 'one':193 'open':73,223 'path':101,142,156,175,187 'ping':40,44,50 'pre':237 'probabl':198 'problem':117 'qe':242 'realli':9 'reload':126 'rememb':171 'reopen':135 'rid':271 'right':146 'rmmod':58,82,254 'servic':26,274 'sleep':64,67 'someth':152 'start':164 'sudo':57,61,81,86,259 'suspend':218 'suspend/hibernate':225 'system':183,213 'tbh':12 'test':230 'thank':265 'think':138 'time':115,151 'tutori':161 'use':30 'wake':214 'wakeup':207 'wasn':15 'without':258 'won':143 'work':21,145 'yes':31"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://feddit.de/comment/5336606"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701514701 {#1969
    date: 2023-12-02 11:58:21.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED edit
App\Entity\Magazine {#312
  +icon: Proxies\__CG__\App\Entity\Image {#293 …}
  +name: "linux@lemmy.ml"
  +title: "linux"
  +description: """
    From Wikipedia, the free encyclopedia\n
    \n
    Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
    \n
    Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
    \n
    ### Rules\n
    \n
    - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
    - No misinformation\n
    - No NSFW content\n
    - No hate speech, bigotry, etc\n
    \n
    ### Related Communities\n
    \n
    - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
    - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
    - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
    - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
    \n
    Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 1406
  +entryCommentCount: 28632
  +postCount: 6
  +postCommentCount: 214
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729583542 {#320
    date: 2024-10-22 09:52:22.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#284 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
  +entries: Doctrine\ORM\PersistentCollection {#227 …}
  +posts: Doctrine\ORM\PersistentCollection {#185 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
  +bans: Doctrine\ORM\PersistentCollection {#164 …}
  +reports: Doctrine\ORM\PersistentCollection {#150 …}
  +badges: Doctrine\ORM\PersistentCollection {#128 …}
  +logs: Doctrine\ORM\PersistentCollection {#118 …}
  +awards: Doctrine\ORM\PersistentCollection {#107 …}
  +categories: Doctrine\ORM\PersistentCollection {#94 …}
  -id: 73
  +apId: "linux@lemmy.ml"
  +apProfileId: "https://lemmy.ml/c/linux"
  +apPublicUrl: "https://lemmy.ml/c/linux"
  +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
  +apInboxUrl: "https://lemmy.ml/inbox"
  +apDomain: "lemmy.ml"
  +apPreferredUsername: "linux"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1729583596 {#321
    date: 2024-10-22 09:53:16.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1698929468 {#315
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details