Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to check that my WWAN M.2 module is working.

33 views
Skip to first unread message

Ankit Burman

unread,
Dec 7, 2022, 2:05:54 AM12/7/22
to
Hi I tried interfacing my M.2 WWAN module but it is not detecting in my Linux OS. how do we verify whether it is present or not ?

Marco Moock

unread,
Dec 7, 2022, 2:21:01 AM12/7/22
to
Am 06.12.2022 um 23:05:52 Uhr schrieb Ankit Burman:

> Hi I tried interfacing my M.2 WWAN module but it is not detecting in
> my Linux OS. how do we verify whether it is present or not ?

Use lsusb and lspci.

Carlos E.R.

unread,
Dec 7, 2022, 8:09:14 AM12/7/22
to
lsusb for an M.2 module will do nothing. And lspci I suspect will do
nothing either, it is not the PCI bus.

I tried on a computer here, and the m.2 disk is not detected that way.

Best hope is google: "how detect M.2 modules in Linux?"



--
Cheers, Carlos.

Marco Moock

unread,
Dec 7, 2022, 8:26:37 AM12/7/22
to
Am 07.12.2022 um 14:04:59 Uhr schrieb Carlos E.R.:

> On 2022-12-07 08:20, Marco Moock wrote:
> > Am 06.12.2022 um 23:05:52 Uhr schrieb Ankit Burman:
> >
> >> Hi I tried interfacing my M.2 WWAN module but it is not detecting
> >> in my Linux OS. how do we verify whether it is present or not ?
> >
> > Use lsusb and lspci.
> >
>
> lsusb for an M.2 module will do nothing. And lspci I suspect will do
> nothing either, it is not the PCI bus.

It depends on the device. M.2 can provide PCIe (lspci detects also
PCIe and AGP), SATA or USB.

https://en.wikipedia.org/wiki/M.2

Theo

unread,
Dec 7, 2022, 9:41:48 AM12/7/22
to
Carlos E.R. <robin_...@es.invalid> wrote:
> On 2022-12-07 08:20, Marco Moock wrote:
> > Am 06.12.2022 um 23:05:52 Uhr schrieb Ankit Burman:
> >
> >> Hi I tried interfacing my M.2 WWAN module but it is not detecting in
> >> my Linux OS. how do we verify whether it is present or not ?
> >
> > Use lsusb and lspci.
> >
>
> lsusb for an M.2 module will do nothing. And lspci I suspect will do
> nothing either, it is not the PCI bus.

I would expect the majority of WWAN modules are USB, even in M.2 form
factor. lsusb should show it.

> I tried on a computer here, and the m.2 disk is not detected that way.

M.2 storage can be either PCIe (would show in lspci as an NVMe device) or
SATA (would not, but would show at boot in dmesg).

Theo

David W. Hodgins

unread,
Dec 7, 2022, 2:03:36 PM12/7/22
to
On Wed, 07 Dec 2022 02:05:52 -0500, Ankit Burman <ankitbu...@gmail.com> wrote:

> Hi I tried interfacing my M.2 WWAN module but it is not detecting in my Linux OS. how do we verify whether it is present or not ?

I've never used one. A quick search leads to
https://www.kernel.org/doc/html/latest/networking/device_drivers/wwan/index.html

Figure out which kernel module is needed and try loading it with modprobe.
See if that shows anything in the journal.

Regards, Dave Hodgins

Marco Moock

unread,
Dec 8, 2022, 3:44:28 AM12/8/22
to
Am 14.06.2006 schrieb Theo <theom...@chiark.greenend.org.uk>:

> I would expect the majority of WWAN modules are USB, even in M.2 form
> factor. lsusb should show it.

True, my module is USB and can be detected by lsusb.

root

unread,
Dec 10, 2022, 12:54:40 AM12/10/22
to
Ankit Burman <ankitbu...@gmail.com> wrote:
> Hi I tried interfacing my M.2 WWAN module but it is not detecting in my Linux OS. how do we verify whether it is present or not ?

fdisk and lspci both show my m2 ssd. It comes up as /dev/nvme0n1

David W. Hodgins

unread,
Dec 10, 2022, 2:06:22 AM12/10/22
to
The WWAN module is for a wireless wide area network device, not a storage device.

WWAN is similar to a wireless internet device but instead of connecting to a
router it connects to a cellular network like cell phones do.

Regards, Dave Hodgins

Marco Moock

unread,
Dec 10, 2022, 4:17:49 AM12/10/22
to
Am 10.12.2022 um 02:06:14 Uhr schrieb David W. Hodgins:

> On Sat, 10 Dec 2022 00:54:38 -0500, root <NoE...@home.org> wrote:
>
> > Ankit Burman <ankitbu...@gmail.com> wrote:
> >> Hi I tried interfacing my M.2 WWAN module but it is not detecting
> >> in my Linux OS. how do we verify whether it is present or not ?
> >
> > fdisk and lspci both show my m2 ssd. It comes up as /dev/nvme0n1
>
> The WWAN module is for a wireless wide area network device, not a
> storage device.

True, and therefore it can't use SATA via M.2, but it can use PCIe or
USB.

Henrik Carlqvist

unread,
Dec 10, 2022, 5:43:40 AM12/10/22
to
Also, to be usable, it will not only require support in the kernel, but
also configuration frome userspace applications where you might need to
set things like network operator and access point names. Example of some
WWAN documentation:

https://www.kernel.org/doc/html/latest/networking/device_drivers/wwan/
t7xx.html

regards Henrik
0 new messages