Support for Mobile 3G/lte usb modem possible ?

  • Hi Guys,

    Can anyone help me to get my mobile data provider dongle to work over Libreelec on an Amlogic S905. Any ideas as to how I can configure and load the ppp and usbmode_switch ?

    I created a rule under /rules.d to allow switching from the USB disk to USB Modem:

    ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1f01", RUN+="/usr/sbin/usb_modeswitch -v 12d1 -p 1f01 -M '55534243123456780000000000000a11062000000000000100000000000000'" ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1f01", RUN+="/bin/bash -c 'modprobe option && echo 12d1 14db > /sys/bus/usb-serial/drivers/option1/new_id'"

    But I do not think I have support in the build for usb_modeswitch, usb_modeswitch-data, ppp, libusb1 and libusb-dev

    Can anyone help or provide some insight to this ?

    Thanks all help and comments appreciated. :thumbup:

  • usb_modeswitch can be install via the system-tools add-on in our repo, but some devices (that present themselves as a CDROM) also switch if you eject the disc with a simple "eject /dev/sr0" so that's something to also investigate.