From owner-freebsd-drivers@FreeBSD.ORG Sun Jul 22 20:13:31 2007 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DFF716A418 for ; Sun, 22 Jul 2007 20:13:31 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (pool-71-117-237-217.ptldor.fios.verizon.net [71.117.237.217]) by mx1.freebsd.org (Postfix) with ESMTP id 05FF213C48D for ; Sun, 22 Jul 2007 20:13:30 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (localhost.home.localnet [127.0.0.1]) by schitzo.solgatos.com (8.13.8/8.13.8) with ESMTP id l6MJLjfP032543 for ; Sun, 22 Jul 2007 12:21:45 -0700 Received: from sopwith.solgatos.com (uucp@localhost) by schitzo.solgatos.com (8.13.8/8.13.4/Submit) with UUCP id l6MJLj0U032540 for freebsd-drivers@freebsd.org; Sun, 22 Jul 2007 12:21:45 -0700 Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id TAA14252; Sun, 22 Jul 2007 19:20:05 GMT Message-Id: <200707221920.TAA14252@sopwith.solgatos.com> To: freebsd-drivers@freebsd.org Date: Sun, 22 Jul 2007 12:20:05 +0100 From: Dieter Subject: userspace driver API ? X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@sopwith.solgatos.com List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2007 20:13:31 -0000 The penguins have developed a "stable" userspace driver API to allow "most" of a driver to be in userland. http://liquidat.wordpress.com/2007/07/21/linux-kernel-2623-to-have-stable-userspace-driver-api/ No DMA (yet?). Not for drivers requiring the highest possible performance. It doesn't solve the problems of binary-only drivers. (security, fixing bugs, CPU arch, ...) But if they did a reasonable job (and yes that's a significant if), it might be useful for many drivers. Perhaps a way to share drivers between Linux, the BSDs, OS-X, OpenSolaris, ... Thoughts? From owner-freebsd-drivers@FreeBSD.ORG Sun Jul 22 21:53:04 2007 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0952616A41A for ; Sun, 22 Jul 2007 21:53:04 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id A671213C459 for ; Sun, 22 Jul 2007 21:53:03 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (sljz8dtrx94u35zg@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l6MLYp13099619; Sun, 22 Jul 2007 14:34:51 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l6MLYpMO099618; Sun, 22 Jul 2007 14:34:51 -0700 (PDT) (envelope-from jmg) Date: Sun, 22 Jul 2007 14:34:51 -0700 From: John-Mark Gurney To: Dieter Message-ID: <20070722213451.GA99491@funkthat.com> Mail-Followup-To: Dieter , freebsd-drivers@freebsd.org References: <200707221920.TAA14252@sopwith.solgatos.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200707221920.TAA14252@sopwith.solgatos.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-drivers@freebsd.org Subject: Re: userspace driver API ? X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2007 21:53:04 -0000 Dieter wrote this message on Sun, Jul 22, 2007 at 12:20 +0100: > The penguins have developed a "stable" userspace driver > API to allow "most" of a driver to be in userland. > > http://liquidat.wordpress.com/2007/07/21/linux-kernel-2623-to-have-stable-userspace-driver-api/ > > No DMA (yet?). Not for drivers requiring the highest > possible performance. > > It doesn't solve the problems of binary-only drivers. > (security, fixing bugs, CPU arch, ...) > > But if they did a reasonable job (and yes that's a significant if), > it might be useful for many drivers. Perhaps a way to share > drivers between Linux, the BSDs, OS-X, OpenSolaris, ... > > Thoughts? I've been thinking about similar things for a while... Though I have a few concerns... a) a stable API is something that Linus has touted as something that will not happen for Linux, so yes, it's "stable" but can we truely depend upon that? b) w/o direct DMA, it's not as useful, and implementing direct DMA isn't that difficult (I do direct DMA to userland buffers for bktrau and cxd)... c) I'm also interested in emulating a cdev from userland so that we could do something like let userland code "emulate" V4L... I looked at a few of the links, but I didn't see a good man page or document describing how to interface w/ the code posted... It does look insteresting... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-drivers@FreeBSD.ORG Sun Jul 22 23:55:49 2007 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28D3916A419 for ; Sun, 22 Jul 2007 23:55:49 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (pool-71-117-237-217.ptldor.fios.verizon.net [71.117.237.217]) by mx1.freebsd.org (Postfix) with ESMTP id DFF8C13C481 for ; Sun, 22 Jul 2007 23:55:46 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (localhost.home.localnet [127.0.0.1]) by schitzo.solgatos.com (8.13.8/8.13.8) with ESMTP id l6MNtktX001805 for ; Sun, 22 Jul 2007 16:55:46 -0700 Received: from sopwith.solgatos.com (uucp@localhost) by schitzo.solgatos.com (8.13.8/8.13.4/Submit) with UUCP id l6MNtkqI001802 for freebsd-drivers@freebsd.org; Sun, 22 Jul 2007 16:55:46 -0700 Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id XAA17276; Sun, 22 Jul 2007 23:08:31 GMT Message-Id: <200707222308.XAA17276@sopwith.solgatos.com> To: freebsd-drivers@freebsd.org In-reply-to: Your message of "Sun, 22 Jul 2007 14:34:51 PDT." <20070722213451.GA99491@funkthat.com> Date: Sun, 22 Jul 2007 16:08:31 +0100 From: Dieter Subject: Re: userspace driver API ? X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2007 23:55:49 -0000 > I've been thinking about similar things for a while... Though I have > a few concerns... > > a) a stable API is something that Linus has touted as something that will > not happen for Linux, so yes, it's "stable" but can we truely depend > upon that? >From the bits I read, it sounds like it is the interfaces within the kernel that will change at will, the interfaces between the kernel and userland will be stable. > b) w/o direct DMA, it's not as useful, and implementing direct DMA > isn't that difficult (I do direct DMA to userland buffers for bktrau > and cxd)... So propose an extension to allow DMA? Additional concerns include: Did they get anything significantly wrong? Did they leave out anything besides DMA? Could this create any security problems? It could help the binary-only crowd, since binaries in userland aren't quite as bad as binaries in the kernel. From owner-freebsd-drivers@FreeBSD.ORG Mon Jul 23 03:06:22 2007 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05D0516A417 for ; Mon, 23 Jul 2007 03:06:22 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id B029E13C461 for ; Mon, 23 Jul 2007 03:06:21 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gplsppb8wnlcjdt1@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l6N36LZD004592; Sun, 22 Jul 2007 20:06:21 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l6N36K2b004591; Sun, 22 Jul 2007 20:06:20 -0700 (PDT) (envelope-from jmg) Date: Sun, 22 Jul 2007 20:06:20 -0700 From: John-Mark Gurney To: Dieter Message-ID: <20070723030620.GD99491@funkthat.com> Mail-Followup-To: Dieter , freebsd-drivers@freebsd.org References: <20070722213451.GA99491@funkthat.com> <200707222308.XAA17276@sopwith.solgatos.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200707222308.XAA17276@sopwith.solgatos.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-drivers@freebsd.org Subject: Re: userspace driver API ? X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2007 03:06:22 -0000 Dieter wrote this message on Sun, Jul 22, 2007 at 16:08 +0100: > > I've been thinking about similar things for a while... Though I have > > a few concerns... > > > > a) a stable API is something that Linus has touted as something that will > > not happen for Linux, so yes, it's "stable" but can we truely depend > > upon that? > > >From the bits I read, it sounds like it is the interfaces within > the kernel that will change at will, the interfaces between the > kernel and userland will be stable. > > > b) w/o direct DMA, it's not as useful, and implementing direct DMA > > isn't that difficult (I do direct DMA to userland buffers for bktrau > > and cxd)... > > So propose an extension to allow DMA? > > Additional concerns include: > > Did they get anything significantly wrong? Can't say, I can't understand the patch... There doesn't appear to be an interface in the patches that I can make out... > Did they leave out anything besides DMA? See above... > Could this create any security problems? Most definately... It would allow the userland driver to read and write to anywhere in physical memory.. That said, it's no more of a security risk then loading a kernel module and the like... > It could help the binary-only crowd, since binaries in userland > aren't quite as bad as binaries in the kernel. Though to a limited extent... Don't forget there are lots of devices that consume other interfaces besides providing a cdev to userland... There's ifnet and geom to name a couple... Exposing cdev only provides a limited benifit... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-drivers@FreeBSD.ORG Wed Jul 25 13:33:46 2007 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4744D16A418 for ; Wed, 25 Jul 2007 13:33:46 +0000 (UTC) (envelope-from saamii@gmail.com) Received: from av9-1-sn3.vrr.skanova.net (av9-1-sn3.vrr.skanova.net [81.228.9.185]) by mx1.freebsd.org (Postfix) with ESMTP id C227613C46A for ; Wed, 25 Jul 2007 13:33:45 +0000 (UTC) (envelope-from saamii@gmail.com) Received: by av9-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 06F5E37FC9; Wed, 25 Jul 2007 15:03:30 +0200 (CEST) Received: from smtp3-2-sn3.vrr.skanova.net (smtp3-2-sn3.vrr.skanova.net [81.228.9.102]) by av9-1-sn3.vrr.skanova.net (Postfix) with ESMTP id D0FC737F6A; Wed, 25 Jul 2007 15:03:29 +0200 (CEST) Received: from kattx (h176n4fls31o954.telia.com [213.64.3.176]) by smtp3-2-sn3.vrr.skanova.net (Postfix) with SMTP id 9F31637E45; Wed, 25 Jul 2007 15:03:29 +0200 (CEST) Date: Wed, 25 Jul 2007 05:49:13 +0000 From: Sami M'Barek To: freebsd-drivers@freebsd.org Message-Id: <20070725054913.a8a3da17.saamii@gmail.com> In-Reply-To: <467352BC.20008@clearchain.com> References: <20070613161933.GE94179@parmesan.sis.pasteur.fr> <20070613231430.GB8222@kattx.box> <467352BC.20008@clearchain.com> X-Mailer: Sylpheed 2.4.0beta7 (GTK+ 2.10.14; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Wed__25_Jul_2007_05_49_14_+0000_+nr6gBNK9OrvA_h=" Cc: Benjamin Close Subject: Re: Intel 3945 ABG X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2007 13:33:46 -0000 --Signature=_Wed__25_Jul_2007_05_49_14_+0000_+nr6gBNK9OrvA_h= Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Sat, 16 Jun 2007 12:32:20 +0930 Benjamin Close wrote: > The driver is coming along but isn't ready for prime time. I've just > pulled in the latest changes from OpenBSD for the tx power on the card > and things are starting to become a lot more functional. > Though the driver is currently broken under 7-current due to the import > of the new wifi framework. With any luck there' be a call for testers in > a couple of days. > > If you want to read more about the state of the driver or grab the old > version checkout: > > http://www.clearchain.com/wiki/Wpi and track the progress in the p4 > repository. > > Cheers, > Benjamin > > Sami M'Barek wrote: > > Benjamin Close is the maintainer of the wpi port project if i'm not that of much the track. > > you can find a test driver on his site clearchain. > > i my self never got this driver to work in a 6.2 system. but on a 7-current it rolled just fine from time to time. > > > > > > > > On Wed, Jun 13, 2007 at 06:19:36PM +0200, Thomas Hummel wrote: > > > >> Hello, > >> > >> Does anyone knows the status of the support for the Intel 3945ABG > >> wireless chip ? > >> > >> openbsd and netbsd has the 'wpi' drivers, a version of which had been > >> around in some freebsd lists. > >> > >> -- > >> Thomas Hummel > >> > >> _______________________________________________ > >> freebsd-drivers@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > >> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" > >> > >> > > > > > _______________________________________________ > freebsd-drivers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" Hi i tried to build the new driver release on my 7-CURRENT install. But ofcourse i got some problems :). The sysctl legal oid option does not exist. -- Sami M'Barek --Signature=_Wed__25_Jul_2007_05_49_14_+0000_+nr6gBNK9OrvA_h= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFGpuRilYzuGJE4T6sRAueuAJ97sT71Hb+eIX4OJQmhgYJO9bbXrwCcDsCy +tGybYEbTORVMtAYBP9/L7c= =HHbq -----END PGP SIGNATURE----- --Signature=_Wed__25_Jul_2007_05_49_14_+0000_+nr6gBNK9OrvA_h=-- From owner-freebsd-drivers@FreeBSD.ORG Wed Jul 25 13:52:37 2007 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAF5616A41B for ; Wed, 25 Jul 2007 13:52:37 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f01:ffff::121]) by mx1.freebsd.org (Postfix) with ESMTP id 4DC5F13C442 for ; Wed, 25 Jul 2007 13:52:37 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id l6PDpNBm040409 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Jul 2007 14:51:24 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <46A7559F.1020808@unsane.co.uk> Date: Wed, 25 Jul 2007 14:52:31 +0100 From: Vince User-Agent: Thunderbird 2.0.0.5 (X11/20070723) MIME-Version: 1.0 To: "Sami M'Barek" References: <20070613161933.GE94179@parmesan.sis.pasteur.fr> <20070613231430.GB8222@kattx.box> <467352BC.20008@clearchain.com> <20070725054913.a8a3da17.saamii@gmail.com> In-Reply-To: <20070725054913.a8a3da17.saamii@gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-drivers@freebsd.org Subject: Re: Intel 3945 ABG X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2007 13:52:38 -0000 Sami M'Barek wrote: > On Sat, 16 Jun 2007 12:32:20 +0930 > Benjamin Close wrote: > >> The driver is coming along but isn't ready for prime time. I've just >> pulled in the latest changes from OpenBSD for the tx power on the card >> and things are starting to become a lot more functional. >> Though the driver is currently broken under 7-current due to the import >> of the new wifi framework. With any luck there' be a call for testers in >> a couple of days. >> >> If you want to read more about the state of the driver or grab the old >> version checkout: >> >> http://www.clearchain.com/wiki/Wpi and track the progress in the p4 >> repository. >> >> Cheers, >> Benjamin >> >> Sami M'Barek wrote: >>> Benjamin Close is the maintainer of the wpi port project if i'm not that of much the track. >>> you can find a test driver on his site clearchain. >>> i my self never got this driver to work in a 6.2 system. but on a 7-current it rolled just fine from time to time. >>> >>> >>> >>> On Wed, Jun 13, 2007 at 06:19:36PM +0200, Thomas Hummel wrote: >>> >>>> Hello, >>>> >>>> Does anyone knows the status of the support for the Intel 3945ABG >>>> wireless chip ? >>>> >>>> openbsd and netbsd has the 'wpi' drivers, a version of which had been >>>> around in some freebsd lists. >>>> >>>> -- >>>> Thomas Hummel >>>> >>>> _______________________________________________ >>>> freebsd-drivers@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers >>>> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" >>>> >>>> >>> >> _______________________________________________ >> freebsd-drivers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers >> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" > > > Hi i tried to build the new driver release on my 7-CURRENT install. > But ofcourse i got some problems :). > > The sysctl legal oid option does not exist. > > Add it to /boot/loader.conf (from the manpage) This driver requires firmware to be loaded before it will work. For the loaded firmware to work the license at /usr/share/doc/legal/intel_wpi/LICENSE must be agreed to and the following line be added to loader.conf(5): legal.intel_wpi.license_ack=1 Vince > -- > Sami M'Barek From owner-freebsd-drivers@FreeBSD.ORG Wed Jul 25 14:19:56 2007 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 318F316A417 for ; Wed, 25 Jul 2007 14:19:56 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f01:ffff::121]) by mx1.freebsd.org (Postfix) with ESMTP id 6BA3013C467 for ; Wed, 25 Jul 2007 14:19:53 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id l6PEIh27040807 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Jul 2007 15:18:44 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <46A75C07.6030909@unsane.co.uk> Date: Wed, 25 Jul 2007 15:19:51 +0100 From: Vince User-Agent: Thunderbird 2.0.0.5 (X11/20070723) MIME-Version: 1.0 To: "Sami M'Barek" References: <20070613161933.GE94179@parmesan.sis.pasteur.fr> <20070613231430.GB8222@kattx.box> <467352BC.20008@clearchain.com> <20070725054913.a8a3da17.saamii@gmail.com> <46A7559F.1020808@unsane.co.uk> <20070725064610.bf0e7f21.saamii@gmail.com> In-Reply-To: <20070725064610.bf0e7f21.saamii@gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-drivers@freebsd.org Subject: Re: Intel 3945 ABG X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2007 14:19:56 -0000 Sami M'Barek wrote: > On Wed, 25 Jul 2007 14:52:31 +0100 > Vince wrote: > >> Sami M'Barek wrote: >>> >>> Hi i tried to build the new driver release on my 7-CURRENT install. >>> But ofcourse i got some problems :). >>> >>> The sysctl legal oid option does not exist. >>> >>> >> Add it to /boot/loader.conf >> >> (from the manpage) >> This driver requires firmware to be loaded before it will work. For the >> loaded firmware to work the license at >> /usr/share/doc/legal/intel_wpi/LICENSE must be agreed to and the >> following line be added to loader.conf(5): >> >> legal.intel_wpi.license_ack=1 >> >> >> Vince >> >> >> >> >>> -- >>> Sami M'Barek > > I did. But it seems as if it still wont work. plus dmesg | grep wpi only gives me: > > wpifw: You need to read the LICENSE file in /usr/share/doc/legal/intel_wpi/. > wpifw: If you agree with the license, set legal.intel_wpi.license_ack=1 in /boot/loader.conf. > module_register_init: MOD_LOAD (wpifw_fw, 0xc087651c, 0) error 1 > > there is nothing about the card or anything like it > Hmm odd. {root@prawn}#kldload wpifw [~](15:14:24) {root@prawn}#kldload if_wpi [~](15:14:32) {root@prawn}#dmesg | grep wpi > wpi.out [~](15:14:58) ==============start wpi.out====================== wpi0: mem 0xefdff000-0xefdfffff irq 17 at device 0.0 on pci12 wpi0: Driver Revision 20070715-nwifi wpi0: Hardware Revision (0x1) wpi0: Channel Not Valid: 14, band 0 wpi0: Channel Not Valid: 183, band 1 wpi0: Channel Not Valid: 184, band 1 wpi0: Channel Not Valid: 185, band 1 wpi0: Channel Not Valid: 187, band 1 wpi0: Channel Not Valid: 188, band 1 wpi0: Channel Not Valid: 189, band 1 wpi0: Channel Not Valid: 192, band 1 wpi0: Channel Not Valid: 196, band 1 wpi0: Channel Not Valid: 7, band 1 wpi0: Channel Not Valid: 8, band 1 wpi0: Channel Not Valid: 11, band 1 wpi0: Channel Not Valid: 12, band 1 wpi0: Channel Not Valid: 16, band 1 wpi0: Channel Not Valid: 145, band 4 wpi0: Channel Not Valid: 149, band 4 wpi0: Channel Not Valid: 153, band 4 wpi0: Channel Not Valid: 157, band 4 wpi0: Channel Not Valid: 161, band 4 wpi0: Channel Not Valid: 165, band 4 wpi0: Regulatory Domain: MoW2 wpi0: Hardware Type: B wpi0: Hardware Revision: ? wpi0: SKU does support 802.11a wpi0: using obsoleted if_watchdog interface wpi0: Ethernet address: 00:13:02:53:7e:19 wpi0: [GIANT-LOCKED] wpi0: [ITHREAD] wpi0: auto rates: wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wpi0: detached wpi0: mem 0xefdff000-0xefdfffff irq 17 at device 0.0 on pci12 wpi0: Driver Revision 20070715-nwifi wpi0: Hardware Revision (0x1) wpi0: Channel Not Valid: 14, band 0 wpi0: Channel Not Valid: 183, band 1 wpi0: Channel Not Valid: 184, band 1 wpi0: Channel Not Valid: 185, band 1 wpi0: Channel Not Valid: 187, band 1 wpi0: Channel Not Valid: 188, band 1 wpi0: Channel Not Valid: 189, band 1 wpi0: Channel Not Valid: 192, band 1 wpi0: Channel Not Valid: 196, band 1 wpi0: Channel Not Valid: 7, band 1 wpi0: Channel Not Valid: 8, band 1 wpi0: Channel Not Valid: 11, band 1 wpi0: Channel Not Valid: 12, band 1 wpi0: Channel Not Valid: 16, band 1 wpi0: Channel Not Valid: 145, band 4 wpi0: Channel Not Valid: 149, band 4 wpi0: Channel Not Valid: 153, band 4 wpi0: Channel Not Valid: 157, band 4 wpi0: Channel Not Valid: 161, band 4 wpi0: Channel Not Valid: 165, band 4 wpi0: Regulatory Domain: MoW2 wpi0: Hardware Type: B wpi0: Hardware Revision: ? wpi0: SKU does support 802.11a wpi0: using obsoleted if_watchdog interface wpi0: Ethernet address: 00:13:02:53:7e:19 wpi0: [GIANT-LOCKED] wpi0: [ITHREAD] wpi0: auto rates: wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps Are you using the version from the latest tarball? (to be fair it will associate for me but panics my machine soon after anyway, I need to send some debug output to Benjamin to see if he knows whats up :) Vince > -- > Sami M'Barek From owner-freebsd-drivers@FreeBSD.ORG Wed Jul 25 14:26:33 2007 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DC6816A469 for ; Wed, 25 Jul 2007 14:26:33 +0000 (UTC) (envelope-from saamii@gmail.com) Received: from av9-1-sn2.hy.skanova.net (av9-1-sn2.hy.skanova.net [81.228.8.179]) by mx1.freebsd.org (Postfix) with ESMTP id DF18013C4B5 for ; Wed, 25 Jul 2007 14:26:32 +0000 (UTC) (envelope-from saamii@gmail.com) Received: by av9-1-sn2.hy.skanova.net (Postfix, from userid 502) id EA71637E8F; Wed, 25 Jul 2007 16:00:25 +0200 (CEST) Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av9-1-sn2.hy.skanova.net (Postfix) with ESMTP id B55F737E8F; Wed, 25 Jul 2007 16:00:25 +0200 (CEST) Received: from kattx (h176n4fls31o954.telia.com [213.64.3.176]) by smtp4-1-sn2.hy.skanova.net (Postfix) with SMTP id 5DD1C37E43; Wed, 25 Jul 2007 16:00:25 +0200 (CEST) Date: Wed, 25 Jul 2007 06:46:10 +0000 From: Sami M'Barek To: Vince , freebsd-drivers@freebsd.org Message-Id: <20070725064610.bf0e7f21.saamii@gmail.com> In-Reply-To: <46A7559F.1020808@unsane.co.uk> References: <20070613161933.GE94179@parmesan.sis.pasteur.fr> <20070613231430.GB8222@kattx.box> <467352BC.20008@clearchain.com> <20070725054913.a8a3da17.saamii@gmail.com> <46A7559F.1020808@unsane.co.uk> X-Mailer: Sylpheed 2.4.0beta7 (GTK+ 2.10.14; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Wed__25_Jul_2007_06_46_11_+0000_IQYJoXiVj4LvTLVE" Cc: Subject: Re: Intel 3945 ABG X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2007 14:26:33 -0000 --Signature=_Wed__25_Jul_2007_06_46_11_+0000_IQYJoXiVj4LvTLVE Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Wed, 25 Jul 2007 14:52:31 +0100 Vince wrote: > Sami M'Barek wrote: > > On Sat, 16 Jun 2007 12:32:20 +0930 > > Benjamin Close wrote: > > > >> The driver is coming along but isn't ready for prime time. I've just > >> pulled in the latest changes from OpenBSD for the tx power on the card > >> and things are starting to become a lot more functional. > >> Though the driver is currently broken under 7-current due to the import > >> of the new wifi framework. With any luck there' be a call for testers in > >> a couple of days. > >> > >> If you want to read more about the state of the driver or grab the old > >> version checkout: > >> > >> http://www.clearchain.com/wiki/Wpi and track the progress in the p4 > >> repository. > >> > >> Cheers, > >> Benjamin > >> > >> Sami M'Barek wrote: > >>> Benjamin Close is the maintainer of the wpi port project if i'm not that of much the track. > >>> you can find a test driver on his site clearchain. > >>> i my self never got this driver to work in a 6.2 system. but on a 7-current it rolled just fine from time to time. > >>> > >>> > >>> > >>> On Wed, Jun 13, 2007 at 06:19:36PM +0200, Thomas Hummel wrote: > >>> > >>>> Hello, > >>>> > >>>> Does anyone knows the status of the support for the Intel 3945ABG > >>>> wireless chip ? > >>>> > >>>> openbsd and netbsd has the 'wpi' drivers, a version of which had been > >>>> around in some freebsd lists. > >>>> > >>>> -- > >>>> Thomas Hummel > >>>> > >>>> _______________________________________________ > >>>> freebsd-drivers@freebsd.org mailing list > >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > >>>> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" > >>>> > >>>> > >>> > >> _______________________________________________ > >> freebsd-drivers@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > >> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" > > > > > > Hi i tried to build the new driver release on my 7-CURRENT install. > > But ofcourse i got some problems :). > > > > The sysctl legal oid option does not exist. > > > > > Add it to /boot/loader.conf > > (from the manpage) > This driver requires firmware to be loaded before it will work. For the > loaded firmware to work the license at > /usr/share/doc/legal/intel_wpi/LICENSE must be agreed to and the > following line be added to loader.conf(5): > > legal.intel_wpi.license_ack=1 > > > Vince > > > > > > -- > > Sami M'Barek > I did. But it seems as if it still wont work. plus dmesg | grep wpi only gives me: wpifw: You need to read the LICENSE file in /usr/share/doc/legal/intel_wpi/. wpifw: If you agree with the license, set legal.intel_wpi.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (wpifw_fw, 0xc087651c, 0) error 1 there is nothing about the card or anything like it -- Sami M'Barek --Signature=_Wed__25_Jul_2007_06_46_11_+0000_IQYJoXiVj4LvTLVE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFGpvG5lYzuGJE4T6sRAil7AJ0SV4JksAzSKTjbj3hfAEvy/RB6EACeNq7u 0eL+4h2OnjScxEGS9s40y0c= =K5gd -----END PGP SIGNATURE----- --Signature=_Wed__25_Jul_2007_06_46_11_+0000_IQYJoXiVj4LvTLVE--