**** BEGIN LOGGING AT Sun May 20 02:59:59 2012 May 20 10:05:54 <[Rui]> hiya May 20 12:09:31 GNUtoo-desktop hi, what shall i do next May 20 12:10:06 ayaka, hi read my mail first May 20 12:10:25 new mail? May 20 12:10:40 yes I responded to "some question about kernel src" May 20 12:10:47 I'm everywhere lol May 20 12:11:33 but i wonder why I don't receive the mail i posted May 20 12:12:25 I don't see it http://blog.gmane.org/gmane.linux.ports.arm.msm May 20 12:12:48 I got it May 20 12:12:56 ok May 20 12:14:14 I see, there is the only way left, modify kernel myself, doesn't it May 20 12:14:28 the mainline way is a valid way May 20 12:14:52 you can also try codeaurora kernels May 20 12:14:59 and see if there is one for GNU/Linux May 20 12:15:07 with support for shooteru May 20 12:16:28 btw there should be a ##linux-msm channel May 20 12:16:42 ah you're already there May 20 12:21:29 GNUtoo-desktop do you have any books recommand May 20 12:26:55 bbl May 20 12:27:00 for kernel hacking May 20 12:27:07 or for embedded stuff? May 20 12:31:30 kernel hacking May 20 12:32:13 becuase what I can do is only that modify kernel myself May 20 12:52:02 hmmm personally I learnt the hard way without any books May 20 12:52:09 by fixing bugs May 20 12:52:42 s/learnt/began/ May 20 12:52:54 *started May 20 12:54:59 GNUtoo-desktop isee, but i am not as clever as you May 20 12:55:02 maybe ask in the #kernelnewbies channels on oftc May 20 12:55:15 I'm not that clever, I just have some experience May 20 12:55:38 i know that channel, btw, do you think it need good math knoedge May 20 12:55:56 I don't think so May 20 12:56:05 apart basic maths May 20 12:56:17 like shift or hex May 20 12:56:45 but for hex you can use python interpreter to calculate it for you May 20 12:57:04 and since the driver are already written you may not need that May 20 12:57:15 you need to know C tough, at least some part of it May 20 12:57:37 and to have some concepts like interupts May 20 12:58:04 if you have to debug stuff that freeze your device for instance May 20 12:58:15 it all depend on what you'll have to do May 20 12:58:41 yes, i have laernt k&r and some others part May 20 12:58:51 ok good May 20 12:59:16 big warning: the code of your shooteru kernel is very very very dirty May 20 12:59:28 mainline kernel code is much much cleaner May 20 13:01:38 I know, htc even use the kernel_lock May 20 13:02:15 I wonder whether it is 2.6.35 time May 20 13:02:29 I don't remember May 20 13:04:55 you can use grep to show it May 20 13:05:13 yes but I'm currently doing sometihng else May 20 13:05:17 I'm reading the diff May 20 13:06:29 I see, thank you GNUtoo-desktop May 20 13:17:58 androidboot.emmc=true May 20 13:18:03 did you see that? May 20 13:18:25 androidboot.mode=normal May 20 13:18:28 etc... May 20 13:21:17 ayaka, ^^^ May 20 13:21:19 I see May 20 13:21:33 that are stuff passed to the kernel May 20 13:21:37 the kernel recognize it May 20 13:21:46 trough that: May 20 13:21:47 +__setup("androidboot.emmc=", board_set_emmc_tag); May 20 13:21:58 but i don't know what are they used for, in the diff, there are some if sentences May 20 13:22:22 then it get into the variable board_set_emmc_tag May 20 13:22:30 you should check board_set_emmc_tag May 20 13:22:43 GNUtoo-desktop I have tried to off it , it seems no use May 20 13:22:55 back in a few minutes May 20 13:25:04 ah it's the radio partitions May 20 13:26:00 maybe the androidboot.mode then May 20 13:50:00 I see, I have got some info in src, but all is about thr radio May 20 13:53:44 ayaka, your device is fastboot compatible? May 20 13:53:56 how do you boot a kernel exactly? May 20 13:54:03 like what commands do you type? May 20 13:54:20 yes, you have known tit in maillist May 20 13:54:42 root=/dev/mmcblk1p2 rw rootwait noinitrd May 20 13:55:01 init=/sbin/init and that May 20 13:55:11 no May 20 13:55:21 like fastboot boot zImage May 20 13:55:49 for instance fastboot flash recovery zImage.fastboot May 20 13:55:52 or boot.img May 20 13:57:01 for fastboot , ./fastboot boot bootimgname May 20 13:57:17 bootimgname os a bootimg or a zImage? May 20 13:57:36 I have tired ./fastboot flash recovery bootimgname May 20 13:57:52 and did it boot debian? May 20 13:58:14 no, the bootimg is made by abooimg which include kernel(gzip) and fale empty initramfs May 20 13:58:42 if the kernel without config_vt, it boots debian May 20 13:59:31 ok May 20 14:00:33 the fastboot is google version, i cannot run auotgem.sh in free version May 20 14:01:37 ayaka, there is a free replicant version too May 20 14:02:08 ayaka, can you create a kernel with +CONFIG_VT and only that as diff May 20 14:02:13 not the following: May 20 14:02:25 oh, I only tried the one in SHR May 20 14:02:50 +CONFIG_CONSOLE_TRANSLATIONS=y May 20 14:02:51 etc... May 20 14:03:09 remove all the rest and keep console_vt May 20 14:03:23 or said in another way: May 20 14:03:41 the diff between working and the one you will test will have only CONFIG_VT May 20 14:03:48 as difference May 20 14:05:02 I see, only enable config_vt, not CONFIG_VT_CONSOLE, no framebuffer console? May 20 14:05:13 yes May 20 14:05:28 the diff should only show +CONFIG_VT May 20 14:05:45 that's in order to restrict the research area May 20 14:05:49 I see, i will try it in 3 days May 20 14:05:54 ok May 20 14:08:25 and I will try replican version of fastboot May 20 14:10:39 ok, it's the same than android but free May 20 14:11:23 it is not different ? May 20 14:11:37 not much May 20 14:15:29 i see, but i noitce a problem, if i don't plug in power line, even testA can't mount rootfs May 20 14:16:12 ok May 20 15:52:51 ok, poll is too fast May 20 15:52:56 with alsaloop May 20 15:53:04 case 1: May 20 15:53:17 nothing arrive from modem => poll takes 30ms maximum May 20 15:53:32 I meant about 30ms maximum May 20 15:53:40 minimum is 0 May 20 15:53:45 case 2: May 20 15:54:40 modem is in a call => poll takes about 300000us May 20 15:54:44 s/ms/us/g May 20 15:55:03 so 30 to 300000 May 20 17:20:41 mdbus2 org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject org.enlightenment.wm.Profile.Set illume2-shr #how to fix the desktop in lastest images May 20 18:48:04 GNUtoo-desktop: what problem does it fix? May 20 18:49:46 if you have autorev + build youself the images the wizard crashes May 20 18:49:57 leaving you with a problematic config May 20 18:50:05 without topbar May 20 18:50:11 but with a menu May 20 18:50:19 when you click you have a menu May 20 19:03:25 i see. i'm only using the images from buildhost, so i didn't see that behavior May 20 20:17:10 hmmm May 20 20:17:11 http://pastie.org/private/gwylhbjhswijjmtvzlfutg May 20 20:32:51 my freerunner keeps switching itself on when off...how do i disable this? May 20 20:33:17 i'm guessing because i put an alarm in qtmoko... May 20 20:40:35 aloniv, do you have something connected to it like a power supply or usb cable? May 20 20:45:03 no... May 20 20:45:12 then it may be an alarm May 20 20:45:27 yeah but how do i disable it? May 20 20:45:35 I've no idea May 20 20:45:36 (the alarm isn't on...) May 20 20:45:36 sorry May 20 20:45:39 ah ok May 20 20:45:46 I don't know then, sorry May 20 20:46:07 i was thinking it was a reminder i put but deleting it doesn't solve it... May 20 20:46:14 hmmm May 20 20:46:21 I don't even use qtmoko May 20 20:46:39 even when i removed sd card it still switched on :( May 20 20:48:09 so i'm guessing the alarm put something in the bootloader (or somehwere else) that needs to be removed... May 20 20:48:14 *somewhere May 20 20:48:47 GNUtoo-desktop: the question is rather, is there some hardware support in gta02 for "wake up at XXXX time" ? May 20 20:49:03 yann, yes of course there is May 20 20:49:13 there is even a command that does it May 20 20:49:21 I don't remember it but lindi- knows May 20 20:50:23 lindi- mentionned "om resume-reason", but I'm not sure that will help in the "wake up from halted state" situation May 20 20:51:29 not that May 20 20:51:38 he did a script for testing suspend/resume May 20 20:51:50 look in his website May 20 20:52:38 does our "of course there is" still applies for the "wake up from halted state" situation ? May 20 20:52:46 yann: yeah if you suspend the phone then om resume-reason can tell you why it woke up May 20 20:53:16 lindi-: but aloniv's phone is halted, not suspended, if I understand correctly May 20 20:54:01 yann: yeah but he could suspend it instead to get useful data May 20 20:55:41 the phone is usually suspended but at night i prefer switching it completely off... May 20 20:57:03 i was thinking at first the phone switched off due to battery moving (or something similar)... May 20 20:58:24 anyway if i reinstall everything (e.g. internal memory, bootloader) will this clear any such data relating to reminders/alarms? May 20 21:20:27 thanks everyone for your help. hopefully tomorrow i won't wake up after my freerunners :) **** ENDING LOGGING AT Mon May 21 02:59:59 2012