libera/#maemo-leste/ Wednesday, 2022-10-19

buZzlol, tried that neverball-gles02:00
buZzbit buggy :P couldnt even start the game in the end, just ignored all the buttons, music kept playing :)02:00
* buZz considering patching the code for a 960x540 resolution option02:09
uvoshuh neverball did stop working10:45
uvosit worked absolutly fine in ddk1.910:45
freemangordonuvos: any idea how to dum audion controls from android adb?10:48
freemangordon*dump10:48
uvosaudio controls?10:49
uvosno10:49
uvosjust dump cpcaps registers?10:49
uvoswhat are you after?10:49
freemangordonthis is allwinner tablet10:51
freemangordonI am missing audio routing10:51
freemangordonlike what connects where10:51
uvosso androids hal is called audioflinger, that has plugins10:52
uvoson moto devices essentally everything is implemented in a moto vendor plugin10:53
uvosthats closed source10:53
uvosso theres no real awnser here that generally applicable10:53
freemangordonbut i see here audio_policy.conf10:53
freemangordonthis is a simple tablet with just a speaker and mic and 3.5 jack10:53
uvostheres probubly a generic alsa plugin, that just dose whatever alsa sais for simple cases, maybe it uses that. still not sure what your after exactly but in this case the information would really just be in dts/board code depending on how old the kernel is10:58
freemangordon3.x10:58
freemangordonI am after having sound from the tablet :)10:58
uvoswell looking at the dts would get you furthest11:01
freemangordonno dts11:01
freemangordonadb in android :)11:01
uvoswell looking at proc/asound maybe :P11:01
freemangordonok, what to look there?11:01
uvosidk i still dont know what you need xD, if this is about adding support for the audio setup to the mainline kernel via snd-soc you need to figure out what chips it uses for the dai and codec11:03
uvosthat would be in dts or kernel soruce11:03
uvosproc and sys can give you the names of the chips and dai ports too, but really its not going to be enough11:03
freemangordonI already have that11:04
freemangordonbut, how to figure out what is connected to HP jack, for example11:04
uvosfor the mapphones we gained this information by reading the kernel source11:04
buZzuvos: well, neverball -kinda- works, but yeah, fullscreen doesnt for instance11:33
buZzoo, i guess i could make a neverballrv11:43
buZzneverballrc*11:43
buZzmeh ok yeah, fullscreen 960x540 draws only distorted :(11:46
buZzannnnd, crashes hildon? :(11:47
uvoshmm it just exits with cant create gles surface for me12:17
uvosit used to work quite well, except fullscreen12:18
buZzwell, it starts here12:18
buZzi built it new from the git repo12:18
uvosi even wrote a proxy to allow it to use the accelerometer12:18
uvosas an input device12:18
buZzah, is that in the repo aswell? i just used the master branch, didnt even look for others12:19
uvossure but i dont remember what i called it xD12:19
buZzahhh, yeah, a 'beowulf' branch with more commits :)12:19
uvossec12:19
buZzfound it ;)12:19
buZzhttps://github.com/maemo-leste-extras/neverball-gles/tree/maemo/beowulf12:19
uvoshttps://github.com/maemo-leste-extras/iio-uinput12:20
uvosah you wanted neverball itself not the prox12:20
uvosy12:20
uvosyeah thats there too12:20
buZzthe new branch doesnt seem to have many changes? just some versionnumber that changed12:20
uvosright theres an issue with how it generates the version number is all12:21
uvosthat incomapabil with how debian buils the package12:21
uvosthere are no other changes in that repo12:21
uvosbesides building the gles version instead of gl12:21
buZzuvos: hmhm, well, the master branch built fine for me :)12:29
buZzjust did> debuild -us -uc12:30
buZzheh, what a cute thing ; https://www.crowdsupply.com/sutajio-kosagi/precursor12:38
buZzway too expensive imho, though12:38
uvosbuZz: the problem is on ci13:06
buZzyeah i have no clue how the ci works really :P13:15
uvosWizzup: console=/dev/null rw mem=1024M@0x80000000 vram=10300K omapfb.vram=0:8256K,1:4K,2:2040K init=/init ip=off mmcparts=mmcblk1:p7(pds),p15(boot),p16(recovery),p17(cdrom),p18(misc),p19(cid),p20(kpanic),p21(system),p22(cache),p23(preinstall),p24(webtop),p25(userdata)14:23
uvosthats edison14:23
uvosno utags14:23
uvossame story in cdt.bin14:23
uvoslooks like you cant download edison fw images anymore anywhere i can find14:34
uvosbut i archived them before the dissapeared14:34
uvosat least some of them14:34
uvosi have 2 different version of allow-mbmloader-flashing-mbm14:34
uvoshttp://uvos.xyz/maserati/mbm/edison/14:34
uvosi also have dts for the global variant (me865) http://uvos.xyz/maserati/stockinfo/dts/me865.dts14:35
uvoslooks like it uses the same android version as bionic14:36
uvosits very possible it will just boot a bionic rom14:36
Wizzupuvos: thanks, I feel a bit sick today, so it might be 1-2 days until I get to it15:51
uvosWizzup: gute besserung!16:31
freemangordonuvos: it seems what I need is a tool called 'tinymix', but I cannot find it pre-compiled16:34
uvosso compile it16:34
uvosgeting the android toolchain is tivial16:34
freemangordonyeah16:35
freemangordonthis is the only toolchain I don't have around :)16:35
uvoshttps://github.com/tmlind/cpcaprw/pull/1/files16:36
uvossee readme changes16:36
uvosdepending on the age of your android you might have to download an older version16:38
uvosthey drop support for old versions of bionic eventually16:38
freemangordon4.416:38
freemangordonbut, I will try to find some binary first16:38
uvosandroid 4.4 is api level 19 or 20 depending on subversion16:39
uvosso if the modern ndk refuses to create a toolchain for api level 19 use an older one16:40
freemangordonI have found this https://apkcombo.com/alsamixer-root/com.skvalex.alsamixer/16:40
freemangordonuvos: that works,but lists about 30 controls, so I am even more confused :D17:03
freemangordonoh, sorry, not 30, 5817:04
sicelofun fact - droid4 accelerometer can work with lis3lv02d (which N900 is currently using), and thus the games can have joystick right away18:01
sicelo58 controls is child's play (compared with controls on N900, that is)18:03
buZznice!18:05
freemangordonsicelo: could be, if you know what it is about :)18:19
uvossicelo: sure but the kernel exposing accel events on evdev is depricated so having a userspace utility do the same thing where needed only is mutch better19:57
buZzshould be lower powerdraw anyway20:09
uvospotenutally21:25
uvosas the iio interface supports polling rate changes via standart interface and allows hw triggers to be used21:25
uvoswe use both but on d4 neither are available due to the driver being not ideal.21:25
uvosbionic dose both iirc21:25

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