Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] laptop closure should not rfkill
Date: Sat, 28 Mar 2020 21:36:50
Message-Id: 0648d57f-5cfa-d925-ec4e-4981c6772ad2@web.de
In Reply to: Re: [gentoo-user] laptop closure should not rfkill by Michael
1 On 2020-03-28 11:07, Michael wrote:
2 > On Saturday, 28 March 2020 09:43:56 GMT J. Roeleveld wrote:
3 >> On Friday, March 27, 2020 3:18:47 PM CET n952162 wrote:
4 >>> I want my wireless to continue when I close my laptop lid. Does anyone
5 >>> have a clue what I have to set to make that happen?
6 >>>
7 >>> I've followed it this far:
8 >>> /etc/acpi/events/lm_lid.sh
9 >>>
10 >>> /etc/acpi/actions/lm_lid.sh
11 >>>
12 >>> /lib/udev/lmt-udev (laptop mode tools?)
13 >>>
14 >>> /usr/sbin/laptop_mode
15 >>>
16 >>> /etc/laptop-mode/conf.d
17 >>>
18 >>> /etc/laptop-mode/laptop-mode.conf has this (I don't find any relevant
19 >>>
20 >>> CONTROL_*):
21 >>> /# "Laptop mode" is the mode in which laptop mode tools makes the
22 >>> computer//
23 >>> //# consume less power. This includes the kernel "laptop_mode"
24 >>> feature, which//
25 >>> //# allows your hard drives to spin down, as well as various other
26 >>> settings which//
27 >>> //# can be tweaked by laptop mode tools. You can enable or disable
28 >>> all of these//
29 >>> //# settings using the CONTROL_... options further down in this
30 >>> config file.//
31 >>>
32 >>> //########################################################################
33 >>> #
34 >>> ######// //
35 >>>
36 >>> //...//
37 >>> //
38 >>> //#//
39 >>> //# Enable laptop mode when the laptop's lid is closed, even when
40 >>> we're on AC//
41 >>> //# power? (ACPI-ONLY)//
42 >>> //#//
43 >>> //ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0//
44 >>> /
45 >>>
46 >>> Would it be okay to just *remove* /etc/acpi/*/lm_lid.sh?
47 >> checking the git-repository for laptop-mode-tools, I see the following file
48 >> with a change to "disable networking by default":
49 >>
50 >> https://github.com/rickysarraf/laptop-mode-tools/blob/lmt-upstream/etc/lapto
51 >> p-mode/conf.d/ethernet.conf
52 >>
53 >> IOW, I would suggest checking the file:
54 >>
55 >> /etc/laptop-mode/conf.d/ethernet.conf
56 >>
57 >> --
58 >> Joost
59 > Most desktops have power management facilities from which the behaviour of
60 > various inputs (e.g. lid switch) and configured actions can be finely tuned.
61 > I mention it here in the off chance it wasn't already explored as an option.
62
63
64 Yes, thank you.  That's what we're doing, configuring acpi.