# WP7607-2 UART Comport problem when enable ADB port

**URL:** <https://forum.sierrawireless.com/t/wp7607-2-uart-comport-problem-when-enable-adb-port/17579>\
**Category:** WP Series\
**Created:** [September 16, 2019, 7:05am UTC](https://forum.sierrawireless.com/t/wp7607-2-uart-comport-problem-when-enable-adb-port/17579 "2019-09-16T07:05:37Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![cuvanhung1996](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@cuvanhung1996](https://forum.sierrawireless.com/u/cuvanhung1996)\
**Post date:** [September 16, 2019, 7:05am UTC](https://forum.sierrawireless.com/t/wp7607-2-uart-comport-problem-when-enable-adb-port/17579/1 "2019-09-16T07:05:37Z")

</div>

Hi all. I have problem with WP 7607-2 Seri. When I enable ADB port (“AT!USBCOMP=1,1,10F”) to use with SSH connection via MobaXTerm, after open ADB port successfully I can’t access to UART port. I can’t send AT command to it. When I trying to open UART port, it returned “Invalid argument comport”. But when I disable ADB port, it works correctly, I can send AT command and open UART comport. Help me please, thanks.  
My firmware is: Legato Ver: 19.04.0\_6fbb8d1e27e320ebcd2971fdae7df87f  
Yocto Ver: SWI9X07Y\_02.31.01.00 2019-06-14

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [September 16, 2019, 7:53am UTC](https://forum.sierrawireless.com/t/wp7607-2-uart-comport-problem-when-enable-adb-port/17579/2 "2019-09-16T07:53:20Z")

</div>

Seems the ADB port is not supposed to be used.

at!usbcomp=?  
!USBCOMP:  
AT!USBCOMP=,,  
 - configuration index to which the composition applies, should be 1

- 1:Generic

- DIAG - 0x00000001,  
NMEA - 0x00000004,  
MODEM - 0x00000008,  
RAWDAT - 0x00000040,  
RMNET0 - 0x00000100,  
RMNET1 - 0x00000400,  
RMNET2 - 0x00000800,  
AUDIO - 0x00010000,  
ECM - 0x00080000,  
NCM - 0x00400000,  
e.g.  
9 - diag,modem interfaces enabled  
10D - diag,nmea,modem,rmnet0 interfaces enabled

OK  
ati3  
Manufacturer: Sierra Wireless, Incorporated  
Model: WP7608  
Revision: SWI9X07Y\_02.28.03.03 000000 jenkins 2019/05/21 03:33:04  
IMEI: 352913090100734  
IMEI SV: 6  
FSN: XG805285330204  
+GCAP: +CGSM

OK  
ati8  
Legato Ver: 19.02.0\_4cb954265427b8c2c668a010ff5be274\_modified  
Yocto Ver: SWI9X07Y\_02.28.03.03 2019-05-21\_07:00:11  
OS Ver: Linux version 3.18.131 (oe-user@oe-host) (gcc version 7.3.0 (GCC) ) #1 PREEMPT Tue May 21 06:09:42 UTC 2019  
LK Ver: SWI9X07Y\_02.28.03.03  
RootFS Ver: SWI9X07Y\_02.28.03.03 2019-05-21\_07:00:11  
UserFS Ver: unknown  
MCU Ver: 002.011

OK

---

<div class="post-metadata">

**Author:** ![cuvanhung1996](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@cuvanhung1996](https://forum.sierrawireless.com/u/cuvanhung1996)\
**Post date:** [September 16, 2019, 8:28am UTC](https://forum.sierrawireless.com/t/wp7607-2-uart-comport-problem-when-enable-adb-port/17579/3 "2019-09-16T08:28:56Z")

</div>

Thank Jyijyi so much! Bellow is my logfile

"at!usbcomp?

Config Index: 1  
Config Type: 1 (Generic)  
Interface bitmask: 0008010D (diag,nmea,modem,rmnet0,ecm)

OK  
at!usbcomp=?

!USBCOMP:  
AT!USBCOMP=,,  
 - configuration index to which the composition applies, should be 1

- 1:Generic

- DIAG - 0x00000001,  
ADB - 0x00000002,  
NMEA - 0x00000004,  
MODEM - 0x00000008,  
RAWDAT - 0x00000040,  
RMNET0 - 0x00000100,  
RMNET1 - 0x00000400,  
RMNET2 - 0x00000800,  
AUDIO - 0x00010000,  
ECM - 0x00080000,  
NCM - 0x00400000,  
e.g.  
B - diag,adb,modem interfaces enabled  
10F - diag,adb,nmea,modem,rmnet0 interfaces enabled

OK"

It’s my logfile when I check usbcomp. My problem is UART port not work when ADB port open. If I set value of usbcomp to “0008010F”, then adb port will open and I can’t send AT command to module WP via UART port. If I set value of usbcomp to “0008010D”, then adb port will closed and disable and I can send AT command to module. ADB port and UART port can’t not working correctly at the same time. I trying upgrade and downgrade to new and old firmware version but problem not fix. ☹

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [September 16, 2019, 8:34am UTC](https://forum.sierrawireless.com/t/wp7607-2-uart-comport-problem-when-enable-adb-port/17579/4 "2019-09-16T08:34:21Z")

</div>

not sure why I cannot see ADB port with WP7607-1:  
at!usbcomp=?  
!USBCOMP:  
AT!USBCOMP=,,  
 - configuration index to which the composition applies, should be 1

- 1:Generic

- DIAG - 0x00000001,  
NMEA - 0x00000004,  
MODEM - 0x00000008,  
RAWDAT - 0x00000040,  
RMNET0 - 0x00000100,  
RMNET1 - 0x00000400,  
RMNET2 - 0x00000800,  
AUDIO - 0x00010000,  
ECM - 0x00080000,  
NCM - 0x00400000,  
e.g.  
9 - diag,modem interfaces enabled  
10D - diag,nmea,modem,rmnet0 interfaces enabled

OK  
ati3  
Manufacturer: Sierra Wireless, Incorporated  
Model: WP7607-1  
Revision: SWI9X07Y\_02.28.03.03 000000 jenkins 2019/05/21 03:33:04  
IMEI: 359780080500170  
IMEI SV: 6  
FSN: V2842570321010  
+GCAP: +CGSM

OK  
ati8  
Legato Ver: 19.02.0\_4cb954265427b8c2c668a010ff5be274  
Yocto Ver: SWI9X07Y\_02.28.03.03 2019-05-21\_07:00:11  
OS Ver: Linux version 3.18.131 (oe-user@oe-host) (gcc version 7.3.0 (GCC) ) #1 PREEMPT Tue May 21 06:09:42 UTC 2019  
LK Ver: SWI9X07Y\_02.28.03.03  
RootFS Ver: SWI9X07Y\_02.28.03.03 2019-05-21\_07:00:11  
UserFS Ver: unknown  
MCU Ver: 002.011

OK

---

<div class="post-metadata">

**Author:** ![cuvanhung1996](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@cuvanhung1996](https://forum.sierrawireless.com/u/cuvanhung1996)\
**Post date:** [September 16, 2019, 8:42am UTC](https://forum.sierrawireless.com/t/wp7607-2-uart-comport-problem-when-enable-adb-port/17579/5 "2019-09-16T08:42:55Z")

</div>

Thank Jyijyi! You can see in my attachment

 ![2019-09-16_154116](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/1/1658929d0ad1bde34cc883e5fc477686e892b688.png)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [September 16, 2019, 8:44am UTC](https://forum.sierrawireless.com/t/wp7607-2-uart-comport-problem-when-enable-adb-port/17579/6 "2019-09-16T08:44:14Z")

</div>

Did you level 3 unlock the module? ADB port is not supposed be used by user.  
Manufacturer: Sierra Wireless, Incorporated  
Model: WP7608  
Revision: SWI9X07Y\_02.28.03.03 000000 jenkins 2019/05/21 03:33:04  
IMEI: 352913090100734  
IMEI SV: 6  
FSN: XG805285330204  
+GCAP: +CGSM

OK  
at!entercnd=“A710”  
OK  
at!usbcomp=?  
!USBCOMP:  
AT!USBCOMP=,,  
 - configuration index to which the composition applies, should be 1

- 1:Generic

- DIAG - 0x00000001,  
NMEA - 0x00000004,  
MODEM - 0x00000008,  
RAWDAT - 0x00000040,  
RMNET0 - 0x00000100,  
RMNET1 - 0x00000400,  
RMNET2 - 0x00000800,  
AUDIO - 0x00010000,  
ECM - 0x00080000,  
NCM - 0x00400000,  
e.g.  
9 - diag,modem interfaces enabled  
10D - diag,nmea,modem,rmnet0 interfaces enabled

OK  
at!unlock=“A710”  
OK  
at!usbcomp=?  
!USBCOMP:  
AT!USBCOMP=,,  
 - configuration index to which the composition applies, should be 1

- 1:Generic

- DIAG - 0x00000001,  
ADB - 0x00000002,  
NMEA - 0x00000004,  
MODEM - 0x00000008,  
RAWDAT - 0x00000040,  
RMNET0 - 0x00000100,  
RMNET1 - 0x00000400,  
RMNET2 - 0x00000800,  
AUDIO - 0x00010000,  
ECM - 0x00080000,  
NCM - 0x00400000,  
e.g.  
B - diag,adb,modem interfaces enabled  
10F - diag,adb,nmea,modem,rmnet0 interfaces enabled

OK

---

<div class="post-metadata">

**Author:** ![cuvanhung1996](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@cuvanhung1996](https://forum.sierrawireless.com/u/cuvanhung1996)\
**Post date:** [September 16, 2019, 8:55am UTC](https://forum.sierrawireless.com/t/wp7607-2-uart-comport-problem-when-enable-adb-port/17579/7 "2019-09-16T08:55:16Z")

</div>

Yes! I have unlocked at level 3. After I open ADB port successfully, I can’t open UART port and send AT command to it. Error message when I trying open UART port is " Can not open COM port: Invalid Argument".  
But when I disable ADB port, UART port work correctly

 ![adb%20open%20tcp](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/f/f23e8a7c8aeacaaede3dda835ba7132ceb086b8c.png) ![error](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/2/26b2462492d6b4c0cd7d410e149a2e8e978fcd09.png) ![com](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/e/e35690131277f9d19c1757b117bfc027d57b5dc7.png)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [September 16, 2019, 8:56am UTC](https://forum.sierrawireless.com/t/wp7607-2-uart-comport-problem-when-enable-adb-port/17579/8 "2019-09-16T08:56:07Z")

</div>

BTW, how can you level 3 unlock the module?

---

<div class="post-metadata">

**Author:** ![cuvanhung1996](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@cuvanhung1996](https://forum.sierrawireless.com/u/cuvanhung1996)\
**Post date:** [September 16, 2019, 8:57am UTC](https://forum.sierrawireless.com/t/wp7607-2-uart-comport-problem-when-enable-adb-port/17579/9 "2019-09-16T08:57:08Z")

</div>

I used AT!UNLOCK=“A710”

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [September 16, 2019, 9:02am UTC](https://forum.sierrawireless.com/t/wp7607-2-uart-comport-problem-when-enable-adb-port/17579/10 "2019-09-16T09:02:29Z")

</div>

I can still enter AT command in the UART console:

root@swi-mdm9x28-wp:~# microcom /dev/ttyAT  
ati3  
Manufacturer: Sierra Wireless, Incorporated  
Model: WP7608  
Revision: SWI9X07Y\_02.28.03.03 000000 jenkins 2019/05/21 03:33:04  
IMEI: 352913090100734  
IMEI SV: 6  
FSN: XG805285330204  
+GCAP: +CGSM

OK  
at!entercnd=“A710”  
OK  
at!usbcomp?  
Config Index: 1  
Config Type: 1 (Generic)  
Interface bitmask: 0008010F (diag,adb,nmea,modem,rmnet0,ecm)

OK

---

<div class="post-metadata">

**Author:** ![cuvanhung1996](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@cuvanhung1996](https://forum.sierrawireless.com/u/cuvanhung1996)\
**Post date:** [September 16, 2019, 9:05am UTC](https://forum.sierrawireless.com/t/wp7607-2-uart-comport-problem-when-enable-adb-port/17579/11 "2019-09-16T09:05:26Z")

</div>

Yes! I can do the same as you. But I want to enter AT command in the UART console with AutoPilot , not use microcom -X /dev/ttyAT. Because I have to run automations test case.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [September 16, 2019, 9:19am UTC](https://forum.sierrawireless.com/t/wp7607-2-uart-comport-problem-when-enable-adb-port/17579/12 "2019-09-16T09:19:53Z")

</div>

I don’t see problem in UART1 as AT command port:

ati3  
Manufacturer: Sierra Wireless, Incorporated  
Model: WP7608  
Revision: SWI9X07Y\_02.28.03.03 000000 jenkins 2019/05/21 03:33:04  
IMEI: 352913090100734  
IMEI SV: 6  
FSN: XG805285330204  
+GCAP: +CGSM

OK  
at!entercnd=“A710”  
OK  
aT!mapuart?  
!MAPUART: 1,16

OK  
at!usbcomp?  
Config Index: 1  
Config Type: 1 (Generic)  
Interface bitmask: 0008010F (diag,adb,nmea,modem,rmnet0,ecm)

OK
