# MC7354 not work on Linux after connecting to Windows

**URL:** <https://forum.sierrawireless.com/t/mc7354-not-work-on-linux-after-connecting-to-windows/8006>\
**Category:** MC/EM Series\
**Created:** [June 18, 2015, 12:33pm UTC](https://forum.sierrawireless.com/t/mc7354-not-work-on-linux-after-connecting-to-windows/8006 "2015-06-18T12:33:13Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![mavstuff](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mavstuff](https://forum.sierrawireless.com/u/mavstuff)\
**Post date:** [June 18, 2015, 12:33pm UTC](https://forum.sierrawireless.com/t/mc7354-not-work-on-linux-after-connecting-to-windows/8006/1 "2015-06-18T12:33:13Z")

</div>

Dear Sierra Wireless support!

I have 2 identical MC7354 modems.

I have connected one of them to WIndows, installed Windows drivers “GenericDriverSetup\_Build4277” and “Skylight\_Generic\_Build4260.msi” the modem works OK on Windows BUT 1) does not work on LInux 2) does not expose nor COM port nor modem to issue AT commands

Second modem has been never connected to Windows, and it works OK on Linux with GobiNet and GobiSerial drivers. I was able to connect to 3G network with Sakis3G and download data with no problem.

My question is: how do I get back first modem to work on Linux? Please help me!

---

<div class="post-metadata">

**Author:** ![Rex\_alex](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@Rex\_alex](https://forum.sierrawireless.com/u/Rex_alex)\
**Post date:** [June 24, 2015, 10:21am UTC](https://forum.sierrawireless.com/t/mc7354-not-work-on-linux-after-connecting-to-windows/8006/2 "2015-06-24T10:21:15Z")

</div>

Hi,  
can you share your syslog to check the root cause of this issue?

Thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![Brio3GMaster](https://avatars.discourse-cdn.com/v4/letter/b/76d3ee/32.png) [@Brio3GMaster](https://forum.sierrawireless.com/u/Brio3GMaster)\
**Post date:** [June 29, 2015, 1:06pm UTC](https://forum.sierrawireless.com/t/mc7354-not-work-on-linux-after-connecting-to-windows/8006/3 "2015-06-29T13:06:08Z")

</div>

I have the exact same problem. The modem that has been plugged to Windows works properly in Windows. I get a network connectivity instantly. If I plug it back to my Linux board (which uses the GobiNet driver), it doesn’t show its /dev/qcqmiX interfaces nor its usbx network interfaces. Why is it? I have attached my dmesg output. I would be curious to compare it with OP’s one.  
[dmesg output.txt](https://forum.sierrawireless.com/uploads/short-url/yGuQKv1gYMJhdROc6iXY6BNabbX.txt) (16.3 KB)

---

<div class="post-metadata">

**Author:** ![dlegette](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@dlegette](https://forum.sierrawireless.com/u/dlegette)\
**Post date:** [July 15, 2015, 4:45pm UTC](https://forum.sierrawireless.com/t/mc7354-not-work-on-linux-after-connecting-to-windows/8006/4 "2015-07-15T16:45:03Z")

</div>

Very interested in hearing the solution here as I have the same problem. Had a MC7354 working in Linux and moved to a Windows 8 box to flash the modem the AT&T approved FW. Now when the unit is returned to Linux none of the USB serial ports are enumerated and I only get a single QMI port from the modem which doesn’t allow AT commands to issued to the unit. I appears the flash utility may have switched an operating modes.

---

<div class="post-metadata">

**Author:** ![mavstuff](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mavstuff](https://forum.sierrawireless.com/u/mavstuff)\
**Post date:** [September 21, 2015, 8:54am UTC](https://forum.sierrawireless.com/t/mc7354-not-work-on-linux-after-connecting-to-windows/8006/5 "2015-09-21T08:54:21Z")

</div>

I do not have Linux box right now, but here is the USB configuration taken by Usblyzer software under Windows. Seems like device has some configuration errors: [usb-device-descriptors.zip](https://forum.sierrawireless.com/uploads/short-url/5FrUwVFNTRs7KwfA6g1P0lzEf8G.zip) (2.63 KB)

---

<div class="post-metadata">

**Author:** ![mavstuff](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mavstuff](https://forum.sierrawireless.com/u/mavstuff)\
**Post date:** [September 21, 2015, 9:29am UTC](https://forum.sierrawireless.com/t/mc7354-not-work-on-linux-after-connecting-to-windows/8006/6 "2015-09-21T09:29:29Z")

</div>

Here is dmesg output on Linux. Notice “config 1 has invalid interface number”

 ![](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/3/37f8a0117e8dce9fbd8f36dccce64383fd80c65a.jpg)

---

<div class="post-metadata">

**Author:** ![dl5162](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/dl5162/32/2169_2.png) [@dl5162](https://forum.sierrawireless.com/u/dl5162)\
**Post date:** [September 21, 2015, 12:23pm UTC](https://forum.sierrawireless.com/t/mc7354-not-work-on-linux-after-connecting-to-windows/8006/7 "2015-09-21T12:23:31Z")

</div>

> [@mavstuff](#):
>
> Here is dmesg output on Linux. Notice “config 1 has invalid interface number”

This is normal. It is because the interfaces aren’t numbered consecutively. The numbering is instead used for function mapping. The warnings are harmless.

IMHO, the warning is more confusing than useful, although formally correct. But it has “always” been there, and some people find it useful. See the discussion in this thread for details:  
[spinics.net/lists/linux-usb/msg77499.html](http://www.spinics.net/lists/linux-usb/msg77499.html)

But back to your real problem (which is unrelated to the warning): Your modem is now configured with a single config having a single MBIM function. The modem should work fine with the Linux mainline cdc\_mbim driver and MBIM aware userspace applications like ModemManager or umbim. But from your report I guess you expect an AT command function and/or QMI functions?

It is possible to reconfigure the modem from Linux. But there aren’t any tools as far as I know, so it is a bit hackish. I’ve outlined the procedure here: [My MC7710 can't work on Linux after plug-in it to Windows8](https://forum.sierrawireless.com/t/my-mc7710-cant-work-on-linux-after-plug-in-it-to-windows8/7986/1)

Or you can ask Sierra Wireless for a tool to reverse the damage caused by their Windows driver/application…

---

<div class="post-metadata">

**Author:** ![mavstuff](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mavstuff](https://forum.sierrawireless.com/u/mavstuff)\
**Post date:** [September 21, 2015, 3:03pm UTC](https://forum.sierrawireless.com/t/mc7354-not-work-on-linux-after-connecting-to-windows/8006/8 "2015-09-21T15:03:30Z")

</div>

Thank you for your reply! Sierra wireless is silent on this issue. Their so-called service representative here in Ukraine knows nothing too.

I wonder how did you get those packets format? I am stuck at the 5th point, trying to change the current configuration. My response is different and nothing changes after it.

---

<div class="post-metadata">

**Author:** ![dl5162](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/dl5162/32/2169_2.png) [@dl5162](https://forum.sierrawireless.com/u/dl5162)\
**Post date:** [September 21, 2015, 5:10pm UTC](https://forum.sierrawireless.com/t/mc7354-not-work-on-linux-after-connecting-to-windows/8006/9 "2015-09-21T17:10:31Z")

</div>

> [@mavstuff](#):
>
> Thank you for your reply! Sierra wireless is silent on this issue. Their so-called service representative here in Ukraine knows nothing too.
> 
> I wonder how did you get those packets format? I am stuck at the 5th point, trying to change the current configuration. My response is different and nothing changes after it.

Please post what you’ve got, and I’ll take a look and see if I can understand what’s going on. You modem might have a different set of supported configurations.

---

<div class="post-metadata">

**Author:** ![mavstuff](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mavstuff](https://forum.sierrawireless.com/u/mavstuff)\
**Post date:** [September 23, 2015, 3:00pm UTC](https://forum.sierrawireless.com/t/mc7354-not-work-on-linux-after-connecting-to-windows/8006/10 "2015-09-23T15:00:14Z")

</div>

1. I issue command:  
echo 01 00 00 00 10 00 00 00 01 00 00 00 00 10 00 00 |xxd -r -p \>/dev/cdc-wdm0  
response:  
0000000: 01 00 00 80 10 00 00 00 01 00 00 00 00 00 00 00 …

then a command:  
4. Request a QMI DMS CID:

echo 03 00 00 00 40 00 00 00 05 00 00 00 01 00 00 00 00 00 00 00 d1 a3 0b c2 f9 7a 6e 43 bf 65 c7 e2 4f b0 f0 d3 01 00 00 00 01 00 00 00 10 00 00 00 01 0f 00 00 00 00 00 04 22 00 04 00 01 01 00 02 |xxd -r -p \>/dev/cdc-wdm0

response

0000010: 03 00 00 80 48 00 00 00 05 00 00 00 01 00 00 00 …H…  
0000020: 00 00 00 00 d1 a3 0b c2 f9 7a 6e 43 bf 65 c7 e2 …znC.e…  
0000030: 4f b0 f0 d3 01 00 00 00 00 00 00 00 18 00 00 00 O…  
0000040: 01 17 00 80 00 00 01 04 22 00 0c 00 02 04 00 00 …"…

I assume xx=04

1. Check the list of supported USB configurations:

echo 03 00 00 00 3d 00 00 00 07 00 00 00 01 00 00 00 00 00 00 00 d1 a3 0b c2 f9 7a 6e 43 bf 65 c7 e2 4f b0 f0 d3 01 00 00 00 01 00 00 00 0d 00 00 00 01 0c 00 00 02 04 00 06 00 5b 55 00 00 |xxd -r -p \>/dev/cdc-wdm0

I have no response on this command.

---

<div class="post-metadata">

**Author:** ![dl5162](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/dl5162/32/2169_2.png) [@dl5162](https://forum.sierrawireless.com/u/dl5162)\
**Post date:** [September 23, 2015, 6:54pm UTC](https://forum.sierrawireless.com/t/mc7354-not-work-on-linux-after-connecting-to-windows/8006/11 "2015-09-23T18:54:03Z")

</div>

> [@mavstuff](#):
>
> 1. I issue command:  
> echo 01 00 00 00 10 00 00 00 01 00 00 00 00 10 00 00 |xxd -r -p \>/dev/cdc-wdm0  
> response:  
> 0000000: 01 00 00 80 10 00 00 00 01 00 00 00 00 00 00 00 …
> 
> then a command:  
> 4. Request a QMI DMS CID:
> 
> echo 03 00 00 00 40 00 00 00 05 00 00 00 01 00 00 00 00 00 00 00 d1 a3 0b c2 f9 7a 6e 43 bf 65 c7 e2 4f b0 f0 d3 01 00 00 00 01 00 00 00 10 00 00 00 01 0f 00 00 00 00 00 04 22 00 04 00 01 01 00 02 |xxd -r -p \>/dev/cdc-wdm0
> 
> response
> 
> 0000010: 03 00 00 80 48 00 00 00 05 00 00 00 01 00 00 00 …H…  
> 0000020: 00 00 00 00 d1 a3 0b c2 f9 7a 6e 43 bf 65 c7 e2 …znC.e…  
> 0000030: 4f b0 f0 d3 01 00 00 00 00 00 00 00 18 00 00 00 O…  
> 0000040: 01 17 00 80 00 00 01 04 22 00 0c 00 02 04 00 00 …"…
> 
> I assume xx=04

This is not correct. The last bytes are missing here. The final part should look like this:  
22 00 0c 00 02 04 00 00 00 00 00 01 02 00 02 xx

This is due to buffering in the reader. You won’t see the rest of this message until there is more data available. I’m afraid that is a challenge of this method. Did you use my suggested workaround of piping from dd:  
dd if=/dev/cdc-wdm0 bs=1 |xxd -g1  
?

Maybe that isn’t enough?

> [@](#):
>
> 1. Check the list of supported USB configurations:
> 
> echo 03 00 00 00 3d 00 00 00 07 00 00 00 01 00 00 00 00 00 00 00 d1 a3 0b c2 f9 7a 6e 43 bf 65 c7 e2 4f b0 f0 d3 01 00 00 00 01 00 00 00 0d 00 00 00 01 0c 00 00 02 04 00 06 00 5b 55 00 00 |xxd -r -p \>/dev/cdc-wdm0
> 
> I have no response on this command.

Yes, that is expected when the client ID is not allocated.

Someone (right 🙂 should create a proper tool for doing this…

---

<div class="post-metadata">

**Author:** ![KiernanV](https://avatars.discourse-cdn.com/v4/letter/k/c6cbf5/32.png) [@KiernanV](https://forum.sierrawireless.com/u/KiernanV)\
**Post date:** [October 11, 2015, 3:19am UTC](https://forum.sierrawireless.com/t/mc7354-not-work-on-linux-after-connecting-to-windows/8006/12 "2015-10-11T03:19:13Z")

</div>

I had the same problem with mine. But the only way i could get it to expose serial ports for the MC7354 was to upgrade it to the 06.03.32.02 firmware, do an RMA reset command to OEM settings, downgrade it back to the version 5 firmware i wanted to use, connect to the AT command port and switch the USBCOMP setting to 8 (DM, MODEM, NMEA, MBIM).

The tricky part is (at least doing it through windows 8.1 or 10) that you need to be really quick and issue the proper commands to switch the composition before the Windows OS resets the device to MBIM only. (About 20 seconds) Otherwise you’re back to square one.

If you’re able to do this method, i would recommend using composition 8 only as it seems to be the only one that windows does not try to force back to MBIM only. I suspect this is due to the MBIM port already being active in it so the OS doesn’t bother switching the device. You still CAN use the QMI enabled compositions but the duration varies in how long it takes for your computer to realize that the compositions have been changed and try to get MBIM back somehow.

This problem only seems to affect the device if run on Windows 8/8.1/10 only. Windows 7 does not seem to try and force a similar change.  
So i’m starting to wonder if the issue is not with the device or firmware itself, but a change in how the newer versions of windows are handling mobile broadband devices?

**EDIT**

This fix resolved this issue for me.  
See this thread.

[https://forum.sierrawireless.com/t/my-mc7710-cant-work-on-linux-after-plug-in-it-to-windows8/7986/1](https://forum.sierrawireless.com/t/my-mc7710-cant-work-on-linux-after-plug-in-it-to-windows8/7986/1)

---

<div class="post-metadata">

**Author:** ![mavstuff](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mavstuff](https://forum.sierrawireless.com/u/mavstuff)\
**Post date:** [October 15, 2015, 3:48pm UTC](https://forum.sierrawireless.com/t/mc7354-not-work-on-linux-after-connecting-to-windows/8006/13 "2015-10-15T15:48:42Z")

</div>

The solution worked for me!  
[url][https://forum.sierrawireless.com/t/my-mc7710-cant-work-on-linux-after-plug-in-it-to-windows8/7986/1](https://forum.sierrawireless.com/t/my-mc7710-cant-work-on-linux-after-plug-in-it-to-windows8/7986/1)]  
Thank you very much!!!
