# PySerial not working with Telit modem and Sixfab Base HAT

**URL:** <https://community.sixfab.com/t/pyserial-not-working-with-telit-modem-and-sixfab-base-hat/1198>\
**Category:** 3G/4G&LTE Base HAT\
**Tags:** telit\
**Created:** [February 18, 2021, 7:49am UTC](https://community.sixfab.com/t/pyserial-not-working-with-telit-modem-and-sixfab-base-hat/1198 "2021-02-18T07:49:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefan\_junker](https://community.sixfab.com/letter_avatar_proxy/v4/letter/s/a4c791/32.png) [@stefan\_junker](https://community.sixfab.com/u/stefan_junker)\
**Post date:** [February 18, 2021, 7:49am UTC](https://community.sixfab.com/t/pyserial-not-working-with-telit-modem-and-sixfab-base-hat/1198/1 "2021-02-18T07:49:57Z")

</div>

I have successfully connected via USB TELIT LE910CE to a Jetson Nano with JetPack4.4. After startup, the module is recognized using Linux commands `lsusb` and `dmesg` and the 5 USB ports are created correct. I can send AT commands using `minicom -D /dev/ttyUSB2` and all is fine.

The problem starts when trying to use some Python code with serial commands, using `import serial`. These commands usually work fine on USB serial (eg also with UART), but it appears that the python codes do not work after module connection, especially there is no reply from the USB serial port when after sending `AT command`. It looks as if the kernel driver prevents using USB or is locked on the communication. Again, this is only with Python serial library while minicom terminal usage is fine.

Any idea…?
