From nobody Mon Nov 28 18:31:28 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NLYvx1zdKz4jYG4 for ; Mon, 28 Nov 2022 18:31:41 +0000 (UTC) (envelope-from kludev@gmail.com) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NLYvx00hWz4Kp6 for ; Mon, 28 Nov 2022 18:31:41 +0000 (UTC) (envelope-from kludev@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x635.google.com with SMTP id gu23so9872677ejb.10 for ; Mon, 28 Nov 2022 10:31:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=JqSqVTu7sYdrnAg0FE+tsrqGqP1X0XlvtSdtTcwI1kM=; b=COoscFYP/j01q03TS3JCum/6l3QqrkyK10JDi4OSy/YEerz8aKJwF1sy/ZCzT8NC2b mGhc+j1a9VTj6ufvpwere8YPXdLJMQhn3KsMIFt8X6JCL4FbAykX+V+OT51L5M6g1Qxa bGTU+eJPp78L7i4vkKIZjsp7GKLxyQF/JT8krRs9gJNlR3aFJlRNuq+c0qatibFJY2h+ GT7lRDn9WRUSOVZg+ZLqy3ifps8vJRWa+ggT6LzzNwq2haA06TSyRJ2hDaVIhJzWK1bA 2L8MYhfKfyRlj/S28FPgHfxmW+9UmBA1k1soz9u0NaLEyOhhm2CdrHg+mSgJLNDhPf8q 4WwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JqSqVTu7sYdrnAg0FE+tsrqGqP1X0XlvtSdtTcwI1kM=; b=k1kCTB+JVEpG+RsU+Dun8I7JX4/dPfw1V+uivM1SkoBe6x9YYTZBYtTV8tWzIMINrd AxY48QLGKpvW12uxv51e7m1hhgp9MPyCYV6Lw97y+n/EW76h6yJOtoCxnV2DHdBpurP0 AsRAdGEZm22nCQDdaPAI2f/ggkj0LNO88d676i9J1py9FNWBZxVDRdPcGE8RPN4/D4VW pjmqtDI9mWX9oeyarOx8U9lH5qrfhMetXMLl/sYIMEZgRW8EkiMDwGu7GzI0ERLJmnsZ OZzgiAyTePsatfLQs6C/NfvEUUe2emfieXSbumVw3LIotzUsQGI8TN3rNUjVHwabk0zX IK4Q== X-Gm-Message-State: ANoB5pnUp6ty/kRwcdz2vMWkpisWScrsMsUscShmojY+7YMC3A/FYLda ce5Rh6wO7zwjsnoSBYM5SkDT0o9HX0TlOl4baag= X-Google-Smtp-Source: AA0mqf4M5USmXMi4EHMmExlYShUP+ep45RwDS5tAqazoUpqW+0cI3cQWsQZvsDMu4ddmyHQ3iVPJ99dY+cE0Ssr8i2k= X-Received: by 2002:a17:906:c449:b0:7ae:cbae:af1 with SMTP id ck9-20020a170906c44900b007aecbae0af1mr44814871ejb.31.1669660299559; Mon, 28 Nov 2022 10:31:39 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: klu Date: Mon, 28 Nov 2022 10:31:28 -0800 Message-ID: Subject: Re: Thinkpad T61 display won't wake from hibernate To: Michael Schuster Cc: FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4NLYvx00hWz4Kp6 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Thanks for the help Michael! > Has this ever worked before? This has not worked before - it's my first try. > make sure your graphics driver actually works for the HW I do think the driver works fine - both console and x11 display normally. I do see the kernel modules in `kldstat`. Not sure if there's other things regarding the video driver I could try/confirm. On Sun, Nov 27, 2022 at 11:18 PM Michael Schuster wrote: > > On Sun, Nov 27, 2022 at 1:09 AM klu wrote: > > > > I have FreeBsd 13.1 installed on a Thinkpad T61p laptop. I try to make > > hibernate work so it can save power between uses. > > > > If I type `sudo zzz`, it successfully goes to hibernate mode. When I > > open the lid again, I can hear the computer is waking up. However the > > screen does not come back. > > What you describe sounds a lot like an issue with the graphics driver > ... I recall from a previous life (2nd-hand, no expertise myself, I'm > afraid) that those can be a major stumbling block for getting resume > to work properly. > A few questions that may help you and others set you right: > Has this ever worked before? > if yes: what did you change? > if no: make sure your graphics driver actually works for the HW. I > have an old T60p that I test-drove a while with 12.something, IIRC > (via ghostbsd ... it's been a while), that I think did S&R just fine > (no guarantees though). > > HTH > Michael > > > > > I can type blindly `sudo reboot`, which > > will bring back the screen to show the shutting down messages. > > > > I wonder what kind diagnostics I can do and how to fix this issue? Thanks! > > > > > > root@t60:~ # cat /etc/rc.conf > > hostname="t60" > > wlans_wpi0="wlan0" > > ifconfig_wlan0="WPA DHCP" > > sshd_enable="YES" > > ntpd_enable="YES" > > powerd_enable="YES" > > # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable > > dumpdev="NO" > > zfs_enable="YES" > > linux_enable="YES" > > kld_list="i915kms acpi_video" > > > > > > > > root@t60:~ # cat /boot/loader.conf > > kern.geom.label.disk_ident.enable="0" > > kern.geom.label.gptid.enable="0" > > cryptodev_load="YES" > > zfs_load="YES" > > kern.geom.label.disk_ident.enable="0" > > kern.geom.label.gptid.enable="0" > > cryptodev_load="YES" > > zfs_load="YES" > > hw.vga.textmode=0 > > kern.vty=vt > > acpi_ibm_load="YES" > > > > > > root@t60:~ # kldstat > > Id Refs Address Size Name > > 1 92 0xffffffff80200000 1f30470 kernel > > 2 1 0xffffffff82131000 8710 acpi_ibm.ko > > 3 1 0xffffffff8213a000 a158 cryptodev.ko > > 4 1 0xffffffff82146000 5b93a8 zfs.ko > > 5 1 0xffffffff82b20000 1848b8 i915kms.ko > > 6 1 0xffffffff82ca5000 739e0 drm.ko > > 7 2 0xffffffff82d19000 5220 linuxkpi_gplv2.ko > > 8 3 0xffffffff82d1f000 62d8 dmabuf.ko > > 9 1 0xffffffff82d26000 4350 acpi_video.ko > > 10 1 0xffffffff82d2b000 21e8 acpi_dock.ko > > 11 1 0xffffffff82d2e000 3250 ichsmb.ko > > 12 1 0xffffffff82d32000 2180 smbus.ko > > 13 1 0xffffffff82d35000 4d00 ng_ubt.ko > > 14 6 0xffffffff82d3a000 aac8 netgraph.ko > > 15 2 0xffffffff82d45000 a238 ng_hci.ko > > 16 4 0xffffffff82d50000 25a8 ng_bluetooth.ko > > 17 1 0xffffffff82d53000 e250 ng_l2cap.ko > > 18 1 0xffffffff82d62000 1bee8 ng_btsocket.ko > > 19 1 0xffffffff82d7e000 39c0 ng_socket.ko > > 20 1 0xffffffff82d82000 38070 linux.ko > > 21 4 0xffffffff82dbb000 10ab0 linux_common.ko > > 22 1 0xffffffff82dcc000 32208 linux64.ko > > 23 1 0xffffffff82dff000 2260 pty.ko > > 24 1 0xffffffff82e02000 3530 fdescfs.ko > > 25 1 0xffffffff82e06000 639c linprocfs.ko > > 26 1 0xffffffff82e0d000 3284 linsysfs.ko > > 27 1 0xffffffff82e11000 2a08 mac_ntpd.ko > > > > > > root@t60:~ # dmesg | grep -i -e freebsd -e cpu -e ibm -e acpi -e power -e nvidia > > Copyright (c) 1992-2021 The FreeBSD Project. > > FreeBSD is a registered trademark of The FreeBSD Foundation. > > FreeBSD 13.1-RELEASE-p3 GENERIC amd64 > > FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git > > llvmorg-13.0.0-0-gd7b669b3a303) > > CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (1995.07-MHz K8-class CPU) > > Features=0xbfebfbff > > ACPI APIC Table: > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > > FreeBSD/SMP: 1 package(s) x 2 core(s) > > Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe0Block: > > 64/32 (20201113/tbfadt-748) > > Firmware Warning (ACPI): Optional FADT field Gpe1Block has valid > > Address but zero Length: 0x000000000000102C/0x0 (20201113/tbfadt-796) > > acpi0: > > CPU0: local APIC error 0x40 > > CPU1: local APIC error 0x40 > > acpi_ec0: port 0x62,0x66 on acpi0 > > acpi0: Power Button (fixed) > > cpu0: on acpi0 > > attimer0: port 0x40-0x43 irq 0 on acpi0 > > hpet0: iomem 0xfed00000-0xfed003ff on acpi0 > > atrtc0: port 0x70-0x71 irq 8 on acpi0 > > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > > acpi_lid0: on acpi0 > > acpi_button0: on acpi0 > > pcib0: port 0xcf8-0xcff on acpi0 > > pci0: on pcib0 > > pcib1: irq 16 at device 1.0 on pci0 > > pci1: on pcib1 > > pcib2: irq 20 at device 28.0 on pci0 > > pci2: on pcib2 > > pcib3: irq 21 at device 28.1 on pci0 > > pci3: on pcib3 > > pcib4: irq 22 at device 28.2 on pci0 > > pcib5: irq 23 at device 28.3 on pci0 > > pcib6: at device 30.0 on pci0 > > pci4: on pcib6 > > acpi_tz0: on acpi0 > > acpi_tz1: on acpi0 > > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > > WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.0. > > battery0: on acpi0 > > acpi_acad0: on acpi0 > > acpi_ibm0: on acpi0 > > acpi_ibm0: Firmware version is 0x100 > > est0: on cpu0 > > uhub0: 2 ports with 2 removable, self powered > > uhub2: 2 ports with 2 removable, self powered > > uhub4: 2 ports with 2 removable, self powered > > uhub3: 2 ports with 2 removable, self powered > > uhub1: 8 ports with 8 removable, self powered > > acpi_video0: on vgapci0 > > acpi_dock0: on acpi0 > > > > > -- > Michael Schuster > http://recursiveramblings.wordpress.com/ > recursion, n: see 'recursion'