Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] laptop closure should not rfkill
Date: Sat, 28 Mar 2020 09:44:04
Message-Id: 2149526.ElGaqSPkdT@eve
In Reply to: [gentoo-user] laptop closure should not rfkill by n952162
1 On Friday, March 27, 2020 3:18:47 PM CET n952162 wrote:
2 > I want my wireless to continue when I close my laptop lid. Does anyone
3 > have a clue what I have to set to make that happen?
4 >
5 > I've followed it this far:
6 >
7 > /etc/acpi/events/lm_lid.sh
8 > /etc/acpi/actions/lm_lid.sh
9 > /lib/udev/lmt-udev (laptop mode tools?)
10 > /usr/sbin/laptop_mode
11 > /etc/laptop-mode/conf.d
12 >
13 >
14 > /etc/laptop-mode/laptop-mode.conf has this (I don't find any relevant
15 > CONTROL_*):
16 >
17 > /# "Laptop mode" is the mode in which laptop mode tools makes the
18 > computer//
19 > //# consume less power. This includes the kernel "laptop_mode"
20 > feature, which//
21 > //# allows your hard drives to spin down, as well as various other
22 > settings which//
23 > //# can be tweaked by laptop mode tools. You can enable or disable
24 > all of these//
25 > //# settings using the CONTROL_... options further down in this
26 > config file.//
27 >
28 > //#########################################################################
29 > ######// //
30 > //...//
31 > //
32 > //#//
33 > //# Enable laptop mode when the laptop's lid is closed, even when
34 > we're on AC//
35 > //# power? (ACPI-ONLY)//
36 > //#//
37 > //ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0//
38 > /
39 >
40 >
41 > Would it be okay to just *remove* /etc/acpi/*/lm_lid.sh?
42
43 checking the git-repository for laptop-mode-tools, I see the following file
44 with a change to "disable networking by default":
45
46 https://github.com/rickysarraf/laptop-mode-tools/blob/lmt-upstream/etc/laptop-mode/conf.d/ethernet.conf
47
48 IOW, I would suggest checking the file:
49
50 /etc/laptop-mode/conf.d/ethernet.conf
51
52 --
53 Joost

Replies

Subject Author
Re: [gentoo-user] laptop closure should not rfkill Michael <confabulate@××××××××.com>