I am trying to get the BG95-M3 serial access over usb using linux but the ttyUSB is not populating. The dmesg log is as below
[ 88.401472] usb 1-1: new high-speed USB device number 5 using xhci_hcd
[ 88.554259] usb 1-1: New USB device found, idVendor=2c7c, idProduct=0700, bcdDevice= 0.00
[ 88.554263] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[ 88.554266] usb 1-1: Product: Quectel LPWA Module
[ 88.554268] usb 1-1: Manufacturer: Quectel, Incorporated
[ 88.554270] usb 1-1: SerialNumber: 9f240a9b
[ 88.584686] usbcore: registered new interface driver usbserial_generic
[ 88.584691] usbserial: USB Serial support registered for generic
root@XXX-debian:/dev# uname -a
Linux XXX-debian 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64 GNU/Linux
I figured out the issue. It was BIOS Smart boot which was causing issue. I simply terned it off and the ttyUSB ports started populating. This issue can also be solved by installing custom modules into the kernel and rebuilding the kernel as @SeanMollet suggested.
@SeanMollet it would be in the interest of the forum if you could share the exact instruction to follow to load these modules.
Hello, Iām also experiencing this phenomenon. I have a Linux device with version 5.10.41-yocto-standard and it does not recognize the BG95-M3 miniPCIe that Iāve installed. @SeanMollet how do I build their custom modules?
@Isaac.Wang-Q your driver compilled and at first when I plug my module there are 3 new ttyUSB* ports as expected. Unfortunatelly when I start interracting with the ports the driver crashes and the ports dissapear. If you want I could try to extract dmesg log when that happens.
Also before you sent your driver, I modified the one for kernel 5.3.1 to compile for my kernel and the result was the same. My modification was to just cast some elements to (void *) . Unfortunatelly thereās something else which has to be addressed.
@Isaac.Wang-Q Could you send me the serial drivers for 5.13 as well? I tried modifying the 5.3 version as I believe @hrm did, but i cannot communicate with the module over the /dev/ttyUSB2 device using minicom. It simply does not answer. I am very grateful for any help, thanks in advance!