Re: acpi shows wrong battery state

2010-09-04 Thread Ian Smith
On Sat, 4 Sep 2010, kuba guzik wrote: 2010/9/3 Andriy Gapon a...@icyb.net.ua: on 03/09/2010 17:45 kuba guzik said the following: Ok, I've recompiled kernel but your patch isn't working :/ verbose dmesg? http://kubag.pl/BSD/8.1-patch/dmesg.boot That's not a verbose dmesg, ie one

Re: acpi shows wrong battery state

2010-09-06 Thread Ian Smith
On Sun, 5 Sep 2010, Andriy Gapon wrote: on 05/09/2010 06:32 Ian Smith said the following: On Sat, 4 Sep 2010, kuba guzik wrote: 2010/9/3 Andriy Gapon a...@icyb.net.ua: on 03/09/2010 17:45 kuba guzik said the following: Ok, I've recompiled kernel but your patch isn't working

Re: acpi_ec: request for review and testing

2010-10-16 Thread Ian Smith
On Tue, 12 Oct 2010, Andriy Gapon wrote: on 11/10/2010 06:18 Ian Smith said the following: I've just done couple of MFCs to stable/8 and the patch should now apply cleanly. I will appreciate your testing. Cleanly enough, offset 1 line from Hunk #3 on. FreeBSD 8.1-STABLE #2: Fri Oct 15

Re: Could not map memory

2010-10-19 Thread Ian Smith
On Tue, 19 Oct 2010, rufina sarvarova wrote: Date: Tue, 19 Oct 2010 09:39:44 +0400 From: rufina sarvarova rufina.sarvar...@gmail.com To: freebsd-acpi@freebsd.org Subject: Could not map memory Hello I can't help with your problem, but you posted this same message SEVEN times in a

Re: Atheros 9285 Atheros AR8131

2011-03-28 Thread Ian Smith
to adrian@, who's been beavering away on ath recently. His take would seem to complement yours: Date: Sun, 27 Mar 2011 15:39:03 +0800 From: Adrian Chadd adr...@freebsd.org To: Ian Smith smi...@nimnet.asn.au Subject: Re: Atheros 9285 Atheros AR8131 (fwd) Hi, He's going to have crappy

Re: acpi_ibm fails to work on new laptop

2011-07-13 Thread Ian Smith
On Mon, 11 Jul 2011 16:34:43 -0700, Kevin Oberman wrote: I recently went from a ThinkPad T43 to a T520. On the T520, ac[i_ibm is not functional. 'sysctl dev.acpi_ibm' returns nothing. No volume control, though MUTE does work. Is the module actually loading? If so, verbose dmesg shpuld say

Re: acpi_ibm fails to work on new laptop

2011-07-15 Thread Ian Smith
On Thu, 14 Jul 2011, Kevin Oberman wrote: On Jul 13, 2011 10:30 AM, Ian Smith smi...@nimnet.asn.au wrote: On Mon, 11 Jul 2011 16:34:43 -0700, Kevin Oberman wrote: I recently went from a ThinkPad T43 to a T520. On the T520, ac[i_ibm is not functional. 'sysctl dev.acpi_ibm

Re: Suspend and resume on Dell E6520

2011-11-02 Thread Ian Smith
On Tue, 1 Nov 2011, Sebastian Chmielewski wrote: On Tue, 01 Nov 2011 13:53:52 + Gavin Atkinson ga...@freebsd.org wrote: Can I confirm that you have tried suspend/resume without any of the USB code loaded? If you set sysctl debug.acpi.resume_beep=1 before suspend, do you

Re: x220 notes

2012-04-03 Thread Ian Smith
On Mon, 2 Apr 2012, ??? wrote: [Matt wrote:] Only the fan speed value shows as 0x or something, however it can still be set 1-7 or back to automatic as usual Plus 0 for off, I guess? Sorry for asking, but I just can't find this. What is the command for changing the fan

Re: Brightness keys and booting the kernel

2012-05-01 Thread Ian Smith
On Tue, 1 May 2012 14:55:59 +0400, Nikolay Tychina wrote: Considering the fact that brightness keys work until kernel is loaded, is it possible to make them work after the kernel is booted in some simple way? I remember my previous laptop was able to control brightness without any

Re: How can I help with thinkpad x220 issues?

2012-05-23 Thread Ian Smith
On Wed, 23 May 2012 10:05:28 -0700, ??? wrote: Good news is that Konstantin's latest patch works with FreeBSD 9-STABLE so no longer need to run HEAD. I would love to see resume work, though. I don't suppose your Thinkpad maybe one of those that resumes properly, from X or from

Re: How can I help with thinkpad x220 issues?

2012-07-03 Thread Ian Smith
On Tue, 3 Jul 2012 18:20:22 +0700, Erich Dollansky wrote: On Tuesday, July 03, 2012 03:34:36 PM Natacha Porté wrote: [..] How did you get this value? No battery inserted? The range should be from 0 to 100. Indeed, I had no battery inserted. Years ago I took the habit of

Re: How can I help with thinkpad x220 issues?

2012-07-03 Thread Ian Smith
On Tue, 3 Jul 2012 18:23:18 +0700, Erich Dollansky wrote: On Tuesday, July 03, 2012 03:00:50 PM Natacha Porté wrote: on Monday 02 July 2012 at 19:28, matt wrote: It's also possible you are running an old bios? Trying to get a few things to work, I had the latest bios on my

Re: disabled CST_CNT write

2012-07-09 Thread Ian Smith
On Sun, 8 Jul 2012 09:49:57 -0700, Nate Lawson wrote: On Jul 8, 2012, at 2:11 AM, Andriy Gapon wrote: acpi_cpu.c has a block of code to write CST_CNT to SMI_CMD, but the block is under #ifdef notyet. It seems that the code was added that many years ago and never enabled.

Re: improve cx_lowest logic

2012-07-10 Thread Ian Smith
On Sun, 8 Jul 2012 13:22:49 +0300, Andriy Gapon wrote: I would like to propose the following change for review and testing: http://people.freebsd.org/~avg/acpi_cpu_cx_lowest.diff The idea is to separate effective cx_lowest (the limit that the idling code should not currently exceed)

Re: improve cx_lowest logic

2012-07-11 Thread Ian Smith
On Tue, 10 Jul 2012 09:31:26 -0700, Sean Bruno wrote: On Tue, 2012-07-10 at 07:27 -0700, Ian Smith wrote: I wonder if that explains why setting C3 on aforesaid T23 has no effect (in terms of dev.cpu.0.cx_usage indicating any time spent in C3) unless the machine happened

Re: notify userland about C-state changes

2012-10-04 Thread Ian Smith
On Wed, 3 Oct 2012, Andriy Gapon wrote: on 03/10/2012 20:40 Ian Smith said the following: So are you talking about a devd notification to trigger activity like the AC/battery script, or a sysctl that scripts could poll, or? devd notification like for AC line status change. I'll buy

Re: notify userland about C-state changes

2012-10-04 Thread Ian Smith
On Thu, 4 Oct 2012, Ian Smith wrote: On Wed, 3 Oct 2012, Andriy Gapon wrote: devd notification like for AC line status change. I'll buy one, when you MFC it back to 9 (8?) Sorry, that was flippant. Anything preventing applying this to 9, or 8? Ian

Re: x220 notes

2012-10-17 Thread Ian Smith
On Tue, 16 Oct 2012, ??? wrote: I set a lower light (5-6) during BIOS boot, and if needed I modify manually in X. I monitored my CPU usage and did notice that the CPU takes its sweet time to lower the frequency (Windows keeps the frequency the same 99.67, but changes the

Re: No keyboard after Suspend/Resume

2013-01-11 Thread Ian Smith
On Fri, 11 Jan 2013 09:12:08 -0500, Jason Selwitz wrote: Hello Ian, Thanks for taking a look at this, I have included a verbose dmesg for you in this e-mail, if you have a ny additional suggestions I'd love to hear them thank again, take care.. Jason Hi Jason. Please cc or

Re: acpi resume related patch

2013-01-25 Thread Ian Smith
On Fri, 25 Jan 2013 19:45:12 +0200, Andriy Gapon wrote: on 25/01/2013 19:40 Ian Smith said the following: On Fri, 25 Jan 2013 10:43:56 +0200, Andriy Gapon wrote: If you have ACPI suspend/resume working, if it used to work but stopped working at some time, if it never worked

Re: what is required to support a new laptop?

2013-01-29 Thread Ian Smith
On Mon, 28 Jan 2013 22:24:29 -0800, Kevin Oberman wrote: On Mon, Jan 28, 2013 at 11:06 AM, Eitan Adler li...@eitanadler.com wrote: On 28 January 2013 06:49, Lars Engels lars.eng...@0x20.net wrote: On Fri, Jan 25, 2013 at 08:55:40AM -0500, Eitan Adler wrote: Hi all, I recently

Re: what is required to support a new laptop?

2013-01-29 Thread Ian Smith
On Tue, 29 Jan 2013 10:59:09 -0500, Eitan Adler wrote: On 29 January 2013 10:50, Ian Smith smi...@nimnet.asn.au wrote: On Mon, 28 Jan 2013 22:24:29 -0800, Kevin Oberman wrote: On Mon, Jan 28, 2013 at 11:06 AM, Eitan Adler li...@eitanadler.com wrote: On 28 January 2013 06:49

Re: what is required to support a new laptop?

2013-01-29 Thread Ian Smith
On Tue, 29 Jan 2013 12:46:43 -0500, Eitan Adler wrote: On 29 January 2013 12:29, Ian Smith smi...@nimnet.asn.au wrote: Ah right. I don't suppose kldload -v shows anything useful about the problem loading it? Ah, never mind, it may be obvious .. lightly skimming your asl.y530.gz, I

Re: USB ports on Lenovo T400 do not work after a suspend/resume

2013-06-21 Thread Ian Smith
On Thu, 20 Jun 2013 14:19:21 -0700, Adrian Chadd wrote: Hi, FreeBSD-9 works fine on this Lenovo T400 - except that suspending with no USB devices plugged in result in no ports working after resume. If I have a device plugged in during suspend - on any port - then all the ports work

Re: USB ports on Lenovo T400 do not work after a suspend/resume

2013-06-25 Thread Ian Smith
On Tue, 25 Jun 2013 12:07:22 -0700, Adrian Chadd wrote: On 21 June 2013 05:48, Ian Smith smi...@nimnet.asn.au wrote: No acpidump output on -stable or -acpi anyway .. likely best as an URL, if it comes down to ACPI. Ok, I'll put it online in a sec. Doubt I know enough to spot

Re: USB ports on Lenovo T400 do not work after a suspend/resume

2013-06-27 Thread Ian Smith
On Wed, 26 Jun 2013 12:53:43 -0700, Adrian Chadd wrote: On 26 June 2013 12:51, Lars Engels lars.eng...@0x20.net wrote: On Tue, Jun 25, 2013 at 11:09:20PM -0700, Adrian Chadd wrote: [snip] ok, I'll do a boot -v tonight when I get home and log things. Thanks! Please also try a

Re: Resume on a Thinkpad L512

2013-06-29 Thread Ian Smith
On Fri, 28 Jun 2013 21:50:06 -0700, matt wrote: Try kldunloading any loaded kernel modules including usb. You may need to compile a more modular kernel. On 8 (.1 and .2) I only had to leave uhci, ohci and ehci (not usb) out of kernel and load / unload those around suspend/resume, but that's

Re: USB ports on Lenovo T400 do not work after a suspend/resume

2013-06-30 Thread Ian Smith
On Sat, 29 Jun 2013, Adrian Chadd wrote: On 27 June 2013 04:58, Ian Smith smi...@nimnet.asn.au wrote: We don't yet know if this is a bus, ACPI /or USB issue. Home yet? :) Yup: http://people.freebsd.org/~adrian/usb/ dmesg.boot = dmesg at startup 1 - after powerup, usb

Re: Hyper mode for powerd

2013-07-06 Thread Ian Smith
On Thu, 4 Jul 2013 30:12:12 -0600, Warren Block wrote: Attached is a proposed patch for -head that adds a hyper mode to powerd. Instead of slewing like the adaptive modes, this mode drops all the way to the lowest frequency when the system is idle, and jumps all the way to the highest

Re: USB ports on Lenovo T400 do not work after a suspend/resume

2013-07-06 Thread Ian Smith
On Sun, 30 Jun 2013 15:02:57 -0700, Adrian Chadd wrote: On 30 June 2013 07:22, Ian Smith smi...@nimnet.asn.au wrote: [..] Nothing of note that I can see, if that usb hub-to-bus remapping is normal. As you said, 'CPU0: local APIC error 0x40' looks maybe sus. Maybe someone who knows

Re: USB ports on Lenovo T400 do not work after a suspend/resume

2013-07-07 Thread Ian Smith
On Sun, 7 Jul 2013 03:26:24 -0700, Jeremy Chadwick wrote: On Sun, Jul 07, 2013 at 03:51:12PM +1000, Ian Smith wrote: On Sun, 30 Jun 2013 15:02:57 -0700, Adrian Chadd wrote: On 30 June 2013 07:22, Ian Smith smi...@nimnet.asn.au wrote: [..] Nothing of note that I can see

Re: USB ports on Lenovo T400 do not work after a suspend/resume

2013-07-07 Thread Ian Smith
On Sun, 7 Jul 2013 18:47:03 -0700, Adrian Chadd wrote: On 7 July 2013 13:49, Lars Engels lars.eng...@0x20.net wrote: On Sun, Jun 30, 2013 at 03:02:57PM -0700, Adrian Chadd wrote: On 30 June 2013 07:22, Ian Smith smi...@nimnet.asn.au wrote: After removing [numbers] (for WITNESS

Re: Hyper mode for powerd

2013-07-10 Thread Ian Smith
On Tue, 9 Jul 2013 12:40:11 -0600, Warren Block wrote: On Tue, 9 Jul 2013, Ian Smith wrote: On Sat, 6 Jul 2013 20:09:46 -0600, Warren Block wrote: On Sun, 7 Jul 2013, Ian Smith wrote: [..] the only thing that adjusts freqs is powerd itself. So no, it's not hunting for you

Re: Xeon E5 cpu work in low status

2013-11-04 Thread Ian Smith
On Mon, 4 Nov 2013, Adrian Chadd wrote: On 4 November 2013 14:24, Konstantin Belousov kostik...@gmail.com wrote: My Intel board DQ67OW starts with the fixed CPU speed, which is configurable in BIOS. Unless OS starts managing the frequency with the cpufreq and powerd, CPU is locked to

Re: P-state setting suddenly disappeared, what gives?

2013-11-15 Thread Ian Smith
On Fri, 15 Nov 2013, John Baldwin wrote: On Thursday, November 14, 2013 6:13:43 pm Jung-uk Kim wrote: On 2013-11-14 17:41:44 -0500, Adrian Chadd wrote: Hi all, I have this Lenovo T400 that I've been doing FreeBSD development on for a while. It has a P8700 in it:

Re: ACPI Error

2013-12-03 Thread Ian Smith
On Tue, 3 Dec 2013 11:27:47 +0400, ??? ?? wrote: Здравствуйте, Freebsd-acpi. Dec 3 10:57:40 fw kernel: AcpiOsExecute: failed to enqueue task, consider increasing the debug.acpi.max_tasks tunable Dec 3 10:57:40 fw kernel: ACPI Error: Method parse/execution failed [\_GPE._L24] (Node

Re: loud fan pavilion ze2000

2013-12-20 Thread Ian Smith
On Fri, 20 Dec 2013 10:00:35 -0500, ito wrote: Hi, I posted a question to the freebsd forums (under mobile computing) in which I was seeking help with a old laptop (hp pavilion ze2000) because of fan noise. The problem is not really that the fan is too loud, although that is part of

Re: loud fan pavilion ze2000

2013-12-21 Thread Ian Smith
On Sat, 21 Dec 2013 18:01:35 -0500, ito wrote: Hello Ian, At 50 through 62C the dev.cpu.0.freq: 1298 at 70C , 1135 back up to 1298 Right, 1135 / 1298 ~= .875 = 7/8, so yes that's your 1.3GHz CPU dropping down one step for thermal control. dev.cpu.0.freq_levels: 1298/-1

Re: loud fan pavilion ze2000

2013-12-31 Thread Ian Smith
On Mon, 30 Dec 2013 17:39:04 -0500, ito wrote: Ok, So I have tried looking around more, and working on powerd.There seems to be no difference in any change I make aside from the temperature staying below where I set PSV. hw.acpi.thermal.tz0_PSV: 85C (set back to what

Re: Current state of RTC wakeup support

2014-02-25 Thread Ian Smith
On Mon, 24 Feb 2014 18:13:16 +0100, Willi Eggeling wrote: Hi! According to the FreeBSD ACPI project page (http://www.freebsd.org/projects/acpi/) RTC support is not realized yet. As the last update was in 2006 I just wanted to ask if there is any change about RTC-triggered wakeup

Re: C-States configuration

2014-04-11 Thread Ian Smith
On Fri, 11 Apr 2014 00:22:43 -0700, hiren panchasara wrote: On Thu, Apr 10, 2014 at 12:18 AM, Kevin Oberman rkober...@gmail.com wrote: On Wed, Apr 9, 2014 at 11:22 AM, hiren panchasara hiren.panchas...@gmail.com wrote: On Wed, Apr 9, 2014 at 11:07 AM, Anton Sayetsky vsj...@gmail.com

Re: ACPI bug submission

2014-04-21 Thread Ian Smith
On Sat, 19 Apr 2014 22:15:00 +0100, Matt Grice wrote: Hi all, First of all, let me apologise if I have sent this report to you in error. I am using the latest version of PC-BSD 10 which I believe uses a vanilla kernel (excuse the linuxism) from FreeBSD. Symptoms: Lid close does not

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 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-05 Thread Ian Smith
On Sun, 4 May 2014 13:51:20 -0700, Adrian Chadd wrote: On 4 May 2014 13:00, Poul-Henning Kamp p...@phk.freebsd.dk wrote: 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

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

2014-05-05 Thread Ian Smith
On Mon, 5 May 2014 06:25:21 +, Poul-Henning Kamp wrote: In message 20140505153421.w11...@sola.nimnet.asn.au, Ian Smith writes: I need to do more tests on stable/9; it didn't work with the offered workarounds on 9.2-RELEASE (leaving VESA out of kernel leaves me with no screen

Re: Missing: hw.acpi.thermal.tz%d._HOT

2014-06-10 Thread Ian Smith
On Tue, 10 Jun 2014 09:54:14 -0500, Eric Neblock wrote: Hello all, I'm trying to figure out what is the _HOT temperature on my particular processor. I'm running FreeBSD 10 GENERIC on a Sunfire X2200. The processor is an Dual Core AMD Opteron 2218. In the GENERIC kernel, acpi is

Re: Missing: hw.acpi.thermal.tz%d._HOT

2014-06-10 Thread Ian Smith
On Tue, 10 Jun 2014 10:40:19 -0500, Eric Neblock wrote: On Wed, 2014-06-11 at 01:33 +1000, Ian Smith wrote: On Tue, 10 Jun 2014 09:54:14 -0500, Eric Neblock wrote: Hello all, I'm trying to figure out what is the _HOT temperature on my particular processor. I'm running FreeBSD

Re: Missing: hw.acpi.thermal.tz%d._HOT

2014-06-14 Thread Ian Smith
On Fri, 13 Jun 2014 10:08:57 -0700, hiren panchasara wrote: On Fri, Jun 13, 2014 at 9:22 AM, Ian Smith smi...@nimnet.asn.au wrote: On Thu, 12 Jun 2014 14:28:33 -0700, hiren panchasara wrote: On Tue, Jun 10, 2014 at 8:40 AM, Eric Neblock cen5...@louisiana.edu wrote: On Wed, 2014

Re: Missing: hw.acpi.thermal.tz%d._HOT

2014-06-14 Thread Ian Smith
On Sat, 14 Jun 2014 16:06:36 +1000, Ian Smith wrote: On Fri, 13 Jun 2014 10:08:57 -0700, hiren panchasara wrote: On Fri, Jun 13, 2014 at 9:22 AM, Ian Smith smi...@nimnet.asn.au wrote: On Thu, 12 Jun 2014 14:28:33 -0700, hiren panchasara wrote: On Tue, Jun 10, 2014 at 8:40 AM

Re: ACPI error messages on Lenovo W540

2014-06-18 Thread Ian Smith
On Tue, 17 Jun 2014 09:54:57 -0400, Eric McCorkle wrote: I'm trying to set up on a lenovo W540 mobile workstation I recently purchased. Things work well for the most part (including suspend/resume), however there's some error messages that I suspect are at the root of why the nvidia Xorg

Re: ACPI error messages on Lenovo W540

2014-06-21 Thread Ian Smith
On Fri, 20 Jun 2014 22:27:17 -0400, Eric McCorkle wrote: On 06/18/2014 03:17, Ian Smith wrote: On Tue, 17 Jun 2014 09:54:57 -0400, Eric McCorkle wrote: I'm trying to set up on a lenovo W540 mobile workstation I recently purchased. Things work well for the most part (including

Re: ACPI error messages on Lenovo W540

2014-06-25 Thread Ian Smith
On Tue, 24 Jun 2014 10:00:35 -0400, John Baldwin wrote: On Monday, June 23, 2014 6:42:28 pm Eric McCorkle wrote: On 06/23/2014 09:53, John Baldwin wrote: On Tuesday, June 17, 2014 9:54:57 am Eric McCorkle wrote: I suspect these might have something to do with the USB 3.0 system not

Re: Impossible shutdown

2014-06-26 Thread Ian Smith
On Thu, 26 Jun 2014 07:44:35 -0400, Anthony Jenkins wrote: On 06/25/2014 18:29, Bykov Vladislav wrote: Hello. I have a problem with ACPI on HP Envy 4 that causes in impossible shutdown. It reaches an error while prepairing to shutdown, and reboots the machine. I already did

Re: HP Compaq 8710W Battery status problems

2014-07-11 Thread Ian Smith
On Sat, 12 Jul 2014 01:53:22 +0200, Old Fart wrote: Sent: Friday, July 11, 2014 at 4:30 PM From: Old Fart flyfisherore...@mail.com To: freebsd-acpi@freebsd.org Subject: Re: HP Compaq 8710W Battery status problems Sent: Thursday, July 10, 2014 at 2:31 PM From: Anthony

Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E

2014-07-16 Thread Ian Smith
On Wed, 16 Jul 2014 09:26:08 -0400, Anthony Jenkins wrote: On 07/16/2014 01:32, Daniele Mazzotti wrote: Hi guys, thanks again for the support, but I am leaving for a businesses trip and I will be forced to put this debug thing on hold for a while. I will be back on track next week.

Re: ACPI support - Freebsd 10 on Sony Vaio VPCCA3C5E

2014-07-21 Thread Ian Smith
On Mon, 21 Jul 2014 12:30:23 -0400, John Baldwin wrote: On Thursday 17 July 2014 03:16:10 Ian Smith wrote: On Wed, 16 Jul 2014 09:26:08 -0400, Anthony Jenkins wrote: On 07/16/2014 01:32, Daniele Mazzotti wrote: Hi guys, thanks again for the support, but I am leaving

Re: [PATCH] ACPI CMOS region support - submission?

2014-08-05 Thread Ian Smith
On Sat, 2 Aug 2014 18:10:05 -0400, Anthony Jenkins wrote: I made a few minor changes since the last incarnation: - Defined the CMOS address/data register addresses as macros - Defined the (apparent) I/O delay as a macro Looks good, Anthony. I also verified the ACPI CMOS region code

Re: Problems with acpi (battery status not shown)

2014-09-05 Thread Ian Smith
On Fri, 5 Sep 2014 18:43:23 +0400, nick gigashvili wrote: Hi I'm having problem with acpi battery status is not updated it is freezed on 96% when on AC power, I'm running FreeBSD 10-RELEASE on HP Workstation 8570w. I tested ASL with iasl and it has syntax error. I coultn't boot with

Re: Problems with acpi (battery status not shown)

2014-09-08 Thread Ian Smith
On Mon, 8 Sep 2014 14:41:46 +0400, nick gigashvili wrote: When replying, please edit your Subject line so it is more specific than Re: Contents of freebsd-acpi digest... One has to be really careful replying to digests; not only to restore the Subject but also to quote no more than

Re: ThinkPad X61s suspend/resume status

2014-10-05 Thread Ian Smith
On Sat, 4 Oct 2014 18:19:10 +0100, Sevan / Venture37 wrote: On 22/09/2014 15:06, John Baldwin wrote: If you have a wiki account, can you create a page for your laptops at https://wiki.freebsd.org/Laptops Created https://wiki.freebsd.org/Laptops/Thinkpad_X61s started filling the

Re: ACPI debug messages

2014-10-12 Thread Ian Smith
On Sat, 11 Oct 2014 14:10:07 -0400, Eric McCorkle wrote: Hello, I decided to try tracing through the evaluation of the DSM method in order to track down where the graphics driver failure I mentioned earlier is coming from. However, it looks like there's already an extensive debug

Re: [Bug 194884] [acpi] Asus UX31E USB hangs during suspend, due to putting the USB controllers into D3 state

2014-11-08 Thread Ian Smith
On Fri, 7 Nov 2014 19:08:58 +, bugzilla-nore...@freebsd.org wrote: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194884 Adrian Chadd adr...@freebsd.org changed: What|Removed |Added

Re: Fwd: [Bug 194884] [acpi] Asus UX31E USB hangs during suspend, due to putting the USB controllers into D3 state

2014-11-14 Thread Ian Smith
On Sat, 8 Nov 2014 22:21:33 -0800, Adrian Chadd wrote: Hi! Please test this patch! It makes this Asus Zenbook suspend/resume correctly. (And if you're knowledgable about such things, please comment on its correctness!) thanks! -adrian and more recently:

Re: ENXIOing non-present battery

2014-12-08 Thread Ian Smith
On Mon, 8 Dec 2014 15:27:10 -0800, Adrian Chadd wrote: What's the output of acpiconf -i0 and acpiconf -i1? I wonder if changing 'state' to something else would keep everything happy. On 8 December 2014 at 15:08, Colin Percival cperc...@freebsd.org wrote: On 12/07/14 08:03, Adrian

Re: ENXIOing non-present battery

2014-12-10 Thread Ian Smith
On Tue, 9 Dec 2014 10:42:39 +0100, Dan Lukes wrote: On 12/09/14 06:33, Ian Smith: Normally with 2 batteries catered for and only one fitted you'd expect to see battery1: ACPI Control Method Battery on acpi0 battery1: battery initialization start battery1: battery initialization

Re: ENXIOing non-present battery

2014-12-12 Thread Ian Smith
On Fri, 12 Dec 2014 14:36:18 -0800, Colin Percival wrote: On 12/12/14 07:21, John Baldwin wrote: On Thursday, December 11, 2014 01:05:49 PM Colin Percival wrote: On 12/11/14 11:08, John Baldwin wrote: Does setting hint.battery.1.disabled=1 work for you? That fixes the dev.battery

Re: Laptop Battery drains insanely Fast!

2015-02-12 Thread Ian Smith
On Thu, 12 Feb 2015 20:39:14 +1100, Ian Smith wrote: Thu Feb 12 20:12:47 EST 2015 dev.cpu.0.freq: 800 0.79% 12.31% 86.89% last 694us { 0.51 0.55 0.50 } 0.64% 11.17% 88.17% last 227us { HPET } [..] Ignore these load average figures shown with HPET timecounter, they're utter

Re: Laptop Battery drains insanely Fast!

2015-02-12 Thread Ian Smith
On Wed, 11 Feb 2015 18:38:45 +0200, george ember wrote: Hi. I have a lenovo Ideapad p400 touchscreen. My problem is the battery. Drains too fast. In idle ~1% per minute!!! I tried almost everything but my battery still loses power extremely fast! This is my post on FreeBSD forum

Re: Laptop Battery drains insanely Fast!

2015-02-12 Thread Ian Smith
fine. Not top-posting - M$ outlock style - would be a nice touch though :) cheers, Ian === 2015-02-12 11:39 GMT+02:00 Ian Smith smi...@nimnet.asn.au: [..] ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi

Re: [Bug 162859] [acpi] ACPI battery/acline monitoring partialy working (switching)

2015-01-04 Thread Ian Smith
On Sat, 3 Jan 2015 11:45:05 +, bugzilla-nore...@freebsd.org wrote: Please excuse this off-'zilla merely speculative response. No time, but I've spent (wasted?) some time chasing a couple of these outside the PR. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=162859 --- Comment

Re: [Bug 162859] [acpi] ACPI battery/acline monitoring partialy working (switching)

2015-01-08 Thread Ian Smith
On Thu, 8 Jan 2015 21:30:10 +1100, Ian Smith wrote: So it seems; I'll post a proper response based on the text above and my musings below to bugzilla .. such details are important, and I should have been game to speculate there originally, my apologies to all. Argh. After spending 10

Re: [Bug 162859] [acpi] ACPI battery/acline monitoring partialy working (switching)

2015-01-08 Thread Ian Smith
On Wed, 7 Jan 2015 20:23:51 +0200, Juris Kaminskis wrote: 2015-01-05 17:27 GMT+02:00 Juris Kaminskis juris.kamins...@gmail.com: 2015-01-04 15:17 GMT+02:00 Ian Smith smi...@nimnet.asn.au: On Sat, 3 Jan 2015 11:45:05 +, bugzilla-nore...@freebsd.org wrote: Please excuse

Re: [PATCH] ACPI CMOS region support rev. 4

2015-03-16 Thread Ian Smith
On Sat, 14 Mar 2015 23:40:34 -0400, Anthony Jenkins wrote: How about this one? :-) Sorry it's a week late. +static unsigned int atrtc_verbose = 0; +SYSCTL_UINT(_debug, OID_AUTO, atrtc_verbose, CTLFLAG_RWTUN, + atrtc_verbose, 0, AT-RTC Debug Level (0-2)); +#define ATRTC_DBG_PRINTF(level,

Re: [PATCH] ACPI CMOS region support rev. 4

2015-03-16 Thread Ian Smith
On Mon, 16 Mar 2015 11:50:59 -0400, Anthony Jenkins wrote: On 03/16/2015 11:00 AM, Anthony Jenkins wrote: On 03/16/2015 09:59 AM, Ian Smith wrote: On Sat, 14 Mar 2015 23:40:34 -0400, Anthony Jenkins wrote: +if (!acpi_check_rtc_byteaccess(function == ACPI_READ, address

Re: [PATCH] ACPI CMOS region support rev. 5

2015-03-17 Thread Ian Smith
On Mon, 16 Mar 2015 15:51:30 -0400, Anthony Jenkins wrote: On 03/16/2015 01:49 PM, Ian Smith wrote: On Mon, 16 Mar 2015 11:50:59 -0400, Anthony Jenkins wrote: On 03/16/2015 11:00 AM, Anthony Jenkins wrote: On 03/16/2015 09:59 AM, Ian Smith wrote: On Sat, 14 Mar 2015 23:40:34

Re: [PATCH] ACPI CMOS region support rev. 5

2015-03-19 Thread Ian Smith
On Wed, 18 Mar 2015 15:30:23 -0600, Warner Losh wrote: On Mar 18, 2015, at 10:06 AM, Anthony Jenkins anthony.b.jenk...@att.net wrote: On 03/18/2015 11:29 AM, Warner Losh wrote: On Mar 17, 2015, at 7:02 AM, Anthony Jenkins anthony.b.jenk...@att.net wrote: \Where else might

Re: [PATCH] ACPI CMOS region support rev. 5

2015-03-19 Thread Ian Smith
On Thu, 19 Mar 2015 09:11:08 -0400, Anthony Jenkins wrote: On 03/19/2015 04:10 AM, Ian Smith wrote: On Wed, 18 Mar 2015 15:30:23 -0600, Warner Losh wrote: On Mar 18, 2015, at 10:06 AM, Anthony Jenkins anthony.b.jenk...@att.net wrote: On 03/18/2015 11:29 AM, Warner Losh

Re: [PATCH] ACPI CMOS region support rev. 3 [was Re: No acpi_dell(4)]

2015-03-01 Thread Ian Smith
On Fri, 27 Feb 2015 23:26:16 -0500, Anthony Jenkins wrote: On 02/27/15 21:56, Bruce Evans wrote: On Sat, 28 Feb 2015, Ian Smith wrote: I'm going to contract this down to a couple of points, ok fellas? Don't worry about any extra locking; this is going to be used at boot and/or resume

Re: HP Compaq CQ62/42 acpi

2015-03-25 Thread Ian Smith
On Thu, 26 Mar 2015 11:37:51 +1000, Da Rock wrote: On 03/25/15 09:52, Kevin Oberman wrote: On Tue, Mar 24, 2015 at 3:23 AM, Da Rock freebsd-a...@herveybayaustralia.com.au mailto:freebsd-a...@herveybayaustralia.com.au wrote: I have 2 laptops as mentioned, 3 all amd athlon

Re: ACPI problems op ASrock

2015-09-29 Thread Ian Smith
On Sat, 26 Sep 2015 10:17:20 +0200, Arthur van der Peijl wrote: > Thank you for assistance: powerd must clearly not be my focus: the > CPU stays high and thus cannot go into idle mode. > No need to change performance_cx_lowest as I just have a Pentium > G3220 running. > > [root@zfsguru

Re: disabling sleep when shutting down

2015-09-26 Thread Ian Smith
see the point, but I don't think there's any harm in > doing that too. We should prevent suspending _during_ shutdown to SU, of course. Once happily in SU, is there any reason to disallow suspend? I've done it. > * Ian Smith would like to have suspend blocked for the last 5 minutes bef

Re: disabling sleep when shutting down

2015-09-27 Thread Ian Smith
On Sat, 26 Sep 2015 11:56:10 -0700, Colin Percival wrote: > On 09/26/15 10:59, Ian Smith wrote: > > On Sat, 26 Sep 2015 00:26:31 -0700, Colin Percival wrote: > > > Points without consensus: > > > * jkim thinks we should prevent suspend when we're dropping to &

Re: disabling sleep when shutting down

2015-09-18 Thread Ian Smith
On Thu, 17 Sep 2015 16:22:55 -0700, Colin Percival wrote: > On 09/17/15 14:39, Dan Lukes wrote: > > Colin Percival wrote: > >> I considered that option but thought that disabling suspend completely > >> would be better in case it was triggered by something else > > > > You has been affected

Re: disabling sleep when shutting down

2015-09-23 Thread Ian Smith
On Tue, 22 Sep 2015 01:28:27 -0100, Colin Percival wrote: > On 09/20/15 03:04, Ian Smith wrote: > > On Sun, 20 Sep 2015 00:16:36 -0700, Colin Percival wrote: > > > On 09/18/15 11:29, Anthony Jenkins wrote: > > > > Is it possible for /etc/rc.shut

Re: AMD A12-8800B ACPI questions (turbo mode, temp zones)

2015-12-16 Thread Ian Smith
On Tue, 15 Dec 2015 10:05:36 -0500, Johannes Dieterich wrote: > thanks for the response! > > On Tue, Dec 15, 2015 at 9:15 AM, Ian Smith <smi...@nimnet.asn.au> wrote: > > On Sun, 13 Dec 2015 19:53:52 -0500, Johannes Dieterich wrote: > > > Dear list, >

Re: Get information about batteries

2015-12-10 Thread Ian Smith
On Thu, 10 Dec 2015 07:20:29 +0100, ga...@zahemszky.hu wrote: > 2015-12-09 21:03 idpontban Adrian Chadd ezt írta: > > acpiconf -i0 and acpiconf -i1? does that work? > > OK, I've got it. Thanks for the quick answer. > ( Actually one of my batteries is full dead, even with acpiconf, > I could

Re: AMD A12-8800B ACPI questions (turbo mode, temp zones)

2015-12-15 Thread Ian Smith
On Sun, 13 Dec 2015 19:53:52 -0500, Johannes Dieterich wrote: > Dear list, > > I am running CURRENT on an HP elitebook 745 G3 which comes with a AMD > A12-8800B CPU. All in all, it runs very well with just a few nits to > pick. Two of them are ACPI related. > > 1) there are 5 thermal

Re: Regarding Wake On USB input from S3 Sleep

2016-02-11 Thread Ian Smith
On Thu, 11 Feb 2016 13:16:48 +0100, Hans Petter Selasky wrote: > On 02/11/16 13:08, Dee Zay wrote: > > Hello, > > > > So, is the BIOS handover to the USB stack a prerequisite when resuming from > > standby mode HC (not completely off HC)? > > Hi, > > I'm not sure. You'll have to find

Re: ACPI CMOS and HP laptops

2016-02-20 Thread Ian Smith
On Fri, 19 Feb 2016 19:03:17 -0500, Anthony Jenkins via freebsd-acpi wrote: Hi Anthony, It's been nearly 11 months, I see. > Just got another HP laptop and it also needs support for the ACPI CMOS device > to suspend/resume, power down, etc. Simple enough to plop my patch into my > -CURRENT

Re: Suspend to RAM problem

2016-04-22 Thread Ian Smith
On Thu, 21 Apr 2016 23:03:05 +0200, Michael Freisinger wrote: > Hello, > > I've built up a NAS system with the following hardware: > > - Mainboard: ASUS B150M-K D3 LGA1151 > - CPU: Intel BX80662G4400 Prozessor > - RAM: 2x 8GB Kingston ValueRAM DDR3-1600 DIMM CL11 Single > > As OS I'm

Re: Problems with CPU throttling on HP 15-n066us laptop

2016-08-20 Thread Ian Smith
On Sat, 20 Aug 2016 09:50:22 -0400, am_d...@fastmail.fm wrote: > On Thu, Aug 18, 2016, at 09:14 AM, Anthony Jenkins wrote: > > Try this patch, that's what I'm running. > I applied this patch to the latest 11 source and built my kernel and now > I have cpu throttling on the AMD machine. I see