Openwrt barrier break with MC8705 Mini Card module


#1

Hi,

I’m bit struggle getting this MC8705 run on my openwrt barrier break. I have build and run on my router and i can confirm MC8705 is connected properly. However the OS seems failed to detect the card for some reason.

Do i need to install extra driver so that i can use MC8705 card?

root@Gargoyle:/# dmesg | grep tty
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz root=/dev/sda2 
rootfstype=ext4 rootwait console=ttyS0,38400n8 noinitrd
[    0.000000] console [ttyS0] enabled
[    0.438270] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
[    0.457148] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
[    8.160325] usb 1-2: Sierra USB modem converter now attached to ttyUSB0
[    8.213879] usb 1-2: Sierra USB modem converter now attached to ttyUSB1
[    8.274693] usb 1-2: Sierra USB modem converter now attached to ttyUSB2
[    8.337052] usb 1-2: Sierra USB modem converter now attached to ttyUSB3
[    8.391793] usb 1-2: Sierra USB modem converter now attached to ttyUSB4
[    8.447675] usb 1-2: Sierra USB modem converter now attached to ttyUSB5
[    8.507425] usb 1-2: Sierra USB modem converter now attached to ttyUSB6

root@Gargoyle:/# opkg list-installed | grep usb
kmod-ledtrig-usbdev - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-core - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-net - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-net-cdc-ether - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-net-cdc-mbim - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-net-cdc-ncm - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-net-sierrawireless - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-ohci - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-serial - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-serial-ipw - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-serial-option - 3.10.49-1-7c745cc448ed36a3954c9f92c8478955
kmod-usb-serial-sierrawireless - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-serial-wwan - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-uhci - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb-wdm - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb2 - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usb2-pci - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
kmod-usbip - 3.10.49-1-a9ce25fdf3b460ac31f527119dbcba8d
libusb-1.0 - 1.0.9-1
usb-modeswitch - 2014-07-18-01ecc3b9764d1dd89cf36ede0a2d98f9adb0cd33
usbutils - 007-1
root@Gargoyle:/#  modinfo sierra
module:         /lib/modules/3.10.49/sierra.ko
license:        GPL
depends:        usbserial,usbcore
root@Gargoyle:/# modinfo sierra_net
module:         /lib/modules/3.10.49/sierra_net.ko
license:        GPL
depends:        usbnet,usbcore

    
root@Gargoyle:/# ls /dev
bus                 net                 root                ttyUSB1
console             network_latency     rtc0                ttyUSB2
cpu                 network_throughput  sda                 ttyUSB3
cpu_dma_latency     null                sda1                ttyUSB4
crypto              nvram               sda2                ttyUSB5
full                port                shm                 ttyUSB6
hwrng               ppp                 tty                 urandom
kmsg                ptmx                ttyS0               watchdog
log                 pts                 ttyS1               zero
mem                 random              ttyUSB0

any help please? i am desperate to get some guidance as I have tried various combination.

many thanks.


#2

Hi liew_jls,

From log it seems MC8705 is detected and driver load correctly.
I am not familiar with OpenWRT but guess you can use PPPD to setup the data connection over these ttyUSB port.

Maybe you can refer to below:
https://openwrt.org/docs/guide-user/network/wan/wan_interface_protocols#protocol_ppp_ppp_over_modem