From owner-freebsd-usb@FreeBSD.ORG Wed Jul 26 11:46:20 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D6BA16A4DA for ; Wed, 26 Jul 2006 11:46:20 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.tele2.se [212.247.155.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7252D43D73 for ; Wed, 26 Jul 2006 11:46:16 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== X-Cloudmark-Score: 0.000000 [] Received: from [193.217.36.33] (HELO [10.0.0.184]) by mailfe11.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 73548692; Wed, 26 Jul 2006 13:46:14 +0200 From: Hans Petter Selasky To: Niki Denev , Damien Bergamini Date: Wed, 26 Jul 2006 13:46:22 +0200 User-Agent: KMail/1.7 References: <44BBD1F9.5000804@totalterror.net> <200607172107.18141.hselasky@c2i.net> <44BBE936.4050801@totalterror.net> In-Reply-To: <44BBE936.4050801@totalterror.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607261346.23280.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: [was USB bluetooth dongles] new if_ural.c X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jul 2006 11:46:20 -0000 On Monday 17 July 2006 21:47, Niki Denev wrote: > Hans Petter Selasky wrote: > > That's great, i'll be happy to help. I have ural(4) hardware and can do > tests if needed. > I have just finished reworking the "if_ural" driver. It was not an easy task, but now the work is done. If someone has got time to look at the code and maybe give some comments, please do. A few small bugs were fixed. No serious security issues were found. For those of you interested in testing it out, here are the instructions: I recommend that you fetch all files from SVN. The SVN port is at /usr/ports/devel/subversion . After Subversion is installed you run: svn --username anonsvn --password anonsvn checkout svn://svn.turbocat.net/i4b cd i4b/trunk/i4b/FreeBSD.usb make S=../src package make install Follow the "make help" instructions. Before you build the kernel copy the following files into "/usr/src/sys/dev/usb/": i4b/trunk/i4b/src/sys/dev/usb/if_ural.c i4b/trunk/i4b/src/sys/dev/usb/if_uralreg.h i4b/trunk/i4b/src/sys/dev/usb/if_uralvar.h NOTE: the kernel build will most likely fail, unless you are using FreeBSD-7-current. If it fails because there are missing product ID defines, then just remove these lines from the "ural_devs" structure. If it fails because "IEEE80211_FEXT_SWBMISS" is not defined, then change the failing code to something like this: #ifdef IEEE80211_FEXT_SWBMISS /* enable SW bmiss handling in sta mode */ ic->ic_flags_ext |= IEEE80211_FEXT_SWBMISS; #endif Else please report the error, if you cannot resolve it. --HPS