From owner-freebsd-current@FreeBSD.ORG Thu Nov 24 06:28:36 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 1558016A421; Thu, 24 Nov 2005 06:28:36 +0000 (GMT) In-Reply-To: <20051123161550.GE1010@obiwan.tataz.chchile.org> from Jeremie Le Hen at "Nov 23, 2005 05:15:50 pm" To: jeremie@le-hen.org (Jeremie Le Hen) Date: Thu, 24 Nov 2005 06:28:36 +0000 (GMT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20051124062836.1558016A421@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) Cc: freebsd-current@freebsd.org Subject: Re: Lasted NDIS wrapper for D-Link DWL-520+ on RELENG_6 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 Nov 2005 06:28:36 -0000 Ok, there's something I just have to know: what the hell did you mean in the Subject: line when you said "Lasted?" > Hi, > > I'm trying to use my PCI Wireless card with NDISulator from Bill Paul. > I have tried to gather as much details as possible browsing through > recent wpaul's posts, I hope this will be enough. If misfortune made me > forget some details, I apologize for it and please, be indulgent and ask > them. Fortune has nothing to do with it. I think you picked the wrong driver. Your device's PCI vendor/device/subsystem ID says: > % none0@pci0:8:0: class=0x028000 card=0x3b041186 chip=0x9066104c rev=0x00 hdr=0x00 > % vendor = 'Texas Instruments (TI)' > % device = 'TNETW1130(ACX111) 802.11b/g Wireless Cardbus/PCI Adapter' > % class = network And you said you used the driver from: > I'm trying to use the lastest driver for this card provided by D-Link : > ftp://ftp.dlink.com/Wireless/dwl520+/Driver/dwl520+_drivers_307.zip Now, The first thing you should have done is to actually inspect the .INF file. Like the self-documenting ndisgen(8) script tells you, this is the file that actually contains the device ID information that the Windows Plug & Play Mangler will use when trying to match a device to a driver. The AIRPLUS.INF file says: [D-Link] %AIRPLUS.DeviceDesc1% = AIRPLUS.8400, PCI\VEN_104C&DEV_8400&SUBSYS_3B001186 %AIRPLUS.DeviceDesc2% = AIRPLUS.8400, PCI\VEN_104C&DEV_8400&SUBSYS_3B011186 Note that the PCI vendor ID (0x104c) matches your device, but the device ID (0x8400) does not (yours is 0x9066). In this case, the .INF file tells Windows to look for two possible devices. In reality, both devices use the same chip (vendor 0x104c, device 0x8400), but there are two board variants (one with 0x3b001186, the other 0x3b011186). The subsystem ID is really another vendor/device ID combination (0x1186 is D-Link's vendor ID, 0x3b00 and 0x3b01 are the device codes D-Link has assigned to their boards). Exactly what the differences are between the board revs is anyone's guess. Maybe they use the same Texas Instruments chip, but with slightly different RF circuitry. Maybe they're really the same electronically, but D-Link decided to give each production run their own ID code because they're funny that way. In any case, not only do the vendor ID and device ID not match your board, the subsystem IDs don't match yours either (0x3b041186). So this driver is not the one that goes with your card. > I have to say that I'm quite puzzled by the fact that there seem to be > multiple versions of the DWL-520+ card (at least two, one with an Atheros > chipset and one with a T.I. chipset) but strangely there is only one driver. > Even stranger, the Drivers/WinXP/ directory contains only one .SYS file. > I guess there must be some magic in it. Oh, _you're_ puzzled that there's multiple versions of the same card. Welcome to _my_ world, buster. I want you to explain, in precise detail, why you're trying to download a driver instead of using the one on the CD that came with the card. If the reason is that you lost the CD, then you're being appropriately punished for your carelessness. It's entirely possible that D-Link hasn't put the driver for your card on their FTP server yet. "So what do I do now?" I hear you ask. You look on other vendors' sites for other cards based on the on the Texas Instruments chipset and check their .INF files until you find one where the vendor and device ID matches yours. And you remind yourself to keep better track of your driver CDs in the future. -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= you're just BEGGING to face the moose =============================================================================