I’m currently trying to test a Sierra module HL8518 with the suitable development kit. However, I was unable to find USB drivers for Linux distributions, though I cannot test the functionalities of my module.
Is there an other solution here than switching to a Windows distribution ?
HL8518 will us ethe standard CDC-ACM and ECM drivers present in most Linux distributions so no need to load new drivers. Depending on the at+kusbcomp setting in the unit you should see multiple /dev/ttyACM ports enumerate when plugging the USB into the system.
I have an issue with the HL8518 module coupled with a raspberry compute module 3 (based on default raspbian). The enumeration process seems not to complete as expected. The datasheet gives the following information
The factory preset value of the <mode> is 0.
Which is considered as CDC-ACM mode enabled.
Unfortunately, I see no creation of the expected /dev/ttyACMx ports. See the dmesg extract below :
[ 305.451514] Indeed it is in host mode hprt0 = 00021501
[ 305.661441] usb 1-1: new high-speed USB device number 3 using dwc_otg
[ 305.661506] Indeed it is in host mode hprt0 = 00001101
[ 305.901591] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
[ 305.901597] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 305.903828] hub 1-1:1.0: USB hub found
[ 305.903892] hub 1-1:1.0: 4 ports detected
If you’re using HL dev-kit, make sure USB cable connected with USB1_MAIN(CN901).
And make sure the HL8518 is power up correctly.
The PID/VID for HL8518 should be 0020/1519 if you set AT+KUSBCOMP=0.
In linux, you should see such dmesg log:
[41042.549072] usb 1-2: new high-speed USB device number 43 using xhci_hcd
[41042.760358] usb 1-2: New USB device found, idVendor=1519, idProduct=0020
[41042.760366] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[41042.760371] usb 1-2: Product: 7 CDC-ACM
[41042.760375] usb 1-2: Manufacturer: Comneon
[41042.760378] usb 1-2: SerialNumber: xxxxxxxxxxxxxxx
[41042.847730] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[41042.851667] cdc_acm 1-2:1.2: ttyACM1: USB ACM device
[41042.853680] cdc_acm 1-2:1.4: ttyACM2: USB ACM device
[41042.855390] cdc_acm 1-2:1.6: ttyACM3: USB ACM device
[41042.856913] cdc_acm 1-2:1.8: ttyACM4: USB ACM device
[41042.858618] cdc_acm 1-2:1.10: ttyACM5: USB ACM device
[41042.860036] cdc_acm 1-2:1.12: ttyACM6: USB ACM device