From owner-freebsd-current@FreeBSD.ORG Wed Apr 11 21:58:02 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0101F16A402 for ; Wed, 11 Apr 2007 21:58:02 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.238]) by mx1.freebsd.org (Postfix) with ESMTP id B886213C45D for ; Wed, 11 Apr 2007 21:58:01 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by wr-out-0506.google.com with SMTP id 50so249970wra for ; Wed, 11 Apr 2007 14:58:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iLTxPba031I4NPRsyDHOS/TT0pr9EKg4tlRD/+JQVDs/4HUAh81KzgnTUyxdgR9uxgtYe5J8k0c9XBlMGK0IaKrXVgr4Cht22+xFIscF/t4xr90+6PzBfqsE00oRDxMq4f6DjP2hUD1Hc08S1uzzAWEpRN1BSO56gAfGxX0iTVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EG5blCMhHACRXjtnVhAWMeuw/yH+/uzVppRykHAE+PA6JwQQjTyznPr4s+ZUzMroi+wbJEK7TMmuyP8un113UFD0J3bVVtNnAZzPnLA8R0p3tgnHMUQlXDfDJy+DJiPwlheGTxSdkppas/W1e0RlizLcHTCcXylLFRu7/agF9LA= Received: by 10.115.54.1 with SMTP id g1mr467907wak.1176328680679; Wed, 11 Apr 2007 14:58:00 -0700 (PDT) Received: by 10.114.103.15 with HTTP; Wed, 11 Apr 2007 14:58:00 -0700 (PDT) Message-ID: <2a41acea0704111458k2d8ae707j3d89577fcbb32128@mail.gmail.com> Date: Wed, 11 Apr 2007 14:58:00 -0700 From: "Jack Vogel" To: "Anne Marcel Roorda" In-Reply-To: <200704112113.l3BLDXUu063020@piglet.slowthinkers.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <42b497160704111336m24249f7axa8b80ba84083bd97@mail.gmail.com> <200704112113.l3BLDXUu063020@piglet.slowthinkers.net> Cc: freebsd-current , freebsd-stable@freebsd.org Subject: Re: WOL question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 21:58:02 -0000 On 4/11/07, Anne Marcel Roorda wrote: > > In message <42b497160704111336m24249f7axa8b80ba84083bd97@mail.gmail.com>, "Kimi > Ostro" writes: > > > On 10/04/07, Jack Vogel wrote: > > > I am hoping someone here who has more familiarity with the ACPI > > > code can enlighten me.... > > > > > > I have an internal bug filed complaining that FreeBSD disables > > > wake-on-lan on the hardware. > > > > > > Now, I would like to have explicit WOL support added into the > > > em driver, but before I even worry about that I need to understand > > > where the kernel turns this off without the driver even needed. > > > > This isnt specific to em, it also happens on other ethernet cards > > (rl(8) fxp(8)) that support WOL/MagicPacket. Might be idea to check PR > > database see if someone has same problem, maybe fix? it was nice > > installing ports/net/wol and getting a computer to fire up remotely, > > but as soon as it rebooted from FreeBSD, WOL stopped :( > > Hi, > > FreeBSD isn't disabling WOL. It needs to be enabled on shutdown > for most cards. > > I have patches for ifconfig, and the xl driver to enable WOL. > > It should be possible to add support to other drivers, but > it's different for each card. > > You should be able to find a diff against 5-stable in the archives. > Changes against -CURRENT aren't _that_ different. So, why isnt this in 6.X then? I've now had email with Nate Lawson about ACPI and think I know how to make it work properly, of course I havent yet tested the theory, if it works like it sounds then its not going to be too hard to do this. Jack