From owner-freebsd-current@FreeBSD.ORG Thu Jul 24 12:02:55 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A6781065670 for ; Thu, 24 Jul 2008 12:02:55 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.188]) by mx1.freebsd.org (Postfix) with ESMTP id 842D08FC28 for ; Thu, 24 Jul 2008 12:02:54 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so1352089tid.3 for ; Thu, 24 Jul 2008 05:02:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:to:subject :message-id:mail-followup-to:mime-version:content-type :content-disposition:user-agent:organization:x-operation-sytem:from; bh=1YxbedG5w9yJitE2B+PtkiPYdpRNZ2il5kmikBm5KLY=; b=EVtaTVD9RoCbkJFt0GVwzN2+9z6jCwKucAHd5Fj3KPcCIXpywiptsNuvKmcJPfBJTB kCLkT1OQFXne1EFUjT5x++RapARhMzyCAkNo/aW4MZRSYx0pRC5/5bLPdONWLDmHJRB4 lTW++3zci1dd92MciA6+4HaL/HKwlmv8tlz9k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent:organization :x-operation-sytem:from; b=do1T7TeUtEyNyHwyzHm+ETOc/CRdFiGxvb2w810TyIhzxzAQkBKh4u+Wwgyt6b+Ke3 qUkaN8MV5zee/BNaPWtw5UT7RydpOhnUgSDOJDbGHszig0k0ixSw01wLz/a+pIhGzYIN 82HQxCsadjLVCuyV0SUqcU8ttJfaMyNx1RhMc= Received: by 10.110.20.17 with SMTP id 17mr185112tit.12.1216900971619; Thu, 24 Jul 2008 05:02:51 -0700 (PDT) Received: from freebsd.weongyo.org ( [211.53.35.67]) by mx.google.com with ESMTPS id j5sm18163710tid.12.2008.07.24.05.02.49 (version=SSLv3 cipher=RC4-MD5); Thu, 24 Jul 2008 05:02:50 -0700 (PDT) Received: by freebsd.weongyo.org (sSMTP sendmail emulation); Thu, 24 Jul 2008 21:02:10 +0900 Date: Thu, 24 Jul 2008 21:02:10 +0900 To: freebsd-current@freebsd.org Message-ID: <20080724120210.GA38346@freebsd.weongyo.org> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD From: Weongyo Jeong Subject: CFT/CFR: NDIS(4) USB support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 24 Jul 2008 12:02:55 -0000 Hello All, It looks that NDIS USB support works for some USB wireless drivers so I'd like to call for tests to everyone who interested in NDIS for FreeBSD. I have 7 USB wireless adapters and with current NDIS USB support 4 of 7 adapters are supported. The detail is as follows: Working: U-Khan UW-2054i (Marvell Libertas chipset) Netgear WG111v2 (Intersil/Prism chipset) - supported by upgt(4) EFM-IPTIME G054U2 (Ralink RT2573) - supported by rum(4) ZCOM XM-142 (Intersil/Prism chipset, another revision) Not working: Unicorn WL-54G (ZyDAS zd1211b chipset) - supported by zyd(4) Attaching is working sucessfully and LED works fine but it's not UPed. Zyxel G-200v2 (ZyDAS zd1211 chipset) - supported by zyd(4) The sympotom is same with Unicorn WL-54G. SMCWUSBT-G-CA EZ 108Mbps (Atheros chipset) This NDIS driver uses some functions which aren't supported by current NDIS implementation. So I can't test it now. The patch for HEAD can be found at: http://people.freebsd.org/~weongyo/patch_ndisusb_20080724.diff When you try to test this patch, you should make sure that ndiscvt(8) is updated. Some instructions like below could be helpful: # cd /usr/src # patch -p0 < ~/patch_ndisusb_20080724.diff # cd usr.sbin/ndiscvt # make && make install # cd ~/ # ndisgen ABC.inf ABC.sys # cd /usr/src/sys/modules/ndis # make # kldload ./ndis.ko # cd /usr/src/sys/modules/if_ndis # make # kldload ./if_ndis.ko # kldload ~/ABC_sys.ko It seems that the current status of NDIS USB support is beta status so I'm not sure I've implemented all features yet that it needs more debugging and stability. I don't have all H/Ws for testing! :) Please tell me if you were successful or you failed though it looks it's not easy to debug NDIS .sys binary using disassembler. Any help and comments are welcome. Thanks. regards, Weongyo Jeong