**** BEGIN LOGGING AT Fri Apr 01 02:59:58 2011 Apr 01 04:20:25 mickeyl: ping Apr 01 04:26:21 mickeyl: I find out whats causing the "dcd+ dsr+ break- ring- framing- parity- overrun" line settings Apr 01 05:08:49 mickeyl: we only get the line with the changed line settings from kernel once after a kernel reboot Apr 01 05:08:50 Jan 1 00:52:59 palmpre user.info kernel: [ 80.760000] cdc_acm 1-1:1.0: set control lines: dtr+ rts+ Apr 01 05:08:50 Jan 1 00:52:59 palmpre user.info kernel: [ 80.760000] cdc_acm 1-1:1.0: set line: dte_rate=115200 char_format=0 parity_type=0 data_bits=8 Apr 01 05:08:50 Jan 1 00:52:59 palmpre user.info kernel: [ 80.770000] cdc_acm 1-1:1.0: input control lines: dcd+ dsr- break- ring- framing- parity- overrun- Apr 01 05:08:52 Jan 1 00:52:59 palmpre user.info kernel: [ 80.790000] cdc_acm 1-1:1.0: input control lines: dcd+ dsr+ break- ring- framing- parity- overrun- Apr 01 05:08:55 Jan 1 00:53:05 palmpre user.warn kernel: [ 87.200000] acm_tty_close: Apr 01 05:08:57 Jan 1 00:53:06 palmpre user.info kernel: [ 87.390000] cdc_acm 1-1:1.0: set control lines: dtr- rts- Apr 01 05:09:00 Jan 1 00:53:07 palmpre user.info kernel: [ 88.990000] cdc_acm 1-1:1.0: set control lines: dtr+ rts+ Apr 01 05:09:03 Jan 1 00:53:09 palmpre user.warn kernel: [ 90.860000] acm_tty_close: Apr 01 05:09:07 Jan 1 00:53:09 palmpre user.info kernel: [ 91.050000] cdc_acm 1-1:1.0: set control lines: dtr- rts- Apr 01 05:09:10 later we don't get it anymore Apr 01 05:09:14 there seems to be some "tty reset to initial state" logic in pppd Apr 01 05:09:32 as with ppp the line settings are changed every time Apr 01 07:27:08 SHR: 03Martin.Jansa 07shr-chroot * rf2d98df86fae 10/ (49 files in 16 dirs): system upgrade Apr 01 07:27:17 SHR: 03Martin.Jansa 07shr-chroot * r2a3ebf4ab48a 10/ (1985 files in 179 dirs): system upgrade Apr 01 07:49:05 morgen Apr 01 07:50:26 I've got some questions about FSO Usage interface Apr 01 07:51:32 I assume fso impl. (ousaged?) does some reference counting - so when two clients request a resource and then one client releases the resource Apr 01 07:51:47 the other client can still count on the resource being available, right? Apr 01 07:52:56 dent: yes Apr 01 07:53:14 dent: nowadays that's handled by fsousaged -- a vala reimplementation. Apr 01 07:53:19 dent: but semantics is the same. Apr 01 07:53:24 ah, true, thanks Apr 01 07:53:43 now,w hat if client crashes? can fsousaged handle this? Apr 01 07:54:01 i.e. requests resource, crashes -> doesn't explicitly release Apr 01 07:54:15 dent: the client crashes and thus releases the dbus bus, so the resource will be automatically refcounted down. Apr 01 07:54:24 good Apr 01 07:54:53 that also means that if I want to hold a resource, I have to hold the interface proxy to Usage, right? Apr 01 07:56:16 dent: i have already forgotten how exactly that's called in dbus :) Apr 01 07:56:58 ok :) Apr 01 07:57:25 one more thing that is on my mind - what is the proper sequence of requesting a resource, to avoid races, i.e.: Apr 01 07:57:58 (now I'm unsire wgat is async and what is sync... sigh) Apr 01 07:58:11 anyway, simply: I want to request a resource and wait for it being available Apr 01 07:58:38 dent: iirc requesting is not async Apr 01 07:59:00 so, when the Request call succeeds, it means the device is already available? Apr 01 07:59:11 * dent though I might have to wait for ResourceChanged signal Apr 01 07:59:26 but then it would get tricky in case resource was already available before, by some other client Apr 01 08:01:43 dent: you do not have to, when you call RequestResource syncroniously. Apr 01 08:01:58 yeah, I do... ok, then it's easy Apr 01 08:02:08 almost too easy :) Apr 01 09:51:45 morning Apr 01 09:54:01 morning mickey|office :P Apr 01 09:54:25 enjoy the time you're still able to say morning short before midday ;) Apr 01 09:55:49 heh Apr 01 09:56:20 actually i just came from the gynaecologist, so it's not quite the beginning of the day anymore ;) Apr 01 09:56:41 :) Apr 01 10:08:51 mrmoku, archlinux.org Apr 01 10:08:52 :) Apr 01 10:12:44 TAsn: ahh... yeah, almost forgot... today is 1st :P Apr 01 10:13:30 yeah :) Apr 01 10:13:32 a fun day. Apr 01 10:16:45 hmm Apr 01 10:17:01 My professional holiday btw Apr 01 10:17:05 i was pondering whether to issue a statement '/me quits Vala. Java is da bomb', but i didn't bother ;) Apr 01 10:18:15 mickey|office, :) Apr 01 10:19:36 mrmoku: i don't have u-boot. do i need it for the newer kernels on n900? Apr 01 10:22:41 mickey|office: according to Gnutoo it is too big to be booted directly... Apr 01 10:23:16 darn Apr 01 10:23:16 JaMa: what is *the good* u-boot for n900 ? Apr 01 10:24:09 mickey|office: maybe we could try to shrink it a bit Apr 01 10:24:18 no idea where the limit is though Apr 01 10:24:27 and gnutoo is not here Apr 01 10:25:13 the one listed on wiki, mmt Apr 01 10:25:39 http://build.shr-project.org/shr-unstable/images/nokia900/u-boot-nokia900-2010.06+gitr0+bd2313078114c4b44c4a5ce149af43bcb7fc8854-r68.bin Apr 01 10:26:35 mrmoku: the one with .ok is the same Apr 01 10:27:04 mrmoku: and .dos-like is booting emmc by default (with kbd closed) Apr 01 10:27:45 where does it look for the uImage? Apr 01 10:29:09 5/boot/uImage Apr 01 10:31:14 hmm... ookay... Apr 01 10:33:03 heyho Apr 01 10:33:06 mickey|office: ping Apr 01 10:34:42 freesmartphone.org: 03morphis 07msmcomm * re9afab3d3a87 10/libmsmcomm/ (10 files in 5 dirs): libmsmcomm: implement most supplementary service messages Apr 01 10:34:44 freesmartphone.org: 03morphis 07msmcomm * r64fcd6413ff7 10/msmcommd/src/ (Makefile.am dbusservice.vala supsservice.vala): msmcommd: implement sups service interface Apr 01 10:34:46 freesmartphone.org: 03morphis 07msmcomm * rc80763b13815 10/msmcomm-specs/src/ (Makefile.am sups.vala): msmcomm-specs: add interface definition for sups service Apr 01 10:34:54 hier bei der Arbeit... Apr 01 10:35:11 mickey|office: :) Apr 01 10:35:35 mickey|office: I looked a little bit closer at the whole line settings thing for ppp Apr 01 10:37:16 mickey|office: I compared the termios settings pppd sets and what we use and wrote a little test app which does the same as pppd but pppd still is causing the input-control-line entry in the kernel log every when it starts and my test app not Apr 01 10:37:49 so it must be another option somewhere in pppd which is causing the ttyACM0 node to reconfigure it's input control line everytime when it starts Apr 01 10:38:30 but I don't know for which option I have to look for Apr 01 10:39:20 ok, so we need to dive into the pppd source code to check what it's doing when it controls the modem lines Apr 01 10:40:55 correct Apr 01 10:41:10 I already checked out the sources and took a look at the sys-linux.c file Apr 01 10:41:23 thats the place where it does the tty configuration Apr 01 10:41:53 btw. do you have time now to talk about or should we defer the discussion? Apr 01 10:52:18 give me 10 minutes for the bathroom, then i'm back. now is a good time, today is not too busy here Apr 01 10:56:47 freesmartphone.org: 03morphis 07msmcomm * r0cce4c352424 10/msmcomm-specs/src/sups.vala: msmcomm-specs: add missing async identifier Apr 01 10:57:34 mickey|office: ok, I have to leave for some minutes as I have to catch my train but we will be available over GPRS then Apr 01 10:57:49 train leaves at 13.24 Apr 01 11:02:36 mickey|office: my test program is here: http://pastie.org/1743207 Apr 01 11:27:12 mickey|office: so I am back Apr 01 11:27:24 let's see how stable the connection is ... Apr 01 11:28:17 yep Apr 01 11:30:19 mickey|office: do you already looked at my simple test program? Apr 01 11:31:31 Jan 1 07:16:11 palmpre user.info kernel: [ 39.430000] cdc_acm 1-1:1.0: set control lines: dtr+ rts+ Apr 01 11:31:32 Jan 1 07:16:11 palmpre user.info kernel: [ 39.430000] cdc_acm 1-1:1.0: set line: dte_rate=115200 char_format=0 parity_type=0 data_bits=8 Apr 01 11:31:32 Jan 1 07:16:11 palmpre user.info kernel: [ 39.450000] cdc_acm 1-1:1.0: input control lines: dcd+ dsr- break- ring- framing- parity- overrun- Apr 01 11:31:32 Jan 1 07:16:11 palmpre user.info kernel: [ 39.480000] cdc_acm 1-1:1.0: input control lines: dcd+ dsr+ break- ring- framing- parity- overrun- Apr 01 11:31:34 Jan 1 07:16:14 palmpre user.warn kernel: [ 42.440000] acm_tty_close: Apr 01 11:31:36 Jan 1 07:16:14 palmpre user.info kernel: [ 42.630000] cdc_acm 1-1:1.0: set control lines: dtr- rts- Apr 01 11:31:40 this is the output after a reboot and running test-serial Apr 01 11:31:47 looks good Apr 01 11:32:08 but if I restart it it looks like this Apr 01 11:32:11 ^[[AJan 1 07:16:45 palmpre user.info kernel: [ 73.370000] cdc_acm 1-1:1.0: set control lines: dtr+ rts+ Apr 01 11:32:11 Jan 1 07:16:48 palmpre user.warn kernel: [ 76.370000] acm_tty_close: Apr 01 11:32:11 Jan 1 07:16:48 palmpre user.info kernel: [ 76.560000] cdc_acm 1-1:1.0: set control lines: dtr- rts- Apr 01 11:32:21 no more input control line settings Apr 01 11:38:32 mickeyl: when starting pppd the input control line changes occur after the chat program is executed Apr 01 11:46:21 mickey|office: ah I think I solved the problem Apr 01 11:46:39 I got the line Apr 01 11:46:43 input control lines: dcd+ dsr+ break- ring- framing- parity- overrun- Apr 01 11:46:48 with my test-serial tool Apr 01 11:47:05 even after I have executed pppd and the tool x times before Apr 01 11:47:21 ok, excellent Apr 01 11:47:29 mickey|office: if you look at the code Apr 01 11:47:33 it's still the same Apr 01 11:47:34 btu Apr 01 11:47:43 s/btu/but/ Apr 01 11:47:43 morphis meant: but Apr 01 11:47:57 set_termios(fd); Apr 01 11:47:58 setdtr(fd, 0); Apr 01 11:47:58 sleep(1); Apr 01 11:47:58 setdtr(fd, 1); Apr 01 11:47:58 char buffer[100]; Apr 01 11:47:58 snprintf(buffer, 100, "ATZ\r"); Apr 01 11:47:59 write(fd, buffer, 100); Apr 01 11:48:02 in main() Apr 01 11:48:09 with Apr 01 11:48:11 void setdtr (int tty_fd, int on) Apr 01 11:48:12 { Apr 01 11:48:12 int modembits = TIOCM_DTR; Apr 01 11:48:13 ioctl(tty_fd, (on ? TIOCMBIS : TIOCMBIC), &modembits); Apr 01 11:48:15 } Apr 01 11:48:26 thats what pppd does Apr 01 11:49:03 with the comment in pppd "in case modem is off hook" Apr 01 11:49:20 hmm, ok Apr 01 11:49:59 as with dtr we say the modem "hey we have data to send" and it then reconfigures the usb device Apr 01 11:49:59 so you think it could be enough to execute this before launching the internal ppp.open or before sending the commands? Apr 01 11:50:21 pppd does it before sending any command Apr 01 11:50:42 maybe we should integrate it in our transport Apr 01 11:51:07 yes, this is actually something that should be handled by the serial transport Apr 01 11:51:18 ok Apr 01 11:51:54 but it should not be executed for all users of the serial transport, right? Apr 01 11:53:39 no, it should be a function so we can issue it on-demand Apr 01 11:53:43 or rather, yes. Apr 01 12:01:22 bbiab, lunch Apr 01 12:12:13 do you discovered the same problem with the internal stack on other devices? Apr 01 12:12:44 mickey|office: or which type of serial dev node do you used for testing the internal ppp stack? Apr 01 12:12:51 mickey|office: not a usb serial right? Apr 01 12:15:39 would be interesting if we have the same problem with other modems connected via usb serial Apr 01 12:16:37 I am unsure where to place the dtr-cycle as it is currently palmpre-specific Apr 01 12:17:01 so maybe we should create another transport type and add it there? Apr 01 12:17:33 or add a configure switch which we than check within the serial transport? Apr 01 12:18:23 mickey|office: hm, we already set the dtr line when hard = true in the serial channel Apr 01 12:19:11 I have to leave Apr 01 12:19:14 bye Apr 01 13:20:01 freesmartphone.org: 03morphis 07cornucopia * r3dc51651db68 10/libfsotransport/fsotransport/basetransport.vala: libfsotransport: refactor port speed parsing into own method Apr 01 13:20:10 freesmartphone.org: 03morphis 07cornucopia * r9a692bc30d2c 10/fsogsmd/src/plugins/modem_qualcomm_palm/ (Makefile.am atchannel.vala plugin.vala): fsogsmd: modem_qualcomm_palm: use our own at channel implementation as data channel Apr 01 14:20:04 no news today? Apr 01 16:00:01 heyho Apr 01 16:03:05 mickey|office: what about adding an config option like [libfsotransport] dtr_cycle = 1? Apr 01 16:05:06 hm, but we do not access the config within libfsotransport Apr 01 16:19:43 GNUtoo: heyho Apr 01 16:19:56 hi Apr 01 16:23:05 mrmoku, hi, any news? Apr 01 16:23:08 on what are you working? Apr 01 16:24:15 me? Apr 01 16:24:30 I wanted to ask about n900 Apr 01 16:24:34 the current status Apr 01 16:24:38 ah ok Apr 01 16:25:31 GNUtoo: next thing I'm going to do is to try all n900 mediators that do not depend on network registration Apr 01 16:25:37 that's not many anyway :P Apr 01 16:25:43 to see if that works Apr 01 16:25:54 I gave up on building a libnl1 image Apr 01 16:26:07 ah Apr 01 16:26:15 so I've 3 things to do: Apr 01 16:26:18 *buglabs stuff Apr 01 16:26:21 *libnl1 Apr 01 16:26:29 *kenrel Apr 01 16:26:30 ? Apr 01 16:26:52 I guess mickey|office would appreciate a kernel he could flash directly Apr 01 16:42:13 GNUtoo: another thing I could do is see what's up with fsodeviced Apr 01 16:42:55 in what sense? Apr 01 16:46:59 in the sense that it segfaults a lot when enabling the wanted plugins Apr 01 16:53:12 freesmartphone.org: 03morphis 07cornucopia * r2533394552c0 10/libfsotransport/fsotransport/serial.vala: libfsotransport: implement option for serial transport to cycle dtr line Apr 01 16:53:15 freesmartphone.org: 03morphis 07cornucopia * r88534291a9d1 10/fsogsmd/src/plugins/pdp_ppp_internal/plugin.vala: fsogsmd: pdp_ppp_internal: use cycle dtr option of serial transport if config option is set Apr 01 16:53:37 mrmoku, GNUtoo: someone of you already tried to use fsoaudiod on the n900? Apr 01 16:53:48 no Apr 01 16:53:56 how to try? Apr 01 16:54:06 I also want to try on htcdream Apr 01 16:54:14 I bet it works on om-gta02 tough Apr 01 16:54:58 it should Apr 01 16:55:00 as it uses alsa Apr 01 16:55:09 GNUtoo: do you already have it installed? Apr 01 16:55:23 first step is to create a config for the device Apr 01 16:55:57 morphis, I think so, I need to boot it tough Apr 01 16:56:01 let me boot it Apr 01 16:56:04 ok Apr 01 16:56:19 GNUtoo: so you have some time to try? Apr 01 16:56:40 yes Apr 01 16:56:45 great Apr 01 16:57:03 which alsa scenario files do we have for the n900? Apr 01 16:57:40 none Apr 01 16:57:47 we had some for 2.6.28 Apr 01 16:58:14 ok you need them to try Apr 01 16:58:39 the mode:device combination is mapped in the background to scenario files Apr 01 16:58:53 ah? Apr 01 16:58:59 maybe I should try on the dream then Apr 01 16:59:14 for n900 we need a kernel and modem Apr 01 16:59:43 GNUtoo: new audio api does not speak in scenarios Apr 01 16:59:54 you have two modes: normal and calll Apr 01 17:00:06 and a lot of devices like: backspeaker, frontspeaker, ... Apr 01 17:00:12 ok Apr 01 17:00:25 maybe let's see that later then if it's not urgent? Apr 01 17:00:26 e.g. normal:backspeaker is stereoout Apr 01 17:00:33 it's not :) Apr 01 17:00:37 ok Apr 01 17:00:49 but someone should try as I didn't tested the alsa backend Apr 01 17:00:55 because kernel, fsodeviced.conf and modem is urgent Apr 01 17:00:58 ah? Apr 01 17:00:59 ok Apr 01 17:01:10 then ask someone with om-gta02 Apr 01 17:02:28 on htc dream do you have no scenarios, right? Apr 01 17:02:44 hmmm indeed Apr 01 17:02:46 no routing Apr 01 17:02:54 I've om-gta02 too Apr 01 17:03:50 ok Apr 01 17:03:51 freesmartphone.org: 03morphis 07cornucopia * rfabefdb01833 10/fsoaudiod/conf/ (4 files in 2 dirs): fsoaudiod: add initial configuration for nokia n900 Apr 01 17:04:08 I added a config for the n900 so you see how it should look like Apr 01 17:04:16 fsoaudiod is in the feeds of om-gta02? Apr 01 17:04:29 it should Apr 01 17:04:39 as it is in the dependencies of shr-image Apr 01 17:04:43 ok Apr 01 17:04:46 somewhere in the deep ... Apr 01 17:04:56 let me re-ask: Apr 01 17:05:04 are the official shr feeds up to date Apr 01 17:05:41 don't know Apr 01 17:05:58 don't use it since I played with my om-gta02 a long time ago :) Apr 01 17:06:09 ah you have om-gta02? Apr 01 17:06:10 s/use it/used them/ Apr 01 17:06:10 morphis meant: don't used them since I played with my om-gta02 a long time ago :) Apr 01 17:06:14 yes Apr 01 17:06:18 somewhere :) Apr 01 17:06:19 so you can try Apr 01 17:06:34 but I am about 100km away from it Apr 01 17:06:43 ahh ok Apr 01 17:06:55 then I've to build I guess Apr 01 17:07:10 mdbus -s should return something? Apr 01 17:07:15 for fsoaudiod Apr 01 17:08:05 I've fsoaudiod in path Apr 01 17:08:10 for om-gta02 Apr 01 17:08:16 I'll connect an usb cable Apr 01 17:09:09 jepp Apr 01 17:09:23 you can use it with mdbus2 (it's the only way atm) Apr 01 17:09:29 org.freesmartphone.oaudiod Apr 01 17:09:34 correct Apr 01 17:09:45 what should I do now? Apr 01 17:09:45 but first check the config file Apr 01 17:10:16 ok Apr 01 17:10:19 where is it? Apr 01 17:10:27 /etc/freesmartphone/conf/ Apr 01 17:10:30 om-gta02 Apr 01 17:10:37 maybe Apr 01 17:10:42 hmm Apr 01 17:11:10 no config Apr 01 17:11:13 ok Apr 01 17:11:13 no fsoaudiod.conf Apr 01 17:11:17 I will create one for you Apr 01 17:11:22 mickeyl: you saw my last commits? Apr 01 17:11:27 only: Apr 01 17:11:40 ./palm_pre/fsoaudiod.conf Apr 01 17:11:40 ./default/fsoaudiod.conf Apr 01 17:11:43 GNUtoo: do you know the path to the scenario files? Apr 01 17:11:56 morphis: yes, looks exciting... does it work? :D Apr 01 17:11:56 yes Apr 01 17:12:26 http://www.pastie.org/1744404 Apr 01 17:12:43 freesmartphone.org: 03morphis 07cornucopia * rc0e7dd3289c0 10/fsoaudiod/ (5 files in 3 dirs): fsoaudiod: add configuration file for the openmoko gta phones Apr 01 17:12:47 mickeyl: I am on the way trying it ... Apr 01 17:13:05 ok, crossing fingers Apr 01 17:13:07 GNUtoo: it's the openmoko_gta directory? Apr 01 17:13:14 * mickeyl fighst against ISI in the meantime Apr 01 17:13:19 yes Apr 01 17:13:26 aka OM-GTA02 Apr 01 17:13:31 aka OM-GTA01 Apr 01 17:13:32 etc... Apr 01 17:13:34 ok Apr 01 17:13:38 it's the same symilinked Apr 01 17:13:59 take the config files I checked in Apr 01 17:14:06 fsoaudiod.conf and alsa.conf you need Apr 01 17:14:15 put them into the openmoko_gta directory Apr 01 17:14:18 the ones for n900? Apr 01 17:14:19 ok Apr 01 17:14:55 no the openmoko_gta ones Apr 01 17:15:18 is there a alsa-default symlink in the openmoko_gta directory? Apr 01 17:17:39 if not change the entry cardname = default to cardname = 2.6.34 (or your kernel version, look the alsa-* directories in openmoko_gta) in alsa.conf Apr 01 17:17:52 but backup your old alsa.conf before Apr 01 17:18:06 the one before you copied mine on your device Apr 01 17:18:25 ok Apr 01 17:19:44 hmmm Apr 01 17:19:49 the alsa.conf is quite different Apr 01 17:20:06 the new one? Apr 01 17:20:28 a diff from old to new show quite some differences Apr 01 17:20:37 I'll put the new one Apr 01 17:21:16 jepp Apr 01 17:21:18 do that Apr 01 17:21:21 you need the new one Apr 01 17:21:25 the structure has changed Apr 01 17:21:30 but save the old one Apr 01 17:21:55 mickeyl: I am rebooting with new fsogsmd ... Apr 01 17:22:16 hello, fennec does not run under gta02, (illegal instruction) how do i check the compiler flags ? or what is the best way to find the illegal instruction ? Apr 01 17:26:01 nschle85: gdb? Apr 01 17:28:24 mickeyl: hmpf "[WARN] libfsotransport : could not set dtr bit for serial transport: Bad address" Apr 01 17:29:21 hmm Apr 01 17:29:33 it's the output of strerror(...) Apr 01 17:30:22 hm Apr 01 17:30:48 mickeyl: is the O_NOCTTY relevant? Apr 01 17:31:22 it's not ... Apr 01 17:32:13 ah Apr 01 17:32:33 I did ioctl(fd, ..., bits) but it should be ioctl(fd, ..., &bits) Apr 01 17:33:00 ah, heh Apr 01 17:33:58 freesmartphone.org: 03morphis 07cornucopia * rd496c3449816 10/libfsotransport/fsotransport/serial.vala: libfsotransport: supply a pointer to ioctl ... Apr 01 17:34:36 mickeyl: btw. the APN for each provide we have in some database right? Apr 01 17:35:05 correect Apr 01 17:35:07 fsodatad Apr 01 17:36:08 good Apr 01 17:36:23 than SHR should use this and not rely on the use to enter it Apr 01 17:36:51 and someone should correct this in shr-settings Apr 01 17:37:26 lindi-: how do i debug a application running on GTA02 ? Apr 01 17:38:08 nschle85: gdb Apr 01 17:38:13 then on the prompt: run Apr 01 17:38:17 http://www.pastie.org/1744493 Apr 01 17:38:41 GNUtoo: uups I did a mistake in the config Apr 01 17:38:56 please add [fsoaudio.router_alsa] before [fsoaudio.manager] Apr 01 17:39:58 morphis: so gdb must be installed on gta02 and i must install the dbg version of fennec ? Apr 01 17:40:18 jepp Apr 01 17:40:18 freesmartphone.org: 03morphis 07cornucopia * r89da03491292 10/fsoaudiod/conf/ (nokia_n900/fsoaudiod.conf openmoko_gta/fsoaudiod.conf): fsoaudiod: correct machine configuration files to load router alsa plugin Apr 01 17:40:25 nschle85, what's the issue? Apr 01 17:40:36 mickeyl: so it's rebuilding ... Apr 01 17:40:37 nschle85: just like you do on your PC? Apr 01 17:40:38 GNUtoo: Illegal Instruction Apr 01 17:40:54 GNUtoo: no more info Apr 01 17:41:01 JaMa, hi, there is something wrong with the build process, fennec, wesnoth, and another app got illegal instruction Apr 01 17:41:12 that's not normal Apr 01 17:41:29 maybe another thumb issue? Apr 01 17:41:30 GNUtoo: running fennec Apr 01 17:41:40 no idea Apr 01 17:41:51 om-gta02 support thumb right? Apr 01 17:42:19 (I don't see why it doesn't support it, but it could be disabled in the kernel) Apr 01 17:42:32 s/doesn't/wouldn't Apr 01 17:42:46 GNUtoo: yes it supports that and it's intentionally enabled Apr 01 17:42:56 ok Apr 01 17:43:44 morphis, what should I run now that the log looks fine? Apr 01 17:43:46 the problem is when there is arm instruction while in thumb mode.. but first you have to know which illegal instruction it was and in what mode that happen Apr 01 17:43:49 morphis, could you fix the log Apr 01 17:43:56 I fixed it Apr 01 17:44:01 ok Apr 01 17:44:04 "please add [fsoaudio.router_alsa] before [fsoaudio.manager]" Apr 01 17:44:04 thanks Apr 01 17:44:21 ok Apr 01 17:44:24 I see it now Apr 01 17:44:28 ok Apr 01 17:44:36 GNUtoo: ill try to debug fennec, to find the instruction Apr 01 17:44:40 with that the logfile should look better Apr 01 17:45:15 nschle85, ok Apr 01 17:45:26 nschle85, I fear that gdb on target is not a good idea Apr 01 17:45:36 it can OOM the device very easely Apr 01 17:45:42 altough I've a solution Apr 01 17:45:46 gdbserver + gdb Apr 01 17:45:57 http://elinux.org/GDB Apr 01 17:46:04 howto here ^^^ Apr 01 17:46:21 GNUtoo: ok, ill try to setup Apr 01 17:46:29 but maybe without the -dbg packages it consume less memory Apr 01 17:46:36 worth trying without -dbg Apr 01 17:46:42 since you need only assembly Apr 01 17:46:46 so try on target first Apr 01 17:46:59 GNUtoo: ok, i try on target Apr 01 17:47:19 GNUtoo: but first i need a compiled gdb package :-) Apr 01 17:47:28 opkg install gdb? Apr 01 17:47:51 GNUtoo: no, i have my own sandbog Apr 01 17:47:57 sandbox Apr 01 17:48:20 GNUtoo: bitbake gdb i think :-) Apr 01 17:50:56 ok Apr 01 17:51:31 mickeyl: kernel log looks good now Apr 01 17:51:44 mickeyl: but ipcp still does not work ... Apr 01 17:52:11 "PPP stack now offline. Disconnect reason is G_AT_PPP_REASON_IPCP_FAIL" Apr 01 17:53:00 hm but the dtr cycle does not work .. Apr 01 17:57:28 mickeyl: hm I am playing a little bit with the timings, maybe that helps Apr 01 17:59:04 mickeyl: it's our tty configuration Apr 01 18:03:46 GNUtoo: gdb /usr/lib/fennec/fennec Apr 01 18:03:51 GNUtoo: run Apr 01 18:03:59 yes Apr 01 18:04:03 and then wait for the crash Apr 01 18:04:05 and run Apr 01 18:04:07 disass Apr 01 18:04:19 check if you're on the correct frame tough Apr 01 18:04:41 Program received signal SIGILL, Illegal instruction. Apr 01 18:04:41 0x0000cf8c in ?? () Apr 01 18:05:09 bt Apr 01 18:05:11 hm Apr 01 18:05:17 do you get some frames? Apr 01 18:05:24 if not install -dbg Apr 01 18:05:27 GNUtoo: No function contains program counter for selected frame. Apr 01 18:05:29 and use gdbserver Apr 01 18:05:31 ok Apr 01 18:05:37 then install the -dbg Apr 01 18:06:01 I can't forward my internet connection to my openmoko anymore after my trisquel upgrade Apr 01 18:06:13 altough DNS works Apr 01 18:06:18 with 192.168.1.1 Apr 01 18:06:22 any ideas? Apr 01 18:09:20 mickeyl: ping Apr 01 18:12:56 freesmartphone.org: 03morphis 07cornucopia * r031f50b03777 10/fsogsmd/src/plugins/pdp_ppp_internal/plugin.vala: fsogsmd: pdp_ppp_internal: send modem line reset command when initializing channel Apr 01 18:13:34 mickeyl: run mterm2 /dev/ttyACM0 and look at the kernel log Apr 01 18:13:46 mickeyl: no input control line settings message occur Apr 01 18:13:55 mickeyl: then type ATZ end press enter ... Apr 01 18:14:19 mickeyl: without dtr_cycle ... Apr 01 18:15:55 GNUtoo: i cannot debug on gta02 the debug symbols are not found Apr 01 18:16:14 nschle85, then install fennec-dbg Apr 01 18:16:23 GNUtoo: already done Apr 01 18:16:27 nschle85: set sysroot / Apr 01 18:16:44 ah right Apr 01 18:16:52 too bad I've no internet on om-gta02 Apr 01 18:16:55 I'll try wifi Apr 01 18:17:12 but wifi often has PSM Apr 01 18:17:44 ahhh Apr 01 18:17:49 tap0 was the interface Apr 01 18:18:49 Heinervdm: did not help Apr 01 18:19:09 1056 02:35:29.125823 poll([{fd=6, events=POLLIN}, {fd=18, events=POLLIN}, {fd=19, events=POLLIN}, {fd=22, events=POLLIN}, {fd=24, events=POLLIN}, {fd=25, events=POLLIN}, {fd=2 Apr 01 18:19:12 nschle85: you can try to make a debug build Apr 01 18:19:13 6, events=POLLIN, revents=POLLIN}, {fd=17, events=POLLIN}], 8, 0) = 1 Apr 01 18:19:15 1056 02:35:29.126556 read(26, "a\26\0\0\204\262\1\0\3\0\1\0\t\0\0\0", 16) = 16 Apr 01 18:19:18 1056 02:35:29.126922 --- SIGSEGV (Segmentation fault) @ 0 (0) --- Apr 01 18:19:21 hmm Apr 01 18:19:30 nschle85: for this you have to add DEBUG_BUILD = 1 to your local.conf Apr 01 18:21:31 Heinervdm: ok and then bitbake clean fennec; bitbake fennec ? Apr 01 18:21:41 nschle85: yes Apr 01 18:22:09 Heinervdm: ok, this will take several deciminutes :-) Apr 01 18:22:18 is DEBUG_BUILD still needed after http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=6536f018653333267483aa3d98b1e40b7a060e96 ? Apr 01 18:22:58 -dbg packages should be usefull already :/ Apr 01 18:23:04 JaMa: no idea, as i haven't build oe.dev for a long time Apr 01 18:23:57 GNUtoo, mickeyl: it's the kernel_idle plugin that crashes fsodeviced on n900 Apr 01 18:24:14 mrmoku, no idea Apr 01 18:24:20 I've commented almost everything Apr 01 18:24:22 and I think Apr 01 18:24:29 that more than one thing makes it crash Apr 01 18:24:58 mrmoku: ok, i'd be grateful for a backtrace Apr 01 18:25:12 mickeyl: yeah, will work on that Apr 01 18:25:22 GNUtoo: it was no question :) Apr 01 18:25:42 ok Apr 01 18:25:43 bbl Apr 01 18:26:35 GNUtoo: I can enable all plugins but kernel_idle Apr 01 18:26:37 mickeyl: you saw my messages? Apr 01 18:27:12 morphis: yes, but i didn't understand ;) Apr 01 18:27:19 ok Apr 01 18:27:28 I tried to with fsogsmd and dtr_cycle Apr 01 18:27:42 I got no the kernel message with the changed input control settings Apr 01 18:27:49 s/no/not/ Apr 01 18:27:49 morphis meant: I got not the kernel message with the changed input control settings Apr 01 18:27:57 ok Apr 01 18:28:00 then I tried with mterm2 Apr 01 18:28:08 simply opening does nothing on the kernel side Apr 01 18:28:21 but sending ATZ as command gives us the line we want ... Apr 01 18:28:28 ooh Apr 01 18:28:43 we're not sending ATZ in pdp_ppp_internal yet Apr 01 18:28:54 i would not have thought that it was necessary Apr 01 18:28:54 I added it with my last commit Apr 01 18:28:56 odd Apr 01 18:29:01 we will see Apr 01 18:29:50 JaMa: will tell you in some minute... installing fsodeviced-dbg right now :) Apr 01 18:29:51 I tried many stuff like comparing all the tty settings against our settings Apr 01 18:30:00 but nothing works Apr 01 18:30:13 in the end I discovered that I am sending ATZ in my little test-tool Apr 01 18:30:21 JaMa: yay, much, much better :-D Apr 01 18:31:08 mickeyl: http://pastebin.com/Vgyibn3e Apr 01 18:32:32 mickeyl: var bytesread = Posix.read( source.unix_get_fd(), &ev, sizeof(Linux.Input.Event) ); Apr 01 18:32:47 mrmoku: great :) Apr 01 18:32:52 is probably the thing... at least that would be in sync with my strace... Apr 01 18:32:54 hmm, strange Apr 01 18:32:59 that read is the last thing in there Apr 01 18:33:00 ok, thanks. i don't understand it atm. Apr 01 18:33:04 but will take a look Apr 01 18:33:29 yeah, ok Apr 01 18:35:00 sorry with delay on 2.6.39-rc1 :/ had to stay at work over night and still not regenerated from that Apr 01 18:35:33 JaMa: great thing bts work finally :) Apr 01 18:35:42 ~hail whoever fixed that Apr 01 18:35:43 * apt bows down to whoever fixed that and chants, "I'M NOT WORTHY!!" Apr 01 18:36:10 mrmoku: GNUtoo forced me to change that :) Apr 01 18:36:19 ~hail GNUtoo Apr 01 18:36:20 * apt bows down to GNUtoo and chants, "I'M NOT WORTHY!!" Apr 01 18:36:35 JaMa: i am always surprised how you manage your job and shr development :-) Apr 01 18:37:15 * JaMa managed to be single again.. that's it :/ Apr 01 18:37:41 ouch... I would have thought you managed to clone yourself instead... Apr 01 18:42:25 mickeyl: "PPP stack now offline. Disconnect reason is G_AT_PPP_REASON_IPCP_FAIL" Apr 01 18:42:31 will try again tomorrow Apr 01 18:42:46 now other things are more important in real live :) Apr 01 18:42:48 byebye Apr 01 18:42:51 morphis: ok, *sigh* Apr 01 18:43:02 don't give up! we will get it! Apr 01 18:43:10 :)) Apr 01 18:48:09 mickeyl: another problem with fsogsmd on n900 is release and re-request does not work Apr 01 18:48:12 minor problem though Apr 01 18:49:28 hmm, yeah Apr 01 18:49:42 mickeyl: other than that the few implemented mediators that don't need registration work Apr 01 18:49:48 apart from ListProviders Apr 01 18:49:57 that does make mdbus2 segfault Apr 01 18:50:02 try with cli-framework Apr 01 18:50:05 it works there Apr 01 18:50:10 ahh, ok Apr 01 18:50:12 no idea what's still missing in mdbus2 Apr 01 18:50:15 i thought we fixed that bug Apr 01 18:50:23 * mrmoku installs mdbus2-dbg :P Apr 01 18:50:45 * mickeyl desperate Apr 01 18:50:59 * mrmoku happy, because debug packages finally work :) Apr 01 18:54:24 mickeyl, playya_: http://pastebin.com/pJTnpwn9 Apr 01 18:58:14 mickeyl, don't be desperate, probably mdbus2 segfault is because of April Fool's Day! ;) Apr 01 18:58:38 unfortunatelly it segfaulted some day ago too ;) Apr 01 18:59:01 heh Apr 01 18:59:07 i'm not desperate because of mdbus2 Apr 01 18:59:11 this is peanuts... Apr 01 18:59:18 ISI not behaving is killing me Apr 01 19:04:30 what should I look first? Apr 01 19:04:32 kernel or isi? Apr 01 19:08:55 basically my idea was to link against libnl1 Apr 01 19:14:57 GNUtoo: fennec is still compiling... hope i can run the debug version today Apr 01 19:16:47 ok Apr 01 19:20:02 GNUtoo: finally the -dbg packages from OE produce good backtraces :-) Apr 01 19:20:12 ok nice Apr 01 19:20:23 so it made it to the feeds Apr 01 19:20:25 nice Apr 01 19:20:36 ? Apr 01 19:20:48 to the 'official' SHR feeds? Apr 01 19:21:03 yes Apr 01 19:21:05 I would think so... but I tried with the n900-oe tree Apr 01 19:21:09 ok Apr 01 19:22:19 mrmoku: most packages weren't rebuilt since then Apr 01 19:22:28 ah, ok Apr 01 19:22:41 will be fixed by next rebuild from scratch then :P Apr 01 19:23:08 yup Apr 01 19:24:17 JaMa: did you talk about that fennec-dbg package does not provide dbg symbols ? Apr 01 19:26:54 no, vice-versa, it should provide dbg symbols if you build it after http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=6536f018653333267483aa3d98b1e40b7a060e96 Apr 01 19:28:05 JaMa: sorry, i built it for the first time yesterday :-( Apr 01 19:28:27 JaMa: the patch is from the beginnig of March Apr 01 19:33:28 nschle85: it wont help with fennect because there is FULL_OPTIMIZATION overwritten in recipe Apr 01 19:33:56 nschle85: right fix is to add DEBUG_FLAGS to FULL_OPTIMIZATION in fennec_hg.bb Apr 01 19:35:16 mrmoku: do you still have the modem power cycle script somewhere? Apr 01 19:35:45 mickeyl: the binary you mean? Apr 01 19:35:53 yes, if it was a binary Apr 01 19:36:03 JaMa: ok, i belive you, and will this be done ? Apr 01 19:36:04 mickeyl: http://build.shr-project.org/tests/mrmoku/n900/n900-modem-power Apr 01 19:36:07 thanks Apr 01 19:36:10 yw Apr 01 19:36:43 mickeyl: is there anything one could try to support you in your isi fight? Apr 01 19:38:00 nschle85: I don't care about fennec, so probably not by me (any time soon) Apr 01 19:38:17 nschle85: but you can test it and send patch to OE ML Apr 01 19:38:37 JaMa: which browser do you prefer on Freerunner ? Apr 01 19:39:01 * JaMa is not browsing from fr :/ Apr 01 19:39:19 and when I had to, I've used midori/dillo2/eve Apr 01 19:39:32 nschle85: I really, really doubt fennec would rock on the FR Apr 01 19:39:51 even on n900 it does not really rock Apr 01 19:39:52 mrmoku: hmm... i don't know. it could be interesting to catch a dump of all packages maemo|meego sends from start to successful registration. i'm afraid we have a timing or order issue, but i'm completely clueless where to start debugging that Apr 01 19:40:02 all i do is blindly shuffling around commands atm. Apr 01 19:40:03 do we have a libnl1 fsogsmd? Apr 01 19:40:08 which is extremely frustrating Apr 01 19:40:14 since nothing seems to have an effect Apr 01 19:40:36 nschle85: links2 has graphics mode which is ok too. Apr 01 19:41:30 i tried midori, but its very unhandy ... Apr 01 19:42:17 mickeyl: hmm, ok :/ Apr 01 19:43:08 i don't even know whether the libnl issue is breaking things or whether my init sequence is still broken Apr 01 19:43:18 all i know is that nothing works with this image here Apr 01 19:43:27 (modemwise) Apr 01 19:43:52 bbl, i need a brek Apr 01 19:43:54 break,e ven Apr 01 19:44:11 PaulFertser: thank you, screen shots looks good. Apr 01 19:48:49 mrmoku: why does fennec not rock on N900 ? Apr 01 19:53:07 GNUtoo: shame me.... no debugging symbols found Apr 01 19:53:18 I'll try later Apr 01 19:53:24 I've satrted a build for om-gta02 Apr 01 19:54:24 yo, what's been the hoax of the day here? Apr 01 19:54:54 DocScrutinizer: RoadRunner Apr 01 19:54:59 GNUtoo: is DEBUG_BUILD = 1 right or should it be DEBUG_BUILD = "1" ? Apr 01 19:55:26 PaulFertser: hehe, FeeRunner successor? Apr 01 19:55:33 DEBUG_BUILD = "1" Apr 01 19:55:34 PaulFertser: do you remember that the 8 second on-key shutdown for the pcf50633 was a issue of different default register settings? and not like the driver claims, that it is only supported by certain versions of the chip Apr 01 19:55:36 DocScrutinizer: meego based :) Apr 01 19:55:41 let me look Apr 01 19:56:05 GNUtoo: ok ill compile again :-) Apr 01 19:56:12 that's it Apr 01 19:56:27 I will try to link fsogsmd to libnl1 Apr 01 19:56:27 lars_: i'll check the datasheet Apr 01 19:56:45 GNUtoo: 21:29:28 < JaMa> nschle85: right fix is to add DEBUG_FLAGS to FULL_OPTIMIZATION in fennec_hg.bb Apr 01 19:56:55 * DocScrutinizer YAWNS on meego. Now even Qt folks contribute to making it a BS on 0.1 Apr 01 19:57:45 the even shove that polling shit down maemo users' throat now, with introduction of QtMobility Apr 01 19:58:11 lars_: do you have newer repo to push? I had to replace couple of s/set_irq_chip_and_handler/irq_set_chip_and_handler/g and glamo is still using old irq api Apr 01 19:58:31 PaulFertser: you noticed what I spotted yesterday? Apr 01 19:58:44 the polling of prox sensor... Apr 01 19:58:44 DocScrutinizer: Qt polling g-meters? Apr 01 19:58:46 JaMa: but thats 2.6.39 stuff Apr 01 19:59:02 PaulFertser: worse, the proximity sensor, at 100Hz Apr 01 19:59:05 Oh my Apr 01 19:59:17 while that lil switch can operate no fatser than 2.5Hz Apr 01 19:59:31 lars_: yup, I'm trying to backport your patches from linux-next on top of linux-2.6.git Apr 01 19:59:36 and of course has a proper GPIO line to trigger IRQ Apr 01 19:59:41 JaMa, is libnl1 static only like it was said on the oe ml? Apr 01 19:59:53 ? Apr 01 20:00:14 did you read that patch? Apr 01 20:00:16 yes Apr 01 20:00:24 it just set some flags Apr 01 20:00:42 GNUtoo: can you make the change in fennec_hg.bb JaMa supposed ? Apr 01 20:00:56 + $(LIBNL_LIBS) \ Apr 01 20:01:01 PaulFertser: http://qt.gitorious.org/qt-mobility/qt-mobility/blobs/master/plugins/sensors/n900/n900proximitysensor.cpp#line54 Apr 01 20:01:02 + $(LIBNL_CFLAGS) \ Apr 01 20:01:03 JaMa: why do you want to build a .39-rc1 kernel for the freerunner? Apr 01 20:01:05 GNUtoo: http://git.openembedded.org/cgit.cgi/openembedded/diff/recipes/libnl/libnl1-1.1/build.only.static.lib.patch?id=f9e42413323c6f402e1e6efd2067373e4bf54a59 Apr 01 20:01:16 ahh that patch Apr 01 20:01:23 I was looking at the network manager one Apr 01 20:01:35 nschle85, is it urgent? Apr 01 20:01:43 because I would rather want to work on n900 modem Apr 01 20:01:51 if I deblock mickeyl we could advance Apr 01 20:02:00 GNUtoo: i think its necesary to find the illegal instruction Apr 01 20:02:24 ok but wouldn't fennec be too slow at the end? Apr 01 20:02:38 lars_: just because I'm using git version for spitz and for OE I can easier add patch with diff from your branches then new recipe using whole new git repo (linux-next) Apr 01 20:02:39 nschle85, not to mention that I couldn't test Apr 01 20:02:40 or please tell me what to add there, because I do not understand bb files. Apr 01 20:02:56 nschle85, if you wanit for om-gta02 to build locally for me I could look Apr 01 20:03:11 note that I can build the night Apr 01 20:04:06 GNUtoo: its not urgent for me but i thought i can help, but i cannot create any dbg version of fennec Apr 01 20:04:10 JaMa: but why .39-rc1 and not .38? Apr 01 20:04:25 nschle85, ok I can try, what does gdb says? Apr 01 20:04:26 lars_: I have .38 already and it doesn't boot for me Apr 01 20:04:36 did it warn about libraries or smoething like that? Apr 01 20:04:47 lars_: so wanted to give .39-rc a try before debuging why .38 wont boot Apr 01 20:04:53 i see Apr 01 20:05:48 GNUtoo: Reading symbols from /usr/lib/fennec/fennec...(no debugging symbols found)...done. Apr 01 20:05:48 (gdb) Apr 01 20:06:01 JaMa: try .38 with 05a035eb613bd9af73c7786e9cb8ef8e7883e7ff Apr 01 20:07:33 nschle85, could you pastebin the full log Apr 01 20:08:24 GNUtoo: full log of what ? Apr 01 20:08:42 the gdb session Apr 01 20:08:53 because fennec is one thing Apr 01 20:09:02 but there are tons of libraries fennec depends upon Apr 01 20:09:11 GNUtoo: ok Apr 01 20:09:40 lars_: if i understand it correctly, OM were ordering pcf50633 variant 09 and that has onkey_mode=0 which means holding the key can't turn the device off. Apr 01 20:10:20 while mentioning it: What's OM using for lis302 driver? We got a proper IRQ driven kernel driver, with configurable highpass and IRQ thresholds? And a sysnode and associated kevent to hook in? Apr 01 20:10:59 PaulFertser: but we can change that, right? Apr 01 20:11:09 lars_: it looks like indeed we can. Apr 01 20:11:21 umm, I *could* dig that up (pcf50633 variant) Apr 01 20:11:35 lars_: hm, sorry Apr 01 20:11:36 thought it should already be on wiki Apr 01 20:11:41 lars_: datasheet says it's R Apr 01 20:11:53 DocScrutinizer: was there only one? Apr 01 20:11:56 mine says it's RW Apr 01 20:12:02 afaik yes Apr 01 20:12:19 Rev. 06 -- 05 March 2008 Apr 01 20:12:31 OOCMODE 7:6 onkey_mode Apr 01 20:12:38 it's for sure r/w, otherwise makes no sense Apr 01 20:12:38 lars_: ok, building with updated defconfig, 05a035eb613bd9af73c7786e9cb8ef8e7883e7ff was already included in oe patch Apr 01 20:13:02 GNUtoo: http://pastebin.com/Ej7sVaDm Apr 01 20:14:02 I have Rev. 08, but the date says april 2005 Apr 01 20:14:32 lol Apr 01 20:15:23 but maybe it is a different document Apr 01 20:15:36 that's what I was about to suggest Apr 01 20:15:43 compare doc # Apr 01 20:16:17 PCF50633UM_6 Apr 01 20:16:28 for chips that complex there's always datasheet, app notes, user manual, whatnot else Apr 01 20:16:38 User Manual here :) Apr 01 20:17:06 lemme fire locate on my PC here Apr 01 20:17:29 nschle85, the CRC mismatch means the .debug version doesn't match the normal lib Apr 01 20:17:38 so reinstall one of both Apr 01 20:17:44 opkg update before Apr 01 20:17:47 opkg upgrade Apr 01 20:17:56 may solve it Apr 01 20:17:57 or not Apr 01 20:19:18 GNUtoo: did not solve Apr 01 20:19:25 URGH Apr 01 20:19:59 jr@halley:~> locate 50633|wc -l Apr 01 20:20:01 84 Apr 01 20:20:05 mickeyl, where is libnl autoconf stuff in fsogsmd? Apr 01 20:20:27 nschle85, at least the crc are gone? Apr 01 20:21:48 /windows/D/OM/OpenMoko/varaha_docs/docs/by_component/pcf50633/PCF50633HN-04-N3rev0.6NXP.pdf /windows/D/OM/OpenMoko/varaha_docs/docs/by_component/pcf50633/PCF50633HN-N1-Battery-Portable-Power-Management-HVQFN68-0V8-Spec.pdf /windows/D/OM/OpenMoko/varaha_docs/docs/by_component/pcf50633/PCF50633_N3B HTOL issue 20070615.pdf Apr 01 20:22:16 a selection of the most intriguing ones Apr 01 20:22:24 hm, i think i'll just remove the emulation code. force_shutdown was never set to anything anyway Apr 01 20:23:11 lars_: on my device holding the button for 8 seconds worked to shut it down. Apr 01 20:23:58 DocScrutinizer: (lis302 driver) not sure about the current state, i remember we used to have a nice driver. Apr 01 20:24:22 :-) Apr 01 20:26:08 (50633) I also got several "bookmarks" like /home/jr/.kde/share/apps/kpdf/663672.PCF50633HN-N1-Battery-Portable-Power-Management-HVQFN68-0V8-Spec.pdf.xml Apr 01 20:27:30 PaulFertser: i only get "ONKEY1S held for X seconds" Apr 01 20:29:21 PaulFertser: what rev was your freerunner? Apr 01 20:29:40 lars_: is. revision 6 Apr 01 20:30:04 same here Apr 01 20:30:22 lars_: it worked (poweroff after 8s) for me only after https://gitorious.org/shr/linux/commit/0472afa4465842d6f767d9499a2a2469c645b38b Apr 01 20:31:30 got pcf50633-variants.txt here, 654B. You need that? Apr 01 20:32:01 DocScrutinizer: i have a backup of the openmoko docs folder as well Apr 01 20:32:09 aah ok Apr 01 20:32:29 lars_: 0x10 register is 0x15 for me. Apr 01 20:32:53 So onkey_mode is 0 Apr 01 20:33:24 I think i actually saw it turning off but i can try now if you want (still running andy-tracking here) Apr 01 20:34:12 just had a look at mach-gta02.c and there is a force_shutdown Apr 01 20:34:54 in andy-tracking Apr 01 20:36:12 Yes, there is :) Apr 01 20:37:20 mickeyl, ping? Apr 01 20:37:24 sigh Apr 01 20:38:10 but anyway that emulation code has to go. it messes with the rtc irq, which could cause undefinded behaviour Apr 01 20:38:29 and imo the 8s shutdown is policy Apr 01 20:39:00 and doesn't really belong into the kernel. and if at all it should be in the input driver and not the core irq handler Apr 01 20:39:59 I guess it was supposed that it should work no matter what else had already failed. Apr 01 20:42:24 ok, i'll move it to the input driver Apr 01 20:42:58 i want to use the irq handler for the pcf50633 and the pcf50606 so there can't be any hardcoded irq numbers in there Apr 01 20:44:23 To me personally that code has no real value, i took out the back cover so many times and it's still working fine, i see no reason to not unplug the battery when i want to turn it off. Apr 01 20:44:45 you're aware of PCF50633_N3B HTOL issue 20070615.pdf ? Apr 01 20:45:13 no Apr 01 20:47:13 the 8s shutdown is supposed to work *always*, the kernel driver is just to _delay_ it by resetting timer, so kernel has time to clean up - if the kernel still is working Apr 01 20:47:21 IIRC Apr 01 20:47:42 that doesn't make sense Apr 01 20:47:44 DocScrutinizer: the variant seems wrong so pcf50633 is not properly configured. Apr 01 20:48:07 DocScrutinizer: and probably it can't be configured, at least according to the version i have. Apr 01 20:48:22 yes, it can be configured afaik Apr 01 20:48:38 and iirc we got a variant that's default enabled Apr 01 20:48:42 even with the delay the kernel is shutdown abruptly Apr 01 20:49:05 lars_: that's the kernel's problem then Apr 01 20:49:20 DocScrutinizer: is 20070615.pdf a report or something? Apr 01 20:50:09 lars_: 2.6.38 fails for me somewhere in glamo_irq_demux_handler :/ Apr 01 20:50:17 the pcf50633 tells kernel "I got a power press, in 8s I'll shut down (if user keeps holding button, and *if you're not resetting my 8s timer*)" Apr 01 20:50:40 lars_: yep, about charge current degradation Apr 01 20:51:56 (pcf50633) the kernel then should do two things: 1) shutdown system immediately (umount, flush, etc) 2) reset 8s timer until the shutdown completed Apr 01 20:53:08 if the kernel is so busy it can't service this request from pcf50633 for >8s then it's the supposed operation mode the system gets shut down hard Apr 01 20:53:57 this function shouldn't get kicked out of kernel Apr 01 20:54:24 neither should it get disabled in pcf50633 register settings Apr 01 20:54:28 DocScrutinizer: the pcf50633 does not do that Apr 01 20:54:30 And yet it is. Apr 01 20:54:39 (tell the kernel, i'll shutdown) Apr 01 20:55:06 it doesn't ?? Apr 01 20:55:21 not if onkey_mode is 0 Apr 01 20:55:28 I thought it triggers an IRQ line and you read out what'S the IRQ source then Apr 01 20:56:34 DocScrutinizer: it very much looks like the pcf variant we got has that "turn off after 8 sec" feature disabled. Apr 01 20:56:45 o.O Apr 01 20:57:25 thne we should enable it on bootup Apr 01 20:57:46 DocScrutinizer: the datasheet i have says it's R/O. Apr 01 20:58:13 I doubt that's correct. But meh, I looked at those ds maybe 2 years ago Apr 01 20:58:57 it doesn't make any sense to have such a hardcoded bit that's only readout Apr 01 21:00:31 well, it's easy enough to find out Apr 01 21:01:44 DocScrutinizer: pmu 10=55 does nothing here Apr 01 21:02:35 sorry, no operational system here to help and reproduce Apr 01 21:28:09 GNUtoo: fsogsmd does not link directly to libnl. libgisi links to it and iirc libfosbasics Apr 01 21:28:21 ok Apr 01 21:28:24 thanks a lot Apr 01 21:28:41 np. good luck Apr 01 21:28:43 do you still have aurora images with libnl1 and a working fsogsmd? Apr 01 21:29:00 unfortunately not Apr 01 21:29:07 i didn't save them Apr 01 21:29:10 do you know how to recreate it? Apr 01 21:29:17 srcrev of oe Apr 01 21:29:20 distro Apr 01 21:29:22 local config Apr 01 21:29:24 etc... Apr 01 21:29:32 s/local config/local.conf/ Apr 01 21:29:44 all configs are on amethyst in my oe dir Apr 01 21:29:49 the only unknown is SRCDIR Apr 01 21:29:54 oe rev, i mean Apr 01 21:29:58 ok Apr 01 21:30:01 but that we can get by inspecting older irc logs i guess Apr 01 21:30:07 so you don't even have the image on microsd? Apr 01 21:30:16 because you have some files telling that Apr 01 21:30:34 for instance for SHR: Apr 01 21:30:47 cat /etc/shr-version gives 3 lines and one of them is Apr 01 21:30:48 Revision: 58b8da5 Apr 01 21:31:35 hmm, wait Apr 01 21:31:47 ok, we're lucky Apr 01 21:31:51 got an image here Apr 01 21:31:51 wow Apr 01 21:31:58 it's from 02-28 Apr 01 21:32:02 keep it safe Apr 01 21:32:11 cat /etc/*-version? Apr 01 21:32:55 mickey@saphir:/tmp/foo/etc$ cat version Apr 01 21:32:55 201102281737 Apr 01 21:33:03 ok thanks Apr 01 21:33:06 Hey there. I'm translating a python application for the olpc with gettext. Can you tell me where should I put the translations and if the translated files should be anmed in any specific way?, please. Apr 01 21:38:31 mickeyl: hmm... there is a commit in ofono from 24th Apr 01 21:38:32 isimodem: fix network registration for older modems Apr 01 21:38:51 dunno if the one in n900 is accounting as old modem though Apr 01 21:46:52 mrmoku, maybe you could try it Apr 01 21:46:57 I've to build aurora Apr 01 21:47:13 GNUtoo: try ofono? Apr 01 21:47:18 mrmoku: this refers to the cdma version Apr 01 21:47:29 ah, ok Apr 01 21:47:38 and... registration worked fine with libnl1 Apr 01 21:47:44 try to import the commit Apr 01 21:47:52 after my last commit it was even reliable Apr 01 21:48:13 then we link to static libnl1 Apr 01 21:48:16 and we're good? Apr 01 21:48:25 i have no idea Apr 01 21:48:29 this image is kind of strange Apr 01 21:48:34 as stuff links both to libnl1 and libnl2 Apr 01 21:48:41 no idea why magically this seemed to work back then Apr 01 21:49:20 and what's even more confusing... back then it did work with forwarding as well Apr 01 21:49:33 and i sure as hell have no libnl1 here on my system Apr 01 21:50:45 hmm Apr 01 21:51:03 libgisi doesn't link libnl1 at all Apr 01 21:51:06 huh Apr 01 21:54:55 i'd even try ofono to take a look Apr 01 21:55:07 but i have no idea how to configure this now that they're using udev rules Apr 01 21:55:38 mickeyl: IIRC the rules just set some environment variables Apr 01 21:56:53 hmm... no... nvm Apr 01 21:57:34 where is aurora.conf? Apr 01 21:58:51 conf/distro/ Apr 01 21:59:02 (amethyst/~mickey/oe) Apr 01 22:00:13 I've no such thing in oe.dev Apr 01 22:00:45 and I don't find it either in http://amethyst.openembedded.net/~mickey/oe/ Apr 01 22:00:53 http://amethyst.openembedded.net/~mickey/oe/ seem to use aurora as distro Apr 01 22:01:17 http://amethyst.openembedded.net/~mickey/oe/openembedded/conf/distro/aurora.conf Apr 01 22:01:38 ah ok Apr 01 22:01:40 thanks Apr 01 22:45:08 ok, i don't know what's wrong with kernel or the image, but ofono (via forwarding) fails as well here Apr 01 22:45:19 and with that g'night **** ENDING LOGGING AT Sat Apr 02 02:59:58 2011