From owner-freebsd-mobile@FreeBSD.ORG Sun Aug 20 17:35:57 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A11C216A4DE for ; Sun, 20 Aug 2006 17:35:57 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CD0A43D45 for ; Sun, 20 Aug 2006 17:35:56 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 22265 invoked from network); 20 Aug 2006 17:35:54 -0000 Received: from unknown (HELO localhost) (775067@[217.50.135.150]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 20 Aug 2006 17:35:54 -0000 Date: Sun, 20 Aug 2006 19:35:45 +0200 From: Fabian Keil To: freebsd-mobile@freebsd.org Message-ID: <20060820193545.542309a4@localhost> In-Reply-To: <20060818173752.188232e5.torfinn.ingolfsen@broadpark.no> References: <44E58BAB.9060906@unsane.co.uk> <20060818173752.188232e5.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.19; i386-portbld-freebsd6.1) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_mCfnGnmt7s8KHkTpn/n8d7S"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: 3945ABG wireless Driver and drm for i945GM issues 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: Sun, 20 Aug 2006 17:35:57 -0000 --Sig_mCfnGnmt7s8KHkTpn/n8d7S Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Torfinn Ingolfsen wrote: > On Fri, 18 Aug 2006 10:43:07 +0100 > Vince wrote: >=20 > > that the big discontinued all across his website mean he's no longer > > working on the freebsd driver. > > Does anyone know if this is the case >=20 > Funny you should ask. A few weeks ago I tested the driver on FreeBSD > 6.1, found that it didn't work (nobody had siad that it would work, > either), and sent Damien a mail wirth my findings. > In his reply, he stated that the wpi driver for FreeBSD was developed > for his own personal use, and that he don't plan on any further > development of this driver. He stated that he maintains the driver in > OpenBSD. See for the reason (from his point of view of course): |I've been a FreeBSD src committer for a bit more than |a year. I've been trying to maintain my ipw, iwi, ral, |and ural drivers inside the FreeBSD source tree. | |I left the FreeBSD project a few weeks ago. Some developers |started to commit code in my drivers without even asking for |my approval while others were publicly criticizing my work |in talks where I did not attend so I didn't have a chance |to reply. Because of this, I was no longer having fun working |in FreeBSD so I left. This is kind of sad since I still have |a lot of respect for most FreeBSD developers. Fabian --=20 http://www.fabiankeil.de/ --Sig_mCfnGnmt7s8KHkTpn/n8d7S Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE6J14BYqIVf93VJ0RAmqiAKCxHrK0jsgd5u2PI/CH3s0vp0En0wCfSxKP KEUJsDpDbNdWod8zGsWO/YU= =v0iM -----END PGP SIGNATURE----- --Sig_mCfnGnmt7s8KHkTpn/n8d7S-- From owner-freebsd-mobile@FreeBSD.ORG Mon Aug 21 08:39:22 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89E4416A4E5 for ; Mon, 21 Aug 2006 08:39:22 +0000 (UTC) (envelope-from yraffah@savola.com) Received: from heathrow.savoladns.com (heathrow.savoladns.com [212.12.174.7]) by mx1.FreeBSD.org (Postfix) with SMTP id EBC8E43DF2 for ; Mon, 21 Aug 2006 08:38:57 +0000 (GMT) (envelope-from yraffah@savola.com) Received: from ocs.savola.com (ocs.savola.com [222.22.1.211]) by heathrow.savoladns.com (Postfix) with ESMTP id D953C9585A; Mon, 21 Aug 2006 11:38:49 +0300 (AST) Received: from 222.22.1.191 by ocs.savola.com with ESMTP id 73133141156148801; Mon, 21 Aug 2006 11:26:41 +0300 From: Yousef Raffah To: Ian Smith In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-jUKfAWT/HKnSvfoscQ1L" Organization: The Savola Group Date: Mon, 21 Aug 2006 11:38:42 +0300 Message-Id: <1156149522.1036.13.camel@redevil.savola.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port Cc: freebsd-mobile@freebsd.org Subject: Re: Interrupt Storms on irq:11 with Tecra A4 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yraffah@savola.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2006 08:39:22 -0000 --=-jUKfAWT/HKnSvfoscQ1L Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2006-08-09 at 01:09 +1000, Ian Smith wrote: > On Tue, 8 Aug 2006, Yousef Raffah wrote: > > John Baldwin wrote: > > > On Sunday 06 August 2006 05:01, Yousef Raffah wrote: > > > =20 > > >> Thank you very much John for your great help and support. Now that = I > > >> have the patch working, do I need to remove the entries > > >> hw.pci.link.LNKG.irq=3D11 > > >> hw.pci.link.LNKH.irq=3D11 > > >> > > >> from my /boot/loader.conf? > > >> =20 > > > > > > No. The patch lets those entries actually work, so leave them there= . :) > > > > > > =20 > > OK > > >> I assume I have to do this every time I buildworld, right? > > >> =20 > > > > > > No, I'll commit the patch and once it is MFC'd you won't have to re-= apply it=20 > > > after running cvsup. Until then, you will have to apply it each tim= e after=20 > > > you cvsup. I think you can ignore the 'unretryable' errors from cd0= btw. >=20 > John: does anything much still get MFC'd back to 5-STABLE these days?=20 > Are there any reasons not to go to 6 with old kit that works well with > APM (esp suspend/resume) but not so far with ACPI? (ref: '99 Compaq > Armada 1500c) >=20 > > This is great news, thank you so much :)=20 >=20 > Yousef: good to see perseverance further! >=20 > Just curious .. was that DB-25 on your Tecra a parallel port after all? > And if so, has fixing this interrupt storm problem fixed ppc0 detection? >=20 I'm sorry Ian, I was going through my old messages and suddenly saw yours :) yes, the DB-25 is a parallel port. However, the fix for the interrupt storm did not fix detecting the ppc0. dmesg | grep -i ppc0 ppc0: parallel port not found > Cheers, Ian >=20 --=-jUKfAWT/HKnSvfoscQ1L Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBE6XESqG4sHeIU6qURAv76AKC/HgzSXUAIgExjbc96D6U9zDffcwCdH05E 5na+BQyUIiIdkjGestwJkZU= =44f/ -----END PGP SIGNATURE----- --=-jUKfAWT/HKnSvfoscQ1L-- From owner-freebsd-mobile@FreeBSD.ORG Mon Aug 21 22:18:54 2006 Return-Path: X-Original-To: freebsd-mobile@FreeBSD.ORG Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B65616A4DA for ; Mon, 21 Aug 2006 22:18:54 +0000 (UTC) (envelope-from markus.hoenicka@mhoenicka.de) Received: from rrzmta1.rz.uni-regensburg.de (rrzmta1.rz.uni-regensburg.de [132.199.1.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD12B43D49 for ; Mon, 21 Aug 2006 22:18:53 +0000 (GMT) (envelope-from markus.hoenicka@mhoenicka.de) Received: from rrzmta1.rz.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 1AF641D14F4 for ; Tue, 22 Aug 2006 00:18:55 +0200 (CEST) Received: from yeti.mininet (rrzras2-106.rz.uni-regensburg.de [132.199.209.106]) by rrzmta1.rz.uni-regensburg.de (Postfix) with ESMTP id 2C7201D14F3 for ; Tue, 22 Aug 2006 00:18:49 +0200 (CEST) X-Mailer: emacs 21.3.1 (via feedmail 8 Q); VM 7.19 under Emacs 21.3.1 From: "Markus Hoenicka" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17642.10690.349004.914227@yeti.mininet> Date: Mon, 21 Aug 2006 23:46:42 +0200 To: freebsd-mobile@FreeBSD.ORG Cc: Subject: 915resolution failure on 6.1 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, 21 Aug 2006 22:18:54 -0000 Hi all, I've spent the last few days upgrading an MSI 260 (Centrino, 915GM, 1280x800 screen) laptop to FreeBSD 6.1 from 5.4, using a binary upgrade for the system itself and the portupgrade tool for the installed ports and packages. I had previously used the vesa driver which still works ok, but rumours say Xorg 6.9 supports the 915GM chipset by means of the i810 driver. Googling told me I'd have to switch on agp support during booting, load the dri module in my xorg.conf, and select the i810 driver. Google also told me that I'd have to use the 915resolution tool to trick the BIOS into believing there is something like a 1280x800 resolution. This is where the trouble starts. Running 915resolution as root simply results in: error while loading shared libraries: /usr/lib/libc.so.6: ELF file OS ABI invalid The docs tell me that the tool is a Linux app that uses the Linux ABI, and brandelf indeed reports it is a Linux binary. I have the Linux ABI installed and it is properly initialized during startup. I don't have any weird modifications in my library paths. Specifically, LD_LIBRARY_PATH is not set. What am I doing wrong? regards, Markus -- Markus Hoenicka markus.hoenicka@cats.de (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de From owner-freebsd-mobile@FreeBSD.ORG Tue Aug 22 05:32:14 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 856E916A4DA; Tue, 22 Aug 2006 05:32:14 +0000 (UTC) (envelope-from nate@root.org) Received: from ylpvm01.prodigy.net (ylpvm01-ext.prodigy.net [207.115.57.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14DD043D45; Tue, 22 Aug 2006 05:32:13 +0000 (GMT) (envelope-from nate@root.org) X-ORBL: [71.139.46.150] Received: from [10.0.5.50] (ppp-71-139-46-150.dsl.snfc21.pacbell.net [71.139.46.150]) by ylpvm01.prodigy.net (8.13.7 out spool5000 dk/8.13.7) with ESMTP id k7M5W8WA000657; Tue, 22 Aug 2006 01:32:09 -0400 Message-ID: <44EA96DB.1060501@root.org> Date: Mon, 21 Aug 2006 22:32:11 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: john@utzweb.net References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <200607122136.54293.mistry.7@osu.edu> <44B6401F.8050507@centtech.com> <44B641F2.2020500@centtech.com> <32884.69.93.78.27.1152831695.squirrel@69.93.78.27> <34247.69.93.78.27.1152835592.squirrel@69.93.78.27> <39062.69.93.78.27.1152857140.squirrel@69.93.78.27> In-Reply-To: <39062.69.93.78.27.1152857140.squirrel@69.93.78.27> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Patch to fix this Re: Dell/acpi_video hw.acpi.video.out0 is probably a bug, and an important one. Re: Dell laptops 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, 22 Aug 2006 05:32:14 -0000 bruno@ already fixed this in -current with a more complete patch. He will probably MFC soon. john@utzweb.net wrote: > acpi_video.c expects the lcd to be identified as 0x0110, but my Dell > Latitude C400 (and probably others) id's the lcd at 0x0400: > > Device (LCD) > { > Method (_ADR, 0, NotSerialized) > { > Return (0x0400) > } > > > so, acpi_video needs to account for this. > > > got this sorted, and now the display turns back on, here's the patch, i > already send-pr'd it -- Nate From owner-freebsd-mobile@FreeBSD.ORG Tue Aug 22 09:13:52 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A55A16A4E0; Tue, 22 Aug 2006 09:13:52 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id D882243D77; Tue, 22 Aug 2006 09:13:51 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1GFSJo-0001hM-00; Tue, 22 Aug 2006 11:13:08 +0200 Date: Tue, 22 Aug 2006 11:13:08 +0200 To: Nate Lawson Message-ID: <20060822091308.GG4945@poupinou.org> References: <200607122136.54293.mistry.7@osu.edu> <44B6401F.8050507@centtech.com> <44B641F2.2020500@centtech.com> <32884.69.93.78.27.1152831695.squirrel@69.93.78.27> <34247.69.93.78.27.1152835592.squirrel@69.93.78.27> <39062.69.93.78.27.1152857140.squirrel@69.93.78.27> <44EA96DB.1060501@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44EA96DB.1060501@root.org> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Patch to fix this Re: Dell/acpi_video hw.acpi.video.out0 is probably a bug, and an important one. Re: Dell laptops 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, 22 Aug 2006 09:13:52 -0000 On Mon, Aug 21, 2006 at 10:32:11PM -0700, Nate Lawson wrote: > bruno@ already fixed this in -current with a more complete patch. He > will probably MFC soon. > I've MFC'd that one already :) -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-mobile@FreeBSD.ORG Tue Aug 22 12:24:22 2006 Return-Path: X-Original-To: freebsd-mobile@FreeBSD.ORG Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2EAA16A4DD for ; Tue, 22 Aug 2006 12:24:22 +0000 (UTC) (envelope-from lars.engels@0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FF8543D58 for ; Tue, 22 Aug 2006 12:24:21 +0000 (GMT) (envelope-from lars.engels@0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mail.0x20.net (Postfix) with ESMTP id 62DD533EE4; Tue, 22 Aug 2006 14:24:20 +0200 (CEST) Received: from 194.187.112.164 ([194.187.112.164]) by 0x20.net (Horde MIME library) with HTTP; Tue, 22 Aug 2006 14:24:20 +0200 Message-ID: <20060822142420.b66w3691s8o8s08g@0x20.net> Date: Tue, 22 Aug 2006 14:24:20 +0200 From: Lars Engels To: Markus Hoenicka References: <17642.10690.349004.914227@yeti.mininet> In-Reply-To: <17642.10690.349004.914227@yeti.mininet> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.2) / FreeBSD-5.5 Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: 915resolution failure on 6.1 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, 22 Aug 2006 12:24:22 -0000 Quoting Markus Hoenicka : > Hi all, > > I've spent the last few days upgrading an MSI 260 (Centrino, 915GM, > 1280x800 screen) laptop to FreeBSD 6.1 from 5.4, using a binary > upgrade for the system itself and the portupgrade tool for the > installed ports and packages. I had previously used the vesa driver > which still works ok, but rumours say Xorg 6.9 supports the 915GM > chipset by means of the i810 driver. > > Googling told me I'd have to switch on agp support during booting, > load the dri module in my xorg.conf, and select the i810 > driver. Google also told me that I'd have to use the 915resolution > tool to trick the BIOS into believing there is something like a > 1280x800 resolution. > > This is where the trouble starts. Running 915resolution as root simply > results in: > > error while loading shared libraries: /usr/lib/libc.so.6: ELF file OS > ABI invalid > > The docs tell me that the tool is a Linux app that uses the Linux ABI, > and brandelf indeed reports it is a Linux binary. I have the Linux ABI > installed and it is properly initialized during startup. I don't have > any weird modifications in my library paths. Specifically, > LD_LIBRARY_PATH is not set. > Hi Markus, do other Linux apps run properly? Do you have linux_enable=3D"YES" in =20 your /etc/rc.conf? Have you installed the 915resolution tool manually or via the port? Lars From owner-freebsd-mobile@FreeBSD.ORG Tue Aug 22 22:55:31 2006 Return-Path: X-Original-To: freebsd-mobile@FreeBSD.ORG Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77F0216A4DA for ; Tue, 22 Aug 2006 22:55:31 +0000 (UTC) (envelope-from markus.hoenicka@mhoenicka.de) Received: from rrzmta1.rz.uni-regensburg.de (rrzmta1.rz.uni-regensburg.de [132.199.1.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EB1343D45 for ; Tue, 22 Aug 2006 22:55:30 +0000 (GMT) (envelope-from markus.hoenicka@mhoenicka.de) Received: from rrzmta1.rz.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 0E5161BEA05; Wed, 23 Aug 2006 00:55:40 +0200 (CEST) Received: from yeti.mininet (rrzras2-38.rz.uni-regensburg.de [132.199.209.38]) by rrzmta1.rz.uni-regensburg.de (Postfix) with ESMTP id A5F511D0F4F; Wed, 23 Aug 2006 00:55:30 +0200 (CEST) X-Mailer: emacs 21.3.1 (via feedmail 8 I); VM 7.19 under Emacs 21.3.1 From: "Markus Hoenicka" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17643.35647.702609.82548@yeti.mininet> Date: Wed, 23 Aug 2006 00:54:55 +0200 To: Lars Engels In-Reply-To: <20060822142420.b66w3691s8o8s08g@0x20.net> References: <17642.10690.349004.914227@yeti.mininet> <20060822142420.b66w3691s8o8s08g@0x20.net> Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: 915resolution failure on 6.1 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, 22 Aug 2006 22:55:31 -0000 Lars Engels writes: > do other Linux apps run properly? Do you have linux_enable="YES" in > your /etc/rc.conf? > Have you installed the 915resolution tool manually or via the port? > Good point. After upgrading, acroread failed with the same error message. I've continued to fiddle with the linux-related ports (which portupgrade somehow managed to botch) and finally got closer. The main fix was to add the linux_base_8.x package from the CD. I and portupgrade thought linux_base_fc4.x was sufficient but we were both wrong here. 915resolution now indeed works and does its magic. Thanks so far. Although it is getting off-topic for the mobile list, I'm still struggling with acroread which complains about a missing libXext.so.6. Both the native lib in /usr/X11R6/lib and the linux version in /compat/linux/usr/X11R6/lib are installed. Any clue? regards, Markus -- Markus Hoenicka markus.hoenicka@cats.de (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de From owner-freebsd-mobile@FreeBSD.ORG Thu Aug 24 06:08:23 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13D4216A4DA for ; Thu, 24 Aug 2006 06:08:23 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E0A643D49 for ; Thu, 24 Aug 2006 06:08:19 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id QAA13574 for ; Thu, 24 Aug 2006 16:08:16 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 24 Aug 2006 16:08:15 +1000 (EST) From: Ian Smith To: freebsd-mobile@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: IBM T30 and suspend/resume capability 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, 24 Aug 2006 06:08:23 -0000 Hi folks, I've been watching a bunch of laptops on eBay for a while, looking for something decent in the AU$350-500 range. Among others including Compaq Evo 610c and various IBMs (R31, R40) there have been a fair few T30s for sale lately that, on the face of it, look suitable to my needs. I've checked out what I can in posts to FLCL, though they're all a bit old. I'm particularly concerned with the status of ACPI (&/or APM) on these, most especially ability to unfailingly suspend / resume (to RAM), as I often use my laptop on battery in the field, and suspend overnight (on 12V solar power here) so this functionality is essential for me, and one reason I've kept my old Compaq 1500c going (APM works properly) I've noted with some dismay many posts here saying suspend/resume is often the ONE thing not working properly, and (fair enough) most people don't care about that. Can anyone report positive results on this? Cheers, Ian From owner-freebsd-mobile@FreeBSD.ORG Thu Aug 24 12:29:31 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B71FC16A4E0 for ; Thu, 24 Aug 2006 12:29:31 +0000 (UTC) (envelope-from gdt@ir.bbn.com) Received: from fnord.ir.bbn.com (fnord.ir.bbn.com [192.1.100.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E6E443D46 for ; Thu, 24 Aug 2006 12:29:30 +0000 (GMT) (envelope-from gdt@ir.bbn.com) Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id C4855539A; Thu, 24 Aug 2006 08:29:29 -0400 (EDT) From: Greg Troxel To: Ian Smith References: X-Hashcash: 1:20:060824:smithi@nimnet.asn.au::5IH7CIE3SjFmDpik:000000000000000000000000000000000000000000GOu X-Hashcash: 1:20:060824:freebsd-mobile@freebsd.org::nSOVfTjsIODLrvKT:0000000000000000000000000000000000005qh Date: Thu, 24 Aug 2006 08:29:25 -0400 In-Reply-To: (Ian Smith's message of "Thu, 24 Aug 2006 16:08:15 +1000 (EST)") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: freebsd-mobile@freebsd.org Subject: Re: IBM T30 and suspend/resume capability 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, 24 Aug 2006 12:29:31 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable I have a T30 (which has just suffered a video failure after good service for 3.5 years). I have run NetBSD, rather than FreeBSD, but I suspect things will be similar. I used apm, not acpi, and was able to suspend for a long time, but then I had trouble. I set up hibernation (create hidden FAT32 and use tphdisk to write a save2disk.bin that's bigger than ram+video+sum), and then Fn-F12 would write ram to disk and power off. I suspect this is even better than suspend for your application; startup time is < 30s. I never tried acpi. The T30 is a bit chunkier and heavier than other T series, but overall I was happy with it. =2D-=20 Greg Troxel --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (NetBSD) iD8DBQFE7Zup+vesoDJhHiURAr1rAJ4is+lOvJheeSKP3W8hjQErCcBRpQCeLF62 D+c8vYe5OURSVnDOAIBHz64= =uvB1 -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-mobile@FreeBSD.ORG Thu Aug 24 14:53:19 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7EA316A4DA for ; Thu, 24 Aug 2006 14:53:19 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DAD943D66 for ; Thu, 24 Aug 2006 14:53:09 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 28592 invoked from network); 25 Aug 2006 00:53:08 +1000 Received: from 203-217-50-90.dyn.iinet.net.au (HELO localhost) (203.217.50.90) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 25 Aug 2006 00:53:08 +1000 Date: Fri, 25 Aug 2006 00:53:05 +1000 From: Norberto Meijome To: Greg Troxel Message-ID: <20060825005305.5f145cf6@localhost> In-Reply-To: References: X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Ian Smith , freebsd-mobile@freebsd.org Subject: Re: IBM T30 and suspend/resume capability 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, 24 Aug 2006 14:53:19 -0000 On Thu, 24 Aug 2006 08:29:25 -0400 Greg Troxel wrote: > set up hibernation > (create hidden FAT32 and use tphdisk to write a save2disk.bin that's > bigger than ram+video+sum), and then Fn-F12 would write ram to disk > and power off. Hi Greg, nice one :) do u know if this works for other Thinkpad models? I'm on a much newer Z60m here - acpi works fine, suspend is much more reliable after I wrote my own suspend script called by devd, but hibernation is something I'd be interested in. cheers, Beto From owner-freebsd-mobile@FreeBSD.ORG Thu Aug 24 14:54:42 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C133216A4DA for ; Thu, 24 Aug 2006 14:54:42 +0000 (UTC) (envelope-from gdt@ir.bbn.com) Received: from fnord.ir.bbn.com (fnord.ir.bbn.com [192.1.100.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5026143D7D for ; Thu, 24 Aug 2006 14:54:37 +0000 (GMT) (envelope-from gdt@ir.bbn.com) Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id 1DE6653FE; Thu, 24 Aug 2006 10:54:37 -0400 (EDT) From: Greg Troxel To: Norberto Meijome References: <20060825005305.5f145cf6@localhost> X-Hashcash: 1:20:060824:freebsd-mobile@freebsd.org::aKLB0gus2hEOCUHp:000000000000000000000000000000000000H4x X-Hashcash: 1:20:060824:smithi@nimnet.asn.au::VZtG+mi92KVB52W9:0000000000000000000000000000000000000000023ZT X-Hashcash: 1:20:060824:freebsd@meijome.net::JEBbn0MNccbAy9e7:000000000000000000000000000000000000000000411a Date: Thu, 24 Aug 2006 10:54:36 -0400 In-Reply-To: <20060825005305.5f145cf6@localhost> (Norberto Meijome's message of "Fri, 25 Aug 2006 00:53:05 +1000") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: Ian Smith , freebsd-mobile@freebsd.org Subject: Re: IBM T30 and suspend/resume capability 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, 24 Aug 2006 14:54:42 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable I think it does work, but I'm not really sure. See www.thinkwiki.org. Linuxy, but lots of the information is useful for BSD. =2D-=20 Greg Troxel --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (NetBSD) iD8DBQFE7b2s+vesoDJhHiURAi7/AJwNtfbdTkKrYUKRTah2/htgkDdgVQCgrVN5 DxoGc3bwkXZXk5RSWv2Zdxg= =0D1O -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-mobile@FreeBSD.ORG Thu Aug 24 15:14:19 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5250916A4DA for ; Thu, 24 Aug 2006 15:14:19 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CB0E43D45 for ; Thu, 24 Aug 2006 15:14:17 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 26123 invoked from network); 24 Aug 2006 15:14:15 -0000 Received: from unknown (HELO localhost) (775067@[217.50.135.227]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 24 Aug 2006 15:14:15 -0000 Date: Thu, 24 Aug 2006 17:14:01 +0200 From: Fabian Keil To: freebsd-mobile@freebsd.org Message-ID: <20060824171401.706707ea@localhost> In-Reply-To: <20060825005305.5f145cf6@localhost> References: <20060825005305.5f145cf6@localhost> X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.19; i386-portbld-freebsd6.1) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_T9m1fLHrwp3X+zIpzpuR8HP; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: IBM T30 and suspend/resume capability 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, 24 Aug 2006 15:14:19 -0000 --Sig_T9m1fLHrwp3X+zIpzpuR8HP Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Norberto Meijome wrote: > On Thu, 24 Aug 2006 08:29:25 -0400 > Greg Troxel wrote: >=20 > > set up hibernation > > (create hidden FAT32 and use tphdisk to write a save2disk.bin that's > > bigger than ram+video+sum), and then Fn-F12 would write ram to disk > > and power off.=20 > nice one :) do u know if this works for other Thinkpad models? I'm on a m= uch > newer Z60m here - acpi works fine, suspend is much more reliable after I= wrote > my own suspend script called by devd, but hibernation is something I'd be > interested in. AFAIK there are two types of suspend to disk, one that heavily depends on the BIOS to do the work and one that doesn't. FreeBSD currently only supports the first one while modern laptops usually only support the second. BTW: what exactly does your devd script do? Fabian --=20 http://www.fabiankeil.de/ --Sig_T9m1fLHrwp3X+zIpzpuR8HP Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE7cJEBYqIVf93VJ0RAnrIAJ4zWld1D6b5TmEhk7O09ZeIygtj+ACfehkQ XtNReaeX533WIWwqumpvNi0= =vJFm -----END PGP SIGNATURE----- --Sig_T9m1fLHrwp3X+zIpzpuR8HP-- From owner-freebsd-mobile@FreeBSD.ORG Thu Aug 24 15:58:06 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1BD416A4DD for ; Thu, 24 Aug 2006 15:58:06 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F67543D45 for ; Thu, 24 Aug 2006 15:58:04 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id BAA29093; Fri, 25 Aug 2006 01:57:55 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 25 Aug 2006 01:57:54 +1000 (EST) From: Ian Smith To: Greg Troxel In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-mobile@freebsd.org Subject: Re: IBM T30 and suspend/resume capability 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, 24 Aug 2006 15:58:06 -0000 On Thu, 24 Aug 2006, Greg Troxel wrote: > I have a T30 (which has just suffered a video failure after good > service for 3.5 years). I have run NetBSD, rather than FreeBSD, but I > suspect things will be similar. I used apm, not acpi, and was able to > suspend for a long time, but then I had trouble. May I ask, what trouble? > I set up hibernation > (create hidden FAT32 and use tphdisk to write a save2disk.bin that's > bigger than ram+video+sum), and then Fn-F12 would write ram to disk > and power off. I suspect this is even better than suspend for your > application; startup time is < 30s. I can suspend to disk (Fn-sleepbutton, so via BIOS, to a preallocated file on 'C:') on the Armada 1500c, and sometimes do to preserve state over a few days, but suspend to RAM is very much faster, startup < 10s even with a Celeron 300 (albeit only 160MB RAM). Also, suspend to disk on hitting critical battery low can be a bit hit or miss. > I never tried acpi. I don't mind if only APM works, if it does, but finer power control would be nice (again towards running on battery for lengthy periods), with quite a few browser windows, edit and console sessions on the go, very seldom rebooting. > The T30 is a bit chunkier and heavier than other T series, but overall > I was happy with it. Thanks, Ian From owner-freebsd-mobile@FreeBSD.ORG Thu Aug 24 20:37:50 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D30616A4E6 for ; Thu, 24 Aug 2006 20:37:50 +0000 (UTC) (envelope-from Steve.Arruda@gdc4s.com) Received: from ns0.gdgsc.com (ns0.GDGSC.Com [192.160.62.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F31B43D55 for ; Thu, 24 Aug 2006 20:37:49 +0000 (GMT) (envelope-from Steve.Arruda@gdc4s.com) Received: from NDHMC4SXCH.gdc4s.com (ndhmc4sxch02.gdc4s.com [155.95.153.220]) by newman.gdgsc.com (PMDF V6.2 #31127) with ESMTP id <0J4I009JFRS8UF@newman.gdgsc.com> for freebsd-mobile@freebsd.org; Thu, 24 Aug 2006 16:33:44 -0400 (EDT) Received: from TNTNC4SXCH.gdc4s.com ([157.176.173.14]) by NDHMC4SXCH.gdc4s.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 24 Aug 2006 16:33:43 -0400 Date: Thu, 24 Aug 2006 16:33:44 -0400 From: "Arruda, Steve" To: freebsd-mobile@freebsd.org Message-id: <8C431EC125E9924186D8BB91DC1152B708A20470@TNTNC4SXCH.gdc4s.com> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft Exchange V6.5 Thread-Topic: Touch-screen Stylus-pointer working but need callibration for X11 ?? Thread-Index: AcbHvJe2dpXr7Um0Qpq8YwpzBYXo7A== Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 24 Aug 2006 20:33:43.0789 (UTC) FILETIME=[979A51D0:01C6C7BC] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Touch-screen Stylus-pointer working but need callibration for X11 ?? 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, 24 Aug 2006 20:37:50 -0000 Curious to know how you got this working. I can't get passed the = embedded controller and do not get any interrupts from the ps/2 touch = panel controller. From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 25 09:06:05 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBB4316A4E0 for ; Fri, 25 Aug 2006 09:06:05 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DC8343D49 for ; Fri, 25 Aug 2006 09:06:03 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 11967 invoked from network); 25 Aug 2006 19:06:02 +1000 Received: from 203-217-78-140.dyn.iinet.net.au (HELO localhost) (203.217.78.140) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 25 Aug 2006 19:06:02 +1000 Date: Fri, 25 Aug 2006 19:05:56 +1000 From: Norberto Meijome To: Fabian Keil Message-ID: <20060825190556.0e913ec5@localhost> In-Reply-To: <20060824171401.706707ea@localhost> References: <20060825005305.5f145cf6@localhost> <20060824171401.706707ea@localhost> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Minimal sample custom devd.conf ( was Re: IBM T30 and suspend/resume capability ) 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, 25 Aug 2006 09:06:06 -0000 On Thu, 24 Aug 2006 17:14:01 +0200 Fabian Keil wrote: > > nice one :) do u know if this works for other Thinkpad models? I'm on a much > > newer Z60m here - acpi works fine, suspend is much more reliable after I > > wrote my own suspend script called by devd, but hibernation is something > > I'd be interested in. > > AFAIK there are two types of suspend to disk, one that heavily depends > on the BIOS to do the work and one that doesn't. FreeBSD currently only > supports the first one while modern laptops usually only support the second. gotcha :) I would guess mine is supported by BIOS: (S4 ) hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 > > BTW: what exactly does your devd script do? Nothing major really... I was getting some crashes on resume, and the default acpi_ibm behaviours for the fn- keys weren't too much of my liking... so what I did (for the archives... hopefully it'll be useful for someone else) 1) added to /etc/sysctl.conf -- # Needed for custom ACPI control # This will pass ACPI events to devd after acpi_ibm. # Custom devd config can be found in /usr/local/etc/devd dev.acpi_ibm.0.events=1 --- 2) ensured /etc/devd.conf contains in the options { } section: directory "/usr/local/etc/devd"; 3) Created a ayiin.conf file in /usr/local/etc/devd (ayiin = name of machine... anything would work really), with the following lines ---- notify 10 { ## Fn-F4 : Suspend match "system" "ACPI"; match "subsystem" "IBM"; match "notify" "0x04"; action "/bin/sh -c /home/betom/bin/do_acpi_suspend.sh"; }; notify 10 { ## Closing lid : powerdown LCD with radeon tool match "system" "ACPI"; match "subsystem" "Lid"; match "notify" "0x00"; action "/usr/local/bin/radeontool light off; /usr/local/bin/radeontool dac off"; }; notify 10 { ## Opening lid : power up LCD with radeon tool match "system" "ACPI"; match "subsystem" "Lid"; match "notify" "0x01"; action "/usr/local/bin/radeontool light on; /usr/local/bin/radeontool dac off"; }; notify 10 { ## Fn-F2 - Lock match "system" "ACPI"; match "subsystem" "IBM"; match "notify" "0x02"; action "/usr/X11R6/bin/xscreensaver-command -lock"; #action "/bin/sh -c /home/betom/bin/do_acpi_x_lock.sh"; }; ------------------------------- end of /usr/local/etc/devd/ayiin.conf 4) Created /home/betom/bin/do_acpi_suspend.sh as follows: ---- #!/usr/local/bin/bash # switch to first VC vidcontrol -s 1 < /dev/ttyv0 # make sure we sync all the disk buffers ... in case we die on resume, this minimises problems with fsck sync sync sleep 3 sync sync sleep 1 sync zzz ---- and that's about it... I want to customise detaching devices ( hdac.ko from multimedia@ usually dies after resume, but it's not so easy to handle, as several apps keep the mixer / pcm open... in particular flash plugin in firefox... ), but i havent done any more yet. Anyway, some notes : on resume, the console stays on VC1, so I simply have to do Alt-F9 and I'm back in X. When I used to run on MODE_24 (text mode), I'd get the actual console. Now I'm running on MODE_279 (1024x768x16), so I get a soft-white screen instead.. possibly related to this in dmesg on resume Aug 23 09:44:37 ayiin kernel: vga0: failed to save state (nbytes=4) The FnF2 call xscreensaver-command-lock needs me to have xhost +local: set in my session script (devd runs as root, so it normally cannot execute on my X Session). Since I switched to custom devd msg handling, i've lost the bluetooth device - Fn-F5 (radio on) would attach the bt device... i'll have to configure that, or maybe run From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 25 09:13:51 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03BD016A4DF for ; Fri, 25 Aug 2006 09:13:51 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from ns2.pil.dk (ns2.pil.dk [195.41.47.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89F4143D46 for ; Fri, 25 Aug 2006 09:13:50 +0000 (GMT) (envelope-from henrik@brixandersen.dk) Received: from osgiliath.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by ns2.pil.dk (Postfix) with ESMTP id 10BE07BA930 for ; Fri, 25 Aug 2006 11:13:49 +0200 (CEST) Received: by osgiliath.brixandersen.dk (Postfix, from userid 1000) id 969AE1E69; Fri, 25 Aug 2006 11:13:48 +0200 (CEST) Date: Fri, 25 Aug 2006 11:13:48 +0200 From: Henrik Brix Andersen To: freebsd-mobile@freebsd.org Message-ID: <20060825091348.GC22836@osgiliath.brixandersen.dk> Mail-Followup-To: freebsd-mobile@freebsd.org References: <20060825005305.5f145cf6@localhost> <20060824171401.706707ea@localhost> <20060825190556.0e913ec5@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="H1spWtNR+x+ondvy" Content-Disposition: inline In-Reply-To: <20060825190556.0e913ec5@localhost> X-PGP-Key: http://dev.gentoo.org/~brix/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.11 Subject: Re: Minimal sample custom devd.conf ( was Re: IBM T30 and suspend/resume capability ) 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, 25 Aug 2006 09:13:51 -0000 --H1spWtNR+x+ondvy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 25, 2006 at 07:05:56PM +1000, Norberto Meijome wrote: > gotcha :) I would guess mine is supported by BIOS: (S4 ) >=20 > hw.acpi.supported_sleep_state: S3 S4 S5 > hw.acpi.power_button_state: S5 > hw.acpi.sleep_button_state: S3 > hw.acpi.lid_switch_state: NONE > hw.acpi.standby_state: S1 > hw.acpi.suspend_state: S3 Try 'sysctl hw.acpi.s4bios' Regards, Brix --=20 Henrik Brix Andersen --H1spWtNR+x+ondvy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) Comment: GnuPG signed iD8DBQFE7r9Mv+Q4flTiePgRAtBSAJ9hj4/zQiDnc446xmq4nGJz8R4TVwCgoHbI BTIGvAO+OkrK/R/3UDBS+rg= =5wOP -----END PGP SIGNATURE----- --H1spWtNR+x+ondvy-- From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 25 11:02:53 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B08DC16A5D0 for ; Fri, 25 Aug 2006 11:02:53 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 323C543D45 for ; Fri, 25 Aug 2006 11:02:52 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 16055 invoked from network); 25 Aug 2006 21:02:52 +1000 Received: from 203-217-78-140.dyn.iinet.net.au (HELO localhost) (203.217.78.140) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 25 Aug 2006 21:02:52 +1000 Date: Fri, 25 Aug 2006 21:02:48 +1000 From: Norberto Meijome To: Henrik Brix Andersen Message-ID: <20060825210248.476ddbd9@localhost> In-Reply-To: <20060825091348.GC22836@osgiliath.brixandersen.dk> References: <20060825005305.5f145cf6@localhost> <20060824171401.706707ea@localhost> <20060825190556.0e913ec5@localhost> <20060825091348.GC22836@osgiliath.brixandersen.dk> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: Minimal sample custom devd.conf ( was Re: IBM T30 and suspend/resume capability ) 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, 25 Aug 2006 11:02:53 -0000 On Fri, 25 Aug 2006 11:13:48 +0200 Henrik Brix Andersen wrote: > On Fri, Aug 25, 2006 at 07:05:56PM +1000, Norberto Meijome wrote: > > gotcha :) I would guess mine is supported by BIOS: (S4 ) > > > > hw.acpi.supported_sleep_state: S3 S4 S5 > > hw.acpi.power_button_state: S5 > > hw.acpi.sleep_button_state: S3 > > hw.acpi.lid_switch_state: NONE > > hw.acpi.standby_state: S1 > > hw.acpi.suspend_state: S3 > > Try 'sysctl hw.acpi.s4bios' thanks Henrik . [betom@ayiin] [Fri Aug 25 21:00:52 2006] /usr/home/betom $ sysctl hw.acpi. | grep s4 hw.acpi.s4bios: 0 So it seems IBM / Lenovo Thinkpad z60M doesn't support BIOS-level hibernation (aka acpi State 4 aka S4 aka suspend to disk) oh well, no love lost - wasn't planning on slicing the disk again :D cheers, Beto From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 25 13:30:59 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4727F16A4DD for ; Fri, 25 Aug 2006 13:30:59 +0000 (UTC) (envelope-from gdt@ir.bbn.com) Received: from fnord.ir.bbn.com (fnord.ir.bbn.com [192.1.100.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id E111943D69 for ; Fri, 25 Aug 2006 13:30:58 +0000 (GMT) (envelope-from gdt@ir.bbn.com) Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id D8AB15315; Fri, 25 Aug 2006 09:06:58 -0400 (EDT) From: Greg Troxel To: Ian Smith References: X-Hashcash: 1:20:060825:freebsd-mobile@freebsd.org::mgNpZlfc4DMPKLbr:000000000000000000000000000000000000eZf X-Hashcash: 1:20:060825:smithi@nimnet.asn.au::pZXYs4TZLypdc5Th:000000000000000000000000000000000000000001hZh Date: Fri, 25 Aug 2006 09:06:54 -0400 In-Reply-To: (Ian Smith's message of "Fri, 25 Aug 2006 01:57:54 +1000 (EST)") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: freebsd-mobile@freebsd.org Subject: Re: IBM T30 and suspend/resume capability 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, 25 Aug 2006 13:30:59 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable Ian Smith writes: > On Thu, 24 Aug 2006, Greg Troxel wrote: > > > I have a T30 (which has just suffered a video failure after good > > service for 3.5 years). I have run NetBSD, rather than FreeBSD, but I > > suspect things will be similar. I used apm, not acpi, and was able to > > suspend for a long time, but then I had trouble. > > May I ask, what trouble? I don't remember, but I think that it would suspend and then lock up on restart. =2D-=20 Greg Troxel --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (NetBSD) iD8DBQFE7vXy+vesoDJhHiURAnSFAKCvGauQGdUbwYWfGpYFaPj5VBt0eQCfczVI flcLxux97itT94LHfIOCemU= =xbgw -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-mobile@FreeBSD.ORG Sat Aug 26 22:36:39 2006 Return-Path: X-Original-To: freebsd-mobile@FreeBSD.ORG Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4C5A16A4E7 for ; Sat, 26 Aug 2006 22:36:39 +0000 (UTC) (envelope-from markus.hoenicka@mhoenicka.de) Received: from rrzmta1.rz.uni-regensburg.de (rrzmta1.rz.uni-regensburg.de [132.199.1.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id D12FA44DAD for ; Sat, 26 Aug 2006 22:36:37 +0000 (GMT) (envelope-from markus.hoenicka@mhoenicka.de) Received: from rrzmta1.rz.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id B01931D14F8 for ; Sun, 27 Aug 2006 00:36:46 +0200 (CEST) Received: from yeti.mininet (rrzras2-16.rz.uni-regensburg.de [132.199.209.16]) by rrzmta1.rz.uni-regensburg.de (Postfix) with ESMTP id CE3741D13B6 for ; Sun, 27 Aug 2006 00:36:37 +0200 (CEST) X-Mailer: emacs 21.3.1 (via feedmail 8 Q); VM 7.19 under Emacs 21.3.1 From: "Markus Hoenicka" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17648.50166.247660.696615@yeti.mininet> Date: Sat, 26 Aug 2006 23:58:14 +0200 To: freebsd-mobile@FreeBSD.ORG In-Reply-To: <17643.35647.702609.82548@yeti.mininet> References: <17642.10690.349004.914227@yeti.mininet> <20060822142420.b66w3691s8o8s08g@0x20.net> <17643.35647.702609.82548@yeti.mininet> Cc: Subject: Re: 915resolution failure on 6.1 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: Sat, 26 Aug 2006 22:36:39 -0000 Markus Hoenicka writes: > Although it is getting off-topic for the mobile list, I'm still > struggling with acroread which complains about a missing > libXext.so.6. Both the native lib in /usr/X11R6/lib and the linux > version in /compat/linux/usr/X11R6/lib are installed. Any clue? > Just for the googlers who bump into this after me: The root of all evil was a stale symlink called /usr/lib/libc.so.6, pointing to a /usr/lib/libc.so.5 which did not exist. After removing the symlink, the Linux stuff works like a charm. regards, Markus -- Markus Hoenicka markus.hoenicka@cats.de (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de