libera/#maemo-leste/ Saturday, 2021-07-24

Wizzupuvos: I think the ucm stuff fails because the call volume is not avail00:21
Wizzupstrace reveals:00:21
Wizzup3215  write(2, "I: [pulseaudio] (alsa-lib)main.c: unable to execute cset 'name='Call Volume' 0'\n", 80) = 8000:21
Wizzup3215  write(2, "I: [pulseaudio] (alsa-lib)main.c: error: failed to initialize new use case: HiFi\n", 81) = 8100:21
Wizzup3215  write(2, "E: [pulseaudio] alsa-ucm.c: \33[1;31mFailed to get the verb HiFi\33[0m\n", 67) = 6700:21
Wizzupthat could relate to the modem not being picked up properly or something00:22
Wizzup(there is no /dev/motmdm1)00:23
Wizzupbut this looks ok:00:24
WizzupJul 24 00:11:56 localhost kernel: [   17.666717] phy-mapphone-mdm6600 usb-phy@1: modem status: 4 awake00:24
WizzupJul 24 00:11:56 localhost kernel: [   17.686828] phy-mapphone-mdm6600 usb-phy@1: Powered up OK00:24
* Wizzup zzz00:32
inkyuvos, is it possible to accept characters from 'some language' and english always? if that is the case then english + other language will always work in x11 programs.01:03
inkyi won't type setxkb each time in maemo terminal.01:04
inkythough maemo terminal helps a lot, because it always accepts both layouts.01:04
uvosinky: we really just need to figure out how to swtich input language in him on the fly11:35
uvosinky: the problem is that him gets a string of random utf8 chars11:35
uvosinky: and then must decide what xkeymap to switch to11:35
uvosinky: not sure how to approch that11:36
uvosinky: as a temporary hack you can take a d4 keymap and add any chars you want to write with the vkb by assingning them any free keycode between 30-25011:37
uvosthen you can type 2 or how ever manny languages you can fit into that space11:37
uvosWizzup: yes that would make ucm fail11:37
stano_on d4, 5.11, getting a lot of usb disconnects/reconnects, about once a minute12:04
stano_with 'exception stack' stuff in /var/log/messages12:05
stano_maybe something is doing bad usb things12:05
stano_maybe usb autosuspend is culprit12:06
stano_https://hamwaves.com/usb.autosuspend/en/index.html12:06
stano_now i've got flashing green light and constant reconnects :/12:08
stano_looks like the powered i-tec usb hub is giving me a stable connection though12:09
Wizzupuvos: mh12:12
stano_having a few different powered usb hubs seems to be a good thing.  i have two here that droid4 is happy on, one that it is not.12:30
WizzupI don't use a hub on my d4 really, I rarely do that on my phone12:31
stano_in my case right now, droid4 is not acting as host12:32
uvoscpcap is picky about otg devices12:32
uvosno idea why12:33
uvosbut its the same on android12:33
stano_that hub you posted a pic of works nicely as otg hub uvos12:33
stano_others, notsomuch12:33
uvosi think its just a stickler for spec, it will immidatly cut devices off that dont negotiate power correctly12:33
uvosfor instance12:33
stano_i just started losing wifi again today, on the AP next to the desk, so i'm back to usb networking12:35
Wizzup11:35 < uvos> inky: we really just need to figure out how to swtich input language in him on the fly12:35
stano_better this way12:35
Wizzupthis is possible with a key combo12:35
Wizzupsym+spcae ?12:35
uvosWizzup: no12:35
uvoswe are not talking about that12:35
Wizzupok12:35
uvosfor the x11 backend him needs to switch xcb to a keymap that contains the keysymb it wants to send12:36
Wizzupuvos: btw, also with the new radio.img I don't get any signal yet on the d312:36
uvosthis irrespective of input language12:36
Wizzupah12:36
Wizzupright12:36
uvoseg the english vkb contains keycodes not in the us map etc12:36
uvosWizzup: if i read xcb correctly the radio.img just enables the bands nesscary12:37
Wizzupxda*12:37
uvosyeah12:37
Wizzupso the build.proc is the other change required12:38
Wizzupprop12:38
uvosWizzup: no you still also need to sim unlock in nvmem, which is something maybe radiocomm can do12:38
uvosits 3 things12:38
uvosread carefully :)12:38
WizzupI kind of figured I'd just skip that, but since I don't have the modem showing up on leste, I think something is up12:38
Wizzupoh am I really that bad12:38
uvosyou can skip the build proc thing12:38
uvosfor sure12:39
uvosi would install the radiocomm msi you found some while back12:39
Wizzupuvos: oh right:  3 - Unlock the phone. This can be accomplished by purchasing the unlock code, and later entering the code upon insertion of a sim card. (T-mobile ATT sim cards will work, but you will get an error saying UNLOCK FAILED, this is NORMAL do not freak out)12:39
uvosand see what it says12:39
Wizzupuvos: this? https://dev.x-null.net/own3mall/droid4-motorola-root-and-tether-hack/tree/84047709b08c0c1ce42e1053fe214a8fd58b5864/files/radiocomm12:40
uvosWizzup: sure12:40
uvoswe had some more recent version i think12:41
uvosbut i may be mistaken12:41
Wizzuphmm12:41
uvosoh no its there12:41
uvos11.12.212:41
Wizzupah this was with the bionic12:41
uvosyeah12:41
Wizzuphttps://leste.maemo.org/Motorola_Droid_Bionic#Unlocking_the_modem_for_usage_in_Europe12:41
WizzupI could just try that ...12:41
uvosthat just unlocks other bands12:42
uvoslike radio.img12:42
uvosafaik12:42
Wizzuphm12:42
uvosits unrelated to simlock12:42
uvosthe bionic wasend certified for gsm by the regulatory agencies12:42
uvosthe point of tying radicomm is that it has human readable values for the nvmem values12:43
uvosso it might be obvious what to do with it12:43
uvoswe can then later do it with tcmdrw12:43
uvosbut idk12:43
uvostry it :)12:43
WizzupI also see this in my logs:12:45
Wizzup22:37 < tmlind> i also had to do tcmdrw 6850=05 for 3g voice to work properly12:45
Wizzupthat's not on our wiki anywhere12:45
uvosyeah because you wanted to try a voice call with bionic first12:45
Wizzupuvos: yeah sure I'll try it, I just have only my gentoo laptop here12:45
uvosbut we never did it12:45
Wizzupso i'll have to install windows and do usb passthrough12:45
uvoshttp://uvos.xyz/maserati/GSMBionic.pdf12:45
Wizzupuvos: classic me12:45
uvosmight work in wine12:46
uvosthis shows how to use radiocomm in a general sense12:46
Wizzupwe should really aggregate all these files somewhere12:46
uvosYOUR the guy who works at archive.org :D12:46
WizzupI mean on maedevu or something12:47
uvosyeah i know12:47
uvosstill funny that we are so bad at saveing files12:47
WizzupI have a directory with droid3 stuff12:47
Wizzupeverything I found mostly12:47
uvosok12:47
Wizzupalso I don't think radiocomm will work in wine really, if it relies on the windows driver for usb12:47
uvosyeah i guess not12:48
uvosunless it uses the userpace usb facilitys12:48
uvoslike libusb12:48
uvosnah wait12:48
uvosits to old for that12:48
WizzupI don't think wine does that either12:48
uvosno idea12:48
Wizzupah: https://www.phoronix.com/scan.php?page=news_item&px=Wine-Wineusb-Merged12:49
uvosyeah but winusb is to new12:49
uvoswindows dident have sutch a thing when radiocomm was made i think12:49
WizzupI am cloning the motorola-root-and-rether hack over my lte sim and regret it12:49
* Wizzup stops12:50
Wizzupit's very large ;)12:50
Wizzupuvos: just to be clear, you said on the xda thread you linked someone said unlock works with radiocomm, but I don't see it12:54
Wizzupwas it on some page 20 or so? :P12:54
Wizzupradiocomm def looks interesting12:55
Wizzupheh they are written for windows xp12:56
uvosyeah its on p20 or something12:56
uvosone guy sais that radiocomm has a field for sim unlocked12:56
uvosand he did that but it still dident work12:56
uvosso clearly its intended to do this12:56
uvosmaybe he did soemthing wrong12:56
uvosor android was blocking him12:56
uvosno or whatever12:56
uvosbut thats why i would check12:56
Wizzupok, wondering if I go down this road, if I should flash stock radio.img first, and do some dumps12:58
Wizzupfor the record it's here https://forum.xda-developers.com/t/guide-unlock-xt862-for-t-mobile-att.1406812/page-613:01
Wizzupsounds like I should flash stock radio.img back to at least get android to complain about the unlock code13:03
tmlindWizzup: please take notes on the register id numbers and names if you find something interesting, the same regs should be accessible with tcmdrw too then13:04
tmlindno idea what that sim unlock stuff might be, maybe it's not nvram regs13:05
uvosmaybe its in cal13:05
uvosWizzup: yeah i would save as mutch as possible13:06
uvosi would dump the nvmem and dd all partitions mmcblk1p1 to p1513:07
uvosto have something to diff against after you sucessfully unlock13:07
tmlindso is there some link somewhere about the sim unlock stuff or what's the page 20 above?13:07
uvosso for d3 you can buy unlock codes from shady places13:08
uvosthat work somehow13:08
tmlindweird13:08
uvosand some guy in the xda thread says that radiocomm has a field for sim unlock13:08
uvosbut it didnt work for him13:08
uvosso we are exploring the avenues13:08
tmlindbut so where do you type in some code if you get an unlock code?13:09
Wizzuptmlind: it was page 6: 13:01 < Wizzup> for the record it's here https://forum.xda-developers.com/t/guide-unlock-xt862-for-t-mobile-att.1406812/page-613:09
tmlindok13:09
uvostmlind: android13:09
Wizzupandroid has a dialog for it, yeah13:09
tmlindok13:10
Wizzupso regarding network unlock, I think it makes sense to flash back the stock radio, see if android still complains about the lock (it should, just to get to default state), and then do various dumps from leste, maybe try the radio image for gsm from the thread above, dump again, and then either look with radiocomm, or if that's too annoying, get an unlock code13:11
tmlindfyi, the build.prop changes just update nvram 1877 i think to enable other bands13:11
Wizzupah, check13:11
tmlindnvram 1877 from memory though.. the nvram reg that contains a bitmask of enabled bands13:12
uvossounds like a plan13:12
Wizzupuvos: want dumps of the partitions at every step too?13:13
tmlindmaybe droid4 has similar unlock code but no gui to enter it..13:13
tmlindWizzup: tcmdrw dumps before and after unlock code would be interesting13:14
Wizzupregardless of radio.img ?13:14
uvosyeah13:14
Wizzupok, I'll do it one of these days, maybe wait a day or two to see if others get any more ideas of data they want before I do it13:15
tmlindWizzup: if you reflash radio.img, you need to rewrite the nvram regs for 1877 etc13:15
uvosWizzup: maybe we should have bought that protoype german d4 that was on ebaykleinanzeigen13:15
uvosfor the raido.img13:15
tmlindyeah13:15
Wizzupuvos: yeah13:15
Wizzupuvos: I guess it's not still there? :p13:15
uvosno :(13:15
uvosstano_: you dident buy it right?13:16
tmlindso if d3 and d4 both have mdm6600, i guess there's a slim chance d3 radio.img can be flashed on d4..13:19
uvosi think we tried the same thing with bionic13:20
tmlindunlikely though as bionic and d4 have different radio.img keys13:20
uvosdident work13:20
uvosyeah13:20
tmlindyup13:20
stano_i did not uvos13:20
uvosto bad13:20
Wizzuptmlind: right to attempt to make it work in the US you mean?13:21
tmlindright13:21
tmlindso d3 is xt862 or are there more variants to it?13:22
uvosthere is milestone 313:22
uvosxt861 and xt86013:22
uvosafaik13:22
uvoswhich is the gsm version13:23
uvoswhere the radio.img comes from13:23
uvos(specificly the chineese one aperantly)13:23
tmlindoh ok13:23
Wizzupuvos: oh looks like I ordered a xt861 on ebay, so we could compare13:24
uvosgreat13:24
tmlindis there a link to the chinese xt860 radio.img somewhere?13:24
tmlindi'll try to flash it on my d413:25
Wizzupthere should be chinese firmware I think13:25
Wizzupuvos: what does 'VB' mean? https://www.ebay-kleinanzeigen.de/s-anzeige/motorola-milestone-droid-4-xt894-8mp-qwertz-tastatur-slider/1809031316-173-776113:28
buZzoh, could we put those codenames on the wiki aswell?13:28
buZzXT894 etc13:28
buZzinstead of only 'masarati'13:29
Wizzuplooks like it's a regular phone though13:29
buZzor next to13:29
WizzupbuZz: feel free13:29
buZztnx13:29
uvosWizzup: verhandlungsbasis13:30
uvosaka name a price13:30
tmlindbbl13:30
Wizzupuvos: hm the internet seems to say that unlock codes are only required if you're in the us13:36
Wizzupah, no, nvm13:36
Wizzupmisreading13:36
Wizzuphttps://forum.xda-developers.com/t/guide-unlock-xt862-for-t-mobile-att.1406812/page-9#post-23764724 seems to mention some chinese radio stuff13:39
buZzthe droid3 doesnt have a wiki page yet, right?13:50
buZzi did the droid bionic and droid4 pages anyway13:51
buZzXT875 and XT89413:51
WizzupbuZz: I will make one later yes13:54
sicelostano_: you were saying DCEW says "Invalid command" for the command you were using. I'd like to ask if the command itself did work - iirc you were trying to set brightness - was that working through DCEW, or it didn't run at all?14:01
stano_hi sicelo, i now set brigness as root with 'echo'14:01
siceloright. i still would like to know if it was working though :)14:02
stano_the complete brokenness was the result of tape over the light sensor14:02
stano_it's still on-deterministic how bright i get the backlight using the applet14:02
stano_*non14:02
siceloalright. let me boot vm to test DCEW14:03
stano_this is interesting.  using barrier and a mousepointer, i get deterministic brighness when clicking each of the 5 bars.  but tapping screen with finger, it's 'random' result14:09
Wizzupyes, we know it's a mce problem afaik14:11
Wizzupuvos: btw given what I currently have working, it looks like kexecboot might be a better choice than clownboot, or not?14:11
buZz-clown- boot? :D :D14:12
buZzah https://github.com/IMbackK/bionic-clown-boot :D14:12
buZzisnt that kexecboot?14:12
Wizzupmhm I guess..14:14
_uvos_Wizzup: clownboot is an alternative to tmlinds utagboot14:22
_uvos_not kexecboot14:23
_uvos_aka they both exist to start kexecboot14:23
_uvos_aka they both exist to start kexecboot14:23
_uvos_if you have a sane dts yeah clownboot is the nexy step14:23
Wizzupok14:24
Wizzupbtw: tcmdrw --all should work, no?14:27
_uvos__buZz: yeah i called it clownboot because kexecing from linux to linux in order to kexec linux is clown-y14:29
buZz:D14:29
stano_are these projects https://github.com/maemo-leste-extras  apt-gettable?  e.g. crazyparking?15:12
stano_'https://pkgmaster.devuan.org/merged beowulf Release' no longer has a Release file. confuseing me15:12
buZzstano_: thats a wrong url15:24
buZzshould be deb.devuan.org15:24
buZznot pkgmaster.devuan.org15:24
stano_ty15:27
buZzstano_: -some- of those -extras are apt-gettable15:27
buZzbut not all15:27
stano_i still don't understand Wizzup's sdl1.2 fix.  but it works now.15:29
stano_i'm just a dog that is happy there is food in the bowl.15:29
buZz:)15:55
stano_do you have a libsdl1.2 tree compiled on d4 buzz?  what do you get with ./testblitspeed --screen ?16:21
buZzi have not16:21
stano_it might be good to add a fullscreen mode to testblitspeed.c16:22
stano_https://github.com/maemo-leste/libsdl  this seems to have none of anyone's changes16:41
sicelodoes anyone have commands they feel should be shipped with Desktop Execution Widget? I'm preparing to update it by removing Fremantle's obsolete commands, and changing the way it handles commands that don't return a value (issue #558)16:41
stano_yay thanks16:42
buZz:)16:48
buZzsicelo: i havent tried it as i barely understood what its for16:48
stano_could do something like cat your temperature sensor on every desktop update16:49
buZzdoesnt conky work?17:00
siceloit does17:04
siceloDCEW is a desktop widget for 'one-shot' commands. the defined commands run only when the widget is tapped, or some other condition specified in the widget is satisfied. conky is always running17:06
stano_i think it's a great addition17:08
sicelowhat?17:09
stano_DCEW17:09
stano_very nice to be able to put commands on shortcuts17:10
siceloah, right17:10
sicelothere was also a more popular one with more features, Queen Beecon Widget - but i liked DCEW for being more compact and simpler17:11
stano_but i'd do some shortcuts to things like set my default gateway, or brightness, or other stuff17:15
stano_like one button to setup usb network. that'd be nice17:15
siceloyes, DCEW allows you to do that, you can have multiple widgets (unlike some other widgets where you can have only one of each type)17:16
siceloi'll ship the update without any new commands - i guess people will have differing needs17:17
stano_i can't think of anything useful-for-most-people17:19
siceloyeah, me too17:19
stano_barrier is very fun. have you tried that?  pc mouse and desktop on your leste device17:20
siceloanyway, only few use it, so - keeping it simple17:20
stano_yes17:20
buZzstano_: i've used x2x for similar17:21
buZzah barrier is a synergy fork17:21
lelsicelo closed an issue: https://github.com/maemo-leste/bugtracker/issues/558 (desktop-cmd-exec: does not execute commands that do not return values)18:05
sicelostano_: updated DCEW is in repos.18:05
siceloyou may want to look at my comment to your GH issue18:06
stano_sudo dsmetool -k /usr/bin/hildon-home && sudo dsmetool -s /usr/bin/hildon-home  << can also pick-up other packages installed and show them in menu?18:07
siceloi am not aware that there are bugs with display of newly installed packages in the application menu. the problem only affects widgets, to the best of my knowledge18:11
siceloit's so nice using the VM now that kvm works on my laptop :-)18:33
stano_for faster compiles?18:35
sicelomaybe it was the hexagonal "theme" that made me avoid QBW on Fremantle - https://wiki.maemo.org/Queen_BeeCon_Widget18:36
sicelostano_: yes, but the compiles weren't really too bad. it was using the 3D accel that was excruciating. i didn't mind too much because i generally am patient :p18:37
siceloand of course, had no other choice anyway, at the time18:37
sicelobut yeah, QBW has far more features - maybe should port it one day18:38
stano_can opengl-es take a 16-bit color texture and display it on 24/32bpp xorg doing the conversion in gpu?18:41
stano_drnoksnes does 16bpp colors internally18:42
stano_i'll try to get the simple hildon animation actor test program to run in 24bpp first18:43
stano_or maybe not, i don't know the right way to approach it18:43
stano_gprof yields too big binary?  - illegal instruction20:04
stano_valgrind not available except on aarch6420:04
stano_oh it is available if you use http not https for the repo20:21
stano_valgrind --tool=callgrind also seems heavy: ==15588== brk segment overflow in thread #1: can't grow to 0x484e00020:40
stano_i'd like to see where this program spends its time20:41
stano_https://gernotklingler.com/blog/gprof-valgrind-gperftools-evaluation-tools-application-level-cpu-profiling-linux/20:41
stano_there used to be this -oprofile thing.. hm20:41

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