From owner-freebsd-mobile@FreeBSD.ORG Sun Dec 7 01:58:15 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 7E2931065670 for ; Sun, 7 Dec 2008 01:58:15 +0000 (UTC) (envelope-from jmt@twilley.org) Received: from alpha.twilley.org (alpha.twilley.org [204.152.189.135]) by mx1.freebsd.org (Postfix) with ESMTP id 5FF108FC1E for ; Sun, 7 Dec 2008 01:58:15 +0000 (UTC) (envelope-from jmt@twilley.org) Received: from [192.168.1.142] (c-24-6-107-176.hsd1.ca.comcast.net [24.6.107.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "twilley.org", Issuer "CA Cert Signing Authority" (verified OK)) by alpha.twilley.org (Postfix) with ESMTPSA id 159E2233820; Sat, 6 Dec 2008 17:58:14 -0800 (PST) Message-ID: <493B2D8B.8050304@twilley.org> Date: Sat, 06 Dec 2008 17:57:31 -0800 From: Jack Twilley User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: "Paul B. Mahol" References: <49396F96.8050403@twilley.org> <3a142e750812051247v13071939k9dae77293c498682@mail.gmail.com> <493A0F24.20309@twilley.org> <3a142e750812052308s9eb16abu2a58cc170ef1115f@mail.gmail.com> <493ABD03.2030808@twilley.org> <3a142e750812061410x3d8afe11oce01b3458138ab45@mail.gmail.com> <3a142e750812061424h61e28bby46da75fb60024e71@mail.gmail.com> In-Reply-To: <3a142e750812061424h61e28bby46da75fb60024e71@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: Asus EEE -- suspend, card reader and camera 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, 07 Dec 2008 01:58:15 -0000 Paul B. Mahol wrote: > On 12/6/08, Paul B. Mahol wrote: >> On 12/6/08, Jack Twilley wrote: >>> Paul B. Mahol wrote: >>>> On 12/6/08, Jack Twilley wrote: >>>>> Paul B. Mahol wrote: >>>>>> On 12/5/08, Jack Twilley wrote: >>>>>>> I am a mostly-happy user of an Asus EEE 701. Recently I was pointed >>>>>>> at >>>>>>> http://wiki.freebsd.org/AsusEee which has more current information >>>>>>> than >>>>>>> the nighthack page. I'm running RELENG_7 and I am pleased to confirm >>>>>>> that the wired Ethernet works out of the box. I'm looking forward to >>>>>>> ath_hal merging from current so I can stop copying over the madwifi >>>>>>> hal >>>>>>> directory. I have only three issues remaining, some of which are at >>>>>>> least partially discussed on that page. >>>>>>> >>>>>>> First, I'm new to FreeBSD on laptops. I tried to suspend with Fn-F1 >>>>>>> and >>>>>>> it seemed to do the right thing, but I don't know how to resume. I >>>>>>> tried Fn-F1 and it didn't work. I hit the power button, and the LEDs >>>>>>> changed but the screen never woke up. >>>>>> loading vesa LKM fixed that issue for me, also make sure that >>>>>> kern.smp.disabled=1 >>>>>> >>>>>> eg. add these lines to /boot/loader.conf >>>>>> >>>>>> vesa_load="YES" >>>>>> kern.smp.disabled="1" >>>>>> >>>>> I made those changes, and I see the same behavior -- it doesn't come >>>>> back with Fn-F1 or the power button. How do you resume? >>>> You rebooted after that change? >>>> >>> Yes. >>> >>> Jack. >>> >> Well, then I dont know, maybe there is some driver attached on device >> that is cause of resume problem? >> You could try to disable all of them and try again. >> What happens if you suspend with zzz inside X11? >> I'm on i386, dunno if resume work at all on amd64. > > Did you do _all_ what have been recommended on that wiki page: > kldunloading snd_hda before suspend and other stuff.... > > > I just need to report that on nx7300 I do not need to kldunload > snd_hda before suspend, so maybe something is different on CURRENT or > something completly unrelated is cause of such problem .... > > My /etc/rc.suspend contains these lines: kldunload sound snd_hda snd_uaudio umount -f /mnt My /etc/rc.resume contains these lines: kldload sound snd_hda snd_uaudio sysctl hw.api.asus.lcd_brightness=8 mount /mnt Both sections are after the kldunload comment. Jack.