Gentoo Archives: gentoo-user

From: Michael <confabulate@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] laptop closure should not rfkill
Date: Sat, 28 Mar 2020 10:07:59
Message-Id: 11492925.O9o76ZdvQC@lenovo.localdomain
In Reply to: Re: [gentoo-user] laptop closure should not rfkill by "J. Roeleveld"
1 On Saturday, 28 March 2020 09:43:56 GMT J. Roeleveld wrote:
2 > On Friday, March 27, 2020 3:18:47 PM CET n952162 wrote:
3 > > I want my wireless to continue when I close my laptop lid. Does anyone
4 > > have a clue what I have to set to make that happen?
5 > >
6 > > I've followed it this far:
7 > > /etc/acpi/events/lm_lid.sh
8 > >
9 > > /etc/acpi/actions/lm_lid.sh
10 > >
11 > > /lib/udev/lmt-udev (laptop mode tools?)
12 > >
13 > > /usr/sbin/laptop_mode
14 > >
15 > > /etc/laptop-mode/conf.d
16 > >
17 > > /etc/laptop-mode/laptop-mode.conf has this (I don't find any relevant
18 > >
19 > > CONTROL_*):
20 > > /# "Laptop mode" is the mode in which laptop mode tools makes the
21 > > computer//
22 > > //# consume less power. This includes the kernel "laptop_mode"
23 > > feature, which//
24 > > //# allows your hard drives to spin down, as well as various other
25 > > settings which//
26 > > //# can be tweaked by laptop mode tools. You can enable or disable
27 > > all of these//
28 > > //# settings using the CONTROL_... options further down in this
29 > > config file.//
30 > >
31 > > //########################################################################
32 > > #
33 > > ######// //
34 > >
35 > > //...//
36 > > //
37 > > //#//
38 > > //# Enable laptop mode when the laptop's lid is closed, even when
39 > > we're on AC//
40 > > //# power? (ACPI-ONLY)//
41 > > //#//
42 > > //ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0//
43 > > /
44 > >
45 > > Would it be okay to just *remove* /etc/acpi/*/lm_lid.sh?
46 >
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
60 Most desktops have power management facilities from which the behaviour of
61 various inputs (e.g. lid switch) and configured actions can be finely tuned.
62 I mention it here in the off chance it wasn't already explored as an option.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] laptop closure should not rfkill n952162 <n952162@×××.de>