From owner-freebsd-current@FreeBSD.ORG Wed Oct 27 12:59:09 2010 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 14971106564A for ; Wed, 27 Oct 2010 12:59:09 +0000 (UTC) (envelope-from villa.alberto@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C00798FC16 for ; Wed, 27 Oct 2010 12:59:08 +0000 (UTC) Received: by gwaa18 with SMTP id a18so349427gwa.13 for ; Wed, 27 Oct 2010 05:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; bh=QhWW9WJN7G8qzcgoR47iKXU8kNV7zoNiOQiSqZS/BXY=; b=LMHvU8GJl1XxUbbmJ2hc6AWYurPDkcZ0lLk8SBNGHj1pGF89DbM0Y3LEfgf4h/cAyR C8vmldhKXwJ0sxuawWhFcAuurB8cUOdD2B5XfLpnrJKmARKZBg6H7CKdwBM4Yn7vWqWK t9nOa1BoGsXcc+5T+duH9Bl4z9HuMpr+sMun0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=jSDl1Y9T721602qq/jE7kqc2uCNFavQK2TUAdQ2spQQkUISalE3jSg7w7+AIrez2PU CzmeXQYSCwuQ0ItJrQUrmNl8kQ/H3kuD4a+dtLrI2cy5uxNaliRMCI8vcFyV0fQmg+ga +3LXINhYaRX1U/Q4fCbxVhMu9m9L8FA9sVg9I= Received: by 10.42.213.196 with SMTP id gx4mr8061195icb.51.1288184347821; Wed, 27 Oct 2010 05:59:07 -0700 (PDT) MIME-Version: 1.0 Sender: villa.alberto@gmail.com Received: by 10.220.165.145 with HTTP; Wed, 27 Oct 2010 05:58:47 -0700 (PDT) In-Reply-To: References: <20101025080705.GA33315@current.Sisis.de> From: Alberto Villa Date: Wed, 27 Oct 2010 12:58:47 +0000 X-Google-Sender-Auth: Isbkjk4Zx9BKFZkwlBtOCf5BRzs Message-ID: To: Paul B Mahol Content-Type: text/plain; charset=ISO-8859-1 Cc: Matthias Apitz , freebsd-current@freebsd.org Subject: Re: Broadcom BCM4310 USB Controller (Wifi) 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: Wed, 27 Oct 2010 12:59:09 -0000 On Tue, Oct 26, 2010 at 2:09 PM, Paul B Mahol wrote: >> i've tried ndis without success... > > Sharing you experience would help (if you are not on amd64). i'm on i386 at the moment, but i'll switch to amd64 as soon as i decide what to do (keep freebsd natively or virtualize it under windows... it depends on the wireless driver). would that change anything? here's my experience. also, as a reference, here's what i get if i add the device id to siba_bwn: # kldload if_bwn siba_bwn0: mem 0xda100000-0xda103fff irq 16 at device 0.0 on pci2 siba_bwn0: cannot map register space device_attach: siba_bwn0 attach returned 6 and here is the new open source driver: http://wireless.kernel.org/en/users/Drivers/brcm80211 and now, ndis. the driver is bcmwl6 (http://people.freebsd.org/~avilla/bcmwl6.inf and http://people.freebsd.org/~avilla/bcmwl6.sys , apparently no need for firmware files, but i'm not sure), which is said not to work with ndis on linux forums (maybe they removed the support for winxp) matthias: you should try bcmwl5, that could work for you using the unmodified files i've attached (they default to winvista and win7) i get this: # kldload ./bcmwl6_sys.ko module ndis already present! no match for NdisMIndicateReceiveNetBufferLists no match for NdisFreeNetBufferListPool no match for NdisMRegisterScatterGatherDma no match for NdisMAllocatePort no match for NdisQueueIoWorkItem no match for NdisMFreePort no match for NdisMOidRequestComplete no match for NdisMNetPnPEvent no match for NdisAllocateIoWorkItem no match for NdisFreeIoWorkItem no match for NdisGetVersion no match for NdisMSetMiniportAttributes no match for NdisMDeregisterMiniportDriver no match for NdisAllocateTimerObject no match for NdisMPauseComplete no match for NdisOpenConfigurationEx no match for NdisFreeTimerObject no match for NdisCancelTimerObject no match for NdisSetTimerObject no match for NdisMSynchronizeWithInterruptEx no match for NdisMDeregisterInterruptEx no match for NdisMRegisterInterruptEx no match for NdisMIndicateStatusEx no match for NdisFreeNetBufferList no match for NdisGetSystemUpTimeEx no match for NdisAllocateMdl no match for NdisAllocateNetBufferAndNetBufferList no match for NdisFreeMdl no match for NdisMResetComplete no match for NdisMSendNetBufferListsComplete no match for NdisAllocateNetBufferListPool no match for NdisMRegisterMiniportDriver no match for NdisMDeregisterScatterGatherDma no match for NdisAllocateMemoryWithTagPriority no match for NdisMGetBusData no match for NdisMSetBusData no match for ZwQueryInformationFile no match for ZwReadFile no match for ZwCreateFile no match for ExFreePoolWithTag no match for IoRegisterPlugPlayNotification no match for IoUnregisterPlugPlayNotification NDIS dummy called... NDIS dummy called... which should mean that the driver doesn't support xp. so i tried changing (in the .inf) %V_BCM% = BROADCOM, NTx86.6.0, NTamd64.6.0, NTx86.6.1, NTamd64.6.1 to %V_BCM% = BROADCOM, NTx86, NTamd64 and then i only get "module ndis already present!", but no interface shows up i also tried removing NTx86, making it %V_BCM% = BROADCOM, NTamd64 (it should be correct), and with this modification i get the same error messages of the first attempt anyway i don't have any experience with ndis... should i test anything else? -- Alberto Villa, FreeBSD committer http://people.FreeBSD.org/~avilla