**** BEGIN LOGGING AT Sat Jul 14 02:59:59 2012 Jul 14 08:34:31 <[Rui]> heya Jul 14 08:35:35 <[Rui]> I'm having a few problems trying to boot the current shr image, I added the following to append-GTA02 in hopes it would help but... not really... glamo_mci.sd_max_clk=500000 glamo_mci.sd_drive=3 Jul 14 08:36:01 <[Rui]> it always hangs with mmcblk0 error -16 requesting status Jul 14 08:36:19 <[Rui]> this sd card had a previous image from january I think Jul 14 08:38:49 <[Rui]> I also tried the aurora image, but all I had was a white screen Jul 14 08:40:32 <[Rui]> with glamo_mci.sd_max_clk=1000000 it looks even worse Jul 14 13:39:24 GNUtoo-desktop: ping Jul 14 13:39:30 pong Jul 14 13:41:42 just read your mail Jul 14 13:41:50 you got any further with the camera Jul 14 13:42:11 look in #replicant.... Jul 14 13:42:31 ah Jul 14 13:54:32 freesmartphone.org: 03morphis 07utilities * ra8dd68fe306b 10/android/brcm_patchram_plus/ (11 files in 2 dirs): android: add brcm_patchram_plus utilitiy need to initialize bluetooth Jul 14 14:00:57 freesmartphone.org: 03morphis 07utilities * r69371f6ecc82 10/android/brcm_patchram_plus/configure.ac: android: brcm_patchram_plus: bump version to 4.1.1 as it's from this android version Jul 14 19:32:22 Could i please have a trac account? this is getting very old... fast. Jul 14 19:35:35 nully: hm? Jul 14 19:36:21 shr-project.ort.. accounts are by request only... ive been asking for almost a week now. Jul 14 19:36:40 aaah shr Jul 14 19:37:08 no idea who's managing that Jul 14 19:37:15 no one does Jul 14 19:37:37 mrmoku: should know for sure Jul 14 19:37:39 ... and this is why the registration should not have been disabled. IMHO. Jul 14 19:38:13 Bad spammers were too bad... Jul 14 19:38:16 o/ PaulFertser Jul 14 19:38:21 hey :) Jul 14 19:39:00 * DocScrutinizer05 wonders if yawning can be fatal in itself Jul 14 19:40:14 anyways: account plz&thx. Jul 14 19:41:29 nully: are you always here, how to contact you? Jul 14 19:41:32 anyways nfc/bye Jul 14 19:41:45 DocScrutinizer05: good night! Jul 14 20:08:38 nully: JaMa and mrmoko (and others?) have trac admins access Jul 14 20:11:16 PaulFertser: Always here, and on the mailing list. Thanks for caring :) Jul 14 20:11:51 jake42: Yeah... But no response sooooooooo I complain in public spaces. Jul 14 20:12:15 Maybe we need more people with trac admin access? Jul 14 20:12:33 nully: yes, that would be a good start Jul 14 20:14:02 A trac plugin is them answer... Im willing to look at it, but im on the road this weekend... But it seems like it must be written... as the alternitive is not working. Jul 14 20:14:20 s/them/the\ Jul 14 20:15:24 a few days sooner or later don't matter Jul 14 20:15:56 Never know :) there could be confused users who dont irc that no one knows about :) Jul 14 20:16:14 shr is really slow going atm Jul 14 20:16:30 what devices are you using with shr? Jul 14 20:16:32 btw Jul 14 20:17:21 2 gta01s a n900 and any other phone that walks into our freegeek that might work. Jul 14 20:18:14 is a recent shr version running on gta01? Jul 14 20:22:49 One of them, yes :) But i didnt do much testing past placing a call... this was about 8 months ago... the other still runs an older version. Jul 14 20:24:21 I'm already amazed it's running at all :) Jul 14 20:25:20 SHR is good stuff :) Jul 14 20:26:12 we need more devs though Jul 14 20:27:08 Build it, and they will come. (so they tell me) Jul 14 20:28:49 they're probably right Jul 14 20:29:14 first shr needs to get more stable, then we'll see Jul 14 20:30:35 One step at a time. Jul 14 20:30:45 morphis is doing good work on fso Jul 14 20:30:59 Im on the get a trac wiki account sep =P Jul 14 20:31:32 s/sep/step/ Jul 14 20:31:33 nully meant: Im on the get a trac wiki account step =P Jul 14 20:32:18 not until recently I tried to stop spam by getting some bearstech admin to enable some antispam trac plugins Jul 14 20:33:04 hmmm I don't know who's admin.... Jul 14 20:33:08 they didn't help much and it was decided to turn the registration off Jul 14 20:33:35 ya... thoes confused me when i was doing research... they seem to not offer any traditional methods for anti spam :/ Jul 14 20:34:40 which is really confusing – yes Jul 14 20:35:00 * nully is still confuzzled about trac not supporting such basic ideas. Jul 14 20:35:26 Iz okay: thats why we use free software. Jul 14 20:35:39 we should switch to redmine or something ;) Jul 14 20:36:01 Trac is okay... I love the doxygen plugin.OM Jul 14 20:37:20 Anyways i gotta run... Ill be here, awaiting an account :) Jul 14 20:37:41 Thanks for your help jake42 i appreciate it. Jul 14 20:37:45 yw Jul 14 20:37:51 just be patient :) Jul 14 20:38:15 I'm not admin I think Jul 14 20:38:20 so I cannot add accounts Jul 14 20:38:36 mrmoku, is gone for good it seems Jul 14 20:38:43 maybe JaMa has admin Jul 14 20:38:49 but he's not on IRC Jul 14 20:42:12 patients is a virtue :) this is my first response to my request :) Jul 14 21:04:16 GNUtoo-desktop: hello, i have a short question: is the mali 400 GPU fully supported by open source drivers ? (including 2d/3d accell) ? Jul 14 21:04:57 GNUtoo-desktop: or in other words, do i need properiatry drivers for mali 400 ? Jul 14 21:07:03 nschle85, I don't think it's fully supported but there is a project for reverse engineering it, you should look at the status Jul 14 21:07:21 last time I looked they were still in the reversing phase Jul 14 21:07:36 that is to say no free driver was written but only test-cases Jul 14 21:08:05 https://gitorious.org/lima Jul 14 21:09:06 GNUtoo-desktop: ok thank you Jul 14 21:09:17 nschle85, it's unclear if I should continue to spend time on the n900 or not.... Jul 14 21:10:41 GNUtoo-desktop: are your changes available upstream ? Jul 14 21:11:18 yes of course Jul 14 21:11:24 they are fully pushed in branches Jul 14 21:11:35 but since JaMa doesn't care about telephony Jul 14 21:11:45 and that you don't seem to care anymore about n900.... Jul 14 21:12:36 btw here's a summ-up of all reverse enginering project for embedded graphics drivers: Jul 14 21:12:39 GNUtoo-desktop: makes it sense to merge your changes upstream ? Jul 14 21:12:41 http://www.phoronix.com/scan.php?page=news_item&px=MTE0MDA Jul 14 21:12:46 no Jul 14 21:12:50 it's not ready yet Jul 14 21:13:04 there is no mic handling Jul 14 21:13:13 that is to say the remote can't ear you Jul 14 21:14:54 GNUtoo-desktop: is it possible to fix mic handling and merge that result and fix audio forwarder based on your merged results ? Jul 14 21:15:50 yes of course it's possible Jul 14 21:15:55 someone just have to do it Jul 14 21:16:10 GNUtoo-desktop: or do you mean mic handling is missing in audio forwarder ? or scenarios ? Jul 14 21:16:24 I don't record any sound Jul 14 21:16:27 so it can't work Jul 14 21:16:37 if I add code for recording sound Jul 14 21:16:41 it would probably work Jul 14 21:17:22 oops sorry Jul 14 21:17:24 wrong window Jul 14 21:19:32 GNUtoo-desktop: you are talking about audio forwarder ? Jul 14 21:19:42 yes Jul 14 21:19:54 n900 audio forwarder Jul 14 21:21:03 but why not merge and let implement recording audio implement later ? Jul 14 21:21:40 first it can't even work the way you want Jul 14 21:21:45 it depend on beeing realtime Jul 14 21:21:56 and that must be added in the fsoaudiod service Jul 14 21:22:03 *service file from systemd Jul 14 21:22:42 GNUtoo-desktop: ?? pardon ? Jul 14 21:23:15 the code needs to be able to run realtime Jul 14 21:23:22 systemd prevent that Jul 14 21:23:31 unless you disable in a config file Jul 14 21:23:45 or permit it in the .service file for fsoaudiod Jul 14 21:24:37 GNUtoo-desktop: i dont understand ? why realtime ?? is it polling something ? Jul 14 21:24:44 yes Jul 14 21:24:57 else it's too late Jul 14 21:25:01 and it loose buffers Jul 14 21:25:37 GNUtoo-desktop: is there no possibility of async io ? Jul 14 21:26:43 GNUtoo-desktop: thats ther reason why i wanted to get warm with huawei 177 and async io programming in vala Jul 14 21:27:55 I tried async vala stuff first Jul 14 21:28:02 it didn't work Jul 14 21:28:21 the only way was to use the same way than the pulse plugin Jul 14 21:28:34 GNUtoo-desktop: how is the ofono stuff implmented ? its also polling ? Jul 14 21:29:00 I just copied what the pulseaudio plugin did Jul 14 21:29:20 maybe look at the code Jul 14 21:30:08 http://git.freesmartphone.org/?p=cornucopia.git;a=blob;f=fsoaudiod/src/plugins/gsmvoice_alsa_cmtspeechdata/cmthandler.vala;h=943fdaae88b65d726a22837f126d753805dfdbfc;hb=870f94138f97223ec06eca67b06ad58a4a87d066#l133 Jul 14 21:37:33 GNUtoo-desktop: wow its really polling Jul 14 21:39:10 GNUtoo-desktop: polling may have some advantages in general: the polling device cannot be overdriven by async events... Jul 14 21:39:34 it's the only way that works Jul 14 21:39:42 and note that epoll is rather efficent Jul 14 21:39:51 despite of its name Jul 14 21:40:20 what kind of file is the fds ? Jul 14 21:42:16 freesmartphone.org: 03GNUtoo 07cornucopia * r058d37d54095 10/fsodeviced/conf/nokia_n900/alsa-default/ (headset stereoout): (log message trimmed) Jul 14 21:42:16 freesmartphone.org: fsodeviced: fix the nokia N900 stereoout and headset scenarios. Jul 14 21:42:16 freesmartphone.org: Without that fix fsodeviced will refuses to start and fails with that message: Jul 14 21:42:16 freesmartphone.org: fsodeviced: control.c:1680: snd_ctl_elem_list_get_id: Assertion `idx < obj->used' failed. Jul 14 21:42:17 freesmartphone.org: That is because the 'Media Volume' control is not a hardware control but a software one Jul 14 21:42:17 freesmartphone.org: (created by /etc/asound.conf): it appears only after playing some sound. Jul 14 21:42:18 freesmartphone.org: And so when fsodeviced starts no sound has been played yet, so it's not there, Jul 14 21:42:39 nschle85, file descriptors Jul 14 21:42:57 GNUtoo-desktop: i know but what is behind it ? Jul 14 21:43:19 the kernel Jul 14 21:43:41 GNUtoo-desktop: its a serial device ? Jul 14 21:43:46 https://en.wikipedia.org/wiki/File_descriptor Jul 14 21:44:04 it's a number Jul 14 21:44:09 like 0,1,2,3,4,... Jul 14 21:47:25 GNUtoo-desktop: a select on this file descriptor does not work ? Jul 14 21:48:15 I don't remember Jul 14 21:48:34 anyway pulseaudio does poll Jul 14 21:48:37 so we do poll Jul 14 21:48:44 unless you want something not working well Jul 14 21:48:55 and in fact it's rt_poll Jul 14 21:49:12 GNUtoo-desktop: no if select works we should use select Jul 14 21:49:20 why? Jul 14 21:49:42 GNUtoo-desktop: you cannot miss any buffer Jul 14 21:49:55 yes Jul 14 21:50:13 and why can I miss buffers with rtpoll? Jul 14 21:51:15 GNUtoo-desktop: hmm... you are polling Jul 14 21:52:39 it's epoll Jul 14 21:52:41 GNUtoo-desktop: if you use select you have to implement some logic not do overdrive the phone with audio stuff but Jul 14 21:53:18 wikipedia says: Jul 14 21:53:19 epoll is a scalable I/O event notification mechanism for Linux Jul 14 21:53:31 https://en.wikipedia.org/wiki/Epoll Jul 14 21:53:47 forget about its name Jul 14 21:53:52 just look at the article Jul 14 21:54:06 POLL(2) Linux Programmer's Manual POLL(2) NAME Jul 14 21:54:07 poll, ppoll - wait for some event on a file descriptor Jul 14 21:54:19 poll is not "polling" Jul 14 21:54:22 indeed Jul 14 21:54:29 that's what I am trying to explain to him Jul 14 21:54:36 poll() is a wait on multiple events Jul 14 21:54:38 you get notified by the kernel Jul 14 21:55:18 SEE ALSO Jul 14 21:55:20 select(2), select_tut(2), time(7) Jul 14 21:55:52 GNUtoo-desktop: is the ofono code using epoll ? Jul 14 21:56:26 nschle85, it's not ofono, the *pulseaudio plugin* uses rt_poll from pulseaudio wich put the poll in realtime Jul 14 21:56:55 DESCRIPTION Jul 14 21:56:56 poll() performs a similar task to select(2): it waits for one of a set of file descriptors to become ready to perform I/O. Jul 14 21:57:24 ah I used poll instead of epoll it seems Jul 14 21:57:29 anyway.... Jul 14 21:57:47 I guess it's ok the same Jul 14 22:01:06 GNUtoo-desktop: sure ? Jul 14 22:01:20 epoll has better performance Jul 14 22:01:26 but I don't monitor that much fds Jul 14 22:02:24 ah I've buffer underruns because of the high CPU usage.... Jul 14 22:04:03 GNUtoo-desktop: DocScrutinizer05: hmm i am confused. what is the solution using select(epoll) ? Jul 14 22:04:43 solution for what? Jul 14 22:05:04 DocScrutinizer05: missing buffers Jul 14 22:05:30 both select() and poll() wait for one of several async system calls "returning" Jul 14 22:05:51 I don't know of any missing buffers Jul 14 22:06:49 nschle85: the point is: for mic->modem you need to use modem as clock-source Jul 14 22:07:16 and this clock-source is via special timing adjust messages the modem sends Jul 14 22:07:33 I'm not there yet Jul 14 22:07:37 I'm modem->alsa Jul 14 22:07:41 *I'm at Jul 14 22:08:01 this should be pretty straightforward task Jul 14 22:08:07 yes Jul 14 22:08:17 if done correctly tough Jul 14 22:08:43 well, probably vala doesn't help to do it correctly Jul 14 22:08:51 GNUtoo-desktop: not sure it helps, but there is a epoll patch "Prevent creating circular epoll structures" that isn't in n900 kernel. Jul 14 22:09:19 ok Jul 14 22:09:29 DocScrutinizer05, indeed Jul 14 22:10:06 DocScrutinizer05, in what use cases epoll is more performant? Jul 14 22:11:36 GNUtoo-desktop: did you see "tlv320aic3x: Fix codec pll configure bug" patch? Jul 14 22:11:44 no Jul 14 22:12:42 GNUtoo-desktop: http://davinci-linux-open-source.1494791.n2.nabble.com/PATCH-V3-1-1-ASoC-tlv320aic3x-Fix-codec-pll-configure-bug-td7580116.html (look for patch v1-v2, too) Jul 14 22:13:00 might be relatet to audio issues. Jul 14 22:13:40 ok Jul 14 22:13:44 but audio wokrs fine Jul 14 22:14:06 the problem is the modem<->alsa forwarder Jul 14 22:14:10 and the modem is cmt_speech Jul 14 22:14:28 and that epoll thing http://lkml.org/lkml/2011/2/12/108 Jul 14 22:14:36 ok Jul 14 22:15:11 was all i had to say. good night. Jul 14 22:16:05 GNUtoo-desktop: I heard of epoll first time right now, no idea if and how much better it is over poll() Jul 14 22:16:19 ok Jul 14 22:16:24 to me it seems it's more convenient to use maybe Jul 14 22:16:35 but possibly with more overhead Jul 14 22:17:12 DocScrutinizer05: so poll() and epoll() has same implementation ? Jul 14 22:17:31 errr, I wouldn't think so Jul 14 22:17:54 probably epoll using poll Jul 14 22:19:10 also: >>The epoll API is Linux-specific. Some other systems provide similar mechanisms, for example, FreeBSD has kqueue, and Solaris has /dev/poll.<< Jul 14 22:19:23 while poll probably is even POSIX Jul 14 22:20:26 DESCRIPTION Jul 14 22:20:28 epoll is a variant of poll(2) that can be used either as an edge-triggered or a level-triggered interface and scales well to large numbers of watched file Jul 14 22:20:29 descriptors. Jul 14 22:20:39 isn't it the other way arround? poll() using epoll() for performances reasons? Jul 14 22:21:15 nope, evidently epoll is more complex and feature-rich than poll Jul 14 22:22:53 GNUtoo-desktop: DocScrutinizer05: iam a java programmer and what i would like to prefer is something like select(). why does it not work with the modem ? Jul 14 22:24:00 nschle85: poll can wait for other events than just file-io aiui Jul 14 22:24:11 http://www.xmailserver.org/linux-patches/nio-improve.html Jul 14 22:24:21 what about the graphs here ^^^ Jul 14 22:25:51 nschle85: >>poll() performs a similar task to select(2): it waits for one of a set of file descriptors to become ready to perform I/O.<< so I have no idea what are the delicate differences Jul 14 22:29:28 nschle85: http://www.unixguide.net/network/socketfaq/2.14.shtml Jul 14 22:30:43 DocScrutinizer05: and so i dont understand why poll is used instead of select Jul 14 22:30:59 yup Jul 14 22:31:13 probably select is the even better option here Jul 14 22:34:29 DocScrutinizer05: ok so ill try to port to use a select statement Jul 14 22:38:32 GNUtoo-desktop: in case of performance, i would like to prefer select. but someone needs to implements protection against overdriving the whole system Jul 14 22:44:21 GNUtoo-desktop: DocScrutinizer05: ill leave now... good night Jul 14 22:44:34 sorry been afk Jul 14 22:44:47 see you later Jul 14 22:44:59 nshfine (try use select). And good night :-) Jul 14 22:45:33 yay, he must have had a need for bathroom or sth Jul 14 22:46:38 DocScrutinizer05: GNUtoo-desktop: bye :-) ??? what are you talking about bathroom ? Jul 14 22:47:07 heh Jul 14 22:47:16 nschle85: I'm a fool Jul 14 22:47:29 tried to tab-expand nsh Jul 14 22:47:55 so I thought you already left chan Jul 14 22:48:12 ;-) Jul 14 22:49:38 nschle85: (using select) sure thing. If you got alternatives, then the simplest one is usually the best one. at least performance wise Jul 14 22:49:39 DocScrutinizer05: sorry i cannot follow so bye Jul 14 22:50:15 [2012-07-15 00:44:59] nshfine (try use select). And good night :-) Jul 14 22:50:39 * DocScrutinizer05 thinks "oh, nshle must have left the channel already Jul 14 22:50:50 nschle85: now all clear? :-) Jul 14 22:51:22 never mind, good night pal :-) Jul 14 22:53:44 DocScrutinizer05: no , you are confusing me much more ... but its ok... bye Jul 14 22:58:26 I'll try to int err = sleep(me,timeout); if it fails I'll be back Jul 14 22:58:32 bye **** ENDING LOGGING AT Sun Jul 15 02:59:59 2012