Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2016 08:39:50 +0800
From:      Ang Iongchun <yongjhen@gmail.com>
To:        Sergey <freebsd-wireless@sm.msk.ru>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Wireless 3165, Intel Corporation
Message-ID:  <CAPmxYzSPvMk=z7Aj4sbSYiBBwTpn7gb_OmMKmm=W0axE04F_UA@mail.gmail.com>
In-Reply-To: <1317185710.20160623004836@sm.msk.ru>
References:  <20160622113238.GA502046@albireo.intra.vdsz.de> <1317185710.20160623004836@sm.msk.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Sergey,

Try also replace sys/contrib/dev/iwm and sys/dev/iwm from Emmanuel's branch=
.
If you can see the driver message from kernel log like this (my 3165):

iwm0: <Intel Dual Band Wireless AC 3165> mem 0xd5100000-0xd5101fff at
device 0.0 on pci2
iwm0: hw rev 0x210, fw ver 16.242414.0, address 08:d4:0c:xx:xx:xx

Then you can create the interface and scan:
ifconfig wlan0 create wlandev iwm0
ifconfig wlan0 up scan

More configuration can be found in Wireless Networking, FreeBSD Handbook.

Regards.


2016-06-23 5:48 GMT+08:00 Sergey <freebsd-wireless@sm.msk.ru>:
>
> Thank you a lot!
> However it does not seem to work.
>
> I have fetched the sources from https://github.com/evadot/freebsd/tree/iw=
m
> and replaced in my /usr/src both sys/modules/{iwm,iwmfw}
> Have re-built the kernel - and I still see no interface.
>
> Have I missed something?
>
> Here are lines from /var/log/messages
>
>
> Jun 23 00:16:52 vf kernel: FreeBSD 11.0-ALPHA4 #5: Wed Jun 22 16:31:47 MS=
K 2016
> Jun 23 00:16:52 vf kernel: root@vf:/usr/obj/usr/src/sys/vf amd64
> Jun 23 00:16:52 vf kernel: FreeBSD clang version 3.8.0 (tags/RELEASE_380/=
final 262564) (based on LLVM 3.8.0)
> Jun 23 00:16:52 vf kernel: WARNING: WITNESS option enabled, expect reduce=
d performance.
> Jun 23 00:16:52 vf kernel: can't re-use a leaf (ixl_rx_miss_bufs)!
> Jun 23 00:16:52 vf kernel: VT(vga): resolution 640x480
> Jun 23 00:16:52 vf kernel: module iwm3160fw_fw already present!
> Jun 23 00:16:52 vf kernel: module iwm7260fw_fw already present!
> Jun 23 00:16:52 vf kernel: module iwm7265fw_fw already present!
> Jun 23 00:16:52 vf kernel: module_register: cannot register pci/iwm from =
kernel; already loaded from if_iwm.ko
> Jun 23 00:16:52 vf kernel: Module pci/iwm failed to register: 17
> Jun 23 00:16:52 vf kernel: CPU: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz =
(2592.12-MHz K8-class CPU)
>
>
> vf# ifconfig -a
> re0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15=
00
>         options=3D8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM=
,WOL_MAGIC,LINKSTATE>
>         ether 70:5a:0f:1a:cb:b2
>         inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255
>         nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>         options=3D600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
>         inet 127.0.0.1 netmask 0xff000000
>         nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
>         groups: lo
> vf#
> vf# fgrep iwm /usr/src/sys/amd64/conf/vf
> device iwm
> device iwmfw
> vf# cat /boot/loader.conf
> id_ath_load=3D"YES"
> wlan_wep_load=3D"YES"
> wlan_ccmp_load=3D"YES"
> wlan_tkip_load=3D"YES"
> if_bwn_load=3D"YES"
>
> if_iwm_load=3D"YES"
> iwm3160fw_load=3D"YES"
> iwm7260fw_load=3D"YES"
> iwm7265fw_load=3D"YES"
> iwm8000C_load=3D"YES"
>
> vf#
> vf# cd /usr/src
> vf# svn diff
> Index: sys/conf/files
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- sys/conf/files      (revision 302085)
> +++ sys/conf/files      (working copy)
> @@ -1711,6 +1711,14 @@
>         compile-with    "${NORMAL_FW}"                                  \
>         no-obj no-implicit-rule                                         \
>         clean           "iwi_monitor.fw"
> +dev/iwa/if_iwm.c               optional iwa
> +dev/iwa/if_iwa_firmware.c              optional iwa
> +dev/iwa/if_iwa_fw_util.c               optional iwa
> +dev/iwa/if_iwa_nvm.c           optional iwa
> +dev/iwa/if_iwa_pci.c           optional iwa
> +dev/iwa/if_iwa_rx.c            optional iwa
> +dev/iwa/if_iwa_trans.c         optional iwa
> +dev/iwa/if_iwa.c               optional iwa
>  dev/iwm/if_iwm.c               optional iwm
>  dev/iwm/if_iwm_binding.c       optional iwm
>  dev/iwm/if_iwm_led.c           optional iwm
> Index: sys/modules/iwmfw/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- sys/modules/iwmfw/Makefile  (revision 302085)
> +++ sys/modules/iwmfw/Makefile  (working copy)
> @@ -1,5 +1,5 @@
>  # $FreeBSD$
>
> -SUBDIR=3D        iwm3160fw iwm7260fw iwm7265fw
> +SUBDIR=3D        iwm3160fw iwm7260fw iwm7265fw iwm8000Cfw
>
>  .include <bsd.subdir.mk>
> Index: sys/modules/iwmfw/iwm3160fw/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- sys/modules/iwmfw/iwm3160fw/Makefile        (revision 302085)
> +++ sys/modules/iwmfw/iwm3160fw/Makefile        (working copy)
> @@ -1,6 +1,6 @@
>  # $FreeBSD$
>
>  KMOD=3D  iwm3160fw
> -IMG=3D   iwm-3160-9
> +IMG=3D   iwm-3160-16
>
>  .include <bsd.kmod.mk>
> Index: sys/modules/iwmfw/iwm7260fw/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- sys/modules/iwmfw/iwm7260fw/Makefile        (revision 302085)
> +++ sys/modules/iwmfw/iwm7260fw/Makefile        (working copy)
> @@ -1,6 +1,6 @@
>  # $FreeBSD$
>
>  KMOD=3D  iwm7260fw
> -IMG=3D   iwm-7260-9
> +IMG=3D   iwm-7260-16
>
>  .include <bsd.kmod.mk>
> Index: sys/modules/iwmfw/iwm7265fw/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- sys/modules/iwmfw/iwm7265fw/Makefile        (revision 302085)
> +++ sys/modules/iwmfw/iwm7265fw/Makefile        (working copy)
> @@ -1,6 +1,6 @@
>  # $FreeBSD$
>
>  KMOD=3D  iwm7265fw
> -IMG=3D   iwm-7265-9
> +IMG=3D   iwm-7265-16
>
>  .include <bsd.kmod.mk>
>
>
>> Hi,
>
>> The Intel 3165 wireless chipset should work with Emmanuel Vadot's iwm
>> update/sync:
>>
>> https://lists.freebsd.org/pipermail/freebsd-wireless/2016-June/006805.ht=
ml
>
>> Regards,
>> Imre
>
>
>
> --
> =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC,
>  Sergey                          mailto:freebsd-wireless@sm.msk.ru
>
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or=
g"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPmxYzSPvMk=z7Aj4sbSYiBBwTpn7gb_OmMKmm=W0axE04F_UA>