From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 25 08:28:19 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8895C1065673; Mon, 25 Jun 2012 08:28:19 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 446658FC0C; Mon, 25 Jun 2012 08:28:19 +0000 (UTC) Received: by dadv36 with SMTP id v36so5282989dad.13 for ; Mon, 25 Jun 2012 01:28:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=PjkRuhl3wI5bAVK9Px8Ia4rYRAC8hE/v4R8utmfz/5k=; b=J1L8v1ztamF2Z9RV2QgmeP2SIM88YjK7KLze6mUeCR5zb3bN+z6Hebg6zFzXZpr6+t xzi9AkgxAxjvUZWkOBS+QTjQWFurrgOaTOSMFKZ/8HUtTckcObpi+PEz1K0idEUSrzas E2nLc9IWaczTv1c7XWdr7AvdohCGjrs5RQEoUJK4ZhPhoZAW41f3brNQ9+5R73//1+Pq rF7q+HsMkHEDTvLBq4dZ8P2baV/hTTOnuM1JT0mRpkiWrSSBHwdKERUWuKokBdTLYMqN ImVWm8oLdLkP91GGkiaNkC1Lik8uEg/6jWY7pYgJzpMR+UuoxfPutOAcKkkxI9S/6fCW UfMw== MIME-Version: 1.0 Received: by 10.68.219.166 with SMTP id pp6mr38252181pbc.35.1340612898696; Mon, 25 Jun 2012 01:28:18 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.142.147.18 with HTTP; Mon, 25 Jun 2012 01:28:18 -0700 (PDT) In-Reply-To: <20120624.022452.67408510.iwasaki@jp.FreeBSD.org> References: <20120525.134903.05583594.iwasaki@jp.FreeBSD.org> <20120624.022452.67408510.iwasaki@jp.FreeBSD.org> Date: Mon, 25 Jun 2012 01:28:18 -0700 X-Google-Sender-Auth: m2hYF10KBD5GzFghd0uVAZkWvcw Message-ID: From: Adrian Chadd To: Mitsuru IWASAKI Content-Type: text/plain; charset=ISO-8859-1 Cc: iwasaki@freebsd.org, freebsd-stable@freebsd.org, jkim@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: STABLE/9 SMP ACPI suspend/resume - video mode not being restored X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2012 08:28:19 -0000 On 23 June 2012 10:24, Mitsuru IWASAKI wrote: > Your T60 has a Radeon graphic adapter, right? > Could you try the radeon suspend/resume patch and kldload radeon.ko > before suspending? It looks like it has Intel graphics: vgapci0@pci0:0:2:0: class=0x030000 card=0x201a17aa chip=0x27a28086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller' class = display subclass = VGA vgapci1@pci0:0:2:1: class=0x038000 card=0x201a17aa chip=0x27a68086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller' class = display Adrian From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 25 13:54:41 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2EFC11065688; Mon, 25 Jun 2012 13:54:41 +0000 (UTC) (envelope-from iwasaki@jp.FreeBSD.org) Received: from locore.org (ns01.locore.org [218.45.21.227]) by mx1.freebsd.org (Postfix) with ESMTP id CA9C78FC18; Mon, 25 Jun 2012 13:54:40 +0000 (UTC) Received: from localhost (celeron.v4.locore.org [192.168.0.10]) by locore.org (8.14.5/8.14.5/iwasaki) with ESMTP/inet id q5PDsXl1052677; Mon, 25 Jun 2012 22:54:33 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Mon, 25 Jun 2012 22:54:30 +0900 (JST) Message-Id: <20120625.225430.106438166.iwasaki@jp.FreeBSD.org> To: adrian@freebsd.org From: Mitsuru IWASAKI In-Reply-To: References: <20120624.022452.67408510.iwasaki@jp.FreeBSD.org> X-Mailer: Mew version 3.3 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: iwasaki@freebsd.org, freebsd-stable@freebsd.org, jkim@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: STABLE/9 SMP ACPI suspend/resume - video mode not being restored X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2012 13:54:41 -0000 Hi, > It looks like it has Intel graphics: > > > vgapci0@pci0:0:2:0: class=0x030000 card=0x201a17aa chip=0x27a28086 > rev=0x03 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Mobile 945GM/GMS, 943/940GML Express Integrated Ah, then i915.ko should restore the graphic state on resuming. If your problem still remains, please try the patches: http://people.freebsd.org/~iwasaki/acpi/syscons-vesa-resume-20120529.diff Thanks! From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 25 14:06:45 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B080106567B; Mon, 25 Jun 2012 14:06:45 +0000 (UTC) (envelope-from iwasaki@jp.FreeBSD.org) Received: from locore.org (ns01.locore.org [218.45.21.227]) by mx1.freebsd.org (Postfix) with ESMTP id AC6118FC08; Mon, 25 Jun 2012 14:06:44 +0000 (UTC) Received: from localhost (celeron.v4.locore.org [192.168.0.10]) by locore.org (8.14.5/8.14.5/iwasaki) with ESMTP/inet id q5PE6h0I052748; Mon, 25 Jun 2012 23:06:43 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Mon, 25 Jun 2012 23:06:44 +0900 (JST) Message-Id: <20120625.230644.35358028.iwasaki@jp.FreeBSD.org> To: freebsd-mobile@freebsd.org, freebsd-stable@freebsd.org From: Mitsuru IWASAKI X-Mailer: Mew version 3.3 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: [CFT] radeon_suspend/resume patch X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2012 14:06:45 -0000 Hi, I created the patches for drm/radeon in order to restore the graphic state on resuming (ported from NetBSD code). http://people.freebsd.org/~iwasaki/acpi/drm-radeon_suspend-20120623.diff Unfortunately, I don't have the machine to test the patches. Can anyone test this? Thanks! From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 25 14:13:08 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1393106568C; Mon, 25 Jun 2012 14:13:08 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 28D4F8FC1B; Mon, 25 Jun 2012 14:13:07 +0000 (UTC) Received: by bkvi18 with SMTP id i18so4006125bkv.13 for ; Mon, 25 Jun 2012 07:13:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=A4CFGTN6PhSDqa8QTlzUTYQ6OldrgRH6U/vGYUElyJE=; b=pFagWyIoQaOy8xKXhglcrChs4dF5RA4Qx/77taeHrePzYY+9q4dV1ToBy73AvBDZI3 BrnKnMAjIfr1AqjTyDYAo5+k8Guc1fbpesTXfSrC94dgHZJZVAsvvZ6+mQoEXoe+Zqyb Cqxj+zy7qy9Yh9U1nsnevaUxcJDOrxx95gUWzKjTlbOkg5JWGgrEbGwd+V4/+agr5QWV wfpAco2RoXNyNHVo/d2I3l1bW6xyqWTi8ILQI/gsGzf58unIgh2kG6xeqcZLz1/e/1cs OE43JgdilwoQcrOO7gbMihDzH5rji25GReKgQl34ocy+OET3xkJ5D6sLawmvhpCrhX+L JFpA== Received: by 10.204.157.23 with SMTP id z23mr4149813bkw.71.1340633587148; Mon, 25 Jun 2012 07:13:07 -0700 (PDT) Received: from green.tandem.local (utwig.xim.bz. [91.216.237.46]) by mx.google.com with ESMTPS id h18sm46748812bkh.8.2012.06.25.07.13.05 (version=SSLv3 cipher=OTHER); Mon, 25 Jun 2012 07:13:06 -0700 (PDT) Message-ID: <4FE871EF.4050607@gmail.com> Date: Mon, 25 Jun 2012 17:13:03 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120605 Firefox/12.0 SeaMonkey/2.9.1 MIME-Version: 1.0 To: Mitsuru IWASAKI References: <20120625.230644.35358028.iwasaki@jp.FreeBSD.org> In-Reply-To: <20120625.230644.35358028.iwasaki@jp.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: [CFT] radeon_suspend/resume patch X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2012 14:13:08 -0000 Mitsuru IWASAKI wrote: > I created the patches for drm/radeon in order to restore the graphic > state on resuming (ported from NetBSD code). > > http://people.freebsd.org/~iwasaki/acpi/drm-radeon_suspend-20120623.diff > > Unfortunately, I don't have the machine to test the patches. > Can anyone test this? I have a desktop with Radeon 9550 AS. How can I trigger suspend/resume on that one manually? -- Sphinx of black quartz judge my vow. From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 25 14:21:20 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABFC0106566B; Mon, 25 Jun 2012 14:21:20 +0000 (UTC) (envelope-from iwasaki@jp.FreeBSD.org) Received: from locore.org (ns01.locore.org [218.45.21.227]) by mx1.freebsd.org (Postfix) with ESMTP id 479A68FC1A; Mon, 25 Jun 2012 14:21:20 +0000 (UTC) Received: from localhost (celeron.v4.locore.org [192.168.0.10]) by locore.org (8.14.5/8.14.5/iwasaki) with ESMTP/inet id q5PELI8x052807; Mon, 25 Jun 2012 23:21:19 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Mon, 25 Jun 2012 23:21:19 +0900 (JST) Message-Id: <20120625.232119.91310747.iwasaki@jp.FreeBSD.org> To: c.kworr@gmail.com From: Mitsuru IWASAKI In-Reply-To: <4FE871EF.4050607@gmail.com> References: <20120625.230644.35358028.iwasaki@jp.FreeBSD.org> <4FE871EF.4050607@gmail.com> X-Mailer: Mew version 3.3 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: [CFT] radeon_suspend/resume patch X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2012 14:21:21 -0000 Hi, > I have a desktop with Radeon 9550 AS. How can I trigger suspend/resume > on that one manually? It's depends on whether the system support S3. Please check it like this; # sysctl hw.acpi.supported_sleep_state If supported, to suspend; # acpiconf -s 3 or # zzz To resume, just press the power button. Thanks From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 25 14:22:51 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B1321065672; Mon, 25 Jun 2012 14:22:51 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 52CEB8FC0A; Mon, 25 Jun 2012 14:22:51 +0000 (UTC) Received: by obbun3 with SMTP id un3so8374351obb.13 for ; Mon, 25 Jun 2012 07:22:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hLallSMsatgc26xyLIWNdnnMbfWOGiQsYvYuvLEo4dE=; b=Ct9QJq9P8OZB4rU6KCoEM+SwyK7LhWa0PZ0Cajc/2kKkwWqdLLFwm4jfaASF3cjHgE DtdztDBwEAxTFlrBmiaXzS60agWslZQYvx+X0wKI/UMKET2ytTjjyPwYhJEIfvZVCrrv AAQrO1SDyAFD1OCStY20jBy+oIkFG7kIWNZSBf26DhzzFbsI+9rJNR/SDH4LGvOd2uY3 4239CdK/Uv2nzdN2VPF19sRLO5JAlxTk1uPwo8DF3qLAmcP//09gK387EVKkpRgxSa6D LugHBqhDyAkdgYdrdmPQVsXN+9o5qkAkuwze1tLj2O3wi9bKiS1dBAHfnwIMIcOPmFoH A22g== MIME-Version: 1.0 Received: by 10.182.64.7 with SMTP id k7mr7284723obs.49.1340634170636; Mon, 25 Jun 2012 07:22:50 -0700 (PDT) Received: by 10.182.7.67 with HTTP; Mon, 25 Jun 2012 07:22:50 -0700 (PDT) In-Reply-To: <4FE871EF.4050607@gmail.com> References: <20120625.230644.35358028.iwasaki@jp.FreeBSD.org> <4FE871EF.4050607@gmail.com> Date: Mon, 25 Jun 2012 17:22:50 +0300 Message-ID: From: Alexander Yerenkow To: Volodymyr Kostyrko Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: [CFT] radeon_suspend/resume patch X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2012 14:22:51 -0000 I'll try to build image for booting off flash drive with this patch. Do xorg-server required to test it? 2012/6/25 Volodymyr Kostyrko : > Mitsuru IWASAKI wrote: >> >> I created the patches for drm/radeon in order to restore the graphic >> state on resuming (ported from NetBSD code). >> >> http://people.freebsd.org/~iwasaki/acpi/drm-radeon_suspend-20120623.diff >> >> Unfortunately, I don't have the machine to test the patches. >> Can anyone test this? > > > I have a desktop with Radeon 9550 AS. How can I trigger suspend/resume on > that one manually? > > -- > Sphinx of black quartz judge my vow. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Regards, Alexander Yerenkow From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 25 14:34:02 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EA37106567B; Mon, 25 Jun 2012 14:34:02 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 94E288FC20; Mon, 25 Jun 2012 14:34:01 +0000 (UTC) Received: by bkvi18 with SMTP id i18so4035892bkv.13 for ; Mon, 25 Jun 2012 07:34:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=aC2c/XzLuemCXandrWslSDpMxl/xRamy1BfwZbQeVjI=; b=Iu7AOJRMGq/kWzsRT6lqGTovBwCeJQXtgHyFezHNEsdoMAvoJ/jm7i12UvbCPZ1jtR Jl6vwQRed3wYuoenet4VUel9AkkpxgqqGibd9FWacdfHUglVi6pxLbe1kCGKBuk5DPzO UmUpTNJoRWPJ/eMYueM8GqyxS03ekQlJTvGPXOsdWqBBjwGpozuOfeXXKxwCq9i/pQI1 Q2jYIOZzy9oCIpdLrEsPmdGx2PvhO7I4+obj3+5Nw6z4lGQ/5DHIohmbiz5tyoQe6U9l lfMk54qtSEWbQDATUjDj+1sUhBWlze2vUgZc7q/ttecTuropBJlEHs5r8TbA7Uu+5Dsz zZuA== Received: by 10.204.152.13 with SMTP id e13mr4308542bkw.46.1340634840552; Mon, 25 Jun 2012 07:34:00 -0700 (PDT) Received: from green.tandem.local (utwig.xim.bz. [91.216.237.46]) by mx.google.com with ESMTPS id n17sm46836617bkw.5.2012.06.25.07.33.58 (version=SSLv3 cipher=OTHER); Mon, 25 Jun 2012 07:33:59 -0700 (PDT) Message-ID: <4FE876D4.1080503@gmail.com> Date: Mon, 25 Jun 2012 17:33:56 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120605 Firefox/12.0 SeaMonkey/2.9.1 MIME-Version: 1.0 To: Mitsuru IWASAKI References: <20120625.230644.35358028.iwasaki@jp.FreeBSD.org> <4FE871EF.4050607@gmail.com> <20120625.232119.91310747.iwasaki@jp.FreeBSD.org> In-Reply-To: <20120625.232119.91310747.iwasaki@jp.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: [CFT] radeon_suspend/resume patch X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2012 14:34:02 -0000 Mitsuru IWASAKI wrote: >> I have a desktop with Radeon 9550 AS. How can I trigger suspend/resume >> on that one manually? > > It's depends on whether the system support S3. Please check it like this; > # sysctl hw.acpi.supported_sleep_state hw.acpi.supported_sleep_state: S1 S3 S4 S5 > If supported, to suspend; > # acpiconf -s 3 > or > # zzz > > To resume, just press the power button. 0k, rebuilding. I'll post results when ready. -- Sphinx of black quartz judge my vow. From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 25 14:42:45 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 220B3106564A; Mon, 25 Jun 2012 14:42:45 +0000 (UTC) (envelope-from iwasaki@jp.FreeBSD.org) Received: from locore.org (ns01.locore.org [218.45.21.227]) by mx1.freebsd.org (Postfix) with ESMTP id B025D8FC14; Mon, 25 Jun 2012 14:42:44 +0000 (UTC) Received: from localhost (celeron.v4.locore.org [192.168.0.10]) by locore.org (8.14.5/8.14.5/iwasaki) with ESMTP/inet id q5PEghxT052917; Mon, 25 Jun 2012 23:42:43 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Mon, 25 Jun 2012 23:42:44 +0900 (JST) Message-Id: <20120625.234244.98716362.iwasaki@jp.FreeBSD.org> To: yerenkow@gmail.com From: Mitsuru IWASAKI In-Reply-To: References: <20120625.230644.35358028.iwasaki@jp.FreeBSD.org> <4FE871EF.4050607@gmail.com> X-Mailer: Mew version 3.3 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: c.kworr@gmail.com, freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: [CFT] radeon_suspend/resume patch X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2012 14:42:45 -0000 Hi, > I'll try to build image for booting off flash drive with this patch. > > Do xorg-server required to test it? If possible, yes. Assuming the screen crashes on resuming, I'm expecting the patches solve this problem (both X and console). Please note that radeon.ko should be loaded before suspending. Thanks! From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 25 15:37:41 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94CE11065674; Mon, 25 Jun 2012 15:37:41 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id F26FE8FC1A; Mon, 25 Jun 2012 15:37:40 +0000 (UTC) Received: from lstewart1.loshell.room52.net (ppp59-167-184-191.static.internode.on.net [59.167.184.191]) by lauren.room52.net (Postfix) with ESMTPSA id CB2E57E84A; Tue, 26 Jun 2012 01:37:33 +1000 (EST) Message-ID: <4FE885BD.9010206@freebsd.org> Date: Tue, 26 Jun 2012 01:37:33 +1000 From: Lawrence Stewart User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120613 Thunderbird/13.0 MIME-Version: 1.0 To: Mitsuru IWASAKI References: <20120625.230644.35358028.iwasaki@jp.FreeBSD.org> In-Reply-To: <20120625.230644.35358028.iwasaki@jp.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lauren.room52.net Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: [CFT] radeon_suspend/resume patch X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2012 15:37:41 -0000 On 06/26/12 00:06, Mitsuru IWASAKI wrote: > Hi, > > I created the patches for drm/radeon in order to restore the graphic > state on resuming (ported from NetBSD code). > > http://people.freebsd.org/~iwasaki/acpi/drm-radeon_suspend-20120623.diff > > Unfortunately, I don't have the machine to test the patches. > Can anyone test this? root@lstewart1# sysctl hw.acpi.supported_sleep_state hw.acpi.supported_sleep_state: S3 S4 S5 root@lstewart1# kenv smbios.system.product ; kenv smbios.bios.version HP Z400 Workstation 786G3 v03.54 root@lstewart1# dmesg | grep drm drm0: on vgapci0 info: [drm] MSI enabled 1 message(s) info: [drm] Initialized radeon 1.31.0 20080613 info: [drm] Setting GART location based on new memory map info: [drm] Loading R500 Microcode info: [drm] Num pipes: 1 info: [drm] writeback test succeeded in 1 usecs root@lstewart1# kldstat Id Refs Address Size Name 1 38 0xffffffff80200000 1317428 kernel 3 3 0xffffffff8151e000 4f068 vboxdrv.ko 4 1 0xffffffff81612000 134393 zfs.ko 5 1 0xffffffff81747000 2f96 opensolaris.ko 6 1 0xffffffff8174a000 3dfa linprocfs.ko 7 1 0xffffffff8174e000 1f38a linux.ko 8 2 0xffffffff8176e000 2931 vboxnetflt.ko 9 2 0xffffffff81771000 87b2 netgraph.ko 10 1 0xffffffff8177a000 1579 ng_ether.ko 11 1 0xffffffff8177c000 3f8a vboxnetadp.ko 12 1 0xffffffff81780000 a9bb fuse.ko 13 1 0xffffffff8178b000 64939 radeon.ko 14 1 0xffffffff817f0000 13531 drm.ko root@lstewart1# cd /usr/src/ root@lstewart1# svn info Path: . Working Copy Root Path: /usr/src URL: http://svn.freebsd.org/base/stable/9 Repository Root: http://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 237154 Node Kind: directory Schedule: normal Last Changed Author: kib Last Changed Rev: 237150 Last Changed Date: 2012-06-16 09:07:51 +1000 (Sat, 16 Jun 2012) root@lstewart1# cd /usr/src/sys/dev/drm root@lstewart1# patch -p0 < ../../../drm-radeon_suspend-20120623.diff Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: drmP.h |=================================================================== |RCS file: /home/ncvs/src/sys/dev/drm/drmP.h,v |retrieving revision 1.47.2.1 |diff -u -r1.47.2.1 drmP.h |--- drmP.h 23 Sep 2011 00:51:37 -0000 1.47.2.1 |+++ drmP.h 22 Jun 2012 22:23:29 -0000 -------------------------- Patching file drmP.h using Plan A... Hunk #1 succeeded at 731. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: drm_fops.c |=================================================================== |RCS file: /home/ncvs/src/sys/dev/drm/drm_fops.c,v |retrieving revision 1.8.2.1 |diff -u -r1.8.2.1 drm_fops.c |--- drm_fops.c 23 Sep 2011 00:51:37 -0000 1.8.2.1 |+++ drm_fops.c 22 Jun 2012 22:22:10 -0000 -------------------------- Patching file drm_fops.c using Plan A... Hunk #1 succeeded at 39. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: radeon_drv.c |=================================================================== |RCS file: /home/ncvs/src/sys/dev/drm/radeon_drv.c,v |retrieving revision 1.20.4.1 |diff -u -r1.20.4.1 radeon_drv.c |--- radeon_drv.c 23 Sep 2011 00:51:37 -0000 1.20.4.1 |+++ radeon_drv.c 22 Jun 2012 22:34:07 -0000 -------------------------- Patching file radeon_drv.c using Plan A... Hunk #1 succeeded at 99. Hunk #2 succeeded at 145. done root@lstewart1# cd /usr/src root@lstewart1# make -s -j12 -DNO_CLEAN buildkernel -------------------------------------------------------------- >>> Kernel build for GENERIC started on Tue Jun 26 00:56:24 EST 2012 -------------------------------------------------------------- ===> GENERIC [...] -------------------------------------------------------------- >>> Kernel build for GENERIC completed on Tue Jun 26 00:57:29 EST 2012 -------------------------------------------------------------- root@lstewart1# make -s installkernel -------------------------------------------------------------- >>> Installing kernel GENERIC -------------------------------------------------------------- [...] root@lstewart1# shutdown -r now I rebooted into X with Fluxbox as my window manager. Ran "sudo acpiconf -s3" from an xterm. Machine correctly went to sleep. I waiting 30s and then pressed the power button. Machine came back, loaded X up correctly and everything kept working. Amazing! I've been looking forward to working S3 support on my desktop for over 12 months now. Thank you very much for your work! Cheers, Lawrence From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 25 16:03:17 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1241106567A; Mon, 25 Jun 2012 16:03:16 +0000 (UTC) (envelope-from iwasaki@jp.FreeBSD.org) Received: from locore.org (ns01.locore.org [218.45.21.227]) by mx1.freebsd.org (Postfix) with ESMTP id 8AB778FC0A; Mon, 25 Jun 2012 16:03:16 +0000 (UTC) Received: from localhost (celeron.v4.locore.org [192.168.0.10]) by locore.org (8.14.5/8.14.5/iwasaki) with ESMTP/inet id q5PG3EQT053240; Tue, 26 Jun 2012 01:03:14 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Tue, 26 Jun 2012 01:03:15 +0900 (JST) Message-Id: <20120626.010315.84362521.iwasaki@jp.FreeBSD.org> To: lstewart@freebsd.org From: Mitsuru IWASAKI In-Reply-To: <4FE885BD.9010206@freebsd.org> References: <20120625.230644.35358028.iwasaki@jp.FreeBSD.org> <4FE885BD.9010206@freebsd.org> X-Mailer: Mew version 3.3 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: [CFT] radeon_suspend/resume patch X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2012 16:03:17 -0000 Thanks for your thrilling report! > I rebooted into X with Fluxbox as my window manager. Ran "sudo acpiconf > -s3" from an xterm. Machine correctly went to sleep. I waiting 30s and > then pressed the power button. Machine came back, loaded X up correctly > and everything kept working. Amazing! OK, I'll commit the patches against head tomorrow. BTW, is it effective for the console which is set graphic mode by vidconrol(1) as well? Thanks! From owner-freebsd-mobile@FreeBSD.ORG Tue Jun 26 04:22:15 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16535106566C for ; Tue, 26 Jun 2012 04:22:15 +0000 (UTC) (envelope-from anonymous@euve19625.vserver.de) Received: from euve19625.vserver.de (euve19625.vserver.de [62.75.210.94]) by mx1.freebsd.org (Postfix) with ESMTP id 655AF8FC14 for ; Tue, 26 Jun 2012 04:22:14 +0000 (UTC) Received: (qmail 3534 invoked by uid 33); 22 Jun 2012 22:20:31 +0000 Date: 22 Jun 2012 22:20:31 +0000 Message-ID: <20120622222031.3532.qmail@euve19625.vserver.de> To: freebsd-mobile@freebsd.org From: Mr.Tanaka Hiroshi MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Subject: Rep. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tanakacollection@yahoo.co.jp List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2012 04:22:15 -0000 DESK OF ITOCHU CORPORATION LTD. 5-1, Kita-Aoyama 2-chome Minato-ku, Tokyo 107-8077, Japan. This mail is serving as an invitation to treat with the above named company. Our company was established in 1970. Over the years we have accumulated invaluable experience in our business and we are proud to claim we are second to none.Our company exports cement, sugar and textile materials for world trade. Due to the increase in demand of our products in North and South America continent,it is upon this note that we seek your assistance to stand as our company representative in any of these continent list above. Note that, as our representative, you will receive 10% and monthly salary of $2,000.00 USD of whatever amount you clear for the company and the balance will be paid into an account we will avail to you. facilitate the conclusion of this transaction if accepted, send me promptly by email the following: Full Names: Contact Address: Phone/Mobile: Fax: Thank you for your time. Please send the above details to our Personnel Manager via The below details: Name: Mr. Tanaka Hiroshi Email: shiotadalsutelaw@zoho.com RESPECTFULLY SUBMITTED, PRESIDENT-ITOCHU CORPORATION From owner-freebsd-mobile@FreeBSD.ORG Tue Jun 26 08:04:17 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC09D1065673; Tue, 26 Jun 2012 08:04:17 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id EC3A18FC08; Tue, 26 Jun 2012 08:04:16 +0000 (UTC) Received: by bkvi18 with SMTP id i18so4848860bkv.13 for ; Tue, 26 Jun 2012 01:04:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=3pLYUtpkYt/OFCGJiHESnHCkmyHjNIsY/eclic7fHNY=; b=c1IJomUNjWAnDublpi7xLLRPkkYHFZUop25874Mu9p9bxBB5BlrWljTmQ2xA6hMKFl ghjlLLqCn0X7HkMVwE+sYIuHjKpUldWk2zf4hy+GRdV3qrpgexycUaanApfQlExZvXrt N4t1sLcfknme9zOxfIN1akgMoID448M3SoZrAeRl9OwrkVSvLNzK/8utN8rD7nLgCA6M UnaKXbI3LhBxHvU8lMP9L7OdsbT/9WzTVk4o4roU4F8KRBpfAc43KHyyHFub9vey5rNs 5hqmNphbNUFHt526ASSqn4xGMoi8glXwR3ydQe8i0lLiaW3XPUnKGk18iQToJKNMHW95 dX7w== Received: by 10.204.149.216 with SMTP id u24mr4904596bkv.36.1340697855741; Tue, 26 Jun 2012 01:04:15 -0700 (PDT) Received: from green.tandem.local (utwig.xim.bz. [91.216.237.46]) by mx.google.com with ESMTPS id ig1sm49535979bkc.4.2012.06.26.01.04.13 (version=SSLv3 cipher=OTHER); Tue, 26 Jun 2012 01:04:14 -0700 (PDT) Message-ID: <4FE96CFB.3080204@gmail.com> Date: Tue, 26 Jun 2012 11:04:11 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120605 Firefox/12.0 SeaMonkey/2.9.1 MIME-Version: 1.0 To: Mitsuru IWASAKI References: <20120625.230644.35358028.iwasaki@jp.FreeBSD.org> In-Reply-To: <20120625.230644.35358028.iwasaki@jp.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable , freebsd-mobile@freebsd.org Subject: Re: [CFT] radeon_suspend/resume patch X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2012 08:04:17 -0000 Mitsuru IWASAKI wrote: > I created the patches for drm/radeon in order to restore the graphic > state on resuming (ported from NetBSD code). > > http://people.freebsd.org/~iwasaki/acpi/drm-radeon_suspend-20120623.diff > > Unfortunately, I don't have the machine to test the patches. > Can anyone test this? > uname -a FreeBSD limbo.xim.bz 9.0-STABLE FreeBSD 9.0-STABLE #0 r237562M: Tue Jun 26 03:35:06 EEST 2012 arcade@limbo.xim.bz:/usr/obj/usr/src/sys/MINIMALx32 i386 vgapci0@pci0:1:0:0: class=0x030000 card=0x40501458 chip=0x41531002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'RV350 AS [Radeon 9550]' class = display subclass = VGA vgapci1@pci0:1:0:1: class=0x038000 card=0x40511458 chip=0x41731002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'RV350 AS [Radeon 9550] (Secondary)' class = display > kldstat Id Refs Address Size Name 1 166 0x83400000 5898bc kernel 2 1 0x8398a000 5900 atavia.ko 3 2 0x83990000 6990 ataahci.ko 4 3 0x83997000 80b0 atapci.ko 5 1 0x839a0000 18d7f0 zfs.ko 6 2 0x83b2e000 165f0 krpc.ko 7 2 0x83b45000 3ffc opensolaris.ko 8 1 0x83b4a000 dae4 ahci.ko 9 1 0x88507000 a000 tmpfs.ko 10 2 0x88520000 6000 procfs.ko 11 2 0x8852e000 7000 pseudofs.ko 12 1 0x8853d000 4000 fdescfs.ko 13 1 0x88563000 8000 linprocfs.ko 14 1 0x8858f000 2a000 linux.ko 15 1 0x88916000 4000 usb_quirk.ko 16 7 0x88951000 2b000 usb.ko 17 1 0x889b0000 2000 accf_http.ko 18 1 0x889c1000 8000 aio.ko 19 1 0x889db000 d000 ehci.ko 20 1 0x88a23000 b000 if_re.ko 21 1 0x88a5d000 1f000 miibus.ko 22 1 0x88abb000 3000 speaker.ko 23 1 0x88ace000 a000 uhci.ko 24 1 0x88d4a000 5000 ums.ko 25 1 0x88f44000 9000 umass.ko 26 1 0x88fa2000 6000 ng_ubt.ko 27 11 0x88fc9000 c000 netgraph.ko 28 1 0x88fe3000 b000 ng_hci.ko 29 3 0x88fe1000 2000 ng_bluetooth.ko 30 1 0x8908a000 a000 ukbd.ko 31 1 0x89182000 f000 ng_l2cap.ko 32 1 0x8920b000 20000 ng_btsocket.ko 33 1 0x8929f000 4000 ng_socket.ko 34 1 0x89963000 3000 ng_mppc.ko 35 1 0x89967000 2000 rc4.ko 36 1 0x8998b000 3000 ng_iface.ko 37 1 0x899a6000 7000 ng_ppp.ko 38 1 0x899d3000 2000 ng_tee.ko 39 1 0x89a34000 4000 ng_ether.ko 40 1 0x89abd000 6000 ng_pppoe.ko 41 1 0x89b05000 e000 fuse.ko 42 1 0x8a008000 23000 snd_au8830.ko 43 1 0x8a084000 4c000 sound.ko 44 1 0x8af79000 52000 radeon.ko 45 1 0x8b024000 15000 drm.ko 46 1 0x8b057000 18000 agp.ko Jun 26 08:15:03 limbo acpi: suspend at 20120626 08:15:03 Jun 26 08:15:06 limbo kernel: info: [drm] Num pipes: 1 Jun 26 08:15:08 limbo kernel: uhub1: at usbus1, port 1, addr 1 (disconnected) Jun 26 08:15:08 limbo kernel: ugen1.2: at usbus1 (disconnected) Jun 26 08:15:08 limbo kernel: ums0: at uhub1, port 2, addr 2 (disconnected) Jun 26 08:15:08 limbo kernel: uhub2: at usbus2, port 1, addr 1 (disconnected) Jun 26 08:15:31 limbo kernel: uhub3: at usbus3, port 1, addr 1 (disconnected) Jun 26 08:15:31 limbo kernel: ugen3.2: at usbus3 (disconnected) Jun 26 08:15:31 limbo kernel: uhub4: at uhub3, port 1, addr 2 (disconnected) Jun 26 08:15:31 limbo kernel: ugen3.3: at usbus3 (disconnected) Jun 26 08:15:31 limbo kernel: ubt0: at uhub4, port 1, addr 3 (disconnected) Jun 26 08:15:31 limbo kernel: ugen3.4: at usbus3 (disconnected) Jun 26 08:15:31 limbo kernel: ukbd0: at uhub4, port 2, addr 4 (disconnected) Jun 26 08:15:31 limbo kernel: ugen3.5: at usbus3 (disconnected) Jun 26 08:15:31 limbo kernel: ums1: at uhub4, port 3, addr 5 (disconnected) Jun 26 08:15:31 limbo kernel: uhub0: at usbus0, port 1, addr 1 (disconnected) Jun 26 08:15:31 limbo kernel: ugen0.2: at usbus0 (disconnected) Jun 26 08:15:31 limbo kernel: umass0: at uhub0, port 6, addr 2 (disconnected) Jun 26 08:15:31 limbo kernel: (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 0 refs Jun 26 08:15:31 limbo kernel: (da0:umass-sim0:0:0:0): removing device entry Jun 26 08:15:31 limbo kernel: wakeup from sleeping state (slept 00:00:19) Jun 26 08:15:31 limbo kernel: re0: link state changed to DOWN Jun 26 08:15:31 limbo kernel: uhub0: on usbus0 Jun 26 08:15:31 limbo kernel: uhub1: on usbus2 Jun 26 08:15:31 limbo kernel: uhub2: on usbus1 Jun 26 08:15:31 limbo kernel: uhub3: on usbus3 Jun 26 08:15:31 limbo kernel: uhub1: 2 ports with 2 removable, self powered Jun 26 08:15:31 limbo kernel: uhub2: 2 ports with 2 removable, self powered Jun 26 08:15:31 limbo kernel: uhub3: 2 ports with 2 removable, self powered Jun 26 08:15:31 limbo acpi: resumed at 20120626 08:15:31 Jun 26 08:15:31 limbo kernel: re0: link state changed to UP Jun 26 08:15:32 limbo kernel: info: [drm] Loading R300 Microcode Jun 26 08:15:32 limbo kernel: info: [drm] Num pipes: 1 Jun 26 08:15:33 limbo kernel: uhub0: 6 ports with 6 removable, self powered Jun 26 08:15:34 limbo kernel: ugen1.2: at usbus1 Jun 26 08:15:34 limbo kernel: ums0: on usbus1 Jun 26 08:15:34 limbo kernel: ums0: 3 buttons and [XYZ] coordinates ID=0 Jun 26 08:15:35 limbo kernel: ugen3.2: at usbus3 Jun 26 08:15:35 limbo kernel: uhub4: on usbus3 Jun 26 08:15:36 limbo kernel: ugen0.2: at usbus0 Jun 26 08:15:36 limbo kernel: umass0: on usbus0 Jun 26 08:15:36 limbo kernel: umass0: SCSI over Bulk-Only; quirks = 0x4100 Jun 26 08:15:36 limbo kernel: umass0:5:0:-1: Attached to scbus5 Jun 26 08:15:36 limbo kernel: da0 at umass-sim0 bus 0 scbus5 target 0 lun 0 Jun 26 08:15:36 limbo kernel: da0: Removable Direct Access SCSI-0 device Jun 26 08:15:36 limbo kernel: da0: 40.000MB/s transfers Jun 26 08:15:36 limbo kernel: da0: 7441MB (15240576 512 byte sectors: 255H 63S/T 948C) Jun 26 08:15:36 limbo kernel: uhub4: 3 ports with 0 removable, bus powered Jun 26 08:15:36 limbo kernel: ugen3.3: at usbus3 Jun 26 08:15:36 limbo kernel: ubt0: on usbus3 Jun 26 08:15:37 limbo kernel: ugen3.4: at usbus3 Jun 26 08:15:37 limbo kernel: ukbd0: on usbus3 Jun 26 08:15:37 limbo kernel: kbd2 at ukbd0 Jun 26 08:15:38 limbo kernel: ugen3.5: at usbus3 Jun 26 08:15:38 limbo kernel: ums1: on usbus3 Jun 26 08:15:38 limbo kernel: ums1: 3 buttons and [XY] coordinates ID=0 Jun 26 08:16:44 limbo kernel: ugen0.2: at usbus0 (disconnected) Jun 26 08:16:44 limbo kernel: umass0: at uhub0, port 6, addr 2 (disconnected) Jun 26 08:16:44 limbo kernel: (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 0 refs Jun 26 08:16:44 limbo kernel: (da0:umass-sim0:0:0:0): removing device entry Jun 26 08:17:03 limbo kernel: info: [drm] Num pipes: 1 Jun 26 08:17:23 limbo kernel: info: [drm] Setting GART location based on new memory map Jun 26 08:17:23 limbo kernel: info: [drm] Loading R300 Microcode Jun 26 08:17:23 limbo kernel: info: [drm] Num pipes: 1 Jun 26 08:17:23 limbo kernel: info: [drm] writeback test succeeded in 1 usecs Works like a charm. -- Sphinx of black quartz judge my vow. From owner-freebsd-mobile@FreeBSD.ORG Tue Jun 26 15:18:02 2012 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3CD2106564A; Tue, 26 Jun 2012 15:18:02 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id A0E378FC15; Tue, 26 Jun 2012 15:18:02 +0000 (UTC) Received: from lstewart1.loshell.room52.net (ppp59-167-184-191.static.internode.on.net [59.167.184.191]) by lauren.room52.net (Postfix) with ESMTPSA id ECDED7E891; Wed, 27 Jun 2012 01:18:00 +1000 (EST) Message-ID: <4FE9D2A8.3020206@freebsd.org> Date: Wed, 27 Jun 2012 01:18:00 +1000 From: Lawrence Stewart User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120613 Thunderbird/13.0 MIME-Version: 1.0 To: Mitsuru IWASAKI References: <20120625.230644.35358028.iwasaki@jp.FreeBSD.org> <4FE885BD.9010206@freebsd.org> <20120626.010315.84362521.iwasaki@jp.FreeBSD.org> In-Reply-To: <20120626.010315.84362521.iwasaki@jp.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lauren.room52.net Cc: freebsd-stable@freebsd.org, Jung-uk Kim , freebsd-mobile@freebsd.org Subject: Re: [CFT] radeon_suspend/resume patch X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2012 15:18:03 -0000 On 06/26/12 02:03, Mitsuru IWASAKI wrote: > Thanks for your thrilling report! > >> I rebooted into X with Fluxbox as my window manager. Ran "sudo acpiconf >> -s3" from an xterm. Machine correctly went to sleep. I waiting 30s and >> then pressed the power button. Machine came back, loaded X up correctly >> and everything kept working. Amazing! > > OK, I'll commit the patches against head tomorrow. > > BTW, is it effective for the console which is set graphic mode by > vidconrol(1) as well? Do you mean if I set the vty console to a non-default mode e.g. "vidcontrol MODE_XXX"? If so, then no. It turns out that as Jung-uk suspected, your patch is not required for susped/resume to work correctly when in Fluxbox. Booting kernel.old (which is same revision kernel, minus your patch) and running the same experiment works just as well. With or without your patch, resume from S3 both on a vty console and from KDE 4.8.3 don't work - the screen stays off after resume. The machine still mostly responds to CTRL-ALT_DEL (sometimes it doesn't and I have to hard reset it - kernel panic? No crashdump is created...), so it seems it's just the graphics which are not resuming correctly. Why would resume from S3 work flawlessly with or without your patch from Fluxbox, but not from KDE or when switched out to a vty? Seems very odd to me, especially that KDE doesn't work given that it is just another X window manager like Fluxbox. Cheers, Lawrence From owner-freebsd-mobile@FreeBSD.ORG Fri Jun 29 12:07:02 2012 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D91071065675 for ; Fri, 29 Jun 2012 12:07:02 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9DEF28FC22 for ; Fri, 29 Jun 2012 12:07:02 +0000 (UTC) Received: from mr17.lnh.mail.rcn.net ([207.172.157.37]) by smtp02.lnh.mail.rcn.net with ESMTP; 29 Jun 2012 08:06:56 -0400 Received: from smtp04.lnh.mail.rcn.net (smtp04.lnh.mail.rcn.net [207.172.157.104]) by mr17.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id BOI22051; Fri, 29 Jun 2012 08:06:56 -0400 Received: from 209-6-86-84.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.86.84]) by smtp04.lnh.mail.rcn.net with ESMTP; 29 Jun 2012 08:06:56 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20461.39520.53750.83802@jerusalem.litteratus.org> Date: Fri, 29 Jun 2012 08:06:56 -0400 To: mobile@freebsd.org X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr17.lnh.mail.rcn.net) Cc: roberthuff@rcn.com Subject: looking for opinions on laptop X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2012 12:07:03 -0000 (I have been told this is the place to ask about laptops that would be used with FreeBSD. If that's incorrect - please point me toward a better forum.) I have the opportunity to get a (refurbished) Lenovo G570 (Core i5, 2x2.4 ghz) for what seems like a very good price. Does anyone have experience with a) this model, b) the G series, or c) Lenovo laptops generally that would bear on my decision? Thanks, Robert Huff From owner-freebsd-mobile@FreeBSD.ORG Fri Jun 29 12:38:10 2012 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1FF5106566B for ; Fri, 29 Jun 2012 12:38:10 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 4C64F8FC0C for ; Fri, 29 Jun 2012 12:38:09 +0000 (UTC) Received: from mart.js.berklix.net (p57BCF96C.dip.t-dialin.net [87.188.249.108]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id q5TCc125090599; Fri, 29 Jun 2012 12:38:02 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id q5TCbnHE016295; Fri, 29 Jun 2012 14:37:50 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id q5TCbbb1027897; Fri, 29 Jun 2012 14:37:43 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201206291237.q5TCbbb1027897@fire.js.berklix.net> To: Robert Huff From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Fri, 29 Jun 2012 08:06:56 EDT." <20461.39520.53750.83802@jerusalem.litteratus.org> Date: Fri, 29 Jun 2012 14:37:37 +0200 Sender: jhs@berklix.com Cc: mobile@freebsd.org Subject: Re: looking for opinions on laptop X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2012 12:38:10 -0000 Robert Huff wrote: > > (I have been told this is the place to ask about laptops that > would be used with FreeBSD. If that's incorrect - please point me > toward a better forum.) > I have the opportunity to get a (refurbished) Lenovo G570 (Core > i5, 2x2.4 ghz) for what seems like a very good price. > Does anyone have experience with a) this model, b) the G > series, or c) Lenovo laptops generally that would bear on my > decision? > Thanks, > > > Robert Huff http://laptop.bsdgroup.de/freebsd/index.html?action=show_laptop_detail&laptop=13089 Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ From owner-freebsd-mobile@FreeBSD.ORG Fri Jun 29 13:09:44 2012 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56AC7106564A for ; Fri, 29 Jun 2012 13:09:44 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 04E808FC12 for ; Fri, 29 Jun 2012 13:09:43 +0000 (UTC) Received: from mr16.lnh.mail.rcn.net ([207.172.157.36]) by smtp02.lnh.mail.rcn.net with ESMTP; 29 Jun 2012 09:08:41 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr16.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id BVJ54581; Fri, 29 Jun 2012 09:08:41 -0400 Received-SPF: None identity=pra; client-ip=209.6.86.84; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible Received-SPF: Neutral identity=mailfrom; client-ip=209.6.86.84; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None identity=helo; client-ip=209.6.86.84; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="postmaster@jerusalem.litteratus.org.litteratus.org"; x-conformance=sidf_compatible Received: from 209-6-86-84.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.86.84]) by smtp01.lnh.mail.rcn.net with ESMTP; 29 Jun 2012 09:08:41 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20461.43225.110362.481199@jerusalem.litteratus.org> Date: Fri, 29 Jun 2012 09:08:41 -0400 To: mobile@freebsd.org In-Reply-To: <201206291237.q5TCbbb1027897@fire.js.berklix.net> References: <20461.39520.53750.83802@jerusalem.litteratus.org> <201206291237.q5TCbbb1027897@fire.js.berklix.net> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr16.lnh.mail.rcn.net) Cc: Subject: Re: looking for opinions on laptop X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2012 13:09:44 -0000 Julian H. Stacey writes: > > I have the opportunity to get a (refurbished) Lenovo G570 (Core > > i5, 2x2.4 ghz) for what seems like a very good price. > > Does anyone have experience with a) this model, b) the G > > series, or c) Lenovo laptops generally that would bear on my > > decision? > > http://laptop.bsdgroup.de/freebsd/index.html?action=show_laptop_detail&laptop=13089 Interesting. Thanks, Robert Huff