From owner-freebsd-mobile@FreeBSD.ORG Fri Mar 4 08:40:32 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 983F316A4CE for ; Fri, 4 Mar 2005 08:40:32 +0000 (GMT) Received: from mailgw.dgrp.sk (mailgw.dgrp.sk [195.28.127.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6703343D53 for ; Fri, 4 Mar 2005 08:40:31 +0000 (GMT) (envelope-from lk@tempest.sk) Received: by mailgw.dgrp.sk (Postfix, from userid 1003) id EE25E34A5A8; Fri, 4 Mar 2005 09:40:29 +0100 (CET) Received: from webmail.tempest.sk (unknown [195.28.100.38]) by mailgw.dgrp.sk (Postfix) with ESMTP id 0CA0134A5A7 for ; Fri, 4 Mar 2005 09:40:27 +0100 (CET) Received: from lk.tempest.sk ([195.28.109.47]) by webmail.tempest.sk (Lotus Domino Release 6.5.2) with ESMTP id 2005030409402685-162 ; Fri, 4 Mar 2005 09:40:26 +0100 Received: from lk.tempest.sk (localhost [127.0.0.1]) by lk.tempest.sk (8.13.1/8.12.9) with ESMTP id j248eHgu052642; Fri, 4 Mar 2005 09:40:17 +0100 (CET) (envelope-from koren@lk.tempest.sk) Received: (from koren@localhost) by lk.tempest.sk (8.13.1/8.13.1/Submit) id j248eH1l052639; Fri, 4 Mar 2005 09:40:17 +0100 (CET) (envelope-from koren) Date: Fri, 4 Mar 2005 09:40:17 +0100 (CET) Message-Id: <200503040840.j248eH1l052639@lk.tempest.sk> From: Ludo Koren To: freebsd-mobile@freebsd.org X-MIMETrack: Itemize by SMTP Server on Domino1/DGRP(Release 6.5.2|June 01, 2004) at 04.03.2005 09:40:26, Serialize by Router on Domino1/DGRP(Release 6.5.2|June 01, 2004) at 04.03.2005 09:40:27, Serialize complete at 04.03.2005 09:40:27 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on mailgw X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 Subject: 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 08:40:32 -0000 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