Difference between revisions of "Status/Mobile Data"
From Maemo Leste Wiki
Jump to navigationJump to search(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Relevant tickets: | Relevant tickets: | ||
Line 8: | 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 | * <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: | ||
* https://wiki.maemo.org/User:Jebba/Ofono#Using_oFono_in_Pass_thru_mode (pass through n900 modem with ofono, | * https://wiki.maemo.org/User:Jebba/Ofono#Using_oFono_in_Pass_thru_mode (pass through n900 modem with ofono, works for non-data only) | ||
* An USB modem for testing (like Option modems) | * An USB modem for testing (like Option modems) | ||
* ofono: https://01.org/ofono | * ofono: https://01.org/ofono | ||
Olimex 3g modem (should also do voice calls), should work with ofono: | |||
* https://www.olimex.com/Products/USB-Modules/MOD-USB3G/ | |||
* https://aleksander.es/data/Qualcomm%20Gobi%20devices%20on%20Linux.pdf | |||
USB passthrough on QEMU can work like this (note -device usb-ehci and -device usb-host), pick proper product/vendor IDs: | |||
<pre> | |||
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 | |||
</pre> | |||
Modems from Pine64 Devkits work with ofono: | |||
* http://wiki.pine64.org/index.php/Project_Anakin | |||
* http://wiki.pine64.org/index.php/Project_Don't_be_evil |
Latest revision as of 14:41, 26 May 2020
Relevant tickets:
- https://github.com/maemo-leste/bugtracker/issues/76
- https://github.com/maemo-leste/bugtracker/issues/151
- https://github.com/maemo-leste/bugtracker/issues/195
- https://github.com/maemo-leste/bugtracker/issues/196
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 informationin connui-cellular and ofonoHardware/driver support(working for various devices)
Useful resources/hw/links:
- https://wiki.maemo.org/User:Jebba/Ofono#Using_oFono_in_Pass_thru_mode (pass through n900 modem with ofono, works for non-data only)
- An USB modem for testing (like Option modems)
- ofono: https://01.org/ofono
Olimex 3g modem (should also do voice calls), should work with ofono:
- https://www.olimex.com/Products/USB-Modules/MOD-USB3G/
- https://aleksander.es/data/Qualcomm%20Gobi%20devices%20on%20Linux.pdf
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: