From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 31 16:19:41 2011 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 A5E05106564A for ; Mon, 31 Oct 2011 16:19:41 +0000 (UTC) (envelope-from scoobi_doo@yahoo.com) Received: from nm13-vm0.bullet.mail.ne1.yahoo.com (nm13-vm0.bullet.mail.ne1.yahoo.com [98.138.91.48]) by mx1.freebsd.org (Postfix) with SMTP id 57CE28FC15 for ; Mon, 31 Oct 2011 16:19:41 +0000 (UTC) Received: from [98.138.90.52] by nm13.bullet.mail.ne1.yahoo.com with NNFMP; 31 Oct 2011 16:06:36 -0000 Received: from [98.138.88.232] by tm5.bullet.mail.ne1.yahoo.com with NNFMP; 31 Oct 2011 16:06:36 -0000 Received: from [127.0.0.1] by omp1032.mail.ne1.yahoo.com with NNFMP; 31 Oct 2011 16:06:36 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 485853.32269.bm@omp1032.mail.ne1.yahoo.com Received: (qmail 47424 invoked by uid 60001); 31 Oct 2011 16:06:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1320077196; bh=F7b75MLFWgKRDVhdmtrKs4OmhdqD2qLBzXZ1P8HNoF8=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=LTWrrvK3AmjrecHbwkDORW/HNBYB6HpLtC5ui5bb0tSYSfuJjxQN2Ox5nJWjQh6MxnTyLuPfxhIHiwaMKorCcqQAYsffPyZiEUDl9pY1p1YmvjcLIh28NC9dh22zPpLyuWGmnFJJ8VwOacExrpnDndykGTWjDI+5P7sHTSl6X2M= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Jhg7beWMvZ73HfLt+eZscn3g6DHrU0qnx1uManbJYf/DnA7xM7D/+0PhC8HpCmDBF56KsbLmgVPvsBnz8/L9pEIqygdHWC0bnMWIUCiosSqEbmpuwkymmRGpaFUEQ5eZCRRKnmAxRkzpqKiJ6D6YPP8ySBTLM2hx6UvZ73SayyQ=; X-YMail-OSG: 2L8FUMoVM1mlWkN0feE.GUJ_SR0FPNSLpdQdth4.gC7pzwK 21kl_rDbYI.g848dVGvnLitHQ29h_rNucoZDM09zGlKiD_NzmabtciuCEfVU ZhysmEwN.KfVHCM.p9gdZNChNUhKTUhf12Cxu06daW1Y57flhaPdfUnvn1V3 IXMFtFvY7pokBK8KOj.RCoHnoohC9IUhCei3ibsOIwpNHDllg1zIHT02JPoT D0hLZxA2zKhdohVTEdStycaa1WuUrTPpss1__UCOe3SiBiPKDpfnYr2JveTA 9h.O32busPr2aeWQk8jGqsU8dL.tn2FwobVuY_7iUsnAlriYoDpHA6o27MdW xTIiKvC9T7dQ0S7ZAnjjSPiak9Bzch0sxdPRtHnT5vxDQhVdfWW5SJLImGLu ocNe8P7WdBmavsNJtRyVcoSzLoxs3YbtwpmEowfZzEC9eboR2xZ7AmKZOH3K wcBrtOiVT9JYcY_kwqP2miqRFVFYDXe1OHmG5AJi1jhXPMGf2Ln6NFbzxPMX .dZ4SKuGpfOUPeBJLCin2JCaY4cGz Received: from [64.102.249.6] by web39308.mail.mud.yahoo.com via HTTP; Mon, 31 Oct 2011 09:06:35 PDT X-Mailer: YahooMailWebService/0.8.115.325013 References: <7003D4EE027640E6A49BFC84DD733D7F@Laptop> <20111028174052.GA1034@tiny> <20111029100803.GA96706@e-new.0x20.net> <1320064924.59175.YahooMailNeo@web39314.mail.mud.yahoo.com> <20111031132427.GN96706@e-new.0x20.net> Message-ID: <1320077195.37823.YahooMailNeo@web39308.mail.mud.yahoo.com> Date: Mon, 31 Oct 2011 09:06:35 -0700 (PDT) From: Anthony Jenkins To: Lars Engels In-Reply-To: <20111031132427.GN96706@e-new.0x20.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Adrian Chadd , "irek-kaenly@yandex.ru" , "freebsd-mobile@freebsd.org" , Matthias Apitz Subject: Re: FreeBSD release Acer Aspire 5735Z X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anthony Jenkins List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2011 16:19:41 -0000 >________________________________=0A=0A>From: Lars Engels =0A>To: Anthony Jenkins =0A>Cc: Adrian Chadd ; "irek-kaenly@yandex.ru" ; Matthia= s Apitz ; "freebsd-mobile@freebsd.org" =0A>Sent: Monday, October 31, 2011 9:24 AM=0A>Subject: Re: FreeBS= D release Acer Aspire 5735Z=0A>=0A>On Mon, Oct 31, 2011 at 05:42:04AM -0700= , Anthony Jenkins wrote:=0A>> >________________________________=0A>> >From:= Adrian Chadd =0A>> >To: Lars Engels =0A>> >Cc: irek-kaenly@yandex.ru; Matthias Apitz ; fr= eebsd-mobile@freebsd.org=0A>> >Sent: Saturday, October 29, 2011 9:38 AM=0A>= > >Subject: Re: FreeBSD release Acer Aspire 5735Z=0A>> >=0A>> >On 29 Octobe= r 2011 21:08, Lars Engels wrote:=0A>> >=0A>> >> And = cross your fingers that the button to enable / disable wireless=0A>> >> wor= ks out of the box. Unfortunately there's no port of Linux' acer_acpi=0A>> >= > [1] to FreeBSD.=0A>> >>=0A>> >> [1] http://code.google.com/p/aceracpi/=0A= >> >=0A>> >Please please please, can someone port this?=0A>> =0A>> Looks li= ke this was already ported to acpi_wmi(4) some time ago (or at least =0A>> = formed the basis for acpi_wmi(4)), but I can't load it on my Acer Aspire 55= 52 without panicking the kernel - seems it tries to construct two =0A>> cde= vs with the same name.=A0 Looking into a patch now, just to see what it doe= s.=0A>=0A>I loaded apci_wmi on an Acer notebook and /dev/wmistat was create= d.=0A>Using cat(1) I was presented a table of three GUIDs. Google told me t= hat=0A>one of them represented the Wireless / Bluetooth state.=0A=0A=0AI ha= d to modify the driver to create /dev/wmistat%d instances for the two inter= faces it detected on my laptop.=A0 cat(1)'ing each shows a single GUID entr= y.=A0 My laptop model is not listed in the Linux acer_acpi supported hardwa= re, but this laptop is the first one that has had almost *everything* suppo= rted by FreeBSD - ACPI suspend/resume, wireless Atheros NIC (thanks Adrian!= ), SATA HDD, etc.=A0 So I apparently don't even need acpi_wmi(4)...=0A=0A= =0A>But what to do then? acpi_wmi's manpage only says that it can only read= =0A>the values via wmistat, but not how to alter them.=0A=0AMaybe that func= tionality is what needs to be ported to FreeBSD :-)=A0 I'll go that route.= =0A=0AAnthony=0A=0A>> =0A>> ...and I had just downloaded the Linux kernel s= ources to try my hand at a port (acer_acpi lives in the Linux kernel now). = What is the current procedure (if any) for porting GPL'd stuff to BSD?=0A>>= =0A>> =0A>> Anthony=0A>> =0A>> =0A>> =0A>> >Adrian=0A>> =0A>=0A>=0A>