**** BEGIN LOGGING AT Thu Jun 28 02:59:58 2012 Jun 28 04:38:26 Hi. I'd like to try SHR on top of Ubuntu on n900. I have no Idea how to start. It would be nice if you could provide a package repository but if you could point me to a tutorial or something that would help me do so it would be also ok. Jun 28 04:47:07 freesmartphone.org: 03morphis 07cornucopia * ra4ee3e39bfd9 10/fsogsmd/src/lib/at/atsms.vala: fsogsmd: lib: at: force SMS PDU mode otherwise SMS support is disabled Jun 28 04:47:08 freesmartphone.org: 03morphis 07cornucopia * r9eeb3dbfabb4 10/fsogsmd/src/lib/ (at/atsms.vala sms.vala): fsogsmd: lib: provide property for our sms handler to indicate wether SMS is supported Jun 28 04:47:08 freesmartphone.org: 03morphis 07cornucopia * rb0d96fc30c10 10/libfsobasics/fsobasics/types.vala: Jun 28 04:47:08 freesmartphone.org: libfsobasics: add a wrapper class for typed arrays to use it as type parameter Jun 28 04:47:08 freesmartphone.org: Something like HashTable is not possible today in vala so we have to use some Jun 28 04:47:09 freesmartphone.org: wrapper class to use an array as type parameter. Thats what TypedArrayWrapper does. Jun 28 04:52:24 there is actually shr stuff in ubuntu but it is probably not working on n900, is it? http://packages.ubuntu.com/precise/libphone-ui-shr Jun 28 12:25:37 ccxCZ, hi Jun 28 12:26:54 GNUtoo-hplaptop: hi there Jun 28 12:27:14 ccxCZ, for keys you means the ones near the trackball? Jun 28 12:27:54 indeed. also only left 'alt' works Jun 28 12:28:46 the keyboard works? Jun 28 12:29:08 note that the keyboard configuration is upstream in x-keyboard-config Jun 28 12:29:32 the regular alphanumerics, shift and the specials via left alt all work (except for tab on q) Jun 28 12:29:42 tab somehow works Jun 28 12:29:44 try xterm Jun 28 12:29:47 it works there Jun 28 12:29:52 but not on vala-terminal Jun 28 12:30:30 moment, I'll have to boot it first Jun 28 12:37:34 xterm: not found Jun 28 12:38:32 same w/ x-keyboard-config. I guess that's core only Jun 28 12:38:57 opkg install it of course Jun 28 12:39:14 x-keyboard-config is the project holding the keyboard configuration Jun 28 12:39:21 it's where to make changes Jun 28 12:39:30 I guess it's installed by default Jun 28 12:41:33 humm, I would have to get it online first then Jun 28 12:42:06 can I do that via usb? Jun 28 12:44:10 yes Jun 28 12:44:17 look at the openmoko wiki Jun 28 12:44:23 it contains howto on how to do that Jun 28 12:44:35 but since it's shr-unstable the ip address of the phone is: Jun 28 12:44:41 192.168.0.202 Jun 28 12:46:22 hmm, no CONFIG_USB_USBNET on lappy, will have to recompile Jun 28 12:54:30 haha, getting panic w/ the new kernel Jun 28 12:56:06 let me look Jun 28 12:58:34 http://wiki.openmoko.org/wiki/Usb_networking#Linux_Kernel_Support Jun 28 13:33:09 ok, I'm in via ssh now, doing opkg update Jun 28 13:35:46 ok Jun 28 13:35:59 ccxCZ, btw did you start porting to shr-core yet? Jun 28 13:37:23 not yet, something in the recipes was broken Jun 28 13:38:36 I know what to do Jun 28 13:38:54 the first thing to do is get an armv6-novfp patch upstream Jun 28 13:39:04 then the rest is mostly import stuff Jun 28 13:39:13 *importing Jun 28 14:09:50 ccxCZ, also note that in shr-core some stuff was already added such as machine config, kernel etc ... Jun 28 14:10:03 we also switched to systemd recently Jun 28 14:10:11 :/ Jun 28 14:10:14 so you'll need to ajust the kernel config accordinly Jun 28 14:10:56 not really much time for playing around with it now. still can't find out the x-keyboard-config thing, xterm installed fine Jun 28 14:10:59 also shr-core is maintained,shr-unstable is not Jun 28 14:11:14 x-keyboard-conifig is part of xorg Jun 28 14:11:23 it is already installed Jun 28 14:11:33 definitely not in path Jun 28 14:11:42 it's some config files Jun 28 14:11:42 I only get x-window-manager Jun 28 14:11:45 for the keyboard Jun 28 14:11:51 it's not a program Jun 28 14:12:10 so how do I find & edit them? Jun 28 14:12:24 opkg list | grep keyboard Jun 28 14:12:34 then opkg files it Jun 28 14:12:57 when doing the keyboard config for upstream I simply ran make in the source dir Jun 28 14:13:05 no cross-compiler was needed Jun 28 14:13:17 so download the git at xorg Jun 28 14:13:20 make inside it Jun 28 14:13:38 the big problem is that shr-unstable *is not maintained* Jun 28 14:13:52 so you won't be able to send your changes back into shr-unstable Jun 28 14:14:08 it would probably go in shr-core automatically if you send them upstream tough Jun 28 14:17:37 gtg. I'll see what I can do with it, installed xev and stuff Jun 28 14:17:50 ok Jun 28 16:00:35 GNUtoo-hplaptop: so I managed to get some basic xmodmap going, having ctrl on camera, esc on back & tab on search Jun 28 16:00:51 ok Jun 28 16:00:57 is there some meta-package for compiler stuff, autotools, etc.? Jun 28 16:01:18 if you want to send the config upstream no need for a cross compiler Jun 28 16:01:25 download x-keyboard-config git Jun 28 16:01:31 modify it Jun 28 16:01:32 run make Jun 28 16:01:36 scp the files to the phone Jun 28 16:01:40 and restart Xorg Jun 28 16:01:42 I think I'd like to replace windowmanager with something keyboard-driven, like wmii Jun 28 16:01:51 ah ok Jun 28 16:01:56 no packages for that afaik Jun 28 16:01:58 here comes the problem Jun 28 16:02:19 you're on an old unsuported version of openembedded Jun 28 16:02:28 some stuff is probably broken Jun 28 16:02:35 like because of compiler changes etc... Jun 28 16:03:02 so the easiest way is to port to shr-core Jun 28 16:03:09 *part of it is already in shr-core* Jun 28 16:03:23 so there is not a lot to do Jun 28 16:03:40 I even pointed you to a patch for shr-core Jun 28 16:03:42 oops Jun 28 16:03:58 *shrug* in the end I'll probably end up with my own build and I'll probably go for gentoo/arm or alpine anyway Jun 28 16:04:03 I even pointed you to a patch for openembedded-core that does exactly what you want: an armv6-novfp patch Jun 28 16:04:12 that's even harder Jun 28 16:04:25 so I want to see just what apps I can get here running as intermediate system Jun 28 16:04:28 you would need to redo the port for gentoo basically Jun 28 16:04:58 since you know gentoo.... Jun 28 16:04:58 so what do I need, custom kernel, patch for toolchain? Jun 28 16:05:04 can do that Jun 28 16:05:19 are you able to write ebuilds Jun 28 16:05:37 because yocto/openembedded/shr recipes are nearly the same Jun 28 16:05:40 a bit different tough Jun 28 16:06:08 I know they basically forked gentoo portage, yeah Jun 28 16:06:16 ok Jun 28 16:06:27 but I don't really like the overall choices in OE/shr-core Jun 28 16:06:37 then do a layer Jun 28 16:06:47 or a new image Jun 28 16:06:49 or something like that Jun 28 16:07:10 the best would be to leverage SHR to create your own stuff Jun 28 16:07:16 so way less work to do Jun 28 16:07:55 not sure, I'd really throw most of the stuff out and replace it with gentoo/alpine packages, like openrc etc. Jun 28 16:08:28 so it seems to me that packaging kernel & toolchain for gentoo/alpine is the easiler path Jun 28 16:08:34 for gentoo you'll need to port; Jun 28 16:08:39 *all FSO recipes Jun 28 16:08:47 * to write or port the SHR telephony apps Jun 28 16:08:47 not interested, not a phone Jun 28 16:08:50 etc... Jun 28 16:08:51 ah ok Jun 28 16:09:08 or well, not interested in using it as a phone Jun 28 16:09:12 if you're not interested in a phone it may be easier Jun 28 16:09:15 but still Jun 28 16:09:19 all power management etc... Jun 28 16:09:22 is not standard Jun 28 16:09:26 we handled that in fso Jun 28 16:09:29 but fso is dbus Jun 28 16:09:34 *has a dbus interface Jun 28 16:09:46 so you'll probably end up porting fsodeviced + fsousaged Jun 28 16:09:52 + some other fso deamons Jun 28 16:10:06 and write a minimal dbus interface Jun 28 16:10:16 or rewriting the functionality to something more unix-like Jun 28 16:10:22 good luck Jun 28 16:10:28 because the kernel is hard Jun 28 16:10:35 so ... what about answering my original question? :-) Jun 28 16:10:41 what was it? Jun 28 16:10:56 is there some meta-package for compiler stuff, autotools, etc.? Jun 28 16:11:02 yes Jun 28 16:11:04 you mean on the phone? Jun 28 16:11:07 or on gentoo? Jun 28 16:11:16 or on your gentoo laptop? Jun 28 16:11:18 on the shr-unstable Jun 28 16:11:23 yes Jun 28 16:11:26 there is Jun 28 16:11:31 opkg list | grep symlink Jun 28 16:11:41 you'll find stuff like gcc symlink Jun 28 16:11:42 and such Jun 28 16:11:57 I'm not sure about the meta-package Jun 28 16:12:19 I think there is no meta-package but individual packages, but I'm not sure Jun 28 16:12:27 I know debian had some, something like development-tools or so Jun 28 16:12:43 or the buils-essentials on ubuntu and derivatives Jun 28 16:13:16 why do you need a compiler btw? Jun 28 16:13:22 is it for bootstraping gentoo? Jun 28 16:13:39 if so can't you use crossdev? Jun 28 16:13:54 just for setting up small stuff like the wm Jun 28 16:14:00 because compiling on the phone would be quite slow Jun 28 16:14:05 ah ok Jun 28 16:14:10 yeah, figured Jun 28 16:14:12 is the wm easy to compile Jun 28 16:14:19 because with the deps etc... Jun 28 16:14:24 it would become hard Jun 28 16:14:29 wmii & dwm are *tiny* Jun 28 16:14:31 better poting gentoo then Jun 28 16:14:32 ok Jun 28 16:14:56 then it might be doable but painless Jun 28 16:15:02 *painfull Jun 28 16:15:21 because you'll need to find the gcc and such packages Jun 28 16:15:26 what about a gentoo chroot? Jun 28 16:17:35 well, gentoo chroot won't be of much use until I get binpkgs running, but I guess that's the way until I port necessary stuff to run it pure Jun 28 16:17:54 yes Jun 28 16:18:07 running it pure would be doable easily too I guess Jun 28 16:18:20 you'll just need to build a kernel within gentoo Jun 28 16:18:29 and point to the gentoo rootfs Jun 28 16:18:38 like root=/dev/mmcblk0p1 Jun 28 16:18:44 with gentoo beeing on the microsd Jun 28 16:20:05 yeah, still will have to get the powermanagement working somehow Jun 28 16:21:25 though I guess only things I need are turning gsm off on start, toggles for wifi/gps/bt and hopefully make it s2ram and wake up again Jun 28 16:21:48 but that might be challenge with shr too, since it does not recognise the power key Jun 28 16:32:08 GNUtoo-hplaptop: I assume you don't know how to make it wake up on specific event (power button pressed, keyboard open, etc.) Last time I had to pull the battery to make it reboot Jun 28 16:32:42 ccxCZ, 1) do you really need GSM? Jun 28 16:32:50 2) I do Jun 28 16:33:18 2) is in fsousaged Jun 28 16:33:21 what device are you guys talking about? Jun 28 16:33:23 there is an android plugin Jun 28 16:33:25 htc dream Jun 28 16:33:46 ccxCZ, wants to use it as a mobile computer and not as a phone Jun 28 16:34:00 I don't use gsm at all, no sim card in Jun 28 16:34:27 ccxCZ, so you'll probably need GSM off but you could do that later Jun 28 16:34:29 that's not a bad idea per se. but I'm fairly sure openembedded is one huge PITA and he's better off using debian Jun 28 16:34:29 unless I turn the gsm off it goes crazy searching for networks, in droid at least Jun 28 16:34:40 Alex[sp3dev], he wants gentoo Jun 28 16:34:47 and something like dwm Jun 28 16:34:51 titled-like Jun 28 16:35:00 his dm is called wmii tough Jun 28 16:35:10 yeah, I used to be a wmii fan Jun 28 16:35:15 ok Jun 28 16:35:20 until i bought a second monitor Jun 28 16:35:26 I'm on xmonad now Jun 28 16:35:30 I never had the time to switch to titled Jun 28 16:35:40 but that might be bit overkill for such device Jun 28 16:35:47 last time I tried xmonad Jun 28 16:35:54 and network-manager didn't work well with it Jun 28 16:36:04 xmonad is code-your-own Jun 28 16:36:13 you need an external app for tray Jun 28 16:36:18 I use trayer Jun 28 16:36:22 ah ok Jun 28 16:36:31 so what's the problem in using a gnu distro? bt is controlled by rfkill, wifi - by rmmod/modprobe. just write a shell script and put it to nopasswd sudo Jun 28 16:36:48 or you can use one of these taskbars for fluxbox/openbox Jun 28 16:36:59 the htcdream kernel is not-so standard Jun 28 16:37:04 everything can be done trough shell Jun 28 16:37:07 but still..... Jun 28 16:37:14 who is going to do that Jun 28 16:37:19 modprobe wl1251_sdio Jun 28 16:37:20 o/ Jun 28 16:37:25 morporobe msm_wifi Jun 28 16:37:36 rfkill unblock wifi Jun 28 16:37:39 can put it into dmenu or stuff, writing scripts is the easy part Jun 28 16:37:43 ifconfig wlan0 up Jun 28 16:37:43 I'm fairly sure wl1251_sdio is a bad thing and for dream it's better to use tiwlan Jun 28 16:37:46 etc.... Jun 28 16:38:05 yes at least it's more standard Jun 28 16:38:09 I spent some months debugging wl1251 and ended up porting sdio stack from linux 3.0 to 2.6.35 and fixins some 2 bugs in mmc Jun 28 16:38:23 yes I had no time to do that Jun 28 16:38:34 wl1251 has a lot of suspend issues. I fixed them on kovsky, but it is still slow and doesn't show rssi Jun 28 16:38:40 I'm just bisecting wpasupplicant :) Jun 28 16:38:41 I had to port forward the kernel Jun 28 16:38:45 I didn't do it Jun 28 16:38:48 wifi is complicated business Jun 28 16:39:28 lol indeed Jun 28 16:39:30 eek, there's no locale by default Jun 28 16:39:36 I've issue with every android phoen with wifi Jun 28 16:39:40 first htcdream Jun 28 16:39:43 then bcm4329 Jun 28 16:39:54 (nexus one and nexus S) Jun 28 16:42:17 bisect done :) Jun 28 17:05:45 yay, dwm and dmenu compiled Jun 28 17:14:42 hmm, why does it ignore shell I set up in /etc/passwd? I set it to /usr/bin/zsh but ssh still logs in to sh (why it's in usr anyway) Jun 28 17:23:53 GNUtoo-hplaptop: which git repo is fsousaged in? Jun 28 17:24:07 ccxCZ, cornucopia Jun 28 17:25:01 ah, it's vala Jun 28 17:25:18 lowlevel_android I presume Jun 28 17:27:17 yes Jun 28 17:27:30 you'll have to test if the current version still work Jun 28 17:27:47 because it was not tested on htcdream since a long time ago at shr-unstable times Jun 28 17:27:59 else just revert the changes made for the nexus S Jun 28 17:29:19 well, so far looking at it it seems trivial enough to rewrite to shell Jun 28 17:30:04 so, how would I set the proper wakeup events, here on shr-testing? Jun 28 17:30:58 basically it works that way Jun 28 17:31:13 do you know how wakelocks work? Jun 28 17:31:53 on droid? fwiu apps hold locks and when the last lock is released the device is put to sleep on inactivity Jun 28 17:32:10 let me explani then Jun 28 17:32:17 because it's at lower level Jun 28 17:32:42 basically the phone will suspend if no wakelocks is held Jun 28 17:32:50 if a wakelock is held Jun 28 17:32:56 like the music wakelock for instance Jun 28 17:33:04 the screen will power off etc... Jun 28 17:33:11 but it won't really suspend Jun 28 17:33:18 now.... Jun 28 17:33:36 when you do echo mem > /sys/power/state the phone will power off the screen etc... Jun 28 17:33:39 but not suspend yet Jun 28 17:33:50 it will suspend when no more activity is present Jun 28 17:34:10 so to suspend, stop activity and echo mem > /sys/power/state Jun 28 17:34:19 so remove the wakelocks etc... Jun 28 17:34:36 then to go back on you echo on > /sys/power/state Jun 28 17:34:43 now how does telephony suspend/resume work: Jun 28 17:34:49 the phone real-suspends Jun 28 17:35:52 go on Jun 28 17:35:58 ok Jun 28 17:36:02 now how does telephony suspend/resume work: Jun 28 17:36:13 before suspending you run some code: Jun 28 17:36:23 for instance a code that looks up for a key press Jun 28 17:36:34 and does echo on > /sys/power/state when it's pressed Jun 28 17:36:40 (that's what fsousaged does) Jun 28 17:36:51 so then when the phone real-suspends Jun 28 17:36:57 the code will be suspended Jun 28 17:37:02 but when there is an event Jun 28 17:37:18 such as a phone calls Jun 28 17:37:36 the kernel will tell the userspace in a sysfs or procfs node Jun 28 17:37:59 can I set timer too? I'd like to have some cron/alarmclock/etc. Jun 28 17:38:01 the userspace code will see that Jun 28 17:38:09 and will get the resume reason Jun 28 17:38:18 and will decide to resume or not Jun 28 17:38:38 and when the event wakes up the phone, the userspace is in a mode such that it can run Jun 28 17:38:45 but screen is powered off Jun 28 17:38:54 I've no idea about timer Jun 28 17:38:58 we didn't look into it Jun 28 17:39:01 k Jun 28 17:39:18 but I guess it should work with a bit of work Jun 28 17:39:41 is this kernel/user interface documented somewhere? Jun 28 17:40:19 only in source code Jun 28 17:41:26 but if you're at it you can document it on fso wiki if you want Jun 28 17:41:52 k, will see into that laters Jun 28 17:42:24 now I'll try to xmodmap the power key to XF86PowerOff and see if it does anything Jun 28 17:42:39 ok Jun 28 17:42:52 the key configuration screen is way too big to fit on the display :/ Jun 28 17:43:13 ssh -Y maybe Jun 28 17:43:54 what's the app name? Jun 28 17:44:35 ? Jun 28 17:44:39 what do you mean? Jun 28 17:45:02 for the e configuration screen, or do I have to run whole wm for that? Jun 28 18:21:46 SHR: 03Martin.Jansa 07shr-chroot * rd2adf136286a 10/ (12 files in 6 dirs): bitbake upgrade Jun 28 18:21:46 SHR: 03Martin.Jansa 07shr-chroot * r9c7c4787fec7 10/ (21 files in 8 dirs): bitbake upgrade Jun 28 18:21:47 SHR: 03Martin.Jansa 07shr-chroot * r0c70e230e2bc 10/ (326 files in 31 dirs): system upgrade Jun 28 18:21:57 SHR: 03Martin.Jansa 07shr-chroot * re3ad70a93671 10/ (577 files in 62 dirs): system upgrade Jun 28 19:43:35 SHR: 03shr-devel 07buildhistory * rb5712bdde329 10/packages/om_gta02-oe-linux-gnueabi/shr-version/ (latest shr-version/latest): packages: Build 201206282129 of shr 20120628 for machine om-gta02 on opmbuild Jun 28 20:05:50 SHR: 03shr-devel 07buildhistory * r36314a3ca0ca 10/packages/nokia900-oe-linux-gnueabi/shr-version/ (latest shr-version/latest): packages: Build 201206282152 of shr 20120628 for machine nokia900 on opmbuild Jun 28 20:20:47 GNUtoo-hplaptop: I can just flash shr's boot.fastboot onto the recovery partition and boot it instead of recovery, right? Jun 28 20:21:03 yes right Jun 28 20:21:12 that's the way to dual-boot Jun 28 20:21:43 you've got boot,recovery and you can even boot without flashring trough fastboot boot ./boot.fastboot Jun 28 20:21:58 good, I'll probably do that, now the system is actually pretty useable Jun 28 20:22:14 yeah, booting via usb cable now Jun 28 20:48:29 SHR: 03shr-devel 07buildhistory * r5554a7909e76 10/packages/armv4t-oe-linux-gnueabi/ (28 files in 28 dirs): packages: Build 201206282223 of shr 20120628 for machine om-gta02 on opmbuild Jun 28 21:18:24 SHR: 03shr-devel 07buildhistory * r9ae3f7a7bc3a 10/packages/armv7a-vfp-neon-oe-linux-gnueabi/ (28 files in 28 dirs): packages: Build 201206282257 of shr 20120628 for machine nokia900 on opmbuild Jun 28 21:41:20 SHR: 03shr-devel 07buildhistory * r0212cd54e179 10/packages/om_gta04-oe-linux-gnueabi/shr-version/ (latest shr-version/latest): packages: Build 201206282327 of shr 20120628 for machine om-gta04 on opmbuild Jun 28 22:04:31 SHR: 03shr-devel 07buildhistory * r53266d04866c 10/images/crespo/eglibc/chroot-image/ (5 files): images: Build 201206282350 of shr 20120628 for machine crespo on opmbuild Jun 28 22:04:41 SHR: 03shr-devel 07buildhistory * r1a321d2d96d5 10/packages/crespo-oe-linux-gnueabi/shr-version/ (latest shr-version/latest): packages: Build 201206282350 of shr 20120628 for machine crespo on opmbuild Jun 28 22:26:46 SHR: 03shr-devel 07buildhistory * r848b8f9a9e75 10/packages/palmpre-oe-linux-gnueabi/shr-version/ (latest shr-version/latest): packages: Build 201206290013 of shr 20120628 for machine palmpre on opmbuild Jun 28 22:49:20 SHR: 03shr-devel 07buildhistory * rb0988d5e0a13 10/packages/palmpre2-oe-linux-gnueabi/shr-version/ (latest shr-version/latest): packages: Build 201206290035 of shr 20120628 for machine palmpre2 on opmbuild Jun 28 23:16:56 SHR: 03shr-devel 07buildhistory * re18193952ccb 10/images/om_gta02/eglibc/shr-image/ (5 files): images: Build 201206290051 of shr 20120628 for machine om-gta02 on opmbuild Jun 28 23:43:19 SHR: 03shr-devel 07buildhistory * rdd8a3e38b41b 10/images/nokia900/eglibc/shr-image/ (5 files): images: Build 201206290120 of shr 20120628 for machine nokia900 on opmbuild Jun 28 23:58:11 my rebuild completed today Jun 28 23:58:23 mrmoku, hi Jun 28 23:58:57 JaMa, do you remember how the following bug got resolved on gta02: it rings and then the call is silent, you disable the ring and it works Jun 28 23:59:02 it hit gta04 too Jun 29 00:08:34 SHR: 03shr-devel 07buildhistory * r43e4f2897200 10/images/om_gta04/eglibc/shr-image/ (5 files): images: Build 201206290145 of shr 20120628 for machine om-gta04 on opmbuild Jun 29 00:33:35 SHR: 03shr-devel 07buildhistory * r4621ddea17ea 10/images/crespo/eglibc/ (8 files in 2 dirs): images: Build 201206290210 of shr 20120629 for machine crespo on opmbuild **** ENDING LOGGING AT Fri Jun 29 02:59:58 2012