From owner-freebsd-net@FreeBSD.ORG Sun Nov 16 08:50:56 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F3B51065687 for ; Sun, 16 Nov 2008 08:50:56 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id AB2188FC18 for ; Sun, 16 Nov 2008 08:50:54 +0000 (UTC) (envelope-from kayvey@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so807590eyi.7 for ; Sun, 16 Nov 2008 00:50:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=+CAmEkZyqWgIqIgBVOrzPqg9giz+HtmFH4uluuRr6gE=; b=DMehu0C4RQcFEl3VACikTK4Rdk80tSQyLCzxJbr7JvJiBK30dPKzJNDm+WsAg21Kqr nB8tOJi31qd7CrxFha+omELppnpxXOLNpTfB0GgOjmiQWLomURlzXs/5gnmBS5DXlQd/ ig24G25ObiLEwd/+tATt4zzVBzOTeTmDLZpl8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=gqNIIBOTgdOpysr3GID+FiTwGetMBlvxMviFXhYkrkQ6M5zKHbScXpdiQLIbRQriZB iZKt4NcC/2vyuufCss9v0c9XHhoriUd578tIrJX/rC/YxXaeEnZfsQg/6o5PJ6WFqmHL EetnhomVNndsh31lAXEPj9lyI9vm9/UJN0Y6o= Received: by 10.210.109.10 with SMTP id h10mr2782212ebc.154.1226823538002; Sun, 16 Nov 2008 00:18:58 -0800 (PST) Received: by 10.210.68.20 with HTTP; Sun, 16 Nov 2008 00:18:57 -0800 (PST) Message-ID: <28b9b4180811160018q2823d7fap90b546ba444f191d@mail.gmail.com> Date: Sun, 16 Nov 2008 00:18:57 -0800 From: "Kayven Riese" To: freebsd-net@freebsd.org, freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: driver support for Belkin F5D7050 v 5xxx ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2008 08:50:56 -0000 I just purchased a wireless connection device that connects to my ASUS M6800N laptop dual booting Vista and KV_BSD# uname -a FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 KV_BSD# via USB. While booting on Vista, connection was fine. I investigated my man pages for Belkin modles in the interfaces: V_BSD# man an | grep Belkin KV_BSD# man awi | grep Belkin KV_BSD# man ipw | grep Belkin KV_BSD# set -o vi KV_BSD# man iwi | grep Belkin KV_BSD# man ral | grep Belkin Belkin F5D7000 v3 RT2560 PCI Belkin F5D7010 v2 RT2560 CardBus KV_BSD# man rum | grep Belkin Belkin F5D7050 ver 3 USB Belkin F5D9050 ver 3 USB KV_BSD# man ural | grep Belkin Belkin F5D7050 v2000 USB KV_BSD# man wi | grep Belkin Belkin F5D6000 (a rebadged WL11000P) KV_BSD# man zyd | grep Belkin Belkin F5D7050 v.4000 KV_BSD# and found some websites that made me compare a serial number that I correlated to some information on the Belkin website and came to the conclusion that my device is a newer version than appears in the above list because of this information: K7SF5D7050E corresponds to version 5xxx That serial number is written on the device. There were no unfamiliar results of ifconfig: KV_BSD# ifconfig bge0: flags=8843 metric 0 mtu 1500 options=9b ether 00:11:d8:22:c9:91 inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 media: Ethernet autoselect (100baseTX ) status: active fwe0: flags=8802 metric 0 mtu 1500 options=8 ether 02:e0:18:26:4c:e9 ch 1 dma -1 fwip0: flags=8802 metric 0 mtu 1500 lladdr 0.e0.18.0.3.26.4c.e9.a.2.ff.fe.0.0.0.0 plip0: flags=108810 metric 0 mtu 1500 lo0: flags=8049 metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 KV_BSD# I attempted to use the ndisgen utility with the driver disk mounted on "/mnt/drive" KV_BSD# pwd /mnt/drive KV_BSD# ls AUTORUN.INF Belkin.ico Installer.exe UserManual Acrobat Reader InstallationFiles Installer.ini KV_BSD# cd InstallationFiles KV_BSD# ls Belkin.bmp Setup.exe VistaX64 WinXP2K data1.hdr layout.bin ISSetup.dll Setup.ini VistaX86 _Setup.dll data2.cab SETUP.ISS Setup.inx WinX64 data1.cab ikernel.ex_ KV_BSD# ls WinXP2K BLKWGU.inf BLKWGU.sys blkwgu.cat twice, once using the BLKWGU.inf and BLKWGU.sys files from the WinXP2K directory and again adding the blkwgu.cat file using the menu that ndisgen gives, and both times it terminated with success: ================================================================== ------------------ Windows(r) driver converter ------------------- ================================================================== Kernel module generation The script will now try to generate the kernel driver module. This is the last step. Once this module is generated, you should be able to load it just like any other FreeBSD driver module. Press enter to compile the stub module and generate the driver module now: Generating Makefile... done. Building kernel module... done. Cleaning up... done. The file BLKWGU_sys.ko has been successfully generated. You can kldload this module to get started. Press return to exit. When I tried to use the kldload command in both cases, the system rebooted. I messed around with /boot/loader.conf, including many of the interfaces that were noted above "man if | grep Belkin," and right now this is what it looks like: KV_BSD# cat /boot/loader.conf hint.ichss.0.disabled="1" W32DRIVER_load="YES" wlan_load="YES" firmware_load="YES" if_zyd_load="YES" wlan_scan_ap_load="YES" wlan_scan_sta_load="YES" wlan_wep_load="YES" wlan_ccmp_load="YES" wlan_tkip_load="YES" I note that the device is showing up in dmesg KV_BSD# dmesg | grep Belkin ugen0: on uhub3 ugen0: on uhub3 ugen0: on uhub3 ugen0: on uhub3 KV_BSD# some other info.. KV_BSD# pciconf -lv hostb0@pci0:0:0:0: class=0x060000 card=0x186a1043 chip=0x33408086 rev=0x21 hdr=0x00 vendor = 'Intel Cor . . none1@pci0:0:31:6: class=0x070300 card=0x18261043 chip=0x24c68086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller' class = simple comms subclass = generic modem vgapci0@pci0:1:0:0: class=0x030000 card=0x17721043 chip=0x4e501002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'Mobility Radeon 9700 (M10 NP) (RV350)' class = display subclass = VGA bge0@pci0:2:0:0: class=0x020000 card=0x17351043 chip=0x169c14e4 rev=0x03 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5788 Broadcom NetLink (TM) Gigabit Ethernet' class = network subclass = ethernet cbb0@pci0:2:1:0: class=0x060700 card=0x18641043 chip=0x04761180 rev=0xac hdr=0x02 vendor = 'Ricoh Company, Ltd.' device = 'unknown Ricoh R/RL/5C476(II)' class = bridge subclass = PCI-CardBus cbb1@pci0:2:1:1: class=0x060700 card=0x18641043 chip=0x04761180 rev=0xac hdr=0x02 vendor = 'Ricoh Company, Ltd.' device = 'unknown Ricoh R/RL/5C476(II)' class = bridge subclass = PCI-CardBus fwohci0@pci0:2:1:2: class=0x0c0010 card=0x18671043 chip=0x05521180 rev=0x04 hdr=0x00 vendor = 'Ricoh Company, Ltd.' device = 'RL5c552 IEEE-1394 Controller' class = serial bus subclass = FireWire none2@pci0:2:2:0: class=0x028000 card=0x10008086 chip=0x42238086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = '2915ABG Intel (R) PRO/Wireless 2200BG Network Connection, (R) PRO/Wireless 2915ABG Network Connection' class = network KV_BSD# usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: low speed, power 100 mA, config 1, USB Optical Mouse(0xc019), Logitech(0x046d), rev 43.01 port 2 powered Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb3: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 addr 2: high speed, power 500 mA, config 1, Belkin Wireless G USB Adapter(0x705e), vendor 0x050d(0x050d), rev 2.00 port 3 powered port 4 powered port 5 powered port 6 powered KV_BSD# exit Thanks to anyone in advance who gives me the time of day. I looked at some of the archives and felt these two lists seemed appropriate. Forgive me if I misused the lists. *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------*