From owner-freebsd-mobile@FreeBSD.ORG Fri Mar 4 15:37:34 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B593016A4CE for ; Fri, 4 Mar 2005 15:37:34 +0000 (GMT) Received: from mbc.edu (mail.mbc.edu [216.57.240.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 131C543D1F for ; Fri, 4 Mar 2005 15:37:32 +0000 (GMT) (envelope-from ckleski@mbc.edu) Received: from [10.0.1.129] by mbc.edu (Cipher TLSv1:RC4-MD5:128) (MDaemon.PRO.v8.0.0f.R) with ESMTP id md50000007090.msg for ; Fri, 04 Mar 2005 10:36:36 -0500 From: ckleski@mbc.edu To: freebsd-mobile@freebsd.org Date: Fri, 4 Mar 2005 10:37:34 +0000 User-Agent: KMail/1.7.2 References: <200503040840.j248eH1l052639@lk.tempest.sk> In-Reply-To: <200503040840.j248eH1l052639@lk.tempest.sk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503041037.35168.ckleski@mbc.edu> X-SortMonster-MessageSniffer-Message: md50000007090.msg X-SortMonster-MessageSniffer-Rules: tgibseut-MDPv0.53b (SNFv2-3.1i2) No patterns matched. X-SortMonster-MessageSniffer-Result: 0 X-Authenticated-Sender: ckleski@mbc.edu X-Spam-Processed: mail.mbc.edu, Fri, 04 Mar 2005 10:36:36 -0500 (not processed: message from trusted or authenticated source) X-Lookup-Warning: HELO/EHLO lookup on 10.0.1.129 does not match 216.12.19.185 X-MDRemoteIP: 216.12.19.185 X-Return-Path: ckleski@mbc.edu X-MDaemon-Deliver-To: freebsd-mobile@freebsd.org X-MDAV-Processed: mail.mbc.edu, Fri, 04 Mar 2005 10:36:37 -0500 Subject: Re: Dell Latitude D600 (again) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2005 15:37:34 -0000 Drivers for the 2200 for FreeBSD are available at http://damien.bergamini.free.fr/ipw/index.html I am using the 2100 driver, and it works perfectly. Regards, Craig On Friday 04 March 2005 08:40 am, Ludo Koren wrote: > Hi, > > I've finally got Dell Latitude D600 and installed FreeBSD > 5.4-PRERELEASE. I am not able to make working of internal modem and > wireless network card. > > pciconf -lv shows: > > .... > none0@pci0:31:6: class=0x070300 card=0x542214f1 chip=0x24c68086 > rev=0x01 hdr=0x00 vendor = 'Intel Corporation' > device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem > Controller' class = simple comms > ..... > none2@pci2:3:0: class=0x028000 card=0x27228086 chip=0x42208086 rev=0x05 > hdr=0x00 vendor = 'Intel Corporation' > device = 'PRO/Wireless 2200BG Network Connection' > class = network > > > I've seen in the freebsd-current mailing list, the PRO/Wireless 2200BG > Network Connection was recognized as ndis. > > So when I make > # cd /usr/src/sys/modules/if_ndis/ > # ndiscvt -s w22n51.sys -o ndis_driver_data.h > # make > Warning: Object directory not changed from original > /usr/src/sys/modules/if_ndis @ -> /usr/src/sys > machine -> /usr/src/sys/i386/include > touch opt_bdg.h > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h > awk -f @/tools/makeobjops.awk @/dev/pccard/card_if.m -h > awk -f @/tools/pccarddevs2h.awk @/dev/pccard/pccarddevs > cc -O -pipe -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ > -I@/contrib/altq -I@/../include -I/usr/include -finline-limit=8000 > -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 > -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -std=c99 -c > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c cc -O -pipe > -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/contrib/altq > -I@/../include -I/usr/include -finline-limit=8000 -fno-common > -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -std=c99 -c > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis_pci.c In file > included from > /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis_pci.c:65: > ./ndis_driver_data.h:13: error: syntax error before '}' token > *** Error code 1 > > Stop in /usr/src/sys/modules/if_ndis. > # > > I suppose, there is a problem in correct generation of header file, so > I changed the following lines: > > > *** wnc.h Thu Mar 3 21:47:41 2005 > --- ndis_driver_data.h Fri Mar 4 09:22:27 2005 > *************** > *** 9,16 **** > #ifdef NDIS_REGVALS > ndis_cfg ndis_regvals[] = { > { NULL, NULL, { 0 }, 0 } > - }; > #endif /* NDIS_REGVALS */ > > > #ifdef NDIS_IMAGE > --- 9,16 ---- > #ifdef NDIS_REGVALS > ndis_cfg ndis_regvals[] = { > { NULL, NULL, { 0 }, 0 } > #endif /* NDIS_REGVALS */ > + }; > > > #ifdef NDIS_IMAGE > > > After successful compiling and installing of if_ndis module and doing: > > # kldload ndis > # kldload if_ndis > kldload: can't load if_ndis: No such file or directory > # > > and in the /var/log/messages: > .... > Mar 4 09:29:38 lk107 kernel: link_elf: symbol windrv_load undefined > .... > > The internal modem is not recognized after doing: > # /usr/local/etc/rc.d/ltmdm.sh start > Enabling ltmdm. > eval: cannot create /dev/cual0: Operation not supported > # > > If I try to build ndis module for the internal modem, I have the same > result as with wireless card. > > Could anybody help solve the problems with both the internal modem and > wireless card? Any hints appreciated. > > Thank you very much in advance. > > Regards, > lk > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org"