From owner-freebsd-current@FreeBSD.ORG Tue Oct 7 19:05:28 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6543316A4B3 for ; Tue, 7 Oct 2003 19:05:28 -0700 (PDT) Received: from ipng.org.uk (public1-blac3-3-cust241.manc.broadband.ntl.com [213.106.20.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D7DD43F75 for ; Tue, 7 Oct 2003 19:05:27 -0700 (PDT) (envelope-from stu@ipng.org.uk) Received: from [192.168.2.2] (helo=icecold.stu) by ipng.org.uk with esmtp (Exim 4.22) id 1A73nv-0005LZ-25 for freebsd-current@freebsd.org; Wed, 08 Oct 2003 03:11:55 +0100 Received: from icecold.stu (localhost [127.0.0.1]) by icecold.stu (8.12.7/8.12.7) with ESMTP id h9825KQi019572 for ; Wed, 8 Oct 2003 03:05:21 +0100 (BST) (envelope-from stu@ipng.org.uk) Received: (from stu@localhost) by icecold.stu (8.12.7/8.12.7/Submit) id h97DSqf2000826 for freebsd-current@freebsd.org; Tue, 7 Oct 2003 14:28:52 +0100 (BST) X-Authentication-Warning: icecold.stu: stu set sender to stu@ipng.org.uk using -f Date: Tue, 7 Oct 2003 14:28:52 +0100 From: Stuart Walsh To: freebsd-current@freebsd.org Message-ID: <20031007132852.GA800@icecold.stu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: Atmel AT76C503 USB 802.11b device driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2003 02:05:28 -0000 Hi folks, I've come up with a driver for the above mentioned devices. This particular chip is found in a whole load of 802.11b USB devices. My particular device is an SMC2662W-AR, but it should work for any device containing the above chip. Just fill in the product/vendor ids and let me know your results and i'll update my local copy accordingly. The driver is at http://stu.bash.sh/atwi-20031007.tar.gz. Extract the files from within /usr/src/sys and apply atwi.diff with patch -p0 < atwi.diff. Only 5-CURRENT is supported at this time, so you will need a fairly recent cvsup. If you are going to report problems, set sysctl hw.atwi.debug=2 first and include all output. Both infrastructure and adhoc modes should work, but infrastructure mode hasnt been tested this last week as I had to return the AP I had on loan. You are strongly advised to use this driver as a module as the usb code has issues with the device if you unplug and replug it while the module is loaded. I'm working on fixing this. Other than that it should work fine. Please do report any successes or failures. Enjoy! Regards, Stuart