**** BEGIN LOGGING AT Sat Aug 25 03:00:04 2012 Aug 25 04:26:15 SHR: 03shr-devel 07buildhistory * r4ef6eb6c992e 10/images/tuna/eglibc/chroot-image/ (4 files): images: Build 201208250504 of shr 20120825 for machine tuna on opmbuild Aug 25 04:26:15 SHR: 03shr-devel 07buildhistory * r913d1255d12e 10/packages/tuna-oe-linux-gnueabi/ (77 files in 77 dirs): packages: Build 201208250504 of shr 20120825 for machine tuna on opmbuild Aug 25 05:55:01 SHR: 03Martin.Jansa 07shr-makefile * re8c8653a4d4a 10/scripts/oebb.sh: oebb: return tag_layers Aug 25 06:02:21 SHR: 03Martin.Jansa 07shr-makefile * r194bfd466d38 10/scripts/oebb.sh: fix tag_layers path to layers.txt Aug 25 07:42:18 SHR: 03Martin.Jansa 07shr-makefile * rbbcd49024b0d 10/conf/layers.txt: layers.txt: add bitbake checkout Aug 25 07:50:52 SHR: 03Martin.Jansa 07shr-chroot * rac87b2ea6c23 10/ (158 files in 23 dirs): drop bitbake from shr-chroot, will add it to layers.txt Aug 25 07:50:56 SHR: 03Martin.Jansa 07shr-chroot * re07331f20973 10/ (2484 files in 56 dirs): system upgrade Aug 25 15:34:03 Alex[sp3dev], hi Aug 25 15:34:11 do you have something to merge? Aug 25 15:34:18 in samsung-ril Aug 25 15:34:23 I see you have USSD too Aug 25 15:34:37 I wanted USSD for a really really long time..... Aug 25 15:34:54 like since a year ago or something like that Aug 25 15:35:24 morphis, are you interested in crespo? Aug 25 15:35:33 GNUtoo: log in to gitorious web ui and merge it from there. or just merge my branch. I left you an email Aug 25 15:35:46 ok Aug 25 15:35:53 I'll merge your branch Aug 25 15:36:10 trough the UI I guess Aug 25 15:37:06 GNUtoo: I think we need to look why calls fail on JB. I had a failed incoming call today. I can rollback to ICS, but would like to fix it as well Aug 25 15:37:22 ok Aug 25 15:37:52 what's the merge strategy? I merge now? I test on crespo first? Aug 25 15:37:55 and yeah, where's morphis? I left him a pull request at github and he's hiding from me from now on Aug 25 15:38:31 GNUtoo: it would be good if you tested on crespo with GB. I hope it works and compiles, but I don't have either GB or crespo Aug 25 15:38:39 ok Aug 25 15:38:41 I'll try Aug 25 15:39:22 GNUtoo: I think samsung-ril will be device-specific and we'll have separate branches because different devices seem to have different kind of RilClient structure Aug 25 15:39:28 I'll test Aug 25 15:39:30 or maybe not Aug 25 15:39:55 GNUtoo: do you think it is hard to add omap4 DSI and panel init to uboot? Aug 25 15:40:06 I'm not a samsung modem specialist, I just have the hardware to test and the commit access to push Aug 25 15:40:30 Alex[sp3dev], about uboot all I know is that uboot is easier than linux Aug 25 15:40:36 (the kernel) Aug 25 15:40:46 I had the opposite opinion :) Aug 25 15:40:53 ah? Aug 25 15:41:12 in the kernel you have a huge and complicated driver framework Aug 25 15:41:15 linux kernel has proper interrupts, workqueues and synchronization primitives Aug 25 15:41:21 ok Aug 25 15:41:58 GNUtoo, hello Aug 25 15:42:05 hi Aug 25 15:42:25 I can't do the xorg.conf Aug 25 15:45:11 hmmm Aug 25 15:45:13 why? Aug 25 15:45:47 I don't what I can do now, it can't work at all Aug 25 15:46:43 why can't it work? Aug 25 15:46:45 kernel issues? Aug 25 15:47:28 no, X can't find screen Aug 25 15:47:39 dmesg | tail Aug 25 15:47:46 why can't it find screen Aug 25 15:47:50 try to debug it Aug 25 15:47:54 because there is a reason Aug 25 15:48:06 and once you find that reason you may be able to fix it Aug 25 15:49:07 I'm fetching replicant right now Aug 25 15:49:10 sorry, wait a moment, let me boot it Aug 25 15:49:23 Alex[sp3dev], I'll pull and test right after but thanks a lot....really Aug 25 15:50:25 GNUtoo: ok Aug 25 15:54:11 nothing, just some sd_blk_issue_rw_rq Aug 25 15:55:44 ayaka: do you have ssh? Aug 25 15:56:03 Alex[sp3dev], yes, do you want to use it now? Aug 25 15:56:17 ayaka: no, I mean, do you have ssh to your phone? Aug 25 15:56:24 yes Aug 25 15:56:53 then you can edit xorg.conf and start "X" or "startx" to see logs, right Aug 25 15:56:54 ? Aug 25 15:57:51 yes Aug 25 15:58:08 here's a typical xorg.conf from SHR http://pastebin.com/twkDbuZA . have you tried just replacing fbdev with msm whatever? Aug 25 15:58:52 yes ,I am trying to use msm instead of fbdev Aug 25 15:59:34 post the log of running "X" and startx manually and look at /var/log. I think it should be verbose enough Aug 25 15:59:56 mrmoku, ping Aug 25 16:00:22 or Xorg -verbose -retro Aug 25 16:00:31 building right now Aug 25 16:01:45 hmm. need to fix ril on JB once and for all. will try doing it tomorrow Aug 25 16:01:51 this mine xorg.conf http://pastie.org/4586654 and the log http://pastie.org/4586664 Aug 25 16:04:14 Alex[sp3dev], do I have the wrong libsamsung-ipc? http://pastie.org/private/c00ejitb2cytig14aejuw Aug 25 16:07:51 and X -configure can't work too, "No devices to configure. Configuration failed" Aug 25 16:08:11 X -configure only works well for desktop computers Aug 25 16:13:17 Alex[sp3dev], what libsamsung-ipc did you use? Aug 25 16:16:07 but I think the xorg.conf should work but it can't work Aug 25 16:16:12 yes Aug 25 16:16:16 you have to find why Aug 25 16:16:19 like strace Aug 25 16:16:23 or dmesg | tail Aug 25 16:16:24 etc... Aug 25 16:16:30 find out why it doesn't detect the screen Aug 25 16:16:43 try to think about what could be wrong Aug 25 16:16:53 like for instance the framebuffer which is not activated Aug 25 16:17:01 try first to make ....wait a second Aug 25 16:17:08 what's the user screen access method? Aug 25 16:17:10 sysfs Aug 25 16:17:12 chvt Aug 25 16:17:16 or none? Aug 25 16:18:54 GNUtoo: are you on gingerbread? Aug 25 16:19:01 note that you should try to make the framebuffer work first without Xorg Aug 25 16:19:02 yes Aug 25 16:19:05 Alex[sp3dev], yes Aug 25 16:19:33 GNUtoo: comment out the "netutils/ifc.h" in gprs.c to see if that helps. If you get linking errors, we'll have to ifdef yet another piece of code Aug 25 16:19:57 ok Aug 25 16:20:32 but dmesg | tail doesn't output any useful Aug 25 16:21:31 ayaka, 1) activate the framebuffer : cat /dev/urandom > /dev/fbN is your friend Aug 25 16:21:37 I don't know screen access at all, I thought the screen is just the video card's problem Aug 25 16:21:40 2) try to make xorg work Aug 25 16:21:57 ayaka, can you pastebin the defconfig of your kenrel Aug 25 16:22:29 Alex[sp3dev], http://pastie.org/private/woeiittrtphthg8mrqp3w Aug 25 16:22:43 you know we have cat many time, wait a moment, let me paste defconfig Aug 25 16:23:00 Alex[sp3dev], I guess we use an old rild Aug 25 16:23:05 GNUtoo: comment out the lines until it compiles Aug 25 16:23:06 because it's gingerbread Aug 25 16:23:09 ok Aug 25 16:23:10 GNUtoo: we'll ifdef it later Aug 25 16:23:40 ok thanks a lot Aug 25 16:23:59 here is the defconfig http://paste.debian.net/185582/ Aug 25 16:24:39 ayaka, try to select that: Aug 25 16:24:45 how does our x86 PC access with screen ? Aug 25 16:24:46 CONFIG_NO_USER_SPACE_SCREEN_ACCESS_CONTROL Aug 25 16:24:52 ayaka, it's android stuff Aug 25 16:25:04 x86 has standard kernel Aug 25 16:25:30 you have one of the worse phones for standardness.....which is why you have huge issues making it work Aug 25 16:25:41 yes, can you give a x86 example and your phone's example about it? Aug 25 16:25:43 next time try to avoid qualcom CPU Aug 25 16:26:21 ayaka, CONFIG_NO_USER_SPACE_SCREEN_ACCESS_CONTROL is an android thing which depend on earlysuspend which depend on wakelocks Aug 25 16:26:27 or rather Aug 25 16:26:28 ayaka: 'screen' is an X abstraction. like, there are "drivers" (VGA cards) and each driver has many "screens" Aug 25 16:26:55 ayaka: that's a xorg.conf thing if x says "no screen" Aug 25 16:26:56 let me re-explain Aug 25 16:27:04 your kernel comes from andoroid Aug 25 16:27:11 it's not standard Aug 25 16:27:24 and it has a non-standard suspend/resume for the screen Aug 25 16:27:38 to workarround that try to enable that: Aug 25 16:27:41 CONFIG_NO_USER_SPACE_SCREEN_ACCESS_CONTROL Aug 25 16:28:07 your goal now is to find how to power on the screen Aug 25 16:28:14 under x86 standard computer you can do that: Aug 25 16:28:27 echo 255 > /sys/class/backlight/*/brightness Aug 25 16:28:38 with 255 beeing the number found in: Aug 25 16:29:06 but I don't think it suspend, the screen is on and always show the htc log, I rather should buy a OMAP phone next time Aug 25 16:29:07 /sys/class/backlight/*/max_brightness Aug 25 16:29:17 for enabling the screen and not the backlight do: Aug 25 16:29:40 echo 4 > /sys/class/graphics/fb0/blank Aug 25 16:29:54 what the value means is in: Aug 25 16:30:18 include/linux/fb.h Aug 25 16:30:42 FB_BLANK_UNBLANK = VESA_NO_BLANKING, Aug 25 16:30:47 FB_BLANK_POWERDOWN = VESA_POWERDOWN + 1 Aug 25 16:30:58 I never remember if it's 4 or 0 Aug 25 16:31:00 so try both Aug 25 16:31:16 accorind to what I pasted it's more 0 than 4 Aug 25 16:31:26 but I'm not sure Aug 25 16:31:34 Alex[sp3dev], may remember better than me Aug 25 16:31:57 GNUtoo: I never had problems with that Aug 25 16:32:13 ok Aug 25 16:34:06 Alex[sp3dev], there are only 3 comments and it compiles: http://pastie.org/private/mjt0qvu3ba3dsro11fpeg Aug 25 16:34:23 GNUtoo: if only it worked :) Aug 25 16:34:30 indeed Aug 25 16:34:37 "echo 4 > /sys/class/graphics/fb0/blank" can work and we have tried it ,but I don't have /sys/class/backlight/ at all Aug 25 16:34:43 I'll let it compile Aug 25 16:34:54 ayaka, /sys/class/leds Aug 25 16:35:01 you have non-standard phone Aug 25 16:35:11 and you asked how it was done on standard x86 Aug 25 16:35:15 yes I have it Aug 25 16:35:38 try to do the same in /sys/class/leds/*backlight*/ Aug 25 16:36:05 undefined reference to 'ipv4NetmaskToPrefixLength Aug 25 16:36:09 I'll comment that too Aug 25 16:36:27 GNUtoo: no Aug 25 16:36:33 echo 255 > /sys/class/leds/lcd-backlight/brightness, it doesn't on the screen Aug 25 16:36:40 GNUtoo: just replace the function call with its argument Aug 25 16:37:35 note that I can't test GPRS Aug 25 16:37:42 why? Aug 25 16:37:46 I'm unsure of the effect on the credit if I do Aug 25 16:37:50 I've french prepaid Aug 25 16:38:06 maybe they charge an awfull ammount of money Aug 25 16:38:11 I'm on the wifi cafee Aug 25 16:38:13 you could've told that earlier ^_^ Aug 25 16:38:18 ah? Aug 25 16:38:28 we need someone who can test gprs Aug 25 16:38:30 on GB Aug 25 16:38:45 paulk can Aug 25 16:38:54 but is he available? Aug 25 16:38:57 soon.... Aug 25 16:39:08 at the end of the week-end he should be back Aug 25 16:39:14 I'll put your work in a branch then Aug 25 16:39:19 but " echo 1 > /sys/class/leds/button-backlight/brightness" bright the button in the sceen Aug 25 16:39:37 ayaka, is there lcd-backlight? Aug 25 16:39:47 so, I will commit the gprs build fix Aug 25 16:39:54 ok Aug 25 16:39:56 I'll pull Aug 25 16:40:38 "/sys/class/leds/lcd-backlight/brightness"? yes of course Aug 25 16:40:48 you have tried it last time in ssh Aug 25 16:41:34 but I have "echo 4 > /sys/class/graphics/fb0/blank" , so I think it can't work Aug 25 16:42:20 I tried it too Aug 25 16:42:31 you have some options left: Aug 25 16:42:38 do you have the hdmi cable? Aug 25 16:42:55 and do you have strace? Aug 25 16:43:12 do you have code for android recovery? Aug 25 16:43:45 but all others /sys/class/leds/*/brightness can work, I don't have hdmi cable and what is the strace? Aug 25 16:43:59 strace is a program that traces all syscalls Aug 25 16:44:04 and ioctls too Aug 25 16:44:25 android office offer a recovery, but I don't know whether it can work or not Aug 25 16:44:42 Alex[sp3dev], let me look for the 3g Aug 25 16:44:55 ayaka, fastboot boot recovery.img Aug 25 16:44:56 I don't have strace now, it me install, I should fix wlan first Aug 25 16:45:11 which recovery.img ? Aug 25 16:45:37 ayaka, ideally you should try to find one with full sources Aug 25 16:45:44 and look if framebuffer works Aug 25 16:45:50 and if so try to look at the sources Aug 25 16:45:54 graphics.c inside that: Aug 25 16:46:17 bootable/recovery/minui Aug 25 16:46:26 inside the android sources Aug 25 16:47:26 sorry, I don't recovery at all, can you me give a sample source used in other phone Aug 25 16:47:41 I don't know recovery at all Aug 25 16:51:37 GNUtoo: I've pushed the fix to tuna-tracking and merge-25aug branches. Aug 25 16:51:47 ok Aug 25 16:51:51 I have strace now Aug 25 16:53:39 in a source I got, it doesn't have bootable directory, let me google again Aug 25 16:56:30 ayaka, what android distro do you use? Aug 25 16:56:50 GNUtoo, 4.0 ? Aug 25 16:57:23 ah you have the default one, the one that was on the device when you bought it? Aug 25 16:58:21 I don't know what do you mean, the android is in mmcblk0 Aug 25 16:58:47 and all linux files are in mmcblk1p2 Aug 25 16:58:55 did you install some other android distribution on your phone Aug 25 16:58:58 like cyanogenmod? Aug 25 16:59:05 if so they have sources Aug 25 16:59:10 incomplete but still..... Aug 25 16:59:20 they often offer a buildable recovery Aug 25 16:59:35 becuase android have too many partedtions, no, cyanogenmod only support HTC evo 3d cdma, mine is gsm version Aug 25 17:00:46 I know there are many distributions in xda, and my recovery is also from there Aug 25 17:01:52 ok Aug 25 17:02:01 what distro did you get your recovery from? Aug 25 17:02:06 can you build the recovery Aug 25 17:03:02 http://forum.xda-developers.com/showthread.php?t=1826747 Aug 25 17:03:39 I am google the name of recovey, but in my memories, it doesn't offer source Aug 25 17:04:50 https://github.com/agrabren/android_bootable_recovery/blob/ics/minui/graphics.c Aug 25 17:04:59 this my recovery http://forum.xda-developers.com/showthread.php?t=1560279 Aug 25 17:05:44 shall I try his source ? Aug 25 17:05:54 yes Aug 25 17:05:57 read the source Aug 25 17:06:07 let me do something before tough Aug 25 17:06:59 but how does it compiled out ? a initramfs file? Aug 25 17:10:30 yes Aug 25 17:10:39 I'll go soon Aug 25 17:10:49 => I'll concentrate on merging Alex[sp3dev] 's source now Aug 25 17:13:28 Alex[sp3dev], http://pastie.org/4587073 Aug 25 17:13:34 wifi cafee will close very soon Aug 25 17:14:05 GNUtoo: a segfault? Aug 25 17:14:15 no idea, I'll look in main Aug 25 17:14:49 hmmm no Aug 25 17:14:52 let me try Aug 25 17:15:25 GNUtoo, good bye, will you be online when you back home? Aug 25 17:15:36 no Aug 25 17:15:40 no internet at home Aug 25 17:17:14 ok, maybe we can talk tomorrow, can you leave some work which I can do this time Aug 25 17:17:22 GNUtoo: do voice calls work if you disable gprs? can you test ussd? Aug 25 17:17:32 no idea Aug 25 17:17:41 it doesn't register.... Aug 25 17:18:06 [1] Killed rild Aug 25 17:18:21 echo $? => 137 Aug 25 17:18:54 it would be good to have a full stack trace. or at least strace Aug 25 17:19:10 how? Aug 25 17:19:13 it doesn't appear in main Aug 25 17:19:51 well. mv /system/bin/rild /system/bin/_rild ; strace /system/bin/_rild; or write a shell wrapper script and put it to /system/bin/rild Aug 25 17:19:59 or attach to the running ril Aug 25 17:20:33 I think it's either a segfault or a socket creation failure (ril client) because voice-call stuff was not modified Aug 25 17:22:12 GNUtoo: oops Aug 25 17:22:34 GNUtoo: could you try editing compat.h and set SAMSUNG_RIL_VERSION to 4 or 5? I forgot to ifdef it Aug 25 17:22:44 http://pastie.org/private/mcfyq9lsednpn0rlqoogsq Aug 25 17:23:31 ipc bootstrap failed. wonderful Aug 25 17:23:54 maybe it's libsamsung-ipc? anyway, try the ril version first Aug 25 17:25:04 ok Aug 25 17:25:12 I think it's libsamsung-ipc, though Aug 25 17:26:16 http://pastie.org/private/ue2dyvy7m6xotllolb1gna Aug 25 17:26:44 GNUtoo: try compiling the ril without my patches with your libsamsung-ipc. If that still doesn't work, then we need paulk to fix it Aug 25 17:26:54 http://pastie.org/private/gd6cjp9imiswnxtd8vk3q Aug 25 17:26:57 ok Aug 25 17:27:03 open("/dev/modem_ctl", O_RDWR|O_NONBLOCK) = -1 EBUSY (Device or resource busy) Aug 25 17:27:04 whoa Aug 25 17:27:39 reboot the phone, please. and rename the rild binary and killall the rild Aug 25 17:27:49 ok Aug 25 17:28:48 D/RIL-IPC ( 518): ipc: crespo_ipc_bootstrap: sending the first part of radio.img Aug 25 17:28:48 I/RILJ ( 246): Couldn't find 'rild' socket; retrying after timeout Aug 25 17:29:14 baiscally look at the log Aug 25 17:29:18 it tries to init several times Aug 25 17:29:23 and finish with a segfault Aug 25 17:29:35 E/RILC ( 518): RIL_register: RIL_RadioFunctions * null or invalid version (expected 3) Aug 25 17:29:36 ? Aug 25 17:29:48 GNUtoo: that explains a lot Aug 25 17:29:55 GNUtoo: set samsung_ril_version to 3 :) Aug 25 17:30:18 where? Aug 25 17:30:30 GNUtoo: at the end of compat.h Aug 25 17:31:20 wifi cafee is closing Aug 25 17:31:21 really Aug 25 17:31:24 I really must go Aug 25 17:31:36 ok Aug 25 17:31:47 bye **** ENDING LOGGING AT Sun Aug 26 03:00:00 2012