[yocto] Poky/Yocto drivers for cellular modem
Maciej Borzecki
maciej.borzecki at open-rnd.pl
Sat Sep 20 06:36:17 PDT 2014
On Thursday 18 of September 2014 16:39:33 Simon Andrieu wrote:
> Hi,
>
> I work for a company that develops telemetry boxes, and that uses a
> Poky/Yocto distribution running on the main board. It is planned to
> integrate a cellular module connected via USB or serial link to the main
> board.
>
> Using some Linux distribution, it exists drivers that help recognizing a
> cellular modem USB stick and to raise a corresponding network interface.
> Would you know please if such a generic cellular modem driver exists in
> Poky/Yocto distribution please? More further, It could be helpful to have
> some tutorial notes to integrate it please.
I'm working a similar applications. Most USB devices seem to implement CDC ACM
that works quite well with kernel drivers. Basically you end up with one of
/dev/ttyACM devices that pppd can talk to.
In past, due to image size constraints, we had custom code that looked at
these devices (used libudev to correlated /dev entries with usb devices) and
started pppd, thus skipping ofono/connman and their deps. The current setups
are mostly systemd/systemd-networkd + pppd glue. Without much trouble it's
possible to get ~20MB ext3 rootfs image with all the stuff you need.
There were also some dongles that came up as CDC Ether, but I've only seen
this for some WiMAX modules that I'm not sure are even available on the market
anymore.
For transport, you can find rabbitmq-c in meta-oe. I'll also be sending some
patches for Paho MQTT libraries and mosquitto next week or so.
--
Maciej Borzęcki
Senior Software Engineer Open-RnD Sp. z o.o.
www.open-rnd.pl, Facebook, Twitter
mobile: +48 telefon, fax: +48 42 657 9079
Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem lub
poufne informacje i została wysłana wyłącznie do wiadomości i użytku osób, do
których została zaadresowana. Jeśli wiadomość została otrzymana przypadkowo
zabrania się jej kopiowania lub rozsyłania do osób trzecich. W takim przypadku
uprasza się o natychmiastowe zniszczenie wiadomości oraz poinformowanie
nadawcy o zaistniałej sytuacji za pomocą wiadomości zwrotnej. Dziękujemy.
This message, including any attachments hereto, may contain privileged or
confidential information and is sent solely for the attention and use of the
intended addressee(s). If you are not an intended addressee, you may neither
use this message nor copy or deliver it to anyone. In such case, you should
immediately destroy this message and kindly notify the sender by reply email.
Thank you.
More information about the yocto
mailing list