From owner-freebsd-mobile@FreeBSD.ORG Sun Dec 7 20:36:44 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 ED2B0106568D for ; Sun, 7 Dec 2008 20:36:44 +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 CB74E8FC1A for ; Sun, 7 Dec 2008 20:36:44 +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 345B9233820; Sun, 7 Dec 2008 12:36:44 -0800 (PST) Message-ID: <493C33A8.2030406@twilley.org> Date: Sun, 07 Dec 2008 12:35:52 -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> <493B2D8B.8050304@twilley.org> <3a142e750812071040n21ec7355ibc414aecbcf96314@mail.gmail.com> In-Reply-To: <3a142e750812071040n21ec7355ibc414aecbcf96314@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 20:36:45 -0000 Paul B. Mahol wrote: > On 12/7/08, Jack Twilley wrote: >> 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 > ^^^ > This is just typo? It was a typo in my /etc/rc.resume, actually. So embarrassing, but it works fine now. Of course, the Synaptics touchpad doesn't resume properly but that's documented on the wiki page, and hopefully kmacy will fix it sometime soon. Thanks so much! Jack. > >> mount /mnt >> >> Both sections are after the kldunload comment. >> >> Jack. >> > > Did you tried changing: > hw.acpi.reset_video from 0(1) to 1(0)? > >