Re: Power OFF button on very old motherboard with FreeBSD 7.2

2010-05-03 Thread John Baldwin
dmesg that would be helpful. Can you please get the output of acpidump -t and post it to the mailing list as a followup? -- John Baldwin Thank you, I add hint.apic.0.disabled=1 (without ) to the end of loader.conf, now it looks like: acpi_load=YES apm_load=YES

Re: About acpi0: reservation of ... failed message in `dmesg`

2010-05-11 Thread John Baldwin
that these resource ranges are allocated by the ram0 device. -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org

Re: kern/120515: [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc wake memory

2010-06-02 Thread John Baldwin
The following reply was made to PR kern/120515; it has been noted by GNATS. From: John Baldwin j...@freebsd.org To: bug-follo...@freebsd.org, arthur.hart...@nokia.com Cc: Subject: Re: kern/120515: [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc wake memory Date: Wed, 02 Jun 2010 09:08:14

Re: kern/119356: [acpi]: i386 ACPI wakeup not work due resource exhaustion

2010-06-02 Thread John Baldwin
The following reply was made to PR kern/119356; it has been noted by GNATS. From: John Baldwin j...@freebsd.org To: bug-follo...@freebsd.org, d...@obluda.cz Cc: Subject: Re: kern/119356: [acpi]: i386 ACPI wakeup not work due resource exhaustion Date: Wed, 02 Jun 2010 09:08:50 -0400 Can you

Re: Problem network devices Acer Extensa 5635G

2010-06-11 Thread John Baldwin
On Thursday 10 June 2010 7:45:32 am subgeometer wrote: boot -v output for acer 5635z (sorry about the delay) Ok, it is the PCI bridge resource issue. :( -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: bin/151616: [acpi]: FreeBSD 8 panic on boot.

2010-10-21 Thread John Baldwin
The following reply was made to PR bin/151616; it has been noted by GNATS. From: John Baldwin j...@freebsd.org To: bug-follo...@freebsd.org, dam...@gmail.com Cc: Subject: Re: bin/151616: [acpi]: FreeBSD 8 panic on boot. Date: Thu, 21 Oct 2010 07:43:07 -0400 Can you get capture the messages

Re: bin/151616: [acpi]: FreeBSD 8 panic on boot.

2010-10-27 Thread John Baldwin
the messages since the start of boot ? Thank you. Actually, it seems that apic_alloc_vector() is what is failing. Can you do 'show apic' in DDB and capture that output via your camera? -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http

Re: Removing acpi.ko support

2010-10-28 Thread John Baldwin
On Thursday, October 28, 2010 1:01:24 pm Scott Long wrote: On Oct 28, 2010, at 10:54 AM, John Baldwin wrote: [ cc'ing acpi@ to be safe, but I think the topic warrants the wider audience of arch@ ] I think we should drop support for having acpi load as a module for i386

Re: Removing acpi.ko support

2010-10-28 Thread John Baldwin
On Thursday, October 28, 2010 2:50:42 pm Scott Long wrote: On Thu, 28 Oct 2010, John Baldwin wrote: On Thursday, October 28, 2010 1:01:24 pm Scott Long wrote: On Oct 28, 2010, at 10:54 AM, John Baldwin wrote: [ cc'ing acpi@ to be safe, but I think the topic warrants the wider audience

Re: MacBookPro 5,1

2010-11-02 Thread John Baldwin
is that we not use the prs_template, perhaps just save the type of the resource and build a new resource object from scratch where the resource is zero'd, the appropriate bits are set and then that resource is appended to the buffer being built. -- John Baldwin

Re: MacBookPro 5,1

2010-11-02 Thread John Baldwin
On Tuesday, November 02, 2010 4:14:05 pm Jung-uk Kim wrote: On Tuesday 02 November 2010 03:41 pm, John Baldwin wrote: On Tuesday, November 02, 2010 3:29:01 pm Jung-uk Kim wrote: On Tuesday 02 November 2010 11:29 am, Andriy Gapon wrote: on 29/10/2010 08:51 Andriy Gapon said the following

Re: MacBookPro 5,1

2010-11-02 Thread John Baldwin
On Tuesday, November 02, 2010 4:50:18 pm Jung-uk Kim wrote: On Tuesday 02 November 2010 04:24 pm, John Baldwin wrote: On Tuesday, November 02, 2010 4:14:05 pm Jung-uk Kim wrote: On Tuesday 02 November 2010 03:41 pm, John Baldwin wrote: On Tuesday, November 02, 2010 3:29:01 pm Jung-uk Kim

Re: MacBookPro 5,1

2010-11-03 Thread John Baldwin
On Tuesday, November 02, 2010 6:32:12 pm Jung-uk Kim wrote: On Tuesday 02 November 2010 05:26 pm, John Baldwin wrote: On Tuesday, November 02, 2010 4:50:18 pm Jung-uk Kim wrote: On Tuesday 02 November 2010 04:24 pm, John Baldwin wrote: On Tuesday, November 02, 2010 4:14:05 pm Jung-uk Kim

Re: MacBookPro 5,1

2010-11-03 Thread John Baldwin
On Wednesday, November 03, 2010 12:25:37 pm Jung-uk Kim wrote: On Wednesday 03 November 2010 08:28 am, John Baldwin wrote: On Tuesday, November 02, 2010 6:32:12 pm Jung-uk Kim wrote: On Tuesday 02 November 2010 05:26 pm, John Baldwin wrote: On Tuesday, November 02, 2010 4:50:18 pm Jung

Re: Tyan S3992-E: hpet no longer working

2011-01-05 Thread John Baldwin
the DSDT tells us in terms of the memory address. Arno, are there any BIOS options that mention the HPET or have you updated your BIOS since you booted the 7.1 kernel? -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org

Re: Tyan S3992-E: hpet no longer working

2011-01-07 Thread John Baldwin
On Thursday, January 06, 2011 5:32:08 pm Arno J. Klaassen wrote: John Baldwin j...@freebsd.org writes: On Wednesday, January 05, 2011 4:39:24 pm Arno J. Klaassen wrote: Hello, I have (a long-lasting) problem to get hpet attached to a Tyan S3992-E MB. My last known working kernel

Re: Tyan S3992-E: hpet no longer working

2011-01-10 Thread John Baldwin
On Saturday, January 08, 2011 11:46:02 am Alexander Motin wrote: Arno J. Klaassen wrote: John Baldwin j...@freebsd.org writes: On Thursday, January 06, 2011 5:32:08 pm Arno J. Klaassen wrote: John Baldwin j...@freebsd.org writes: On Wednesday, January 05, 2011 4:39:24 pm Arno J

Re: Atheros 9285 Atheros AR8131

2011-03-28 Thread John Baldwin
and not gracefully recovering from that. I have some early work in progress to address this, but it will be a while before I have something ready for testing. -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: Atheros 9285 Atheros AR8131

2011-03-28 Thread John Baldwin
in the ASL, but is a side effect of some BIOS code that runs in SMM when ACPI is turned on. -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to freebsd-acpi-unsubscr

Re: Atheros 9285 Atheros AR8131

2011-04-07 Thread John Baldwin
On 4/6/11 5:51 PM, Nate Lawson wrote: On 4/6/2011 1:00 PM, John Baldwin wrote: On Monday, March 28, 2011 2:06:27 pm John Baldwin wrote: We've never figured out what is zeroing the registers in the PCI-PCI bridges. I suspect it is not something in the ASL, but is a side effect of some BIOS code

Re: Atheros 9285 Atheros AR8131

2011-04-07 Thread John Baldwin
On 4/7/11 1:25 PM, Nate Lawson wrote: On 4/7/2011 6:53 AM, John Baldwin wrote: On 4/6/11 5:51 PM, Nate Lawson wrote: Wow, awesome work. This is really useful for fixing a common problem. Should bus_adjust_resource() be a DEVMETHOD or is this something that should be done automatically within

Re: kern/91594: [em] FreeBSD gt; 5.4 w/ACPI fails to detect Intel Pro/1000 MT 4-port NIC in PCI slot 3 of DL380 G4 [regression]

2011-04-28 Thread John Baldwin
The following reply was made to PR kern/91594; it has been noted by GNATS. From: John Baldwin j...@freebsd.org To: bug-follo...@freebsd.org, b...@bsd.de Cc: Subject: Re: kern/91594: [em] FreeBSD gt; 5.4 w/ACPI fails to detect Intel Pro/1000 MT 4-port NIC in PCI slot 3 of DL380 G4 [regression

[PATCH] Change acpi_parse_resources() to use AcpiWalkResources()

2011-05-02 Thread John Baldwin
count); void (*set_start_dependent)(device_t dev, void *context, int preference); -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail

Re: kern/91594: [em] FreeBSD gt; 5.4 w/ACPI fails to detect Intel Pro/1000 MT 4-port NIC in PCI slot 3 of DL380 G4 [regression]

2011-06-07 Thread John Baldwin
in this case: w-rman.rm_type = RMAN_ARRAY; snprintf(buf, sizeof(buf), %s %s window, device_get_nameunit(sc-dev), w-name); w-rman.rm_descr = strdup(buf, M_DEVBUF); error = rman_init(w-rman); -- John Baldwin

Only attach device_t objects to ACPI devices with a _HID

2011-06-15 Thread John Baldwin
= AcpiAttachData(handle, acpi_fake_objhandler, pci_child); if (ACPI_FAILURE(status)) printf(WARNING: Unable to attach object data to %s - %s\n, -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org

Re: i386/122887: [panic] [atkbdc] 7.0-RELEASE on IBM HS20 panics immediately when switching VGA port at BladeCenter

2011-10-26 Thread John Baldwin
. It would be interesting to see if this still occurs in 8 and later since they will let the ACPI instance of atkbdc claim the ISA hint. -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi

Re: Suspend and resume on Dell E6520

2011-11-29 Thread John Baldwin
suspend and resume otherwise worked. -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org

Re: kern/162578: 9.0-RC2's regression in power management on VIA Samuel 2

2012-01-03 Thread John Baldwin
fix John suggested is above my skills I think the PR can be closed. Can you try an updated HEAD and see if a stock ASL works? -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe

Re: ACPI error caused by broken asl, how to fix?

2012-02-03 Thread John Baldwin
the 'hw.acpi.reset_video' sysctl to see if that helps your screen come back on during resume. -Original Message- From: John Baldwin Sent: 03/02/2012 2:42:58 pm To: freebsd-acpi@freebsd.org Cc: Jakob Pedersen Subject: Re: ACPI error caused by broken asl, how to fix? On Thursday, February 02

Re: ACPI for Asus Notebook N50Vc

2012-02-13 Thread John Baldwin
, .mled_set = MLED, .wled_set = WLED, -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to freebsd-acpi-unsubscr

Re: ACPI for Asus Notebook N50Vc

2012-02-21 Thread John Baldwin
, acpi_asus_wapf); + /* Handle notifies */ if (sc-model-n_func == NULL) sc-model-n_func = acpi_asus_notify; -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi

Re: bin/126162: [acpi] ACPI autoload failed : loading required module quot; pciquot; - no such file or directories

2012-02-21 Thread John Baldwin
The following reply was made to PR bin/126162; it has been noted by GNATS. From: John Baldwin j...@freebsd.org To: bug-follo...@freebsd.org, ad...@mail.ru Cc: Subject: Re: bin/126162: [acpi] ACPI autoload failed : loading required module quot;pciquot; - no such file or directories Date: Tue

Re: ACPI for Asus Notebook N50Vc

2012-02-22 Thread John Baldwin
); + /* Configure wlan key. */ + acpi_SetInteger(sc-handle, WAPF, acpi_asus_wapf); + /* Handle notifies */ if (sc-model-n_func == NULL) sc-model-n_func = acpi_asus_notify; -- John Baldwin ___ freebsd-acpi@freebsd.org mailing

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-15 Thread John Baldwin
- devclass_add_device - devclass_alloc_unit. That is, the unit for the wildcard devices should still be -1 here and should not even get to this message. I wonder if this is related to the recent changes to set the unit number for CPUs? -- John Baldwin

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-16 Thread John Baldwin
On Tuesday, May 15, 2012 12:35:12 pm Andriy Gapon wrote: on 15/05/2012 17:34 John Baldwin said the following: On Monday, May 14, 2012 12:41:37 pm Andriy Gapon wrote: on 14/05/2012 01:43 Bruce Cran said the following: On 13/05/2012 21:06, Andriy Gapon wrote: Can you produce an equivalent

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-16 Thread John Baldwin
On Wednesday, May 16, 2012 12:18:25 pm Andriy Gapon wrote: on 16/05/2012 17:50 John Baldwin said the following: On Tuesday, May 15, 2012 12:35:12 pm Andriy Gapon wrote: Not sure what you disagree with... First, the wildcard device is added to the child list during the walk. Then, the unit

Re: ACPI 'driver bug: Unable to set devclass'

2012-05-17 Thread John Baldwin
On Thursday, May 17, 2012 11:33:56 am Andriy Gapon wrote: on 17/05/2012 17:05 John Baldwin said the following: On Wednesday, May 16, 2012 4:07:43 pm John Baldwin wrote: Oh, whoops. Actually, the right way to do this I think is bus_hint_device_unit() (and/or, not make the unit number

Re: [CFT] Sparse Cstate Support -- Its possible, that I don't know what I'm doing.

2012-06-21 Thread John Baldwin
. -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org

Re: IPMI attachment fails: vendor bug, or just unusual choice?

2012-06-26 Thread John Baldwin
workaround for parsing _CRS. (_CRS should only return assigned resources, so those should always be fixed, not variable ranges.) If you can convince Quanta to fix their BIOS that would be the best result however. -- John Baldwin ___ freebsd-acpi

Re: [CFT] Sparse Cstate Support -- Its possible, that I don't know what I'm doing.

2012-06-27 Thread John Baldwin
) rather than change our code to allow sparse ACPI Cx states. -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org

Re: safe acpi_cpu_idle disabling

2012-07-09 Thread John Baldwin
you need the locking, I think all you need to add is the smp_rendezvous() call. The IPI mechanism has sufficient membar's already, and the smp_rendezvous() function itself will not return to the caller until all the CPUs can see the write to disable idling. -- John Baldwin

Re: [ patch ] improper handling of ACPI TCPA table, acpidump abend imminent

2012-07-09 Thread John Baldwin
from sys/endian.h instead of nthol(). -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org

Re: ACPI errors on ASUS M5A88-M m/b

2012-07-12 Thread John Baldwin
? I realize aibs didn't work, though it seems it simply may not support your system. The acpi_hpet1 thing just seems to be a duplicate device (acpi_hpet0 attached fine), so I believe you can most likely ignore that. -- John Baldwin ___ freebsd-acpi

Re: amd64/169779: [patch] powerd doesn't honor the -n flag

2012-07-12 Thread John Baldwin
) { acline_mode = ac_sysctl; I suspect this is correct, but cc'ing acpi@ to see if anyone there has any comments. -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe

Re: ACPI errors on ASUS M5A88-M m/b

2012-07-13 Thread John Baldwin
-bus works. When you load a new ACPI driver (like acpi_aiboost), all ACPI devices that don't have a driver are re-probed (in case the new driver handles any of those devices). This results in the extra HPET device being re-probed as well. -- John Baldwin

Re: Time to increase MAX_TASKS?

2012-07-30 Thread John Baldwin
mfid0 on mfi0 /snip the current value in sys/dev/acpica/acpivar.h of 32 is no longer sufficient on the r420/r320 Sandybridge class of box. I am currently running with a value of 128 and doing a bit of testing. I think it should be something like MAX(32, MAXCPU). -- John Baldwin

Re: Time to increase MAX_TASKS?

2012-08-13 Thread John Baldwin
On Wednesday, August 08, 2012 12:59:23 pm Sean Bruno wrote: On Wed, 2012-08-08 at 04:25 -0700, John Baldwin wrote: I meant that with the limit jacked up to something that silences the warning (such as 128), what is the max number of tasks queued? I set debug.acpi.max_tasks=128

Re: Dell acpi_video patch

2012-10-12 Thread John Baldwin
(DOD_DEVID_SCHEME_STD | DOD_DEVID_MASK_FULL)) == + adr) { argset-callback(handle, val, argset-context); argset-count++; } -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http

Re: Dell acpi_video patch

2012-10-15 Thread John Baldwin
On Friday, October 12, 2012 7:57:43 pm Alberto Villa wrote: On Fri, Oct 12, 2012 at 4:06 PM, John Baldwin j...@freebsd.org wrote: I think this is correct, but in we need to do more to properly handle that flag (DOD_DEVID_SCHEME_STD). Specifically, we shouldn't trust any bits in the device

Re: Dell acpi_video patch

2012-10-18 Thread John Baldwin
On Wednesday, October 17, 2012 9:08:34 pm Alberto Villa wrote: On Mon, Oct 15, 2012 at 5:12 PM, John Baldwin j...@freebsd.org wrote: Interesting. Can you get an acpidump? Sure: http://people.FreeBSD.org/~avilla/files/avilla.asl.gz I'd be glad to solve my problems with ACPI! Ah, looks

Re: Dell acpi_video patch

2012-10-18 Thread John Baldwin
On Friday, October 12, 2012 12:33:49 pm Juergen Lock wrote: On Fri, Oct 12, 2012 at 10:06:17AM -0400, John Baldwin wrote: On Friday, October 05, 2012 5:53:16 pm Juergen Lock wrote: Hi! I finally took a closer look why acpi_video found nothing on my Dell laptop (Precision M4500

Re: Dell acpi_video patch

2012-10-18 Thread John Baldwin
On Thursday, October 18, 2012 4:58:42 pm Alberto Villa wrote: On Thu, Oct 18, 2012 at 2:58 PM, John Baldwin j...@freebsd.org wrote: Ah, looks like your BIOS excludes DOD_DEVID_SCHEME_STD from it's _ADR methods (but does included it in on the list of displays returned by _DOD). Please

Re: Dell acpi_video patch

2012-10-19 Thread John Baldwin
On Friday, October 19, 2012 10:34:08 am Alberto Villa wrote: On Thu, Oct 18, 2012 at 11:16 PM, John Baldwin j...@freebsd.org wrote: Ok, can you possibly hack acpi_video to output the values returned _DOD (in hex) and the _ADR values (in hex) of your outputs? I've read the ACPI spec

Re: Dell acpi_video patch

2012-10-19 Thread John Baldwin
On Thursday, October 18, 2012 3:57:23 pm Juergen Lock wrote: On Thu, Oct 18, 2012 at 08:59:14AM -0400, John Baldwin wrote: On Friday, October 12, 2012 12:33:49 pm Juergen Lock wrote: On Fri, Oct 12, 2012 at 10:06:17AM -0400, John Baldwin wrote: On Friday, October 05, 2012 5:53:16 pm

Re: Dell acpi_video patch

2012-10-19 Thread John Baldwin
On Friday, October 19, 2012 11:41:56 am Alberto Villa wrote: On Fri, Oct 19, 2012 at 4:53 PM, John Baldwin j...@freebsd.org wrote: I'm looking at section B.4.2 in the 3.0b spec, it has a sample _DOD of: I've read section B.3.2 of 5.0 spec, which looks the same as 3.0b, but my IDs don't have

Re: Dell acpi_video patch

2012-10-19 Thread John Baldwin
On Friday, October 19, 2012 11:23:57 am Alberto Villa wrote: On Fri, Oct 12, 2012 at 4:06 PM, John Baldwin j...@freebsd.org wrote: I think this is correct, but in we need to do more to properly handle that flag (DOD_DEVID_SCHEME_STD). Specifically, we shouldn't trust any bits

Re: Dell acpi_video patch

2012-10-20 Thread John Baldwin
On Friday, October 19, 2012 06:21:00 PM Alberto Villa wrote: On Fri, Oct 19, 2012 at 7:13 PM, John Baldwin j...@freebsd.org wrote: Yes, unless bit 31 is set, we can't know anything about bits 0-15 except that they are unique. Specifically, we can't look at the Display Type bits

Re: Dell acpi_video patch

2012-10-22 Thread John Baldwin
On Saturday, October 20, 2012 9:37:40 am Alberto Villa wrote: On Sat, Oct 20, 2012 at 2:40 PM, John Baldwin j...@freebsd.org wrote: Oh, no, I hadn't been able to tell from your ASL that bit 16 was set (it's not that easy to guess as it computes the ID's dynamically at runtime. I see. I

Re: Fixing X220 Video The Right Way

2013-02-25 Thread John Baldwin
in vgapci's IVARs. Is there a better place to correct the ACPI_PATH that gets stored in vgapci's ivar? Is there already a tunable I can use to fix this? vgapci's ivar is set by the PCI address. Do you have multiple vgapci devices? -- John Baldwin

Re: Fixing X220 Video The Right Way

2013-02-27 Thread John Baldwin
On Tuesday, February 26, 2013 9:32:33 pm matt wrote: On 02/26/13 10:46, John Baldwin wrote: On Monday, February 25, 2013 11:20:29 pm matt wrote: On 02/25/13 18:33, Adrian Chadd wrote: [101232] acpi_video0: ACPI video extension on vgapci0 found Internal/Integrated Digital Flat Panel(400

Re: Fixing X220 Video The Right Way

2013-02-28 Thread John Baldwin
On Thursday, February 28, 2013 8:15:46 am matt wrote: On 02/27/13 12:27, John Baldwin wrote: On Wednesday, February 27, 2013 1:35:43 pm matt wrote: On 02/27/13 09:00, John Baldwin wrote: If that is true, it's because your BIOS is lying. Do you have a URL to your ASL lying around already

Re: call suspend_cpus() under smp_ipi_mtx

2013-04-01 Thread John Baldwin
, I think intr_table_lock used to be a spin lock at some point. I don't remember why we changed it to a regular mutex. It may be that there was a lock order reason for that. :( -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http

Re: kern/163268: [acpi_hp] [patch] fix driver detach in absence of CMI

2013-04-12 Thread John Baldwin
); } static int -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org

Re: panic: acpi_pci_link_srs_from_crs: can't put non-ISA IRQ 20 in legacy IRQ resource type)

2013-04-19 Thread John Baldwin
) + req-sc-pl_crs_bad = TRUE; break; default: if (req-in_dpf == DPF_IGNORE) -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi

Re: panic: acpi_pci_link_srs_from_crs: can't put non-ISA IRQ 20 in legacy IRQ resource type)

2013-04-19 Thread John Baldwin
On Friday, April 19, 2013 4:18:49 pm Benjamin Lee wrote: On Fri, 19 Apr 2013 11:31:49 -0400, John Baldwin j...@freebsd.org wrote: On Thursday, April 18, 2013 3:49:40 pm Benjamin Lee wrote: I have a system that panics on boot with 10-CURRENT and boots with many ACPI error messages and non

Re: panic: acpi_pci_link_srs_from_crs: can't put non-ISA IRQ 20 in legacy IRQ resource type)

2013-04-20 Thread John Baldwin
, and _SRS is expecting that layout. I think the other patch I posted to this thread should fix the end tag and allow my earlier patch to work as a workaround for this system. -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http

Re: panic: acpi_pci_link_srs_from_crs: can't put non-ISA IRQ 20 in legacy IRQ resource type)

2013-04-20 Thread John Baldwin
On Friday, April 19, 2013 06:21:10 PM Benjamin Lee wrote: On Fri, 19 Apr 2013 17:26:31 -0400, John Baldwin j...@freebsd.org wrote: On Friday, April 19, 2013 4:18:49 pm Benjamin Lee wrote: On Fri, 19 Apr 2013 11:31:49 -0400, John Baldwin j...@freebsd.org wrote: On Thursday, April 18

Re: panic: acpi_pci_link_srs_from_crs: can't put non-ISA IRQ 20 in legacy IRQ resource type)

2013-04-29 Thread John Baldwin
On Friday, April 26, 2013 2:59:20 pm Moore, Robert wrote: -Original Message- From: Benjamin Lee [mailto:b...@b1c1l1.com] Sent: Friday, April 26, 2013 11:40 AM To: Moore, Robert Cc: John Baldwin; freebsd-acpi@freebsd.org; Zheng, Lv; Guan, Chao Subject: Re: panic

Re: Fixing suspend/resume on Lenovo x220

2013-06-13 Thread John Baldwin
? -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org

Re: Fixing X220 Video The Right Way

2013-06-14 Thread John Baldwin
On Thursday, March 07, 2013 9:13:38 pm matt wrote: On 02/28/13 09:09, John Baldwin wrote: On Thursday, February 28, 2013 8:15:46 am matt wrote: On 02/27/13 12:27, John Baldwin wrote: On Wednesday, February 27, 2013 1:35:43 pm matt wrote: On 02/27/13 09:00, John Baldwin wrote

Re: kern/91594: [acpi] FreeBSD gt; 5.4 w/ACPI fails to detect Intel Pro/1000 MT 4-port NIC in PCI slot 3 of DL380 G4 [regression]

2013-07-02 Thread John Baldwin
The following reply was made to PR kern/91594; it has been noted by GNATS. From: John Baldwin j...@freebsd.org To: bug-follo...@freebsd.org, b...@bsd.de Cc: Subject: Re: kern/91594: [acpi] FreeBSD gt; 5.4 w/ACPI fails to detect Intel Pro/1000 MT 4-port NIC in PCI slot 3 of DL380 G4 [regression

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

2013-07-08 Thread John Baldwin
was properly reset? Are you using MSI at all? -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org

Re: suspend/resume on Lenovo X1 (regression from reports on wiki)

2013-08-30 Thread John Baldwin
slowdown, but I'm using a very simple tiling window manager (i3wm). -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org

Re: suspend/resume on Lenovo X1 (regression from reports on wiki)

2013-09-03 Thread John Baldwin
at a random time rather than when vgapci0 is being suspended and resumed. Actually, it looks like jkim fixed this via the vgapm driver, except I have no vgapm0 device on my laptop. I wonder if it's supposed to be device_get_unit() instead of device_get_flags() in the vgapm identify routine? -- John

Re: suspend/resume on Lenovo X1 (regression from reports on wiki)

2013-09-03 Thread John Baldwin
On Tuesday, September 03, 2013 4:12:01 pm Jung-uk Kim wrote: On 2013-09-03 12:28:30 -0400, John Baldwin wrote: On Sunday, September 01, 2013 3:51:47 pm Adrian Chadd wrote: (cc jkim) Hi! Would you mind taking a look at the -acpi list posts with this subject? It looks like a lot

Re: suspend/resume on Lenovo X1 (regression from reports on wiki)

2013-09-04 Thread John Baldwin
On Wednesday, September 04, 2013 3:14:32 pm Bengt Ahlgren wrote: Jung-uk Kim j...@freebsd.org writes: On 2013-09-04 09:29:35 -0400, John Baldwin wrote: On Tuesday, September 03, 2013 6:58:55 pm Jung-uk Kim wrote: On 2013-09-03 16:47:47 -0400, John Baldwin wrote: Even with that hacked so

Re: panic after acpi suspend/resume 9.1, 9.2rc3

2013-09-09 Thread John Baldwin
find 'm' in one of the registers? -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org

Re: panic after acpi suspend/resume 9.1, 9.2rc3

2013-09-13 Thread John Baldwin
On Thursday, September 12, 2013 9:23:39 pm J.R. Oldroyd wrote: On Mon, 9 Sep 2013 16:54:27 -0400 John Baldwin j...@freebsd.org wrote: (kgdb) list *0x80ceddcd 0x80ceddcd is in pmap_enter (../../../amd64/amd64/pmap.c:3577). 3572if ((m-oflags

Re: Suspend/Resume on Dell E6410 Laptop

2013-10-22 Thread John Baldwin
reliably for some Thinkpad laptops using i915. The LCD will only turn back on if you suspend/resume in X, but not at the console. -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi

Re: Xeon E5 cpu work in low status

2013-11-04 Thread John Baldwin
powerd to not need any changes. You could use a different sysctl node that is throttling percent or some such. If throttling kicked in on a system with TC1/TC2 then 'freq' wouldn't change when the CPU was throttled, only the throttling percent. -- John Baldwin

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

2013-11-15 Thread John Baldwin
the acpi_perf(4) driver. -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org

Re: ACPI issues with PC engines APU beta board

2014-01-28 Thread John Baldwin
); + } + AcpiOsFree(devinfo); + } +} + /* If the resource is already allocated, fail. */ if (resource_list_busy(rl, type, rid)) return (EBUSY); -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http

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

2014-05-05 Thread John Baldwin
. However, it is hard to identify those cases. On modern systems I would expect the LAPIC to work just fine, so this problem will become less and less important as time goes on. -- John Baldwin ___ freebsd-acpi@freebsd.org mailing list http

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

2014-05-05 Thread John Baldwin
On Monday, May 05, 2014 12:55:29 pm Adrian Chadd wrote: On 5 May 2014 08:09, John Baldwin j...@freebsd.org wrote: On Sunday, May 04, 2014 4:27:38 am 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

Re: suspend issues with latest -HEAD, ahci failing to complete something?

2014-05-06 Thread John Baldwin
Queueing enabled ada0: 305245MB (625142448 512 byte sectors: 1H 63S/T 16383C) ada0: quirks=0x14K ada0: Previously was known as ad4 ses0 at ahciem0 bus 0 scbus3 target 0 lun 0 ses0: AHCI SGPIO Enclosure 1.00 0001 SEMB S-E-S 2.00 device ses0: SEMB SES Device -- John Baldwin

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

2014-05-06 Thread John Baldwin
On Tuesday, May 06, 2014 2:08:35 pm Adrian Chadd wrote: On 5 May 2014 13:57, John Baldwin j...@freebsd.org wrote: The user in question found this on 9-stable with the existing defaults as the HPET was just plain broken on their system and that was unrelated to Cx states. (Rather, Cx

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

2014-05-07 Thread John Baldwin
On Tuesday, May 06, 2014 6:15:46 pm Ian Lepore wrote: On Tue, 2014-05-06 at 16:37 -0400, John Baldwin wrote: On Tuesday, May 06, 2014 2:08:35 pm Adrian Chadd wrote: On 5 May 2014 13:57, John Baldwin j...@freebsd.org wrote: The user in question found this on 9-stable with the existing

Re: Investigating failed suspend/resume T61

2014-05-27 Thread John Baldwin
On Tuesday, May 27, 2014 1:39:48 pm Sean Bruno wrote: On Tue, 2014-05-27 at 11:32 -0400, John Baldwin wrote: On Friday, May 23, 2014 12:14:58 pm Sean Bruno wrote: Trying to figure out the failures on suspend resume for the T61 I have. I see a little acpi error at host startup, but I don't

Re: Investigating failed suspend/resume T61

2014-05-28 Thread John Baldwin
On Wednesday, May 28, 2014 7:08:36 am Sean Bruno wrote: On Tue, 2014-05-27 at 16:14 -0400, John Baldwin wrote: On Tuesday, May 27, 2014 1:39:48 pm Sean Bruno wrote: On Tue, 2014-05-27 at 11:32 -0400, John Baldwin wrote: On Friday, May 23, 2014 12:14:58 pm Sean Bruno wrote: Trying

Re: Investigating failed suspend/resume T61

2014-05-28 Thread John Baldwin
On Wednesday, May 28, 2014 12:10:55 pm Sean Bruno wrote: On Wed, 2014-05-28 at 10:54 -0400, John Baldwin wrote: On Wednesday, May 28, 2014 7:08:36 am Sean Bruno wrote: On Tue, 2014-05-27 at 16:14 -0400, John Baldwin wrote: On Tuesday, May 27, 2014 1:39:48 pm Sean Bruno wrote: On Tue

Re: Investigating failed suspend/resume T61

2014-05-28 Thread John Baldwin
On Wednesday, May 28, 2014 12:44:44 pm Jung-uk Kim wrote: On 2014-05-28 12:20:24 -0400, John Baldwin wrote: On Wednesday, May 28, 2014 12:10:55 pm Sean Bruno wrote: On Wed, 2014-05-28 at 10:54 -0400, John Baldwin wrote: On Wednesday, May 28, 2014 7:08:36 am Sean Bruno wrote: On Tue, 2014

Re: Investigating failed suspend/resume T61

2014-05-28 Thread John Baldwin
On Wednesday, May 28, 2014 2:16:03 pm Jung-uk Kim wrote: On 2014-05-28 13:44:46 -0400, John Baldwin wrote: On Wednesday, May 28, 2014 12:44:44 pm Jung-uk Kim wrote: On 2014-05-28 12:20:24 -0400, John Baldwin wrote: On Wednesday, May 28, 2014 12:10:55 pm Sean Bruno wrote: On Wed, 2014-05

Re: Investigating failed suspend/resume T61

2014-05-28 Thread John Baldwin
On Wednesday, May 28, 2014 4:06:54 pm Jung-uk Kim wrote: On 2014-05-28 15:56:37 -0400, John Baldwin wrote: On Wednesday, May 28, 2014 2:16:03 pm Jung-uk Kim wrote: On 2014-05-28 13:44:46 -0400, John Baldwin wrote: On Wednesday, May 28, 2014 12:44:44 pm Jung-uk Kim wrote: On 2014-05-28 12

Re: Investigating failed suspend/resume T61

2014-05-29 Thread John Baldwin
On Wednesday, May 28, 2014 6:14:34 pm Jung-uk Kim wrote: On 2014-05-28 17:29:35 -0400, John Baldwin wrote: Err, I think it enables GPE1 as otherwise ACPICA assumes GPE1 has a length of zero (and is thus invalid)? Perhaps _PTS wants to frob something that uses GPE1 that this fixes

Re: ACPI error messages on Lenovo W540

2014-06-23 Thread John Baldwin
, the spec says that this function should return a Buffer, but ACPICA seems to think it should return a Package. It would be good to track down which specific arguments were passed to _DSM and then examine the acpidump to see which path that would take. -- John Baldwin

Re: powerd stopped working after update from 8.4 to 9.2

2014-06-23 Thread John Baldwin
+device_attach: acpi_throttle0 attach returned 6 Any ideas what I can do? acpi_timer0 also failed to probe due to a resource issue. Can you get the output of 'devinfo -rv' and 'devinfo -u' from the both kernels? -- John Baldwin ___ freebsd-acpi@freebsd.org

Re: powerd stopped working after update from 8.4 to 9.2

2014-06-24 Thread John Baldwin
On Monday, June 23, 2014 7:12:23 pm Hilko Meyer wrote: John Baldwin wrote: On Sunday, June 22, 2014 9:27:08 pm Hilko Meyer wrote: Hi, powerd doesn't work anymore after the update from 8.4 to 9.2. The system has an old (more than 10 years) mainboard with Via KT133 chipset. I made

Re: ACPI error messages on Lenovo W540

2014-06-24 Thread John Baldwin
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 working, though I don't have experience with either the ACPI

Re: powerd stopped working after update from 8.4 to 9.2

2014-06-24 Thread John Baldwin
On Tuesday, June 24, 2014 1:36:41 pm Hilko Meyer wrote: On Tue, 24 Jun 2014 10:26:52 -0400, you wrote: On Monday, June 23, 2014 7:12:23 pm Hilko Meyer wrote: John Baldwin wrote: On Sunday, June 22, 2014 9:27:08 pm Hilko Meyer wrote: powerd doesn't work anymore after the update from

Re: powerd stopped working after update from 8.4 to 9.2

2014-06-25 Thread John Baldwin
On Wednesday, June 25, 2014 8:03:58 am Hilko Meyer wrote: John Baldwin schrieb: On Tuesday, June 24, 2014 1:36:41 pm Hilko Meyer wrote: On Tue, 24 Jun 2014 10:26:52 -0400, you wrote: On Monday, June 23, 2014 7:12:23 pm Hilko Meyer wrote: John Baldwin wrote: On Sunday, June 22, 2014 9

  1   2   >