Monday, 2018-08-13

Yardanicohi everyone, some logs about my video playback issue - . also - where can I change what does minimal brightness mean for my device (it's not really minimal on my device)08:01
YardanicoAnd how can I fix " to /dev/cpuset/system-background/tasks: No space left on device" spam in dmesg? :)08:03
Yardanicomaybe I should just use gms-omx and libav for video output like redmi 4x and addison do?08:23
r0kk3rzits an option08:23
r0kk3rzbut if you want things like camera to work08:24
r0kk3rzthen fixing droidmedia is how you do that08:24
Yardanicocamera already works08:24
Yardanicoeverything major except video playback works08:24
r0kk3rzhmm ok08:24
r0kk3rzthat shouldnt be that bad then08:25
birdzhangYardanico: same issue with redmi 5 plus
Yardanicobirdzhang, ohh, but it seems like discussion is private :)08:36
birdzhangoh no08:37
Yardanicobut yeah, our devices are very close because you have sd 625 too08:38
vknechtnot sure it's, do you have a [sparse]/etc/gst-droid/gstdroidcodec.conf file ? eg.
vknecht*it's the problem08:45
Yardanicovknecht, no I don't have that file, should I have it?08:46
* vknecht thinks so08:47
vknechttry it on device to check ;-)08:47
Yardanicook I will08:48
vknechtI think it was mostly for web videos, but probably can't make things worse08:48
Yardanicowell for me any videos can't play including videos in gallery shot by my own device08:48
vknechtusing strace on the player could give some insights08:49
Yardaniconah, sadly gstdroidcodec didn't work, same issue08:50
Yardanicodeveloper for my device (who creates custom roms based on android) hit the same problem almost 9 months ago but he solved it by using updated "venus" firmware08:51
Yardanicoidk how to use updated firmware without treble, hmm08:51
Yardanicobirdzhang, does that look similar to your log in dmesg while you're trying to play a video?
birdzhangYardanico: no, on redmi 5 plus no dmesg output when play video08:53
Yardanicooh, strange08:53
birdzhangthis file /etc/gst-droid/gstdroidcodec.conf is needed, i think08:54
birdzhangdid you reboot?08:54
Yardanicoand mido port doesn't have gstdroidcodec08:55
Yardanicoand videos work fine on his port08:55
r0kk3rzyou mean the config file :P08:55
Yardanicothere's only config files for camera here -
r0kk3rzis piggz using gst-omx?08:56
Yardanicor0kk3rz, no08:56
Yardanicohe only uses gst-droid08:56
r0kk3rzthats not to say you dont need codec quirks, but they might be the wrong ones08:58
r0kk3rzyou probably want to show logs to abranson sometime08:58
Yardanicoalso is it ok (and maybe I can somehow remove these spammy messages): "Service 'ims_rtp_daemon' (pid 7353) exited with status 2" sometimes status is 0 instead of 208:59
Yardanicodroid-hal-init spams with these every 10 sec09:00
Yardanicoand sometimes imsdatadaemon too: "Service 'imsdatadaemon' (pid 8400) exited with status 0"09:00
birdzhangyou can disable ims_rtp_daemon09:03
birdzhangand imsdatadaemon09:04
Yardanicooh really? I thought they were related to mobile data/09:04
r0kk3rzyeah we dont use all the android services, so its a good idea to check what it is first09:04
Yardanicobirdzhang, thanks a lot09:04
Yardanicoless spam in dmesg is always better09:04
abransonYardanico: there doesn't seem to be much wrong in the logcat there. maybe try adding symlinks for those media_codec files it's complaining about?09:06
abransonotherwise could be some vendor specific thing09:06
Yardanicoah you mean /data/misc/media/media_codecs_profiling_results.xml ?09:07
YardanicoI can try09:07
abransonyeah, i thought there was another in there somewhere...09:07
abransonit's certainly locating the h264 codec and creating it. not sure what param it's failing with for the ERROR: UnsupportedSetting(0x80001019)09:08
Yardanicohow did I not notice this eariler?
Yardanicoit has .txt in it and I imported configs from mido and that's why auto brighness didn't work10:28
malYardanico: maybe that explain why piggz had issues with sensors10:33
Yardanicomal, xD10:33
mal@adampigg why is this .txt ?10:33
Yardanicomaybe he forgot to rename it in git repo but did it locally10:34
malhe builds in OBS so it uses the one in git10:35
Yardanicooh lol10:35
malprobably some issue when saving a file through web browser, sometimes those ass .txt by default10:36
T4<adampigg> Mal yeah,.i noticed that before, but my local install i copied it to .ini so all working for me....if i can get my laptop online i will fix while i remember10:48
Yardanicodoes anyone know why I get "Device model: Redmi 4 Prime (markw / markw)" in `ssu s` and is this fine?11:13
r0kk3rzyeah thats fine11:16
mal@adampigg wondering if you even need the other config after that?11:21
Yardanicook, not really good news, my phone has different variations and they have different touchscreens (focaltach or atmel), so some people told me that their atmel touchscreen doesn't work at all11:56
YardanicoI think this might be the issue with different /dev/input/event path?11:56
r0kk3rzuse a udev rule to symlink it to something known11:59
r0kk3rz/dev/touchscreen is a good place11:59
r0kk3rzfor eg. this looks for an input device with the name "clearpad" -
malyep, that is the proper way to handle different touchscreens12:03
Yardanicor0kk3rz, how do I check which name my touchscreen has? :)12:06
Yardanicoso your is /dev/input/clearpad ?12:06
Yardanicoah I see "udevadm info --export-db"12:08
maludevadm is the one for those, or evdev_trace -i might also give some of the needed information12:10
r0kk3rzmy problem was that depending on the boot it might appear as /dev/input/event2 or /event312:11
r0kk3rzso there should be extra attributes that you can pick out in your case12:11
r0kk3rzprobably name is enough12:11
malusually name should be enough12:11
Yardanicook, thanks12:12
malYardanico: so you have to ask the other testers to get you udevadm output12:12
Yardanicomal, yeah I'll connect to the PC of one of the testers (TeamViewer) and I'll telnet   to the phone via putty12:13
Yardanicoso I can check myself12:13
malthat is quite practical way also12:13
Yardanicoif udevadm says "E: OF_NAME=ftech" I can check if it's "ftech" via ATTRS{name}, right?12:17
r0kk3rzdo a udevadm info -a -n /dev/input/eventX to check12:19
Yardanicooh it's ATTRS{name}=="ft5346"12:22
r0kk3rzthere you go12:22
r0kk3rzpresumably the other one will be atsomethingsomething12:23
Yardanicook nice udev rule worked on my device12:26
T4<adampigg> Mal, other config?12:37
malmaybe that is still needed for some things12:52
T4<adampigg> K12:59
mal@adampigg just wondering because not all need that, so I would assume there must have been something wrong and that something could have been the naming13:00
YardanicoAbout my video issue - maybe I'll need to use omx and libav as well? like redmi 4x did13:00
T4<adampigg> K13:01
T4<adampigg> Doubt it,.surely video hw is same as mido?13:01
Yardanicowell, same chipset13:02
Yardanicomy device's kernel (unofficial) is based on TheScarastic's kernel13:02
Yardanico (almost) all hardware component names13:04
Yardanicobirdzhang_pc, please ping me if you will be able to solve video issue :)13:33
birdzhang_pcYardanico: sure13:33
Yardanicor0kk3rz, it's atmel-maxtouch :) finally14:51
Yardanico(name of the device in udev)14:52
Yardanicopketo, hello, I'd want to request Jolla Store access for my phone. Builds for my phone are not on OBS yet but people here on IRC told me that it's not required. I checked "ssu s" on my phone and on the phone of one of testers, device UID is unique, persistent across reboots, and it's equal to the first IMEI (phone has two sim slots). Device model shown by `ssu s`: "Device model: Redmi 4 Prime (markw / markw)"15:27
Yardanicoall sources are here -
YardanicoI can show screenshots from my phone and another phone with ssu s output15:29
vknechtYardanico, relax :-)15:29
Yardanicovknecht, :D15:29
r0kk3rzYardanico: do you have a correctly filled out 27b/6 ?15:30
Yardanicor0kk3rz, XD15:30
vknechtr0kk3rz, I thought that one was only for source-release requests...15:31
pketoYardanico: Added. And thank you, that was clear request with complete information :)15:50
Yardanicopketo, thanks for quick response :)15:51
Yardanicobtw, what's the preferred way to set a CPU governor in Sailfish OS ports?16:11
* vknecht launches suspend test and crosses fingers16:47
Yardanicoguys is this a typo? I wondered why android-links didn't work for me17:16
YardanicoI added a space before "];" and it worked17:16
vknechtYardanico, I'd say you did the right thing, provided this addition is necessary ;-)17:21
vknechtYardanico, for cpu governors, afaik it's not an usual tweaked part (no entry in sfos cheat-sheet)... tried cpufreq ?17:24
Yardanicovknecht, the thing is that the phone boots with "performance" governor by default17:25
Yardanicoand that's not good for battery life17:25
vknechtthough I read quite some pestering against big.little cpus ;-)17:25
Yardanicosd 625 is not really big.LITTLE17:25
Yardanicoall cores are equal17:25
Yardanicosledges, hello, can you create nemo:devel:hw:xiaomi:markw repo on OBS for me? I want to start moving things to OBS17:26
Yardanicooh, I need to register first and I can't17:27
vknechtI've never messed with that, but there certainly is something good for battery to gain17:28
vknechtsome even do undervolting and stuff like that17:28
vknechtbut it's a two-edged sword :-)17:29
Yardanicowell performance governor is really bad for mobile phones :)17:30
vknechtI think I read it was on-demand by default on sfos, but couldn't garantee that17:30
vknechttried the irc archives with some good grep keywords ? :-)17:31
Yardanicovknecht, no :)17:37
r0kk3rzYardanico: theres usually a prop that gets set and triggers some android init script17:40
Yardanicor0kk3rz, ah I see there's a file
vknechtYardanico, for OBS you have to request a Bugzilla account for (you can do the request in this channel)17:43
Yardanicor0kk3rz, yeah thanks I found out what was the problem17:50
vknechtI wonder if the 40 iterations come from running a second time in same session, running a 3rd time gives 20, 4th time as 40, etc.19:01
r0kk3rz40 iterations?19:03
vknechtin CSD suspend test19:04
r0kk3rzoh ok19:08
vknechtr0kk3rz, it was a followup (missed mentioning CSD) of
vknechtany thought about this test ? :-)19:15
r0kk3rzi think its a thing that exists yes19:17
vknechthehe, ok :-)19:19
kimmolimeh. my mw build fails, libhybris says: autoreconf: '' or '' is required20:32
kimmoliam i missing something ...20:32
r0kk3rzlike a maybe?20:41
r0kk3rzhmm submodule is inited?20:42
kimmolishould be20:48
r0kk3rzyes, it should20:49
r0kk3rzworse case nuke the mw/libhybris folder20:50
kimmolilets see libhybris submodule was dangling20:56
kimmolijust want to play with test_gps and raw nmea data20:57
kimmolioo success on that21:00
kimmoliThanks r0kk3rz being my rubber duck21:00
kimmolioh time flies. need also to hack cheapo-chinese bike rear light (8x8 led, acceleration sensor, animations are stupid. need to replace the cpu with something that i can reprogram)21:02
kimmolihmh maybe with this
UmeaboyHave I made my droid-hal-version repo correct?22:16
malis tat supposed to be the device specific repo? that is wrong22:18
malit should look something like this
maleven the naming of your repo is wrong22:19
malyou didn't seem to understand the submodule, why didn't you just follow the hadk pdf instructions?22:20
T4<NotKit> demonaxsh, do you still have problems with Bluetooth?22:26
T4<NotKit> currently on the go, but please check Ubuntu Tablet - and mine
T4<NotKit> it's needed to port older driver which can work with BlueZ as opposed to BlueDroid22:28
Umeaboymal: How do I add the droid-hal-version @ 573d50d into my repo? I cloned the sibon repo and made the changes and pushed without a problem, but the diretory is not there.23:45
Umeaboy is the right naming of the repo.23:46

Generated by 2.17.1 by Marius Gedminas - find it at!