*** vrutkovs has quit IRC | 00:05 | |
*** lpotter has quit IRC | 02:13 | |
*** lpotter has joined #sailfishos-porters | 02:15 | |
*** spiiroin has quit IRC | 02:59 | |
*** spiiroin has joined #sailfishos-porters | 03:18 | |
*** spiiroin has quit IRC | 03:23 | |
*** iTune has joined #sailfishos-porters | 03:25 | |
*** dragonkeeper_ has joined #sailfishos-porters | 03:29 | |
dragonkeeper_ | #linuxdistrocommunity | 03:29 |
---|---|---|
dragonkeeper_ | meh | 03:29 |
*** dragonkeeper_ has quit IRC | 03:30 | |
*** spiiroin has joined #sailfishos-porters | 03:36 | |
*** marxistvegan has joined #sailfishos-porters | 03:47 | |
*** iTune has quit IRC | 04:50 | |
*** eleroux has joined #sailfishos-porters | 05:02 | |
*** sletta has joined #sailfishos-porters | 05:07 | |
*** VDVsx has quit IRC | 05:11 | |
*** olafh has joined #sailfishos-porters | 05:15 | |
*** VDVsx has joined #sailfishos-porters | 05:21 | |
*** Sequenced has joined #sailfishos-porters | 05:43 | |
*** marxistvegan has quit IRC | 05:50 | |
*** dmt__ has joined #sailfishos-porters | 05:58 | |
*** filippz has joined #sailfishos-porters | 06:07 | |
*** Guhl has joined #sailfishos-porters | 06:23 | |
*** blackjack4it has joined #sailfishos-porters | 06:32 | |
*** blackjack4it has left #sailfishos-porters | 06:32 | |
*** sletta has quit IRC | 06:36 | |
*** eleroux has quit IRC | 06:52 | |
*** uvatbc1 has joined #sailfishos-porters | 06:52 | |
*** uvatbc has quit IRC | 06:54 | |
*** VDVsx_ has joined #sailfishos-porters | 07:00 | |
*** VDVsx has quit IRC | 07:03 | |
jusa_ | Guhl: hi.. about the pulseaudio config, could you paste what you have in the config file right now? that hanging probably happens because you have both ALSA device & droid device running at the same time (latter uses ALSA as well) | 07:32 |
Guhl | jusa_, you are right, i did have also and droid running at the same time | 07:33 |
Guhl | yesterday i removed alsa now it does not hang but exit with a segmentation fault | 07:34 |
jusa_ | Guhl: ok.. did you compile the droid-modules yourself? | 07:34 |
Guhl | yes, i built all the middleware packages | 07:35 |
jusa_ | ok.. | 07:36 |
Guhl | jusa_, this http://pastebin.com/TiqYGDVA is my arm_qualcomm_msm_7230_vision.pa | 07:36 |
jusa_ | Guhl: can you get the backtrace of the segfault? | 07:37 |
Guhl | copied from another qc device (forgot which) and adapted a bit (rate=44100) | 07:37 |
*** dr_gogeta86 has quit IRC | 07:41 | |
Guhl | hmm how would you create the backtrace | 07:43 |
*** VDVsx_ has quit IRC | 07:44 | |
Guhl | btw the pa-file i pasted was the old one (but the new one only has 48000 replaced by 44100 | 07:45 |
*** VDVsx has joined #sailfishos-porters | 07:46 | |
jusa_ | Guhl: gdb --args pulseaudio -vvvvv -n --file=/etc/pulse/arm_qualcomm_msm_7230_vision.pa | 07:47 |
jusa_ | then after segmentation fault "bt" for the backtrace | 07:47 |
Guhl | ok thought so but do not have gdb installed yet - on my way | 07:48 |
*** vrutkovs has joined #sailfishos-porters | 07:51 | |
Guhl | jusa_, here is the complete output including the bt | 07:52 |
Guhl | http://pastebin.com/bMDMpVS9 | 07:52 |
jusa_ | Guhl: interesting.. | 08:02 |
jusa_ | Guhl: just for testing, from file /system/etc/audio_policy.conf , could you comment out the whole inputs {} -block, and retry running pulseaudio? | 08:04 |
jusa_ | what would also be of interest is verbose logcat output while pulseaudio starts up (when the segfault happens) | 08:06 |
Guhl | how do i get these? | 08:07 |
jusa_ | Guhl: I'm not sure about the verbosity level, if it is forced to be less than verbose somewhere, but running /system/bin/logcat *:V should print something | 08:09 |
Guhl | jusa_, this is the output after i commented the inputs http://pastebin.com/SnLeBxC1 (not segfaulting) | 08:11 |
jusa_ | Guhl: ok.. try playing some wav file with paplay ? | 08:13 |
jusa_ | ogg file should work as well | 08:13 |
Guhl | Connection failure: Timeout | 08:16 |
*** cxl000 has joined #sailfishos-porters | 08:17 | |
Guhl | also pactl info just gives a timeout | 08:18 |
jusa_ | run as nemo? | 08:18 |
Guhl | yes both pulseaudio and paplay | 08:18 |
jusa_ | funny.. | 08:18 |
jusa_ | haven't seen that ever :) | 08:19 |
*** cxl000__ has joined #sailfishos-porters | 08:19 | |
Guhl | btw /system/bin/logcat says "Unable to open log device '/dev/log/main'" | 08:20 |
Guhl | should i link it to /dev/log_main ? | 08:20 |
jusa_ | yeah, I've just done mv /dev/log /dev/log_foo ; mkdir /dev/log ; ln -s /dev/log_main /dev/log/main | 08:21 |
*** sdjayna has joined #sailfishos-porters | 08:21 | |
*** cxl000 has quit IRC | 08:22 | |
jusa_ | Guhl: there is something strange about your env or something, runtime dir and state dir are bogus | 08:25 |
Guhl | jusa_, that is from logcat http://pastebin.com/YXfqdRce | 08:25 |
jusa_ | Guhl: Guhl what does "set | grep -e XDG_RUNTIME_DIR -e HOME" output ? | 08:27 |
Guhl | jusa_, which paste are you refering to (because i ran pulseaudio as root first) | 08:28 |
jusa_ | btw pulse should always be run as nemo user | 08:28 |
Guhl | i know | 08:28 |
jusa_ | ok :) | 08:28 |
Guhl | for nemo this is: | 08:29 |
Guhl | HOME=/home/nemo | 08:29 |
Guhl | HOME_URL=https://sailfishos.org/ | 08:29 |
Guhl | XDG_RUNTIME_DIR=/run/user/100000 | 08:29 |
jusa_ | ok | 08:29 |
jusa_ | can you do ls -ld /run/user/100000/pulse | 08:30 |
Guhl | drwx------ 2 nemo nemo 100 Oct 6 11:23 /run/user/100000/pulse | 08:32 |
jusa_ | hmh.. just to be safe can you reboot, run pulseaudio with verbose logging again and try playing audio | 08:33 |
Guhl | and thats whats in it | 08:33 |
Guhl | srwxrwxrwx 1 nemo nemo 0 Oct 6 11:23 dbus-socket | 08:33 |
Guhl | srwxrwxrwx 1 nemo nemo 0 Oct 6 11:23 native | 08:33 |
Guhl | -rw------- 1 nemo nemo 5 Oct 6 11:23 pid | 08:33 |
jusa_ | ok.. that timeout is just strange.. there is a bug in older pulseaudio version where with certain conditions running pulse clients or pulseaudio itself with root and bad environment variables could cause some state files being overwritten with wrong user id | 08:36 |
Guhl | ok i'll reboot | 08:37 |
jusa_ | also rm -rf $HOME/.config/pulse | 08:38 |
Guhl | weird now the phone is bootlooping | 08:40 |
*** vrutkovs has quit IRC | 08:40 | |
*** energycsdx has joined #sailfishos-porters | 08:42 | |
jusa_ | hmh :/ | 08:42 |
Guhl | don't think that this is pulse related | 08:42 |
jusa_ | Guhl: yep.. I'll have to go for a while, back in ~2-3h | 08:45 |
Guhl | jusa_, i will have to go too but i will be gone for 6h | 08:46 |
jusa_ | Guhl: ok, I could write some notes to you in email, and maybe continue tomorrow/later in irc | 08:47 |
Guhl | email would be fine -> see PM | 08:47 |
jusa_ | thanks! cu | 08:48 |
Guhl | thank you! cu | 08:48 |
*** carepack has joined #sailfishos-porters | 08:52 | |
*** vrutkovs has joined #sailfishos-porters | 09:01 | |
*** Tassadar has joined #sailfishos-porters | 09:36 | |
energycsdx | spiiroin: looks like PS sensor drains about 120 mA and i think that is alot | 09:49 |
spiiroin | energycsdx: 120mA? are you sure? | 09:50 |
*** Sequenced has quit IRC | 09:50 | |
energycsdx | spiiroin: 120mA at 1.6V, checked in datasheet, it have programmable current sink for external IR diode, looked into kernel source it programmed to 120mA | 09:52 |
kjokinie | energycsdx: well, yes.. for veery short time for every 50ms or so | 09:53 |
kjokinie | the average consumption is around 0,1mA :) | 09:53 |
kjokinie | but that's on jolla, if you talk about some other device, it may be different depending on the register settings | 09:55 |
energycsdx | 7.3 us on, 7.3. us off | 09:55 |
kjokinie | energycsdx: which device are we talking about here? | 09:56 |
energycsdx | Xperia L, sensor TSL2772 | 09:57 |
energycsdx | http://www1.futureelectronics.com/doc/AMS/TSL2772EVM.pdf | 09:57 |
*** eleroux has joined #sailfishos-porters | 09:59 | |
*** cl_ has joined #sailfishos-porters | 10:03 | |
kjokinie | energycsdx: hmm.. there could be some register to do wait cycles between measurement cycles.. the datasheet looks familiar somehow, need to refresh my memory | 10:06 |
* kjokinie goes digging old patches | 10:06 | |
kjokinie | energycsdx: you need to enable wait period to reduce power consumption | 10:21 |
kjokinie | energycsdx: WEN bit in EN register | 10:24 |
*** Nokius has joined #sailfishos-porters | 10:26 | |
kjokinie | energycsdx: there's something like this in Jolla kernel: | 10:27 |
kjokinie | sh[TSL277X_WAIT_TIME] = 237; | 10:27 |
kjokinie | sh[TSL277X_ENABLE] |= TSL277X_EN_WAIT; | 10:27 |
*** Nokius1 has quit IRC | 10:28 | |
kjokinie | energycsdx: I think it's the same sensor on Jolla, look for reference here: https://github.com/KonstaT/sailfishos_kernel_jolla_msm8930/blob/master/drivers/misc/tsl277x.c | 10:29 |
kjokinie | energycsdx: there was some changes also to als_enable, which do some toggling of that wait enable bit | 10:31 |
*** spiiroin has quit IRC | 10:33 | |
*** dr_gogeta86 has joined #sailfishos-porters | 10:42 | |
*** lardman has joined #sailfishos-porters | 10:46 | |
energycsdx | kjokinie: sh[TSL277X_WAIT_TIME] = 0; | 10:47 |
energycsdx | https://github.com/energycsdx/kernel-msm-taoshan/blob/ref-15.3.A.1.12/drivers/misc/tsl2772.c#L743 | 10:47 |
kjokinie | energycsdx: and the WEN bit is not enable in the enable register.. so yes it will eat current like a pig | 10:47 |
energycsdx | kjokinie: ok i`ll try to patch | 10:52 |
energycsdx | but still see no point to always keep it running. | 10:52 |
kjokinie | energycsdx: it is used for tracking if device is in pocket or facing down, and then disabling touchscreen (double-tap-wakeup) when it's not needed (device in pocket or facing down). | 10:56 |
*** spiiroin has joined #sailfishos-porters | 10:58 | |
*** netchip has quit IRC | 10:59 | |
*** Sazpaimon_ has joined #sailfishos-porters | 11:01 | |
kjokinie | energycsdx: maybe something like this http://pastebin.com/6eGSTggW | 11:04 |
*** Sazpaimon__ has quit IRC | 11:04 | |
energycsdx | kojkinie: not all devices have support of double tap in touchscreen firmware, also devices can different layout, like slided qwerty keyboard this makes mce depending on hw, i.e. each device should have own version of mce or try to support every possible hw in mce and do like this | 11:07 |
energycsdx | https://github.com/nemomobile/mce/commit/e709371305983d685e23527fc1df921f82c751ea | 11:07 |
*** shallow is now known as fialor | 11:10 | |
*** w00tc0d3 has joined #sailfishos-porters | 11:21 | |
kjokinie | energycsdx: so far the strategy has been on "support every hw" in mce. If there were a "plugin" setup for doing things differently in all devices, that code would need writing anyway, so best to have it available for everyone. | 11:27 |
kjokinie | energycsdx: unfortunately I've been told that the HW double tap is not so trivial currently to separate to an option.. spiiroin knows the details | 11:30 |
* lardman restarts HADK installation and notes that work's download speed is much faster than that at home :) | 11:37 | |
*** alin has joined #sailfishos-porters | 12:01 | |
*** eleroux has quit IRC | 12:26 | |
*** eleroux has joined #sailfishos-porters | 12:26 | |
*** Tassadar has quit IRC | 12:41 | |
*** marxistvegan has joined #sailfishos-porters | 12:54 | |
*** ruthenianboy has joined #sailfishos-porters | 13:05 | |
lardman | I'm glad to report that installing under $HOME has indeed worked, now I just need to do some kernel config inconsistency fixing | 13:10 |
alin | lardman: which device? | 13:11 |
lardman | alin: tilapia | 13:12 |
lardman | Asus Nexus 7 GSM | 13:12 |
alin | lardman: beidl_ was not this the one you did | 13:12 |
alin | mayeb he did grouper... | 13:12 |
lardman | I think alterego was listed in the HW matrix | 13:12 |
lardman | I was going to follow the instructions anyway though to see how all the tools work | 13:14 |
*** filippz has quit IRC | 13:14 | |
*** vakkov_ is now known as vakkov | 13:15 | |
*** iTune has joined #sailfishos-porters | 13:16 | |
ruthenianboy | Hi guys. I'm willing to try port to lge w7n (LG L90 D405n). | 13:19 |
*** Eztran has joined #sailfishos-porters | 13:21 | |
lardman | alin: I'll follow the grouper instructions and see how I get on: http://www.tisno.de/index.php/open-source/porting-sailfish-os/180-sailfish-os-on-nexus-7-part-1 | 13:22 |
lardman | (this evening) | 13:22 |
*** krnlyng has quit IRC | 13:37 | |
*** krnlyng has joined #sailfishos-porters | 13:42 | |
ruthenianboy | It is possible to use CM11.0 instead of CM10.3? | 13:44 |
* lardman wonders what he installed on his Nexus 7 | 13:45 | |
lardman | is 10.3.x the stable and 11 the devel version? | 13:45 |
ruthenianboy | Dont't know. I am new to porting | 13:45 |
lardman | CM I mean, I assume you have CM11 on the device for some reason? | 13:46 |
ruthenianboy | I want to port Sailfish to my device but only port of CM which exists is version 11.0 | 13:46 |
lardman | ah ok | 13:47 |
Eztran | AFAIK there are ports using a CM11 base, so it is possible. Don't know about comparative difficulty. | 13:47 |
ruthenianboy | i'll go trough documentation and see on my own. Maybe it will fail | 13:49 |
alin | ruthenianboy: yes | 13:50 |
alin | ruthenianboy: we dud like thay for n5 | 13:50 |
alin | ruthenianboy: practically you can follow the guide but when you branch hybris be sure you branch it from 11.0 branch | 13:51 |
alin | there is also a script that may help you to build | 13:51 |
alin | ruthenianboy: https://github.com/dmt4/sfa-mer | 13:52 |
ruthenianboy | n5 build used CM11 also? | 13:54 |
lardman | thanks alin, that will be useful | 13:55 |
ruthenianboy | thanks too alin :) | 14:00 |
*** nikelo has joined #sailfishos-porters | 14:08 | |
*** beidl has joined #sailfishos-porters | 14:09 | |
marxistvegan | sledges: if you are around or get this...I am really enjoying the sailfishOS on the nexus 4 it is my daily driver now ;) | 14:11 |
*** beidl_ has quit IRC | 14:11 | |
*** nikelo has quit IRC | 14:14 | |
Nokius | oh bad day so fare …. Now getting some slides for the Berlin meetup tonight | 14:15 |
Nokius | lbt: are you around? | 14:16 |
*** VDVsx has quit IRC | 14:23 | |
*** VDVsx has joined #sailfishos-porters | 14:48 | |
*** ruthenianboy has quit IRC | 15:11 | |
lbt | Nokius: hey | 15:13 |
Nokius | Hi working on the presentation for this afternoon about HADK hope I will get all points have some pictures from your xda sildes | 15:14 |
lbt | did you want my slides? | 15:16 |
Nokius | that would be nice | 15:18 |
*** carepack has quit IRC | 15:18 | |
*** phlixi has quit IRC | 15:22 | |
*** dr_gogeta86 has quit IRC | 15:24 | |
*** phdeswer has quit IRC | 15:30 | |
*** Nokius has quit IRC | 15:45 | |
*** eleroux has quit IRC | 16:01 | |
*** dr_gogeta86 has joined #sailfishos-porters | 16:02 | |
*** Sequenced has joined #sailfishos-porters | 16:09 | |
*** vrutkovs has quit IRC | 16:12 | |
*** Tassadar has joined #sailfishos-porters | 16:19 | |
*** ruthenianboy has joined #sailfishos-porters | 16:23 | |
ruthenianboy | ? | 16:24 |
*** ruthenianboy has quit IRC | 16:27 | |
*** ruthenianboy has joined #sailfishos-porters | 16:30 | |
*** phlixi has joined #sailfishos-porters | 16:35 | |
*** alin has quit IRC | 16:45 | |
piggz | lo * | 16:51 |
*** cl_ has quit IRC | 16:52 | |
*** Nokius has joined #sailfishos-porters | 17:06 | |
*** remer has quit IRC | 17:08 | |
*** uvatbc1 has quit IRC | 17:22 | |
*** uvatbc has joined #sailfishos-porters | 17:23 | |
*** eleroux has joined #sailfishos-porters | 17:27 | |
*** iTune has quit IRC | 17:34 | |
*** zZz0n is now known as zon | 17:40 | |
*** zetaz has joined #sailfishos-porters | 17:49 | |
*** eleroux has quit IRC | 17:50 | |
*** eleroux has joined #sailfishos-porters | 17:54 | |
*** rbn has joined #sailfishos-porters | 17:55 | |
rbn | hi | 17:56 |
piggz | Guhl: any progress? | 18:17 |
Guhl | a bit - i had a conversation with jusa_ today and i reached a state where pulse was running (only output no input) but I ran into some other problems then | 18:19 |
Guhl | atm the phone is bootlooping and i don't know why | 18:19 |
Guhl | when i install the rom again it boots fine but on first reboot it starts bootlooping | 18:19 |
Guhl | strange | 18:19 |
ruthenianboy | If there is no way to show boot messages, then you can dump memory, mount dump in PC and look for system log | 18:21 |
Guhl | i'll install the recovery-boot again so that it stops in bootloader | 18:25 |
piggz | Guhl: oh cool...how did you get sound out of pulse? | 18:27 |
piggz | Guhl: when mine boot loops, i boot into android recovery, and adb shell to look at the init.log | 18:27 |
Guhl | no piggz i did not, was that the goal ? ;-) | 18:27 |
Guhl | but i think it's close | 18:28 |
Guhl | and i learned a lot in the session with jusa_ as i.e. that you can read the android logcat output from sf | 18:29 |
*** borcean has left #sailfishos-porters | 18:31 | |
*** SfietKonstantin has joined #sailfishos-porters | 18:33 | |
ruthenianboy | Guhl: can you share some tricks that can help porting and debuging in early stages of porting? I started porting to LG L90 | 18:37 |
Guhl | i can try - anything specific? | 18:38 |
*** phdeswer has joined #sailfishos-porters | 18:39 | |
Guhl | have you been involved in developing/maintaining CM10 for that device? | 18:39 |
rbn | if anyone is interested, i've written a python script to install and remove certificates to the various storages (systemwide, mozilla and telepathy, for now) used by sailfish: http://ruben.orgizm.net/certhelper.html i'd appreciate bugreports, etc. ;) | 18:42 |
rbn | mail preferred ;) | 18:42 |
*** filippz has joined #sailfishos-porters | 18:44 | |
zetaz | flyser, are you there ? | 18:48 |
*** Nokius has quit IRC | 18:50 | |
*** alin has joined #sailfishos-porters | 18:55 | |
piggz | Guhl: oh cool...how do you rea the logcat? (journalctl?) | 18:59 |
*** Nokius has joined #sailfishos-porters | 19:05 | |
*** Nokius has quit IRC | 19:06 | |
Guhl | piggz, maybe you read the log about 8 hours back | 19:08 |
Guhl | not that i don't want to tell you but it might be easier | 19:09 |
*** ruthenianboy has quit IRC | 19:09 | |
Guhl | piggz, this http://pastebin.com/F8Wmi9iQ is my /target/init.log | 19:16 |
*** alin has quit IRC | 19:17 | |
*** filippz has quit IRC | 19:17 | |
Guhl | weird in line 8/9 it does not find usleep | 19:17 |
*** alin has joined #sailfishos-porters | 19:17 | |
*** alin has quit IRC | 19:17 | |
*** alin has joined #sailfishos-porters | 19:17 | |
Guhl | and then probably tries to setup usb to fast and the devices are not there yet, ... | 19:18 |
*** Sequenced has quit IRC | 19:20 | |
*** marxistvegan has quit IRC | 19:24 | |
piggz | jusa_: | 19:37 |
piggz | I: [pulseaudio] module.c: Unloading "module-droid-keepalive" (index: #0). | 19:37 |
piggz | I: [pulseaudio] keepalive.c: Start keepalive heartbeat with interval 55 seconds. | 19:37 |
piggz | E: [pulseaudio] dbus-shared.c: Assertion 'pa_atomic_load(&(c)->_ref) > 0' failed at pulsecore/dbus-shared.c:78, function pa_dbus_connection_get(). Aborting. | 19:37 |
Guhl | piggz, i fixed my bootloop by adding a sleep 5 after the usb_setup in init-debug | 19:39 |
Guhl | but still weird | 19:39 |
*** Sfiet_Konstantin has joined #sailfishos-porters | 19:50 | |
*** SfietKonstantin has quit IRC | 19:51 | |
*** Nokius has joined #sailfishos-porters | 19:54 | |
jusa_ | piggz: that when pa starts and stops immediately? | 19:57 |
piggz | Guhl: odd ... mine is usleep | 19:57 |
piggz | jusa_: yes | 19:57 |
*** Nokius has quit IRC | 19:57 | |
jusa_ | piggz: yep.. it's frustrating, since there is async dbus operation, which calls callback after the module is unloaded | 19:58 |
jusa_ | maybe complicated to fix given it isn't that crucial in normal operation | 19:59 |
jusa_ | Guhl: did you try PA yet? :) | 20:00 |
piggz | jusa_: well....it just aborts hem im trying to start it | 20:00 |
Guhl | yes i am working on it but no progress | 20:00 |
jusa_ | piggz: can you pastebin full log? | 20:01 |
piggz | jusa_: http://pastebin.com/wyPhmzi5 | 20:01 |
Guhl | but now i do ! | 20:03 |
Guhl | pactl info | 20:03 |
Guhl | Server String: /run/user/100000/pulse/native | 20:03 |
Guhl | Library Protocol Version: 29 | 20:03 |
Guhl | Server Protocol Version: 29 | 20:03 |
Guhl | Is Local: yes | 20:03 |
Guhl | Client Index: 5 | 20:03 |
Guhl | Tile Size: 65496 | 20:03 |
Guhl | User Name: nemo | 20:03 |
Guhl | Host Name: Jolla | 20:03 |
Guhl | Server Name: pulseaudio | 20:03 |
Guhl | Server Version: 5.0-rebootstrapped | 20:03 |
Guhl | Default Sample Specification: s16le 2ch 44100Hz | 20:03 |
Guhl | Default Channel Map: front-left,front-right | 20:03 |
Guhl | Default Sink: sink.null | 20:03 |
Guhl | Default Source: source.fake.sco | 20:03 |
Guhl | (sorry for pasting) | 20:03 |
jusa_ | piggz: two problems: 1) output stream open fails, 2) you don't have policy configuration (/etc/pulse/xpolicy.conf) | 20:04 |
jusa_ | piggz: latter causes policy-enforcement-module to fail starting, which causes PA daemon to quit immediately | 20:04 |
piggz | jusa_: what does an xpolicy.conf look like? | 20:05 |
piggz | Guhl: sound? | 20:05 |
Guhl | wait a bit - need to copy wav file to phone | 20:05 |
jusa_ | piggz: https://github.com/mer-hybris/droid-hal-device/tree/hybris-10.1/device-lge-hammerhead-configs/etc/pulse | 20:05 |
*** uvatbc has quit IRC | 20:06 | |
Guhl | how would i tell paplay where to output the sound? | 20:07 |
*** |Tom| has joined #sailfishos-porters | 20:07 | |
*** marxistvegan has joined #sailfishos-porters | 20:07 | |
jusa_ | Guhl: if config is ok it should be ok to just say "paplay foo" | 20:08 |
*** Nokius has joined #sailfishos-porters | 20:08 | |
Guhl | jusa_, well it does something but no sound | 20:08 |
|Tom| | hi | 20:08 |
piggz | Guhl: ditto ... tho when i use volume keys, it claims to be muted | 20:09 |
jusa_ | Guhl: did you remove the mute routing thingies from pa config ? | 20:09 |
Guhl | from the pa file? | 20:09 |
jusa_ | /etc/pulse/foobar.pa | 20:10 |
Guhl | and my volume keys do claim that it's muted | 20:10 |
Guhl | volume goes up and down | 20:10 |
Guhl | pulse says | 20:11 |
Guhl | D: [pulseaudio] mainvolume.c: set current step to 13 | 20:11 |
Guhl | I: [pulseaudio] module-stream-restore-nemo.c: Updating route ihf volume/mute/device for stream sink-input-by-media-role:x-maemo. | 20:11 |
Guhl | D: [pulseaudio] module-stream-restore-nemo.c: Save stream ihf route sink-input-by-media-role:phone volume=0: 56% | 20:11 |
Guhl | D: [pulseaudio] module-stream-restore-nemo.c: Save stream ihf route sink-input-by-media-role:x-maemo volume=0: 47% | 20:11 |
Guhl | I: [pulseaudio] module-stream-restore-nemo.c: Synced. | 20:11 |
*** Nokius has quit IRC | 20:11 | |
jusa_ | Guhl: if you didn't do the config change yet, do that & restart pulse | 20:11 |
Guhl | what do you mean by "mute routing thingies" | 20:12 |
jusa_ | :) | 20:12 |
jusa_ | load-module module-droid-card rate=44100 mute_routing_before=24576 mute_routing_after=4096 | 20:13 |
jusa_ | to | 20:13 |
jusa_ | load-module module-droid-card rate=44100 | 20:13 |
Guhl | k doing that already | 20:13 |
piggz | jusa_: ive removed them ... restarted pulse, now volume keys display a volume in the gui ... aplay file.pcm is still silent | 20:13 |
Guhl | and it's 48000 | 20:13 |
piggz | but plplay flle.pcm works!!!!!!!!!!!!!!!!! | 20:14 |
jusa_ | could you paste full pulseaudio logs again | 20:14 |
piggz | :)))) | 20:14 |
jusa_ | ;) | 20:14 |
*** Nokius has joined #sailfishos-porters | 20:15 | |
Guhl | hmm maybe this is not so good: | 20:17 |
Guhl | E: [pulseaudio] main.c: Sink sink.primary does not exist. | 20:17 |
jusa_ | well.. nope :D | 20:18 |
jusa_ | afaik droid-sink opened the stream correctly in some log.. I think it was with 44100 samplerate.. | 20:18 |
Guhl | yes but if i set it to 44100 pulse hangs and i can not connect | 20:19 |
*** energycsdx has quit IRC | 20:19 | |
Guhl | well not this time | 20:20 |
Guhl | W00t | 20:20 |
jusa_ | sound? | 20:20 |
Guhl | there is a piano playing on my phone - nice | 20:20 |
jusa_ | \o/ | 20:21 |
piggz | jusa_: Guhl: sound is totally working for me ... i enabled the sfx in my game and theyre working fine :) | 20:21 |
jusa_ | piggz: you got sound working as well? | 20:21 |
piggz | music player isnt playing .mp3 tho | 20:21 |
piggz | jusa_: yes! | 20:22 |
Guhl | cool - jusa_ there is too much magic involved in this | 20:22 |
jusa_ | music player not playing correctly is likely some OHM / policy bits missing | 20:22 |
jusa_ | Guhl: not really, but I need to write this down | 20:22 |
piggz | gui feedback sounds also working | 20:22 |
jusa_ | only magic was that strange input stream problem | 20:22 |
piggz | jusa_: Guhl: you want me to paste my .pa file? | 20:23 |
Guhl | piggz, yes show me yours i show you mine :-) | 20:23 |
piggz | http://pastebin.com/T64Js8ig | 20:24 |
piggz | jusa_: so .. music player ?? | 20:24 |
*** Nokius has quit IRC | 20:24 | |
jusa_ | piggz: ps aufx |grep ohm if that prints nothing ohm binaries are missing | 20:25 |
Guhl | piggz, this is my pa file not yours :-P | 20:25 |
piggz | root 1380 0.0 0.7 11244 4776 ? SLs 21:21 0:00 /usr/sbin/ohmd --no-daemon | 20:25 |
piggz | nemo 1638 0.0 0.2 5516 1436 ? Ss 21:21 0:00 /usr/bin/ohm-session-agent | 20:25 |
piggz | nemo 4753 1.0 0.0 2248 628 pts/0 S+ 23:25 0:00 grep ohm | 20:25 |
piggz | Guhl: nope, it is piggz.pa ;) | 20:26 |
Guhl | no it's arm_qualcomm_msm_7230_vision.pa | 20:26 |
Guhl | piggz, do you have input enabled in the audio_policy | 20:27 |
piggz | Guhl: no | 20:27 |
jusa_ | piggz: have you got policy-settings-common package installed ? | 20:27 |
piggz | jusa_: yes | 20:28 |
jusa_ | ok | 20:28 |
jusa_ | btw. did music player play other thna mp3 ? :P | 20:28 |
jusa_ | ogg / wav | 20:28 |
piggz | jusa_: yes ... it plays .ogg | 20:32 |
piggz | Guhl: you're so jealous :P | 20:32 |
piggz | jusa_: and .pcm | 20:32 |
piggz | so, must be a codec thingy | 20:33 |
Guhl | when playing wav pulse says | 20:34 |
*** eleroux has quit IRC | 20:34 | |
Guhl | format.rate = "48000" | 20:34 |
Guhl | sink-input.c: Trying to change sample rate | 20:35 |
Guhl | and then resampler resamples from 48000 to 44100 | 20:35 |
jusa_ | piggz: aahhh ok. then I don't know what's needed for mp3 decoding | 20:36 |
Guhl | when playing mp3 it's just | 20:36 |
Guhl | D: [pulseaudio] sink-input-ext.c: force stream 'player'/'pulsesink probe' to sink 'sink.primary' | 20:36 |
Guhl | I: [pulseaudio] sink-input.c: Sink does not support any requested format: | 20:36 |
Guhl | I: [pulseaudio] sink-input.c: -- mpeg-iec61937, format.rate = "48000" | 20:36 |
jusa_ | Guhl: is that wav file 48kHz? :) | 20:36 |
Guhl | yes | 20:36 |
jusa_ | then it makes sense that pulse resamples that to 44.1kHz since the sink takes 44.1kHz, no? | 20:36 |
Guhl | totally | 20:37 |
jusa_ | pulse automatically resamples whatever data to what sink needs | 20:37 |
Guhl | but it seems it can't do the for mp3 somehow | 20:37 |
jusa_ | mp3's are usually encoded 44.1kHz | 20:37 |
jusa_ | unless you encoded that yourself and know for certain it's 48kHz | 20:38 |
Guhl | this is the wav | 20:38 |
Guhl | AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000) | 20:38 |
Guhl | Opening audio decoder: [pcm] Uncompressed PCM audio decoder | 20:38 |
Guhl | this the mp3 | 20:38 |
Guhl | AUDIO: 48000 Hz, 2 ch, s16le, 320.0 kbit/20.83% (ratio: 40000->192000) | 20:38 |
Guhl | Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III | 20:39 |
Guhl | Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) | 20:39 |
Guhl | this is from mplayer | 20:39 |
jusa_ | maybe mplayer resamples the source itself | 20:39 |
jusa_ | if the playback rate is correct then something resamples it | 20:39 |
Guhl | i am quite sure that the mp3 is 48000 on the mp3 | 20:39 |
jusa_ | yeah, does it sound same as the wav? | 20:40 |
jusa_ | or slightly lower tone? | 20:40 |
*** javispedro has joined #sailfishos-porters | 20:40 | |
Guhl | well guys i have a flight at 5:50 tomorrow morning so i think i'll have to quit it for now | 20:42 |
Guhl | jusa_, piggz thanks a lot! | 20:43 |
jusa_ | Guhl: np, good that we got somewhere :) | 20:44 |
Guhl | absolutely | 20:45 |
piggz | Guhl: well, it should work for you soon if your hw is the same as mine | 20:45 |
Guhl | on the flight i'll try to understand the xpolicy.conf file :-) | 20:45 |
Guhl | piggz, yes i think audio is the same | 20:46 |
Guhl | where our devices really differ is the camera | 20:46 |
Guhl | but i do so not care about the camera | 20:46 |
*** dr_datacenter has joined #sailfishos-porters | 20:47 | |
Guhl | guys - good night looking forward to read the log tomorrow | 20:48 |
*** dr_datacenter is now known as dr_jolla | 20:48 | |
jusa_ | well I'm on my way to bed.. :) installed bunch of VST to "new" laptop and cooked for tomorrow, I guess I'm done for today | 20:49 |
piggz | jusa_: ive found the mp3 codec i think... | 20:49 |
*** Sfiet_Konstantin has quit IRC | 20:49 | |
piggz | jusa_: Guhl: all the codecs are in warehouse... | 20:54 |
*** Guhl has quit IRC | 20:59 | |
dr_jolla | piggz: hi | 20:59 |
piggz | dr_jolla: lo | 21:00 |
stephg | middle | 21:00 |
dr_jolla | where i can find fix for old adreno? | 21:00 |
piggz | dr_jolla: what do you mean? fix for what? | 21:01 |
dr_jolla | are you the author of htc ace? | 21:01 |
dr_jolla | ( port obv.) | 21:01 |
piggz | yes | 21:01 |
dr_jolla | i got a phone with the same issues of yours | 21:02 |
dr_jolla | i've read about patches to run whole thing | 21:02 |
piggz | kernel fixes? | 21:03 |
piggz | look in my github | 21:03 |
piggz | https://github.com/piggz/android_kernel_htc_msm7x30 | 21:03 |
dr_jolla | also qt side | 21:03 |
piggz | i am going afk now ... if you email me i can respond later | 21:03 |
dr_jolla | dr_gogeta86@messinalug.org | 21:04 |
dr_jolla | mine runs 3.4 kernel | 21:04 |
dr_jolla | btw tnx a loy | 21:06 |
*** dr_jolla has quit IRC | 21:12 | |
*** piggz has quit IRC | 21:22 | |
*** piggz has joined #sailfishos-porters | 21:22 | |
piggz | jusa_: yep, after reboot, mp3 working with packages from wareouse | 21:25 |
*** alin has quit IRC | 21:26 | |
jusa_ | piggz: cool | 21:33 |
*** marxistvegan has quit IRC | 21:36 | |
*** piggz has quit IRC | 21:37 | |
*** piggz has joined #sailfishos-porters | 21:37 | |
zetaz | hi ! | 21:38 |
zetaz | I now have booted in the real rootfs with the telnet running on port 2323 on Photon Q. | 21:38 |
zetaz | but.... I have troubles with /bin and /sbin being not correctly populated. | 21:39 |
zetaz | there are functions missing there | 21:39 |
zetaz | looks like a problem when creating the image | 21:39 |
zetaz | anyone here knows where I should look like ? in the mic command and the recipes ? in some rpm packaging ? | 21:40 |
*** zon has quit IRC | 21:46 | |
*** Eztran has quit IRC | 21:46 | |
*** zZz0n has joined #sailfishos-porters | 21:46 | |
*** zZz0n is now known as zon | 21:47 | |
|Tom| | hi zetaz | 21:48 |
zetaz | |Tom|: hi | 21:48 |
|Tom| | regarding sbin.. | 21:48 |
|Tom| | in your $ANDROID_ROOT, is your out/target/product/$DEVICE/root/sbin directory populated? | 21:49 |
zetaz | |Tom|: only : adbd ueventd watchdogd | 21:50 |
zetaz | it looks like the dir I was looking for | 21:51 |
|Tom| | ueventd and watchdogd are symlinks to "../init" in my case | 21:51 |
|Tom| | besides, I have bbx and healthd there | 21:52 |
zetaz | yes, me too | 21:52 |
|Tom| | hold on.. that's "just" the android stuff... on the device, the dir is more pupulated | 21:54 |
zetaz | yes, if I extract the root fs archive ("sfa-xt897-ea-1.0.8.19-my1.tar.bz2" here, I get a bit more in bin and sbin (same as on the target) | 21:55 |
*** RealJohnGalt has quit IRC | 21:56 | |
zetaz | my problem is not that /bin and /sbin are not populated at all, but only that some parts are missing (like ifconfig, ps or netstat) | 21:57 |
zetaz | |Tom|: for now I tricked it by copying the one from busybox that is availlable in the init ramdisk to the root fs, but it only solved some errors, and now if I run the full init, it throws errors for some other commands not found | 21:58 |
|Tom| | ps and netstat should be in /bin | 21:58 |
zetaz | |Tom| : yes, several commands are missings, some in /bin, some in /sbin | 21:59 |
|Tom| | as far as I understand the build system, mic populates the root directory by fetching some rpms for multiple repos. maybe some rpms did not download successfully on your end= | 22:00 |
|Tom| | ? | 22:00 |
|Tom| | can you check on your device: rpm -q -a | grep ps | 22:03 |
|Tom| | ? | 22:03 |
zetaz | |Tom|: sh: rpm: command not found... | 22:06 |
*** piggz has quit IRC | 22:06 | |
|Tom| | oh.. do you remember how many packages were processed when you ran mic? | 22:08 |
|Tom| | in your MerSDK, please check your enabled repos: sb2 -t $VENDOR-$DEVICE-armv7hl -R -msdk-install ssu lr | 22:11 |
|Tom| | on my end I have hotfixes, jolla and mer-tools (global) and local-$DEVICE-hal (user) enabled. other repos like apps, apps-mw, home and sdk are disabled | 22:14 |
zetaz | |Tom|: looks like I get the same result as you. Maybe the exception would be apps-mw which is listed but without a link | 22:16 |
|Tom| | should be fine, the link is missing on my end, too | 22:16 |
zetaz | ok | 22:18 |
zetaz | I think I saved the mic output, taking a look at it | 22:18 |
zetaz | maybe I'd better run it again to check | 22:19 |
|Tom| | my sfa-$DEVICE-ea-1.0.8.19-my1/Jolla-1.0.8.19-$DEVICE-armv7hl.packages file contains more almost 570 packages | 22:22 |
zetaz | mic is running. It shows me : Info: 147 packages to be installed, 147 packages gotten from cache, 0 packages to be downloaded | 22:22 |
zetaz | so a lot less than you | 22:22 |
zetaz | and the package file tells 146 lines. | 22:23 |
zetaz | so I have something missing close to this step | 22:24 |
|Tom| | so something is missing.... | 22:24 |
zetaz | |Tom|: from the hadk, the step before running mic is to generate patterns. I probably messed something up there | 22:25 |
|Tom| | chapter 8.3 .. | 22:25 |
zetaz | |Tom|: yep. Have you done something specific here, or simply running the process_patters.sh file was enough ? | 22:26 |
|Tom| | just the process_patterns.sh script | 22:26 |
zetaz | ok, same here... | 22:26 |
zetaz | |Tom|: which device do you have ? | 22:27 |
|Tom| | falcon | 22:27 |
|Tom| | --> motorola g | 22:28 |
zetaz | ok, new one ? it is not in the list ? | 22:28 |
|Tom| | nope.. just poking on my new toy ;-) | 22:29 |
zetaz | anyway, it can't be because one of the previous porter made a patch for it that I am missing on my device... | 22:29 |
*** rbn has quit IRC | 22:31 | |
|Tom| | oh wait.. just an idea.. i followed the hadk but after applying some google-fu I manually updated one of the mer sdk packages... let me see if I can find it.. | 22:31 |
zetaz | mic finished to run, there are some non fatal error for post install scripts, for some missing commands... but it looks more as a consequence than the cause. | 22:32 |
|Tom| | http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2014-09-20.log.html look at Guhl99's message at 07:39 | 22:33 |
zetaz | |Tom|: thanks for the pointer. I will do it right now | 22:38 |
zetaz | not sure I will be able to finish this today, but at least you help me a lot to narrow it down to where I am missing things | 22:38 |
|Tom| | no prob.. in the irc log a couple days later, it seems that the sdk package was already updated. so maybe you need to only update the sdk | 22:39 |
zetaz | by the way, I compared the patterns in rpm/patterns/xt897/ with the one from mako, and they are about the same (minus the name change in package) | 22:40 |
zetaz | but the jolla-configuration-sfe.yaml file contains things that are clearly ignored by mic (like zypper, vim or busybox-static). The mistake is somewhere around this. | 22:40 |
zetaz | let's see if the update resolve it | 22:40 |
|Tom| | on the other hand, in chapter 7.1.1 you need to execute only the second command (i skipped the first one) | 22:41 |
|Tom| | did you compile the middleware? (chapter 13.8) | 22:42 |
zetaz | damn it, still 147 packages in the rootfs... | 22:45 |
zetaz | |Tom|: yes, I did compiled it normally, but I think I have to go through it again tomorrow to check if I didn't forget a step or missed an error message | 22:47 |
|Tom| | ok | 22:48 |
|Tom| | good luck :-) | 22:48 |
|Tom| | btw, which CPU is used in your device? | 22:48 |
zetaz | for the 7.1.1 part, I only have this one in the RPMS/ directory : ssu-kickstarts-droid-1-1.armv7hl.rpm | 22:48 |
zetaz | Processor : ARMv7 Processor rev 0 (v7l) | 22:49 |
|Tom| | so you miss this one: droid-hal-configs-1-1.armv7hl.rpm | 22:49 |
zetaz | indeed... | 22:50 |
|Tom| | ok, this should be created in 7.1.2 | 22:50 |
zetaz | |Tom|: At this point, I think I would be better cleaning all the rootfs and packages and rebuilding everything correctly, now that I know better than last month what I should expect at each step. | 22:52 |
|Tom| | your CPU is MSM8960 (accordig to CM wiki)... | 22:52 |
zetaz | |Tom|: yes | 22:52 |
zetaz | is the moto G on the same one ? | 22:52 |
|Tom| | no, it bases on the msm8226, but I the architecture is roughly similar I guess | 22:54 |
zetaz | just found it on the wiki. This is the next generation (2013 Quad A7 vs 2012 Quad A9) | 22:55 |
|Tom| | zetaz: A7 vs A9.. hmm... probably bigger diff than thought | 22:56 |
|Tom| | zetaz: was your telnet on port 2323 accessible out of the box? | 22:56 |
zetaz | both have adreno (305 vs 225), but may show the same difficulties to have display working (I am not there yet, but flyser was) | 22:57 |
zetaz | |Tom|: nope, I had to play a little with usb0/rndis0 order to get it to work | 22:57 |
zetaz | and I had to ifconfig usb0 down in the second stage to have telnet working (can't explain why it worked in init ramfs with both...) | 22:58 |
|Tom| | zetaz: in my case both usb0 and rndis0 are available.. | 22:58 |
|Tom| | zetaz: same here.. but it didn't work in ramfs for me. I got the IP but could not connect as long as usb0 was up | 22:59 |
zetaz | at what step are you ? struggling with telnet too ? In that case I can give you what I did ? | 22:59 |
zetaz | ok, so give me a minute to give you my notes, looks like the same | 22:59 |
|Tom| | no, I have (limited) signs of life on the dev. telnet 2323 and ssh working. | 22:59 |
|Tom| | currently I'm trying to understand the init process. (both, android/cyanogenmod and sailfishos) | 23:01 |
|Tom| | I need the knowledge for display init. the device nodes are there but in suspended state. | 23:03 |
zetaz | |Tom|: that is beyond my knowledge for now... but I hope I will get at that point someday ! | 23:04 |
zetaz | got to go | 23:04 |
*** javispedro has quit IRC | 23:05 | |
|Tom| | zetaz: good night and good luck :) | 23:05 |
zetaz | |Tom|: thanks a lot for your helps | 23:05 |
zetaz | hopefully I'll be able to create the rootfs correctly now, and then fight with the display... | 23:05 |
|Tom| | not sure, I could help - we still don't know why you miss lots of packages | 23:05 |
|Tom| | ;9 | 23:05 |
|Tom| | ;) | 23:05 |
*** |Tom||2 has joined #sailfishos-porters | 23:07 | |
zetaz | If I find why I will be able to had it to the HADK, so that other don't do the same mistake. | 23:07 |
zetaz | add* | 23:08 |
*** zetaz has left #sailfishos-porters | 23:08 | |
*** |Tom| has quit IRC | 23:10 | |
*** |Tom||2 is now known as |Tom| | 23:13 | |
*** olafh has quit IRC | 23:35 | |
*** Tassadar has quit IRC | 23:45 | |
*** Umeaboy has joined #sailfishos-porters | 23:53 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!