Posted Feb 3, 2011 12:42 UTC (Thu) by foom (subscriber, #14868)
[Link]
Huh. Maybe I just don't know what I'm missing, but I've never missed this feature running OSX (which afaik doesn't have the option to not sleep on lid-close).
It does disable auto-sleep when closing the lid while having an external display/keyboard/mouse attached (or maybe even just some subset of those, I haven't tested). That seems to cover the normal usecase for me.
Quotes of the week
Posted Feb 3, 2011 12:49 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)
[Link]
>Huh. Maybe I just don't know what I'm missing, but I've never missed this feature running OSX (which afaik doesn't have the option to not sleep on lid-close).
And I was using Insomniax on Mac OS to get the same behavior, while cursing the stupidity of OS X designers.
Also, I quite often close the lid of my notebook to move it to another place. I certainly don't want it to hibernate every time.
Quotes of the week
Posted Feb 3, 2011 13:41 UTC (Thu) by fb (subscriber, #53265)
[Link]
> Also, I quite often close the lid of my notebook to move it to another place. I certainly don't want it to hibernate every time.
I do the same, specially when I need to carry something else.
I always wished there was a configuration setting such as "suspend if closed for more than 60 secs".
Quotes of the week
Posted Feb 3, 2011 16:27 UTC (Thu) by sbohrer (subscriber, #61058)
[Link]
At my office we all have Mac laptops most running OS X. It is very common to see people wandering the halls with their laptop deliberately half open to prevent it from sleeping.
Since I run Linux on mine I've always been able to happily close my laptop as I walk back to my office.
Quotes of the week
Posted Feb 3, 2011 18:14 UTC (Thu) by ikm (subscriber, #493)
[Link]
> Maybe I just don't know what I'm missing, but I've never missed this feature running OSX (which afaik doesn't have the option to not sleep on lid-close).
The difference is that OSX does this flawlessly, while with Linux chances are high something is screwed after you resume (if you manage to resume at all). Hence the original GNOME posting about not providing an option despite the need.
Quotes of the week
Posted Feb 3, 2011 19:09 UTC (Thu) by mjg59 (subscriber, #23239)
[Link]
I strongly disagree. The majority of machines now have reliable suspend/resume under Linux. If yours doesn't, that's a bug in the kernel. Should userspace add workarounds for users to avoid kernel bugs?
Quotes of the week
Posted Feb 3, 2011 19:19 UTC (Thu) by ikm (subscriber, #493)
[Link]
I don't know which majority you are referring too - it certainly does not include any of my laptops. Answering your question: yes, userspace should add workarounds if it is supposed to be used by an end-user (as opposed to early adopters and alpha testers).
Quotes of the week
Posted Feb 3, 2011 19:24 UTC (Thu) by mjg59 (subscriber, #23239)
[Link]
Every laptop I've tested in the past two years. Have you got a bug open for the ones that don't work?
Quotes of the week
Posted Feb 3, 2011 19:28 UTC (Thu) by ikm (subscriber, #493)
[Link]
No, I have other stuff to do in my life than tracking obscure issues. And I have had enough of this - the next laptop of mine will be a Mac running OSX.
Quotes of the week
Posted Feb 3, 2011 19:32 UTC (Thu) by mjg59 (subscriber, #23239)
[Link]
Expecting software designers to cater for bugs that haven't even been reported is pretty unreasonable.
Quotes of the week
Posted Feb 3, 2011 23:44 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)
[Link]
My laptop can't hibernate - it just doesn't resume. Is it a userspace issue or kernel space? How to debug it? Frankly, I don't care.
My another notebook with crappy Poulsbo video card fails to resume from suspend-to-RAM in about 10% of cases. Oh, and it uses a proprietary driver. You do accept kernel bugs for proprietary drivers, don't you?
This change is nuts. There are good use-cases for doing just nothing instead of inventing 'solutions' aimed to work around the bugs in certain hardware.
Quotes of the week
Posted Feb 4, 2011 12:41 UTC (Fri) by rahulsundaram (subscriber, #21946)
[Link]
If you don't care, ignore it. If you care, file it with the hardware details, kernel version and let the developer ask for more information if necessary.
Quotes of the week
Posted Feb 4, 2011 12:44 UTC (Fri) by Cyberax (✭ supporter ✭, #52523)
[Link]
I've had experience with an attempt to post a bug for a tainted kernel. I don't want to repeat this experience.
Quotes of the week
Posted Feb 4, 2011 14:39 UTC (Fri) by rahulsundaram (subscriber, #21946)
[Link]
Easy enough to see whether any proprietary drivers are resulting in the breakage by disabling them temporarily. If the problem is still there, report to LKML. If not, consult with the proprietary driver vendor.
Quotes of the week
Posted Feb 4, 2011 14:45 UTC (Fri) by Cyberax (✭ supporter ✭, #52523)
[Link]
No, it doesn't happen. However, there's no Compiz and OpenGL running and I'm fairly sure it's caused by Compiz.
Quotes of the week
Posted Feb 4, 2011 15:51 UTC (Fri) by rahulsundaram (subscriber, #21946)
[Link]
Then file it against Compiz. I don't see the reason to resist doing that if you have already figured out the source.
Quotes of the week
Posted Feb 5, 2011 0:58 UTC (Sat) by giraffedata (subscriber, #1954)
[Link]
Expecting software designers to cater for bugs that haven't even been reported is pretty unreasonable.
True, but then ikm never said he expects software designers to address these bugs.
I don't report bugs. The probably of the report resulting in a fix is too small to justify my time. I just accept my loss and look for the next best alternative.
I'm cognizant of the fact that if the bug affects only me, there's a vanishing chance that some developer working for free will be interested in fixing it, and if it affects a lot of people, someone else will have reported it or, better yet, some developer with the means to fix it will have experienced it himself.
Quotes of the week
Posted Feb 5, 2011 1:03 UTC (Sat) by mjg59 (subscriber, #23239)
[Link]
At this stage, if you have a machine with an in-kernel graphics driver and it fails to suspend or resume then there aren't huge numbers of people reporting the bug. Really. Suspend/resume is part of the certification process for RHEL now and I get all the related bugs. There simply aren't that many, and in general it's something like hibernate failing because someone's swap partition vanished. I really would encourage you to report any suspend/resume issues to bugzilla.kernel.org and the massive probability is that it'll be tracked down quickly.
Quotes of the week
Posted Feb 5, 2011 1:05 UTC (Sat) by ikm (subscriber, #493)
[Link]
Even if there's an NVIDIA blob involved?
Quotes of the week
Posted Feb 5, 2011 1:09 UTC (Sat) by mjg59 (subscriber, #23239)
[Link]
If you can repeat the bug with nouveau, then file it. If not, file with nvidia. I'm afraid that I work for a free software company, so we tend to make decisions based on the code that we actually ship.
Quotes of the week
Posted Feb 3, 2011 19:38 UTC (Thu) by boudewijn (subscriber, #14185)
[Link]
Have fun then... I had one for a year, in 2010, and I had my share of having to track obscure issues. When I got it there was a hair wedged between backlight and pixel panel. When I gave it back a year later, there were random vertical blue and purple stripes over the screen, unless I pressed the enclosure in exactly the right way. It wouldn't come out of sleep about once a week (meaning about 10% of the times I put it to sleep). I wouldn't go to sleep, too, and then get really hot in my backpack. And one day sound broke. Then there was an Apple OSX upgrade that forced me to reinstall. Poof! went my development environment. And I'm fine with Safari wanting a holiday on the beach, but I got so regularly beach-balled that I felt a proper outsider who had applied for a posh London club. Watching a dvd was extremely annoying, because unlike dragon or xine, I couldn't skip the mandatory warnings at the beginning of the dvd. And in that year I've seen the gray kernel panic screen in a veritable babel of languages at least five times.
I don't think there's any platform, any computer system, that works as advertised, without grief, without bugs, without hardware problems, without obscure little issues you either learn to live with or have to track down.
Quotes of the week
Posted Feb 3, 2011 20:32 UTC (Thu) by jmitchel (guest, #11611)
[Link]
I missed it. The combination of cats running around and an open laptop is a bad one.