Developing with macOS

Hi, is there any solution to use mangoh devices with MacOS 10.15 or greater? Apple dropped support for other than 64bit drivers over a year ago and since then it has not been possible to develop with mangoh/legato. I have tried to use VM also but no luck in there. Everything works great with earlier macOS-version.

Elmo

Hi Elmo,
I’m on MacOS 10.15 too. I’m using a Linux VM since 10.15 for the reason you highlighted.
It should work fine with any Linux VM as long as you take care to fix the network interface that sometimes goes up and down for some reason:

mangoh@mangoh-dev:~$ ifconfig
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.2.15  netmask 255.255.255.0  broadcast 10.0.2.255
        inet6 fe80::82b:3d94:da65:d15a  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:73:ea:26  txqueuelen 1000  (Ethernet)
        RX packets 41621  bytes 55909944 (55.9 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 16782  bytes 1072060 (1.0 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp0s6u2i19: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 82:16:7b:f7:f0:d0  txqueuelen 1000  (Ethernet)
        RX packets 12  bytes 1248 (1.2 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 39  bytes 5208 (5.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 207  bytes 18341 (18.3 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 207  bytes 18341 (18.3 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

mangoh@mangoh-dev:~$ sudo ifconfig enp0s6u2i19 add 192.168.2.3
mangoh@mangoh-dev:~$ sudo ifconfig enp0s6u2i19:0 netmask 255.255.255.0
mangoh@mangoh-dev:~$ ssh root@192.168.2.2
root@swi-mdm9x28-wp:~#

Hi, thanks for the answer. My VM seems to not recognize device at all.

this is my ifconfig output:

mangoh@mangoh-vm:~$ ifconfig
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::a00:27ff:fe8d:ae87 prefixlen 64 scopeid 0x20
ether 08:00:27:8d:ae:87 txqueuelen 1000 (Ethernet)
RX packets 2 bytes 1180 (1.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 63 bytes 7797 (7.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 16 bytes 1028 (1.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 16 bytes 1028 (1.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Host machine recognizes wp7702 as an usb device but not as a network device.

Elmo

what is the return of the following?
AT!ENTERCND=“A710”
AT!USBCOMP?
AT!USBCOMP=?

Also please capture the “dmesg” messgae.

This is my dimes log after I plug in the device:

[ 669.689548] usb 1-1: new high-speed USB device number 4 using ehci-pci
[ 669.881358] usb 1-1: config 1 has an invalid interface number: 8 but max is 5
[ 669.881363] usb 1-1: config 1 has an invalid interface number: 19 but max is 5
[ 669.881366] usb 1-1: config 1 has an invalid interface number: 20 but max is 5
[ 669.881368] usb 1-1: config 1 has an invalid interface number: 20 but max is 5
[ 669.881371] usb 1-1: config 1 has no interface number 1
[ 669.881373] usb 1-1: config 1 has no interface number 4
[ 669.881375] usb 1-1: config 1 has no interface number 5
[ 669.894679] usb 1-1: New USB device found, idVendor=1199, idProduct=68c0
[ 669.894681] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 669.894683] usb 1-1: Product: Sierra Wireless WP7702
[ 669.894684] usb 1-1: Manufacturer: Sierra Wireless, Incorporated
[ 669.894685] usb 1-1: SerialNumber: VU91167031141020
[ 669.905477] qcserial 1-1:1.0: Qualcomm USB modem converter detected
[ 669.905715] usb 1-1: Qualcomm USB modem converter now attached to ttyUSB0
[ 669.910079] qcserial 1-1:1.2: Qualcomm USB modem converter detected
[ 669.910240] usb 1-1: Qualcomm USB modem converter now attached to ttyUSB1
[ 669.914390] qcserial 1-1:1.3: Qualcomm USB modem converter detected
[ 669.914531] usb 1-1: Qualcomm USB modem converter now attached to ttyUSB2
[ 669.921638] qmi_wwan 1-1:1.8: cdc-wdm0: USB WDM device
[ 669.924585] qmi_wwan 1-1:1.8 wwan0: register ‘qmi_wwan’ at usb-0000:00:0b.0-1, WWAN/QMI device, 52:14:0d:f8:dc:a7
[ 669.939631] cdc_ether 1-1:1.19 usb0: register ‘cdc_ether’ at usb-0000:00:0b.0-1, CDC Ethernet Device, 62:5e:76:68:40:69
[ 669.972873] cdc_ether 1-1:1.19 enp0s11u1i19: renamed from usb0
[ 669.981783] qmi_wwan 1-1:1.8 wwp0s11u1i8: renamed from wwan0

Im trying to figure out how to use at commands

You need to use

sudo ifconfig enp0s11u1i19 up
sudo ifconfig enp0s11u1i19 192.168.2.3

Awesome, thanks!

Elmo