From nobody Thu Jan 02 16:00:01 2025 X-Original-To: freebsd-hackers@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 4YPBHY1P4Rz5jMtV for ; Thu, 02 Jan 2025 16:00:09 +0000 (UTC) (envelope-from himanshu@thechauhan.dev) Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YPBHX3YB1z4XKM for ; Thu, 2 Jan 2025 16:00:08 +0000 (UTC) (envelope-from himanshu@thechauhan.dev) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=thechauhan.dev header.s=google header.b=BD93d0Mr; spf=pass (mx1.freebsd.org: domain of himanshu@thechauhan.dev designates 2607:f8b0:4864:20::1030 as permitted sender) smtp.mailfrom=himanshu@thechauhan.dev; dmarc=none Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-2ee76befe58so15913374a91.2 for ; Thu, 02 Jan 2025 08:00:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thechauhan.dev; s=google; t=1735833606; x=1736438406; darn=freebsd.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=P1+FzEo+Tg+49CgHSzsiW3Qh7fmkYk/PIs3ppty+alA=; b=BD93d0Mr/5Cvi8Hxf6Yx0VxoIjY///hhuWiIdeQWdCM2I3ieGb0s8Ys780zTJsC84G QFzTmv2VM9e0En+aTkv2R79dK+r3mzGqA4p7RdIr8WljyvxyjIxW/LZMvHNsOi2Cc0z6 3Wbib8eqsQOjRnU3bDFkVvUUdLIT07NKGeLX+dFEGrkf9yzpsxpe/KIRIUfi6T/h49OW 5IhKO+k0BRN6/adWlH9xhqmrT3IwgUd+kspsTdFemxCMedLA3kgpIh6/SNxn7+dBaULO nqCkKX6fes4xyE5udQnzIS3f0vZadH1KK+mnHvJ+KwhlkF/88qyHeqZGKgXfw8fsgQzk 7RxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735833606; x=1736438406; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=P1+FzEo+Tg+49CgHSzsiW3Qh7fmkYk/PIs3ppty+alA=; b=erUGuTffv/4DI8TuLmJHPoNruy+XFycajvC5lnOy+JWHZ/1jrChHIw2OIScGu6xiiy NAQN0WHpAnrJjBe0c9J1km9p3jjRvC0O7r6hkC8E1ppHC4YgpxYh+hXTX8QtrnDG3l94 jE643Swf5AKe719kIni2WakTB8vJUUzGwviRGKFnonGbby9pLiXdbmjMVC/9mNbpBwC5 2gC0fb7c8Q9LjXTkPACIfe0b5Z53VeXZNXrSDmBjFEboyIbgeOetipSBXMnm/swkIs7T E0oV6aleImiuE+ZVqzvp328cMe0c1rMysC6zvzEpWiTvJMwWbA8xwl3MOv/cFG/yWWiD a4Sw== X-Gm-Message-State: AOJu0YzX/uGKZEtfcthassXqhS7BvI4fKiS1bfpuJZm9mhZxl5xORrxg W1vczmc5GXBJK97vDro6HDh9wMD+ycQSQdoddeM3COtEmlfLwqrS61+O65AiGjHpnAzno2M2AP8 = X-Gm-Gg: ASbGncvr+uLbI3lLeZuZRpqN1UpiX/+o5mZ29a8c9r7BQczLvzE9sCQ2dZ3yPxMuU1J j9MaNY3pbcBqQmo1rwL8E3CWYpaQOLSWXhiHzHJnZw+/re86OFjoMcKJ9rJNgsSBLZkVYd7MeG/ bX5FuYoQsSfkHvUVrDALUnqeBUxHWI2nud5LQ/yW5PWtAje9K4h5FOMQic3jPwk2LJbCYHLygn/ tmi7b8dNrAwxT76gumuOqp7zy3rtgiu/Fq9Q3YG5k0RlU0ru4h47ns= X-Google-Smtp-Source: AGHT+IHF/01SLeC7P/B4cUnL+1mcOKV/ThYk4fyohvYytbu+dKzumdc8GhzjSiBZ9lW4qszvLyq91g== X-Received: by 2002:a17:90b:270d:b0:2ee:6736:8512 with SMTP id 98e67ed59e1d1-2f452e1636emr86887341a91.12.1735833606492; Thu, 02 Jan 2025 08:00:06 -0800 (PST) Received: from [10.0.0.2] ([49.37.251.233]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f4da93a04esm3921816a91.11.2025.01.02.08.00.05 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Jan 2025 08:00:06 -0800 (PST) Message-ID: Date: Thu, 2 Jan 2025 21:30:01 +0530 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: FreeBSD Hackers From: Himanshu Chauhan Subject: Debug sleep issue Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4YPBHX3YB1z4XKM X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.49 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[thechauhan.dev:s=google]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1030:from]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[thechauhan.dev]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[thechauhan.dev:+] Hi, I am running FreeBSD 14.2 on an LG Gram 14". Everything works perfectly okay except for bluetooth and sleep. I have found work around for bluetooth and it doesn't bother me much but sleep is an issue. The laptop supports S3 and it goes to sleep with acpiconf. It wakes up to the place where it went sleep but within next 4-5 seconds it just reboots. There are no crashes whatsoever. Any idea how I can go about debugging this issue? Thanks Regards Himanshu P.S.: This with FreeBSD is still my daily driver thanks to Evo and powerd, this laptop runs on battery for a very long time. Almost 7-8 hours and 3-4 hours if I am compiling FreeBSD.