From owner-freebsd-stable@FreeBSD.ORG Thu Aug 14 15:08:06 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2202B1065679 for ; Thu, 14 Aug 2008 15:08:06 +0000 (UTC) (envelope-from k@kevinkevin.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id D80B68FC20 for ; Thu, 14 Aug 2008 15:08:05 +0000 (UTC) (envelope-from k@kevinkevin.com) Received: by gxk10 with SMTP id 10so2566215gxk.19 for ; Thu, 14 Aug 2008 08:08:04 -0700 (PDT) Received: by 10.150.182.16 with SMTP id e16mr1949652ybf.180.1218726484413; Thu, 14 Aug 2008 08:08:04 -0700 (PDT) Received: from kevin ( [76.10.166.187]) by mx.google.com with ESMTPS id s27sm4913853qbs.12.2008.08.14.08.08.02 (version=SSLv3 cipher=RC4-MD5); Thu, 14 Aug 2008 08:08:03 -0700 (PDT) From: "Kevin" To: "'Gavin Atkinson'" References: <004c01c8fe12$f2386df0$d6a949d0$@com> <20080814155037.A29502@ury.york.ac.uk> In-Reply-To: <20080814155037.A29502@ury.york.ac.uk> Date: Thu, 14 Aug 2008 11:07:41 -0400 Message-ID: <005501c8fe1f$80f350d0$82d9f270$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: Acj+Hq3lflrTN6PaQhWf4vYIBfIAFAAABsEg Content-Language: en-us Cc: freebsd-stable@freebsd.org Subject: RE: RTL8187 drivers for FreeBSD (usb wlan device) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 15:08:06 -0000 > Be aware that the RTL8187, RTL8187B and RTL8187L are all different > chipsets. I believe Linux has two drivers for them, one driver covers > two > chips. I believe it is the RTL8187L chipset. The actual device is an Alfa Network "AWUS036H" , product information is http://dplanet.biz/alfa.com/product_info.php?products_id=342 . > Some work on supporting USB under NDIS has been done, it might be worth > investigating just how far from completion it is. I'll look into this -- I believe ndisgen is built into freebsd by default, however I'm not sure. > Linux drivers are often hard to port, purely because they are badly > documented and often use "magic" values which may need to be different > under FreeBSD. I looked at the code a little while starting my own > RTL8087B driver, but ended up preferring to monitor how Windows talked > to > the device. Note, however, that my driver is nowhere near finished > (doesn't even have code to send/receive yet), so there's no point me > sending it to you... Ideally I'd like to utilize a stable port/driver. /usr/ports/devel/linux-kmod-compat was recommended to me (http://info.iet.unipi.it/~luigi/FreeBSD/linux_bsd_kld.html) , however I don't believe this to be a viable option since it was primarily developed to "wrap" drivers for usb webcams. Thanks for your suggestions, I will look into the ndisgen progress in any case. Hopefully USB support is more defined, or will be more defined in the near future.