atom feed22 messages in org.freebsd.freebsd-usb[was USB bluetooth dongles] new if_ur...
FromSent OnAttachments
Hans Petter SelaskyJul 13, 2006 6:24 pm 
Anish MistryJul 13, 2006 6:53 pm 
Hans Petter SelaskyJul 13, 2006 7:41 pm 
Anish MistryJul 13, 2006 7:50 pm 
Hans Petter SelaskyJul 13, 2006 8:08 pm 
Hans Petter SelaskyJul 14, 2006 2:45 pm 
Alexandre "Sunny" KovalenkoJul 14, 2006 9:53 pm 
Alexandre "Sunny" KovalenkoJul 14, 2006 10:15 pm 
Anish MistryJul 15, 2006 7:56 am 
Hans Petter SelaskyJul 15, 2006 8:15 am 
Alexandre "Sunny" KovalenkoJul 15, 2006 12:54 pm 
Hans Petter SelaskyJul 15, 2006 3:46 pm 
Alexandre "Sunny" KovalenkoJul 16, 2006 3:54 pm 
Hans Petter SelaskyJul 16, 2006 9:35 pm 
Alexandre "Sunny" KovalenkoJul 17, 2006 1:48 am 
Niki DenevJul 17, 2006 6:07 pm 
Hans Petter SelaskyJul 17, 2006 7:06 pm 
Niki DenevJul 17, 2006 7:46 pm 
Hans Petter SelaskyJul 17, 2006 8:22 pm 
Niki DenevJul 17, 2006 8:38 pm 
Hans Petter SelaskyJul 18, 2006 7:52 am 
Hans Petter SelaskyJul 26, 2006 11:46 am 
Subject:[was USB bluetooth dongles] new if_ural.c
From:Hans Petter Selasky (hsel@c2i.net)
Date:Jul 26, 2006 11:46:02 am
List:org.freebsd.freebsd-usb

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