proposal: set default lid state to S3, performance/economy Cx states to Cmax

2014-05-04 Thread Adrian Chadd
Hi, I'd like to propose flipping a few things: * Flipping the default lid state to S3. I think ACPI suspend/resume seems to work well enough these days and I've not met anyone lately who expects the default from their laptop to be stay awake with the lid shut. * Save chip bugs that we should add

Re: proposal: set default lid state to S3, performance/economy Cx states to Cmax

2014-05-04 Thread Ian Smith
On Sun, 4 May 2014 01:27:38 -0700, Adrian Chadd wrote: Hi, I'd like to propose flipping a few things: * Flipping the default lid state to S3. I think ACPI suspend/resume seems to work well enough these days and I've not met anyone lately who expects the default from their laptop to

Re: proposal: set default lid state to S3, performance/economy Cx states to Cmax

2014-05-04 Thread Rui Paulo
On May 4, 2014, at 1:27, Adrian Chadd adr...@freebsd.org wrote: * Flipping the default lid state to S3. I think ACPI suspend/resume seems to work well enough these days and I've not met anyone lately who expects the default from their laptop to be stay awake with the lid shut. The sysctl is

Re: proposal: set default lid state to S3, performance/economy Cx states to Cmax

2014-05-04 Thread Poul-Henning Kamp
In message 20140505011654.o11...@sola.nimnet.asn.au, Ian Smith writes: On Sun, 4 May 2014 01:27:38 -0700, Adrian Chadd wrote: 'Seems to work well enough' on a still fairly limited range of laptops, I gather. I'd say. I havn't seen suspend/resume work for ages on my T4xx laptops and as far as I

Re: proposal: set default lid state to S3, performance/economy Cx states to Cmax

2014-05-04 Thread Adrian Chadd
[snip] The easy-to-run test is sysctl dev.cpu.0.cx_lowest=Cmax and then use stuff. The problem is that we're not getting anywhere near enough exposure to this kind of stuff because we don't have it on by default and we don't have an active QA group with ridiculous amounts of hardware. So, I'd

Re: proposal: set default lid state to S3, performance/economy Cx states to Cmax

2014-05-04 Thread Adrian Chadd
On 4 May 2014 17:53, Warren Block wbl...@wonkity.com wrote: On Sun, 4 May 2014, Adrian Chadd wrote: [snip] The easy-to-run test is sysctl dev.cpu.0.cx_lowest=Cmax and then use stuff. It's that use stuff step that would preferably be automated. Is the failure mode a lockup, or could a

Re: proposal: set default lid state to S3, performance/economy Cx states to Cmax

2014-05-04 Thread Ian Smith
On Sun, 4 May 2014 17:25:50 -0700, Adrian Chadd wrote: [snip] The easy-to-run test is sysctl dev.cpu.0.cx_lowest=Cmax and then use stuff. This doesn't work, on stable/9 at least, in that it only sets cpu.0 .. you need to set sysctl hw.acpi.cpu.cx_lowest - which rather surprised me,

Re: proposal: set default lid state to S3, performance/economy Cx states to Cmax

2014-05-04 Thread Adrian Chadd
On 4 May 2014 22:18, Ian Smith smi...@nimnet.asn.au wrote: On Sun, 4 May 2014 17:25:50 -0700, Adrian Chadd wrote: [snip] The easy-to-run test is sysctl dev.cpu.0.cx_lowest=Cmax and then use stuff. This doesn't work, on stable/9 at least, in that it only sets cpu.0 .. you need to set

Re: proposal: set default lid state to S3, performance/economy Cx states to Cmax

2014-05-04 Thread Poul-Henning Kamp
In message CAJ-Vmo=actmb-tavz86gbwenit5oe1n8ju7+pw55xazcwg3...@mail.gmail.com , Adrian Chadd writes: I havn't seen suspend/resume work for ages on my T4xx laptops and as far as I recall it never worked on this T430s at all. I've tested it (-HEAD) on: * T43 * T60 * T60p * T400 * T500 * T420 *