| 03:46.39 | *** join/#htc-blueangel cp15 (i=ihcdmt@p549A10AB.dip0.t-ipconnect.de) |
| 03:46.39 | *** mode/#htc-blueangel [+o cp15] by ChanServ |
| 09:19.08 | *** part/#htc-blueangel lamikr (n=chatzill@aragorn.kortex.jyu.fi) |
| 09:44.58 | *** join/#htc-blueangel lamikr (n=chatzill@aragorn.kortex.jyu.fi) |
| 10:28.30 | cp15 | Hi lamikr, I have tested your patch and it works fine here |
| 10:29.26 | cp15 | I added a blueangel config block and commited it into cvs |
| 10:29.36 | lamikr | Hi cp15: Thanks for info. |
| 10:29.54 | cp15 | It should be in public cvs in a few hours (sourceforge mirrors it, it seems...) |
| 10:30.42 | lamikr | Well, I need to go to downtown anyway, so that's fine... Do you mind if I make new version to oe from this? |
| 10:31.39 | cp15 | Ehmm... Please explain |
| 10:33.32 | lamikr | I think there is some old gomunicator snapshot available in the oe packages... So that people are able to build it by using "bitbake gomunicator" command... I could make newer snapshot soon. Or to make it always building the newest version from cvs. |
| 10:33.57 | cp15 | It does already build the newest version, I think |
| 10:34.42 | lamikr | Oh, then I will not do nothing. :-) (I had not checked from where it took the sources earlier) |
| 10:35.03 | lamikr | Is blueangel using alsa or oss based soundriver? |
| 10:35.06 | cp15 | But you may need to delete the stamps and the old sources to get the newest version |
| 10:35.15 | cp15 | alsa |
| 10:36.09 | cp15 | There is a dependency in gomunicator to use alsa, so I hope you are also using alsa |
| 10:37.21 | lamikr | Well, we are not yet sofar but that is the plan... We have oss based soundriver but that is not finished. (mixer settings not available, can only play via headphone) |
| 10:37.37 | lamikr | But I have just started to work with the tsc-2101 based alsa sound driver but I am really newbie and may need some help with basic stuff... |
| 10:38.13 | lamikr | Are you here later today, if I ask some help? |
| 10:38.49 | cp15 | Most likely, but I am afraid I am not of much help. I simply took existing stuff and modified it a bit |
| 10:40.46 | lamikr | Well, the one who made the oss sounddiver, made also the alsa driver startup so I do not need to start from scratch... The problem is that he broke her ipaq, so he wrote the driver without testing it and can not help much. |
| 10:41.30 | cp15 | Ok, feel free to ask... But maybe I don't know the answer :-) |
| 10:43.16 | lamikr | Ok... Here comes first basic thing... I modprobes, soundcore, snd-omap-tsc2101, snd-pcm are there something else I should do in theory? (like set some aliases, create /dev nodes, etc...) |
| 10:44.33 | cp15 | You also need snd_pcm_oss and snd_mixer_oss to actually use the sound |
| 10:45.33 | lamikr | Ok, I need to build new kernel as I have those modules... |
| 10:47.05 | lamikr | OSS sound driver created /dev/dsp node and after that I could simply play the wav files with simply calling "cat music.wav /dev/dsp". Do I need to do same node also for alsa after modprobing snd_pcm_oss and snd_mixer_oss? |
| 10:47.29 | lamikr | (writing too fast: "create same node" ...) |
| 10:48.19 | cp15 | If you use devfs it should appear automatically |
| 10:48.28 | cp15 | If not, you have to create it |
| 10:49.18 | lamikr | I wish I were using devfs, but we moved to 2.6.14 kernel and it uses udev... It means that I may need to edit udev rules if somebody else has not done that yet :-( |
| 10:51.39 | lamikr | But I think I can create it by hand with "mknode /dev/dsp c 14" |
| 10:52.06 | lamikr | I need to go now for a while but thanks, that will let me to go forward. |
| 11:18.52 | lkcl | ello |
| 11:19.50 | cp15 | Hello lkcl |
| 11:20.29 | lkcl | hiya cp15. what can i help screw up today? |
| 11:21.51 | cp15 | Well, how far is your gpe image? |
| 11:22.23 | lkcl | oh, it completed fine - it boots fine, but remember? as you suspected, screen, keyboard, usb don't work |
| 11:22.37 | cp15 | Ok, I will tell you what needs to be changed |
| 11:22.59 | lkcl | hurrah :) |
| 11:23.11 | cp15 | But you have to find out how to integrate it into openembedded |
| 11:23.22 | lkcl | burble. okay. |
| 11:23.36 | cp15 | And it would be nice if you could publish the changes against oe somewhere |
| 11:23.43 | lkcl | ack. |
| 11:23.54 | lkcl | does monotone have a "diff" function, then? :) |
| 11:24.06 | cp15 | Hmm... Let me check |
| 11:24.34 | lkcl | monotone informative diff - yes, apparently |
| 11:24.59 | lkcl | yep, it's got a diff command, hurrah. |
| 11:25.24 | cp15 | Ok, first thing is to add SRC_URI_append_blueangel = " file://disable-apm.patch;patch=1" |
| 11:25.32 | cp15 | to packages/xserver/xserver-kdrive_20050207.bb |
| 11:25.39 | cp15 | to get suspend working |
| 11:25.52 | cp15 | That was the easy part :-) |
| 11:26.08 | lkcl | oh damn i'm on a different machine from irc so i have to _type_ these... *sigh*... |
| 11:26.25 | cp15 | Maybe you can save the log? |
| 11:26.34 | lkcl | yep. doin dat.... |
| 11:27.15 | lkcl | done. |
| 11:27.18 | lkcl | wossnext. |
| 11:27.28 | cp15 | Ok, create a file /usr/share/tslib/ts.conf-blueangel |
| 11:27.30 | cp15 | content: |
| 11:27.54 | cp15 | module_raw input |
| 11:27.54 | cp15 | module pthres pmin=1 |
| 11:27.54 | cp15 | module variance delta=30 |
| 11:27.54 | cp15 | module dejitter delta=100 |
| 11:27.54 | cp15 | module linear |
| 11:28.01 | lkcl | the file needs to be _on_ the ba |
| 11:28.21 | cp15 | Yes, check the oe files, some other architectures already created similar files |
| 11:28.43 | cp15 | Everything I mention now has to be done in the image |
| 11:29.09 | cp15 | Replace /etc/profile.d/tslib.sh with the following: |
| 11:29.25 | cp15 | #!/bin/sh |
| 11:29.25 | cp15 | TSLIB_TSDEVICE=/dev/input/event0 |
| 11:29.25 | cp15 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-blueangel |
| 11:29.25 | cp15 | export TSLIB_TSDEVICE TSLIB_CONFFILE |
| 11:29.26 | *** join/#htc-blueangel iclem (n=chatzill@iclem.net) |
| 11:29.53 | lkcl | ack. |
| 11:29.56 | cp15 | In /etc/network/interfaces do the following: |
| 11:30.47 | cp15 | replace auto lo with auto lo usb0 |
| 11:30.47 | lkcl | duh of course |
| 11:30.47 | cp15 | in the section interface usb0 |
| 11:30.48 | cp15 | set address to 192.168.0.206 |
| 11:30.48 | cp15 | set gateway to 192.168.0.205 |
| 11:31.25 | cp15 | create a file /etc/modutils/zblueangel_kp with content "blueangel_kp" |
| 11:31.37 | lkcl | do we _want_ to be doing that [enabling networking} by default? |
| 11:32.18 | cp15 | Yes, it makes debugging problems much easier. If neither the touchscreen nor the keyboard works, you can still log in via usb |
| 11:32.25 | lkcl | duh. true. |
| 11:32.58 | lkcl | where am i gonna _put_ all this stuff? :) |
| 11:32.59 | cp15 | Create a file /etc/modutils/himalaya_ts3 with content "himalaya_ts3" and "evdev" (2 lines) |
| 11:33.28 | cp15 | Create a file /etc/modutils/g_ether with content "g_ether" |
| 11:33.48 | lkcl | this is of course all the "sensible" stuff that's obvious once you think about it... |
| 11:34.34 | cp15 | Create a file /etc/modutils/blueangel_audio with content "i2c-pxa","snd-uda1380","blueangel-audio","snd-mixer-oss","snd-pcm-oss" (one line each) |
| 11:35.00 | cp15 | Add the following to /etc/X11/gpe-login.pre-session |
| 11:35.16 | cp15 | if [ -e /dev/tts/0 ]; then |
| 11:35.16 | cp15 | chown $USER /dev/tts/0 |
| 11:35.16 | cp15 | fi |
| 11:35.16 | cp15 | if [ -e /dev/snd/controlC0 ]; then |
| 11:35.17 | cp15 | chown $USER /dev/snd/controlC0 |
| 11:35.19 | cp15 | fi |
| 11:35.57 | lkcl | ack |
| 11:36.02 | cp15 | Create a file /etc/X11/blueangel.xmodmap with following content: |
| 11:36.23 | cp15 | !keycode 67 = XF86Start |
| 11:36.23 | cp15 | !keycode 68 = XF86Mail |
| 11:36.23 | cp15 | !keycode 69 = Menu |
| 11:36.23 | cp15 | !keycode 70 = XF86Go |
| 11:36.23 | cp15 | keycode 71 = XF86Book |
| 11:36.24 | cp15 | keycode 72 = XF86Calendar |
| 11:36.26 | cp15 | keycode 73 = XF86Phone |
| 11:36.28 | cp15 | keycode 74 = Cancel |
| 11:36.30 | cp15 | keycode 75 = XF86AudioRecord |
| 11:36.32 | cp15 | keycode 76 = XF86Video |
| 11:36.34 | cp15 | keycode 122 = XF86AudioLowerVolume |
| 11:36.36 | cp15 | keycode 123 = XF86AudioRaiseVolume |
| 11:36.38 | cp15 | keycode 124 = XF86PowerDown |
| 11:36.43 | cp15 | add the following to etc/X11/Xinit.d/12keymap |
| 11:36.57 | cp15 | <PROTECTED> |
| 11:36.57 | cp15 | <PROTECTED> |
| 11:36.57 | cp15 | <PROTECTED> |
| 11:37.37 | cp15 | Thats all I have in my pipeline for now |
| 11:37.41 | lkcl | ack. |
| 11:37.49 | lkcl | lkcl@highfield:~/blueangel$ ls |
| 11:37.49 | lkcl | 12keymap g_ether interfaces zblueangel_kp |
| 11:37.49 | lkcl | blueangel.xmodmap gpe-login.pre-session ts.conf-blueangel |
| 11:37.49 | lkcl | blueangel_audio himalaya_ts3 tslib.sh |
| 11:38.00 | cp15 | One thing is missing |
| 11:38.20 | lkcl | oh-ah? |
| 11:38.40 | cp15 | in conf/machine/blueangel.conf there are a lot of modules missing |
| 11:38.59 | cp15 | You probably have to add them |
| 11:39.24 | lkcl | BA_MODULES_kernel26 = "evdev tsdev himalaya_tsc2200 himalaya_ts3 asic3_mmc mmc_core g_ether blueangel_battery |
| 11:39.38 | lkcl | pcmcia_core hci_uart blueangel_pcmcia snd-mixer-oss blueangel_audio |
| 11:39.43 | lkcl | blueangel_rom blueangel_kp |
| 11:39.45 | lkcl | any more? |
| 11:40.44 | cp15 | I will check |
| 11:43.42 | cp15 | bluetooth ext3 fat hidp i2c_core i2c_pxa jbd l2cap mmc_block msdos nls_base nls_cp437 nls_iso8859_1 pcmcia pcmcia_core pxa2xx_core pxa2xx_udc rfcomm snd snd_mixer_oss snd_page_alloc snd_pcm snd_pcm_oss snd_pxa_i2s snd_timer snd_uda1380 soundcore ssp vfat |
| 11:44.54 | cp15 | Hmm... The _ are probably incorrect |
| 11:45.00 | lkcl | that's the extra ones or duplicates |
| 11:46.18 | lkcl | where am i _putting_ all this stuff? :) |
| 11:47.29 | lkcl | aw no - don't tell me i'm submitting patches against all the packages. waaah! :) |
| 11:48.00 | cp15 | Just a moment, I will give you a corrected list and then will see how I can help you |
| 11:48.07 | lkcl | he he ack. |
| 11:48.17 | lkcl | am just gonna get some breakfast (porridge, yumm) |
| 11:48.21 | lkcl | brb, k? |
| 11:48.29 | cp15 | Ok |
| 11:49.59 | lkcl | http://science.slashdot.org/article.pl?sid=05/12/09/1544239&tid=153&tid=14&tid=219 |
| 11:50.12 | lkcl | sorry - had to share that with you. |
| 11:54.18 | cp15 | Here is the corrected list: |
| 11:54.25 | cp15 | bluetooth ext3 fat hidp i2c-core i2c-pxa jbd l2cap mmc_block msdos nls_base nls_cp437 nls_iso8859-1 pcmcia pcmcia_core pxa2xx_core pxa2xx_udc rfcomm snd snd-page-alloc snd-pcm snd-pcm-oss snd-pxa-i2s snd-timer snd-uda1380 soundcore ssp vfat |
| 12:35.36 | lkcl | okay, am back. |
| 12:35.52 | lkcl | just a quick phone call to a friend :) |
| 12:36.19 | cp15 | Ok, add the modules I mentioned above to the blueangel config |
| 12:36.48 | lkcl | ack... 1mo |
| 12:38.34 | lkcl | done. |
| 12:39.06 | lkcl | gimme 1sec to sort|uniq them... |
| 12:39.22 | lkcl | the original list has pcmcia-core and the above has pcmcia_core |
| 12:40.31 | cp15 | pcmcia_core is correct |
| 12:40.39 | lkcl | ack |
| 12:41.03 | cp15 | Actually I did a lookup on /lib/modules, so the list should be correct |
| 12:41.05 | lkcl | complete list: |
| 12:41.08 | lkcl | asic3_mmc blueangel_audio blueangel_battery blueangel_kp blueangel_pcmcia blueangel_rom bluetooth evdev ext3 fat g_ether hci_uart hidp himalaya_ts3 himalaya_tsc2200 i2c-core i2c-pxa jbd l2cap mmc_block mmc_core msdos nls_base nls_cp437 nls_iso8859-1 pcmcia pcmcia_core pxa2xx_core pxa2xx_udc rfcomm snd snd-mixer-oss snd-page-alloc snd-pcm snd-pcm-oss snd-pxa-i2s snd-timer snd-uda1380 soundcore ssp tsdev vfat |
| 12:41.28 | cp15 | Ok, looks good |
| 12:42.32 | lkcl | next :) |
| 12:42.33 | *** join/#htc-blueangel rob_w (n=bob@p85.212.130.212.tisdip.tiscali.de) |
| 12:42.33 | *** mode/#htc-blueangel [+o rob_w] by ChanServ |
| 12:42.37 | lkcl | allo rob |
| 12:42.46 | cp15 | The touch screen files should go under packages/tslib/tslib |
| 12:43.25 | cp15 | You need to modify tsliv_cvs.bb to get them used |
| 12:43.39 | lkcl | there's already a tslib.sh |
| 12:43.59 | cp15 | Yes, you have to mkdir blueangel |
| 12:44.05 | cp15 | and put the tslib.sh in there |
| 12:44.19 | rob_w | hi |
| 12:44.24 | lkcl | oh drat :) |
| 12:44.31 | rob_w | i ve added tslib patches in oe bugzilla |
| 12:44.48 | cp15 | Where? |
| 12:45.16 | rob_w | cp15, your latest patch looks like a vacuum cleaner -> getting rid of all the beginner hacks .. .good job , thanks |
| 12:45.33 | cp15 | Which patch? |
| 12:46.25 | rob_w | the patch(s) to gomunicator |
| 12:46.43 | cp15 | You have to thank lamikr, it was his work |
| 12:47.30 | rob_w | bug 515 and 516 |
| 12:48.49 | lkcl | i'm looking at ts bb file - there's nothing clearly saying "install tslib.sh-{$machine} as tslib.sh... |
| 12:50.37 | cp15 | Just a moment |
| 12:50.52 | rob_w | -h3600 | h3900 | h1940 | h6300 | h2200 | ipaq-pxa270) |
| 12:50.53 | rob_w | +h3600 | h3900 | h1940 | h6300 | h2200 | ipaq-pxa270 | blueangel) |
| 12:51.04 | rob_w | that will be checked in soon to tslib_cvs.bb |
| 12:51.06 | lkcl | am i putting the ts.conf in tslib/blueangel.. |
| 12:51.08 | lkcl | ack. |
| 12:51.57 | rob_w | hmm but it might be not enough yet |
| 12:52.27 | cp15 | The 515 looks ok, but I think we need a better solution for 516 |
| 12:53.36 | rob_w | yeah tslib looks very "redundant" ;-) |
| 12:54.57 | lkcl | burble burble... next!! |
| 12:55.54 | cp15 | Hmm... Either we make up a new section blueangel or we make a tslib.sh for blueangel which refers to ts.conf-h3600 |
| 12:56.00 | cp15 | Opinions? |
| 12:56.11 | lkcl | new section |
| 12:56.56 | rob_w | h3600 |
| 12:57.55 | cp15 | I think I would also use a new section since it gives us a bit more flexibility |
| 12:58.38 | lkcl | plus what if someone gets himalaya going? |
| 12:58.43 | cp15 | But the long term solution would be to make the tslib_cvs.bb cleaner |
| 12:58.52 | lkcl | yerk. |
| 12:59.15 | cp15 | Ok, for I think we add blueangel) |
| 12:59.24 | lkcl | done. i think. |
| 12:59.33 | cp15 | Ok |
| 12:59.39 | cp15 | Then next... |
| 12:59.56 | lkcl | 12keymap? |
| 13:00.04 | cp15 | The network interface |
| 13:00.07 | cp15 | Let me look |
| 13:00.10 | lkcl | ack. interface. |
| 13:00.27 | lkcl | packages/netbase |
| 13:01.44 | cp15 | Yeah, create a new directory blueangel, copy interfaces in it and modify it |
| 13:02.08 | lkcl | there's nothing obvious in the bb file saying how that gets copied, though. |
| 13:02.27 | lkcl | $WORKDIR? |
| 13:03.22 | cp15 | I assume it is copying the files from SRC_URI to workdir |
| 13:03.39 | lkcl | suggestions on gateway: .205? |
| 13:03.46 | cp15 | and a file in $MACHTYPE has priority over a file in the main directory |
| 13:03.48 | cp15 | yes |
| 13:03.53 | lkcl | ack. and ack. |
| 13:04.06 | lkcl | no bluetooth yet, i assume. |
| 13:04.27 | lkcl | ok, done. |
| 13:04.47 | lkcl | next. |
| 13:04.49 | cp15 | bluetooth works, but lets see that we get the essential stuff into the image first |
| 13:04.52 | lkcl | ack., |
| 13:05.11 | lkcl | modules? |
| 13:05.37 | cp15 | Ok, for the module loading stuff, try robs changes from http://bugs.openembedded.org/show_bug.cgi?id=515 |
| 13:05.40 | rob_w | duh . my ftp user at gnulinx.biz has no write rights .. |
| 13:06.10 | cp15 | Maybe I have to chmod some directories |
| 13:06.17 | cp15 | What do you want to upload? |
| 13:06.21 | rob_w | cp15, where ? |
| 13:06.34 | rob_w | *my gomunicator build * |
| 13:06.47 | cp15 | Ah, ok... Just a moment, I will check |
| 13:06.57 | lkcl | the module_autoload events stuff |
| 13:07.07 | rob_w | i gues my users needs to be in the groups |
| 13:07.12 | lkcl | i also found packages/modutils/files/XXXX/modules |
| 13:08.15 | *** join/#htc-blueangel iclem (n=clement@iclem.net) |
| 13:08.32 | lkcl | okay, ?id=515 - done. |
| 13:09.02 | lkcl | next. |
| 13:09.09 | lkcl | hiya iclem |
| 13:09.17 | iclem | hi |
| 13:09.43 | lkcl | gpe-login |
| 13:09.56 | iclem | lkcl: do you still own a Himalaya device |
| 13:10.03 | lkcl | am just going through a set of changes to the gpe-image stuff, with cp15, iclem |
| 13:10.06 | lkcl | yeh i do, iclem. |
| 13:10.30 | lkcl | i just wiped the SD card with my old bzImage and kernel etc. on it, though (it was 2.6.3 anyway) |
| 13:10.49 | cp15 | llange got the 2.6.12 kernel to work on himalaya |
| 13:11.00 | lkcl | _excellent!_ |
| 13:11.36 | cp15 | Ok, for the gpe pre session you have to create a patch and put it into gpe-login/files |
| 13:11.50 | lkcl | hmmm ... gpe-login.pre-session: it's a hack job or a patch job argh. it's a patch job. |
| 13:12.30 | cp15 | Then add SRC_URI_append_blueangel = " file://your.patch;patch=1" |
| 13:12.53 | lkcl | ack |
| 13:13.18 | cp15 | Ok, the xmodmap |
| 13:13.25 | lkcl | for gpe-login_0.83.bb |
| 13:13.41 | lkcl | or just ... all of them? :) |
| 13:17.35 | cp15 | Hmm... No, I think it should be in gpe-session-scripts. But since I nowhere found collie.xmodmap, lets just skip it for now, it does nothing usable right now anyway |
| 13:18.27 | lkcl | hmm... which of the gpe-login.bb things is "current"? |
| 13:18.50 | lkcl | and why is the 0.75 and 0.76 the only ones referencing pre-session.patch |
| 13:19.10 | lkcl | but pre-session is modded despite tmp/work containing 0.83?? |
| 13:19.10 | cp15 | Good question |
| 13:19.39 | lkcl | oh drat it's because there's a busybox-bad-perms.patch |
| 13:19.46 | lkcl | which contains the _same_ stuff... *sigh* |
| 13:20.08 | cp15 | I found the xmodmap. It is in initscripts |
| 13:24.21 | lkcl | gpe-login - done. |
| 13:24.26 | lkcl | ack xmodmap... |
| 13:25.10 | lkcl | how do i "add" files to monothingy? |
| 13:25.42 | lkcl | monotone add filename duh |
| 13:26.08 | cp15 | And another thing which is missing comes into my mind: |
| 13:26.24 | cp15 | Add GPE_EXTRA_INSTALL += "gomunicator" to blueangel.conf |
| 13:27.04 | lkcl | ack. |
| 13:27.07 | cp15 | and GPE_EXTRA_DEPENDS += "gomunicator" |
| 13:27.12 | cp15 | sorry :-) |
| 13:27.19 | lkcl | np. done. |
| 13:27.37 | cp15 | Then lets see what we get now |
| 13:28.04 | lkcl | lemme just do a monotone add of stuff |
| 13:28.25 | cp15 | rob_w: Sorry, can't change the permissions |
| 13:30.39 | lkcl | http://hands.com/~lkcl/blueangel.gpe.patch |
| 13:30.44 | lkcl | okay. |
| 13:31.06 | lkcl | how do i start a build - _without_ wiping out stuff i've already got! it took 5 hours last time! |
| 13:32.17 | cp15 | Hmm... Just remove the stamps from the packages you modified and do the bitbake again |
| 13:32.20 | rob_w | bitbake -c clean path/to/.bb |
| 13:32.30 | lkcl | yaay - at least ccache was used. |
| 13:32.30 | lkcl | ack. |
| 13:32.38 | rob_w | then you can build a single via bitbake -b path/to/bb |
| 13:32.46 | cp15 | Yes, rob_s solution is better |
| 13:33.34 | rob_w | so for the image you do -c clean -b org.xx/packages/meta/gpe-image.bb |
| 13:34.26 | lkcl | hang on - just to check: can i add several .bbs onto the end? |
| 13:36.03 | lkcl | [am just about to find out...] |
| 13:36.24 | rob_w | gomunicator sorts nicely between all the gnome-xx and gpe-xx packages :-D |
| 13:37.02 | *** join/#htc-blueangel JuNuKN (n=JuNuKN@Kb3cc.k.pppool.de) |
| 13:43.29 | rob_w | Funklord_, could you check my ftp user permissions , i cant write to the folders -> groups?! |
| 13:43.41 | lkcl | damn the bb cache thing takes forever. |
| 13:43.58 | lkcl | is there a quicker way - deleting the files in e.g. tmp/work manually? |
| 13:44.02 | rob_w | lkcl, do you use psyco ? |
| 13:44.18 | lkcl | no, because this is on an AMD64 system. |
| 13:44.47 | lkcl | ERROR: nothing provides ../org.openembedded.dev/packages/gpe-login/gpe-login_0.83.bb |
| 13:44.56 | rob_w | when you did build your image already then you only bzuild the chanegd packages .. |
| 13:45.42 | rob_w | also gpe-image is a bb file so you clean your packages and then clean the gpe-image bb and build only that via -b |
| 13:45.53 | lkcl | so i don't have to do the -c clean thing, i can just do -c clean -b org....gpe-image.bb and it will work out the dependencies? |
| 13:45.54 | rob_w | lkcl, you forgot -b |
| 13:46.05 | lkcl | ah. right. |
| 13:46.33 | rob_w | -b has no dependancy`s |
| 13:46.44 | rob_w | so you need to figure them out |
| 13:57.01 | lkcl | hmmm.... disable_apm is already applied, cp15. |
| 13:59.27 | lkcl | soup. gonna get some soup... |
| 14:22.04 | lkcl | burbleburble... tslib stuffed... |
| 14:26.54 | lkcl | okay dat better i missed a file from the SRC_URI |
| 14:27.49 | *** join/#htc-blueangel rob_w (n=bob@p85.212.141.40.tisdip.tiscali.de) |
| 14:27.49 | *** mode/#htc-blueangel [+o rob_w] by ChanServ |
| 14:29.44 | *** join/#htc-blueangel dullard (n=jim@adsl-static-1-30.uklinux.net) |
| 14:41.10 | lkcl | okay. built. |
| 14:41.48 | lkcl | la la la... |
| 14:45.38 | lkcl | booooot.... |
| 14:46.20 | lkcl | black screen... |
| 14:46.22 | lkcl | gpe 2.7... |
| 14:46.54 | lkcl | heeave, heeave... |
| 14:48.30 | lkcl | zzz... |
| 14:48.48 | lkcl | why does the boot take so long??? |
| 14:49.09 | cp15 | On the first boot all installed packages are configured |
| 14:49.16 | lkcl | oh, right |
| 14:49.29 | lkcl | ah, here we go... |
| 14:49.53 | lkcl | oh BOLLOCKS :) no ts :) |
| 14:50.00 | cp15 | usb? |
| 14:50.22 | lkcl | nope :) |
| 14:50.27 | cp15 | keyboard? |
| 14:50.36 | lkcl | hang on... lemme check that... |
| 14:50.57 | lkcl | how can i tell if kb working? |
| 14:51.05 | cp15 | Probably not of much help, since you are in the touchscreen calibration |
| 14:51.11 | lkcl | yeh :)# |
| 14:51.20 | cp15 | Do you have a good uplink? |
| 14:51.42 | lkcl | 128k/sec |
| 14:51.51 | lkcl | 128kbits/sec - about 30k/sec |
| 14:51.58 | lkcl | 32mb... |
| 14:51.59 | cp15 | How large is the image? |
| 14:52.03 | cp15 | Ok |
| 14:52.13 | lkcl | 1066 seconds. |
| 14:52.19 | lkcl | 17 mins upload time. |
| 14:52.20 | cp15 | about 20 minutes |
| 14:52.29 | cp15 | send it to me, I will test it |
| 14:52.34 | lkcl | ack. |
| 14:52.40 | cp15 | I have a serial cable which makes life much easier |
| 14:52.48 | lkcl | k. |
| 14:54.49 | lkcl | it's on its way to http://hands.com/~lkcl/gpe-image-blueangel-20051210143530.rootfs.tar.bz2 |
| 14:54.56 | lkcl | anyway. |
| 14:55.01 | lkcl | in the meantime, let's see what i can fix :) |
| 14:56.33 | cp15 | Are you working for hands.com? |
| 14:56.43 | lkcl | no. phil's a friend of mine. |
| 14:57.13 | cp15 | Is the 1075 Pounds per day serious? |
| 14:57.18 | lkcl | yep. |
| 14:57.27 | cp15 | Then I am way too cheap :-) |
| 14:57.33 | lkcl | except that most of his clients aren't paying clients... |
| 14:58.16 | lkcl | okay - evdev should have been put into etc/modutils somewhere shouldn't it |
| 14:58.25 | lkcl | by the autoload thing. |
| 14:58.29 | cp15 | Yes, I hope |
| 14:58.49 | lkcl | well it ain't. what should i have rebuilt in order for that to happen? |
| 14:58.56 | lkcl | kernel? |
| 14:59.01 | lkcl | modutils.bb? |
| 14:59.06 | cp15 | Let me check |
| 15:00.01 | cp15 | BTW: I think you can stop your upload then |
| 15:01.18 | lkcl | yeh :) |
| 15:01.28 | lkcl | packages/linux/handhelds-pxa-2.6_something? |
| 15:01.41 | lkcl | these contain "autoload" keywords |
| 15:02.08 | cp15 | Rebuild packages/linux/xanadux-ba-2.6_2.6.12.bb |
| 15:02.17 | lkcl | ack. |
| 15:02.37 | cp15 | this references kernel.bbclass which uses the autoloads |
| 15:02.59 | lkcl | *sigh*... thank goodness for ccache... |
| 15:03.36 | lkcl | ... i think :) |
| 15:03.54 | lkcl | yep. whew. |
| 15:04.29 | lkcl | wheeeee :) |
| 15:05.39 | lkcl | done!! _excellent_ - i love ccache :) |
| 15:08.03 | lkcl | LAAND OFF HOOPE AND GLLOOOOORRREEEEE, MUUTHERR OF THE FREEEEE SSHHHUUUUUUTTTUUUUUUPPP |
| 15:08.54 | lkcl | gpe-image done... |
| 15:10.43 | lkcl | untarring... mkdir oldroot... |
| 15:11.26 | lkcl | boot... |
| 15:12.06 | lkcl | i'm copying that gpe-image up there anyway, because i can use it to rsync against at a later date. |
| 15:12.34 | lkcl | why didn't i think of that earlier, and use the fast-link at hands.com to get the "older" gpe-image and rsync up against that, oh well :) |
| 15:12.52 | lkcl | gpe 2.7 booting please wait... |
| 15:14.00 | cp15 | rsync doesn't work well against compressed files |
| 15:14.29 | lkcl | yeh, it's not the brightest of algorithms. |
| 15:15.07 | lkcl | dang the package config takes forever... |
| 15:15.16 | lkcl | nother cup tea methinks... |
| 15:15.19 | lkcl | brb |
| 15:19.08 | lkcl | oh FRAK :) |
| 15:20.43 | lkcl | okay, the modutils files are now there... hmmm. |
| 15:21.08 | lkcl | hmmm. now do i need to use the kernel from the build i just did? |
| 15:22.07 | lkcl | *thinks*... |
| 15:23.02 | cp15 | No, the old kernel is ok |
| 15:23.18 | lkcl | then that's weird, cos the modules are there. |
| 15:23.43 | lkcl | it's the same version etc. - hmmm.. maybe not, because it's compiler-dependent. |
| 15:23.48 | cp15 | And it still doesn't work? |
| 15:23.51 | lkcl | oh, but the cross-compiler will be the same |
| 15:23.55 | lkcl | no it doesn't. |
| 15:24.02 | cp15 | no usb also? |
| 15:24.07 | lkcl | correct. |
| 15:24.31 | lkcl | any thoughts? |
| 15:24.34 | lkcl | relevant ones... |
| 15:25.13 | cp15 | But maybe you used a different compiler. Do a strings <any module> | grep vermagic |
| 15:25.50 | lkcl | 2.6.12-hh2 ARMv5 gcc-3.4 |
| 15:26.04 | cp15 | looks correct |
| 15:26.46 | cp15 | Ok, back to the former solution: Upload your image |
| 15:27.02 | lkcl | already on its way :) |
| 15:31.43 | lkcl | http://hands.com/~lkcl/gpe-image.tar.bz2 - yep, we got 17 mins to wait... |
| 15:31.53 | lkcl | in the meantime? |
| 15:33.16 | cp15 | Hmm... What I always wondered: why is it called himalaya_ts3? where did the "3" come from? |
| 15:33.32 | lkcl | 3rd development version of the touchscreen code, probably :) |
| 15:34.30 | cp15 | I usually use such a postfix when the module unloading crashed and you can't load a new module with the same name :-) |
| 15:35.14 | lkcl | :) |
| 15:35.40 | lkcl | ok - any suggestions on what to try next, in the next 15 mins, because i can? |
| 15:36.36 | cp15 | Hmm... I am thinking |
| 15:38.26 | lkcl | making a modification to /etc/init.d/rcS to add "lsmod" so i can see on-screen what's been loaded? |
| 15:38.53 | cp15 | Yeah, but disable the splash screen, or else you won't see anything at all |
| 15:40.48 | lkcl | which one's the splash - S02banner? |
| 15:41.05 | lkcl | nope - the one with "splash" in it :) |
| 15:43.21 | lkcl | on way... |
| 15:44.09 | lkcl | ah _ha_ |
| 15:44.20 | lkcl | snd_mixer_oss: Unknown symbol snd_info_register |
| 15:44.32 | Funklord_ | rob_w: all of you belong to the same group |
| 15:44.34 | lkcl | l2cap: unknown_symbol |
| 15:44.58 | lkcl | there's a whole stack of stuff missing. |
| 15:45.20 | lkcl | uhn.... does module dependencies work correctly with busybox? |
| 15:45.37 | lkcl | last time i checked, modprobe was shit in busybox |
| 15:46.32 | cp15 | Funklord_: But the problem is that all files and directories get created with write permission for only the user |
| 15:46.37 | cp15 | And chmod doesn't work |
| 15:47.31 | Funklord_ | hmm ok |
| 15:47.45 | Funklord_ | I chmodded all the files g+w now |
| 15:48.00 | Funklord_ | have to find a way to change default perms |
| 15:48.13 | cp15 | Thanks. It should be possible to set the umask |
| 15:49.59 | lkcl | okay.snd_ctl_find_numid is missing for example. |
| 15:50.36 | lkcl | i reckon there's some modules missing from the compile |
| 15:52.24 | lkcl | yep, sound core is missing... |
| 15:52.28 | lkcl | as a module |
| 15:53.20 | lkcl | it's compiled in work. it's just not copied over. |
| 15:55.30 | cp15 | is it in BA_MODULES_kernel26 ? |
| 15:56.17 | lkcl | yes - that's why it got compiled. |
| 15:56.35 | lkcl | it's just not copied over. |
| 15:57.22 | cp15 | No, BA_MODULES_kernel26 specifies which modules are to install |
| 15:57.36 | lkcl | i'm tempted to do a complete rebuild... |
| 15:57.46 | cp15 | Which modules get compiled is specified in .config |
| 15:58.45 | lkcl | they're all there. |
| 15:59.01 | lkcl | they just haven't been copied over to lib/modules! |
| 15:59.22 | lkcl | which i find distinctly odd. |
| 15:59.26 | cp15 | Yes, it works like this: Every module is packaged in its own ipkg |
| 15:59.41 | lkcl | okay. |
| 15:59.53 | cp15 | When the image is build, the ipkgs specified in BA_MODULES_kernel26 get installed and the rest doesn't |
| 16:00.11 | lkcl | so the list is somehow out-of-date or faulty. |
| 16:00.52 | cp15 | is snd in it? |
| 16:01.28 | lkcl | there's a kernel-module-snd-2.6_2.6.12-r0_blueangel.ipk |
| 16:01.54 | lkcl | but i guarantee you that there isn't a snd.ko (whatever it is) in the unpacked gpe-image.tar.bz2. |
| 16:02.15 | lkcl | how is the list of what's to go into the gpe-image specified? |
| 16:02.26 | cp15 | But is snd in BA_MODULES_kernel26? |
| 16:02.55 | lkcl | is snd in it... lemme check... |
| 16:03.17 | lkcl | yep! |
| 16:03.29 | cp15 | Strange |
| 16:04.10 | lkcl | oh - wait - i hadn't put a space after of BA_MODULES_kernel26 = " |
| 16:04.37 | lkcl | i've noticed - already - that there's faults in the thingy. conf reading... *sigh* |
| 16:04.45 | lkcl | let me try again having put that space in... |
| 16:13.46 | lkcl | nope. |
| 16:13.55 | lkcl | snd-mixer-oss is there. snd isn't. |
| 16:14.27 | cp15 | Is g_ether and pxa2xx_udc there? |
| 16:14.35 | cp15 | Have you checked interfaces? |
| 16:15.50 | lkcl | g_ether is there. |
| 16:16.01 | lkcl | pxa is not |
| 16:17.35 | cp15 | That explains why usb is not working |
| 16:18.19 | cp15 | Probably it used the original modules |
| 16:18.37 | cp15 | In the original list snd and also pxa2xx_udc were missing |
| 16:20.49 | rob_w | re |
| 16:23.09 | rob_w | yeah the h3900 people have the pxa2xx_udc in the kernel,, maybe that solves the still exsiting problem with loading while not in the cradle |
| 16:27.16 | rob_w | ah , good start ... my initrd is corrupted :-( |
| 16:27.42 | rob_w | ~lart fat16 for beeing ancient |
| 16:27.44 | Funklord_ | btw, my BA was stolen yesterday =( |
| 16:27.56 | rob_w | Funklord_, oh oh .. |
| 16:28.07 | rob_w | how was that going = |
| 16:28.25 | Funklord | I'm calling the police and blocking the IMEI now |
| 16:29.24 | Funklord | I had it in the belt clip, and suddenly the whole thing was gone |
| 16:29.34 | Funklord | at a club yesterday night |
| 16:30.06 | cp15 | With an active sim card? |
| 16:31.39 | Funklord | yep |
| 16:31.40 | Funklord | s |
| 16:32.34 | Funklord | anyhow, i believe home insurance covers it =) |
| 16:34.14 | cp15 | I have heard of a lot of stolen BAs |
| 16:34.50 | cp15 | Have you tried to call it? Is it still active? If yes, your network operator might be able to localize it within a few 100 meters |
| 16:34.50 | Funklord | yeah? |
| 16:36.05 | cp15 | Yeah, they even developed a program for windows that will inhibit usage by the thief. But I don't think he will give it back because of this... |
| 16:36.20 | rob_w | hehe |
| 16:36.46 | Funklord | yeah heh |
| 16:37.05 | Funklord | I've already blocked the subscription... |
| 16:37.09 | Funklord | maybe too hasty |
| 16:37.28 | Funklord | should have called today instead |
| 16:37.46 | rob_w | btw blueangel_kp taints the kernel |
| 16:37.57 | cp15 | But there might be some better protection with linux |
| 16:38.41 | Funklord | if it had gps then .. possibilities would be enormous |
| 16:39.04 | lkcl | get your phone to dial in using gpsd and report its position to you :) |
| 16:39.07 | Funklord | three incorrect logon attempt then it sends the phone coordinates to you via SMS |
| 16:39.28 | cp15 | Burn in a IMSI into the operating system. If it is changed, someone gets an SMS with the new IMSI |
| 16:39.28 | Funklord | or, yeah sshd =) |
| 16:39.50 | rob_w | crap , seems my vfat is more then dead .. |
| 16:40.05 | cp15 | Then you can make a call from a special number which doesn't get displayed, instead it initiates a data connection so you can log in |
| 16:40.06 | Funklord | broken flash card? |
| 16:40.34 | cp15 | Then you can inspect the call list :-) |
| 16:40.46 | rob_w | Funklord, lets hope not .. but it looks good so far ,, only the haret cannot correctly read initrd |
| 16:42.28 | rob_w | Funklord, ok ftp works now , thanks |
| 16:42.51 | Funklord | I set a umask.. but it's incorrect |
| 16:43.17 | Funklord | I'm too hung over to think of the correct one |
| 16:43.27 | Funklord | currently 022:022 |
| 16:43.33 | cp15 | 002:002 |
| 16:44.07 | cp15 | Will you buy a new BA if you get the money from the insurance? |
| 16:45.27 | Funklord | ok, set =) |
| 16:45.51 | Funklord | cp15: yeah I will, it's the phone with best linux potential imo |
| 16:46.09 | cp15 | That is the reason for you to buy it? Cool :-) |
| 16:46.56 | lkcl | likewise. |
| 16:47.23 | rob_w | Funklord, good mood ! |
| 16:47.30 | rob_w | ~chant Funklord |
| 16:47.31 | apt | Funklord ! Funklord !! Funklord !! Funklord!!!!!!! |
| 16:47.35 | lkcl | i _so_ want a 3G linux phone, though... |
| 16:47.44 | dullard | I hope the blueangel effort increases the linux potential of the universal or I might have to swap mine |
| 16:48.03 | rob_w | i am creating a business plan where the ba is playing a major part |
| 16:48.15 | lkcl | ooo, cool, rob |
| 16:48.23 | Funklord | =)) |
| 16:48.41 | cp15 | dullard: Sure, cr2 is already working quite hard on it |
| 16:49.19 | dullard | cp15, I know but progress seems much further on the blueangel |
| 16:49.46 | lkcl | BOOTSTRAP_EXTRA_RDENEDS += "kernel-module-...." |
| 16:49.49 | lkcl | oh bollocks :) |
| 16:50.00 | Funklord | it would be nice with a phone that could take two sims though =) |
| 16:50.05 | cp15 | I would buy one for myself, but it would distract me too much from BA development. And the BA was the nearest goal for me |
| 16:50.36 | Funklord | I have a normal subscription + flat rate gprs/umts subscription |
| 16:51.00 | cp15 | Best thing would be an emulated sim card. But since it is no longer possible to extract the private key from the sim, this isn't possible |
| 16:51.34 | Funklord | yeah =/ |
| 16:51.48 | Funklord | didn't someone crack it yet? |
| 16:51.54 | rob_w | guys , i cant get my touchsceen to work .. what is that ? |
| 16:52.02 | Funklord | I copied a sim once before |
| 16:52.17 | rob_w | i ve evdev and ive event0 .. i edited the ts.conf |
| 16:52.31 | Funklord | in order to change the code that a phone locks to |
| 16:57.19 | cp15 | rob_w: Have you updated /etc/profile.d/tslib.sh ? |
| 16:57.39 | rob_w | ah that is empty here |
| 16:58.15 | cp15 | #!/bin/sh |
| 16:58.15 | cp15 | TSLIB_TSDEVICE=/dev/input/event0 |
| 16:58.15 | cp15 | TSLIB_CONFFILE=/usr/share/tslib/ts.conf-blueangel |
| 16:58.15 | cp15 | export TSLIB_TSDEVICE TSLIB_CONFFILE |
| 16:58.45 | cp15 | Attention: I have commited my recent kernel changes |
| 16:59.15 | cp15 | I have changed EXTRAVERSION to -hh2-xda0-ba0 |
| 16:59.35 | cp15 | This means modules are no longer compatible between the older and the newer kernel |
| 16:59.45 | rob_w | ok |
| 17:01.14 | rob_w | really strange still touchscreen is stuck |
| 17:01.52 | cp15 | You probably have to reboot to activate the environment variables |
| 17:02.57 | cp15 | I will be away now, visiting a friend |
| 17:03.00 | cp15 | See you later |
| 17:04.40 | rob_w | ok works now |
| 17:06.00 | rob_w | cp15, is there anything you want me to test quickly with your kernel changes ? |
| 17:08.13 | cp15 | Maybe you could test how well suspend works |
| 17:08.17 | cp15 | modprobe blueangel_kp |
| 17:08.24 | cp15 | modprobe blueangel_suspend |
| 17:08.28 | cp15 | apm --suspend |
| 17:08.35 | cp15 | Press power button |
| 17:08.37 | cp15 | Bye |
| 17:09.04 | rob_w | ok bye |
| 17:14.04 | rob_w | i hope anoncvs on sf already has your changes |
| 17:14.58 | lkcl | anyone got any suggestions on how these conf files work, so that modules actually get turned into packages that are listed in the dependencies? |
| 17:15.48 | rob_w | i think that is done in the modules_autoload section in the machine.conf |
| 17:19.32 | rob_w | basicly all modules which are compiled get to be a ipk but the one mentioned in the machine.conf are to be installed and get the files in /etc/modules |
| 17:22.34 | lkcl | yeh. but - the packages don't end up in the dependencies. |
| 17:23.06 | rob_w | what do you mean ? |
| 17:23.19 | lkcl | or, more specifically, i think there's a bitbake file still around somewhere which is saying what the _old_ modules were, so when i build gpe-image it makes gpe-image from the _old_ list |
| 17:23.33 | rob_w | what is see is that update-modules doesnt work for the "autoloaded" ones |
| 17:25.58 | rob_w | i think we need to add blueangel as target somewhere |
| 18:35.36 | *** join/#htc-blueangel ben (n=ben@219-88-85-171.jetstream.xtra.co.nz) |
| 18:58.48 | lkcl | okay am off out, busy tomorrow. will upload the monotone diff once damn i've switched my computer back on :) |
| 19:00.56 | lkcl | http://hands.com/~lkcl/gpe.blueangel.patch |
| 19:36.37 | *** join/#htc-blueangel rob_w (n=bob@p85.212.141.40.tisdip.tiscali.de) |
| 19:36.37 | *** mode/#htc-blueangel [+o rob_w] by ChanServ |
| 23:29.43 | *** join/#htc-blueangel immolo (n=immolo@cpc1-cosh1-4-0-cust126.cos2.cable.ntl.com) |
| 23:29.54 | cp15 | re |
| 23:29.55 | immolo | Hello people :D |
| 23:30.12 | cp15 | Hi immolo, haven't seen you for a long time |
| 23:30.27 | immolo | yeah, I've had a fun packed few weeks |
| 23:30.47 | cp15 | What fun? |
| 23:31.05 | immolo | jfs finally topped my laptop, I then made gentoo alittle too bleeding edge and killled everything |
| 23:31.28 | immolo | I had a refit at work so my pc time was about 5mins a day |
| 23:31.45 | immolo | and I'm still ill |
| 23:32.09 | cp15 | Sounds terrible |
| 23:32.14 | immolo | how about yourself? |
| 23:32.24 | cp15 | Oh, I am fine |
| 23:33.09 | cp15 | Oops, that was a short talk |
| 23:33.58 | *** join/#htc-blueangel immolo (n=immolo@cpc1-cosh1-4-0-cust126.cos2.cable.ntl.com) |
| 23:34.07 | immolo | oh and my mouse it broke :P |
| 23:34.42 | cp15 | Try to put some cheese on the floor, maybe you will get a new one :-) |
| 23:35.41 | immolo | well it is xmas soon so I can live with the touchpad for a few days |
| 23:36.42 | immolo | I'm just looking forward to my linux security book so I can learn some SElinux and iptables :D |
| 23:37.32 | cp15 | SElinux is only for the highest security requirements. In most other cases it is too troublesome to set up and maintain |
| 23:37.43 | cp15 | iptables is always good to know |
| 23:43.50 | *** join/#htc-blueangel immolo (n=immolo@cpc1-cosh1-4-0-cust126.cos2.cable.ntl.com) |
| 23:43.54 | immolo | damn it |
| 23:44.01 | immolo | overheating now :P |
| 23:44.25 | cp15 | What have you changed? |
| 23:44.26 | immolo | could be a hint for a new pc |
| 23:44.38 | immolo | brb, my daugter is crying |