From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 12 10:13:23 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9067106566C for ; Wed, 12 Aug 2009 10:13:23 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 346D68FC48 for ; Wed, 12 Aug 2009 10:13:22 +0000 (UTC) Received: from vhoffman.lon.namesco.net (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.3/8.14.3) with ESMTP id n7CAG4aW053780 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 Aug 2009 11:16:07 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <4A8295BA.5030206@unsane.co.uk> Date: Wed, 12 Aug 2009 11:13:14 +0100 From: Vincent Hoffman User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: Matthew Hagerty References: <4A80EBA6.40908@digitalstratum.com> <06A3B5AF-D3DA-4446-84EF-93314B2EA636@gid.co.uk> <4A818B0E.7090609@digitalstratum.com> <4A819049.6030806@unsane.co.uk> <58c737d70908110858l3548e91cnddb5fa1b85a29533@mail.gmail.com> <4A8199B2.30403@digitalstratum.com> In-Reply-To: <4A8199B2.30403@digitalstratum.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Tracing Wake on Lan problem? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2009 10:13:24 -0000 Matthew Hagerty wrote: > >> > Yes, but I'm trying to use Intel's driver at this point (since the > stock 7.2R em driver, as stated, does not support WoL yet): > > http://downloadcenter.intel.com/filter_results.aspx?strTypes=all&ProductID=1938&OSFullName=FreeBSD*&lang=eng&strOSs=52&submit=Go! > > > And it does appear to offer support for WoL. They (Intel) have > functions in their if_em.c source file that sets up the WoL. However, > there is no IFCAP_WOL define in Intel's code, so maybe it does not > interface with ifconfig correctly at this point? I don't know. I was > hoping to get some pointers on where to look or how to tell. Also, > I'm not opposed to adding the WoL support - I'm not too bad in C - > I've just never written a FreeBSD device driver and the excellent post > by Stefan Sperling (referenced from the WoL wiki) seems to be too far > out of date. > > The wiki itself states: "Note that the obsolete ioctl-based > configuration approach is discussed there, but ifcaps should be used > instead." > > So, not knowing anything about either ioctl-based or ifcaps config, I > can't find any resources on how to get started in the right direction > (hence my post to hackers). > > Also, if Intel's driver code works, it seems to me that it makes more > sense to use their code for em devices, no? Is there a copyright > problem with that? Sorry I missed the first email or two and didnt realise you were trying the latest from the intel site. Intel (well an intel employee but as part of his day job from what I understand from his posts,) maintains the driver in the source tree. The last I remember him saying about wake on lan for em was http://lists.freebsd.org/pipermail/freebsd-current/2009-July/009461.html As to why FreeBSD isnt using the one currently on the intel site, not certain but it may just be a case of it needing updating/committing, as an email from the maintainer http://markmail.org/message/u4crubkss3354nlt indicates from a previous similar enquiry. hope that helps, Vince > > Matthew > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org"