Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MT7921K not detected #44

Closed
gcastle2007 opened this issue Jul 12, 2023 · 22 comments
Closed

MT7921K not detected #44

gcastle2007 opened this issue Jul 12, 2023 · 22 comments

Comments

@gcastle2007
Copy link

Hello,

I assembled Wlan PI M4 with Mediatek MT7921K. I have message "NO WI-FI ADAPTER" on display.
I use image image_v3.1.3-2023-07-11-wlanpi-os.zip

Please fix it.

Deafult login/password wlanpi/wlanpi don't work.

@jiribrejcha
Copy link
Member

I've just tested M4 with the 3.1.3 image and everything is working fine. So it shouldn't be a systemic issue.

Default credentials are working fine too. Have you SSH'd in? Did you get the prompt to change default password to your own?

image

@jiribrejcha
Copy link
Member

Did Mediatek MT7921K work fine for you on the 3.1.2 image?

@gcastle2007
Copy link
Author

No, MR7921K don't work on 3.1.2 also.
login/password wlanpi/wlanpi also don't work on image image_v3.1.2-2023-02-04-wlanpi-os.zip
I made fresh flash card over Balena Ether and login over ssh over ethernet on first boot.

@jiribrejcha
Copy link
Member

Are you specifying the username in your ssh command?

ssh wlanpi@192.168.2.14

(replace the IP address with your WLAN Pi’s)

@gcastle2007
Copy link
Author

I use putty. I reading guide https://userguide.wlanpi.com/wlan-pi-os/faq/default-password

Varian 1:

login as: wlanpi
wlanpi@192.168.1.41's password:
Access denied
wlanpi@192.168.1.41's password:
Access denied
wlanpi@192.168.1.41's password:

Variant 2:

login as: wlanpi@192.168.1.41
wlanpi@192.168.1.41@192.168.1.41's password:
Access denied
wlanpi@192.168.1.41@192.168.1.41's password:
Access denied

password: wlanpi , not caps lock

@gcastle2007
Copy link
Author

I also change hash in /etc/shadow to hash what i know password. But I message "access denied" in putty and "permission denied" in ubuntu.

@jolla
Copy link
Member

jolla commented Jul 12, 2023 via email

@gcastle2007
Copy link
Author

Yes, absolulty. I have in network 3 devices - notebook, access point with dhcp server and device wlan pi m4.

I have write video. You can watch. What I make not correctly?

https://youtu.be/VaPy6pb0MBs

@nimbo78
Copy link

nimbo78 commented Jul 19, 2023

back to topic:
image 3.1.2

root@wlanpi-365:/home/wlanpi# lspci
root@wlanpi-365:/home/wlanpi# lsusb
Bus 001 Device 003: ID 0e8d:0608 MediaTek Inc. Wireless_Device
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@wlanpi-365:/home/wlanpi# nmcli --get-values GENERAL.DEVICE,GENERAL.TYPE device show
pan0
bridge

eth0
ethernet

lo
loopback

adapter photo
obviously the card is inserted, but is not recognized as a pci wi-fi adapter

@nimbo78
Copy link

nimbo78 commented Jul 28, 2023

@jiribrejcha on a fresh 3.1.3 image - same problem. any suggestions how to fix mt7921k on wlanpi m4?

@jolla
Copy link
Member

jolla commented Jul 28, 2023

Please provide the output of dmesg | grep pcie

You should see something like this

wlanpi@wlanpi-b14:~ $ dmesg | grep pcie
[ 8.947114] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /scb/pcie@7d500000/status
[ 8.947728] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 8.947752] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 8.947793] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[ 8.947832] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x007fffffff -> 0x0000000000
[ 8.952717] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 8.956995] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator
[ 8.958196] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator
[ 8.958275] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator
[ 8.989004] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)

@jiribrejcha
Copy link
Member

I use putty. I reading guide https://userguide.wlanpi.com/wlan-pi-os/faq/default-password

Varian 1:

login as: wlanpi wlanpi@192.168.1.41's password: Access denied wlanpi@192.168.1.41's password: Access denied wlanpi@192.168.1.41's password:

Variant 2:

login as: wlanpi@192.168.1.41 wlanpi@192.168.1.41@192.168.1.41's password: Access denied wlanpi@192.168.1.41@192.168.1.41's password: Access denied

password: wlanpi , not caps lock

@gcastle2007, can you please try to use a different SSH client? It sounds like it might perhaps some settings in Putty.

@gcastle2007
Copy link
Author

@jiribrejcha , I used device of @nimbo78. I didn't know cm4 had emmc on board :)

@nimbo78
Copy link

nimbo78 commented Jul 28, 2023

@jolla

root@wlanpi-365:/home/wlanpi#  dmesg | grep pcie
[    8.897844] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /scb/pcie@7d500000/status
[    8.902902] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    8.902936] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    8.902976] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    8.903021] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x007fffffff -> 0x0000000000
[    8.907122] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    8.909242] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator
[    8.909355] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator
[    8.909406] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator
[    9.238486] brcm-pcie fd500000.pcie: link down

@jolla
Copy link
Member

jolla commented Jul 29, 2023

Based on this message, it looks like either you have a bad MT7921K or MCUzone board.

[ 9.238486] brcm-pcie fd500000.pcie: link down

Do you have a different m.2 Wi-Fi module your can try in the m.2 slot?
Also, I would recommend picking up the newer mt7922 Wi-Fi module, it supports 160MHz channels and so far has proved to be more stable than the 7921K has been.

@nimbo78
Copy link

nimbo78 commented Jul 29, 2023

@jolla some intel ax200\ax210 is ok for test purpose?

@jolla
Copy link
Member

jolla commented Jul 29, 2023 via email

@nimbo78
Copy link

nimbo78 commented Aug 6, 2023

seems like intel ax210 doesn't work too

root@wlanpi-365:/home/wlanpi# dmesg | grep pcie
[    8.569441] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /scb/pcie@7d500000/status
[    8.570122] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    8.570150] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    8.570191] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    8.570229] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x007fffffff -> 0x0000000000
[    8.577329] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    8.600063] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator
[    8.600187] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator
[    8.600242] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator
[    8.927158] brcm-pcie fd500000.pcie: link down

@jolla
Copy link
Member

jolla commented Aug 7, 2023

Yes, unfortunately it looks like the issue is a hardware issue with the MCUzone board. Perhaps a pin is bent or damaged on the m.2 socket. You'll likely need to get a replacement MCUzone board.

@josuhr
Copy link

josuhr commented Aug 11, 2023

Hey folks - having a similar issue here with a Comfast CF-953AX / MT7921au - seeing the "No Wi-Fi Adapter" message, but in my case the pcie link is up and I see the adapter in the list of USB devices as "MediaTek Inc. Wireless_Device". Any thoughts?

I feel like I might be missing something obvious from Adrian G's killer guide.

wlanpi@wlanpi-64a:~ $ dmesg | grep pcie
[    1.348892] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    1.348959] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    1.349066] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    1.349166] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00bfffffff -> 0x0400000000
[    1.350146] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    1.354536] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator
[    1.354801] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator
[    1.354949] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator
[    1.404846] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[   18.533100] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /scb/pcie@7d500000/status

@jolla
Copy link
Member

jolla commented Aug 11, 2023

Since your issue is with USB Wi-Fi modules this would be a separate issue, I've created a separate issue to track it

@nimbo78
Copy link

nimbo78 commented Aug 17, 2023

well, that was HW issue :)
The damper between the CM4 and the expansion card is too thick and the contact between the CM4 and the expansion card was lost in several places. So I just threw away the damper rings and it works like a charm.
Sorry to bother you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants