Summary
When I run get-iplayer or youtube-dl at the bash prompt to download a TV program
or video, I find that if I close the laptop lid,
the download halts. With
youtube-dl, after re-opening the lid, it resumes the download after about 1
minute. With get-iplayer, after re-opening the lid, it sometimes doesn't resume
the download at all.
Similarly, when downloading a video using Firefox web browser, the download
halts when the lid is closed (and resumes after the lid is re-opened).
I use a wifi connection.
MAIN QUESTION 1:
What is causing this halting when the lid is closed? And what do I need to do
to fix it?
I've tried several lid disabling methods, but none of them cure the problem. I
also discovered an ACPI message that dmesg displays about the lid. See Full
Details about the disabling methods and about dmesg.
MAIN QUESTION 2:
Because the problem occurs with downloading, COULD THE PROBLEM BE SPECIFIC TO
THE NETWORK CARD? If so, is there some way of accessing the network card and
telling it to ignore the lid?
lspci and lshw show that the "wireless interface" is
Network controller: Broadcom Corporation BCM43227 802.11b/g/n.
Full Details
1. SPEC:
Laptop model is Acer Aspire 5755G, i5, running live knoppix 7.7.1 with
persistence, on USB stick. I've been using this setup for a year with few other
problems.
2. With the "ignore lid" settings in place, other (non-downloading) processes
continue to work happily when the lid is closed. For example, at the bash
prompt, if I play an mp3 audio file (a song), then close the lid, it continues
playing. Similarly, if I echo the numbers 1 to 100 with a 1 second sleep
between them, there is no interruption when I close the lid.
3. I've tried all the following
lid disablings but none of them cure the
download halting problem:
Code:
a) In /etc/systemd/logind.conf, the following were already as follows:
HandleLidSwitch=ignore
#LidSwitchIgnoreInhibited=yes (commented-out)
b) I put IgnoreLid=true in /etc/UPower/UPower.conf
c) In /etc/default/acpi-support, "#LID_SLEEP=true" was already commented-out.
d) In /etc/acpi/events/lidbtn, I commented-out the following 2 lines
#event=button[ /]lid
#action=/etc/acpi/lid.sh
Actually there is no file called /etc/acpi/lid.sh.
e) I was going to do the following: gconf-editor, in apps > gnome-power-manager
> buttons, set lid_ac and lid_battery to nothing. However, in my gconf-editor
there is no "gnome-power-manager" under "apps".
f) $ sudo echo PNP0C0D:00 > /sys/bus/acpi/drivers/button/unbind
(where PNP0C0D:00 is the device name of the lid).
g) $ systemd-inhibit --what=handle-lid-switch youtube-dl ...
h) At boot prompt I typed "knoppix acpi=off".
4. I discovered the following (when acpi is on). After I close the lid (or after
I open it), dmesg displays the entry
[ 278.729314] ACPI: More than one Lid device found!
Is this a clue as to what the problem is? However, when acpi is off, the
download halting problem still exists. So acpi appears not to be the problem,
and so perhaps this acpi message isn't a clue.