Wednesday, 2018-12-19

UmeaboyHi!00:57
UmeaboyThe build guide described here for Samsung Galaxy S7.....00:58
Umeaboyhttps://codedream.me/2018/02/02/how-to-build-sailfish-os-for-samsung-galaxy-s7/00:58
UmeaboyDoes sudo apt-get install bsdmainutils rsync vim unzip imagemagick software-properties-common python-software-properties apply for other phones as well?00:58
*** ChanServ sets mode: +v T402:07
spiiroinreview/testing appreciated: https://git.merproject.org/mer-core/mce/merge_requests/10406:59
spiiroin^ battery full in devices that do "Charging"->"Discharging"/"Not charging" instead of going to "Full"06:59
T4<adampigg> Spiiroin, what devices are affected by that? Ill try it on latte, which has very odd battery behaviour07:04
*** ChanServ sets mode: +v T408:06
dcalisteI'm trying to compile libhybris (at least the egl part, long story). Do anyone know which Android level is used in JollaC (21, 22 or 23) ?08:11
spiiroinreview/testing appreciated: https://git.merproject.org/mer-core/mce/merge_requests/10508:21
spiiroin^ conditinally use escape as power key (mainly for gemini pda)08:21
r0kk3rzdcaliste: iirc the base was like android 6.0.108:34
dcalisteEven for JollaC? I was thinking it was Android 4.4.08:35
r0kk3rzthe dalvik runtime is 4.408:39
r0kk3rzbut the base was newer08:40
r0kk3rzeither 5.1 or 6, i forget08:40
r0kk3rzits kernel 3.10 isnt it?08:41
r0kk3rzi think that was introduced with android 608:41
dcalisterokk3rz: ah, ok, I see. uname -a is returning 3.10.49, indeed.08:48
dcalisteI'm trying to add some debug in /usr/lib/libhybris/eglplatform_wayland.so which is created by compiling libhybris with --with-default-egl-platform=wayland. I'm wondering if there is a race condition in finishSwap() call there.08:49
T4serloz was added by: serloz09:40
*** ChanServ sets mode: +v T414:41
piggzjusa: youre teh go-to gut for BT, around for some advice?18:22
r0kk3rzpiggz: you probably want to talk to krnlyng18:23
piggzyeah, but he hasnt been around for a while18:24
r0kk3rzbut hes probably busy doing dalvik voodoo18:24
Mister_Magisterpiggz: jusa is for audio stuff18:36
piggzi thought he maintained bluez too18:37
Mister_Magisteraudio part of bluez i think18:39
*** ChanServ sets mode: +v T420:03
piggzr0kk3rz: see line 60 here, maybe firmware isnt sent to bt https://bpaste.net/show/defa1cab481020:51
r0kk3rzpiggz: line 60 says it cant find the file20:53
piggzr0kk3rz: yeah, thats what im saying!20:53
r0kk3rzso its got the wrong name20:53
r0kk3rzid try 'BCM4354A2'20:54
piggzr0kk3rz: will symlinks work?20:54
r0kk3rzshould do20:55
piggzr0kk3rz: still no joy, but i thing we're on the right line https://bpaste.net/show/0f6088257be621:03
r0kk3rzhmmm21:05
r0kk3rzpiggz: install bluez5-tools from here - https://build.merproject.org/package/show/home:r0kk3rz:branches:mer-core:devel/bluez521:11
piggzr0kk3rz: waiting patiently for it not ti give a 404 on the repo :D21:13
r0kk3rzheh21:13
r0kk3rzhmm yes that caused some churn21:13
r0kk3rzshould be there now21:14
piggzr0kk3rz: its not ... only the arm one is21:14
r0kk3rzah, i had to click the button21:15
r0kk3rzi forget you're doing atom device21:16
piggzr0kk3rz: write(1, "Local name is 'BCM4354A2'\n", 26Local name is 'BCM4354A2'21:23
r0kk3rzthat should be the name of the file its looking for21:24
piggzwith or without .hcd?21:25
piggzand in which folder?21:25
piggzsh-3.2# cd /etc/firmware/21:25
piggzsh-3.2# ls -lh bt/21:25
piggztotal 192K21:25
piggz-rw-r--r-- 1 root root 63K Dec 19 21:10 BCM4354A221:25
piggz-rw-r--r-- 1 root root 63K Dec 19 21:10 BCM4354A2.hcd21:25
piggzlrwxrwxrwx 1 root root  39 Dec 19 20:55 BCM4356A2.hcd -> BCM4356A2_001.003.015.0084.0268_ORC.hcd21:25
piggz-rw-r--r-- 1 root root 63K Aug  1  2008 BCM4356A2_001.003.015.0084.0268_ORC.hcd21:25
piggzwell, lets cover all bases!21:26
r0kk3rzi have mine with a .hcd21:26
r0kk3rzbut also not in /bt21:27
piggzthats what im trying...21:27
r0kk3rzjust in /etc/firmware21:27
piggzballs, still didnt work....21:28
r0kk3rzstill no find?21:30
piggzr0kk3rz: still no find ... could you add some debugging after line 309?21:32
piggzso, it does look for .hcd21:36
piggzand it should be ok in bt/ as it searches recusrively21:37
r0kk3rzyes it needs that21:37
r0kk3rzbuilding, i added another printline21:37
piggzr0kk3rz: dont think its needed, got it working i think21:40
r0kk3rzoh?21:40
piggzif there was more than 1 match, it seemed to not work, removing dupes worked21:40
r0kk3rzaha21:41
piggzr0kk3rz: tho, still getting duplicate keypresses21:42
r0kk3rzim surprised it was working at all without firmware loading21:43
r0kk3rzmaybe it doesnt need to happen on every boot with that one21:43
piggzr0kk3rz: sjanc in #bluez said some broadcom chips work to an exterent without fw21:43
piggzr0kk3rz: could my hciattach line cause that? speed wrong?21:47
r0kk3rzummmm21:47
r0kk3rzno idea tbh, i wouldnt think so21:48
r0kk3rzwrong baud usually just means no talky21:48
r0kk3rzmaybe remove the 'sleep' keyword21:49
piggzr0kk3rz: nope, same with nosleep21:52
r0kk3rzmaybe you need to get your hands dirty21:54
r0kk3rzand start protocol sniffering21:54
*** doniks_ is now known as doniks22:03
piggzr0kk3rz: on a different aspect of BT ... how do you remember the BT state on reboot?22:22
malpiggz: maybe https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/etc/sysconfig/connman22:36
piggzmal: yup, thats done it22:39
piggzthat just leaves BT wierdness to fix!22:39

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