Re: Fibocom L850-GL / Intel XMM7360 support

2020-01-08 Thread James Wah
On Wed, Jan 08, 2020 at 10:29:11AM +0100, Aleksander Morgado wrote:
> Is that the correct link? Don't see anything regarding the RPC protocol
> there

Whoops, my apologies for the sloppy paste. Correct link:

https://github.com/xmm7360/reversing

This is more in the vein of "things that might not be obvious from
reading the code", as opposed to a clean freestanding documentation of
the protocol, for now.

Cheerio,
James
___
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel


Fibocom L850-GL / Intel XMM7360 support

2020-01-07 Thread James Wah
Hi gang,

I've been working on a PCI driver for the Fibocom L850-GL, and while
it's very rough at this point, it sure does transfer data.

If anyone is interested in developing support in MM, or in shaping
the kernel driver into something people might actually want to use, now
would be a good time to get involved. MM integration is well beyond my
available time & expertise - I've just been doing this reverse
engineering for fun - but I'd be very happy to contribute what I can.

The modem does not speak MBIM over PCI, though it does expose some AT
ports. Most tasks eg. PIN management can be done via AT commands.

In order to initialise the modem, though, or to bring up a raw IP
interface, it's necessary to speak a custom RPC protocol. This is
unpleasant, but not unpossible; the driver I have uses a Python
userspace component to do so. The protocol is ugly but not complicated,
so a C port wouldn't be too involved.

The driver, and associated RPC tooling, are currently available here:

https://github.com/xmm7360/xmm7360-pci

A little documentation on the RPC protocol is also available:

https://github.com/xmm7360/xmm7360-pci

Cheerio,
James
___
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel