libera/#maemo-leste/ Monday, 2021-07-26

kshatriyawlan on updated d4 died again - nothing showing in scan11:14
kshatriyathe available networks dialogue says "no connections available" but that disappears after 0.1 second and the dialogue is completely black11:21
Wizzupkshatriya: hm, fully up to date?11:25
kshatriyaas of yesterday yes11:26
kshatriyachecking /var/log/messages has a lot of pvrsrckm_omap4_sgx540_120 errors - looking for something relevant to wlan11:29
kshatriyaJul 26 02:53:21 ml1 kernel: [    6.733489] platform regulatory.0: Direct firmware load for regulatory.db failed with error -211:30
kshatriyaJul 26 02:53:21 ml1 kernel: [    6.733642] cfg80211: failed to load regulatory.db11:30
kshatriyathat looks like the culprit11:31
kshatriyawell no, that is the only thing i see.11:31
kshatriyai can not conclude the thing i see is culprit11:32
kshatriyaj/11:33
kshatriyathere are no wlcore warnings in messages. the calibration was performed.11:34
WizzupRoal-Yr: we should be able to support the xt610 I guess11:37
Wizzupkshatriya: odd, did the update complete properly? did you restart and is it still a problem?11:37
kshatriyayes to both11:38
Wizzupok, as far as I know there really aren't any wifi-breaking changes now, so maybe something else happened to your device11:38
Wizzupdoes apt complain about unfinished installation?11:38
Wizzupis the wifi interface visible?11:38
kshatriyathanks. if I find more info I will let you know11:38
kshatriyaip a shows me a wlan0 interface state DOWN11:39
bencohtry ifconfig wlan0 up11:42
bencohand open the connections dialog again11:42
kshatriyasame result.11:43
kshatriyaok it was just the gremlins of wifi.  starting up an AP nearby shows in the scan11:44
kshatriyathe normally visible access points are just not there for some reason11:44
kshatriyathe disappearance of the text in the networking dialogue is a bug though11:45
Wizzupok, so scanning itself (and connecting) is not broken11:49
Wizzuptmlind: ok, mailed you some files11:49
Wizzuphey juha replied :)11:50
uvoscan i have cc if you are discussing radiocomm settings?11:51
Wizzupuvos: will forward11:58
kshatriyaafter a minute or two the new AP is gone from scan results11:59
Wizzupkshatriya: that is when they expire, that makes sense I think12:00
Wizzupso it doesn't show even though it is still there?12:00
kshatriyaandroid phone still sees it, and two other networks12:01
kshatriyaiw dev wlan0 scan returns nothing12:01
Wizzupoh, so we probably do not want to blame the ui then12:02
Wizzupdoes maserati-calibrate help?12:02
sicelocheck scanning with wpa_cli if you can, instead of iw dev12:03
kshatriyabased on my reading maserati-calibrate should only be done after installing firmware-ti-connectivity*.deb12:03
Wizzupthere are a lot of xt610 on ebay: https://www.ebay.com/itm/144016066094?epid=99998236&hash=item218806c62e:g:1NcAAOSwd6pggHQ212:05
Wizzupkshatriya: those should be installed though12:05
Wizzupuvos: btw I don't think the d3 does any 4g/lte12:06
uvosWizzup: no12:06
uvosWizzup: but you could also connect a d412:06
uvosWizzup: since you will have it up and running12:06
Wizzupuvos: radiocomm? yeah12:06
uvosWizzup: yeah12:07
Wizzupnot there yet, though12:07
kshatriyaWizzup: uvos can tell you if re-running maserati-calibrate is advisable12:07
uvosWizzup: then again radiocomm v11.12 is so old (2009) that its sorta unlikely that it knows what to do with this chip12:07
uvoskshatriya: no12:07
Wizzupuvos: I could not find anything newer12:07
uvosWizzup: yeah i tried too12:07
Wizzupare you sure it's that old12:08
WizzupI'm a bit surprised, I think I recall 2011 or so12:08
uvosWizzup: is says to12:08
uvosi just installed it to a xp vm12:08
uvosi cant use it tho12:08
uvossince utagboot breaks all the access modes12:08
uvosWizzup: xt610 is not usefull unless you want to port leste to sholes12:09
dreamerwe need someone in the US: https://www.ebay.com/itm/14412094243512:09
uvosWizzup:  i assume you have plenty of totaly stock d4's12:09
* dreamer wants a 2nd d4 to experiment with12:09
kshatriyasicelo: wpa_cli shows an address, wpa_state and uuid when asking for status.  when running scal, wpa_cli returns no results12:09
kshatriya*running scan12:10
Wizzupuvos: yes, I do have some here12:10
Wizzupdreamer: I mean I could send them to my work/office, but I have a lot of d4s, better if someone else gets it12:11
Wizzupdreamer: lmk if you want me to get them here somehow12:11
Wizzupkshatriya: for wpa_cli you also need to type scan_results12:12
Wizzupuvos: what is sholes?12:12
uvosat85x and friends.12:12
kshatriyascan_results returns nothing12:12
uvos*a85x and friends12:12
uvosmotorola phones with omap3 and ti pmic12:13
Wizzupuvos: hm, I see omap3 at least yeah12:13
Wizzupthought it would be similar to n900 maybe12:13
uvosWizzup: yeah it is12:13
uvosit shares a kernel with a855  aka sholes12:13
uvosthese are omap3 refereance designes12:13
Wizzupah12:14
uvosan the arch that preceded mapphone12:14
WizzupI am surprising you know this much :-D12:14
Wizzupsurprised*12:14
Wizzupuvos: so winxp vm is what you did?12:14
uvosWizzup: yeah it needs 32bit12:14
Wizzupwonder if I should just set up a winxp vm on my laptop and do usb passthrough12:15
uvosif you start it on win10 i complains that you should download the 64bit version12:15
Wizzupheh12:15
uvosofc we cant do that12:15
uvosso you need 32bit windows12:15
dreamerWizzup: I was planning to buy one myself. which continent are you based atm? :P12:15
uvosit installs lots of drivers12:15
uvosso they really need to fit the win kernel bitedness12:16
Wizzupdreamer: I am in europe, but I can order it to my office and have them ship it to me, but it won't safe much on import that way12:16
Wizzupuvos: ok12:17
Wizzupuvos: vm sounds better then12:17
dreamerWizzup: do you mean for those ebay units?12:30
Wizzupdreamer: yes12:31
WizzupI guess you meant something else12:31
dreamerno I wasn't 100% sure what we where talking about :D12:31
dreamerI have some US contacts, will ask around if anyone is willing to do this. for that price it's not a huge risk. and I guess at least a few of that batch will work12:31
Wizzupok12:42
Wizzupprobably all of them will12:42
kshatriyarmmod wl12xx and modprobe wl12xx, now i can scan again \o/12:42
Wizzupbbiab12:42
Wizzupkshatriya: odd.12:42
dreamerWizzup: well it does say "13:09
dreamerCondition:13:09
dreamerFor parts or not working13:09
dreamerbut perhaps just need battery replacements? :P13:09
Wizzupdreamer: I ordered 11 tablets that way and they're all 100% fine it seems13:18
dreamerhehe13:20
dreamerI asked madeddie if he would do it :)13:20
uvosoften sellers just cant be botherd to test such old devices13:21
uvosmakes sense i mean if you where to go and take the time to test them you would be getting almost nothing on hourly basis.13:22
dreamertrue, but testing a lot is generally easier then doing a single device13:29
dreamersince you usually have to do the setup only once13:29
dreameranyway, lets see if we can get this batch in13:29
uvoshttp://uvos.xyz/maserati/mapphones.ods14:36
uvos^^^ exaustive (to my knowlage) list of mapphones14:37
Wizzupshould we host that on the wiki somewhere?14:37
uvossure14:37
uvosif you can convert that easy to a wiki table14:37
uvosthat might be best14:37
uvosmaybe wiki can take csv?14:37
Wizzupwondering what wiki page to make though14:38
Wizzupmaybe it can be a category page with this info14:38
Wizzupand then the mapphone can be part of that category14:39
Wizzupuvos: isn't droid4 lte us only?14:40
uvosthat collum means the only the us version has lte14:41
uvosits  not about the bands14:41
uvosi have no idea if milestone 4 supports lte14:41
Wizzupthe same column says 'y us only' for some others14:41
uvosright that means that there was a us and eu version14:42
Wizzup(as opposed to 'y' for the droid4 and bionic)14:42
uvosand the eu version dosent even have the chip14:42
Wizzupaha14:42
Wizzuphttps://articulo.mercadolibre.com.ar/MLA-747133640-motorola-milestone-4-droid-16gb-1-_JM wonder if this is a real milestone 414:51
Wizzup(br dollars but still expensive!)14:51
uvosi very mutch doubt14:52
Wizzup(lots of milestone 3 on the website though)14:53
dreamerWizzup: ok, ordered to madeddie's place in NYC :D14:53
Wizzupdreamer: neat14:53
dreamerhopefully he can get them to me relatively cheaply ;)14:53
Wizzupdreamer: mark them as 'for repair'14:53
Wizzup(i.e. you'll be returning them after you repair them for him)14:53
dreamerhehe14:53
dreameror as 'gift'14:55
dreamerbut 'for repair' is more accurate in a way :D14:55
kshatriyathe bottleneck isn't devices, it's developers15:02
Wizzup:)15:03
dreameruhuh, madeddie will get one for sure. he's been meaning to play with maemo and sailfish back in the day. now he'll have a maemo-leste supported device ;)15:12
dreamerwill also put one at nurdspace for general showing off and hackery (I'm sure buZz will be pleased)15:13
dreamerone at home for more dedicated testing15:13
dreamer(compared to the `apt update` I run every other month now :D)15:13
Wizzupneat15:14
Wizzupuvos: I'll try to find some time later today to look again at the modem and stuff on the d3, since it has the same usbid, I think, and the kernel powers it up, but I just don't see a motmdm device15:16
buZzdreamer: oooo nice15:19
dreamerbuZz: :) hopefully at his place in ~week and then another couple weeks to get here?15:26
buZzcould just wait for his next .nl visit?]15:27
dreamernah, he's not planning to come any time soon15:27
dreamerat least easier to figure out shipping to .nl using him then some rando ebay seller ;)15:27
Wizzupsome ebay sellers to ship to .nl15:33
Wizzupdreamer: but this way we get him to play with it, so yeah :p15:33
dreamer:D15:39
kshatriyait's a dream come true having 1GB RAM instead of 256MB, for maemo15:46
dreamer:D15:57
dreamerand two whole cores OMG15:57
Wizzupwith zram it is a bit more too15:57
kshatriyatwo cores is a great win, giving final blitting to screen to one core, while other core run game full speed15:57
kshatriyaor video decoding15:58
kshatriyadroid4 can run full-resolution h265, in cpu only, using fastdecode tune15:59
buZzwow really?15:59
buZzthats amazing16:00
Wizzupfull-res you mean native, right?16:01
kshatriya960x540 yes, up to 30fps tested16:01
Wizzuptbh our x setup could be quite a bit more optimised too I think16:01
buZzi'd love to see that noise removed on powering up the device from sleep-ish16:02
Wizzuphm?16:02
buZzevery time i press powerbutton on a 'sleeping' droid4 , i first get fullscreen of noise16:02
buZzunder 1 second, i guess16:02
uvosyeah16:02
uvosthis started happening with kernel 5.1016:03
buZzits minor, and doesnt seem to affect much16:03
kshatriyahttps://talk.maemo.org/showthread.php?p=1572159 some tests and results.  Power H265crf: 1760 mW16:03
uvosbtw for referance the cortex-a9 has about 125% the ipc of a816:03
kshatriyai haven't seen it buZz16:03
uvosso over all the should d4 outperfrom the n900 by about 5x on parallel loads16:04
uvoscpu wise16:04
uvosomap5 adds a another, comparatively disapointing 50%16:05
WizzupI don't think there are omap5 phones, there is just the pyra, no?16:05
uvosyeah16:05
kshatriyaand pyra didn't get the low-power omap516:06
uvosit was never made16:06
buZzhere's a vid showing the 'noise' on recovering from sleep ; https://streamable.com/21xpbq16:06
uvosi wonder if this is hiding a omap5 https://www.teltarif.de/arch/2013/kw35/motorola-droid5-qwertz-geruecht-1l.jpg16:06
uvos(milestone 5 prototype)16:07
Wizzupneat16:07
buZzbit hard to see i guess16:07
Wizzupwould be cool to find one of those16:07
uvoshttps://www.cnet.com/tech/mobile/early-motorola-droid-5-details-and-photos-emerge/16:07
uvosclearer photo16:07
Wizzupinternet says:16:08
WizzupInside, it will contain a MSM8960 Dual core Snapdragon Krait or S4 Plus processor chipset, an Adreno 225 GPU, with a RAM capacity of 1 Gigabyte to 2 Gigabytes, an internal built in storage capacity of 16 Gigabytes, powered by a 2,000mAh battery.16:08
buZz-or- ?16:08
buZz:D16:08
uvosi kinda doubt the know...16:08
uvosbut yeah maybe16:08
buZz> Diverging from recent Motorola Droid models, the Droid 5 might not have the Kevlar coating16:09
buZzwhat16:09
buZzdroid4 had kevlar? :D16:09
uvosno16:09
uvosxt91016:09
uvoshas kevlar16:09
buZzah16:09
buZzxt910 has a TI OMAP 443016:09
buZz:)16:09
Wizzupyes16:10
Wizzupsee the ods that uvos linked16:10
buZzah, but no keyboard?16:10
bencohlooks like a droid4 without keyboard16:10
buZzhmhm16:10
uvosx910 the supidest mapphone ever: a bionic with same display in a larger case and a smaller non removeable battery and no lte, relased 1 year after the bionic16:10
bencohhuhu16:11
buZzbut kevlar! :)16:11
uvosand slightly thinner!!!!!!!16:11
bencohI wouldn't call that 'stupid' but 'cheaper'16:11
bencoh(manufacturing process)16:11
uvosbencoh: it was more expensive16:11
bencohuvos: for the buyer, maybe16:11
uvosyeah16:11
uvosthe redesign might have been because of the lawsuit from apple16:13
uvosthey got a patent on phones with rounded corners (thats not a joke)  sued everyone16:14
uvosi think thats why the moto devices immidatly after this affair have those wierd corners16:14
Wizzuptmlind: any idea why the modem motmdm device would not show up?16:17
uvosWizzup: what mode are you in16:18
uvosWizzup: on a85516:18
uvosthe only one i ever used with radiocom16:18
uvosyou had to select one of the bp modes in the bootloader16:18
uvosWizzup: power on the deivce holding vol up and down at the same time16:19
uvosmbm comes up with boot modes16:19
Wizzupuvos: I don't mean radiocomm, I meant on leste16:19
uvosoh right16:19
Wizzupsorry, that was not clear16:19
WizzupI'm not ready for radiocomm yet, maybe tonight or tomorrow16:19
uvosok16:20
Wizzupmaybe it's related to the network lock somehow?16:20
uvosdo you have anything from it?16:20
uvosis it on the usb bus?16:20
Wizzupyes, it is on usb16:20
Wizzupwith the same usbids as d416:20
uvosok16:21
Wizzupand the usbtty's are there16:21
uvosinterupt might be somewhere esle16:22
Wizzupwhich interrupt?16:22
uvosthe status gpios16:23
uvosmotorola,mode-gpios16:23
uvosmotorola,cmd-gpios16:23
uvosmotorola,status-gpios16:23
uvosany of those might be wired somewhere else16:23
uvosfor board space reasons16:23
Wizzupok16:23
uvosbest compear the dts16:24
uvosagainst maserati stock dts16:24
Wizzupwhich I don't have converted to dts yet ;)16:25
Wizzupok16:25
uvosjust taking the dtb16:25
uvosand diffing the binary section where all the gpios are defined16:25
uvoswould be enough16:25
uvosits farly obvious in a hex editor16:25
Wizzupit's a shame though since we have decompilers for dtb typcally16:26
uvosbest take a android 2.3 dts for maserati16:26
Wizzupbrb16:26
uvosWizzup: sure16:26
buZzwow this tablet!17:45
buZzhttps://www.walmart.com/ip/Unitech-TB120-8-GB-Tablet-7-34-16-10-Multi-touch-Screen-1280-x-800-Texas-Instruments-OMAP-4-OMAP4470-Dual-core-2-Core-1-50-GHz-1-DDR-SDRAM-Android-4-/17071114617:45
buZzfirst tablet i see with something of a hw keyboard :D17:45
kshatriyaonly $1,711.53 too17:46
buZzooo https://ruggeddepot.com/product/computer-systems/ultra-mobile-pcs/intermec-cn51-4-touchscreen-ultra-mobile-pc-omap-4-omap4470-1-50-ghz-1-gb-ram-windows-embedded-handheld-6-5-800-x-480-display-wireless-lan-bluetooth/17:47
buZzeven pricier17:47
buZzbut that has omap4470 , so incompatible with our sgx stuff for 443017:47
buZzbut also has a vivante for 2D17:47
Wizzupthe sgx is not limited to 443017:47
uvos*70 has a different sgx core17:48
uvosbut the ddk claims its for am44x017:48
uvosso should work17:48
buZzah well curious17:48
buZzmaybe i'll throw those devices in my ebay hunter, who knows17:48
Wizzupmaybe try to find the milestone 4 then ;)17:49
buZzooo https://www.ebay.nl/itm/19411190169917:49
buZzWizzup: isnt that just a prototype?17:50
Wizzupyes17:50
uvosbuZz: yeah all we know of it is that apearntly one got sold on german ebay.17:50
Wizzupbut it might have certain (signed) firmware that's very useful17:50
buZzlots of milestone2's17:50
uvosyes m2 was the last device sold in europe17:51
uvosm3 was sold only in other regions (sa and asia)17:51
buZzthat intermec device is so tempting :P lol17:51
buZz*quickly closes ebay*17:52
tmlindWizzup: sorry not sure what you mean modem does not show up, is this for radiocomm or something?18:31
Wizzuptmlind: on leste, one sec18:36
WizzupI will boot it now18:36
tmlindok18:37
Wizzup(booting now)18:38
tmlindWizzup, uvos: fyi, the modem can be made to show up on the pc usb bus with just some extra mux settings, that's all there is to the bp only mode i think really18:39
Wizzuptmlind: still booting, but what I am seeing is the modem shows up in lsusb on the droid 3, and the kernel also shows that it powers it up and is successful in doing so, and I see /dev/ttyUSB{1,2,3,4}, but no /dev/motmdm118:42
Wizzupso ofono also doesn't pick the modem up18:43
tmlindWizzup: sounds like the /dev/gsmtty* related gpio pins are different18:45
Wizzupok18:45
Wizzupso I do see this kind of stuff:18:45
WizzupJul 26 18:42:52 localhost kernel: [   11.208496] phy-mapphone-mdm6600 usb-phy@1: using device tree for GPIO lookup18:46
WizzupJul 26 18:42:52 localhost kernel: [   15.534454] phy-mapphone-mdm6600 usb-phy@1: Waiting for power up request to complete..18:46
WizzupJul 26 18:42:52 localhost kernel: [   18.504394] phy-mapphone-mdm6600 usb-phy@1: modem status: 4 awake18:46
WizzupJul 26 18:42:52 localhost kernel: [   18.510650] phy-mapphone-mdm6600 usb-phy@1: Powered up OK18:46
Wizzuptmlind: sounds like what uvos said earlier then (and I will look into)18:46
Wizzup16:22 < Wizzup> which interrupt?18:46
Wizzup16:23 < uvos> the status gpios18:46
Wizzup16:23 < uvos> motorola,mode-gpios18:46
Wizzup16:23 < uvos> motorola,cmd-gpios18:46
Wizzup16:23 < uvos> motorola,status-gpios18:46
tmlindWizzup: check the gpios for motorola,mapphone-mdm6600 compatible18:48
tmlindheh that's "only" 11 gpios to match :)18:49
uvosyeah those are the ones i linked18:49
uvosor mentiond rather18:50
tmlindhmm the modem usb phy status sure looks ok above18:52
tmlindmaybe the revision is different if there's a check for it/18:52
tmlind?18:52
uvosalso enable and power18:52
Wizzupok, will do19:00
tmlindlooks like we have no modem firmware revision check19:01
tmlindWizzup: try modprobe n_gsm debug=0xff and take a look at the traffic19:01
Wizzuptmlind: yeah I did that but didn't see any traffic I think19:04
Wizzupanyway, let me move to the other place and try it out19:04
Wizzup(looking at the pins)19:05
tmlindok19:07
sicelobuZz: haha, more like - remote controller (that tablet)20:34
buZzsicelo: just imagine being a waitress in a small paris bar20:35
buZzwhipping out your MAEMO LESTE POS unit20:35
buZzto take payment in bitcoin20:35
buZz:)20:35
buZz*nokia tune plays on churchbells in the background*20:36
sicelo:P20:38
Wizzupuvos: btw, you recommended that I downclock the droid3 because I saw some resets, right?20:59
uvosWizzup: yes the omap4 chip in d3 is a different version20:59
uvosits rated to 1.0 ghz only20:59
uvosyour running it at 1.2ghz currently21:00
uvosi strongly doubt that this is the reason21:00
uvosbut its something to try21:00
WizzupI think it is on 1Ghz actually, but I set it to 600 Mhz and it still happens21:01
WizzupI need to fix other things as well21:01
uvosno21:01
uvosits 1.221:01
Wizzupprobably also keep in on serial and do pstore stuff etc21:01
uvosi changed this21:01
uvosmyself21:02
Wizzupuvos: well cpupower said 1000 I thikn21:02
Wizzupin any case setting it to 600Mhz didn't help21:02
uvosno its 1200000 137500021:03
uvossee &cpu in mapphone dtsi21:03
uvosbut yeah i doubt its the reason anyhow21:03
uvosand 600mhz confirms this21:03
WizzupI think it happens when a lot of power is in use, screen brightness is still max21:03
uvosWizzup: try pstore21:03
Wizzupuvos: yeah, need to make sure it survives kexec and stuff I guess, but too much going on at te same time21:04
Wizzupif I don't open the display it's ine21:04
uvosWizzup: the battery might be deadish21:04
uvosunder load the voltage would then sag to mutch21:04
Wizzupmaybe21:04
Wizzupit lasts like a day though21:04
uvosthe ir goes before the capacity goes21:04
uvosusualy21:04
uvostry loading it in android21:05
Wizzupok21:05
Wizzupwell, it's a very early port, we'll see21:05
uvosrun some benchmark or something in android and see i gues21:05
uvosits not printing anything on serial right?21:05
uvoswhen it crashes21:05
WizzupI haven't checked yet, I will21:05
uvosremeber that we disabeld the serial console output in standart cmdline for d4/bionic21:06
uvosin case you are copying that21:06
Wizzupmhm21:07
Wizzupargh, pulseaudio-modules-nemo just builds on my droid4 but not in jenkins21:08
WizzupI wonder if something removes the *.o files, or the timestamp causes problems or something21:17
kshatriyaimagine if phones had standard physical connectors on the edge, where radios approved for different regions could be snapped-on21:51
Wizzupwould be sweet21:55
Wizzupparazyd: any idea how I can debug the armhf build failures on jenkins?21:55
Wizzupparazyd: pulseaudio-modules-nemo fails only in jenkins21:56
Wizzupthe 'ar x' command in src/common/Makefile/am is never run21:56
WizzupMakefile.am21:56
uvoskshatriya: will be really hard to have the fcc sign of on that, that was also a problem for project ara.22:02
kshatriyais there a reasonable objection they could make?22:03
uvosyes phones have lots of additional requirements regarding emmissions to users head, total emmisions in various directions  etc that are impossible to cert except by certing every single combination of phone and radio22:04
uvosso it will never work22:04
uvosproject ara had exactly this problem22:05
kshatriyathere is legitimate concern over glioblastomas, studies in france and netherlands with DECT phones etc.22:06
parazydWizzup: Lemme check that in a little bit23:20
parazydWizzup: Can you paste a link here pls?23:20
Wizzupparazyd: ohi23:30
Wizzupparazyd: so the problem is this: https://phoenix.maemo.org/job/pulseaudio-modules-nemo-binaries/architecture=armhf,label=armhf/7/consoleText23:30
Wizzuphttps://github.com/maemo-leste/pulseaudio-modules-nemo/blob/leste/src/common/Makefile.am#L4023:31
Wizzupthe ar x never happens23:31
parazydWizzup: So seems you need to enable ARM_HARDFP?23:59
Wizzupparazyd: yes, but the same happens on the d423:59
Wizzupsame configure args23:59
Wizzupand the error is not there23:59
Wizzupparazyd: even if that's not enabled, there's still the other ar x23:59

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