On 07/07/2012 17:53, Brandon Gooch wrote:
On Wed, Jul 4, 2012 at 5:46 AM, Gustau Pérez i Querol
<gpe...@entel.upc.edu> wrote:
This could be similar to thinkpads, see my response to Honest Qiao's
X201...
Here's the short version:

In single user, set hw.pci.do_power_resume=0 and
hw.pci.do_power_suspend=0

Try suspend bounce (and if successful suspend) with suspend beep sysctl
on.

If that fails (either bounce or full suspend) try just
hw.pci.do_power_resume=1

repeat test (bounce then full suspend)

If that fails (either bounc or full suspend) try just
hw.pci.do_power_suspend=1

repeat test (bounce then full suspend)

    Thanks Matt for your suggestions.

    I'll use suspend for hw.pci.do_power_suspend and resume for
hw.pci.do_power_resume.

    The tests were made in single user with an stripped kernel (I can show a
kldload -v if needed); no firewire, sdhci, mmc, if_ath, if_em, etc .

    The short story is:

       - without bounce and any combination of suspend and resume, the
machine beeps forever when resuming from a full suspend
       - with bounce, with any combination of s/r but suspend=1 and resume=0
the machine stays alive without video (it gets full illuminated). With
bounce and suspend=1 and resume=0 the machine freezes hard (I heard no beep
because of bounce=1)

    With bounce (when it doesn't freeze) I can do ls -laR /, grep's and I see
the HD spining, so it stays alive with the bounce.

    I tried the same tests (8) with acpi_video loaded and the results were
the same. Because it seems to work with bounce and because it beeps when
returning from a full suspend I would say that the problem is in the resume
code path.

   I could also do all the tests with acpi_fujitsu but it only gives the
possibility to use the acpi controlled buttons on the notebook. The first
time I tried to suspend/resume I was using acpi_fujitsu and the machine did
not resume.

   Thanks for your help.


--
---------------------------------------------------------------------------
Prou top-posting :      http://ca.wikipedia.org/wiki/Top-posting
Stop top-posting :      http://en.wikipedia.org/wiki/Posting_style

O O O Gustau Pérez i Querol
O O O Departament d'Enginyeria Telemàtica
O O O Universitat Politècnica de Catalunya
       Edifici C3 - Despatx S101-B
  UPC  Campus Nord UPC
       C/ Jordi Girona, 1-3
       08034 - Barcelona
Gustau,

Can you show the output of `devinfo -v` from your system?

I've been able to pinpoint an issue with resume on my notebook
(equipped with nvidia). I'm curious whether this could also affect
intel users...

See my reply in another thread:

http://lists.freebsd.org/pipermail/freebsd-acpi/2012-July/007677.html

-Brandon

I'll try what you suggested in the other thread. In the meantime I'm attaching the devinfo -v output.

Thank you

--
---------------------------------------------------------------------------
Prou top-posting :      http://ca.wikipedia.org/wiki/Top-posting
Stop top-posting :      http://en.wikipedia.org/wiki/Posting_style      

O O O Gustau Pérez i Querol
O O O Departament d'Enginyeria Telemàtica
O O O Universitat Politècnica de Catalunya
      Edifici C3 - Despatx S101-B
 UPC  Campus Nord UPC
      C/ Jordi Girona, 1-3
      08034 - Barcelona

nexus0
  apic0
  ram0
  acpi0
    cpu0 pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU0
      coretemp0
      est0
      p4tcc0
      cpufreq0
    cpu1 pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU1
      coretemp1
      est1
      p4tcc1
      cpufreq1
    cpu2 pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU2
      coretemp2
      est2
      p4tcc2
      cpufreq2
    cpu3 pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU3
      coretemp3
      est3
      p4tcc3
      cpufreq3
    unknown pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU4
    unknown pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU5
    unknown pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU6
    unknown pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU7
    pcib0 pnpinfo _HID=PNP0A08 _UID=0 at handle=\_SB_.PCI0
      pci0
        hostb0 pnpinfo vendor=0x8086 device=0x0044 subvendor=0x10cf 
subdevice=0x1505 class=0x060000 at slot=0 function=0
        vgapci0 pnpinfo vendor=0x8086 device=0x0046 subvendor=0x10cf 
subdevice=0x1507 class=0x030000 at slot=2 function=0 handle=\_SB_.PCI0.GFX0
          agp0
          drm0
          drmn0
            intel_iicbb0
              iicbb0
                iicbus0
                  iic0 at addr=0
            intel_gmbus0
              iicbus1
                iic1 at addr=0
            intel_iicbb1
              iicbb1
                iicbus2
                  iic2 at addr=0
            intel_gmbus1
              iicbus3
                iic3 at addr=0
            intel_iicbb2
              iicbb2
                iicbus4
                  iic4 at addr=0
            intel_gmbus2
              iicbus5
                iic5 at addr=0
            intel_iicbb3
              iicbb3
                iicbus6
                  iic6 at addr=0
            intel_gmbus3
              iicbus7
                iic7 at addr=0
            intel_iicbb4
              iicbb4
                iicbus8
                  iic8 at addr=0
            intel_gmbus4
              iicbus9
                iic9 at addr=0
            intel_iicbb5
              iicbb5
                iicbus10
                  iic10 at addr=0
            intel_gmbus5
              iicbus11
                iic11 at addr=0
            intel_iicbb6
              iicbb6
                iicbus12
                  iic12 at addr=0
            intel_gmbus6
              iicbus13
                iic13 at addr=0
            intel_iicbb7
              iicbb7
                iicbus14
                  iic14 at addr=0
            intel_gmbus7
              iicbus15
                iic15 at addr=0
            intel_sdvo_ddc_proxy921920
              iicbus16
            drm_iic_dp_aux0
              iicbus17
            drm_iic_dp_aux1
              iicbus18
            drm_iic_dp_aux2
              iicbus19
        unknown pnpinfo vendor=0x8086 device=0x3b64 subvendor=0x10cf 
subdevice=0x152b class=0x078000 at slot=22 function=0
        em0 pnpinfo vendor=0x8086 device=0x10ea subvendor=0x10cf 
subdevice=0x1574 class=0x020000 at slot=25 function=0 handle=\_SB_.PCI0.GLAN
        ehci0 pnpinfo vendor=0x8086 device=0x3b3c subvendor=0x10cf 
subdevice=0x1528 class=0x0c0320 at slot=26 function=0 handle=\_SB_.PCI0.EHC2
          usbus0
            uhub0
              uhub2 pnpinfo vendor=0x8087 product=0x0020 devclass=0x09 
devsubclass=0x00 sernum="" release=0x0000 mode=host intclass=0x09 
intsubclass=0x00 i at bus=1 hubaddr=1 port=0 devaddr=2 interface=0
                uhid0 pnpinfo vendor=0x046d product=0xc52b devclass=0x00 
devsubclass=0x00 sernum="" release=0x1201 mode=host intclass=0x03 
intsubclass=0x00 i at bus=2 hubaddr=1 port=0 devaddr=3 interface=2
        hdac0 pnpinfo vendor=0x8086 device=0x3b56 subvendor=0x10cf 
subdevice=0x159f class=0x040300 at slot=27 function=0 handle=\_SB_.PCI0.HDEF
          hdacc0 pnpinfo vendor=0x10ec device=0x0269 revision=0x00 
stepping=0x04 at cad=0
            hdaa0 pnpinfo type=0x01 subsystem=0x10cf0000 at nid=1
              pcm0 at nid=20,21,27
              pcm1 at nid=26,24
          hdacc1 pnpinfo vendor=0x11c1 device=0x1040 revision=0x02 
stepping=0x00 at cad=1
            unknown pnpinfo type=0x02 subsystem=0x10cf14a5 at nid=1
          hdacc2 pnpinfo vendor=0x8086 device=0x2804 revision=0x00 
stepping=0x00 at cad=3
            hdaa1 pnpinfo type=0x01 subsystem=0x80860101 at nid=1
              pcm2 at nid=4
              pcm3 at nid=5
        pcib1 pnpinfo vendor=0x8086 device=0x3b4c subvendor=0x10cf 
subdevice=0x1529 class=0x060400 at slot=28 function=0 handle=\_SB_.PCI0.PCE0
          pci8
        pcib2 pnpinfo vendor=0x8086 device=0x3b44 subvendor=0x10cf 
subdevice=0x1529 class=0x060400 at slot=28 function=1 handle=\_SB_.PCI0.PCE1
          pci16
            ath0 pnpinfo vendor=0x168c device=0x002e subvendor=0x10cf 
subdevice=0x158f class=0x028000 at slot=0 function=0 handle=\_SB_.PCI0.PCE1.PXSX
        ehci1 pnpinfo vendor=0x8086 device=0x3b34 subvendor=0x10cf 
subdevice=0x1528 class=0x0c0320 at slot=29 function=0 handle=\_SB_.PCI0.EHC1
          usbus1
            uhub1
              uhub3 pnpinfo vendor=0x8087 product=0x0020 devclass=0x09 
devsubclass=0x00 sernum="" release=0x0000 mode=host intclass=0x09 
intsubclass=0x00 i at bus=1 hubaddr=1 port=1 devaddr=2 interface=0
                ubt0 pnpinfo vendor=0x1690 product=0x0741 devclass=0xe0 
devsubclass=0x01 sernum="" release=0x5276 mode=host intclass=0xe0 
intsubclass=0x01 i at bus=2 hubaddr=4 port=1 devaddr=4 interface=0
        pcib3 pnpinfo vendor=0x8086 device=0x2448 subvendor=0x10cf 
subdevice=0x151b class=0x060401 at slot=30 function=0 handle=\_SB_.PCI0.P0P1
          pci72
            unknown pnpinfo vendor=0x1217 device=0x7135 subvendor=0x10cf 
subdevice=0x14d6 class=0x060700 at slot=3 function=0
            unknown pnpinfo vendor=0x1217 device=0x7135 subvendor=0x10cf 
subdevice=0x14d6 class=0x060700 at slot=3 function=1
            sdhci0 pnpinfo vendor=0x1217 device=0x7120 subvendor=0x10cf 
subdevice=0x14d6 class=0x080501 at slot=3 function=2
            unknown pnpinfo vendor=0x1217 device=0x7130 subvendor=0x10cf 
subdevice=0x14d6 class=0x018000 at slot=3 function=3
            unknown pnpinfo vendor=0x1217 device=0x00f7 subvendor=0x10cf 
subdevice=0x14d7 class=0x0c0010 at slot=3 function=4
        isab0 pnpinfo vendor=0x8086 device=0x3b07 subvendor=0x10cf 
subdevice=0x157a class=0x060100 at slot=31 function=0 handle=\_SB_.PCI0.LPCB
          isa0
            sc0
            vga0
            orm0
            fdc0
            uart1
            wbwd0
        ahci0 pnpinfo vendor=0x8086 device=0x3b2f subvendor=0x10cf 
subdevice=0x1523 class=0x010601 at slot=31 function=2 handle=\_SB_.PCI0.SAT0
          ahcich0 at channel=0
          ahcich1 at channel=1
          ahcich2 at channel=2
          ahcich3 at channel=3
          ahcich4 at channel=4
          ahcich5 at channel=5
        unknown pnpinfo vendor=0x8086 device=0x3b30 subvendor=0x10cf 
subdevice=0x1525 class=0x0c0500 at slot=31 function=3 handle=\_SB_.PCI0.SBUS
        unknown pnpinfo vendor=0x8086 device=0x3b32 subvendor=0x10cf 
subdevice=0x1526 class=0x118000 at slot=31 function=6 handle=\_SB_.PCI0.TMRP
    acpi_sysresource0 pnpinfo _HID=PNP0C02 _UID=2 at handle=\_SB_.PCI0.MBIO
    acpi_sysresource1 pnpinfo _HID=PNP0C02 _UID=1 at handle=\_SB_.PCI0.PDRC
    unknown pnpinfo _HID=PNP0C31 _UID=1 at handle=\_SB_.PCI0.LPCB.TPM_
    unknown pnpinfo _HID=FUJ02B1 _UID=0 at handle=\_SB_.PCI0.LPCB.FJEX
    acpi_ec0 pnpinfo _HID=PNP0C09 _UID=0 at handle=\_SB_.PCI0.LPCB.EC__
    atdma0 pnpinfo _HID=PNP0200 _UID=0 at handle=\_SB_.PCI0.LPCB.DMAC
    atkbdc0 pnpinfo _HID=PNP0303 _UID=0 at handle=\_SB_.PCI0.LPCB.KBC_
      atkbd0
      psm0
    fpupnp0 pnpinfo _HID=PNP0C04 _UID=0 at handle=\_SB_.PCI0.LPCB.MATH
    unknown pnpinfo _HID=PNP0000 _UID=0 at handle=\_SB_.PCI0.LPCB.PIC_
    psmcpnp0 pnpinfo _HID=PNP0F13 _UID=0 at handle=\_SB_.PCI0.LPCB.PS2M
    atrtc0 pnpinfo _HID=PNP0B00 _UID=0 at handle=\_SB_.PCI0.LPCB.RTC_
    unknown pnpinfo _HID=PNP0800 _UID=0 at handle=\_SB_.PCI0.LPCB.SPKR
    attimer0 pnpinfo _HID=PNP0100 _UID=0 at handle=\_SB_.PCI0.LPCB.TIME
    hpet0 pnpinfo _HID=PNP0103 _UID=0 at handle=\_SB_.PCI0.LPCB.HPET
    pci_link0 pnpinfo _HID=PNP0C0F _UID=1 at handle=\_SB_.PCI0.LPCB.LNKA
    pci_link1 pnpinfo _HID=PNP0C0F _UID=2 at handle=\_SB_.PCI0.LPCB.LNKB
    pci_link2 pnpinfo _HID=PNP0C0F _UID=3 at handle=\_SB_.PCI0.LPCB.LNKC
    pci_link3 pnpinfo _HID=PNP0C0F _UID=4 at handle=\_SB_.PCI0.LPCB.LNKD
    pci_link4 pnpinfo _HID=PNP0C0F _UID=5 at handle=\_SB_.PCI0.LPCB.LNKE
    pci_link5 pnpinfo _HID=PNP0C0F _UID=6 at handle=\_SB_.PCI0.LPCB.LNKF
    pci_link6 pnpinfo _HID=PNP0C0F _UID=7 at handle=\_SB_.PCI0.LPCB.LNKG
    pci_link7 pnpinfo _HID=PNP0C0F _UID=8 at handle=\_SB_.PCI0.LPCB.LNKH
    uart0 pnpinfo _HID=PNP0501 _UID=1 at handle=\_SB_.PCI0.LPCB.UAR1
    unknown pnpinfo _HID=PNP0501 _UID=2 at handle=\_SB_.PCI0.LPCB.UAR2
    unknown pnpinfo _HID=PNP0510 _UID=0 at handle=\_SB_.PCI0.LPCB.IRDA
    unknown pnpinfo _HID=SMCF010 _UID=0 at handle=\_SB_.PCI0.LPCB.FIR_
    ppc0 pnpinfo _HID=PNP0400 _UID=0 at handle=\_SB_.PCI0.LPCB.LPT_
      ppbus0
        ppi0
        plip0
        lpt0
    unknown pnpinfo _HID=PNP0401 _UID=0 at handle=\_SB_.PCI0.LPCB.ECP_
    unknown pnpinfo _HID=PNP0700 _UID=0 at handle=\_SB_.PCI0.LPCB.FDC_
    pcib4 pnpinfo _HID=PNP0A03 _UID=255 at handle=\_SB_.CPBG
      pci255
        hostb1 pnpinfo vendor=0x8086 device=0x2c62 subvendor=0x10cf 
subdevice=0x155b class=0x060000 at slot=0 function=0
        hostb2 pnpinfo vendor=0x8086 device=0x2d01 subvendor=0x10cf 
subdevice=0x155b class=0x060000 at slot=0 function=1 handle=\_SB_.CPBG.IMCH
        hostb3 pnpinfo vendor=0x8086 device=0x2d10 subvendor=0x10cf 
subdevice=0x155b class=0x060000 at slot=2 function=0
        hostb4 pnpinfo vendor=0x8086 device=0x2d11 subvendor=0x10cf 
subdevice=0x155b class=0x060000 at slot=2 function=1
        hostb5 pnpinfo vendor=0x8086 device=0x2d12 subvendor=0x10cf 
subdevice=0x155b class=0x060000 at slot=2 function=2
        hostb6 pnpinfo vendor=0x8086 device=0x2d13 subvendor=0x10cf 
subdevice=0x155b class=0x060000 at slot=2 function=3
    unknown pnpinfo _HID=FUJ02E3 _UID=0 at handle=\_SB_.FEXT
    acpi_acad0 pnpinfo _HID=ACPI0003 _UID=0 at handle=\_SB_.AC__
    battery0 pnpinfo _HID=PNP0C0A _UID=1 at handle=\_SB_.CMB1
    battery1 pnpinfo _HID=PNP0C0A _UID=2 at handle=\_SB_.CMB2
    acpi_lid0 pnpinfo _HID=PNP0C0D _UID=0 at handle=\_SB_.LID_
    acpi_button0 pnpinfo _HID=PNP0C0C _UID=0 at handle=\_SB_.PWRB
    acpi_button1 pnpinfo _HID=PNP0C0E _UID=0 at handle=\_SB_.SLPB
    unknown pnpinfo _HID=PNP0C15 _UID=1 at handle=\_SB_.REPL
    acpi_timer0 pnpinfo unknown at unknown
_______________________________________________
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"

Reply via email to