# Using USB connection to Ethernet IOT card, eth0 not appared

**URL:** <https://mangoh.discourse.group/t/using-usb-connection-to-ethernet-iot-card-eth0-not-appared/10243>\
**Category:** mangOH Red\
**Created:** [February 27, 2023, 10:24am UTC](https://mangoh.discourse.group/t/using-usb-connection-to-ethernet-iot-card-eth0-not-appared/10243 "2023-02-27T10:24:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucastrias](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@lucastrias](https://mangoh.discourse.group/u/lucastrias)\
**Post date:** [February 27, 2023, 10:24am UTC](https://mangoh.discourse.group/t/using-usb-connection-to-ethernet-iot-card-eth0-not-appared/10243/1 "2023-02-27T10:24:35Z")

</div>

Hello,  
I am using a mangOH red card with wp7607 and I am trying to creat a gatway with the help of this post: [Setting up MangOH Red as Router to Cellular Gateway](https://mangoh.discourse.group/t/setting-up-mangoh-red-as-router-to-cellular-gateway/1241) .  
and after tryng the tutoriel i have an issu with eth0:  
root@swi-mdm9x28-wp:~#cd /tmp  
root@swi-mdm9x28-wp:/tmp# chmod +x cfg\_gateway.sh  
root@swi-mdm9x28-wp:/tmp# ./cfg\_gateway.sh  
mangOH gateway configuration  
Enter WAN (cellular) interface (default: rmnet\_data0):  
WAN interface rmnet\_data0  
Enter LAN interface (default: eth0):  
LAN interface eth0  
Enter LAN IP (default: 192.168.20.1):  
IP address (192.168.20.1)  
Enter LAN Net Mask (default: 255.255.255.0):  
net mask (255.255.255.0)  
Bring up LAN interface eth0  
ifconfig: SIOCGIFFLAGS: No such device  
Bring up LAN interface eth0 failed

So i tried to searche for a solution and i found this post: [How to connect Ethernet card on mangOH red](https://mangoh.discourse.group/t/how-to-connect-ethernet-card-on-mangoh-red/9489)  
But not only the following commande doesn’t work:  
root@swi-mdm9x28-wp:~# ifconfig eth0  
ifconfig: eth0: error fetching interface information: Device not found  
root@swi-mdm9x28-wp:~# echo 2 \> /sys/class/gpio/export  
root@swi-mdm9x28-wp:~# echo out \> /sys/class/gpio/gpio2/direction  
root@swi-mdm9x28-wp:~# echo 1 \> /sys/class/gpio/gpio2/value  
root@swi-mdm9x28-wp:~# ifconfig eth0  
ifconfig: eth0: error fetching interface information: Device not found  
root@swi-mdm9x28-wp:~# ifconfig  
bridge0 Link encap:Ethernet HWaddr 92:F8:6A:01:22:D1  
inet addr:192.168.225.1 Bcast:192.168.225.255 Mask:255.255.255.0  
inet6 addr: fe80::90f8:6aff:fefe:1fce/64 Scope:Link  
UP BROADCAST MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:0  
RX bytes:0 (0.0 B) TX bytes:140 (140.0 B)

ecm0 Link encap:Ethernet HWaddr E2:A1:01:D5:FD:20  
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0  
inet6 addr: fe80::e0a1:1ff:fed5:fd20/64 Scope:Link  
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1  
RX packets:797 errors:0 dropped:12 overruns:0 frame:0  
TX packets:354 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:80902 (79.0 KiB) TX bytes:49832 (48.6 KiB)

lo Link encap:Local Loopback  
inet addr:127.0.0.1 Mask:255.0.0.0  
inet6 addr: ::1/128 Scope:Host  
UP LOOPBACK RUNNING MTU:65536 Metric:1  
RX packets:1 errors:0 dropped:0 overruns:0 frame:0  
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:0  
RX bytes:76 (76.0 B) TX bytes:76 (76.0 B)

rmnet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
UP RUNNING MTU:2000 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)  
And i have enbable HSCIENABLE:  
at  
OK  
ati3  
Manufacturer: Sierra Wireless, Incorporated  
Model: WP7607  
Revision: SWI9X07Y\_02.28.03.05 000000 jenkins 2019/07/08 11:04:16  
IMEI: 359779080406453  
IMEI SV: 6  
FSN: V3026785990510  
+GCAP: +CGSM,+DS

OK  
atc!custom?  
ERROR  
at!custom  
ERROR  
at  
OK  
at!custom?  
!CUSTOM:  
GPSENABLE 0x01  
GPSLPM 0x01  
IPV6ENABLE 0x01  
SIMHOTSWAPDIS 0x02  
UIM2ENABLE 0x01  
SIMLPM 0x01  
USBSERIALENABLE 0x01  
SINGLEAPNSWITCH 0x01  
TXONINDICATION 0x01  
HSICENABLE 0x01  
SCRUBEN 0x01  
EXTGPSLNAEN 0x01

OK  
And now I hav not other idea at to how i can resolve the issue.  
Can you help me?  
Thanks,  
Lucas

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [February 27, 2023, 1:03pm UTC](https://mangoh.discourse.group/t/using-usb-connection-to-ethernet-iot-card-eth0-not-appared/10243/2 "2023-02-27T13:03:29Z")

</div>

i don’t see problem, what dmesg do you see after changing GPIO2?

```auto

root@fx30:~# ifconfig
bridge0 Link encap:Ethernet HWaddr F2:E7:D7:C0:42:75
          inet addr:192.168.225.1 Bcast:192.168.225.255 Mask:255.255.255.0
          inet6 addr: fe80::f0e7:d7ff:febd:3f72/64 Scope:Link
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:90 (90.0 B)

ecm0 Link encap:Ethernet HWaddr 96:AC:36:48:4D:91
          inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
          inet6 addr: fe80::94ac:36ff:fe48:4d91/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:244 errors:0 dropped:4 overruns:0 frame:0
          TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:26873 (26.2 KiB) TX bytes:4108 (4.0 KiB)

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:65536 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

rmnet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP RUNNING MTU:2000 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@fx30:~# echo 2 > /sys/class/gpio/export
root@fx30:~# echo out > /sys/class/gpio/gpio2/direction
root@fx30:~# echo 1 > /sys/class/gpio/gpio2/value
root@fx30:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 42:35:9B:4A:84:0A
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@fx30:~# dmesg
.
.
.

[19.041744] mbim_open: Open mbim driver
[19.041757] mbim_open: Lock mbim_dev->open_excl for open
[19.041763] mbim_open: USB cable not connected
[19.041788] mbim_open: Exit, mbim file opened
[22.621642] LE_KPI: end initscript /etc/rcS.d/S32startlegato.sh
[23.698229] LE_KPI: start initscript /etc/rcS.d/S33config_gpios
[25.640534] gpio_map_name_to_num: find GPIO 38
[25.641340] gpio_map_name_to_num: find GPIO 16
[25.641948] gpio_map_name_to_num: find GPIO 8
[25.642559] gpio_map_name_to_num: find GPIO 9
[25.643134] gpio_map_name_to_num: find GPIO 11
[25.643682] gpio_map_name_to_num: find GPIO 51
[25.644235] gpio_map_name_to_num: find GPIO 200
[25.665427] gpio_map_name_to_num: find GPIO 202
[25.681807] gpio_map_name_to_num: find GPIO 77
[25.682933] gpio_map_name_to_num: Can not find GPIO FX30-NETWORK_LED_RED
[25.682933]
[25.682947] alias_export_store: status -2
[25.689252] gpio_map_name_to_num: Can not find GPIO FX30-NETWORK_LED_GRN
[25.689252]
[25.689262] alias_export_store: status -2
[25.689459] gpio_map_name_to_num: Can not find GPIO FX30-SIGNAL_LED_RED
[25.689459]
[25.689467] alias_export_store: status -2
[25.689628] gpio_map_name_to_num: Can not find GPIO FX30-SIGNAL_LED_GRN
[25.689628]
[25.689635] alias_export_store: status -2
[25.689785] gpio_map_name_to_num: Can not find GPIO FX30-USER_LED_RED
[25.689785]
[25.689793] alias_export_store: status -2
[25.689939] gpio_map_name_to_num: Can not find GPIO FX30-USER_LED_GRN
[25.689939]
[25.689946] alias_export_store: status -2
[25.750480] gpio_map_name_to_num: Can not find GPIO FX30-POWER_LED_RED_N
[25.750480]
[25.750496] alias_export_store: status -2
[25.750817] gpio_map_name_to_num: Can not find GPIO FX30-POWER_LED_GRN
[25.750817]
[25.750827] alias_export_store: status -2
[25.751023] gpio_map_name_to_num: Can not find GPIO FX30-GPS_BIAS_EN
[25.751023]
[25.751031] alias_export_store: status -2
[25.751194] gpio_map_name_to_num: Can not find GPIO FX30-ETH_DISABLE_N
[25.751194]
[25.751202] alias_export_store: status -2
[25.751358] gpio_map_name_to_num: Can not find GPIO FX30-IO_PULLUP_EN1
[25.751358]
[25.751365] alias_export_store: status -2
[25.751512] gpio_map_name_to_num: Can not find GPIO FX30-POWER_HOLD
[25.751512]
[25.751520] alias_export_store: status -2
[25.751699] gpio_map_name_to_num: Can not find GPIO FX30-POWER_LED_MUX
[25.751699]
[25.751707] alias_export_store: status -2
[25.751854] gpio_map_name_to_num: Can not find GPIO FX30-IO_PULLUP_EN2
[25.751854]
[25.751861] alias_export_store: status -2
[25.752008] gpio_map_name_to_num: Can not find GPIO FX30-IO_PULLUP_EN3
[25.752008]
[25.752016] alias_export_store: status -2
[25.755659] gpio_map_name_to_num: Can not find GPIO FX30-DIGITAL_OUTPUT3
[25.755659]
[25.755667] alias_export_store: status -2
[25.755826] gpio_map_name_to_num: find GPIO 46
[25.901505] LE_KPI: end initscript /etc/rcS.d/S33config_gpios
[26.031531] LE_KPI: start initscript /etc/rcS.d/S35rebootdaemon
[26.198596] LE_KPI: end initscript /etc/rcS.d/S35rebootdaemon
[26.288980] LE_KPI: start initscript /etc/rcS.d/S36psmd
[26.294635] Starting psmd:
[26.420526] done
[26.481829] LE_KPI: end initscript /etc/rcS.d/S36psmd
[26.527662] PSM: Found config file ARGV /data/psm
[26.527722] PSM: PSMD Start
[26.571062] LE_KPI: start initscript /etc/rcS.d/S38init_sys_mss
[26.572526] PSM: server_config_path /data/psm/server_config
[26.618173] PSM: Path for PSM configuration: /data/psm
[26.618997] PSM: modem_flag_path /data/psm/modem_flag
[26.619222] PSM: backup_nv_path /data/psm/psm_nv_backup.txt
[26.630583] PSM: Load modem flag: 1
[26.630679] PSM: Modem Loaded
[26.651562] PSM: DMS Ind register - result: 0, error: 0
[26.660841] PSM: Oprt mode event report req qmi response - result: 0, error: 0
[26.661967] PSM: result - 0 error - 0
[26.662025] PSM: Modem oprt mode - 0
[26.663792] PSM: backup_nv_path /data/psm/psm_nv_backup.txt
[26.667063] PSM: Supported: 0
[26.667129] PSM: Log and QMI Init completed
[26.667166] PSM: Supported: 0
[26.667410] PSM: Core server init completed
[26.667807] PSM: Client and event thread created
[26.803728] LE_KPI: end initscript /etc/rcS.d/S38init_sys_mss
[26.910572] LE_KPI: start initscript /etc/rcS.d/S39mssboot
[27.421556] LE_KPI: end initscript /etc/rcS.d/S39mssboot
[27.542229] LE_KPI: start initscript /etc/rcS.d/S40qmuxd
[27.874327] LE_KPI: end initscript /etc/rcS.d/S40qmuxd
[27.992277] LE_KPI: start initscript /etc/rcS.d/S40thermal-engine
[28.410179] LE_KPI: end initscript /etc/rcS.d/S40thermal-engine
[28.564615] LE_KPI: start initscript /etc/rcS.d/S45netmgrd
[28.823009] qti_ctrl_queue_notify: rmnet ctrl file handler eba1c27d is not open
[28.887069] LE_KPI: end initscript /etc/rcS.d/S45netmgrd
[28.991498] LE_KPI: start initscript /etc/rcS.d/S50power_config
[29.208136] LE_KPI: end initscript /etc/rcS.d/S50power_config
[29.276304] LE_KPI: start initscript /etc/rcS.d/S50start_fs-scrub-daemon
[29.436552] sps:BAM 0x04044000 is registered.
[29.436763] sps:BAM 0x04044000 (va:0xe0e1db87) enabled: ver:0x27, number of pipes:6
[29.497044] LE_KPI: end initscript /etc/rcS.d/S50start_fs-scrub-daemon
[29.612091] LE_KPI: start initscript /etc/rcS.d/S55bootmisc.sh
[29.901107] LE_KPI: end initscript /etc/rcS.d/S55bootmisc.sh
[29.937327] LE_KPI: start initscript /etc/rcS.d/S55reset_reboot_cookie
[29.980261] S55reset_reboot (1697) used greatest stack depth: 4516 bytes left
[29.996584] LE_KPI: end initscript /etc/rcS.d/S55reset_reboot_cookie
[30.031888] LE_KPI: start initscript /etc/rcS.d/S70start_eMBMs_TunnelingModule_le
[30.036310] eMBMs Tunneling Module:start
[30.106272] LE_KPI: end initscript /etc/rcS.d/S70start_eMBMs_TunnelingModule_le
[30.227238] LE_KPI: start initscript /etc/rcS.d/S80start_stop_qmi_ip_multiclient
[30.395225] LE_KPI: end initscript /etc/rcS.d/S80start_stop_qmi_ip_multiclient
[30.461842] LE_KPI: start initscript /etc/rcS.d/S90startm2m.sh
[30.508222] gpio_map_name_to_num: find GPIO 76
[30.629114] gpio_check_and_wake: wake-n_gpio26 STATE=WAKEUP
[30.647010] swimcu_calibrate_event_handle: MCU calibrate completed with remaining time 0
[30.647031] swimcu_lpo_calibrate_calc: MCU time=30000 vs MDM time=29751
[30.647048] gpio_check_and_wake: wake-n_gpio26 STATE=SLEEP
[30.690735] adm_callback: cmd = 0x10322 returned error = 0x16
[30.690767] adm_callback: ADM map error, resuming
[30.695687] adm_memory_map_regions: DSP returned error[ADSP_ERR_MAX]
[30.719398] adm_map_cal_data: map did not work! cal_type 0 ret -68
[30.719435] map_memory: map_cal failed, cal type 10, ret = -19!
[30.725090] adm_alloc_cal: cal_utils_alloc_block failed, ret = -19, cal type = 10!
[30.743797] 78b0000.uart:0 is reserved for RS232_FC.
[30.760291] usb 1-1.2: new high-speed USB device number 4 using msm_hsic_host
[30.760449] call_allocs: alloc failed!
[30.774887] 78af000.serial:1 is reserved for CONSOLE.
[30.794147] qti_ctrl_queue_notify: rmnet ctrl file handler eba1c27d is not open
[30.834679] qti_ctrl_queue_notify: rmnet ctrl file handler eba1c27d is not open
[30.835648] qti_ctrl_queue_notify: rmnet ctrl file handler eba1c27d is not open
[30.870856] usb 1-1.2: New USB device found, idVendor=0424, idProduct=9e00
[30.870893] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[30.878243] smsc95xx v1.0.6
[30.960287] smsc95xx 1-1.2:1.0 eth0: register 'smsc95xx' at usb-7c00000.hsic_host-1.2, smsc95xx USB 2.0 Ethernet, 5e:1b:34:0a:9e:0d
[31.131986] LE_KPI: end initscript /etc/rcS.d/S90startm2m.sh
[31.170539] LE_KPI: start initscript /etc/rcS.d/S94dnsmasq
[31.251676] LE_KPI: end initscript /etc/rcS.d/S94dnsmasq
[31.291632] LE_KPI: start initscript /etc/rcS.d/S95dropbear.wrapper
[31.325131] LE_KPI: end initscript /etc/rcS.d/S95dropbear.wrapper
[31.384710] LE_KPI: start initscript /etc/rcS.d/S96adbd
[31.437390] LE_KPI: end initscript /etc/rcS.d/S96adbd
[31.498787] LE_KPI: start initscript /etc/rcS.d/S97data-init
[31.526392] LE_KPI: end initscript /etc/rcS.d/S97data-init
[31.562749] LE_KPI: start initscript /etc/rcS.d/S98start_QCMAP_ConnectionManager_le
[31.581523] Starting QCMAP_ConnectionManager:
[31.581617] QCMAP:start
[31.622447] done
[31.662261] LE_KPI: end initscript /etc/rcS.d/S98start_QCMAP_ConnectionManager_le
[31.717303] LE_KPI: start initscript /etc/rcS.d/S99config_avms_at
[31.765447] QCMAP:Start Main
[31.803700] USB QCMAP NL IOCTL Snd GETNEIGH Succ
[31.914248] QCMAP:Start DHCP server
[31.933712] QCMAP:DHCP server started
[32.078734] LE_KPI: end initscript /etc/rcS.d/S99config_avms_at
[32.123888] LE_KPI: start initscript /etc/rcS.d/S99enable_autosleep.sh
[32.157361] LE_KPI: end initscript /etc/rcS.d/S99enable_autosleep.sh
[32.201893] LE_KPI: start initscript /etc/rcS.d/S99install_le_apps
[32.246802] LE_KPI: end initscript /etc/rcS.d/S99install_le_apps
[32.313444] LE_KPI: start initscript /etc/rcS.d/S99restore_mac
[32.402688] LE_KPI: end initscript /etc/rcS.d/S99restore_mac
[32.471461] LE_KPI: start initscript /etc/rcS.d/S99start_qti_le
[32.486054] Starting qti:
[32.486153] QTI:start
[32.578655] done
[32.616296] LE_KPI: end initscript /etc/rcS.d/S99start_qti_le
[36.572439] gpio_map_name_to_num: find GPIO 76
[36.573310] gpio_map_name_to_num: find GPIO 38
[36.671720] usb 1-1.2: USB disconnect, device number 4
[36.672004] smsc95xx 1-1.2:1.0 eth0: unregister 'smsc95xx' usb-7c00000.hsic_host-1.2, smsc95xx USB 2.0 Ethernet
[36.674004] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister eth0
[36.701232] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister eth0
[42.736966] USB QCMAP NL IOCTL Snd GETNEIGH Succ
[43.767283] QTI:USB tethered modem SMD port opened
[43.858638] QTI:ECM mode
[43.863782] QTI:LINK_UP message posted
[55.084807] QTI:USB tethered modem SMD port opened
[102.472278] gpio_map_name_to_num: find GPIO 38
[112.940849] usb 1-1.2: new high-speed USB device number 5 using msm_hsic_host
[113.051733] usb 1-1.2: New USB device found, idVendor=0424, idProduct=9e00
[113.051761] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[113.058390] smsc95xx v1.0.6
[113.156902] smsc95xx 1-1.2:1.0 eth0: register 'smsc95xx' at usb-7c00000.hsic_host-1.2, smsc95xx USB 2.0 Ethernet, 42:35:9b:4a:84:0a
[113.304131] smsc95xx 1-1.2:1.0 eth0: usbnet_open
[113.304361] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[113.313801] USB QCMAP NL IOCTL Snd GETNEIGH Succ
root@fx30:~#

```

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [February 27, 2023, 1:05pm UTC](https://mangoh.discourse.group/t/using-usb-connection-to-ethernet-iot-card-eth0-not-appared/10243/3 "2023-02-27T13:05:51Z")

</div>

you can also try with usb thumb drive, this can prove the HSIC pin are working fine:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/8/8ecc36db7fbb8d2ff56e51caa2db942f56433624.jpeg)

```auto

ls /dev/sda*
mkdir "/tmp/usbflash"
/bin/mount -t auto -o sync /dev/sda1 "/tmp/usbflash"
ls /tmp/usbflash

```

---

<div class="post-metadata">

**Author:** ![lucastrias](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@lucastrias](https://mangoh.discourse.group/u/lucastrias)\
**Post date:** [February 27, 2023, 1:13pm UTC](https://mangoh.discourse.group/t/using-usb-connection-to-ethernet-iot-card-eth0-not-appared/10243/4 "2023-02-27T13:13:19Z")

</div>

> [@jyijyi](#):
>
> `dmesg`

after composing the line that you gave me, i have this:  
root@swi-mdm9x28-wp:~# ifconfig  
bridge0 Link encap:Ethernet HWaddr CA:7F:41:35:C1:19  
inet addr:192.168.225.1 Bcast:192.168.225.255 Mask:255.255.255.0  
inet6 addr: fe80::c87f:41ff:fe32:be16/64 Scope:Link  
UP BROADCAST MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:0  
RX bytes:0 (0.0 B) TX bytes:76 (76.0 B)

ecm0 Link encap:Ethernet HWaddr EA:EE:86:15:AE:B0  
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0  
inet6 addr: fe80::e8ee:86ff:fe15:aeb0/64 Scope:Link  
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1  
RX packets:579 errors:0 dropped:12 overruns:0 frame:0  
TX packets:285 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:56445 (55.1 KiB) TX bytes:41070 (40.1 KiB)

lo Link encap:Local Loopback  
inet addr:127.0.0.1 Mask:255.0.0.0  
inet6 addr: ::1/128 Scope:Host  
UP LOOPBACK RUNNING MTU:65536 Metric:1  
RX packets:1 errors:0 dropped:0 overruns:0 frame:0  
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:0  
RX bytes:76 (76.0 B) TX bytes:76 (76.0 B)

rmnet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
UP RUNNING MTU:2000 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:476 (476.0 B)

rmnet\_data0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
inet addr:10.83.20.143 Mask:255.255.255.224  
inet6 addr: fe80::119a:c4c:c3f4:b418/64 Scope:Link  
UP RUNNING MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:476 (476.0 B)

root@swi-mdm9x28-wp:~# ifconfig  
bridge0 Link encap:Ethernet HWaddr CA:7F:41:35:C1:19  
inet addr:192.168.225.1 Bcast:192.168.225.255 Mask:255.255.255.0  
inet6 addr: fe80::c87f:41ff:fe32:be16/64 Scope:Link  
UP BROADCAST MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:0  
RX bytes:0 (0.0 B) TX bytes:76 (76.0 B)

ecm0 Link encap:Ethernet HWaddr EA:EE:86:15:AE:B0  
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0  
inet6 addr: fe80::e8ee:86ff:fe15:aeb0/64 Scope:Link  
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1  
RX packets:645 errors:0 dropped:12 overruns:0 frame:0  
TX packets:336 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:61781 (60.3 KiB) TX bytes:49140 (47.9 KiB)

lo Link encap:Local Loopback  
inet addr:127.0.0.1 Mask:255.0.0.0  
inet6 addr: ::1/128 Scope:Host  
UP LOOPBACK RUNNING MTU:65536 Metric:1  
RX packets:1 errors:0 dropped:0 overruns:0 frame:0  
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:0  
RX bytes:76 (76.0 B) TX bytes:76 (76.0 B)

rmnet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
UP RUNNING MTU:2000 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:476 (476.0 B)

rmnet\_data0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
inet addr:10.83.20.143 Mask:255.255.255.224  
inet6 addr: fe80::119a:c4c:c3f4:b418/64 Scope:Link  
UP RUNNING MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:476 (476.0 B)

root@swi-mdm9x28-wp:~# echo 2 \> /sys/class/gpio/export  
root@swi-mdm9x28-wp:~# echo out \> /sys/class/gpio/gpio2/direction  
root@swi-mdm9x28-wp:~# echo 1 \> /sys/class/gpio/gpio2/value  
root@swi-mdm9x28-wp:~# ifconfig eth0  
ifconfig: eth0: error fetching interface information: Device not found

and the dmesg done this:  
[1.350170] usb 1-1: new high-speed USB device number 2 using msm\_hsic\_host  
[1.372187] Freeing unused kernel memory: 3388K  
[1.372203] This architecture does not have kernel memory protection.  
[1.394204] mount (170) used greatest stack depth: 6476 bytes left  
[1.406179] cat (173) used greatest stack depth: 6472 bytes left  
[1.413523] grep (176) used greatest stack depth: 6360 bytes left  
[1.432324] cat (180) used greatest stack depth: 6328 bytes left  
[1.447118] dd (184) used greatest stack depth: 5608 bytes left  
[1.449964] ubi0: attaching mtd13  
[1.500612] usb 1-1: New USB device found, idVendor=0424, idProduct=3503  
[1.500629] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0  
[1.501568] hub 1-1:1.0: USB hub found  
[1.501725] hub 1-1:1.0: 3 ports detected  
[1.503489] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm\_asoc\_machine\_probe, q6\_state 0  
[1.564635] ubi0: scanning is finished  
[1.569895] ubi0 warning: print\_rsvd\_warning: cannot reserve enough PEBs for bad PEB handling, reserved 28, need 40  
[1.571243] ubi0: attached mtd13 (name “system”, size 30 MiB)  
[1.571258] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes  
[1.571268] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096  
[1.571278] ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192  
[1.571288] ubi0: good PEBs: 120, bad PEBs: 0, corrupted PEBs: 0  
[1.571298] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128  
[1.571309] ubi0: max/mean erase counter: 31/30, WL threshold: 4096, image sequence number: 602318663  
[1.571320] ubi0: available PEBs: 0, total reserved PEBs: 120, PEBs reserved for bad PEB handling: 28  
[1.573663] ubi0: background thread “ubi\_bgt0d” started, PID 187  
[1.780147] usb 1-1.1: new full-speed USB device number 3 using msm\_hsic\_host  
[1.892600] usb 1-1.1: New USB device found, idVendor=10c4, idProduct=87a0  
[1.892619] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3  
[1.892630] usb 1-1.1: Product: CP2130 USB-to-SPI Bridge  
[1.892641] usb 1-1.1: Manufacturer: Silicon Laboratories  
[1.892652] usb 1-1.1: SerialNumber: 000FF2DA  
[1.894416] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm\_asoc\_machine\_probe, q6\_state 0  
[3.765891] dd (188) used greatest stack depth: 5264 bytes left  
[3.774554] block ubiblock0\_0: created from ubi0:0(rootfs)  
[3.805552] block ubiblock0\_1: created from ubi0:1(rootfs\_hs)  
[5.163657] ubi3: attaching mtd16  
[5.622887] ubi3: scanning is finished  
[5.629545] ubi3: attached mtd16 (name “userapp”, size 131 MiB)  
[5.629561] ubi3: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes  
[5.629571] ubi3: min./max. I/O unit sizes: 4096/4096, sub-page size 4096  
[5.629581] ubi3: VID header offset: 4096 (aligned 4096), data offset: 8192  
[5.629591] ubi3: good PEBs: 524, bad PEBs: 0, corrupted PEBs: 0  
[5.629600] ubi3: user volume: 1, internal volumes: 1, max. volumes count: 128  
[5.629612] ubi3: max/mean erase counter: 468/284, WL threshold: 4096, image sequence number: 885468186  
[5.629622] ubi3: available PEBs: 5, total reserved PEBs: 519, PEBs reserved for bad PEB handling: 40  
[5.632912] ubi3: background thread “ubi\_bgt3d” started, PID 322  
[5.680196] UBIFS (ubi3:0): background thread “ubifs\_bgt3\_0” started, PID 328  
[5.734594] UBIFS (ubi3:0): recovery needed  
[6.443997] UBIFS (ubi3:0): recovery completed  
[6.444142] UBIFS (ubi3:0): UBIFS: mounted UBI device 3, volume 0, name “userapp\_vol0”  
[6.444155] UBIFS (ubi3:0): LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes  
[6.444168] UBIFS (ubi3:0): FS size: 118087680 bytes (112 MiB, 465 LEBs), journal size 5840896 bytes (5 MiB, 23 LEBs)  
[6.444178] UBIFS (ubi3:0): reserved for root: 4952683 bytes (4836 KiB)  
[6.444193] UBIFS (ubi3:0): media format: w4/r0 (latest is w4/r0), UUID 6101A306-1D63-401B-9506-62022217846B, small LPT model  
[6.452115] mount (326) used greatest stack depth: 4784 bytes left  
[6.743392] ubi2: attaching mtd14  
[6.774555] ubi2: scanning is finished  
[6.779733] ubi2 warning: print\_rsvd\_warning: cannot reserve enough PEBs for bad PEB handling, reserved 7, need 40  
[6.781548] ubi2: attached mtd14 (name “lefwkro”, size 8 MiB)  
[6.781564] ubi2: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes  
[6.781575] ubi2: min./max. I/O unit sizes: 4096/4096, sub-page size 4096  
[6.781585] ubi2: VID header offset: 4096 (aligned 4096), data offset: 8192  
[6.781595] ubi2: good PEBs: 35, bad PEBs: 0, corrupted PEBs: 0  
[6.781605] ubi2: user volume: 3, internal volumes: 1, max. volumes count: 128  
[6.781616] ubi2: max/mean erase counter: 30/29, WL threshold: 4096, image sequence number: 1738187210  
[6.781626] ubi2: available PEBs: 0, total reserved PEBs: 35, PEBs reserved for bad PEB handling: 7  
[6.783877] ubi2: background thread “ubi\_bgt2d” started, PID 364  
[7.391007] block ubiblock2\_0: created from ubi2:0(legato)  
[7.451276] block ubiblock2\_1: created from ubi2:1(legato\_hs)  
[7.893165] ubi4: attaching mtd15  
[7.983628] ubi4: scanning is finished  
[7.989822] ubi4: attached mtd15 (name “swirw”, size 25 MiB)  
[7.989838] ubi4: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes  
[7.989849] ubi4: min./max. I/O unit sizes: 4096/4096, sub-page size 4096  
[7.989859] ubi4: VID header offset: 4096 (aligned 4096), data offset: 8192  
[7.989869] ubi4: good PEBs: 100, bad PEBs: 0, corrupted PEBs: 0  
[7.989878] ubi4: user volume: 1, internal volumes: 1, max. volumes count: 128  
[7.989889] ubi4: max/mean erase counter: 29/14, WL threshold: 4096, image sequence number: 1101438031  
[7.989899] ubi4: available PEBs: 2, total reserved PEBs: 98, PEBs reserved for bad PEB handling: 40  
[7.992249] ubi4: background thread “ubi\_bgt4d” started, PID 422  
[8.040181] UBIFS (ubi4:0): background thread “ubifs\_bgt4\_0” started, PID 428  
[8.094106] UBIFS (ubi4:0): recovery needed  
[8.220603] UBIFS (ubi4:0): recovery completed  
[8.220715] UBIFS (ubi4:0): UBIFS: mounted UBI device 4, volume 0, name “swirw\_vol0”  
[8.220728] UBIFS (ubi4:0): LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes  
[8.220740] UBIFS (ubi4:0): FS size: 11173888 bytes (10 MiB, 44 LEBs), journal size 2031617 bytes (1 MiB, 6 LEBs)  
[8.220751] UBIFS (ubi4:0): reserved for root: 527769 bytes (515 KiB)  
[8.220766] UBIFS (ubi4:0): media format: w4/r0 (latest is w4/r0), UUID EC0464C9-BBD4-410B-A555-A6E3CD853062, small LPT model  
[8.617561] random: nonblocking pool is initialized  
[9.068690] UBIFS error (pid: 533): cannot open “ubi0:usrfs”, error -19  
[9.105475] ubi1: attaching mtd10  
[9.216875] ubi1: scanning is finished  
[9.222168] ubi1 warning: print\_rsvd\_warning: cannot reserve enough PEBs for bad PEB handling, reserved 21, need 40  
[9.223182] ubi1: attached mtd10 (name “modem”, size 32 MiB)  
[9.223197] ubi1: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes  
[9.223207] ubi1: min./max. I/O unit sizes: 4096/4096, sub-page size 4096  
[9.223217] ubi1: VID header offset: 4096 (aligned 4096), data offset: 8192  
[9.223227] ubi1: good PEBs: 128, bad PEBs: 0, corrupted PEBs: 0  
[9.223237] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128  
[9.223248] ubi1: max/mean erase counter: 30/30, WL threshold: 4096, image sequence number: 617240211  
[9.223258] ubi1: available PEBs: 0, total reserved PEBs: 128, PEBs reserved for bad PEB handling: 21  
[9.225592] ubi1: background thread “ubi\_bgt1d” started, PID 545  
[11.861914] block ubiblock1\_0: created from ubi1:0(modem)  
[11.947152] pil-q6v5-mss 4080000.qcom,mss: modem: loading from 0x82a00000 to 0x87800000  
[11.978428] pil-q6v5-mss 4080000.qcom,mss: Debug policy not present - msadp. Continue.  
[11.979854] pil-q6v5-mss 4080000.qcom,mss: Loading MBA and DP (if present) from 0x8f600000 to 0x8f700000 size 100000  
[12.110760] pil-q6v5-mss 4080000.qcom,mss: MBA boot done  
[12.300448] enable\_store: android\_usb: already disabled  
[12.324626] Match for Function Name: diag, Int #0  
[12.336885] Match for Function Name: nmea, Int #2  
[12.336919] Match for Function Name: modem, Int #3  
[12.340985] Match for Function Name: rmnet0, Int #8  
[12.341023] ecm\_function\_bind\_config: ecm\_function\_bind\_config MAC:  
[12.341094] gether\_setup\_name\_default: using random self ethernet address  
[12.341110] gether\_setup\_name\_default: using random host ethernet address  
[12.341904] ecm0: HOST MAC 9e:4d:31:15:b7:35  
[12.341976] ecm0: MAC ea:ee:86:15:ae:b0  
[12.342004] Match for Function Name: cdc\_ethernet, Int #19  
[12.342016] Match for Function Name: cdc\_ethernet, Int #20  
[12.342085] msm\_hsusb msm\_hsusb: CI13XXX\_CONTROLLER\_CONNECT\_EVENT received  
[12.345179] msm\_otg 78d9000.usb: Avail curr from USB = 2  
[12.345216] msm\_hsusb msm\_hsusb: CI13XXX\_CONTROLLER\_SUSPEND\_EVENT received  
[12.377927] android\_work: android\_work: did not send uevent (0 0 00000000)  
[12.444822] msm\_hsusb msm\_hsusb: CI13XXX\_CONTROLLER\_RESUME\_EVENT received  
[12.444898] msm\_otg 78d9000.usb: Avail curr from USB = 100  
[12.455112] android\_work: android\_work: did not send uevent (0 0 00000000)  
[12.549849] android\_work: android\_work: sent uevent USB\_STATE=CONNECTED  
[12.796094] android\_usb gadget: high-speed config #1: 86000c8.android\_usb  
[12.796122] diag: USB channel diag connected  
[12.796224] msm\_otg 78d9000.usb: Avail curr from USB = 500  
[12.796399] gbam\_connect\_work: gbam\_connect\_work: Bam channel is not ready  
[12.880205] android\_work: android\_work: sent uevent USB\_STATE=CONFIGURED  
[12.907653] qti\_ctrl\_queue\_notify: qti\_ctrl\_queue\_notify: rmnet ctrl file handler cdb98300 is not open  
[12.916798] qti\_ctrl\_queue\_notify: qti\_ctrl\_queue\_notify: rmnet ctrl file handler cdb98300 is not open\<3\>[15.203704] i2c-msm-v2 78b8000.i2c: msm\_bus\_scale\_register\_client(mstr-id:86):0xc (ok)  
[15.254912] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv\_addr:0x3a MSTR\_STS:0x001363c8 OPER:0x00000090  
[15.269734] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv\_addr:0x3a MSTR\_STS:0x001363c8 OPER:0x00000090  
[19.589856] sdir (892) used greatest stack depth: 4544 bytes left  
[20.562005] cp2130\_init  
[20.562126] cp2130 probe  
[20.587650] gpiochip\_find\_base: found new base at 809  
[20.587876] gpiochip\_add: registered GPIOs 809 to 819 on device: spi32766  
[20.588565] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm\_asoc\_machine\_probe, q6\_state 0  
[20.596822] usbcore: registered new interface driver cp2130  
[20.600913] usb 1-1.1: lock byte FF FF  
[20.601232] usb 1-1.1: pin 0: 03  
[20.601315] usb 1-1.1: pin 1: 03  
[20.601326] usb 1-1.1: pin 2: 03  
[20.601337] usb 1-1.1: pin 3: 04  
[20.601348] usb 1-1.1: pin 4: 04  
[20.601358] usb 1-1.1: pin 5: 04  
[20.601369] usb 1-1.1: pin 6: 00  
[20.601379] usb 1-1.1: pin 7: 02  
[20.601390] usb 1-1.1: pin 8: 04  
[20.601401] usb 1-1.1: pin 9: 04  
[20.601411] usb 1-1.1: pin 10: 04  
[20.623182] mangoh: registered platform driver  
[20.623569] mangoh red mangoh red: mangoh\_red\_probe(): probe  
[22.206098] pil-q6v5-mss 4080000.qcom,mss: modem: Brought out of reset  
[22.259539] Starting psmd: done  
[22.283012] pil-q6v5-mss 4080000.qcom,mss: Subsystem error monitoring/handling services are up  
[22.283081] pil-q6v5-mss 4080000.qcom,mss: modem: Power/Clock ready interrupt received  
[22.283494] M-Notify: General: 7  
[22.361248] PSM: Found config file ARGV /data/psm  
[22.361312] PSM: PSMD Start  
[22.363240] PSM: server\_config\_path /data/psm/server\_config  
[22.369260] PSM: Path for PSM configuration: /data/psm  
[22.369888] PSM: modem\_flag\_path /data/psm/modem\_flag  
[22.380439] PSM: backup\_nv\_path /data/psm/psm\_nv\_backup.txt  
[22.384364] PSM: Load modem flag: 1  
[22.384455] PSM: Modem Loaded  
[22.428270] diag: In diag\_send\_feature\_mask\_update, control channel is not open, p: 0, c1017114  
[22.437104] apr\_tal:Modem Is Up  
[22.939448] msm\_thermal:set\_enabled enabled = 0  
[23.048833] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to create SEC\_MI2S\_RX Port Mixer debugfs file  
[23.147213] ++++ /etc/rcS.d/S50power\_config → ENABLE-FTRACE  
[23.400644] PSM: DMS Ind register - result: 0, error: 0  
[23.408970] PSM: Oprt mode event report req qmi response - result: 0, error: 0  
[23.409577] PSM: result - 0 error - 0  
[23.409630] PSM: Modem oprt mode - 0  
[23.412425] PSM: backup\_nv\_path /data/psm/psm\_nv\_backup.txt  
[23.417971] PSM: Supported: 0  
[23.418042] PSM: Log and QMI Init completed  
[23.418081] PSM: Supported: 0  
[23.418322] PSM: Core server init completed  
[23.418668] PSM: Client and event thread created  
[23.673033] sps:BAM 0x04044000 is registered.  
[23.673281] sps:BAM 0x04044000 (va:0xd1820000) enabled: ver:0x27, number of pipes:6  
[23.794330] eMBMs Tunneling Module:start  
[25.412206] Starting QCMAP\_ConnectionManager: QCMAP:start  
[25.449295] done  
[25.562517] Starting qti: QTI:start  
[25.630196] mangoh red mangoh red: mapping eeprom  
[25.630510] at24 4-0051: 4096 byte at24 EEPROM, read-only, 0 bytes/write  
[25.631480] sps:BAM 0x07884000 (va:0xd09c0000) enabled: ver:0x18, number of pipes:24  
[25.661497] done  
[25.708722] IPv6: ADDRCONF(NETDEV\_UP): ecm0: link is not ready  
[25.726848] QCMAP:Start Main  
[25.773791] USB QCMAP NL IOCTL Snd GETNEIGH Succ  
[25.794747] USB QCMAP NL IOCTL Snd GETNEIGH Succ  
[25.971898] QCMAP:Start DHCP server`Preformatted text`  
[25.992325] QCMAP:DHCP server started  
[26.028856] Detected mangOH Red board revision: dv6  
[26.028916] mangoh red mangoh red: mapping i2c switch  
[26.029210] pca954x 4-0071: GPIO lookup for consumer reset  
[26.029224] pca954x 4-0071: using lookup tables for GPIO lookup  
[26.029238] pca954x 4-0071: lookup for GPIO reset failed  
[26.030331] i2c i2c-4: Added multiplexed i2c bus 5  
[26.031374] i2c i2c-4: Added multiplexed i2c bus 6  
[26.031874] i2c i2c-4: Added multiplexed i2c bus 7  
[26.032354] i2c i2c-4: Added multiplexed i2c bus 8  
[26.032369] pca954x 4-0071: registered 4 multiplexed busses for I2C switch pca9546  
[26.032396] mangoh red mangoh red: mapping gpio expander  
[26.042384] gpiochip\_find\_base: found new base at 793  
[26.042681] gpiochip\_add: registered GPIOs 793 to 808 on device: sx1509q  
[26.046759] mangoh red mangoh red: mapping accelerometer  
[26.139063] mangoh red mangoh red: mapping bmp280 pressure sensor  
[26.139533] 4-0076 supply vddd not found, using dummy regulator  
[26.139597] 4-0076 supply vdda not found, using dummy regulator  
[26.141667] bmp280 4-0076: GPIO lookup for consumer reset  
[26.141681] bmp280 4-0076: using lookup tables for GPIO lookup  
[26.141694] bmp280 4-0076: lookup for GPIO reset failed  
[26.144468] mangoh red mangoh red: mapping bq24296 driver  
[26.161507] mangoh red mangoh red: mapping bq27426 battery gauge  
[26.161752] bq27xxx-battery 6-0055: BQ27xx probe  
[26.161770] bq27xxx-battery 6-0055: BQ27xx probe battery id  
[26.161788] bq27xxx-battery 6-0055: BQ27xx probe battery setup  
[26.161800] bq27xxx-battery 6-0055: in the setup  
[26.161811] bq27xxx-battery 6-0055: in the setup second break  
[26.161821] bq27xxx-battery 6-0055: in the setup third break  
[26.161832] bq27xxx-battery 6-0055: in the setup fourth break  
[26.162430] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv\_addr:0x55 MSTR\_STS:0x0d1343c8 OPER:0x00000010  
[26.177257] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv\_addr:0x55 MSTR\_STS:0x0d1343c8 OPER:0x00000010  
[26.193863] bq27xxx-battery 6-0055: error reading voltage  
[26.198233] power\_supply BQ27246: driver failed to report `voltage_now' property: -107 [26.214917] bq27xxx-battery 6-0055: in the setup fifth break [26.214936] bq27xxx-battery 6-0055: in the setting first break [26.214947] bq27xxx-battery 6-0055: in the setting third break [26.215926] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:3) mode:FIFO slv_addr:0x55 MSTR_STS:0x051363c8 OPER:0x00000090 [26.230768] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:3) mode:FIFO slv_addr:0x55 MSTR_STS:0x051363c8 OPER:0x00000090 [26.247116] bq27xxx-battery 6-0055: bus error on unseal: -107 [26.252169] bq27xxx-battery 6-0055: in the setup sixth break [26.252590] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x55 MSTR_STS:0x011363c8 OPER:0x00000010 [26.267875] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x55 MSTR_STS:0x011363c8 OPER:0x00000010 [26.284263] bq27xxx-battery 6-0055: in the setup seventh break [26.284282] bq27xxx-battery 6-0055: in the setup eigth break [26.285462] insmod (924) used greatest stack depth: 1064 bytes left [26.287033] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x55 MSTR_STS:0x0d1343c8 OPER:0x00000010 [26.301875] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x55 MSTR_STS:0x0d1343c8 OPER:0x00000010 [26.325450] mt7697q mt7697spi_init(): 'mt7697q' initialize [26.456589] bq27xxx-battery 6-0055: error reading voltage [26.530273] power_supply BQ27246: driver failed to report `voltage\_now’ property: -107  
[26.552020] spi\_master spi32766: mt7697spi\_init(): find SPI device(‘spi32766.0’)  
[26.552047] spi\_master spi32766: mt7697spi\_init(): dev(‘mt7697’) mode(0) max speed(12000000) CS(0) bits/word(8)  
[26.569897] spi spi32766.0: mt7697spi\_init(): request irq(60)  
[26.569983] spi spi32766.0: mt7697spi\_init(): ‘mt7697q’ initialized  
[26.574953] mt7697serial init  
[26.575766] mt7697serial mt7697serial: mt7697\_uart\_probe(): init  
[26.575791] mt7697serial mt7697serial: mt7697\_uart\_probe(): ‘mt7697serial’ initialized  
[27.953679] QTI:USB tethered modem SMD port opened  
[29.594166] QCMAP:Init Complete  
[30.032784] USB QCMAP NL IOCTL Snd GETNEIGH Succ  
[30.037092] gpio\_check\_and\_wake: wake-n\_gpio26 STATE=WAKEUP  
[30.043695] swimcu\_calibrate\_event\_handle: MCU calibrate completed with remaining time 0  
[30.043722] swimcu\_lpo\_calibrate\_calc: MCU time=30000 vs MDM time=29608  
[30.043740] gpio\_check\_and\_wake: wake-n\_gpio26 STATE=SLEEP  
[33.786372] IPv6: ADDRCONF(NETDEV\_CHANGE): ecm0: link becomes ready  
[34.019972] QTI:LINK\_UP Processed  
[34.024218] QTI:ECM mode  
[34.064415] QTI:LINK\_UP message posted  
[34.751813] gpio\_sync\_ri: RI owner is Modem  
[34.751840] gpio\_map\_name\_to\_num: find GPIO 11  
[34.751850] export\_store: Export GPIO: 11  
[34.751875] gpio\_sync\_ri: RI owner is Modem  
[34.751889] gpiod\_export: sierra–find GPIO,chipdev = -824015856,chipngpio = 80,chipbase = 0  
[34.762600] gpio\_sync\_ri: RI owner is Modem  
[34.762626] gpio\_map\_name\_to\_num: find GPIO 77  
[34.762637] export\_store: Export GPIO: 77  
[34.762660] gpio\_sync\_ri: RI owner is Modem  
[34.762673] gpiod\_export: sierra–find GPIO,chipdev = -824015856,chipngpio = 80,chipbase = 0  
[34.773616] gpio\_sync\_ri: RI owner is Modem  
[34.773643] gpio\_map\_name\_to\_num: find GPIO 37  
[34.773653] export\_store: Export GPIO: 37  
[34.773679] gpio\_sync\_ri: RI owner is Modem  
[34.773692] gpiod\_export: sierra–find GPIO,chipdev = -824015856,chipngpio = 80,chipbase = 0  
[34.782962] gpio\_sync\_ri: RI owner is Modem  
[34.782990] gpio\_map\_name\_to\_num: find GPIO 10  
[34.783000] export\_store: Export GPIO: 10  
[34.783026] gpio\_sync\_ri: RI owner is Modem  
[34.783040] gpiod\_export: sierra–find GPIO,chipdev = -824015856,chipngpio = 80,chipbase = 0  
[34.839015] gpio\_sync\_ri: RI owner is Modem  
[34.839042] gpio\_map\_name\_to\_num: find GPIO 9  
[34.839052] export\_store: Export GPIO: 9  
[34.839076] gpio\_sync\_ri: RI owner is Modem  
[34.839090] gpiod\_export: sierra–find GPIO,chipdev = -824015856,chipngpio = 80,chipbase = 0  
[42.379095] sierra\_tzdev\_open()\_753: sierra\_tzdev\_open\_times=1  
[42.381165] sierra\_tzdev\_ioctl()\_line679: TZDEV\_IOCTL\_SEAL\_REQ: plain\_data\_len:2048, seal\_data\_len:2072, rc=0  
[42.381221] sierra\_tzdev\_release()\_760: tzdev\_driver\_open\_times=0  
[42.381527] sierra\_tzdev\_open()\_753: sierra\_tzdev\_open\_times=1  
[42.382823] sierra\_tzdev\_ioctl()\_line722: TZDEV\_IOCTL\_UNSEAL\_REQ: sealed data len:57, plain\_data\_len:33, rc=0  
[42.382842] sierra\_tzdev\_release()\_760: tzdev\_driver\_open\_times=0  
[42.400526] sierra\_tzdev\_open()\_753: sierra\_tzdev\_open\_times=1  
[42.401833] sierra\_tzdev\_ioctl()\_line722: TZDEV\_IOCTL\_UNSEAL\_REQ: sealed data len:56, plain\_data\_len:32, rc=0  
[42.401854] sierra\_tzdev\_release()\_760: tzdev\_driver\_open\_times=0  
[42.404394] sierra\_tzdev\_open()\_753: sierra\_tzdev\_open\_times=1  
[42.405682] sierra\_tzdev\_ioctl()\_line722: TZDEV\_IOCTL\_UNSEAL\_REQ: sealed data len:40, plain\_data\_len:16, rc=0  
[42.405704] sierra\_tzdev\_release()\_760: tzdev\_driver\_open\_times=0  
[42.412997] sierra\_tzdev\_open()\_753: sierra\_tzdev\_open\_times=1  
[42.414347] sierra\_tzdev\_ioctl()\_line722: TZDEV\_IOCTL\_UNSEAL\_REQ: sealed data len:54, plain\_data\_len:30, rc=0  
[42.414370] sierra\_tzdev\_release()\_760: tzdev\_driver\_open\_times=0  
[43.816901] nf\_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.  
[86.400795] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv\_addr:0x55 MSTR\_STS:0x0d1300c8 OPER:0x00000010  
[86.415565] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv\_addr:0x55 MSTR\_STS:0x0d1300c8 OPER:0x00000010  
[121.441527] sierra\_startup\_monitor  
[253.619390] gpio\_sync\_ri: RI owner is Modem  
[253.619433] gpio\_map\_name\_to\_num: find GPIO 38  
[253.619457] export\_store: Export GPIO: 38  
[253.619512] gpio\_sync\_ri: RI owner is Modem  
[253.619545] gpiod\_export: sierra–find GPIO,chipdev = -824015856,chipngpio = 80,chipbase = 0

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [February 27, 2023, 1:17pm UTC](https://mangoh.discourse.group/t/using-usb-connection-to-ethernet-iot-card-eth0-not-appared/10243/5 "2023-02-27T13:17:14Z")

</div>

then seems to be hardware issue…

have you tried the USB thumb drive to verify if HSIC pin are working fine?

BTW, what is the return of ATI8?

---

<div class="post-metadata">

**Author:** ![lucastrias](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@lucastrias](https://mangoh.discourse.group/u/lucastrias)\
**Post date:** [February 27, 2023, 1:31pm UTC](https://mangoh.discourse.group/t/using-usb-connection-to-ethernet-iot-card-eth0-not-appared/10243/6 "2023-02-27T13:31:49Z")

</div>

Apparantly it is working fine,:  
root@swi-mdm9x28-wp:~# ls /dev/sda\*  
/dev/sda /dev/sda1  
root@swi-mdm9x28-wp:~# mkdir “/tmp/usbflash”  
root@swi-mdm9x28-wp:~# /bin/mount -t auto -o sync /dev/sda1 “/tmp/usbflash”  
root@swi-mdm9x28-wp:~#  
root@swi-mdm9x28-wp:~# ls /tmp/usbflash  
2021-2022\_CoursInfostageAERO4\_Semestre1.pdf Pr?avis.docx  
2021-2022\_Trias\_lucas\_EVALUATION\_TUTEUR\_SECOND\_CYCLE\_050722.xls Sujets 2020  
AUTORUN.INF System Volume Information  
Arduino 2 i?me round TP\_journal\_du\_vaisseau\_spatial.ino  
CV Thomas Charbonnet.pdf Wanted.csv  
CV\_LY\_Alexandre.pdf officiel  
CV\_Lucas\_Trias\_2022.pdf stage\_rapport  
DS GdP.xlsx

I see what my USB key have

---

<div class="post-metadata">

**Author:** ![lucastrias](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@lucastrias](https://mangoh.discourse.group/u/lucastrias)\
**Post date:** [February 27, 2023, 1:33pm UTC](https://mangoh.discourse.group/t/using-usb-connection-to-ethernet-iot-card-eth0-not-appared/10243/7 "2023-02-27T13:33:06Z")

</div>

That is what it return for ati8:  
root@swi-mdm9x28-wp:~# microcom /dev/ttyAT  
ati8  
Legato Ver: 20.04.0\_a90fff04ae264fada2fc0176ad0e9467  
Yocto Ver: SWI9X07Y\_02.28.03.05 2019-07-08\_12:55:31  
OS Ver: Linux version 3.18.131 (oe-user@oe-host) (gcc version 7.3.0 (GCC) ) #1 PREEMPT Mon Jul 8 12:20:50 UTC 2019  
LK Ver: SWI9X07Y\_02.28.03.05  
RootFS Ver: SWI9X07Y\_02.28.03.05 2019-07-08\_12:55:31  
UserFS Ver: unknown  
MCU Ver: 002.011

OK  
but i don’t see any issue.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [February 27, 2023, 2:34pm UTC](https://mangoh.discourse.group/t/using-usb-connection-to-ethernet-iot-card-eth0-not-appared/10243/8 "2023-02-27T14:34:02Z")

</div>

Do you have another ethernet iot card to test?  
I suspect this is hardware issue of iot card

---

<div class="post-metadata">

**Author:** ![lucastrias](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@lucastrias](https://mangoh.discourse.group/u/lucastrias)\
**Post date:** [February 27, 2023, 3:52pm UTC](https://mangoh.discourse.group/t/using-usb-connection-to-ethernet-iot-card-eth0-not-appared/10243/9 "2023-02-27T15:52:42Z")

</div>

Unfortunately i have no other ethernet iot card to test, i test with another iot card thinking it was an ethernet one but it was not.

For information i had an TALON Marage-PIFA card, and maybe it is because it a wifi card mor than an ethernet card that it not work.

Anyway i am sorry to have solicite you and lost your time for it, and I am greatly thankful for your quick reply.
