Re: Support for the Linux WWAN subsystem

2021-10-08 Thread Aleksander Morgado
Hey, > > I just noticed that the wwan ports are listed as virtual too. > > ModemManager[15163]: [1633636532.558601] [base-manager] adding port > wwan0 at sysfs path: /sys/devices/virtual/wwan_hwsim/hwsim0/wwan0/net/wwan0 > ModemManager[15163]: [1633636532.558641] [filter] (net/wwan0) port > fi

Re: Support for the Linux WWAN subsystem

2021-10-08 Thread Ramon Fontes
Hi Aleksander, I just noticed that the wwan ports are listed as virtual too. ModemManager[15163]: [1633636532.558601] [base-manager] adding port wwan0 at sysfs path: /sys/devices/virtual/wwan_hwsim/hwsim0/wwan0/net/wwan0 ModemManager[15163]: [1633636532.558641] [filter] (net/wwan0) port filtere

Re: Support for the Linux WWAN subsystem

2021-08-30 Thread Ramon Fontes
Hello Aleksander, Thank you for your reply. :) > Those "wwan0" and "wwan1" are the "full devices", they're not the NET > ports, as far as I know (may be mistaken though). Do you see any NET > port listed in "ip link"? Yes, please see them just below: 1: lo: mtu 65536 qdisc noqueue state UNKNOW

Re: Support for the Linux WWAN subsystem

2021-08-30 Thread Aleksander Morgado
Hey Ramon, > > Also, which ports are exposed in the system? Just the wwan control > > port, or do you also have a NET port as well for the same fake device? > > MM requires both things. > > As far as I understood I have the NET port. > > $ sudo modprobe wwan_hwsim > $ ls /sys/class/wwan/ > $ wwan0

Re: Support for the Linux WWAN subsystem

2021-08-30 Thread Ramon Fontes
> What MM version is that? I have ModemManager 1.17.2 and kernel 5.14.0-051400rc5-generic #202108081730. ModemManager -V ModemManager 1.17.2 Copyright (C) 2008-2021 The ModemManager authors License GPLv2+: GNU GPL version 2 or later This is free software: yo

Re: Support for the Linux WWAN subsystem

2021-08-30 Thread Aleksander Morgado
> > Is that wwan_hwsim integration to be able to create fake modems in > > userspace that are exposed via the new WWAN subsystem? If so, wouldn't > > they already be supported by the current ModemManager, which supports > > the new WWAN subsystem? > > I suppose the answer should be "yes they are su

Re: Support for the Linux WWAN subsystem

2021-08-30 Thread Ramon Fontes
Hello Aleksander, > Is that wwan_hwsim integration to be able to create fake modems in > userspace that are exposed via the new WWAN subsystem? If so, wouldn't > they already be supported by the current ModemManager, which supports > the new WWAN subsystem? I suppose the answer should be "yes the

Re: Support for the Linux WWAN subsystem

2021-08-29 Thread Aleksander Morgado
Hey Ramon, > I was wondering if there is any plan to add some level of integration > between ModemManager and wwan_hwsim (e.g. expose interfaces created by > wwan_hwsim > (https://github.com/torvalds/linux/blob/master/drivers/net/wwan/wwan_hwsim.c) > to ModemManager - not sure if this is the righ

Support for the Linux WWAN subsystem

2021-08-16 Thread Ramon Fontes
Dear all, I was wondering if there is any plan to add some level of integration between ModemManager and wwan_hwsim (e.g. expose interfaces created by wwan_hwsim (https://github.com/torvalds/linux/blob/master/drivers/net/wwan/wwan_hwsim.c) to ModemManager - not sure if this is the right approach