I need some help...

Dear everyone!

I have an ASUS X554 LJ laptop with a Mediatek Wifi card which is didn’t want to work under **Open Suse Leap 15. **
There is a message in the settings: “No wifi adapter found” so I cant start the wifi.
But the network via Ethernet cabel works. The system see the card, just can’t use it.

This is the adapter:03:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter

I already installed this driver: *https://software.opensuse.org/package/mt7630e ,but didn’t work.I also checked this: https://github.com/neurobin/MT7630E but i cant install it because this driver is for debian based linux.

*I checked lot of forums but still didn’t work.

Please somebody help me!

Hi, welcome

If I understand your post correctly, the system does see the card. Please show that by


sudo lspci

Please also show the output of


ip addr

Copy/paste and post the results here, between CODE tags ( the # in the editor layout buttons )

Thank you for fast reply!

lspci:

#spci
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:04.0 Signal processing controller: Intel Corporation Broadwell-U Processor Thermal Subsystem (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation Wildcat Point-LP Thermal Management Controller (rev 03)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
03:00.0 Network controller: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter
04:00.0 3D controller: NVIDIA Corporation GK208BM [GeForce 920M] (rev a1)

**ip a:

**

ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 30:5a:3a:b2:28:2a brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.15/24 brd 192.168.1.255 scope global noprefixroute dynamic eth0
       valid_lft 85788sec preferred_lft 85788sec
    inet6 2001:4c4e:20c7:1ff7:8467:865:7d85:aac2/64 scope global temporary dynamic 
       valid_lft 604188sec preferred_lft 85337sec
    inet6 2001:4c4e:20c7:1ff7:1f36:63b3:7f28:897f/64 scope global mngtmpaddr noprefixroute dynamic 
       valid_lft 604780sec preferred_lft 86380sec
    inet6 fe80::a6d5:840c:81a2:137f/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

There is some more info:

rpm -qa “mt76”:

rpm -qa "*mt76*"
mt7630e-2.0.8-lp150.2.43.x86_64
mt7630e-firmware-2.3.7-lp150.1.1.noarch
mt7630e-kmp-default-2.0.8_k4.12.14_lp150.12.25-lp150.2.43.x86_64
kadam@linux-wp5a:~> uname -a

**uname -a:
**

uname -a
Linux linux-wp5a 4.12.14-lp150.12.25-default #1 SMP Thu Nov 1 06:14:23 UTC 2018 (3fcf457) x86_64 x86_64 x86_64 GNU/Linux

Thank you for your help :slight_smile:

And what does


lsmod | grep mt76

say?

And, did you reboot after installing the mt* packages?

lsmod | grep mt76:

lsmod | grep mt76
mt7630e               200704  0
eeprom_93cx6           16384  1 mt7630e
mac80211              888832  1 mt7630e
cfg80211              696320  2 mac80211,mt7630e

Yes, it has been rebooted.

And


dmesg | grep mt7
dmesg | grep firmwa
rfkill list

Results:

dmesg | grep mt7
    2.524355] mt7630e: loading out-of-tree module taints kernel.
    2.529804] Modules linked in: mt7630e(O+) eeprom_93cx6 mac80211 nouveau(+) mxm_wmi cfg80211 xhci_pci(+) ttm rfkill serio_raw crc32c_intel wmi i915(+) ahci xhci_hcd libahci video i2c_algo_bit usbcore drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops button drm drm_panel_orientation_quirks sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua
    2.529895]  rt2x00lib_probe_hw+0x309/0x4b0 [mt7630e]
    2.529901]  rt2x00lib_probe_dev+0x2d6/0x340 [mt7630e]
    2.529906]  rt2x00pci_probe+0x1a4/0x380 [mt7630e]
    2.530093] mt7630e: probe of 0000:03:00.0 failed with error -22
dmesg | grep firmwa
    0.040439] Spectre V2 : Enabling Restricted Speculation for firmware calls
    2.589505] psmouse serio4: elantech: assuming hardware version 4 (with firmware version 0x381f00)

And nothing results for rfkill list nor for rfkill list all…

Hi
Can you post a little more verbose output from the lspci command;


/sbin/lspci -nnk | grep Network

Yes, here is the result:

/sbin/lspci -nnk | grep Network
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter [14c3:7630]


Hi
Oops, my bad, forgot a -A3, can you post info again please with the following command;


/sbin/lspci -nnk | grep -A3 Network

Sorry I didn’t see your reply… :frowning:

Here is it:

/sbin/lspci -nnk | grep -A3 Network
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter [14c3:7630]
    Subsystem: Foxconn International, Inc. Device [105b:e084]
04:00.0 3D controller [0302]: NVIDIA Corporation GK208BM [GeForce 920M] [10de:1299] (rev a1)
    Subsystem: ASUSTeK Computer Inc. Device [1043:1a6d]

Hi
So it would appear it’s not using the driver since it should have a third line showing the kernel driver in use, eg;


03:00.0 Network controller [0280]: Intel Corporation Wireless 3165 [8086:3165] (rev 81)
    DeviceName: Intel WLAN 3165NGWG Stone Peak 1 ac 1x1 + BT 4 LE PCIe+USB+NGFF_2230 WW
    Subsystem: Intel Corporation Dual Band Wireless AC 3165 [8086:4010]
    Kernel driver in use: iwlwifi

Also the module in your dmesg output shows errors, which I guess is lack of firmware…

Which repo did you install from?

I installed my suse from here: https://software.opensuse.org/distributions/leap

And the drivers from here: https://software.opensuse.org/package/mt7630e

But yes, seems didn’t work…
Do you have idea which can be resolve this?

Hi
So can you provide the output from;


zypper se -i mt7630
zypper if mt7630e-kmp-default

zypper se -i mt7630
Loading repository data...
Reading installed packages...

S  | Name                | Summary                                     | Type   
---+---------------------+---------------------------------------------+--------
i+ | mt7630e             | Kernel driver for MediaTek (Ralink) 7630e-> | package
i+ | mt7630e-kmp-default | Kernel driver for MediaTek (Ralink) 7630e-> | package
zypper if mt7630e-kmp-default
Loading repository data...
Reading installed packages...


Information for package mt7630e-kmp-default:
--------------------------------------------
Repository     : @System                                            
Name           : mt7630e-kmp-default                                
Version        : 2.0.8_k4.12.14_lp150.12.25-lp150.2.43              
Arch           : x86_64                                             
Vendor         : obs://build.opensuse.org/hardware                  
Installed Size : 7.4 MiB                                            
Installed      : Yes                                                
Status         : up-to-date                                         
Source package : mt7630e-2.0.8-lp150.2.43.src                       
Summary        : Kernel driver for MediaTek (Ralink) 7630e wifi card
Description    :                                                    
    Kernel driver for MediaTek (Ralink) 7630 wifi card.

    The sources were obtained from https://github.com/neurobin/MT7630E, which
    adapted the official driver
    released by Mediatek as "Mediatek MT7630E Combo Linux Driver"


One of these need to be work but nothing happening… :frowning:

There I find some others: https://software.opensuse.org/search?utf8=✓&q=mt7630

Maybe one of these is usable?

On ubunt that was the driver what resolved my problem: https://github.com/neurobin/MT7630E
But i cant install it under suse…

Hi
Can you uninstall both of those, and install these ones I just rebuilt for the updated kernel;


zypper in https://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Leap_15.0_Update/x86_64/mt7630e-2.0.8-lp150.3.1.x86_64.rpm
zypper in https://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Leap_15.0_Update/x86_64/mt7630e-kmp-default-2.0.8_k4.12.14_lp150.12.25-lp150.3.1.x86_64.rpm

Unless you add the repository, just ignore the key error…

See how that goes with the lspci command I asked you to run before, hopefully will show the module in use…

Not working :frowning:

/sbin/lspci -nnk | grep -A3 Network
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter [14c3:7630]
    Subsystem: Foxconn International, Inc. Device [105b:e084]
    Kernel modules: mt7630e
04:00.0 3D controller [0302]: NVIDIA Corporation GK208BM [GeForce 920M] [10de:1299] (rev a1)