Difference between revisions of "Status/Mobile Data"

From Maemo Leste Wiki
Jump to navigationJump to search
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
We will need the following:
We will need the following:


* RE of the current data icd2 plugin from Fremantle (as starting base)
* <s>RE of the current data icd2 plugin from Fremantle (as starting base)</s>
* Code to interface with ofono, resulting in libicd-network-ofono
* <s>Code to interface with ofono, resulting in libicd-network-ofono</s> (WIP)
* Connui UI plugins for gprs and port it to ofono https://github.com/maemo-leste/connui-cellular
* <s>Connui UI plugins for gprs and port it to ofono https://github.com/maemo-leste/connui-cellular</s> (WIP)
* Database of various mobile operations and their default APN information
* <s>Database of various mobile operations and their default APN information</s> in connui-cellular and ofono
* Hardware/driver support
* <s>Hardware/driver support</s> (working for various devices)


Useful resources/hw/links:
Useful resources/hw/links:
Line 26: Line 26:
* https://aleksander.es/data/Qualcomm%20Gobi%20devices%20on%20Linux.pdf
* https://aleksander.es/data/Qualcomm%20Gobi%20devices%20on%20Linux.pdf


USB passthrough on QEMU can work like this (note -device usb-host), pick proper product/vendor IDs:
USB passthrough on QEMU can work like this (note -device usb-ehci and -device usb-host), pick proper product/vendor IDs:


<pre>
<pre>
Line 33: Line 33:
-vga virtio -enable-kvm -cpu host -smp cores=2 -m 4096 \
-vga virtio -enable-kvm -cpu host -smp cores=2 -m 4096 \
-nic user,hostfwd=tcp:127.0.0.1:7722-:22 -display gtk \
-nic user,hostfwd=tcp:127.0.0.1:7722-:22 -display gtk \
-usb \
-usb -device usb-ehci,id=ehci \
-device usb-host,vendorid=0x2c7c,productid=0x0125 \
-device usb-host,bus=ehci.0,vendorid=0x2c7c,productid=0x0125 \
-device usb-host,vendorid=0x13d3,productid=0x3346 \
-device usb-host,bus=ehci.0,vendorid=0x13d3,productid=0x3346 \
-monitor stdio
-monitor stdio
</pre>
</pre>

Latest revision as of 14:41, 26 May 2020


Relevant tickets:

We will need the following:

  • RE of the current data icd2 plugin from Fremantle (as starting base)
  • Code to interface with ofono, resulting in libicd-network-ofono (WIP)
  • Connui UI plugins for gprs and port it to ofono https://github.com/maemo-leste/connui-cellular (WIP)
  • Database of various mobile operations and their default APN information in connui-cellular and ofono
  • Hardware/driver support (working for various devices)

Useful resources/hw/links:

Olimex 3g modem (should also do voice calls), should work with ofono:

USB passthrough on QEMU can work like this (note -device usb-ehci and -device usb-host), pick proper product/vendor IDs:

sudo qemu-system-x86_64 -hda \
/ext4/leste/maemo-leste-1.0-amd64-virtual-20181102.qcow2 \
-vga virtio -enable-kvm -cpu host -smp cores=2 -m 4096 \
-nic user,hostfwd=tcp:127.0.0.1:7722-:22 -display gtk \
-usb -device usb-ehci,id=ehci \
-device usb-host,bus=ehci.0,vendorid=0x2c7c,productid=0x0125 \
-device usb-host,bus=ehci.0,vendorid=0x13d3,productid=0x3346 \
-monitor stdio

Modems from Pine64 Devkits work with ofono: