Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2008 12:35:23 +0100
From:      "Paul B. Mahol" <onemda@gmail.com>
To:        "Kayven Riese" <kayvey@gmail.com>
Cc:        freebsd-net@freebsd.org, freebsd-mobile@freebsd.org
Subject:   Re: driver support for Belkin F5D7050 v 5xxx ?
Message-ID:  <3a142e750811160335y6867d362k93a525774bc3667@mail.gmail.com>
In-Reply-To: <28b9b4180811160018q2823d7fap90b546ba444f191d@mail.gmail.com>
References:  <28b9b4180811160018q2823d7fap90b546ba444f191d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/16/08, Kayven Riese <kayvey@gmail.com> wrote:
> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>     options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
>     ether 00:11:d8:22:c9:91
>     inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
>     media: Ethernet autoselect (100baseTX <full-duplex>)
>     status: active
> fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>     options=8<VLAN_MTU>
>     ether 02:e0:18:26:4c:e9
>     ch 1 dma -1
> fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>     lladdr 0.e0.18.0.3.26.4c.e9.a.2.ff.fe.0.0.0.0
> plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> metric 0 mtu
> 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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"
>

Currently ndis on freebsd doesnt support usb cards at all.
There is patch available for CURRENT that is considered experimental and
make possible to use ndis on FreeBSD with usb cards.

> 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: <vendor 0x050d Belkin Wireless G USB Adapter, class 0/0, rev
> 2.00/2.00, addr 2> on uhub3
> ugen0: <vendor 0x050d Belkin Wireless G USB Adapter, class 0/0, rev
> 2.00/2.00, addr 2> on uhub3
> ugen0: <vendor 0x050d Belkin Wireless G USB Adapter, class 0/0, rev
> 2.00/2.00, addr 2> on uhub3
> ugen0: <vendor 0x050d Belkin Wireless G USB Adapter, class 0/0, rev
> 2.00/2.00, addr 2> 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
> *----------------------------------------------------------*
> _______________________________________________
> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750811160335y6867d362k93a525774bc3667>