From owner-freebsd-mobile@FreeBSD.ORG Thu Sep 18 19:02:03 2008 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 6916D1065670 for ; Thu, 18 Sep 2008 19:02:03 +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 D07038FC08 for ; Thu, 18 Sep 2008 19:02:02 +0000 (UTC) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (celeron.v4.locore.org [192.168.0.10]) by locore.org (8.14.2/8.14.2/iwasaki) with ESMTP/inet id m8IINZTm034978; Fri, 19 Sep 2008 03:23:35 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Fri, 19 Sep 2008 03:23:34 +0900 (JST) Message-Id: <20080919.032334.54135277.iwasaki@jp.FreeBSD.org> To: Juergen.Dankoweit@T-Online.de From: Mitsuru IWASAKI In-Reply-To: <1221732390.1279.1.camel@t43.juergendankoweit.net> References: <1221732390.1279.1.camel@t43.juergendankoweit.net> 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-mobile@freebsd.org Subject: Re: Thinkap T43 suspend/resume only once 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: Thu, 18 Sep 2008 19:02:03 -0000 Hi, Please try this patch. http://people.freebsd.org/~iwasaki/acpi/subr_bus.c-fix-20080919.diff Thanks > On my Thinkpad T43 every component works great with FreeBSD 7.0 and 7.1 > PRERELEASE. > But there is one point that does not work correctly. > When I press the Fn+F4 buttons the first time after booting the system, > ACPI mode S3 is called correctly and the notebook goes into suspend > mode. After pressing Fn alone the notebook resumes perfekt. > > But when I press Fn+F4 the next time, nothing happens. Entering > "acpiconf -s 3" suspends the notebook and resuming is no problem > > Where is the problem? If this is the wrong list, please tell me. > > Many thanks for your answers. > > Best regards > > J.D. > > Here the configuration files: > > /boot/loader.conf > ---------------- > # fuer T43 > acpi_ibm_load="YES" > > # Sound-Modul laden > snd_ich_load="YES" > > # Bluetooth > ng_ubt_load="YES" > > # ATi-Radeon-Module fuer X300 > radeon_load="YES" > > # fuer Mono > kern.ipc.semmni=40 > kern.ipc.semmns=300 > > # fuer gamin > kern.maxfiles="25000" > > /etc/sysctl.conf > ---------------- > # ACPI fuer Thinkpad T43 > # > hw.acpi.reset_video=1 > hw.acpi.lid_switch_state=S3 > hw.acpi.sleep_button_state=S3 > hw.acpi.power_button_state=S5 > hw.acpi.sleep_delay=3 > hw.acpi.verbose=1 > > dev.acpi_ibm.0.events=1 > > hw.syscons.sc_no_suspend_vtswitch=0 > > /etc/devd.conf (the relevant entry): > ------------------------------------ > # Suspend fuer IBM Thinkpad T43 > notify 10 { > match "system" "ACPI"; > match "subsystem" "IBM"; > match "notify" "0x04"; > action "logger -t Fn+F4 && /etc/rc.suspend"; > }; > > > uname -a says: > -------------- > FreeBSD t43.juergendankoweit.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE > #0: Sun Sep 14 09:24:44 CEST 2008 > juergen@t43.juergendankoweit.net:/usr/obj/usr/src/sys/GENERIC i386 > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" >