# HL8518 UART Linux driver

**URL:** <https://forum.sierrawireless.com/t/hl8518-uart-linux-driver/25653>\
**Category:** IoT Modules\
**Tags:** feature-request, debug, faq\
**Created:** [December 1, 2021, 2:57pm UTC](https://forum.sierrawireless.com/t/hl8518-uart-linux-driver/25653 "2021-12-01T14:57:21Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![karthik.b](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@karthik.b](https://forum.sierrawireless.com/u/karthik.b)\
**Post date:** [December 1, 2021, 2:57pm UTC](https://forum.sierrawireless.com/t/hl8518-uart-linux-driver/25653/1 "2021-12-01T14:57:21Z")

</div>

Hi,  
I am trying to figure out if i have the HL8518 with me and if i want to interface it with some MicroProcessor which would be running Linux OS. What would be the Linux driver i would use ? I see USB drivers, but i could not find UART drivers which would drive HL8518 from Linux OS.  
Please let me know if we have in house driver or if i can use any generic driver for HL8518.

Regards  
Karthik

---

<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:** [December 1, 2021, 3:17pm UTC](https://forum.sierrawireless.com/t/hl8518-uart-linux-driver/25653/2 "2021-12-01T15:17:55Z")

</div>

Are you using dev kit?  
Dev kit uses physical uart, you need to buy a usb to serial cable for communication

---

<div class="post-metadata">

**Author:** ![karthik.b](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@karthik.b](https://forum.sierrawireless.com/u/karthik.b)\
**Post date:** [December 2, 2021, 5:59am UTC](https://forum.sierrawireless.com/t/hl8518-uart-linux-driver/25653/3 "2021-12-02T05:59:11Z")

</div>

I have a custom target and not a dev a kit. Today we are using AT commands for all the communications with the modem. We want to remove that and understand if a driver can create a network interface for applications in the user space to use.

---

<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:** [December 2, 2021, 6:06am UTC](https://forum.sierrawireless.com/t/hl8518-uart-linux-driver/25653/4 "2021-12-02T06:06:49Z")

</div>

If you remove it, you still need a port to do AT commamd.  
Will you use usb?

---

<div class="post-metadata">

**Author:** ![karthik.b](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@karthik.b](https://forum.sierrawireless.com/u/karthik.b)\
**Post date:** [December 2, 2021, 6:31am UTC](https://forum.sierrawireless.com/t/hl8518-uart-linux-driver/25653/5 "2021-12-02T06:31:57Z")

</div>

We don’t have a USB line with the modem right now.

---

<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:** [December 2, 2021, 6:51am UTC](https://forum.sierrawireless.com/t/hl8518-uart-linux-driver/25653/6 "2021-12-02T06:51:58Z")

</div>

did you processor have uart interface

---

<div class="post-metadata">

**Author:** ![karthik.b](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@karthik.b](https://forum.sierrawireless.com/u/karthik.b)\
**Post date:** [December 2, 2021, 6:57am UTC](https://forum.sierrawireless.com/t/hl8518-uart-linux-driver/25653/7 "2021-12-02T06:57:43Z")

</div>

So what i understand is that we can use a driver (which driver?) in the kernel space which will create a network interface for applications to use on the user space and we need a USB line also to execute some AT commands which is not handled by the driver. Is my understanding correct ?  
If so, do you know what are those special AT commands which the driver cannot handle over UART ? Also which driver are you suggesting we should use to get the network interface ?

Sorry for many questions 🙂

---

<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:** [December 2, 2021, 6:58am UTC](https://forum.sierrawireless.com/t/hl8518-uart-linux-driver/25653/8 "2021-12-02T06:58:56Z")

</div>

normally there is a /dev/ttyACM0 for your linux environment if your processor has UART interface

If you just want to use UART interface, only PPP dial up can be used to setup network interface.

---

<div class="post-metadata">

**Author:** ![karthik.b](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@karthik.b](https://forum.sierrawireless.com/u/karthik.b)\
**Post date:** [December 2, 2021, 7:02am UTC](https://forum.sierrawireless.com/t/hl8518-uart-linux-driver/25653/9 "2021-12-02T07:02:56Z")

</div>

Thanks @jyijyi . So i guess we will get a ppp0 network interface on the Linux environment. I was hoping the same driver would allow me to send the AT command through IOCTL from the user application.
