From owner-freebsd-drivers@FreeBSD.ORG Thu Nov 1 22:45:51 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 09CFF16A420 for ; Thu, 1 Nov 2007 22:45:51 +0000 (UTC) (envelope-from j.dough@hotmail.com) Received: from bay0-omc3-s20.bay0.hotmail.com (bay0-omc3-s20.bay0.hotmail.com [65.54.246.220]) by mx1.freebsd.org (Postfix) with ESMTP id EAF0313C48E for ; Thu, 1 Nov 2007 22:45:50 +0000 (UTC) (envelope-from j.dough@hotmail.com) Received: from BAY144-W40 ([65.55.155.75]) by bay0-omc3-s20.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 1 Nov 2007 12:54:19 -0700 Message-ID: X-Originating-IP: [142.179.164.65] From: Joshua Hyatt To: Date: Thu, 1 Nov 2007 13:54:19 -0600 Importance: Normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 01 Nov 2007 19:54:19.0807 (UTC) FILETIME=[FDD6CAF0:01C81CC0] Subject: GPIO 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: Thu, 01 Nov 2007 22:45:51 -0000 I have a Soekris Net4801 computer running FreeBSD 6.2, which is an x86-base= d system using the AMD Geode SC1100 processor. It has a number of GPIO con= nections directly connected to the processor that I am interested in using. However, I am unfamiliar with writing a driver for FreeBSD, and all of my a= ttempts thus far have resulted in failure. There is a led driver that uses= the SPIO of the SC1100 for FreeBSD that works, with the source code locate= d at /usr/src/sys/dev/led/, but it is write-only. If someone could guide me in adding a function to read the status of the gp= io connection to led.c, or has a better suggestion of how to do this, it wo= uld be greatly appreciated. Thanks, Joshua Hyatt _________________________________________________________________ Express yourself with free Messenger emoticons. Get them today! http://www.freemessengeremoticons.ca/?icid=3DEMENCA122= From owner-freebsd-drivers@FreeBSD.ORG Fri Nov 2 00:02:06 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 D4E7A16A419; Fri, 2 Nov 2007 00:02:06 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) Received: from ipmail01.adl2.internode.on.net (ipmail01.adl2.internode.on.net [203.16.214.140]) by mx1.freebsd.org (Postfix) with ESMTP id 162BB13C4A8; Fri, 2 Nov 2007 00:02:04 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) X-IronPort-AV: E=Sophos;i="4.21,360,1188743400"; d="scan'208";a="223987938" Received: from ppp121-45-121-213.lns11.adl6.internode.on.net (HELO mail.clearchain.com) ([121.45.121.213]) by ipmail01.adl2.internode.on.net with ESMTP; 02 Nov 2007 10:23:53 +1030 Received: from wolf.clearchain.com (wcl.ml.unisa.edu.au [130.220.166.5]) (authenticated bits=0) by mail.clearchain.com (8.13.8/8.13.8) with ESMTP id lA1NriY2099916 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Nov 2007 10:23:50 +1030 (CST) (envelope-from Benjamin.Close@clearchain.com) Message-ID: <472A6708.9030109@clearchain.com> Date: Fri, 02 Nov 2007 10:23:44 +1030 From: Benjamin Close User-Agent: Thunderbird 2.0.0.0 (X11/20070615) MIME-Version: 1.0 To: freebsd-current Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on pegasus.clearchain.com X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (mail.clearchain.com [192.168.154.1]); Fri, 02 Nov 2007 10:23:50 +1030 (CST) Cc: freebsd-drivers@freebsd.org, freebsd-mobile@freebsd.org Subject: [RFT] Intel 3945abg wireless driver (wpi) 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: Fri, 02 Nov 2007 00:02:06 -0000 Howdy All, I'm pleased to announce the first 'official' experimental version of the wpi wireless driver and hence require your help in making it become stable. Expect a few things not to work (ie bg scanning, setting txpower) but in general the driver should be usable in station mode (hostap is not yet supported). If you've got an Intel 3945abg wireless card, grab the tarball at: http://people.freebsd.org/~benjsc/downloads/wpi/20071102-freebsd-wpi.tar.gz Untar and follow the instructions in the README. If you want more info about the driver, or to checkout the FAQ checkout: http://www.clearchain.com/wiki/Wpi I'm interested in all reports related to panics, things not working as expected, etc. The driver still has debug enabled so expect a few messages to be dumped to the screen whilst in use. Finally, many thanks to all those that have been helping debug the driver along the way. Cheers, Benjamin From owner-freebsd-drivers@FreeBSD.ORG Fri Nov 2 00:42:50 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 03EFF16A418; Fri, 2 Nov 2007 00:42:50 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.ipv6.0x20.net [IPv6:2001:aa8:fffb::3]) by mx1.freebsd.org (Postfix) with ESMTP id 8AE5C13C4C4; Fri, 2 Nov 2007 00:42:49 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: by mail.0x20.net (Postfix, from userid 1002) id 367793A57C; Fri, 2 Nov 2007 01:42:48 +0100 (CET) Date: Fri, 2 Nov 2007 01:42:48 +0100 From: Lars Engels To: Benjamin Close Message-ID: <20071102004248.GA5253@e.0x20.net> Mail-Followup-To: Lars Engels , Benjamin Close , freebsd-current , freebsd-drivers@freebsd.org, freebsd-mobile@freebsd.org References: <472A6708.9030109@clearchain.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <472A6708.9030109@clearchain.com> X-Editor: VIM - Vi IMproved 7.1 X-Operation-System: FreeBSD 5.5-RELEASE User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: freebsd-current , freebsd-drivers@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: [RFT] Intel 3945abg wireless driver (wpi) X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lars Engels List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 00:42:50 -0000 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 02, 2007 at 10:23:44AM +1030, Benjamin Close wrote: > Howdy All, I'm pleased to announce the first 'official' experim= ental version of the wpi wireless driver and hence require your help in mak= ing it become=20 > stable. > Expect a few things not to work (ie bg scanning, setting txpower) but in = general the driver should be usable in station mode (hostap is not yet supp= orted). >=20 > If you've got an Intel 3945abg wireless card, grab the tarball at: >=20 > http://people.freebsd.org/~benjsc/downloads/wpi/20071102-freebsd-wpi.t= ar.gz >=20 > Untar and follow the instructions in the README. > If you want more info about the driver, or to checkout the FAQ checkout: >=20 > http://www.clearchain.com/wiki/Wpi >=20 > I'm interested in all reports related to panics, things not working as ex= pected, etc. > The driver still has debug enabled so expect a few messages to be dumped = to the screen whilst in use. >=20 > Finally, many thanks to all those that have been helping debug the driver= along the way. >=20 > Cheers, > Benjamin Good to know that someone is still working on it. However, it doesn't work for me. I cannot load the firmware: lars@ttyp3 # kldload wpifw lars@ttyp3 # dmesg 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=3D1 in /boot/loader.conf. module_register_init: MOD_LOAD (wpifw_fw, 0xc6d1151c, 0) error 1 lars@ttyp3 # grep legal.intel_wpi.license_ack /boot/loader.conf legal.intel_wpi.license_ack=3D1 lars@ttyp3 # sysctl legal sysctl: unknown oid 'legal' And I even read the license! ;-) Lars --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFHKnKIKc512sD3afgRAp1pAJ4mAoMYbQrY3AzUZ4gukiInEs1XoACcCydj LJRcWlbKK1inM62rC8sWL7g= =qADt -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6-- From owner-freebsd-drivers@FreeBSD.ORG Fri Nov 2 01:32:11 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 7B7DE16A420; Fri, 2 Nov 2007 01:32:11 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) Received: from ipmail01.adl2.internode.on.net (ipmail01.adl2.internode.on.net [203.16.214.140]) by mx1.freebsd.org (Postfix) with ESMTP id D6EBA13C48D; Fri, 2 Nov 2007 01:32:07 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) X-IronPort-AV: E=Sophos;i="4.21,360,1188743400"; d="scan'208";a="224043007" Received: from ppp121-45-121-213.lns11.adl6.internode.on.net (HELO mail.clearchain.com) ([121.45.121.213]) by ipmail01.adl2.internode.on.net with ESMTP; 02 Nov 2007 11:48:31 +1030 Received: from wolf.clearchain.com (wcl.ml.unisa.edu.au [130.220.166.5]) (authenticated bits=0) by mail.clearchain.com (8.13.8/8.13.8) with ESMTP id lA21ILHU000769 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Nov 2007 11:48:27 +1030 (CST) (envelope-from Benjamin.Close@clearchain.com) Message-ID: <472A7ADD.3010002@clearchain.com> Date: Fri, 02 Nov 2007 11:48:21 +1030 From: Benjamin Close User-Agent: Thunderbird 2.0.0.0 (X11/20070615) MIME-Version: 1.0 To: Max Laier References: <472A6708.9030109@clearchain.com> <20071102004248.GA5253@e.0x20.net> <200711020152.53535.max@love2party.net> In-Reply-To: <200711020152.53535.max@love2party.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on pegasus.clearchain.com X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (mail.clearchain.com [192.168.154.1]); Fri, 02 Nov 2007 11:48:28 +1030 (CST) Cc: Lars Engels , freebsd-current@freebsd.org, freebsd-drivers@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: [RFT] Intel 3945abg wireless driver (wpi) 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: Fri, 02 Nov 2007 01:32:11 -0000 Max Laier wrote: > On Friday 02 November 2007, Lars Engels wrote: > >> On Fri, Nov 02, 2007 at 10:23:44AM +1030, Benjamin Close wrote: >> >>> Howdy All, I'm pleased to announce the first 'official' >>> experimental version of the wpi wireless driver and hence require >>> your help in making it become stable. >>> Expect a few things not to work (ie bg scanning, setting txpower) but >>> in general the driver should be usable in station mode (hostap is not >>> yet supported). >>> >>> If you've got an Intel 3945abg wireless card, grab the tarball at: >>> >>> >>> http://people.freebsd.org/~benjsc/downloads/wpi/20071102-freebsd-wpi. >>> tar.gz >>> >>> Untar and follow the instructions in the README. >>> If you want more info about the driver, or to checkout the FAQ >>> checkout: >>> >>> http://www.clearchain.com/wiki/Wpi >>> >>> I'm interested in all reports related to panics, things not working >>> as expected, etc. The driver still has debug enabled so expect a few >>> messages to be dumped to the screen whilst in use. >>> >>> Finally, many thanks to all those that have been helping debug the >>> driver along the way. >>> >>> Cheers, >>> Benjamin >>> >> Good to know that someone is still working on it. >> However, it doesn't work for me. I cannot load the firmware: >> >> lars@ttyp3 # kldload wpifw >> lars@ttyp3 # dmesg >> 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, 0xc6d1151c, 0) error 1 >> >> lars@ttyp3 # grep legal.intel_wpi.license_ack /boot/loader.conf >> legal.intel_wpi.license_ack=1 >> >> lars@ttyp3 # sysctl legal >> sysctl: unknown oid 'legal' >> > > It's not a sysctl it's in kenv, but if it's in loader.conf it should be in > kenv, too. > > >> And I even read the license! ;-) >> > > > You shouldn't need to manually kldload the wpifw, wpi will pull it in for you. However, if you have the line in loader.conf it should work - I take it you did reboot for the setting to be grabbed? Cheers, Benjamin From owner-freebsd-drivers@FreeBSD.ORG Fri Nov 2 01:40:27 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 BA48316A420 for ; Fri, 2 Nov 2007 01:40:27 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id 8C88E13C4A6 for ; Fri, 2 Nov 2007 01:40:27 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so846013waf for ; Thu, 01 Nov 2007 18:40:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=/Vo2lL7hdCjK5O/4tzLt1eLN3A6BD+QQfiNsJ0UPBZY=; b=JlO3P6ykhFSQy5BNt7ciO9LMgLxAct6YdPk3G2Uba0jAKeVj2mjNEVJnph7iRPl3tgjaYjmMFlCZeO9zvushBbQ6aBPNYoszcqo6LHZUgoah6lmXzx4k+Z4H/5BxI9mmShDow/GRNTlysbpdPtPazBcGdmjyuFpqHs/wQdnk2n0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NNM0SXtGE3C0gvq8WUiMJjyJaXyZHVZwhDslSoedI4PI42k2uncaeGsWu4TdllbV7sh958lbJGYyVkb7V4KcBt9644sGWmUbbcTrxz42N/nWJsK9fgslEvPjdZN1nTGZSjB530CVXkzIgj5wcJC1s9+Icu9NMmi0BRCi5NnEV3g= Received: by 10.115.22.1 with SMTP id z1mr1263571wai.1193964326259; Thu, 01 Nov 2007 17:45:26 -0700 (PDT) Received: by 10.114.13.15 with HTTP; Thu, 1 Nov 2007 17:45:26 -0700 (PDT) Message-ID: Date: Thu, 1 Nov 2007 17:45:26 -0700 From: "Kip Macy" To: "Lars Engels" , "Benjamin Close" , freebsd-current , freebsd-drivers@freebsd.org, freebsd-mobile@freebsd.org In-Reply-To: <20071102004248.GA5253@e.0x20.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <472A6708.9030109@clearchain.com> <20071102004248.GA5253@e.0x20.net> Cc: Subject: Re: [RFT] Intel 3945abg wireless driver (wpi) 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: Fri, 02 Nov 2007 01:40:27 -0000 man kenv On 11/1/07, Lars Engels wrote: > On Fri, Nov 02, 2007 at 10:23:44AM +1030, Benjamin Close wrote: > > Howdy All, I'm pleased to announce the first 'official' experimental version of the wpi wireless driver and hence require your help in making it become > > stable. > > Expect a few things not to work (ie bg scanning, setting txpower) but in general the driver should be usable in station mode (hostap is not yet supported). > > > > If you've got an Intel 3945abg wireless card, grab the tarball at: > > > > http://people.freebsd.org/~benjsc/downloads/wpi/20071102-freebsd-wpi.tar.gz > > > > Untar and follow the instructions in the README. > > If you want more info about the driver, or to checkout the FAQ checkout: > > > > http://www.clearchain.com/wiki/Wpi > > > > I'm interested in all reports related to panics, things not working as expected, etc. > > The driver still has debug enabled so expect a few messages to be dumped to the screen whilst in use. > > > > Finally, many thanks to all those that have been helping debug the driver along the way. > > > > Cheers, > > Benjamin > > Good to know that someone is still working on it. > However, it doesn't work for me. I cannot load the firmware: > > lars@ttyp3 # kldload wpifw > lars@ttyp3 # dmesg > 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, 0xc6d1151c, 0) error 1 > > lars@ttyp3 # grep legal.intel_wpi.license_ack /boot/loader.conf > legal.intel_wpi.license_ack=1 > > lars@ttyp3 # sysctl legal > sysctl: unknown oid 'legal' > > And I even read the license! ;-) > > Lars > > From owner-freebsd-drivers@FreeBSD.ORG Fri Nov 2 12:09:02 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 E0EB016A417; Fri, 2 Nov 2007 12:09:02 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.freebsd.org (Postfix) with ESMTP id 7063A13C494; Fri, 2 Nov 2007 12:09:01 +0000 (UTC) (envelope-from max@love2party.net) Received: from amd64.laiers.local (dslb-088-066-044-048.pools.arcor-ip.net [88.66.44.48]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis) id 0MKxQS-1InkmN38wV-0006w6; Fri, 02 Nov 2007 01:52:56 +0100 From: Max Laier Organization: FreeBSD To: freebsd-current@freebsd.org, Lars Engels Date: Fri, 2 Nov 2007 01:52:44 +0100 User-Agent: KMail/1.9.7 References: <472A6708.9030109@clearchain.com> <20071102004248.GA5253@e.0x20.net> In-Reply-To: <20071102004248.GA5253@e.0x20.net> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1448871.x47iAX1EqJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200711020152.53535.max@love2party.net> X-Provags-ID: V01U2FsdGVkX19wX6xz7zvLyKEPl2knS4+0lvMY3McrRmaeMyD 715sfY2WaXUGrLK6VqOmLUUjgPLvJwBjgZj0UmEfewYkqDGVaF wn8hsIjaxrWN1aw1ZDunhikkwGR8g9vjcCxVMYSqAo= Cc: freebsd-drivers@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: [RFT] Intel 3945abg wireless driver (wpi) 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: Fri, 02 Nov 2007 12:09:03 -0000 --nextPart1448871.x47iAX1EqJ Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 02 November 2007, Lars Engels wrote: > On Fri, Nov 02, 2007 at 10:23:44AM +1030, Benjamin Close wrote: > > Howdy All, I'm pleased to announce the first 'official' > > experimental version of the wpi wireless driver and hence require > > your help in making it become stable. > > Expect a few things not to work (ie bg scanning, setting txpower) but > > in general the driver should be usable in station mode (hostap is not > > yet supported). > > > > If you've got an Intel 3945abg wireless card, grab the tarball at: > > > > =20 > > http://people.freebsd.org/~benjsc/downloads/wpi/20071102-freebsd-wpi. > >tar.gz > > > > Untar and follow the instructions in the README. > > If you want more info about the driver, or to checkout the FAQ > > checkout: > > > > http://www.clearchain.com/wiki/Wpi > > > > I'm interested in all reports related to panics, things not working > > as expected, etc. The driver still has debug enabled so expect a few > > messages to be dumped to the screen whilst in use. > > > > Finally, many thanks to all those that have been helping debug the > > driver along the way. > > > > Cheers, > > Benjamin > > Good to know that someone is still working on it. > However, it doesn't work for me. I cannot load the firmware: > > lars@ttyp3 # kldload wpifw > lars@ttyp3 # dmesg > 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=3D1 in /boot/loader.conf. > module_register_init: MOD_LOAD (wpifw_fw, 0xc6d1151c, 0) error 1 > > lars@ttyp3 # grep legal.intel_wpi.license_ack /boot/loader.conf > legal.intel_wpi.license_ack=3D1 > > lars@ttyp3 # sysctl legal > sysctl: unknown oid 'legal' It's not a sysctl it's in kenv, but if it's in loader.conf it should be in= =20 kenv, too. > And I even read the license! ;-) =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1448871.x47iAX1EqJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHKnTlXyyEoT62BG0RAliyAJ0USnzcHoQRnN/R/6momwSAiQn8rACeNHvy OWqrj8s/fRTsPqASqQgEXD0= =Jbpn -----END PGP SIGNATURE----- --nextPart1448871.x47iAX1EqJ-- From owner-freebsd-drivers@FreeBSD.ORG Fri Nov 2 21:32:17 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 E1CDD16A46E; Fri, 2 Nov 2007 21:32:17 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) Received: from ipmail01.adl2.internode.on.net (ipmail01.adl2.internode.on.net [203.16.214.140]) by mx1.freebsd.org (Postfix) with ESMTP id 177EB13C4B2; Fri, 2 Nov 2007 21:32:14 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq4HAOYwK0d5LYjs/2dsb2JhbACBW45c X-IronPort-AV: E=Sophos;i="4.21,364,1188743400"; d="scan'208";a="224636654" Received: from ppp121-45-136-236.lns11.adl6.internode.on.net (HELO mail.clearchain.com) ([121.45.136.236]) by ipmail01.adl2.internode.on.net with ESMTP; 03 Nov 2007 07:54:48 +1030 Received: from [192.168.155.249] (draco.internal.clearchain.com [192.168.155.249]) (authenticated bits=0) by mail.clearchain.com (8.13.8/8.13.8) with ESMTP id lA2LOjjb009753 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 3 Nov 2007 07:54:46 +1030 (CST) (envelope-from Benjamin.Close@clearchain.com) Message-ID: <472B9597.2050108@clearchain.com> Date: Sat, 03 Nov 2007 07:54:39 +1030 From: Benjamin Close User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Frank Staals References: <472A6708.9030109@clearchain.com> <472B779B.9060002@gmx.net> In-Reply-To: <472B779B.9060002@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on pegasus.clearchain.com X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (mail.clearchain.com [192.168.154.1]); Sat, 03 Nov 2007 07:54:46 +1030 (CST) Cc: freebsd-current , freebsd-drivers@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: [RFT] Intel 3945abg wireless driver (wpi) 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: Fri, 02 Nov 2007 21:32:18 -0000 Frank Staals wrote: > Benjamin Close wrote: >> Howdy All, I'm pleased to announce the first 'official' >> experimental version of the wpi wireless driver and hence require >> your help in making it become stable. >> Expect a few things not to work (ie bg scanning, setting txpower) but >> in general the driver should be usable in station mode (hostap is not >> yet supported). >> >> If you've got an Intel 3945abg wireless card, grab the tarball at: >> >> >> http://people.freebsd.org/~benjsc/downloads/wpi/20071102-freebsd-wpi.tar.gz >> >> >> Untar and follow the instructions in the README. >> If you want more info about the driver, or to checkout the FAQ checkout: >> >> http://www.clearchain.com/wiki/Wpi >> >> I'm interested in all reports related to panics, things not working >> as expected, etc. >> The driver still has debug enabled so expect a few messages to be >> dumped to the screen whilst in use. >> >> Finally, many thanks to all those that have been helping debug the >> driver along the way. >> >> Cheers, >> Benjamin >> _______________________________________________ >> freebsd-mobile@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >> To unsubscribe, send any mail to >> "freebsd-mobile-unsubscribe@freebsd.org" >> > Woei ! It's working for me so far :) Allthough I still have issues > when switching from one tty to one other. Here the output of the > script I am using to do the connecting : > > loaded the module at boot > > ran my script which does: ( output snipped ) > > wlannic=wpi0 > > # clear the selected gateway: > route flush > > # Set the interface ifconfig ${wlannic} 192.168.5.5 ssid > > > # Set a new gateway > route add default 192.168.5.1 > # make sure to give the LAN-NIC an other IP-address > ifconfig ${lannic} 192.168.200.2 > > ifconfig ${wlannic} up > > # test connection > ping -c 1 192.168.5.1 > # start a screen session with ssh connection for > authentication > screen -d -m ssh -l wifi 192.168.5.1 > # wait a while before testing the connection > sleep 3 > > # test conn: > ping -c 1 google.nl > > > > Everything works fine with the connection itself. Allthough sometimes > when switching from tty9 to tty0 and back the system locks up. I've > had it before when switching from tty1 to tty0. Anyone with the same > problems ? > > Anyway; Great work on the driver so far :D > I've similar issues and believe it might be due to the amount of kernel printfs that are happening. Can you sysctl debug.wpi=0 and see if the problem still exists? By chance are you using ZFS? I caught a memory modified after free panic in zfs the other day pid was from syslogd. I'm trying to work out if it's related. Cheers, Benjamin From owner-freebsd-drivers@FreeBSD.ORG Sat Nov 3 00:44:50 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 EFD4216A468 for ; Sat, 3 Nov 2007 00:44:50 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 0829E13C4B3 for ; Sat, 3 Nov 2007 00:44:49 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: (qmail invoked by alias); 02 Nov 2007 19:17:35 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (EHLO Rena.FStaals.net) [62.59.173.176] by mail.gmx.net (mp047) with SMTP; 02 Nov 2007 20:17:35 +0100 X-Authenticated: #25365336 X-Provags-ID: V01U2FsdGVkX1/OANdROuHO5L5+r5K6W37T69ADNVUKVD0sWCnvvp ybCU5ctroAVtsS Message-ID: <472B779B.9060002@gmx.net> Date: Fri, 02 Nov 2007 20:16:43 +0100 From: Frank Staals User-Agent: Thunderbird 2.0.0.6 (X11/20070929) MIME-Version: 1.0 To: Benjamin Close References: <472A6708.9030109@clearchain.com> In-Reply-To: <472A6708.9030109@clearchain.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-current , freebsd-drivers@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: [RFT] Intel 3945abg wireless driver (wpi) 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: Sat, 03 Nov 2007 00:44:51 -0000 Benjamin Close wrote: > Howdy All, I'm pleased to announce the first 'official' > experimental version of the wpi wireless driver and hence require your > help in making it become stable. > Expect a few things not to work (ie bg scanning, setting txpower) but > in general the driver should be usable in station mode (hostap is not > yet supported). > > If you've got an Intel 3945abg wireless card, grab the tarball at: > > > http://people.freebsd.org/~benjsc/downloads/wpi/20071102-freebsd-wpi.tar.gz > > > Untar and follow the instructions in the README. > If you want more info about the driver, or to checkout the FAQ checkout: > > http://www.clearchain.com/wiki/Wpi > > I'm interested in all reports related to panics, things not working as > expected, etc. > The driver still has debug enabled so expect a few messages to be > dumped to the screen whilst in use. > > Finally, many thanks to all those that have been helping debug the > driver along the way. > > Cheers, > Benjamin > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > Woei ! It's working for me so far :) Allthough I still have issues when switching from one tty to one other. Here the output of the script I am using to do the connecting : loaded the module at boot ran my script which does: ( output snipped ) wlannic=wpi0 # clear the selected gateway: route flush # Set the interface ifconfig ${wlannic} 192.168.5.5 ssid # Set a new gateway route add default 192.168.5.1 # make sure to give the LAN-NIC an other IP-address ifconfig ${lannic} 192.168.200.2 ifconfig ${wlannic} up # test connection ping -c 1 192.168.5.1 # start a screen session with ssh connection for authentication screen -d -m ssh -l wifi 192.168.5.1 # wait a while before testing the connection sleep 3 # test conn: ping -c 1 google.nl Everything works fine with the connection itself. Allthough sometimes when switching from tty9 to tty0 and back the system locks up. I've had it before when switching from tty1 to tty0. Anyone with the same problems ? Anyway; Great work on the driver so far :D -- -Frank Staals