IRC log for #maemo-ssu on 20130909

02:11.24*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
03:09.36*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
05:11.03*** join/#maemo-ssu unclouded (~neil@2001:4428:200:80fc:31ae:c589:c2aa:4bf6)
05:25.42*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
06:15.56*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
06:49.33*** join/#maemo-ssu DrCode (~DrCode@gateway/tor-sasl/drcode)
07:05.54*** join/#maemo-ssu dhbiker (~dhbiker@95.87.145.172)
07:15.15*** join/#maemo-ssu luf (~luf@80.188.29.62)
07:15.23*** join/#maemo-ssu Woody14619a (~Woody@66-162-186-66.static.twtelecom.net)
07:15.24*** join/#maemo-ssu Woody14619a (~Woody@Maemo/community/contributor/Woody14619)
07:19.05*** join/#maemo-ssu lrtz (~lartza@IP-62-216-127-116.telemail.fi)
07:21.25*** join/#maemo-ssu DrCode (~DrCode@gateway/tor-sasl/drcode)
07:27.07*** join/#maemo-ssu sunny_s (~sunny_s@business-092-079-020-027.static.arcor-ip.net)
07:27.24*** join/#maemo-ssu LauRoman (~LauRoman@5-14-93-219.residential.rdsnet.ro)
07:43.52*** join/#maemo-ssu sunny_s (~sunny_s@business-092-079-020-027.static.arcor-ip.net)
08:22.12*** join/#maemo-ssu Pali (~pali@Maemo/community/contributor/Pali)
08:26.22*** join/#maemo-ssu sailus (~sailus@valkosipuli.retiisi.org.uk)
09:20.24*** join/#maemo-ssu Woody14619b (~Woody@66-162-186-66.static.twtelecom.net)
09:22.25*** join/#maemo-ssu dafox (~dafox@ip51cc571d.speed.planet.nl)
10:00.10*** join/#maemo-ssu gouverneur (~chemist@svn.unix-ag.uni-kl.de)
10:34.36*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-37-188-231-140.eurotel.cz)
11:02.24*** join/#maemo-ssu BCMM (~user@unaffiliated/bcmm)
11:51.59*** join/#maemo-ssu jon_y_ (~enforcer@2002:af8e:4df8::af8e:4df8)
12:23.06*** join/#maemo-ssu X-Fade (~xfade@d5152FFD8.static.telenet.be)
13:06.40*** join/#maemo-ssu arcean (~arcean@aacs183.neoplus.adsl.tpnet.pl)
13:59.18*** join/#maemo-ssu BCMM (~user@unaffiliated/bcmm)
14:36.02*** join/#maemo-ssu BCMM (~user@unaffiliated/bcmm)
15:32.01*** join/#maemo-ssu bsdmaniak (~bsdmaniak@std93-20-88-120-139-80.fbx.proxad.net)
15:44.22freemangordonPali: http://comments.gmane.org/gmane.linux.ports.arm.omap/91664 :)
15:45.05freemangordonPali: why this is not in our tree?
15:47.27Palifreemangordon: maybe because my tree is based on 3.10?
15:47.40Paliand that patch was not in 3.10?
15:48.40freemangordonPali: makes no sense http://lxr.free-electrons.com/source/arch/arm/mach-omap2/cclock3xxx_data.c#L423
15:49.18Palilook: Selected Version: 3.11
15:49.24freemangordonI know
15:49.51Paliand also I wrote that I reverted some patches
15:49.56freemangordonmaybe I am missing something, but why it is in 3.8, 3.11 and not in 3.10?
15:50.03Palilook at git, maybe it is not this reverted?
15:50.13freemangordonhmm, ok
15:50.22freemangordonmaybe I did not revert your revert
15:51.13Paliwhen I have time I will rebase patches on top of 3.11
15:52.29freemangordonno "simplify clock" patch
15:53.04freemangordonok, I'll appply that and and the same for 3430 as is for 3630
15:53.26freemangordons/and and/and add/
15:57.39freemangordonPali: something is broken in our tree, this http://www.spinics.net/lists/linux-media/msg58441.html patch is there, but it is a followup to the previous one. weird
15:58.30freemangordonor not, I am confused
15:58.42Palilook at all commits with subject revert
15:58.50Palimaybe there is problem
15:59.09freemangordonalready did, nothing there
15:59.48*** join/#maemo-ssu dos1 (~dos@unaffiliated/dos1)
16:00.12PaliRevert "omap3isp: Set cam_mclk rate directly"
16:00.20PaliRevert "[media] omap3isp: Use the common clock framework"
16:00.26Palifreemangordon ^^^^ really nothing?
16:00.31freemangordonboth are reverted
16:00.37freemangordonbuth nothing more
16:00.44Paliand so whre is problem?
16:00.49freemangordonI mean, I reverted your reverts
16:01.03Paliso, then you have orignal isp code
16:01.24freemangordonno, see http://www.spinics.net/lists/linux-media/msg58440.html
16:01.46freemangordonomap3isp: Set cam_mclk rate directly is third in series
16:01.52freemangordonOMAP3 ISP: Simplify clock usage is the first
16:01.58freemangordonbut we don;t have it
16:02.02freemangordonin our tree
16:02.37freemangordonPali: ok, isp code is the original, but the patch for cclock3xxx_data.c is missing
16:02.48freemangordonI can;t say it more clearer :D
16:02.56Paliyes, that patch from last url is not in linus tree
16:03.06freemangordon:nod:
16:03.17Paliso updating to 3.11 does not help
16:03.22freemangordonwhich is weir, they somehow have missed it
16:03.30Palimaybe you should apply that patch
16:03.32Paliand test it
16:03.36freemangordonPali: but it IS in 3.11
16:03.51Palithat patch?
16:04.00Palican you give me sha id?
16:04.46Paliah, right it is in linus tree :-)
16:04.51Pali7b2e1277598e4187c9be3e61fd9b0f0423f97986
16:04.58freemangordon:)
16:05.11freemangordonso, why it is not in our tree?
16:05.22Paliits funny that after this commit it there one with date "Fri Dec 21 09:28:10 2012 -0700"
16:06.01Palifreemangordon, that patch is also in v3.10-n900 tree
16:06.02*** join/#maemo-ssu lizardo (lizardo@nat/indt/x-rhmtecpjxegheqkt)
16:06.17Paliat least git log say that
16:06.42Palirather I should set git log to show commiter date and not author date :D
16:07.07freemangordonPali: search for CLK_SET_RATE_PARENT in cclock3xxx_data.c , you'll find nothing
16:07.25freemangordonI don;t know about the patch, but the code is missing
16:07.39Paliauthor dates does not have linear order
16:08.38Pali$ git cat-file -p v3.10-n900:arch/arm/mach-omap2/cclock3xxx_data.c | grep CLK_SET_RATE_PARENT
16:08.45Pali<PROTECTED>
16:08.51freemangordonWTF?
16:08.53Palifreemangordon, see ^^^
16:08.59freemangordonyeah, see
16:09.25freemangordon[sbox-FREMANTLE_ARMEL_GCC472: ~/workspace/linux-upstream/freemangordons-linux-n900] > git branch
16:09.27freemangordonmaster
16:09.29freemangordon* v3.10-n900
16:10.10Palifreemangordon: git pull git@gitorious.org:linux-n900/linux-n900.git v3.10-n900
16:10.23Palito be sure you have last code
16:10.45freemangordonPali: I cloned the code on gitorious 2 days ago
16:10.48Pali$ git rev-parse HEAD
16:10.48Pali3b5cbd914400cb608c1e9fa3083dd13c63aec90f
16:10.53freemangordonbut ok, will add you as upstream
16:11.08Palirecheck HEAD
16:11.49freemangordonoh, shit
16:12.02freemangordonRevert "ARM: OMAP3: clock: Back-propagate rate change from cam_mclk to dpll4_m5"
16:12.33Paliso problem found?
16:12.39freemangordonSeems I reverted a commit I shouldn;t
16:12.42freemangordonyep
16:12.51Palirevert/reset commit
16:13.14freemangordonI will revert
16:54.23*** join/#maemo-ssu arcean_ (~arcean@aaer186.neoplus.adsl.tpnet.pl)
16:55.46*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
17:08.52*** join/#maemo-ssu _ade_ (~arno@5ED6BB86.cm-7-7c.dynamic.ziggo.nl)
17:09.33_ade_Pali: seen http://talk.maemo.org/showpost.php?p=1372996&postcount=240 ?
17:15.33Paliyes
17:15.45Paliand thinking what to do
17:16.33_ade_okay, thought you might have missed it
17:17.06freemangordonPali: BTW, almost ther. For the front camera :), back camera will be hardest job to move to clock framework, but I think I'll manage to do it
17:20.24*** join/#maemo-ssu NIN101 (~NIN@p5DD29FBE.dip0.t-ipconnect.de)
17:30.01DocScrutinizer05honestly isn't there a partially bearable GUI interface to all that git stuff?
17:30.16freemangordongit-gui
17:30.25freemangordonand gitk
17:30.42DocScrutinizer05it always feels to me like writing documents with raw TeX
17:31.12DocScrutinizer05or renaming files with a diskeditor
17:31.21freemangordonnaah, git is fine
17:31.32DocScrutinizer05freemangordon: thanks, will check them
17:31.53DocScrutinizer057b2e1277598e4187c9be3e61fd9b0f0423f97986 isn't fine in my world
17:31.56freemangordonDocScrutinizer05: you may want to install meld as well
17:32.05gregoaprefers tig over gitk. but less GUI-ish :)
17:32.06freemangordonoh, it is, it is commit sha id
17:32.40DocScrutinizer05yeah, and I write my letters in hex ascii
17:33.29freemangordon:D
17:33.56freemangordongregoa: gitk was the first gui I found, not that it is that good :D
17:34.11gregoa:)
17:34.54gregoathere's also gitg, similar to gitk
17:35.41DocScrutinizer05well, at least gitk is already installed on my box
17:36.20DocScrutinizer05and it already looks much more tangible than all that git cmdline stuff
17:36.40DocScrutinizer05even  while it doesn't take cmdline options like --help ;-P
17:37.56DocScrutinizer05wow, seems actually somewhat usable
17:38.15freemangordonDocScrutinizer05: git-gui is even better
17:38.23freemangordonI use it to commit/push
17:38.37DocScrutinizer05in 1.0s I can do 5 mousclicks and get 50* more info than via cmdline in a minute
17:41.40DocScrutinizer05UH! gitk has a menu entry "start git gui"
17:42.09freemangordonand git-gui has an entry "start gitk" :D
17:42.18freemangordonit is named show history or something
17:42.43dos1yeah, those two are not a competition - they supplement each other
17:44.16DocScrutinizer05WOOOOOW with annotiations for every simgle line "who, when, what, why"
17:44.55dos1and those are built-in gui tools! :P
17:49.24keriodarcs > git
17:51.26*** join/#maemo-ssu NIN101 (~NIN@p5DD29FBE.dip0.t-ipconnect.de)
17:57.10DocScrutinizer05maybe I shouldn't have started with gnuradio ;-P
17:59.02DocScrutinizer05hmm, only 6303 err commits? Kernel would be worse I'd bet :-)
18:03.33Palifreemangordon: so is front camera working?
18:04.02freemangordonPali: no, I still cannot figure out the clock names I have to use :(
18:05.10Palifreemangordon: maybe "dpll4_m5_ck"
18:05.22freemangordonPali: see http://lxr.free-electrons.com/source/drivers/media/platform/omap3isp/isp.c#L280
18:05.50Paliso "cam_xclk"
18:06.02freemangordonPali: I guess it should be cam_xclka, but I get "smiapp 2-0010: could not get clock cam_xclka"
18:06.19freemangordonPali: look at the code, that structure is never used. bug?
18:06.57freemangordonPali: in isp_xclk_init two clocks should be registered
18:07.24freemangordonwith cam_mclk as parent clock
18:16.05*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-89-177-124-88.net.upcbroadband.cz)
18:39.57dos1DocScrutinizer05: (about maemo.org/intro/) done; looking at share service now
18:40.02dos1http://maemo.cloud-7.de/share-service/20120812_002.jpg - I'm envy :P
18:41.59dos1board photos imported :)
18:43.29PaliNürnberg logo :D
18:57.59*** join/#maemo-ssu dhbiker (~dhbiker@95.87.145.172)
19:11.15DocScrutinizer05well, I actually thought about yesterday's photos about metering the N900 board, not my rather unrelated nonsense ;-P
19:12.26dos1DocScrutinizer05: don't worry, added only yesterday's photos :P
19:13.05dos1wants GTA01, for no particular reason - just for feeling cool with owning it
19:13.23DocScrutinizer05though this one is nice. http://maemo.cloud-7.de/share-service/20120509_001.jpg An example of what inspired my take on how to build hardware
19:18.23DocScrutinizer05the awesome "we're eco, we don't print papers" paper: http://maemo.cloud-7.de/share-service/20130408_002.jpg
19:21.07dos1:D
19:22.42DocScrutinizer05this is an *awesome* design, might be me who had designed it ;-) They use a red led as ambient light sensor
19:23.14DocScrutinizer05http://maemo.cloud-7.de/share-service/20130804_004.jpg
19:23.57dos1what's that?
19:27.16*** join/#maemo-ssu xes (~xes@unaffiliated/xes)
19:32.19DocScrutinizer05the "ticket" alias batch for Chaos Communication Camp
19:32.46DocScrutinizer05http://r0ket.badge.events.ccc.de/hardware
19:34.31DocScrutinizer05They use LED3 as photodiode when it doesn't need to shine red
19:34.53DocScrutinizer05genius
19:35.45raccoon_oh yeah the r0ket is awesome
19:36.20DocScrutinizer05particularly the grid they created with the radios
19:36.58dos1nice!
19:37.15DocScrutinizer05what it lacks is an actor, mini piezo or sth
20:14.33*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
20:21.30*** join/#maemo-ssu ilon (~ilon@keytrace.se)
20:40.09dos1DocScrutinizer05: replacement for Nokia logo at boot time :D https://www.youtube.com/watch?v=-lJzDxXSALs
20:41.41*** join/#maemo-ssu LauRoman (~LauRoman@5-14-93-219.residential.rdsnet.ro)
20:45.25freemangordonPali: hmm, the current isp lacks some stuff imo
20:45.54freemangordonI just can;t make it work with the way rx51 cameras are connected
20:47.03freemangordonwe need acmelite gpio to mux between front/back camera, but smiapp takes ownership
20:51.29Palifreemangordon: and can you make at least front webcam work?
20:51.55freemangordonPali: the problem is those changes in 3.10
20:52.41Paliso need to revert them?
20:52.53Palior what is needed for front webcam support?
20:53.29freemangordonok, lemme try to explain:
20:54.10freemangordonacmelite gpio has dual functionality - as reset of acmelite(frontcam) and as switch between front and back camera
20:55.30Paliok, so if you not touch back camera, then front webcam can work?
20:55.44freemangordonnow I fixed board code to use isp clock frameworks, but it seems front camera is not switched on, as smiapp holds the gpio. I get -121 on reset
20:57.57freemangordonPali: maybe I can hack board code and get front camera working, but what is the point if back camera does not work
20:58.33freemangordonand et8ek8 driver is not compatible with the latest changes to ISP driver
20:58.42Palifreemangordon: you can unset gpio from smiapp board data
20:58.56freemangordondon;t help
20:59.08freemangordonas the camera is still switched off
20:59.26freemangordonPali: you mean SMIAPP_NO_XSHUTDOWN?
20:59.28Paliyou can set gpio from clk function, dont you?
20:59.35Palifreemangordon: yes
20:59.52freemangordonno, that is the catch, I can't use clk function
21:00.19freemangordonbecause there is no more platform_cb.set_xclk
21:00.41freemangordonand I don;t have access to ISP (actually camera) clocks
21:01.19Paliand how you replaced call to platform_cb.set_xclk?
21:01.23freemangordonset_xclk function was removed
21:01.37Paliand it is not needed?
21:01.44freemangordonI just set board data, ISP/smiapp take care of the clocks
21:01.52Paliah, ok
21:02.06freemangordonBUT
21:02.19Paliand problem is that smiapp cannot start camera?
21:02.30Paliproblem with gpio?
21:02.31*** join/#maemo-ssu mkaindl (~mkaindl@ama-dablam.markus-kaindl.de)
21:03.02freemangordonit is a mess, because et8ek8 does not support clk control, it expects set_xclk to be non-NULL in platform data
21:03.07*** part/#maemo-ssu mkaindl (~mkaindl@ama-dablam.markus-kaindl.de)
21:03.34Paliyes, et8ek8 is not ported to new code - so not working...
21:04.02Paliso this is why I suggested to try at least fix smiapp front webcam
21:04.18freemangordonI know
21:04.30freemangordonnow understand it even better :D
21:05.42freemangordonPali: hmm, maybe I can hack rx51_acmelite_init to start with front camera
21:05.50freemangordonlemme try
21:05.53Paliok
21:06.32*** join/#maemo-ssu mkaindl (~mkaindl@ama-dablam.markus-kaindl.de)
21:09.59freemangordonhmm, I'd better find a way to control the clocks :(
21:13.06*** join/#maemo-ssu MohammadAG (~MohammadA@Maemo/community/contributor/MohammadAG)
21:22.14*** join/#maemo-ssu sixwheeledbeast (~paul@cl-1547.lon-02.gb.sixxs.net)
21:22.23Palifreemangordon: btw, where did you get info about rx51 thumb errata and PPA smc instruction API?
21:25.04freemangordonPali: thumb errata is in lkml for exmple
21:25.23PaliI mean smc PPA api
21:25.43freemangordonit is in TRM, hoever a bit vague
21:25.58freemangordonalso I looked in the kernel
21:26.30Paliok
21:26.32freemangordonthere is a L2 disable PPA API call in 2.6.28
21:26.45freemangordonwhich uses smc 1
21:27.24freemangordonPali: I think to tweak smiapp_platform_data and add xshutdown callback
21:27.48Paliok, do what is needed
21:27.52freemangordonok
21:38.38*** join/#maemo-ssu DrCode (~DrCode@gateway/tor-sasl/drcode)
22:07.11*** part/#maemo-ssu sixwheeledbeast (~paul@cl-1547.lon-02.gb.sixxs.net)
22:18.19freemangordonPali: ok, some sucess: green sqare :D
22:18.24freemangordonsuccess*
22:18.47freemangordonbut still this is success as it is with the new framework
22:18.50Paliand what is difference? still green screen?
22:19.01freemangordonbut:
22:19.03freemangordonJan  1 10:40:20 Nokia-N900 kernel: [  232.874145] omap3isp omap3isp: unexpected cam_mclk rate:
22:19.05freemangordonJan  1 10:40:20 Nokia-N900 kernel: [  232.874145]  expected : 172800000
22:19.07freemangordonJan  1 10:40:20 Nokia-N900 kernel: [  232.874145]  actual   : 288000000
22:19.15freemangordonyes, still green
22:19.52freemangordonbut seems the "green" problem is with this wrong pll frequency
22:20.07Palimaybe you can try to change it
22:20.19Palilook at harmattan board code
22:20.33freemangordonPali: this seems like a bug
22:20.37freemangordonbecause:
22:20.59freemangordonrate = clk_get_rate(isp->clock[ISP_CLK_CAM_MCLK]);
22:21.01freemangordonif (rate != CM_CAM_MCLK_HZ)
22:21.03freemangordondev_warn(isp->dev, "unexpected cam_mclk rate:\n"
22:21.32freemangordonfew lines above there is clk_set_rate(isp->clock[ISP_CLK_CAM_MCLK], CM_CAM_MCLK_HZ);
23:36.56*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-89-177-124-88.net.upcbroadband.cz)
23:48.39*** join/#maemo-ssu dos11 (~dos@unaffiliated/dos1)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.