libera/#maemo-leste/ Tuesday, 2022-08-09

Wizzupuvos: ok, I think I fixed the sphone patch and did some typo fixes01:53
Wizzupwill cleanly test soon, maybe not tomorrow, might be travelling01:53
SuperMarioSFa little problem...07:39
SuperMarioSFseems my d4 all upgraded.07:39
SuperMarioSFone of them upgraded to Anrdoid 4.x07:39
SuperMarioSFone of them installed LineageOS07:40
SuperMarioSFDon't know if this will affect something.07:40
WizzupSuperMarioSF: I think our wiki says if you ought to downgrade (I think so)08:30
SuperMarioSF66oh hi09:20
SuperMarioSF66i' logged in with another pc09:20
SuperMarioSF66I got my first D409:20
SuperMarioSF66but it was locked at the moment.09:20
SuperMarioSF66and from postmarketOS guys said this device cannot be OEM unlocked.09:21
SuperMarioSF66I checked and this device already have rooted.09:21
SuperMarioSF66and kernel version at 3.0.809:22
SuperMarioSF66seems this phone still have its stock recovery09:25
uvos__all droid 4's (and indeed all verizon devices) have bootloaders that are permanently locked with no way to unlock them09:37
uvos__Wizzup: no downgrading is not nessecary09:37
SuperMarioSF66so what should I do next?09:40
uvos__follow the steps in the wiki as per normal09:41
SuperMarioSF66the installer guide said about flashing with fastboot, is the locked bootloader a problem?09:41
uvos__no09:41
SuperMarioSF66so just flash and everything is ok?09:41
uvos__yes09:41
SuperMarioSF66... before that, is there a way to do some backup?09:42
uvos__the only prerequisit is that the kernel 3.0.8 is installed on /boot09:42
uvos__but if you have android 4.0 or 4.1 or los this is the case09:42
uvos__SuperMarioSF66: no but there is no reason to do so09:42
SuperMarioSF66I see the bpsw partition will be overwritten, so will this affect baseband?09:42
uvos__there is no way to brick anything and we have all images availble09:42
uvos__no09:42
uvos__bpsw is a misnomer09:42
uvos__its not used for either modem09:43
SuperMarioSF66hmmmm the bpsw partition is a useless one on this phone?09:43
uvos__yes its unused09:43
SuperMarioSF66OK09:43
uvos__except by us ofc ;)09:43
SuperMarioSF66I'm preparing a SD card, wait a moment...09:43
SuperMarioSF66before that I guess I should test my SIM card on stock firmware to make sure everything is still worrking fine.09:46
uvos__you can boot the stock fw fine after too09:46
uvos__but sure09:46
SuperMarioSF66and I forgot to bring my spare SIM cards...09:49
SuperMarioSF66oops09:49
SuperMarioSF66maybe I should test this later.09:50
uvos__installing leste dosent mess with stock android at all09:51
uvos__so it dosent matter09:51
SuperMarioSF66so I just download the latest SD card image and DD it on a card?09:52
uvos__and install the 2 stage bootloader as descirbed on the wiki09:52
SuperMarioSF66OK09:53
uvos__then theres a boot menu with entries you can edit via a text file, by default theres 2 entries, leste from sd and stock android from /system09:54
uvos__but you can have as many entries as you want09:54
uvos__another for los for instance see https://github.com/tmlind/droid4-kexecboot/blob/master/CONFIGURATION09:55
SuperMarioSF66I guess I won't need more than that. Maybe I will consider just disable that stock android entry.09:56
uvos__you can install leste to the partitions of stock android09:56
uvos__but its a manual procedure atm09:56
SuperMarioSF66at least that is an option.09:57
SuperMarioSF66but I would like to have a unified experience and a lots of storage.So currently I will use SD card. easy for me to do full backups.09:58
SuperMarioSF66I just ordered some MLC based SD card, to serve this usage.09:58
SuperMarioSF66So after I installed on my current SD card, there will be a data moving action taken after I received my extra durance MLC cards.09:59
SuperMarioSF66and they are berrer performance one too, A2 standard supported, though I doubt that will work on such a old device.10:00
uvos__the sdcard bus runs at 50Mhz Sdr max10:01
uvos__with 4 bit width10:01
uvos__or 8bit for the internal storage10:01
uvos__you can patch it to run at 100Mhz Sdr10:01
uvos__but this is an overclock (that i do run)10:01
SuperMarioSF66I won't take that risk...10:01
uvos__so yeah it can do A2 speeds in this case10:01
uvos__its not a risk to the device10:01
uvos__its supports this speed10:01
uvos__the problem is it uses 5v signaling at 100mhz10:02
uvos__and sdcard spec is 5v at 50mhz or 1.8v at 10010:02
uvos__so you might break the sdcard, but the device is fine10:02
SuperMarioSF66so it requied a newer card to respect 5V signaling?10:02
uvos__no10:02
uvos__no sdcards support 5v signaling at 100mhz10:02
uvos__its not supported by the sdcard spec10:02
uvos__it is used by emmcs tho10:03
uvos__this is why the d4's chip can do this mode10:03
uvos__in reality every sdcard i ever tried had no problem doing 5v @10010:03
SuperMarioSF66so if I can get some eMMC wired there with a special PCB, that will work?10:03
uvos__sure10:03
uvos__but it would be kinda strange for a sdcard to support 5v @50 and 1.8v @100 but break at 5v @10010:04
uvos__so in reallity it allways works anyhow10:04
SuperMarioSF66no worries10:04
uvos__(5v @50 is requried by spec)10:04
SuperMarioSF66I make a backup and I have many spare cards available. even fried one won't a proble,.10:04
SuperMarioSF66*wont be a problem10:04
uvos__anyhow for now yes stock kernel dosent do a2 speed10:05
SuperMarioSF66I guess that card won't work because they were formatted with ext4 to begin with...10:05
uvos__your dding a filesystem10:06
uvos__what it was formated as is immaterial10:06
SuperMarioSF66I mean... stock android won't just work on ext410:06
uvos__oh no10:07
SuperMarioSF66for SD card at least10:07
uvos__it cant mount modern ext4 at all10:07
uvos__it needs disabled csums10:07
SuperMarioSF66blazing fast 30+MB/s dding10:14
SuperMarioSF66oh I was wrong, it just a decompression. actual DD speed is 80MB/s+10:14
SuperMarioSFoh I'm back. seems RevolutionIRC client had some bugs and I can't connect to libera.chat properly.10:40
Wizzupwb10:42
SuperMarioSFGot my sim card11:03
SuperMarioSFworks just fine, however signal isn't very good on UMTS.11:03
SuperMarioSFseems that LTE only works with CDMA side.11:04
Wizzupyeah11:12
uvos__LTE is unrelated to CDMA but supports one band11:15
uvos__13 iirc11:15
uvos__and on leste it dosent work at al11:16
uvos__since we dont power the LTE modem and dont have a driver for it11:16
SuperMarioSFOK I'm back, downloading files for flashing.11:20
SuperMarioSFDone, I'm in.11:53
SuperMarioSFLooks like there is no UI for 3G right now.11:53
SuperMarioSFis there a way to enable that in commandline?11:54
SuperMarioSFor should I install modemmanager or something to manage?11:54
uvos__theres a ui that might sorta work in -devel11:54
uvos__but it dosent at all for me (and installing it breaks all conectivity for me)11:54
uvos__for others it dose work11:54
uvos__theres a metapackage called hildon-connectivity-mobile or some sutch11:55
SuperMarioSFso how can I install that -devel?11:55
uvos__otherwise you have to use qmi-cli11:55
SuperMarioSFa package or whole image?11:56
uvos__please read the documentation, its in the wiki under development11:57
SuperMarioSFOK11:57
Wizzuplet me know if doc is hard to find, can try to help, but I'm travelling right now, so might be in and out12:04
SuperMarioSFI found the doc and enabled devel repos12:23
SuperMarioSFso just a dist-upgrade next?12:23
SuperMarioSFbtw I can provide some i18n work for Chinese.12:25
SuperMarioSFand already working on it on weblate.12:25
Wizzupthere are also meta pkgs you need, I can't look it up right now12:45
SuperMarioSFany hint for that meta package?12:45
WizzupSuperMarioSF: let me look now12:54
WizzupSuperMarioSF: hildon-connectivity-mobile at least12:54
Wizzupyou will still need to do -some- manual steps after boot, depending on whether you sim has a pin or not12:54
SuperMarioSFI removed PIN for my SIM card before using in d4.12:55
Wizzupok12:55
Wizzupin that case, install that package and reboot, see how far it gets you :)12:55
SuperMarioSFso should I finish the dist-upgrade first (downloaded)12:55
Wizzupyeah, sure, do that too12:56
SuperMarioSFwoah that's a lot packages...12:58
Wizzuplots of translations too I bet12:59
SuperMarioSFactually, Simplified Chinese doesn't have much translation unfinished...13:02
SuperMarioSFthe majority of them is just city names.13:02
Wizzup:)13:05
Wizzupthat is only for the core of course13:05
Wizzupuser contributed packages and such might need more13:05
SuperMarioSFOK13:05
SuperMarioSFI have purchase PoEdit Pro so that shouldn't be very hard.13:06
SuperMarioSFrebooted.13:07
Wizzupdo you see a sim not present icon, or does the status menu look the same?13:08
Wizzupthe modem ought to get online'd once you go to internet connections through the tsatus bar13:08
Wizzup(where you also search for wifi)13:08
Wizzupit might take a bit for the d4 to first make a connection I suppose13:08
SuperMarioSFit is booting...13:09
Wizzup(btw since ofono mostly talks over dbus, I usually use dbus to debug it's states, but iirc there are also some scripts (ofono-scripts pkg?)13:10
SuperMarioSFbtw a suggestion, please make some LED on during a power cycle, or that will be diffcult to know my device is still powering down or not.13:10
uvos__this exits on power down13:10
uvos__and works13:10
SuperMarioSFOh, a SIM card icon shown, however looks like it doesn't find my SIM card.13:11
uvos__but only if you shutdown with something other than the terminal13:11
WizzupSuperMarioSF: ok, give it a little bit of time (1-2 mins)13:11
Wizzupthe modem itself doesn't report on sim status until then13:11
Wizzupit's possible you will see the sim missing icon disappear soon13:11
SuperMarioSFand desktop wallpaper is gone13:11
uvos__uh13:11
Wizzuphuh?13:12
SuperMarioSFattempt to set a new wallpaper, got error: No space left13:12
uvos__oh13:12
Wizzupoh...13:12
uvos__you need to expand the partiton before upgrade13:12
Wizzup/etc/expandcard.sh will resiez the sd card13:12
SuperMarioSFand sim icon gone.13:12
SuperMarioSFoh13:12
uvos__you broke your install now :/13:12
SuperMarioSFI forgot that13:12
WizzupI hope the apt-get dist-upgrade worked fully13:12
SuperMarioSFtime to reinstall13:12
Wizzupuvos__: not sure if it's broken?13:12
Wizzupapt usually errors on disk full13:12
uvos__yeah when i did that last weak it broke it13:13
SuperMarioSFdist-upgrade and that package successfully completed.13:13
Wizzupand then you can resume it manually13:13
uvos__but maybe he is lucky13:13
uvos__[13:12] <Wizzup> apt usually errors on disk full13:13
uvos__for some reason that is farily unreliable13:13
SuperMarioSFresizing13:14
uvos__i have this problem on other machines too13:14
SuperMarioSFOK, done, reboot?13:14
uvos__yeah hopefully it will be ok13:14
SuperMarioSFno worries, I can just reinstall from start.13:14
uvos__we could maybe make the image a couple 100mb larger13:15
uvos__so that devel fits13:15
Wizzupyeah.13:16
SuperMarioSFthe interesting thing is there is no error reported during upgrade and install.13:16
Wizzupwe try to make it work for very small cards13:16
WizzupSuperMarioSF: yeah probably you were just on the edge13:16
SuperMarioSFthe space is barely enough13:16
SuperMarioSFOk13:16
SuperMarioSFeverything is back13:16
SuperMarioSFSIM icon show no card.13:16
Wizzupgive it a minute again :)13:17
SuperMarioSFand icon is gone...13:18
Wizzupwe probe and power the modem relatively late in the boot process, and the modem needs time to start up itself13:18
Wizzupok, that means your sim is found, likely13:18
SuperMarioSFnothing left except battery icon13:18
SuperMarioSFso what's next?13:18
uvos__wait13:18
uvos__should come up with a signal13:19
Wizzupuvos__: no, it will only online the modem in the network search dialog13:19
SuperMarioSFis there are debug logs to see here?13:19
uvos__right true13:19
Wizzupyou can install ofono-scripts and run stuff like /usr/share/ofono/scripts/list-modems13:19
Wizzupor use dbus if you know it13:19
SuperMarioSFoh13:20
SuperMarioSFsingal shown13:20
Wizzupbut if you just go to the place where in maemo you usually connect to a network, just opening the dialog will make it online the modem13:20
SuperMarioSFuhh... there is a problem13:20
uvos__right heres where mine never works beyond this point13:20
SuperMarioSFconnection selection was grey out13:20
SuperMarioSFeverything cannot be selected.13:20
uvos__right same here :)13:20
uvos__wait a bit13:20
uvos__its wating for ofono to provision the net13:21
uvos__but it never happens here13:21
SuperMarioSFOK13:21
Wizzupand for the modem to become online13:21
SuperMarioSFI can see signal but it is weak (1 bar)13:21
SuperMarioSFstarted from 3 bars13:21
Wizzupthat's good, 2g or 3g?13:21
Wizzupthat means the modem is online13:21
uvos__the signal bars are very conservative on d413:21
SuperMarioSFno technology were displayed. only bars.13:21
Wizzupso -probably- you can even make a phone call now with sphone13:22
WizzupSuperMarioSF: huh, that's ie13:22
Wizzupthat's weird13:22
SuperMarioSFsphone stucked at dialing13:23
SuperMarioSFand it closed itself13:23
Wizzupstuck how?13:23
SuperMarioSFstuck, not means freeze.13:23
Wizzupso I am wondering if this is actually using some tech that we have not mapped :)13:23
Wizzupif you see bars but no icon13:23
uvos__check what ofono thinks tech is13:23
uvos__in list-modems13:23
SuperMarioSFand there is a problem13:24
SuperMarioSFWiFi cannot be connected...13:24
Wizzupslow down :D13:24
uvos__right if mobile network dosent work the applet breaks wifi13:24
Wizzupuvos__: not for me :/13:24
uvos__because it hangs icd forever13:24
Wizzupicd doesn't hang, the dialog waits for something13:25
SuperMarioSFif there is a way to let me get a usb0 interface via USB?13:25
uvos__right the dialog hangs13:25
WizzupSuperMarioSF: just plug in usb and it'll show up13:25
Wizzuphttps://leste.maemo.org/Status/USB_Peripheral13:25
SuperMarioSFseems my Windows machine need a driver.13:25
WizzupI don't know how it works on windows13:25
Wizzupsorry13:25
SuperMarioSFI'm backing to home, and I will attempt connect that to my Mikrotik router.13:26
Wizzupdo you have a linux device?13:26
SuperMarioSFI do know how to make it work after that.13:26
uvos__probubly no one here runs windows on pcs :P13:26
Wizzupso I'm wondering what the technology here will be13:26
uvos__if you want wifi to work again, just unstiall the mobile icd applet13:26
Wizzupuvos__: list-modems doesn't show it fwiw13:26
uvos__(for now)13:26
SuperMarioSFI have linux based device at home, but I don't want to setup the connection manually, so I will use a router instead. ( I know how to do that)13:26
Wizzupok13:26
uvos__Wizzup: you can see it in ofono-scipts for sure13:27
uvos__Wizzup: i gues maybe not that one13:27
SuperMarioSFoh wait13:27
Wizzupuvos__: yeah I was searching13:27
SuperMarioSFwifi just came back on itself13:27
uvos__right autoconnect works13:27
uvos__same here13:27
Wizzupdo we have a ticket for this behaviour?13:28
uvos__pretty sure i made one13:28
SuperMarioSFbtw there are some suggested package during install hildon-connectivity-mobile, so maybe something missing can be in there?13:29
Wizzupnot likely13:29
uvos__ofono has some suggestions13:29
uvos__there not nesseary13:29
Wizzupbtw I would install this .deb https://packages.debian.org/stretch/armhf/mdbus2/download for debugging purposes later13:29
uvos__ists probubly those13:29
WizzupI find it the easiest way to browse around dbus interfaces on cli13:30
SuperMarioSFso how to list modems? no auto-completion for list-modem, for ofono, only ofonod shown.13:30
Wizzupsudo apt-get install ofono-scripts13:30
uvos__its in /usr/share/ofono/scritps13:30
uvos__and not in PATH13:30
SuperMarioSFOK13:30
uvos__and yes you need that package13:30
SuperMarioSFStatus = roaming13:31
SuperMarioSFthis doesn't seems right.13:31
Wizzupdoes it list a network name anywhere?13:32
Wizzupnot sure if this will eventually be relevant (note: not the same device, careful, etc)13:33
Wizzuphttps://leste.maemo.org/Motorola_Droid_Bionic#Unlocking_the_modem_for_usage_in_Europe13:33
uvos__both of those are set on d413:33
Wizzupok13:33
uvos__thats where those came from (diffing d4)13:33
Wizzupxt910 but yeah13:33
SuperMarioSFhttps://paste.mozilla.org/pMzmi5mj/raw13:34
SuperMarioSFhere is the output. sensive data masked with X13:34
SuperMarioSFthis link will be expired in 1 hour.13:35
Wizzupok yeah so maybe your missing icon is related to the disk full13:36
Wizzupmaybe the icon cache is broken or so13:36
Wizzupsince:13:37
Wizzup    [ org.ofono.RadioSettings ]13:37
Wizzup        TechnologyPreference = any13:37
Wizzup        AvailableTechnologies = gsm umts13:37
SuperMarioSFbtw, this phone start with a roaming state when I got it, and at that time there is even no SIM inserted.13:37
SuperMarioSFOK, so I need to rebuild the cache?13:37
Wizzupeither that or reinstall because of the disk full issue to be sure13:37
Wizzupwrt roaming I have to check what my phone says13:37
SuperMarioSFso what directory I should point update-icon-caches to?13:38
SuperMarioSF-> /usr/share/icons/* ?13:39
Wizzupsorry, don't know on top of my head13:40
Wizzupbut if this is broken, other stuff could be too, like uvos says13:40
SuperMarioSFso my best bet is just reinstall everything.13:40
SuperMarioSFwill do that.13:40
WizzupI think so. sorry.13:40
SuperMarioSFno big deal, I have a bazing fast SD card and a proper UHS-II supported card reader.13:41
WizzupI need to get to the airport, back a bit later.13:41
SuperMarioSFabout 3D printing d4 back cover, that cover is so thin... I understand why you said that isn't a good idea...13:46
SuperMarioSFreflashed, booting.13:47
SuperMarioSFok i'm back14:11
SuperMarioSFre-upgrading14:11
SuperMarioSFand this time, no signal.14:33
SuperMarioSFSIM card detected, no signal bar displaied, try to call via sphone, sphone said cannot connect to ofono14:33
SuperMarioSFrebooting again to try again.14:33
Wizzupdid you install the meta pkg?14:33
SuperMarioSFyes, I had installed it.14:34
SuperMarioSFotherwise there should no phone app.14:34
Wizzupright14:34
uvos__no wrong14:36
uvos__i think sphone is in the main metapackage14:36
uvos__or?14:36
Wizzupnot sure, trying to install the mobile connectivity meta pkg will help us figure this out I think14:37
uvos__ cannot connect to ofono == ofono not running14:37
uvos__it is in hildon-connectivity-mobile Wizzup was right14:38
SuperMarioSFthis time it doesn't even show about roaming14:42
SuperMarioSFlist-modem shown some info14:42
SuperMarioSFmy phone number and subscriber identity things are present.14:43
SuperMarioSFonline=0  powered=1  lockdown=0  emergency=014:43
Wizzupyes, so did you go to the network search again to online it?14:44
Wizzup(this is a kludge until we figure out what should online it)14:44
SuperMarioSFnetwork search stucked at grey out as usual.14:45
SuperMarioSFoh14:45
SuperMarioSFsignal shown14:45
SuperMarioSFand... same again14:45
SuperMarioSFno technology shown14:45
SuperMarioSFonly a single bar14:45
uvos__maybe try forceing GSM via scripts14:45
SuperMarioSFhow to? I did't find an obvious one for that14:48
SuperMarioSFbtw show cell tower info works14:48
uvos__set-tech-preference14:50
SuperMarioSFoh14:51
SuperMarioSFI got something by forcing it to UMTS14:51
SuperMarioSFshown 3G now14:51
SuperMarioSFand GSM usually don't work in my area anyways.14:51
SuperMarioSFOK, phone calling works confirmed.14:52
SuperMarioSFhow can I setup APN14:53
SuperMarioSFfor modem?14:53
SuperMarioSFreceiving call works.14:55
SuperMarioSFand voice is okay14:55
SuperMarioSFthe "no icon" state maybe just GSM itself.14:56
uvos__no14:56
uvos__not ususally14:56
SuperMarioSFon that state I ran get-serving-cell-info, active access techonogy shown me GSM.14:58
SuperMarioSFso for internet, should I run create-internet-context ?14:58
uvos__it should work automagicly - it dosent for me14:59
uvos__i use qmicli14:59
uvos__automagicly == you should be able to select mobile data as a connection in the connection dialog14:59
SuperMarioSFthat diaglog still in that grey out state, and I can't select wifi.15:00
uvos__then its broken just like on my device15:00
uvos__afaik i know it only works for wizzup15:00
uvos__ maybe buzz too15:00
SuperMarioSFone line says "No connections available", and clearly there some WiFi shown up there just can't click15:00
SuperMarioSFwait15:01
SuperMarioSFI ran enable-gprs, disable-gprs and enable-gprs again, that diaglog isn't grey out now.15:02
SuperMarioSFbut there is still no connection.15:02
Wizzupuvos__: SuperMarioSF: try to install libicd-network-dummy15:02
Wizzupthis will work around your problem for now15:02
Wizzup(and set up the gconf rule as the apt install says)15:02
SuperMarioSFlet me connect wifi very quick15:03
SuperMarioSFseems disable-gprs can give your connection selection back15:03
WizzupI don't know, our sw doesn't assume other users control ofono typically15:04
Wizzupin any case enable-gprs is not the right way to do it, but it could be a way to test15:04
SuperMarioSFwhat privillage level should I run with that gconf command?15:05
SuperMarioSFI ran with user privillage, no errors reported.15:06
SuperMarioSFOK the menu won't just lockup now.15:07
SuperMarioSFat least I can receive calls.15:08
SuperMarioSFSMS works confirmed.15:11
SuperMarioSFI'm having some meals, later.15:14
WizzupSuperMarioSF: great, some stuff is working then.15:44
SuperMarioSFonly 3G data not working at the moment15:45
WizzupLet me grab a coffee here and then I'll try to help15:45
SuperMarioSFI'm not nearby a computer at the moment, but I will at home in about 2hrs.15:46
SuperMarioSFif things can be done on phone itself then I'm ready. (WiFi available)15:46
SuperMarioSFok im back from wifi15:52
WizzupSuperMarioSF: so I am pretty sure gprs data itself will work (will help momentarily with testing that), -but- the provisionin might not15:53
SuperMarioSFso the problem is let OS know how to use that network?15:54
Wizzupcan you install mdbus2, the pkg I linked before?15:55
SuperMarioSFsorry I can't get that link because history isn't on my phone. can you post again?15:56
Wizzupsure15:56
Wizzuphttps://packages.debian.org/stretch/armhf/mdbus2/download15:56
uvos__theres also allways https://maedevu.maemo.org/irc-this-week.txt15:58
SuperMarioSFok package downloaded. do i need gdebi to resolve deps for that package?15:59
uvos__it has really limited depends16:01
uvos__if you even have to install something it should be easy to do by hand16:01
SuperMarioSFok so I just dpkg -i16:01
SuperMarioSFdone. no deps required.16:01
Wizzupright16:03
WizzupSuperMarioSF: so mdbus2 -s org.ofono should show you various paths16:03
Wizzuphopefully at least /motmdm_016:03
Wizzupperhaps also /motmdm_0/context116:04
SuperMarioSFyup. shown me 2 contexts, and an operator (460001, China Unicom)16:04
Wizzupon the context path, you can run, uh, let me see16:04
Wizzuplike this:16:05
Wizzupmdbus2 -s org.ofono /motmdm_0/context1 org.ofono.ConnectionContext.GetProperties16:05
Wizzupthis might tell if you if the apn and such are configured correctly16:05
SuperMarioSF->  ({'Name': <'Internet'>, 'Active': <false>, 'Type': <'internet'>, 'Protocol': <'ip'>, 'AccessPointName': <'3gnet'>, 'Username': <'uninet'>, 'Password': <''>, 'AuthenticationMethod': <'none'>, 'Settings': <@a{sv} {}>, 'IPv6.Settings': <@a{sv} {}>},)16:05
Wizzuptry this:16:05
Wizzupmdbus2 -s org.ofono /motmdm_0/context1 org.ofono.ConnectionContext.SetProperty Active true16:05
SuperMarioSFlooks good to me. (3gnet or 3gwap is ghe correct one)16:06
Wizzup(and then use get properties in a bit to see if it's active after a bit)16:06
SuperMarioSFreturned:  ()16:06
Wizzupthat means it's done16:06
Wizzuptry the GetProperties again16:06
SuperMarioSF->  ({'Name': <'Internet'>, 'Active': <true>, 'Type': <'internet'>, 'Protocol': <'ip'>, 'AccessPointName': <'3gnet'>, 'Username': <'uninet'>, 'Password': <''>, 'AuthenticationMethod': <'none'>, 'Settings': <{'Interface': <'wwan3'>, 'Method': <'static'>, 'Address': <'10.115.89.109'>, 'Netmask': <'255.0.0.0'>, 'Gateway': <'10.115.89.110'>, 'DomainNameServers': <['218.104.111.114']>}>, 'IPv6.Settings': <@a{sv} {}>},)16:07
Wizzupso this means that the modem side of it works, now, try: sudo service icd2 restart16:07
SuperMarioSFwe got IP16:07
Wizzup(this will reset your wifi)16:07
Wizzupicd2 is what normally activates the context and then reads the ip and such16:07
Wizzupat this point you might see your connection in the connection list where there is also wireless16:07
Wizzupand yes some of this ui stuff is quite clumsy atm :)16:08
SuperMarioSFI just see normal wifi and a dummy network16:08
SuperMarioSFcompared to my other phone, no other network available.16:09
Wizzuphm, ok16:09
Wizzupso the next step is to see if it's configured at al16:10
Wizzupcan you try to go to settings -> internet connections -> connections16:10
Wizzupand then see if you see any non-wifi connection there?16:10
SuperMarioSFthe only non-wifi is that dummy network.16:10
Wizzupok, so it's not configured at all16:10
Wizzupok, for this I don't have an immediate fix.16:11
Wizzupone way would be to configure it manually, but there's no telling if that will work16:11
Wizzupothers might have suggestions on how to just set up the ip manually, but I'm more interesting in figuring out the problem in our stack16:12
SuperMarioSFI can do that if you prefer to dig depper.16:12
Wizzuphttp://dpaste.com/BTEWVJ4TC16:12
Wizzupthis is the gconf entry for my KPN 3g data16:12
Wizzupit was generated automatically16:12
Wizzup(the ips get updated in there)16:13
Wizzupthe part after IAP/ is just a uuid16:13
Wizzupso ideally you'd have something like that, but clearly it is not there16:13
SuperMarioSFso i should replace the data with my own?16:13
Wizzupnot sure if it will work16:13
WizzupI am wondering, what is the second context that you are seeing?16:14
Wizzupyou said there were two16:14
SuperMarioSFusually we have two profile in China. one is 3gnet for internet access. one is 3gwap for ISP proxied access.16:15
SuperMarioSFsame applied to all 3 ISPs in China.16:15
Wizzupok16:16
Wizzupuvos__: do you have more than one context?16:16
SuperMarioSFbtw, usually the XXwap one also act as the network that MMS works on.16:17
WizzupSuperMarioSF: if you know how to write gconf data (it's painful, you have to do it per value and specify the type etc) it might be worth a shot to create an entry like mine, but it's not a great way16:17
uvos__Wizzup: my d4 is 100km away16:17
Wizzupuvos__: :)16:17
uvos__buut16:18
SuperMarioSFmaybe I should make a script to do that automatically16:18
Wizzupyou went outside without a leste device in your pocket? shame :D16:18
uvos__sorry :(16:18
WizzupSuperMarioSF: well, we have code to do it automatically, we need to fix our code :)16:18
uvos__but its in my network at home, maybe i can ssh in :P16:18
WizzupSuperMarioSF: so, there might log entries in /var/log/maemo/icd2.log that could be helpful16:18
SuperMarioSFok let me connect to wifi16:19
uvos__heh i can16:19
uvos__Wizzup: can i check what you need over ssh only?16:20
SuperMarioSFand I'm unable. ICD UI constantly say network error. (and that was a public open wifi)16:20
WizzupSuperMarioSF: there might be something like this: SIM %s seen for the very first time, provisioning.16:20
Wizzupuvos__: yes, via mdbus216:20
WizzupSuperMarioSF: hm, wifi doesn't fail for me often, but usually on retry it works for sure16:20
uvos__im gona have to enable the modem via scripts (cant interact with icd gui ofc16:21
uvos__)16:21
WizzupI can give you mdbus2 commands for it16:21
uvos__ok16:21
WizzupSuperMarioSF: actually all the logs that are relevant will be prefixed with [OFONO]16:21
siceloRE: space issues ... maybe we really should auto-run expandcard on first boot16:22
SuperMarioSFsearched that file, doesn't contain either 'SIM' nor 'seen'. something went wrong.16:22
Wizzupsicelo: hm, yeah..16:22
WizzupSuperMarioSF: what about 'ofono' ?16:22
uvos__./list-modems "Technology = gsm"16:22
uvos__Wizzup: it dose show there16:22
uvos__for me at least16:22
Wizzupuvos__: so just run this: mdbus2 -s org.ofono16:22
Wizzupuvos__: and then see how many /motmdm_0/context* stuff you see16:23
SuperMarioSFnope, not even for 'ofono#16:23
SuperMarioSF* 'ofono'16:23
WizzupSuperMarioSF: what does dpkg -L libicd-network-ofono say?16:23
WizzupSuperMarioSF: (fwiw in case you did a case sensitive search, it's OFONO in the logs)16:23
SuperMarioSFlisted its file in that package.16:23
uvos__Wizzup: zero16:24
WizzupSuperMarioSF: hm, ok.16:24
SuperMarioSFupper case tried, no result.16:24
uvos__just  /motmdm_0/operator16:24
WizzupI suppose libicd-network-ofono has to be loaded on your system, because it onlines the modem for you16:24
Wizzupuvos__: hm, with the modem online and pin provided etc?16:24
uvos__yeah16:24
Wizzupuvos__: ok that's weird16:24
Wizzupuvos__: we can debug that later I suppoes, normally ofono auto creates a context16:25
uvos__( both done via scripts, i can try to reboot and try via icd over dbus if you can give me commands)16:25
Wizzupnah won't matter I think16:25
SuperMarioSFso ICD doesn't care about usb0 interface?16:25
Wizzupnah16:26
SuperMarioSFok16:26
SuperMarioSFI can setup a port forward and make the phone SSH on internet or ZeroTier.16:26
SuperMarioSFif you need to debug it will be there.16:26
uvos__Wizzup: so i restarted ofono16:28
uvos__and now i have one context16:28
uvos__ /motmdm_0/context116:28
Wizzupok16:29
Wizzupmaybe share this:16:29
Wizzupmdbus2 -s org.ofono /motmdm_0/context1 org.ofono.ConnectionContext.GetProperties16:29
uvos__({'Name': <'Internet'>, 'Active': <false>, 'Type': <'internet'>, 'Protocol': <'ip'>, 'AccessPointName': <''>, 'Username': <''>, 'Password': <''>, 'AuthenticationMethod': <'chap'>, 'Settings': <@a{sv} {}>, 'IPv6.Settings': <@a{sv} {}>},)16:29
Wizzupthat looks very unprovisioned16:29
uvos__y16:30
Wizzupmaybe we need to check, if, like with buzz, your isp is not known somehow16:30
uvos__ok - at least android is able to autoconfigure16:31
uvos__but idk about how it works :)16:31
WizzupI kind of know how we do it at least16:31
uvos__also qmicli has no issue16:31
Wizzupmhm, not sure how that works16:31
Wizzupmaybe it asks the sim or modem somehow16:31
Wizzuplooks like the privisioning code needs some more love16:32
uvos__qmicli -d /dev/cdc-wdm1 --device-open-qmi '--wds-start-network=apn=internet' --wds-follow-network16:32
Wizzupyeah ok you provide the apmn16:32
uvos__looks like i tell it the apn at least ;P16:32
siceloor uses a generic apn name. in many places, just 'internet' as apn tends to work16:32
Wizzups/apmn/apn/16:32
Wizzupfor the record, I think this does the same:16:32
Wizzupmdbus2 -s org.ofono /motmdm_0/context1 org.ofono.ConnectionContext.SetProperty AccessPointName "'internet'"16:32
uvos__doing that yelds ({'Name': <'Internet'>, 'Active': <false>, 'Type': <'internet'>, 'Protocol': <'ip'>, 'AccessPointName': <'internet'>, 'Username': <''>, 'Password': <''>, 'AuthenticationMethod': <'chap'>, 'Settings': <@a{sv} {}>, 'IPv6.Settings': <@a{sv} {}>},)16:33
uvos__perhaps unsuprising16:33
Wizzupyeah16:34
Wizzupthis might work:16:34
Wizzupnet'"^C16:34
Wizzuperr16:34
Wizzupmdbus2 -s org.ofono /motmdm_0/context1 org.ofono.ConnectionContext.SetProperty Active true16:34
Wizzupor it will block until it times out unless you kick ofono in the meantime :P16:34
uvos__returned sucess instantly16:35
Wizzupuvos__: does it show as active now?16:35
uvos__yeah i got a ip and everything16:35
WizzupSuperMarioSF: btw, super glad to hear that that calls worked for you, that cost us a lot of time to get mostly working16:35
Wizzupuvos__: ok, so I guess for you also the gprs provisioning in our ui is the problem16:35
SuperMarioSFyeah, call and sms is a tricky thing to work with.16:35
uvos__would be a neat fix - maybe the d4 would be closer than 100km if that would work ;P16:36
uvos__*neat to fix16:36
WizzupSuperMarioSF: just to be clear there are still some problems with our ofono16:36
SuperMarioSFI was playing some full feature LTE modem device before. Setup for a call with only serial ttys are painful...16:36
Wizzuplike I sometimes repeatedly 'receive' the same sms on my d416:36
uvos__SuperMarioSF: on droid 4 its relatviely easy - the d4 implements everything in hw16:36
uvos__like you can issue a call and shutdown linux16:36
uvos__call will continue16:37
Wizzupwill be harder to hang up :P16:37
uvos__still yeah was plenty work16:37
uvos__Wizzup: well the other party has to hang up then :P16:37
SuperMarioSFor wait until battery dies...16:38
sicelothe modem will power the speakers?16:38
uvos__cpcap contains all the hw to drive the spekers, and you gave the channels to the modem, so yes16:39
uvos__if you shutdown linux but dont change cpcap reg state16:39
uvos__the call would work16:39
uvos__cpcap also handles the some of the audio procesing, other processing is handled by the modem16:39
uvos__the cpu dose nothing16:39
Wizzupbbl16:41
SuperMarioSFreminds me about some early Windows Mobile phones. They don't have 'Airplane mode', they have 'Phone Power Down' mode, and that just disable modem alright.16:42
SuperMarioSFmaybe if Windows Mobile freezes the call should just go on.16:42
sicelootoh, it scares me ... because now it means the modem/cpcap have a life of their own. such setup really absolutely needs kill switches16:43
uvos__sicelo: no16:43
uvos__sicelo: since the modem can not talk to cpcap at all16:43
uvos__sicelo: it only has analog audio connections to it16:43
uvos__sicelo: so it cant give itself the speaker or the mic16:43
uvos__sicelo: on xt860 thats the end of it16:44
SuperMarioSFso I guess if hacker got your modem hacked, the only thing they can do is rickroll you. (x)16:44
uvos__on d4 the lte modem DOSE have access to cpacap and could control its registers16:44
uvos__but it dosent have a audio interface16:45
uvos__so the only way something nefarious could happen is if the lte modem and the qcom modem comunicated over the internet16:45
uvos__and the lte modem gave the qcom modem the mic and speakers16:45
uvos__fiarly absurd thret model16:45
uvos__also the lte modem is not powered in leste16:46
uvos__ofc all modems have gps and the tower knows roughtly where the modem is anyhow16:47
uvos__so the modem alone can be nafarious enough16:47
siceloespecially when it can be doing things with cpcap behind linux' back16:48
SuperMarioSFno wonder I know some people who make DIY phones doesn't have celluar network at all, they use LoRA instead.16:48
uvos__sicelo: as state this is impossible on leste16:48
uvos__*stated16:48
uvos__unless you use a gpio hack to power up the lte modem16:49
uvos__(from linux)16:49
uvos__if your concerned about that run xt860 i gues16:49
SuperMarioSFif there is a way to bridge some joint point to do that?16:49
siceloi don't know how much one can trust cpcap to begin with, as "cpcap contains all the hw to drive the spekers, and you gave the channels to the modem, so yes"16:50
uvos__if you expect cpcap to have some kind of hw level surveilnce then you might as well assume omap4 also has soemthing like that16:51
uvos__omap4 also has pelty of microcode you could hide something in16:52
siceloi know16:52
siceloi didn't know there were additional places to hide it :p16:53
buZzWizzup: i do feel isp autoconfig needs some hard work17:48
buZzmy sim was roaming in .be and .lu recently, finally saw 3G again, but couldnt get data working over it :(17:49
siceloi forgot - are we using mobile-broadband-something-info? if we are, maybe you can add your connection profiles to it. they're very accepting upstream. at least i added mine without issues17:50
uvosmaybe just figure out what android dose and use that (maybe only as fallback)18:04
uvosits guaneteed to work everywhere since operators have great incentive18:04
norayr> uvos__ wrote:18:07
norayr> then theres a boot menu with entries you can edit via a text file, by default theres 2 entries, leste from sd and stock android from /system18:07
norayr> but you can have as many entries as you want18:07
norayrSo i didn't understand can we have an entry which just gets charge? or we should use console maemo option in hope it'll be enough power to boot until charge started?18:07
norayrwe moved we should move again soon. so i did not unpack most of the boxes and i don't know where is my generic battery charger. But i was abloe to disassemble another charger for canon batteries18:08
uvosif you boot with usb plugged in it the nromal leste entry should enter charge mode18:08
uvosit dosent at least for sicleo18:08
uvosbut yeah18:08
uvosother than that18:08
norayrand keep droid's battery several minutes with those contacts18:09
uvosthe stock android option is the quickest18:09
uvosand will enter androids charge mode18:09
norayrand it was enough for it to boot to console leste and start taking charge. but i was not able to use ih for several days before18:09
norayrnow it gets charge18:10
uvosso really the d4 should never get into the state where it cant boot all the way to leste anyhow18:10
uvossince we have leste shutdown early to prevent it18:11
uvoson low bat18:11
uvosso unless you messed with the values or you battery is in very poor state or you leave the device unantended for multiple weaks while off and empty18:11
uvosit should not happen18:11
norayrSuperMarioSF: congrats, having droid is fun and you already have fun with it18:12
uvosbooting to console leste should be about the same as booting to charge mode18:12
uvosexcept the backlight will be on18:12
uvosso its worse18:12
norayroh18:12
uvosotherwise its the same (kernel and sysinit userspace have to boot before we can start charging)18:13
norayrin my experience booting to leste console mode is faster and therefore more chances to start booting18:13
uvoscharge mode skips more parts18:13
norayrit takes 0.6 amper in this state18:13
uvosso its impossible for it to be faster18:13
uvosthey both boot the same kernel and the sysinit runlevel18:14
norayrandroids charge mode didn't help me...18:14
uvosand then console mode boots another runlevel18:14
uvosif androids charge mode dosent work18:14
uvosthis strongly suggests android dosent like the battery18:14
norayrit was drawing 0.1-0.2 amper for whole night, then18:14
norayrit was warm in the morning18:15
norayrbut was not able to boot.18:15
norayreven a bit18:15
norayryes android doesnt like most of my batteries18:16
norayrbut droid3 is so beautiful18:17
SuperMarioSFOK I'm back18:17
SuperMarioSFI'm at home18:17
SuperMarioSFand ready for port forwarding18:17
norayralas its maemo boots and shuts down severl minutes later18:17
norayrbut even near sony xperia it looks sooo cool18:18
uvosnorayr: yeah so if android dosent charge your batteries while in charge mode that suggests hw failure or at least that android thinks charging is unsafe18:18
norayrunlike droid418:18
norayrit did chalge the battery it came with18:18
uvosit checks way more parameters than we do18:18
norayrbut that battery was in bad shape18:18
uvosit checks temperature deltaT and deltaV18:18
uvosto ensure its safe18:18
norayrvery interesting18:18
uvos(at least)18:19
SuperMarioSFbtw I have a Sony Ericsson SK17i18:19
SuperMarioSFvery tiny yet powerful phone18:19
SuperMarioSFok my tmate session created.18:28
buZzSuperMarioSF: need some help with d4 gprs?18:28
SuperMarioSFyup18:29
buZzwhats up18:29
SuperMarioSFthat why I am creating tmate session18:29
buZzwhats a tmate?18:29
SuperMarioSFa terminal share service, via SSH or web terminal18:29
buZzah, multiplayer ssh? screen -x18:29
SuperMarioSFyup18:30
buZz'connecting to gprs' for me on d4 causes all other networks to disconnect, btw18:30
SuperMarioSFno worries, the link is over usb018:31
SuperMarioSFhere the links: https://paste.mozilla.org/YLO2Vc0D18:31
SuperMarioSFuse link there to access my d418:33
SuperMarioSFthat page will expire in 1hour18:33
sicelobtw, RE: provisioning - at least with networks in my country, i've had to manually add apn. android has never auto-provisioned them18:34
siceloof course, there's an USSD code one can dial, where operator sends the phone a configuration message. i think ofono knows how to handle those18:34
SuperMarioSFthe link provided are Web based terminal and SSH connection, for both read-only and read-write types.18:35
siceloso for my networks, i guess mobile-broadband-provider-info is more useful than built-in mechanisms18:35
* sicelo installs a trojan on SuperMarioSF's phone :-D18:36
SuperMarioSFoh, I am monitoring the session of course.18:36
SuperMarioSFsince this session is provided to help you guys pinpointing the issue, if something went wrong, I can just reinstall, or replace with a new phone if needed.18:37
sicelowhat problem are you troubleshooting btw?18:38
SuperMarioSFthings working are: calling, SMS18:38
SuperMarioSFproblem is: ICD unable to provision connection profile properly18:38
SuperMarioSFofono knows what APN my ISP provides.18:39
SuperMarioSFmdbus2 was installed.18:40
SuperMarioSFthe password are defaults, so therefor this session is inside a tmate, not a internet facing SSH connection.18:41
SuperMarioSFto prevent restarting ICD cause connection termination, the SSH link to d4 is over USB RNDIS18:45
SuperMarioSFand that USB connected to my router.18:45
SuperMarioSFeverything just works.18:46
SuperMarioSFoh btw a question18:47
SuperMarioSFhow can I type ":" and ";" with d4 hardware keyboard?18:47
uvosok+:18:48
SuperMarioSFI almost can't quit vim because I have no idea how to type them.18:48
uvossee wiki18:48
SuperMarioSFoh i missed that one18:48
SuperMarioSFsince no one actually joined the SSH session, I'm closing it.19:15
WizzupSuperMarioSF: sorry, I was literally running to make my connecting flight19:20
Wizzupwe can do this remote debug another day?19:20
SuperMarioSFsure19:21
SuperMarioSFwhen you have time just mail me if i'm not online.19:21
Wizzupalright19:21
SuperMarioSFusually I'm online at 02:00 ~ 16:00 UTC19:22
Wizzupfor me that is 0800 - 0100 utc19:22
SuperMarioSFplenty overlap, that's ok19:23
SuperMarioSFif you can do debug work tomorrow, I will leave my d4 at home connected to router, so I can setup connection remotely for you.19:24
SuperMarioSFit will be connected via usb0 so restart icd won't be an issue.19:24
SuperMarioSFand I just test, it can even survive a reboot.19:25
Wizzupalright, sweet19:25
SuperMarioSFhmmmm not excatly19:26
Wizzupreboot can take a few mins19:26
SuperMarioSFseems reboot caused my router not picking the device.19:26
SuperMarioSFhowever I can reset the USB on router so maybe it will work again.19:26
SuperMarioSFI'm testing this19:26
SuperMarioSFthere are some known issue with RouterOS based devices on RNDIS interface. that is one of it.19:31
SuperMarioSFusually need to reset USB port once to get it working.19:31
SuperMarioSFsometimes this may get even worse, it won't pick up any RNDIS interface, and you have to bring a real Android to enable RNDIS on it once, then it will happily accept any RNDIS devices afterwards.19:32
SuperMarioSFoops19:33
SuperMarioSFI have some bad news19:33
SuperMarioSFseems it can't reset itself via USB hub19:33
SuperMarioSFa powered hub19:33
SuperMarioSFTime to add more things to make it happen.19:34
SuperMarioSFI'm adding a smart switch.19:34
SuperMarioSFOK it worked, finally19:40
Wizzupyou could run the gadget in local.d as well19:40
SuperMarioSFI guess the problem is without a power reset on USB, gadget won't be working properly after reboot.19:41
SuperMarioSFso I add a smart switch to solve the issue, and it worked,19:41
Wizzupok19:42
SuperMarioSFjust send USB bus reset on router, following with a power cycle on Hub's power, everything will be back online.19:42
SuperMarioSFbtw maybe customizing device vendor info will be nice. currently it was Foo Inc Bar Device.19:43
SuperMarioSFbetter be: Maemo Leste Fundation Droid 4 Device. ;P19:44
SuperMarioSF* typo: Foundation19:45
WizzupSuperMarioSF: actually I set that to foo and bar :)19:47
Wizzuphttps://github.com/maemo-leste/hildon-usb-gadgets/blob/master/src/gadget-helper.c19:47
Wizzuphttps://github.com/maemo-leste/hildon-usb-gadgets/blob/master/src/mass-storage.h19:48
SuperMarioSFhmmmm 🤔19:48
Wizzupwe probably need to make that something sensible :D19:48
SuperMarioSFwhat if this can be managed via config file?19:50
Wizzupfine by me19:53
Wizzupsome glib ini reading or so, we do this in many places?19:53
Wizzupbbl19:54
freemangordon1maybe extend and use https://github.com/maemo-leste/osso-product-info20:03
uvosi mean implemantation wise thats about as terrible as it comes20:28
uvosa hardcoded char array of stuff20:29
uvosanyhow an effort should be made to get this from more standart places20:30
uvosthe gadget name could be related to of name of the device for instance20:30
siceloWhat's an example standard place?20:34
uvos /proc/device-tree/model20:34
siceloI think pmOS uses what they call deviceinfo20:34
siceloTheir own thing, that is20:35
uvosim sure deviceinfo gathers information from places like /proc/device-tree20:35
uvos(instead of a hardcoded list)20:35
siceloYou assume :-)20:36
uvosanyhow yeah joineing forces with pmos is also an option20:36
uvosthats preferable to resurecting some maemo dianosaur hardcoded list20:36
siceloDeviceinfo is a static file, hardcoded per device20:36
uvosif so then at least its a file ;)20:36
uvosalso ok deviceinfo makes sense beacuse a primary user is pmbootstrap20:39
uvosobv you cant gather info in pmboostrap, it needs to be told what to build20:40
uvosso osso-product-info and Deviceinfo have different contstraints20:40
uvosand deviceinfo is sane while osso-product-info is very not20:40
* sicelo doesn't see the difference so much20:45
sicelopmOS also aims to support 200+ devices, so deviceinfo is geared towards that20:46
Wizzupuvos: yeah I wrote it mostly for debug and test purposes, when it wasn't even working in kernel21:51
uvosWizzup: i wasent talking about hildon-usb-gadgets21:54
uvosWizzup: i get that21:54
uvosWizzup: i ment osso-product-info21:54
Wizzupah21:54
Wizzupyeah we want to remove/deprecate tat21:55
Wizzups/tat/that/21:55
freemangordon1and use what instead?21:55
freemangordon1not that I disagree, I am just not aware of the replacement21:56
uvostry and get away with using just the info that the kernel provides21:56
WizzupI mean the interface is not bad per se21:56
uvosif not possible do soemthing like pmos21:56
uvos(ie with text files)21:56
freemangordon1how is that different?21:56
uvos?21:56
freemangordon1I mean -we can easily change osso-product-info to use text files21:56
uvoshow ist that not different to a hardcoded c array21:56
freemangordon1it is the same - it should be maintained by us21:57
Wizzupwell the interface stays the same21:57
freemangordon1either files or C array21:57
uvoswell using pmos implentation gets us the values for lots of devices, otherwise sure21:57
freemangordon1I see21:57
Wizzupmost not mainline though, but yeah21:57
buZzis hildon-usb-gadgets a tool for configuring usb-gadget modes?21:57
Wizzuparg vivatel still just fails to up for my dutch sim in BG :)21:58
WizzupbuZz: yes21:58
buZznice21:58
buZzWizzup: i have the feeling the APN settings might not be properly configured in 'weird' situations, like roaming21:59
Wizzup+ https://github.com/maemo-leste/hildon-status-bar-usb21:59
buZznice21:59
WizzupbuZz: this also fails on my n900 and other phones21:59
Wizzupit's probably unrelated to leste specifically21:59
buZznow we just need to write a PC suite? :D21:59
Wizzupother operators here work21:59
buZzhehe21:59
Wizzuppc suite is pretty easy, the modem access of it not so much21:59
buZzunless we abuse usbgadget for it?22:00
buZzi think that can emulate a serial port anyway, we could just 1:1 pass it through with a small tool22:00
freemangordon1Wizzup: you are in BG?22:00
buZz(i dont know what pc suite all did)22:00
uvoswhy do we want modem access thrugh pc suite?22:01
buZzno clue22:01
buZzi do love the idea of connecting a droid4 to my laptop for 'internet access' with USB22:01
uvoswell you dont need direct access to the modem for that22:02
buZzbut usb ethernet gadget thingy can be used for that, i think22:02
uvosusbnet and some routing22:02
buZzyeah22:02
freemangordon1uvos: oh, seems you have fixed the auto-relock thingie (at least judging by mce changelog)22:02
buZzprobably even better without22:02
Wizzupfreemangordon1: yup, just now22:02
uvosfreemangordon1: yes but its a stop gap22:02
buZzWizzup: thats always such a weird idea in my head, if we are 'maemo 7' why are we just trying to be 1:1 'maemo 5'22:02
WizzupbuZz: hm?22:03
uvosi still need to rewirte the input layer to use libinput22:03
buZzi mean, many things in UI are done away with 'thats how fremantle did it'22:03
buZzetc22:03
WizzupbuZz: this isn't about UI22:03
Wizzupit's about modem func22:03
Wizzupand the sim + this operator is just weird22:03
buZz100% of my sims have that experience22:03
freemangordonnever had any issue abroad22:04
uvosso that it can share device share configureation with xorg/sdl/wayland (think callibration, ignored devices, what is a gamepad/mouse/ts/etc)22:04
freemangordonbesides most of the places now have disable 3G22:04
buZzi'm gonna buy a second gprs capable sim just for testing mosh powerusage btw, gonna look for a provider that allows me just a 1 month contract22:04
Wizzupfreemangordon: this is about kpn (dutch) with vivatel/vivacom specificallu22:04
WizzupbuZz: cool22:04
freemangordonWizzup: yeah22:04
buZzshouldnt cost me >10 eu , i -expect-22:04
Wizzupuvos: libinput as opposed to, /dev/input/ ?22:04
buZzmaybe i can put a usb charger connected to that d4 with a sonoff so i can turn charging on/off remotely22:05
uvosWizzup: right atm it just opens all the event devices itself and reads them22:05
WizzupI mean, it's a pretty sane way, no? :)22:05
uvosno22:05
Wizzupwhat's lacking?22:06
Wizzupjust curious22:06
uvosbecause not all input devices should be used, and callibration should be applied and mce should not have its own heuristics of what is a mouse/keyboard/gamepad etc22:06
uvoslibinput uses udev hints and has a huge list of exceptions that makes it work reliably22:06
uvosmce cant compeat22:06
uvosalso we configure xorg via libinput (callibration - ignoreing some stuff)22:06
uvosmce needs its own special config to do the same thing - again.22:07
Wizzupah ok, that makes sense, so it's for properties and such22:07
uvosyes22:07
buZzyou can have some intelligence about which type of /dev/input/event devices to try22:08
buZzlike by bus22:08
buZzor something22:08
uvosrigh libinput dose all these things22:09
uvosand has a large exception table to fix where things go wrong22:09
uvosand can be configured via udev rules22:09
uvosand that then applies to xorg/wayland/sdl etc22:09
uvosall in one place22:09
sicelouvos: re - modem via 'pc suite' ... usbnet + routing is difficult for the average user, while handling (AT) modems is very easy even in OSes such as Windows22:17
uvossicelo: we cant really assume every phones modem is goning to have a at interface22:18
uvossicelo: so this means implementing a modem emulator22:18
uvosandroid presents a usbnic, that seams best22:18
uvosand is easy to deal with on windows too22:19
sicelohence i added AT in () ... the point is - this stuff is seamless in almost any OS, unlike messing with usb-net. have you ever seen how RNDIS stuff works in Windows?22:19
siceloanyway ...22:19
uvossure its a bit of a mess22:19
uvosstill better than routing out the raw modem imo22:19
uvosbtw mbm can do this iirc22:20
uvoson d422:20
uvoscpcap can directly route the modem out to the usb port22:20
sicelocpcap :-)22:20
uvosnot a fan of the chip eh? :P22:21
sicelobuZz: tbh, leste was never really going to be maemo '7' in that sense. it was simply 7 because 6 was already taken by Harmattan. Otherwise, it was always going to be based largely on Fremantle. at least in the beginning22:23
buZzsicelo: right, sure, i can understand it from starting point, just not from dailydriver + 'we have the wheel' standpoint, always ;)22:29
sicelomaybe it'll end up like iOS ;-)22:30
buZzsicelo: taking screenshots of programs so you dont see the recovery from swap?22:38
sicelothat too22:39
buZz:)22:40
buZzi kinda like the live thumbnails in app switcher22:40
buZzor whatever its called22:40
siceloothers don't22:40
sicelothe nature of people :-)22:41
buZzi have no idea, i barely used smartphones ever since wince/symbian wasnt a thing anymore ;)22:41
uvosi like it, i just dont think its worth it resource wise.22:41
buZzthe live thumbs arent worth it?22:41
uvosno22:41
buZzdoes it eat a lot of ram?22:41
uvosthey force a extra full screen buffer of eatch app at all times22:41
buZzor resources? i havent noticed much cpu load from it22:41
uvos(even when not in the switcher)22:41
buZzbut didnt look at power stats specifically22:41
buZzgee22:42
uvosalso they eat a lot of ram bandwith22:42
uvos=  a lot of power22:42
buZzmaybe we can change that behaviour to use caches more efficiently?22:42
buZzs/caches/buffers/22:42
uvosnot really22:43
uvosyou could suspend compositing when not in the switcher22:44
uvosbut this requires lots of rearchitectureing in hildon22:44
sicelobuZz: sometimes i miss S80 (found in the Communicators, 9500/9300). Apparently that's where Hildon traces its roots from22:48
buZzi think we could do 'better' for the future ppl that use leste once its 'gamma'22:50
sicelosure :-)22:57
sicelobtw, of late, when my d4 manages to get into charge mode, it gets stuck there. only a hard reset allows me to get to a working system23:23
Wizzupnew kernel problem?23:27
uvosno this is the drm hang23:45
uvoscharging sdl gets into the same drm hang as xorg23:46
Wizzupin the ioctl23:46
Wizzup?23:46
uvosyeah23:46
uvosit uses blocking io so its a little different23:46
uvosbut yes essentally23:46

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!