Peak homelabbing
-
Take out the lid-close sensor and use it in a side project that requires a proximity sensor.
isn't it Hall sensor?
-
isn't it Hall sensor?
wrote last edited by [email protected]I might/might not be one.
But it definitely is a proximity sensor. Unless yours is an Apple device, in which case, it might be an angle sensor.
The term "Hall sensor" would refer to the tech used in it, whereas the term "proximity sensor" refers to its function.
It could be using any other proximity sensing technique too and it would still be a proximity sensor. -
I can't tell for sure, but it looks like a Lenovo y510p. Or at least it looks very similar to the one I owned back in the day.
There was a vent in the hinge, and these things would absolutely cook themselves with the lid closed
I'm currently using a y510p as a home lab. Every update resets the shutdown-on-lid-close setting. Had to set up a cron job to re-disable it on boot.
-
I might/might not be one.
But it definitely is a proximity sensor. Unless yours is an Apple device, in which case, it might be an angle sensor.
The term "Hall sensor" would refer to the tech used in it, whereas the term "proximity sensor" refers to its function.
It could be using any other proximity sensing technique too and it would still be a proximity sensor.technically yes. usually proximity sensor is used to mean IR or sonic sensors and I read in that sense.
-
isn't it Hall sensor?
If the Dexter actor is near it, the screen goes off
-
This post did not contain any content.
which one of you took a picture of my jellyfin server?
-
isn't it Hall sensor?
On thinkpads it is, there is a magnet on the bottom.
-
TIL: maybe my local laptop-server shouldn't have the lid closed. Probably not gonna change my ways, though. What an inconvenience that'd be
You should be able to deactivate shutdown or sleep mode on lid closure with some commands.
-
I'm currently using a y510p as a home lab. Every update resets the shutdown-on-lid-close setting. Had to set up a cron job to re-disable it on boot.
I'm pretty sure there is a regular systemd config option for that
-
Disable suspend when the laptop lid is closed:
sudo sed -i 's/#HandleLidSwitch=suspend/HandleLidSwitch=ignore/g' /etc/systemd/logind.conf sudo sed -i 's/#HandleLidSwitchExternalPower=suspend/HandleLidSwitchExternalPower=ignore/g' /etc/systemd/logind.conf sudo systemctl restart systemd-logind
If you are in a TTY, you can blank the screen before closing the lid to prevent burn-in. After running this, come back later and press a key to turn the screen on again.
alias blankscreen='setterm --blank=force; read ans; setterm --blank=poke'
put it in /etc/systemd/logind.conf.d/nosleep.conf so that updates can't ever undo this
-
See I would have more problems with cats chilling on the keyboard than folks closing the lid or unplugging it
It could be worse. I do not want to have to clean a hairball out of a keyboard ever again. (At least it was a desktop keyboard, so applying water was an option. I don't want to even think what would have been needed to clean a similarly soiled laptop.)
-
Disable sleep-on-lid-closed.
It's probably to prevent overheating.
Why is it just sitting on the carpet though?
-
It's probably to prevent overheating.
Why is it just sitting on the carpet though?
To prevent underheating, they're going for a medium laptop.
-
This post did not contain any content.
Man when I was a kid I ran a runescape private server for anywhere within 20-100 people at a time, and for the first few weeks users reported a lot of downtime, which didn't make sense to me as whenever I tried to login it was totally fine!!
Eventually figured out closing my laptop lid put the laptop to sleep and scraped together some chore money for a VPS lol
-
And the lid is not open because of preventing it sleeping, but rather to cool it down
But it looks like it's sitting on carpet which would definitely block the vents
-
Not how heat works.
If you're trying to heat your home, every electronic device becomes 100% efficient. All its "waste" heat becomes wanted heat. That it might only be 40W of heat is not the point.
Heat pumps can actually be over 100% efficient if you’re measuring it based on heat produced. Because heat pumps aren’t designed to produce heat; They’re designed to move it around via refrigerant. And if you can use 1w of energy to soak up and bring in 3w of heat, you’re now 300% efficient.
So by that metric, a server would be a “bad” heater. It would still contribute to your heating, but not as much as a heat pump would. It doesn’t mean the device is below 100% efficient, it just means the bar for “good” heaters is much higher than 100%.
-
Serious question that I've wondered about but never worked on.
Can you rig a laptop to keep running with the lid closed? Either by software or hardware? I guess you could cut the switch, but an OS-based solution would be neater.
Yes, in most OSes it’s just a setting you can toggle. But even if you can, you may want to leave it open for cooling. Lots of laptops are barely cooled enough to support themselves, and will often rely on radiating heat out of the case as a form of passive cooling. And even when the screen is open, they still struggle to stay cool. Closing the lid often makes these cooling issues much worse.
-
But it looks like it's sitting on carpet which would definitely block the vents
Truee, didn't see that. But generally just wanted to add to the vibe of these laptop hosters
-
You should be able to deactivate shutdown or sleep mode on lid closure with some commands.
I have the lid closed, yes. I wasn't aware that there could be a reason to choose to keep it open
-
Take out the lid-close sensor and use it in a side project that requires a proximity sensor.
I had a dell latitude for my first server. even when I removed the magnets, some how it still would detect that the kid was closed and turn off. I tried everything I could think of and more, without any luck. the solution? I removed the display entirely so it couldn't be closed and only used it via ssh or a VGA monitor if I really needed it.