Page 1 sur 1

[MT7630e] Carte wifi non visible (résolu)

Publié : lun. 30 mars 2015, 14:08
par seniorihor
Hello guys!
Sorry, I don't speak french unfortunately.

Basically I have the same problem.
I am using this package: aur/mt7630-pcie-wifi-dkms 20140625-3
to get working my wifi card.
I tried to use both linux kernel and linux-lts kernel with relevant linux-headers.
I also tried to not apply MT7630E-3.15.patch in pkgfile.
Installation and loading of modules goes without exceptions, but my wifi card isn't visible for any ifconfig nor network managers.
I'd appreciate any suggestions.

Code : Tout sélectionner

$ uname -r
3.14.37-1-lts

Code : Tout sélectionner

$ lspci | grep MEDIATEK
04:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter

Code : Tout sélectionner

$ lsmod
Module                  Size  Used by
vboxdrv               347523  2 
tun                    20705  2 
fuse                   79567  3 
xt_addrtype             2917  2 
xt_conntrack            3489  1 
ipt_MASQUERADE          2250  1 
iptable_nat             3454  1 
nf_conntrack_ipv4       9474  2 
nf_defrag_ipv4          1499  1 nf_conntrack_ipv4
nf_nat_ipv4             3728  1 iptable_nat
nf_nat                 13368  3 ipt_MASQUERADE,nf_nat_ipv4,iptable_nat
nf_conntrack           75391  6 ipt_MASQUERADE,nf_nat,nf_nat_ipv4,xt_conntrack,iptable_nat,nf_conntrack_ipv4
iptable_filter          1552  1 
ip_tables              18051  2 iptable_filter,iptable_nat
x_tables               17344  5 ip_tables,ipt_MASQUERADE,xt_conntrack,iptable_filter,xt_addrtype
bridge                 99683  0 
stp                     1653  1 bridge
llc                     3729  2 stp,bridge
cfg80211              448576  0 
snd_hda_codec_idt      46240  1 
snd_hda_codec_generic    54446  1 snd_hda_codec_idt
snd_hda_codec_hdmi     36891  1 
nls_iso8859_1           4485  1 
nls_cp437               6017  1 
vfat                   10567  1 
fat                    53560  1 vfat
joydev                 10431  0 
hp_wmi                  8203  0 
sparse_keymap           3242  1 hp_wmi
rfkill                 16099  3 cfg80211,hp_wmi
mousedev               10976  0 
iTCO_wdt                5471  0 
ppdev                   7278  0 
iTCO_vendor_support     1929  1 iTCO_wdt
coretemp                6550  0 
x86_pkg_temp_thermal     7311  0 
intel_powerclamp        9378  0 
kvm_intel             133671  0 
kvm                   418076  1 kvm_intel
crct10dif_pclmul        4650  0 
crc32_pclmul            2891  0 
ghash_clmulni_intel     4298  0 
aesni_intel           144231  0 
aes_x86_64              7463  1 aesni_intel
lrw                     3821  1 aesni_intel
gf128mul                6018  1 lrw
glue_helper             4545  1 aesni_intel
ablk_helper             2100  1 aesni_intel
cryptd                  8473  3 ghash_clmulni_intel,aesni_intel,ablk_helper
pcspkr                  2059  0 
psmouse                95520  0 
evdev                  11013  16 
mac_hid                 3273  0 
serio_raw               5137  0 
ext4                  505924  1 
crc16                   1359  1 ext4
mbcache                 6138  1 ext4
jbd2                   83927  1 ext4
uvcvideo               74556  0 
videobuf2_vmalloc       3368  1 uvcvideo
videobuf2_memops        2239  1 videobuf2_vmalloc
videobuf2_core         29191  1 uvcvideo
videodev              122627  2 uvcvideo,videobuf2_core
media                  12547  2 uvcvideo,videodev
rtsx_pci_ms             7578  0 
memstick                7600  1 rtsx_pci_ms
hid_generic             1217  0 
r8169                  59191  0 
snd_hda_intel          38856  7 
i915                  753379  7 
mii                     4251  1 r8169
parport_pc             19959  0 
parport                30837  2 ppdev,parport_pc
snd_hda_codec         101688  4 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel
tpm_tis                10047  0 
tpm                    23747  1 tpm_tis
intel_gtt              12856  1 i915
hp_accel               17160  0 
wmi                     8539  1 hp_wmi
mei_me                 10032  0 
led_class               3611  1 hp_accel
lis3lv02d              11955  1 hp_accel
mei                    65536  1 mei_me
input_polldev           2882  1 lis3lv02d
thermal                 8812  0 
battery                 7821  0 
hp_wireless             1835  0 
snd_hwdep               6332  1 snd_hda_codec
ac                      3420  0 
snd_pcm                82183  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
video                  12057  1 i915
button                  4765  1 i915
shpchp                 25706  0 
snd_timer              19038  1 snd_pcm
snd                    60454  21 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
lpc_ich                13560  0 
soundcore               5487  1 snd
processor              25217  0 
sch_fq_codel            7741  3 
btrfs                 862452  2 
xor                    11536  1 btrfs
raid6_pq               90630  1 btrfs
usbhid                 41402  0 
hid                    92246  2 hid_generic,usbhid
sd_mod                 37106  6 
sr_mod                 14962  0 
crc_t10dif              1135  1 sd_mod
cdrom                  35191  1 sr_mod
crct10dif_common        1436  2 crct10dif_pclmul,crc_t10dif
rtsx_pci_sdmmc         14199  0 
mmc_core              100354  1 rtsx_pci_sdmmc
atkbd                  17198  0 
libps2                  4571  2 atkbd,psmouse
ahci                   24747  5 
libahci                21708  1 ahci
ehci_pci                4216  0 
xhci_hcd              147400  0 
ehci_hcd               65387  1 ehci_pci
crc32c_intel           14153  1 
libata                174460  2 ahci,libahci
scsi_mod              137312  3 libata,sd_mod,sr_mod
rtsx_pci               33855  2 rtsx_pci_ms,rtsx_pci_sdmmc
usbcore               188392  5 uvcvideo,ehci_hcd,ehci_pci,usbhid,xhci_hcd
usb_common              1712  1 usbcore
i8042                  13794  1 libps2
serio                  11120  9 serio_raw,atkbd,i8042,psmouse
radeon               1343200  1 
hwmon                   3153  2 coretemp,radeon
i2c_algo_bit            5480  2 i915,radeon
drm_kms_helper         35784  2 i915,radeon
ttm                    75160  1 radeon
drm                   241787  9 ttm,i915,drm_kms_helper,radeon
i2c_core               25400  6 drm,i915,drm_kms_helper,i2c_algo_bit,radeon,videodev

Code : Tout sélectionner

$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether a0:1d:48:aa:87:f5 brd ff:ff:ff:ff:ff:ff
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default 
    link/ether 56:84:7a:fe:97:99 brd ff:ff:ff:ff:ff:ff
5: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1412 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 500
    link/none 

Code : Tout sélectionner

$ hwinfo --netcard
23: PCI 300.0: 0200 Ethernet controller                         
  [Created at pci.328]
  Unique ID: UOJ9.mhA25Z+MX99
  Parent ID: HnsE.xfVrZuh_vNF
  SysFS ID: /devices/pci0000:00/0000:00:1c.5/0000:03:00.0
  SysFS BusID: 0000:03:00.0
  Hardware Class: network
  Model: "Realtek RTL8111/8168 PCI Express Gigabit Ethernet controller"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8168 "RTL8111/8168 PCI Express Gigabit Ethernet controller"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x1944 
  Revision: 0x0c
  Driver: "r8169"
  Driver Modules: "r8169"
  Device File: enp3s0
  I/O Ports: 0x3000-0x3fff (rw)
  Memory Range: 0xb0700000-0xb0700fff (rw,non-prefetchable)
  Memory Range: 0xb0400000-0xb0403fff (ro,non-prefetchable)
  IRQ: 51 (147135 events)
  HW Address: a0:1d:48:aa:87:f5
  Link detected: yes
  Module Alias: "pci:v000010ECd00008168sv0000103Csd00001944bc02sc00i00"
  Driver Info #0:
    Driver Status: r8169 is active
    Driver Activation Cmd: "modprobe r8169"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #16 (PCI bridge)

24: PCI 400.0: 0280 Network controller
  [Created at pci.328]
  Unique ID: YmUS.SBSEe3YU5+1
  Parent ID: 96M4.zUOLX1xOz80
  SysFS ID: /devices/pci0000:00/0000:00:1c.6/0000:04:00.0
  SysFS BusID: 0000:04:00.0
  Hardware Class: network
  Device Name: "WLAN"
  Model: "MEDIATEK Network controller"
  Vendor: pci 0x14c3 "MEDIATEK Corp."
  Device: pci 0x7630 
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x197c 
  Memory Range: 0xb0600000-0xb06fffff (rw,non-prefetchable,disabled)
  IRQ: 255 (no events)
  Module Alias: "pci:v000014C3d00007630sv0000103Csd0000197Cbc02sc80i00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #17 (PCI bridge)

Code : Tout sélectionner

$ dkms status
mt7630-pcie-wifi, 20140625, 3.19.2-1-ARCH, x86_64: installed

Re: [MT7630e] Carte wifi non visible

Publié : lun. 30 mars 2015, 14:55
par benjarobin
Hi,
You forget to load the network card module :

Code : Tout sélectionner

modprobe rt2800pci

Re: [MT7630e] Carte wifi non visible

Publié : lun. 30 mars 2015, 15:15
par seniorihor
I tried load this one module and then all those:

Code : Tout sélectionner

sudo modprobe eeprom eeprom_93cx6 crc-ccitt cfg80211 mac80211 rt2x00lib rt2x00pci rt2x00mmio rt2800lib rt2800pci
...but it's still just the same.

PS: command rfkill list returns nothing.

Re: [MT7630e] Carte wifi non visible

Publié : lun. 30 mars 2015, 15:24
par benjarobin
The command that you provided is invalid. It's only load eeprom module with invalid parameters.
Just after reboot, what is the output of lsmod and dmesg after loading rt2800pci ? Please use pastebin for the output of dmesg

Re: [MT7630e] Carte wifi non visible

Publié : lun. 30 mars 2015, 15:41
par seniorihor

Code : Tout sélectionner

$ lsmod
Module                  Size  Used by
rt2800pci               5785  0 
rt2800mmio              7334  1 rt2800pci
rt2800lib              76739  2 rt2800pci,rt2800mmio
rt2x00pci               2624  1 rt2800pci
rt2x00mmio              2961  2 rt2800pci,rt2800mmio
rt2x00lib              38919  5 rt2x00pci,rt2800lib,rt2800pci,rt2800mmio,rt2x00mmio
mac80211              498124  3 rt2x00lib,rt2x00pci,rt2800lib
eeprom_93cx6            2217  1 rt2800pci
crc_ccitt               1363  1 rt2800lib
fuse                   79567  3 
xt_addrtype             2917  2 
xt_conntrack            3489  1 
ipt_MASQUERADE          2250  1 
iptable_nat             3454  1 
nf_conntrack_ipv4       9474  2 
nf_defrag_ipv4          1499  1 nf_conntrack_ipv4
nf_nat_ipv4             3728  1 iptable_nat
nf_nat                 13368  3 ipt_MASQUERADE,nf_nat_ipv4,iptable_nat
nf_conntrack           75391  6 ipt_MASQUERADE,nf_nat,nf_nat_ipv4,xt_conntrack,iptable_nat,nf_conntrack_ipv4
iptable_filter          1552  1 
ip_tables              18051  2 iptable_filter,iptable_nat
x_tables               17344  5 ip_tables,ipt_MASQUERADE,xt_conntrack,iptable_filter,xt_addrtype
bridge                 99683  0 
stp                     1653  1 bridge
llc                     3729  2 stp,bridge
cfg80211              448576  2 mac80211,rt2x00lib
snd_hda_codec_idt      46240  1 
snd_hda_codec_hdmi     36891  1 
snd_hda_codec_generic    54446  1 snd_hda_codec_idt
nls_iso8859_1           4485  1 
nls_cp437               6017  1 
vfat                   10567  1 
fat                    53560  1 vfat
ext4                  505924  1 
crc16                   1359  1 ext4
mbcache                 6138  1 ext4
jbd2                   83927  1 ext4
coretemp                6550  0 
x86_pkg_temp_thermal     7311  0 
intel_powerclamp        9378  0 
kvm_intel             133671  0 
joydev                 10431  0 
mousedev               10976  0 
ppdev                   7278  0 
hp_wmi                  8203  0 
iTCO_wdt                5471  0 
kvm                   418076  1 kvm_intel
sparse_keymap           3242  1 hp_wmi
rfkill                 16099  3 cfg80211,hp_wmi
iTCO_vendor_support     1929  1 iTCO_wdt
crct10dif_pclmul        4650  0 
crc32_pclmul            2891  0 
ghash_clmulni_intel     4298  0 
aesni_intel           144231  0 
aes_x86_64              7463  1 aesni_intel
lrw                     3821  1 aesni_intel
gf128mul                6018  1 lrw
glue_helper             4545  1 aesni_intel
ablk_helper             2100  1 aesni_intel
cryptd                  8473  3 ghash_clmulni_intel,aesni_intel,ablk_helper
pcspkr                  2059  0 
evdev                  11013  16 
mac_hid                 3273  0 
psmouse                95520  0 
serio_raw               5137  0 
rtsx_pci_ms             7578  0 
memstick                7600  1 rtsx_pci_ms
uvcvideo               74556  0 
videobuf2_vmalloc       3368  1 uvcvideo
videobuf2_memops        2239  1 videobuf2_vmalloc
videobuf2_core         29191  1 uvcvideo
videodev              122627  2 uvcvideo,videobuf2_core
media                  12547  2 uvcvideo,videodev
r8169                  59191  0 
mii                     4251  1 r8169
hid_generic             1217  0 
snd_hda_intel          38856  5 
i915                  753379  6 
snd_hda_codec         101688  4 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel
parport_pc             19959  0 
parport                30837  2 ppdev,parport_pc
tpm_tis                10047  0 
intel_gtt              12856  1 i915
wmi                     8539  1 hp_wmi
hp_accel               17160  0 
tpm                    23747  1 tpm_tis
thermal                 8812  0 
mei_me                 10032  0 
battery                 7821  0 
mei                    65536  1 mei_me
led_class               3611  2 rt2x00lib,hp_accel
lis3lv02d              11955  1 hp_accel
snd_hwdep               6332  1 snd_hda_codec
snd_pcm                82183  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_timer              19038  1 snd_pcm
video                  12057  1 i915
snd                    60454  18 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
lpc_ich                13560  0 
input_polldev           2882  1 lis3lv02d
hp_wireless             1835  0 
ac                      3420  0 
button                  4765  1 i915
soundcore               5487  1 snd
shpchp                 25706  0 
processor              25217  0 
sch_fq_codel            7741  2 
btrfs                 862452  2 
xor                    11536  1 btrfs
raid6_pq               90630  1 btrfs
usbhid                 41402  0 
hid                    92246  2 hid_generic,usbhid
sd_mod                 37106  6 
sr_mod                 14962  0 
crc_t10dif              1135  1 sd_mod
cdrom                  35191  1 sr_mod
crct10dif_common        1436  2 crct10dif_pclmul,crc_t10dif
rtsx_pci_sdmmc         14199  0 
mmc_core              100354  1 rtsx_pci_sdmmc
atkbd                  17198  0 
libps2                  4571  2 atkbd,psmouse
ahci                   24747  5 
libahci                21708  1 ahci
crc32c_intel           14153  1 
libata                174460  2 ahci,libahci
scsi_mod              137312  3 libata,sd_mod,sr_mod
rtsx_pci               33855  2 rtsx_pci_ms,rtsx_pci_sdmmc
ehci_pci                4216  0 
ehci_hcd               65387  1 ehci_pci
xhci_hcd              147400  0 
usbcore               188392  5 uvcvideo,ehci_hcd,ehci_pci,usbhid,xhci_hcd
usb_common              1712  1 usbcore
i8042                  13794  1 libps2
serio                  11120  9 serio_raw,atkbd,i8042,psmouse
radeon               1343200  1 
hwmon                   3153  2 coretemp,radeon
i2c_algo_bit            5480  2 i915,radeon
drm_kms_helper         35784  2 i915,radeon
ttm                    75160  1 radeon
drm                   241787  8 ttm,i915,drm_kms_helper,radeon
i2c_core               25400  6 drm,i915,drm_kms_helper,i2c_algo_bit,radeon,videodev
dmesg

Re: [MT7630e] Carte wifi non visible

Publié : lun. 30 mars 2015, 17:06
par benjarobin
And after this, the following command doesn't show a new interface ? ip link show

Re: [MT7630e] Carte wifi non visible

Publié : lun. 30 mars 2015, 17:17
par seniorihor
No, there is no wireless interface:

Code : Tout sélectionner

$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether a0:1d:48:aa:87:f5 brd ff:ff:ff:ff:ff:ff
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default 
    link/ether 56:84:7a:fe:97:99 brd ff:ff:ff:ff:ff:ff
4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1412 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 500
    link/none
PS: the same outcome with commented patch:

Code : Tout sélectionner

PKGBUILD
#patch -p1 -i "$srcdir/MT7630E-3.15.patch"

Re: [MT7630e] Carte wifi non visible

Publié : lun. 30 mars 2015, 18:42
par seniorihor
Currently I can just assume the problem is in the specific version of linux kernel.
However those versions don't work for me:
core/linux-lts 3.14.37-1
core/linux 3.19.2-1

If it's so, what particular version should I try to finally reject my doubts?

Re: [MT7630e] Carte wifi non visible

Publié : lun. 30 mars 2015, 19:03
par benjarobin
The module should work for both versions. It's working for at least one French user...
And since I do not have this Wifi card, I cannot do any test.

Edit : I just noticed that these modules are already provided by the linux package.
Now I am wondering why it was not initially working for the French user
And the AUR package should not be necessary !

Edit2 : I did compare the 2 sources (from linux and from mediatek), the result is that only the source from mediatek support your device...

You can try this :

Code : Tout sélectionner

rm -R /usr/lib/modules/*/kernel/drivers/net/wireless/rt2x00/
depmod -a
reboot

Re: [MT7630e] Carte wifi non visible

Publié : lun. 30 mars 2015, 21:42
par seniorihor
You are my savior!
After last commands everything just works well :D
Thank you so much! Solved.

Re: [MT7630e] Carte wifi non visible (résolu)

Publié : lun. 30 mars 2015, 22:42
par benjarobin
I did update the package to automate these actions after each kernel update.