16:20.54 | *** join/#openmoko-cdevel apt (~apt@rikers.org) |
16:20.54 | *** topic/#openmoko-cdevel is Openmoko Community Developers Channel - discussion on all firmware images, packages and software | SHR: http://shr-project.org | #hackable1 | #openmoko-debian | #qtmoko | #android-on-freerunner | CIA notifications in #freesmartphone.org | Chan Logs: ~logs & http://logs.nslu2-linux.org/livelogs/openmoko-cdevel.txt | Newsflash: type '~nf' |
16:20.55 | *** mode/#openmoko-cdevel [+v apt] by ChanServ |
16:31.07 | paulk-desktop | GNUtoo, I have SHR splash with no kernel panic! |
16:33.03 | paulk-desktop | it's taking long though |
16:34.13 | paulk-desktop | oh it booted |
16:36.19 | paulk-desktop | what's the correct dpi for om-gta02? |
16:36.31 | GNUtoo | the last one |
16:36.31 | GNUtoo | the 2 |
16:39.25 | *** join/#openmoko-cdevel chomwitt (~chomwitt@ppp-94-69-237-60.home.otenet.gr) |
16:42.15 | *** join/#openmoko-cdevel nschle85 (~user@46.115.34.235) |
16:48.59 | paulk-desktop | volume isn't very loud |
16:49.01 | paulk-desktop | (in-call) |
16:49.19 | *** join/#openmoko-cdevel maciej_ (~maciej@82.139.177.221) |
16:50.49 | GNUtoo | paulk-desktop, it seem to depend on the models |
16:51.01 | paulk-desktop | ok |
16:51.15 | GNUtoo | but antrik came up with a solution for that |
16:51.28 | GNUtoo | it waits for my forwader for the gta04 to be merged tough |
16:51.36 | GNUtoo | basically you record from the modem |
16:51.39 | GNUtoo | and play back louder |
16:51.59 | paulk-desktop | ok |
16:54.09 | paulk-desktop | interesting, in-call doesn't wake the phone up |
16:54.26 | paulk-desktop | while in suspend |
16:54.49 | paulk-desktop | ah now it does |
16:55.16 | morphis | GNUtoo: the gsmvoice_alsa_forwarder is the cause why you want fsoaudiod GPL instead of LGPL, right? |
16:55.22 | paulk-desktop | also it failed to ACK an incoming sms |
16:55.27 | paulk-desktop | as a result, I got it twice |
16:55.30 | GNUtoo | morphis, yes |
16:55.57 | morphis | GNUtoo: isn't it a problem having a LGPL daemon and a GPL plugin? |
16:56.21 | morphis | s/isn't/is/ |
16:57.38 | *** join/#openmoko-cdevel NIN101 (~NIN@2001:530::216:3cff:fe71:5e1e) |
16:57.54 | GNUtoo | morphis, I think it's a problem |
16:59.57 | morphis | you think or you know it? |
17:00.25 | *** join/#openmoko-cdevel plotr (~name@178.185.11.189) |
17:00.54 | GNUtoo | I think |
17:00.57 | GNUtoo | let me find |
17:01.02 | GNUtoo | let me find it out |
17:02.24 | morphis | GNUtoo: "If the program dynamically links plug-ins, and they make function calls to each other and share data structures, we believe they form a single program, which must be treated as an extension of both the main program and the plug-ins. This means the plug-ins must be released under the GPL or a GPL-compatible free software license, and that the terms of the GPL must be followed when those plug-ins are distributed." |
17:02.31 | morphis | http://www.gnu.org/licenses/gpl-faq.html |
17:03.26 | GNUtoo | ok |
17:03.33 | GNUtoo | that's the FAQ I was looking at |
17:03.38 | GNUtoo | but you beat me in speed |
17:04.21 | *** join/#openmoko-cdevel nschle85-jenkins (~PircBotx@norman-schleicher.de) |
17:04.22 | GNUtoo | also look at the compatibility matrix |
17:04.29 | GNUtoo | you want to release code under LGPL |
17:04.36 | GNUtoo | and you want to copy under GPL |
17:04.58 | GNUtoo | they say ok but you have to convert the project under GPL |
17:06.09 | morphis | hm ok |
17:06.15 | morphis | then let's do the change |
17:06.29 | morphis | but it will take some time as I need to change the headers of all files |
17:07.13 | GNUtoo | yes |
17:10.36 | paulk-desktop | is it normal that I can't boot android on uSD from shr QI? |
17:11.39 | lindi-_ | this is exactly why it is horrible to need to have boot loader per distro |
17:12.15 | paulk-desktop | indeed |
17:12.20 | paulk-desktop | I'll go with u-boot for all distros |
17:14.00 | lindi-_ | paulk-desktop: I'm trying to improve the situation by making qi more configurable |
17:14.59 | paulk-desktop | ok |
17:19.51 | morphis | GNUtoo: I will use GPLv2 |
17:20.06 | GNUtoo | yes that's ok |
17:20.22 | GNUtoo | use GPLv2+ |
17:20.30 | GNUtoo | that is to say GPLv2 or later |
17:20.39 | GNUtoo | else we cannot use gplv3 code in the future |
17:20.53 | GNUtoo | just copy the header from gpl.txt |
17:20.56 | GNUtoo | and that should work |
17:24.09 | morphis | GNUtoo: I will put your and mickeyl's acked-by below the commit |
17:25.37 | *** join/#openmoko-cdevel Orias_Korva (~atilla@d54C47438.access.telenet.be) |
17:26.01 | morphis | and it's GPLv2+ |
17:28.10 | *** join/#openmoko-cdevel dos1 (~dos@unaffiliated/dos1) |
17:28.35 | CIA-77 | freesmartphone.org: 03morphis 07cornucopia * r7c9c12c3335f 10/fsoaudiod/ (18 files in 10 dirs): |
17:28.35 | CIA-77 | freesmartphone.org: fsoaudiod: change license from LGPLv2.1 to GPLv2 |
17:28.35 | CIA-77 | freesmartphone.org: Signed-off-by: Simon Busch <morphis@gravedo.de> |
17:28.35 | CIA-77 | freesmartphone.org: Acked-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de> |
17:28.35 | CIA-77 | freesmartphone.org: Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
17:29.31 | CIA-77 | freesmartphone.org: 03morphis 07cornucopia * r5a6db3fa94e5 10/tools/mdbus2/src/argument.vala: |
17:29.31 | CIA-77 | freesmartphone.org: tools: mdbus2: handle simple variant arguments (like sv) |
17:29.31 | CIA-77 | freesmartphone.org: Signed-off-by: Simon Busch <morphis@gravedo.de> |
17:30.31 | *** join/#openmoko-cdevel GarthPS (~quassel@qrc29-1-82-245-206-103.fbx.proxad.net) |
17:35.13 | *** join/#openmoko-cdevel ege (~erik@213.188.250.223) |
17:35.30 | *** join/#openmoko-cdevel dos11 (~dos@unaffiliated/dos1) |
17:37.37 | GNUtoo | thanks a lot even if you're offline |
17:38.19 | *** join/#openmoko-cdevel GarthPS (~quassel@qrc29-1-82-245-206-103.fbx.proxad.net) |
17:38.26 | GNUtoo | hi GarthPS |
17:38.55 | GarthPS | GNUtoo: yop hi! did not build bitbake hang all the night. tonight next round |
17:39.08 | GNUtoo | ok |
17:39.24 | GNUtoo | then try official test images |
17:39.28 | GNUtoo | ? |
17:39.46 | GNUtoo | GarthPS, do you know gdb well? |
17:41.32 | GarthPS | GNUtoo: a little why ? |
17:42.11 | GNUtoo | I need to break on _start |
17:42.19 | GNUtoo | for mplayer.... |
17:47.03 | GNUtoo | btw does someone knows autotools, specially how to depend on libsamplerate? |
17:48.27 | lindi-_ | GNUtoo: I guess |
17:53.15 | GarthPS | GNUtoo: I did launch mplayer in a ssh term and the device hanged and rebooted without anyoutput |
17:53.47 | GNUtoo | GarthPS, I have output |
17:53.50 | lindi-_ | GNUtoo: perhaps PKG_CHECK_MODULES(LIBSAMPLERATE, [libsamplerate]) in configure.in |
17:53.59 | GNUtoo | lindi-_, ok thanks a lot |
17:54.12 | GNUtoo | GarthPS, /etc/init.d/xserver-nodm stop |
17:54.15 | GNUtoo | GarthPS, mplayer |
17:54.21 | GNUtoo | and you'll have output on screen |
17:58.27 | *** join/#openmoko-cdevel morphis (~morphis@dslb-088-071-235-018.pools.arcor-ip.net) |
18:05.47 | alabd | GNUtoo: for recompiling android packages for armv4 we need that Debug board? |
18:27.21 | pespin | GNUtoo, does libsamplerate provide a pkg-config file? |
18:27.39 | pespin | ah ok, lindi answeres already :) |
18:27.53 | GNUtoo | pespin, I still need help |
18:27.59 | GNUtoo | checking for LIBSAMPLERATE... no |
18:28.09 | pespin | then it means it's not installed :P |
18:29.07 | *** join/#openmoko-cdevel anarsoul (~anarsoul@212.98.184.231) |
18:29.20 | pespin | I guess it's not libsamplerate, but samplerate |
18:29.41 | pespin | GNUtoo, try looking for its .pc file in /usr/lib/pkgconfig |
18:30.36 | GNUtoo | samplerate.pc |
18:31.11 | pespin | GNUtoo, then s/libsamplrate/samplerate/ in lindi-_ line |
18:31.13 | morphis | GNUtoo: you told me paulk-desktop is working on GPS support for the Nexus S |
18:31.31 | GNUtoo | morphis, he just started |
18:31.35 | paulk-desktop | I started that's right |
18:31.36 | morphis | ok |
18:31.44 | morphis | paulk-desktop: any results so far? |
18:31.59 | GNUtoo | morphis, also for palmpre mplayer can be debugged, it kenrel panicks on the screens when Xorg is stopped |
18:32.03 | paulk-desktop | serial setup is OK but we can't get the other end to send anything |
18:32.20 | paulk-desktop | and I managed to make the non-free gps daemon on android very verbose |
18:32.22 | paulk-desktop | so it helps |
18:33.02 | GNUtoo | paulk-desktop, try to follow xda procedure |
18:33.08 | paulk-desktop | where is it? |
18:33.08 | GNUtoo | to disable agps etc... |
18:33.16 | morphis | GNUtoo: it paniks? with which message? |
18:33.19 | paulk-desktop | ah, on the xml file |
18:33.20 | GNUtoo | look for MEIF in xda |
18:33.26 | GNUtoo | morphis, something about syscall |
18:33.46 | morphis | which one? |
18:34.20 | GNUtoo | arm_syscall |
18:34.25 | GNUtoo | ret_fast_syscall |
18:34.57 | lindi-_ | that's quite generic :/ |
18:35.13 | GNUtoo | let me finish.... |
18:35.31 | GNUtoo | ret_fast_Syscall calls arm_syscall |
18:35.48 | GNUtoo | I think the fatal exception is in there |
18:36.05 | GNUtoo | I've a video of it |
18:36.11 | GNUtoo | but.... |
18:36.19 | GNUtoo | it's easily reproducible |
18:36.29 | GNUtoo | /etc/init.d/xserver-nodm stop |
18:36.37 | GNUtoo | /etc/init.d/dbus-1 stop |
18:36.49 | GNUtoo | (to prevent fsodeviced from powering off the screen) |
18:36.52 | GNUtoo | and mplayer |
18:36.54 | GNUtoo | and you get it |
18:38.00 | GNUtoo | morphis, should I squash all the commits in one commit |
18:38.06 | GNUtoo | for pushing fsoaudiod |
18:38.21 | GNUtoo | s/fsoaudiod/the forwarder/ |
18:38.24 | morphis | GNUtoo: for pushing, no please only merge your branch |
18:38.31 | GNUtoo | ok |
18:38.48 | morphis | GNUtoo: thats great |
18:38.50 | GNUtoo | I would prefer to rearrange at least the branch |
18:38.56 | morphis | maybe we can get the bug fixed |
18:39.00 | GNUtoo | because we violate the GPL between certain commits |
18:39.07 | GNUtoo | when we're still LGPL |
18:39.15 | GNUtoo | so I squash that commit early |
18:39.17 | GNUtoo | and merge? |
18:39.35 | morphis | ok |
18:40.19 | GNUtoo | in the meantime I merge in my branch first |
18:40.34 | GNUtoo | ah I've rebased |
18:40.37 | GNUtoo | hmmm |
18:40.42 | GNUtoo | can I -f on a branch? |
18:41.35 | CIA-77 | freesmartphone.org: 03GNUtoo 07gnutoo/alsaloop * r8663aa0f158a 10cornucopia/fsoaudiod/ (8 files in 3 dirs): |
18:41.36 | CIA-77 | freesmartphone.org: fsoaudiod: import files for making an alsaloop based alsa forwarder plugin for the om-gta04 |
18:41.36 | CIA-77 | freesmartphone.org: Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
18:41.36 | CIA-77 | freesmartphone.org: 03GNUtoo 07gnutoo/alsaloop * r930477974caa 10cornucopia/fsoaudiod/src/plugins/gsmvoice_alsa_forwarder/ (Makefile.am alsaloop.c plugin.vala): |
18:41.36 | CIA-77 | freesmartphone.org: fsoaudiod: gsmvoice_alsa_forwarder: try to make it compile |
18:41.36 | CIA-77 | freesmartphone.org: Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
18:41.36 | GNUtoo | yes It works |
18:41.37 | CIA-77 | freesmartphone.org: 03GNUtoo 07gnutoo/alsaloop * r7a640df06022 10cornucopia/fsoaudiod/src/plugins/gsmvoice_alsa_forwarder/ (Makefile.am alsaloop.h): |
18:41.37 | CIA-77 | freesmartphone.org: fsoaudiod: gsmvoice_alsa_forwarder: make it compile |
18:41.38 | CIA-77 | freesmartphone.org: Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
18:41.38 | CIA-77 | freesmartphone.org: 03GNUtoo 07gnutoo/alsaloop * r71e689fbfe00 10cornucopia/fsoaudiod/src/plugins/gsmvoice_alsa_forwarder/ (alsaloop.c plugin.vala): |
18:41.39 | CIA-77 | freesmartphone.org: fsoaudiod: gsmvoice_alsa_forwarder: add shut down and config file |
18:41.39 | CIA-77 | freesmartphone.org: Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
18:41.42 | CIA-77 | freesmartphone.org: 03GNUtoo 07gnutoo/alsaloop * r4d11a9efa295 10cornucopia/fsoaudiod/src/plugins/gsmvoice_alsa_forwarder/plugin.vala: |
18:41.42 | CIA-77 | freesmartphone.org: fsoaudiod: gsmvoice_alsa_forwarder: better handling of the start/stop of the wrapper alsaloop |
18:41.42 | CIA-77 | freesmartphone.org: Note that when the call stops fsoaudiod exits... |
18:41.43 | CIA-77 | freesmartphone.org: That will be addressed in a new commit. |
18:41.43 | CIA-77 | freesmartphone.org: Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
18:42.14 | CIA-77 | freesmartphone.org: Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
18:42.14 | CIA-77 | freesmartphone.org: 03GNUtoo 07gnutoo/alsaloop * r81b9a89eb585 10cornucopia/fsoaudiod/src/plugins/gsmvoice_alsa_forwarder/plugin.vala: |
18:42.14 | CIA-77 | freesmartphone.org: fsoaudiod: gsmvoice_alsa_forwarder: add mutex to protect threads and add more logging |
18:42.14 | CIA-77 | freesmartphone.org: Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
18:42.14 | CIA-77 | freesmartphone.org: 03GNUtoo 07gnutoo/alsaloop * r4f3a7c8cbda4 10cornucopia/fsoaudiod/src/plugins/gsmvoice_alsa_forwarder/plugin.vala: |
18:42.14 | CIA-77 | freesmartphone.org: fsoaudiod: gsmvoice_alsa_forwarder: fix restart when thread exits by itself |
18:42.15 | CIA-77 | freesmartphone.org: Thanks to mrmoku on #openmoko-cdevel Freenode irc channel for noticing it: |
18:42.15 | CIA-77 | freesmartphone.org: Jan 14 13:26:40 <mrmoku> GNUtoo: one suboptimal thing is... when start_forwarder exits by itself (without calling stop) alsaLoopThread won't be reset to null |
18:43.14 | CIA-77 | freesmartphone.org: Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
18:43.14 | CIA-77 | freesmartphone.org: 03GNUtoo 07gnutoo/alsaloop * r2bb87be85682 10cornucopia/fsoaudiod/src/plugins/gsmvoice_alsa_forwarder/ (alsaloop.c plugin.vala): |
18:43.14 | CIA-77 | freesmartphone.org: fsoaudiod: gsmvoice_alsa_forwarder: alsaloop.c: switch from exit to return |
18:43.14 | CIA-77 | freesmartphone.org: without that the exit code could make fsoaudiod exit instead of just the forwarder. |
18:43.14 | CIA-77 | freesmartphone.org: Thanks mrmoku on #openmoko-cdevel on Freenode IRC server for the idea: |
18:43.14 | CIA-77 | (34 lines omitted) |
18:46.36 | morphis | GNUtoo: I am testing an image for the 3.0 kernel right now |
18:46.41 | GNUtoo | ok |
18:46.48 | GNUtoo | I'll push |
18:47.51 | CIA-77 | freesmartphone.org: 03GNUtoo 07cornucopia * r51a0667d1d5d 10/fsoaudiod/ (8 files in 3 dirs): |
18:47.51 | CIA-77 | freesmartphone.org: fsoaudiod: import files for making an alsaloop based alsa forwarder plugin for the om-gta04 |
18:47.51 | CIA-77 | freesmartphone.org: Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
18:47.51 | GNUtoo | morphis, I'll delete the branch then |
18:47.51 | CIA-77 | freesmartphone.org: 03GNUtoo 07cornucopia * r69713ca6f732 10/fsoaudiod/src/plugins/gsmvoice_alsa_forwarder/ (Makefile.am alsaloop.c plugin.vala): |
18:47.51 | CIA-77 | freesmartphone.org: fsoaudiod: gsmvoice_alsa_forwarder: try to make it compile |
18:47.51 | CIA-77 | freesmartphone.org: Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
18:47.52 | CIA-77 | freesmartphone.org: 03GNUtoo 07cornucopia * rd7b8e7f47a70 10/fsoaudiod/src/plugins/gsmvoice_alsa_forwarder/ (Makefile.am alsaloop.h): |
18:47.52 | CIA-77 | freesmartphone.org: fsoaudiod: gsmvoice_alsa_forwarder: make it compile |
18:47.53 | CIA-77 | freesmartphone.org: Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
18:47.53 | CIA-77 | freesmartphone.org: 03GNUtoo 07cornucopia * r45721242099f 10/fsoaudiod/src/plugins/gsmvoice_alsa_forwarder/ (alsaloop.c plugin.vala): |
18:47.54 | CIA-77 | freesmartphone.org: fsoaudiod: gsmvoice_alsa_forwarder: add shut down and config file |
18:47.54 | CIA-77 | freesmartphone.org: Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
18:47.55 | CIA-77 | freesmartphone.org: 03GNUtoo 07cornucopia * r362b8aa2b3b6 10/fsoaudiod/src/plugins/gsmvoice_alsa_forwarder/plugin.vala: |
18:47.57 | CIA-77 | freesmartphone.org: fsoaudiod: gsmvoice_alsa_forwarder: better handling of the start/stop of the wrapper alsaloop |
18:47.57 | CIA-77 | freesmartphone.org: Note that when the call stops fsoaudiod exits... |
18:47.57 | CIA-77 | freesmartphone.org: That will be addressed in a new commit. |
18:48.00 | morphis | GNUtoo: ok |
18:48.14 | CIA-77 | freesmartphone.org: fsoaudiod: gsmvoice_alsa_forwarder: add mutex to protect threads and add more logging |
18:48.14 | CIA-77 | freesmartphone.org: Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
18:48.14 | CIA-77 | freesmartphone.org: 03GNUtoo 07cornucopia * ra4e1c2ebfbe6 10/fsoaudiod/src/plugins/gsmvoice_alsa_forwarder/plugin.vala: |
18:48.14 | CIA-77 | freesmartphone.org: fsoaudiod: gsmvoice_alsa_forwarder: fix restart when thread exits by itself |
18:48.14 | GNUtoo | (because of the GPL problem) |
18:48.14 | CIA-77 | freesmartphone.org: Thanks to mrmoku on #openmoko-cdevel Freenode irc channel for noticing it: |
18:48.14 | CIA-77 | freesmartphone.org: Jan 14 13:26:40 <mrmoku> GNUtoo: one suboptimal thing is... when start_forwarder exits by itself (without calling stop) alsaLoopThread won't be reset to null |
18:48.15 | CIA-77 | freesmartphone.org: Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
18:48.15 | CIA-77 | freesmartphone.org: 03GNUtoo 07cornucopia * rbbae401c5b19 10/fsoaudiod/src/plugins/gsmvoice_alsa_forwarder/ (alsaloop.c plugin.vala): |
18:49.13 | CIA-77 | freesmartphone.org: fsoaudiod: gsmvoice_alsa_forwarder: alsaloop.c: switch from exit to return |
18:49.14 | CIA-77 | freesmartphone.org: without that the exit code could make fsoaudiod exit instead of just the forwarder. |
18:49.14 | CIA-77 | freesmartphone.org: Thanks mrmoku on #openmoko-cdevel on Freenode IRC server for the idea: |
18:49.14 | CIA-77 | freesmartphone.org: Jan 14 13:40:23 <mrmoku> GNUtoo: make those too a return and check for the value? |
18:49.14 | CIA-77 | (29 lines omitted) |
18:49.48 | GNUtoo | *** Deleting a branch is not allowed in this repository |
18:50.06 | morphis | GNUtoo: maybe you can't do that |
18:50.10 | GNUtoo | yes |
18:50.12 | morphis | I will do that later |
18:50.13 | lindi-_ | GNUtoo: jikes! |
18:50.15 | GNUtoo | the branch to delete is: |
18:50.26 | GNUtoo | gnutoo/alsaloop |
18:50.33 | GNUtoo | ok |
18:52.02 | GNUtoo | lindi-_, what does jikes means? |
18:53.32 | GNUtoo | morphis, now I'll fix fsoaudiod recipe |
18:54.12 | morphis | GNUtoo: ah right |
18:54.20 | morphis | thats what I forgot to do :) |
18:54.34 | morphis | but as long as nobody bumps SRCREV :) |
18:55.04 | GNUtoo | indeed |
18:55.07 | GNUtoo | I use autorev.... |
18:55.18 | GNUtoo | *but I use autorev |
18:55.41 | morphis | :) |
18:59.41 | lindi-_ | GNUtoo: your git commit messages just filled my screen :) |
18:59.57 | GNUtoo | ok |
19:00.11 | GNUtoo | but what does the jikes expression means? |
19:01.17 | *** join/#openmoko-cdevel ThibG (~ThibG@81-64-18-234.rev.numericable.fr) |
19:02.30 | playya__ | what's alsa forwarder supposed to do? |
19:04.04 | GNUtoo | playya__, the gta04 has its modem as a separate sound card |
19:04.19 | GNUtoo | so it forward between both sound cards |
19:04.37 | GNUtoo | but antrik is interested in doing something similar with gta02 |
19:04.43 | GNUtoo | his earpiece volume is too low |
19:04.51 | GNUtoo | so he wants to record the call |
19:04.55 | GNUtoo | and play it back louder |
19:05.27 | *** join/#openmoko-cdevel JaMa (~martin@94.230.152.246) |
19:05.36 | morphis | GNUtoo: when I verified OE is working with the 3.0 kernel should I merge my branch? |
19:05.44 | GNUtoo | yes of course |
19:06.37 | *** join/#openmoko-cdevel geomat (~geomat@host-95-199-22-63.mobileonline.telia.com) |
19:08.37 | *** join/#openmoko-cdevel Mirv (~tajyrink@ubuntu/member/mirv) |
19:22.02 | *** join/#openmoko-cdevel playya__ (~playya@p4FF8BE05.dip.t-dialin.net) |
19:23.48 | *** join/#openmoko-cdevel turran_ (~jl@90.163.79.184) |
19:23.49 | *** join/#openmoko-cdevel turran_ (~jl@unaffiliated/turran) |
19:32.55 | *** join/#openmoko-cdevel khorben (~khorben@mahce.defora.org) |
19:38.56 | *** join/#openmoko-cdevel jluis (~jluis@209.Red-83-55-6.dynamicIP.rima-tde.net) |
19:43.39 | *** join/#openmoko-cdevel nschle85 (~kvirc@178-27-184-116-dynip.superkabel.de) |
19:48.57 | Alex[sp3dev] | GNUtoo: hi |
19:49.04 | GNUtoo | hi |
19:49.48 | Alex[sp3dev] | what could i use except mplayer to test camera? mplayer doesn't work. however, it looks like sensor and fimc initializes as sensor ids are printed when i open /dev/video1 |
19:51.35 | GNUtoo | gstreamer? |
19:51.49 | GNUtoo | gst-launch v4l2src ! xvideosink |
19:51.56 | Alex[sp3dev] | well, maybe |
19:52.02 | GNUtoo | give me some minutes |
19:52.09 | Alex[sp3dev] | what were the problems on nexus s with v4l2? |
19:52.23 | GNUtoo | PaulFertser, knows better than me |
19:52.28 | GNUtoo | but I think we need an activator |
19:52.40 | GNUtoo | because there is something like media controller but not media controller |
19:53.18 | Alex[sp3dev] | basically all the stuff for image capture is there.. it may be missing some bits to tell v4l2 to use it as camera though |
19:54.28 | GNUtoo | ok |
19:54.47 | *** join/#openmoko-cdevel KaZeR (~kazer@124.170.67.86.rev.sfr.net) |
19:55.13 | GNUtoo | was media controller merged in mainline? |
19:55.38 | *** join/#openmoko-cdevel SabotageAndi (~SabotageA@h081217018227.dyn.cm.kabsi.at) |
19:56.08 | Alex[sp3dev] | what is media controller? mainline (and linaro) has fimc, g2d and mfc [the latter requires proprietary fw, but is not in related to camera] |
19:57.27 | *** join/#openmoko-cdevel rah (rah@myrtle.6gnip.net) |
19:58.00 | GNUtoo | ok |
19:58.02 | *** join/#openmoko-cdevel anarsoul (~anarsoul@212.98.184.95) |
19:58.06 | GNUtoo | media controller is an option in media |
19:58.08 | GNUtoo | near v4l2 |
19:58.12 | GNUtoo | look if you have it |
19:58.19 | GNUtoo | it's an extension to v4l2 |
19:58.28 | GNUtoo | that permit to define paths in the hardware |
19:58.32 | GNUtoo | for instance: |
19:58.34 | Alex[sp3dev] | like, subdevice? |
19:58.39 | GNUtoo | camera->resizer->previewer |
19:58.43 | GNUtoo | yes |
19:58.48 | Alex[sp3dev] | yes, it was merged |
19:58.53 | GNUtoo | ok nice |
19:58.58 | Alex[sp3dev] | and m5mols [8mp camera driver and isp] as well |
19:59.05 | GNUtoo | ok nice |
19:59.16 | GNUtoo | do you know alsa |
19:59.17 | GNUtoo | ? |
19:59.34 | GNUtoo | in alsa you need a board file for connecting CODEC, CPU DAI etc... |
19:59.37 | Alex[sp3dev] | very basically. wrote board driver once |
19:59.39 | GNUtoo | in camera it's the same I think |
20:00.03 | GNUtoo | for instance for n900 there is an option for rx51 camera |
20:00.30 | Alex[sp3dev] | i get the node in /dev, and when i open it, the camera inits and dumps vendor id so i assume power stuff and v4l2 setup is ok |
20:01.05 | Alex[sp3dev] | i wonder why my device won't boot when i enable highmem |
20:01.18 | GNUtoo | ok |
20:02.43 | Alex[sp3dev] | GNUtoo: here is the dmesg in case you want to check how v4l2 probes http://pastebin.com/a6D7SSFC |
20:05.35 | *** join/#openmoko-cdevel alabd (~alabd@unaffiliated/alabd) |
20:05.45 | GNUtoo | hmmm it goes until /dev/video8 |
20:07.28 | GNUtoo | morphis, do you know how to insert cmdline arguments in the pre kernel? |
20:09.34 | Alex[sp3dev] | GNUtoo: i think m2m is memory2memory and is not really needed. since we have 1 camera driver, probably video1 is what we need |
20:09.46 | GNUtoo | ok |
20:12.37 | nschle85-jenkins | Project shr-core-nokia900-aurora-image build #14: SUCCESS in 15 min: http://norman-schleicher.de/jenkins/job/shr-core-nokia900-aurora-image/14/ |
20:12.40 | Alex[sp3dev] | GNUtoo: if i use SHR E17 (not aurora) image, do i still need to use evdev instead of mtev? |
20:12.58 | GNUtoo | it depend on your touchscreen driver |
20:13.07 | GNUtoo | if you have multitouch you need the standard mtev |
20:13.15 | GNUtoo | which will soon replace the non-standard mtev |
20:13.40 | GNUtoo | (we worked arround in userspace for 2.6.35) |
20:13.48 | Alex[sp3dev] | i'm using atmel_mxt_ts which i assume is the bleeding edge multitouch driver |
20:15.25 | GNUtoo | ok |
20:15.33 | GNUtoo | so you need standard xorg driver |
20:17.12 | GNUtoo | morphis, will push it soon |
20:17.26 | GNUtoo | he's already 3.0 working on crespo |
20:20.13 | nschle85-jenkins | Project shr-core-nokia900-feed build #11: SUCCESS in 7 min 35 sec: http://norman-schleicher.de/jenkins/job/shr-core-nokia900-feed/11/ |
20:26.20 | CIA-77 | SHR: 03GNUtoo 07meta-smartphone * r16c99a45329f 10/meta-fso/recipes-freesmartphone/freesmartphone/ (cornucopia.inc fsoaudiod_git.bb): meta-fso: bump cornucopia rev and enable the gsmvoice_alsa_forwarder fsoaudiod plugin |
20:36.26 | Alex[sp3dev] | my uneducated guess is that m2m devices are mapped to each other in kernel (like, camera to g2d, capture to output surface) and we can then capture on g2d/jpeg. i tried playing g2d, it showed some static trash and freezed later. guess we need to go deeper |
20:37.43 | GNUtoo | ok |
20:48.45 | *** join/#openmoko-cdevel ege (~erik@2001:1620:f64:0:b51e:43e:62dd:8052) |
20:51.18 | nschle85-jenkins | Project shr-core-nokia900-shr-image build #57: SUCCESS in 31 min: http://norman-schleicher.de/jenkins/job/shr-core-nokia900-shr-image/57/ |
20:58.13 | Alex[sp3dev] | my other uneducated guess is that mplayer expects the camera to be a streaming device when in reality is must be mmaped |
20:58.48 | GNUtoo | what mplayer command did you run? |
20:58.59 | Alex[sp3dev] | mplayer tv:// -tv device=/dev/video1 |
21:00.07 | GNUtoo | hmm try to add some more params |
21:00.27 | GNUtoo | like for instance :driver=v4l2:height= etc... |
21:00.51 | Alex[sp3dev] | Device /dev/video1 is not a video capture device. |
21:01.02 | Alex[sp3dev] | that's what mplayer says |
21:02.37 | GNUtoo | mplayer -fs mplayer tv:// -tv device=/dev/v4l/video1:driver=v4l2:width=320:height=240 -fps 25 -fs ? |
21:03.19 | GNUtoo | morphis, do you know bootr? |
21:03.27 | morphis | GNUtoo: yes |
21:03.31 | GNUtoo | it seem that CONFIG_CMDLINE got ignored |
21:03.36 | Alex[sp3dev] | same stuff |
21:03.48 | GNUtoo | I'm trying to add some cmdline to the palm pre kernel |
21:03.54 | GNUtoo | Alex[sp3dev], ok |
21:04.00 | GNUtoo | and I failed |
21:04.17 | GNUtoo | morphis, I need that to debug the mplayer issue |
21:04.43 | morphis | GNUtoo: then install it |
21:04.47 | morphis | use the fso-installer |
21:04.52 | morphis | or do it manually |
21:04.55 | GNUtoo | install what? bootr is installed |
21:04.58 | morphis | ah ok |
21:05.07 | GNUtoo | but the problem is where do I hook the cmdline arguments |
21:05.14 | morphis | puuuh |
21:05.17 | GNUtoo | I grepped in /boot/ |
21:05.26 | GNUtoo | I need to add that: |
21:05.40 | morphis | it's somewhere in the kernel source |
21:05.40 | GNUtoo | lpj=2490368 boot_delay=500 |
21:05.47 | morphis | it gets the cmdline from bootr |
21:05.52 | morphis | ah |
21:05.58 | morphis | the palm bootloader |
21:05.58 | morphis | bootie |
21:06.24 | GNUtoo | yes but I need the kenrel that runs SHR to run that |
21:06.29 | GNUtoo | not when bootr boots |
21:06.33 | GNUtoo | because it reboots |
21:06.37 | GNUtoo | and the args are lost |
21:06.45 | GNUtoo | because I did add the args to bootie |
21:06.58 | GNUtoo | with setenv bootargs "the_old_args lpj=2490368 boot_delay=500" |
21:07.00 | GNUtoo | fsboot |
21:07.23 | DocScrutinizer | blog.o2.co.uk/home/2012/01/o2-mobile-numbers-and-web-browsing.html bwahahahaaa |
21:08.31 | morphis | bootr does a normal device reboot |
21:08.39 | morphis | so it's booting bootie |
21:08.44 | morphis | and then the kernel again |
21:08.54 | DocScrutinizer | PR in desaster mode at it's best, O2 exposing their abysmal policy about handling customer privacy rights |
21:08.57 | GNUtoo | yes but the boot arguments in bootie are not saved |
21:09.01 | GNUtoo | I didn't find a saveenv |
21:09.42 | DocScrutinizer | read the Q: of every A: again after reading the A: ^^^ ! |
21:10.00 | morphis | GNUtoo: you can't save them |
21:10.03 | morphis | no chance |
21:11.05 | GNUtoo | then I need to get rid of bootr at least for one boot |
21:11.24 | GNUtoo | and I can't use palm's kenrel I need to recompile it |
21:11.34 | GNUtoo | because they have some options for minimizing the traces on |
21:12.09 | Alex[sp3dev] | GNUtoo: what do you want? patch cmdline? |
21:12.36 | GNUtoo | yes |
21:12.36 | GNUtoo | on a 2.6.24 kernel |
21:12.53 | GNUtoo | CONFIG/CMDLINE didn't work |
21:13.02 | Alex[sp3dev] | since that's ancient kernel and the code is not going to be mainlined, i'd suggest hacking kernel/setup.c directly |
21:13.19 | GNUtoo | ok thanks a lot |
21:13.31 | nschle85-jenkins | Project shr-core-om-gta02-aurora-image build #16: SUCCESS in 22 min: http://norman-schleicher.de/jenkins/job/shr-core-om-gta02-aurora-image/16/ |
21:13.53 | Alex[sp3dev] | because forced cmdline appeared around 2.6.35. older kernels only use cmdline if no atags were supplied |
21:14.02 | GNUtoo | indeed |
21:14.38 | GNUtoo | kernel/setup.c doesn't exist |
21:14.51 | Alex[sp3dev] | arch/arm/kernel/setup.c |
21:14.55 | GNUtoo | ah ok |
21:14.57 | GNUtoo | sorry |
21:15.02 | Alex[sp3dev] | no problem |
21:17.42 | Alex[sp3dev] | on a side note, i think that's what fixup is for and you can patch atags there.. but for now, try hacking setup.c to see if it works at all |
21:22.37 | morphis | I am off for today |
21:22.37 | morphis | bye |
21:41.17 | Alex[sp3dev] | ok. looks like we'll have to write a new capture app or hack the drivers. seems that this mem2mem infrastructure does not support REQUEST_BUF stuff and we need different ioctls |
21:56.18 | *** join/#openmoko-cdevel ao2 (~ao2@2001:1418:117::1) |
21:56.48 | GNUtoo | mrmoku, hi |
21:58.14 | GNUtoo | can someone do me a VAPI |
22:13.25 | *** join/#openmoko-cdevel octavsly (~octavsly@195-241-111-6.ip.telfort.nl) |
22:17.24 | Alex[sp3dev] | ok. the conclusion for today is that even though we have v4l2 drivers, we cannot use them because they're using a new videobuf2 api and there is no userland software capable of using it |
22:17.56 | GNUtoo | lol ok |
22:18.13 | GNUtoo | there should be some userland program |
22:18.19 | GNUtoo | at least for testing the new API |
22:18.32 | Alex[sp3dev] | we should probably send a mail to v4l2 mailing list |
22:19.06 | GNUtoo | yes |
22:19.28 | GNUtoo | note that I've no galaxy SII but I may buy one later |
22:19.43 | GNUtoo | I want to finish some other ports before |
22:20.10 | GNUtoo | mrmoku, ping |
22:20.15 | Alex[sp3dev] | why do you want so many phones? it'd be better to finish at least one first. and moreover, except for second core, exynos4210 is almost a copy of s5pc110 and s5pv210 |
22:20.35 | GNUtoo | I don't want many phones |
22:20.47 | GNUtoo | I prefer indeed finishing the gta04 port |
22:20.50 | GNUtoo | and some other ports |
22:20.55 | GNUtoo | but once it's done.... |
22:20.57 | GNUtoo | I'll see |
22:21.22 | GNUtoo | and indeed I've quite an impressive list of phones |
22:22.42 | GNUtoo | hmmm mrmoku is not online |
22:22.45 | GNUtoo | too bad |
22:22.51 | GNUtoo | I hesitate to push.... |
22:22.56 | GNUtoo | because I've hardcoded values |
22:23.07 | GNUtoo | but it unblocks the gta04 rfkill plugin |
22:24.56 | Alex[sp3dev] | all this new videobuf2 api is nice (at least, it integrates with CMA and is a clean replacement to qcom's pmem) actually |
22:25.01 | GNUtoo | I'll push |
22:25.12 | GNUtoo | because http://valadoc.org/linux/Linux.RfKillType.html do not have the values |
22:25.19 | GNUtoo | ok |
22:28.05 | Alex[sp3dev] | videobuf2 was created mostly by one guy at samsung, it seems. http://lwn.net/Articles/415883/ |
22:28.11 | GNUtoo | ok |
22:28.20 | GNUtoo | will read after pushing |
22:29.17 | Alex[sp3dev] | basically, what i've found out is 1. we need to use _MPLANE buffers (multi-format planes) and 2. we cannot use QUERYBUF and REQBUF now. but maybe that's a matter of fixing fimc driver |
22:31.44 | CIA-77 | freesmartphone.org: 03GNUtoo 07cornucopia * r1f3b6f79de04 10/fsodeviced/src/plugins/kernel26_rfkill/plugin.vala: (log message trimmed) |
22:31.45 | CIA-77 | freesmartphone.org: fsodeviced: kernel26_rfkill: add ifconfig and power save support for wifi |
22:31.45 | CIA-77 | freesmartphone.org: The ifconfig and exec function were taken from the powercontrol_ifconfig |
22:31.45 | CIA-77 | freesmartphone.org: plugin. |
22:31.45 | CIA-77 | freesmartphone.org: Note that I used harcoded GPS and FM rfkill values because they |
22:31.45 | CIA-77 | freesmartphone.org: are not even in the upstream vala |
22:31.46 | CIA-77 | freesmartphone.org: ( http://valadoc.org/linux/Linux.RfKillType.html ) |
22:31.46 | CIA-77 | freesmartphone.org: 03GNUtoo 07cornucopia * r62e501cf95a2 10/fsodeviced/conf/GTA04/fsodeviced.conf: |
22:31.47 | CIA-77 | freesmartphone.org: fsodeviced: gta04 config: now that the rfkill plugin works on the GTA04, use it |
22:31.47 | CIA-77 | freesmartphone.org: Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> |
22:33.00 | GNUtoo | Alex[sp3dev], is there a compat option for using the normal API with that driver? |
22:33.16 | Alex[sp3dev] | GNUtoo: i highly doubt |
22:33.46 | *** join/#openmoko-cdevel ao2 (~ao2@2001:1418:117::1) |
22:33.53 | Alex[sp3dev] | on the other hand, there should be some code, maybe unpublished, to test it |
22:35.02 | GNUtoo | ahh it's new callbacks added |
22:35.31 | Alex[sp3dev] | maybe i'm just a little bit inattentive. looks like reqbufs are there.. need to read the whole mess of sources to figure out how this subdevice stuff is supposed to work |
22:35.48 | GNUtoo | ok |
22:35.55 | GNUtoo | subdevice == media controller ? |
22:36.02 | GNUtoo | because that's what I tought |
22:36.37 | Alex[sp3dev] | i think, these are closely related |
22:36.47 | GNUtoo | ok |
22:37.07 | GNUtoo | because there are tools for media controller btw |
22:37.15 | GNUtoo | they are hard to get right tough |
22:37.20 | Alex[sp3dev] | why |
22:37.29 | GNUtoo | syntax, unknown stuff etc... |
22:37.41 | GNUtoo | basically I had a hard time to make them work on n900 |
22:37.48 | GNUtoo | not at compile time |
22:37.51 | GNUtoo | but at runtime |
22:37.58 | GNUtoo | at the end I booted meego |
22:37.59 | Alex[sp3dev] | everything feels so obfuscated |
22:38.03 | GNUtoo | and extracted the config from there |
22:38.10 | GNUtoo | and replicated that |
22:39.12 | GNUtoo | ./media-ctl -r -l '"et8ek8":0 -> "OMAP3 ISP CCP2":0 [1], "OMAP3 ISP CCP2":1 -> "OMAP3 ISP CCDC":0 [1], "OMAP3 ISP CCDC":2 -> "OMAP3 ISP preview":0 [1], "OMAP3 ISP preview":1 -> "OMAP3 ISP resizer":0 [1], "OMAP3 ISP resizer":1 -> "OMAP3 ISP resizer output":0 [1]' |
22:39.18 | GNUtoo | ./media-ctl -f '"et8ek8":0 [SGRBG10_DPCM8 1296x984], "OMAP3 ISP CCP2":1 [SGRBG10 1296x984], "OMAP3 ISP CCDC":2 [SGRBG10 1296x983], "OMAP3 ISP preview":1 [UYVY 1278x975], "OMAP3 ISP resizer":1 [UYVY 800x480]' |
22:39.24 | GNUtoo | that was for making it work |
22:39.35 | Alex[sp3dev] | that's what i was thinking about |
22:39.36 | GNUtoo | and then |
22:39.37 | GNUtoo | mplayer -tv driver=v4l2:width=800:height=480:outfmt=uyvy:device=/dev/video6 -vo xv -vf screenshot tv:// |
22:40.00 | Alex[sp3dev] | probably we can even directly route camera to framebuffer, although that's not much useful |
22:40.10 | GNUtoo | indeed |
22:40.16 | GNUtoo | it has to work first to capture the route |
22:40.25 | GNUtoo | and here you have many many possible errors |
22:40.28 | GNUtoo | with unknown hardware |
22:40.43 | GNUtoo | but in the other hand there is the source code |
22:40.48 | GNUtoo | of the kernel drivers |
22:40.50 | GNUtoo | so.... |
22:40.56 | GNUtoo | if you're good enough it could be done |
22:44.28 | Alex[sp3dev] | hum.. if i understand it right, it should work if i simply set up fimc [camera] to stream to g2d or jpeg device [both of which can be mplayered] |
22:45.10 | Alex[sp3dev] | do you happen to have media-ctl binary? |
22:47.10 | *** join/#openmoko-cdevel GarthPS (~quassel@qrc29-1-82-245-206-103.fbx.proxad.net) |
22:55.09 | GNUtoo | no I don't |
22:55.13 | GNUtoo | I had long time ago |
22:55.18 | GNUtoo | but then I had an hdd crash |
22:55.40 | GNUtoo | but maybe I've it on an old rootfs |
22:55.43 | GNUtoo | I've to look |
23:12.48 | GNUtoo | Alex[sp3dev], yes that's also how I understand it |
23:14.56 | GNUtoo | no media-ctl sorry |
23:15.06 | GNUtoo | but maybe I can compile it real quick tomorrow |
23:20.17 | *** join/#openmoko-cdevel ao2 (~ao2@2001:1418:117::1) |
23:44.02 | pabs3 | DocScrutinizer: bring on the osmocom-powered volunteer run GSM networks |
23:44.15 | pabs3 | s/GSM/LTE/ |
23:54.02 | lindi-_ | hrm, openocd really annoys me |
23:58.44 | *** join/#openmoko-cdevel nslu2-log (~nslu2-log@limax.nslu2-linux.org) |
23:58.44 | *** join/#openmoko-cdevel ChanServ (ChanServ@services.) |
23:58.44 | *** mode/#openmoko-cdevel [+o ChanServ] by pratchett.freenode.net |