**** BEGIN LOGGING AT Sat Dec 18 03:00:01 2010 Dec 18 07:43:05 yann: sorry... I'm using Qi since a long time... dunno what is old and what recommended Dec 18 07:43:21 yann: probably gena2x is one of the u-boot profs :) Dec 18 07:56:30 GNUtoo|laptop: yeah, having always problems with gdb too Dec 18 08:00:40 yawn, moin Dec 18 09:50:01 mrmoku: hm, there are 2 qi images in the rc1 dl dir - any prefered one ? Dec 18 10:28:29 mrmoku: any news with n900-uboot & wd? Dec 18 10:46:41 DocScrutinizer: no, JaMa was trying to port the n900 patches to current u-boot Dec 18 10:46:54 DocScrutinizer: the old u-boot used by maemo/meego does not build with our toolchain Dec 18 10:47:02 yann: shr-testing that is, right? Dec 18 10:47:58 mrmoku: blargh Dec 18 10:47:59 * mrmoku can't find no rc1 dl dir Dec 18 10:48:22 too new a toolchain - that's really nasty Dec 18 10:48:49 at least it' something keeping us busy :P Dec 18 10:48:54 +s Dec 18 10:51:22 DocScrutinizer: and then... I have wd problems without u-boot too Dec 18 10:51:39 mrmoku: I had long debates on #maemo about n900 uboot's Alzheimer, caused by no proper env partition. I suggested a few tackling vectors: a)CAL partition data seems to me like it's quite identically structured to uboot env partition. b) uboot could learn to store env to a file on eMMC. c) uboot could sote env to own program text, an empty data structure there Dec 18 10:51:43 sometimes boot is fast enough... sometimes not Dec 18 10:52:24 DocScrutinizer: probably not enough interest in u-boot ? Dec 18 10:52:34 this should be fixable by uboot dealing with wd Dec 18 10:52:52 mrmoku: nah, just too exaotic Dec 18 10:53:29 pretty few low level coders on #maemo Dec 18 10:53:41 heh, ok Dec 18 10:54:29 #meego-arm otoh is somewhat hostile. They always know better what to do and what's needed and *NOT NEEDED* :-( Dec 18 10:55:07 and generally not interested in talkers like me - standard answer: send patches! Dec 18 10:56:09 "but I'm no real decent sw-devel, I'm kinda EE and general system architecture" - "then dummy up!" Dec 18 10:57:38 "may I at least remark your driver for xyz chip is braindamaged and doesn't support suspend mode, and even uses polling" - "so what? it's upstream like that" Dec 18 10:58:39 * DocScrutinizer learnt to hate meego "community" Dec 18 10:59:27 * mrmoku feels the same :/ Dec 18 11:02:10 mrmoku: could you toss me a html (git?) URL to OM/OE's lis302dl driver? Dec 18 11:02:33 DocScrutinizer: let me try to find it :) Dec 18 11:02:38 thanks Dec 18 11:03:03 also a ls -l of the related sysfs directory would be welcome Dec 18 11:05:04 hmm lis3lv02d ? Dec 18 11:05:13 ouch, yes Dec 18 11:05:14 http://gitorious.org/~jama/htc-msm-2-6-32/openmoko-kernel/trees/shr-2.6.34/drivers/hwmon Dec 18 11:05:19 in there Dec 18 11:05:34 * mrmoku checks if upgrade finished to do a ls -l Dec 18 11:05:36 the lv302d is the borked one iirc Dec 18 11:07:44 we poll the sensor only at 20Hz... enough for the * joystick Dec 18 11:08:53 yeah, that's a joystick driver, not a driver for a generic accelerometer for general purpose low power IRQ driven use in a mobile battery powered device Dec 18 11:10:07 ""Note that 40Hz input device can eat up about 10% CPU at 800MHZ"" Dec 18 11:14:11 ""* The sensor can generate interrupts for free-fall and direction detection (distinguishable with FF_WU_SRC and DD_SRC) but to keep the things simple and _fast_ we activate it only for free-fall, Dec 18 11:16:11 394 int lis3lv02d_joystick_enable(void) Dec 18 11:16:52 yann: qi-ubi is needed if you flash ubi image in your nand flash, qi (without ubi) is for jffs2 image there Dec 18 11:17:17 is3_dev.idev->poll = lis3lv02d_joystick_poll; //uerrrgh Dec 18 11:18:12 mrmoku: I don't need a sysfs ls for this driver Dec 18 11:19:35 printk(KERN_ERR DRIVER_NAME ": joystick initialization failed\n"); Dec 18 11:20:10 mv $this /dev/null Dec 18 11:22:00 hehe Dec 18 11:22:26 *this* is a rather nice driver for lis302: http://mxr.maemo.org/fremantle/source/kernel/drivers/i2c/chips/lis302dl.c - has 1 or two flaws that are easily fixed, but isn't as broken by concept as the lis3lv02d Dec 18 11:26:56 please don't tell me SHR needs to use lis3lv02d just because the nokia driver isn't "upstream" Dec 18 11:27:59 morning Dec 18 11:28:53 one flaw of that driver is http://mxr.maemo.org/fremantle/source/kernel/drivers/i2c/chips/lis302dl.c#165 /* Control High Pass filter selection. not used */ Dec 18 11:28:58 hi mickeyl Dec 18 11:30:55 DocScrutinizer: you mean use it for OM devices too? Dec 18 11:31:05 yes Dec 18 11:31:20 it's clearly the better concept Dec 18 11:31:32 ok, we should look at porting it into the om kernel then Dec 18 11:32:48 http://mxr.maemo.org/fremantle/source/kernel/drivers/i2c/chips/lis302dl.c#187 /* Enable interrupt wakeup on x and y axis */ is another flaw of that driver, related to the first one Dec 18 11:35:11 you better enable IRQ for X,Y,Z all three and use HP-FILTER to only wake up on *movement*. The way they do it, the only non-alarming position of device is when lying flat Dec 18 11:36:29 also a few sysnodes missing, to expose these chip config options to userland (threshold, HP-Filter parameters & enable, IRQ enable) Dec 18 11:37:04 all very easy and straighforward, even I could code it during an afternoon :-) Dec 18 11:45:26 oops THS even has a synode Dec 18 11:45:33 sysnode even Dec 18 11:47:08 mrmoku: for OM devices this driver is essential for proper wakeup from suspend Dec 18 11:47:36 DocScrutinizer: the one we have now? or the one from maemo? Dec 18 11:47:40 (on device movement that is) Dec 18 11:47:47 the maemo one Dec 18 11:47:51 ok Dec 18 11:48:44 I actually suggested to implement the driver that way on OM, like some 2 years ago Dec 18 11:49:01 when I wasn't aware Nokia had that nice piece of sw Dec 18 12:00:56 does the nokia one also has the ondemand low power mode when noone is listening? Dec 18 12:03:17 errr, lis302 chip is by itself rather lowpower. And that driver isn't supposed to be polled, thus nobody "listening" usually. Rather it gets serviced by kernel (I2C transmit) only when somebody is reading from the coords(?) sysnode, or when the chip itself detects a IRQ-condition Dec 18 12:03:59 this concept can't provide a "noone listening" semantic, as the IRQs are signalled via kevent Dec 18 12:05:15 you could power down the chip if all IRQ WU sources are disabled, though the driver in its current form doesn't support this disabling (as mentioned above it needs a few easy to add sysnodes for that) Dec 18 12:05:38 interesting Dec 18 12:05:43 i wander what the OM driver then does Dec 18 12:05:47 err, wonder, actually Dec 18 12:06:07 aiui it is polling the chip Dec 18 12:06:12 @ 20Hz Dec 18 12:06:22 right Dec 18 12:06:34 braindead concept Dec 18 12:06:51 didn't andy do it because of the hardware bug with the missing CS? Dec 18 12:06:55 and of course won't work in suspend Dec 18 12:07:17 err, I'm not aware about such hw bug. Dec 18 12:08:36 the (c) in the borked lis3lv02d driver used by OM doesn't suggest Andy did anything to it Dec 18 12:10:48 I know in A5 we had bot IRQ pins of both chips connected, while later on that got changed to single dedicated IRQ / chip Dec 18 12:10:56 both* Dec 18 12:11:12 yes Dec 18 12:11:15 that was what i was remembering Dec 18 12:11:37 so maybe the problem was the CPU can't distinguish which of the chips fired an IRQ, in A5 Dec 18 12:11:44 *nod* Dec 18 12:12:01 that's however not exactly true Dec 18 12:13:16 you can configure which chip uses line 1 and which uses line 2 (given these IRQ lines are wired-OR and not a totem-pole output, which I think is the case) Dec 18 12:13:49 you also can read WU-SOURCE of both chips to see which one was the one that fired Dec 18 12:16:13 heh small meego upgrade :) Overall download size: 219.1 MiB. After the operation, additional 378.8 MiB will be used. Dec 18 12:16:32 mrmoku: that is in http://build.shr-project.org/tests/shr-testing/images/om-gta02/ Dec 18 12:16:39 mickeyl, I looked at nexus S defconfig and I saw that: CONFIG_PHONET=y Dec 18 12:16:42 hi btw Dec 18 12:16:50 I do not have such phone Dec 18 12:16:57 but maybe they use a nokia_isi modem too Dec 18 12:17:17 GNUtoo|laptop: interesting. that would mean our work on that would be applicable to more than just the n900 Dec 18 12:17:18 nice Dec 18 12:17:25 s/would/could/ Dec 18 12:17:47 maybe Dec 18 12:17:53 http://android.git.kernel.org/?p=kernel/samsung.git;a=blob;f=arch/arm/configs/herring_defconfig;h=28cce1ecf97134ba30928b71a4699c83c8f76b29;hb=refs/heads/android-samsung-2.6.35 Dec 18 12:18:55 mickeyl, how do you debug fsogsmd? Dec 18 12:19:06 I mean I tried with gdb+gdbserver and failed Dec 18 12:19:21 try directly on the device Dec 18 12:19:28 failed there too Dec 18 12:19:33 that's bad, why? Dec 18 12:19:40 gdbserver: Dec 18 12:19:48 warning: no loadable sections found in added symbol-file /home/gnutoo/embedded/sshfs/usr/lib/.debug/libz.so.1.2.3 Dec 18 12:19:50 on target: Dec 18 12:20:01 hmm Dec 18 12:20:03 what's gdbserver again? Dec 18 12:20:17 remode gdb Dec 18 12:20:22 remote Dec 18 12:20:23 ah, remove debugging never worked for me Dec 18 12:20:27 why don't you debug locally? Dec 18 12:20:58 warning: Unable to find dynamic linker breakpoint function. Dec 18 12:21:22 it worked for me in the past(wesnoth) Dec 18 12:21:22 my question is about the difference between qi-s3c2442.udfu and qi-s3c2442-1.0.2-r5+gitr0+....udfu Dec 18 12:21:43 yann, look if qi-s3c2442.udfu is a symlink Dec 18 12:22:11 /usr/lib/libfsotransport.so.0: No such file or directory. Dec 18 12:22:12 etc... Dec 18 12:22:14 can't see that from http Dec 18 12:22:19 I simlynk them Dec 18 12:22:21 ? Dec 18 12:22:28 the problem often is on html interface you can't tell links from normal files Dec 18 12:22:28 yann, you can with md5sum Dec 18 12:22:33 right Dec 18 12:22:50 if it's a symlink it should be a symlink to the lastest version Dec 18 12:24:14 /usr/lib/libfsotransport.so.0 -> libfsotransport.so.0.0.0 Dec 18 12:24:19 strange the file is there Dec 18 12:25:01 when I do: Dec 18 12:25:03 set sysroot / Dec 18 12:25:06 I've that now: Dec 18 12:25:07 warning: no loadable sections found in added symbol-file /usr/lib/.debug/libnl-route.so.2.0.0 Dec 18 12:28:06 and of course the output is unusable Dec 18 12:28:26 #0 0x4097d2e8 in ?? () Dec 18 12:28:34 #1 0x4097a4c0 in ?? () Dec 18 12:28:43 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Dec 18 12:28:58 hmm Dec 18 12:29:02 i have no idea Dec 18 12:29:06 i always run gdb directly Dec 18 12:29:11 I can't even debug in assembly Dec 18 12:29:18 mickeyl, that's what I'm talking about Dec 18 12:29:26 make sure you build the stuff with --enable-debug btw. Dec 18 12:29:36 I was talking about running gdb directly Dec 18 12:29:36 otherwise you're missing line number info everywhere Dec 18 12:29:52 ok Dec 18 12:29:57 I built from stock oe Dec 18 12:30:18 hmm Dec 18 12:30:29 I'll build manually Dec 18 12:30:32 yeah Dec 18 12:30:39 --enable-debug will give you -ggdb and -O0 Dec 18 12:30:42 but oe *should* be debuggable Dec 18 12:30:48 so line numbers in vala code and C code Dec 18 12:30:50 ah no -ggdb3? Dec 18 12:30:59 3 probably as well Dec 18 12:31:01 ok Dec 18 12:31:36 i will try to get somethign going in pass through mode Dec 18 12:31:48 if we seriously want to work on that, we need it Dec 18 12:32:42 should I add --enable-debug to the oe recipes? Dec 18 12:32:42 thankfully wifi works Dec 18 12:32:58 not by default, please Dec 18 12:33:05 this will enable even more debugging output and code Dec 18 12:33:10 which will slow down our stuff Dec 18 12:34:32 mickeyl, I mean -ggdb3 should be the default Dec 18 12:34:43 ok, but not induced by the recipe itself Dec 18 12:34:47 * GNUtoo|laptop looks in bitbake.conf Dec 18 12:34:49 but rather by OPTIMIZATION_FLAGS Dec 18 12:34:52 yes indeed Dec 18 12:36:03 also will give you bloated imgs Dec 18 12:36:11 ouch it's not there Dec 18 12:36:21 DocScrutinizer, no, because we strip them after Dec 18 12:36:27 aaah Dec 18 12:36:40 yay for seperate packing of debugging symbols ;) Dec 18 12:36:47 YEP Dec 18 12:38:12 mrmoku: you'll take care about new 302 driver? please ping me about the needed improvements to the Nokia one, whenever you get at it Dec 18 12:38:23 JaMa, hi where are -ggdb3 in the shr configs, were they removed? Dec 18 12:40:37 mrmoku: ping Dec 18 12:43:13 still that: Dec 18 12:43:14 /lib/libc.so.6: No such file or directory. Dec 18 12:43:20 I do set sysroot / Dec 18 12:43:24 to see if it's better Dec 18 12:44:27 [ 4372.122711] Out of memory: kill process 19165 (gdb) score 3409 or a child Dec 18 12:44:37 that's why I use gdbserver + gdb Dec 18 12:44:50 I'll try again with gdbserver + gdb Dec 18 12:46:27 hmm Dec 18 12:46:38 cdc_phonet is loaded on the PC Dec 18 12:46:53 now how can make the interface come up? Dec 18 12:48:52 use that: Dec 18 12:49:04 https://elektranox.org/n900/libisi/power.html Dec 18 12:49:10 or use the fso plugin for that Dec 18 12:49:15 the lowlevel nokia900 Dec 18 12:49:23 hmm Dec 18 12:49:41 then the interface will be visible on the PC? Dec 18 12:50:10 I'll install a ggdb3 libisi too Dec 18 12:50:33 I don't know how to use the phone interface on a pc Dec 18 12:50:37 ah, ok :D Dec 18 12:50:38 but I tried Dec 18 12:50:42 so I know some stuff Dec 18 12:50:47 only that I didn't succedded Dec 18 12:50:51 basically you need to: Dec 18 12:50:54 rmmod g_ether Dec 18 12:50:58 modprobe g_nokia Dec 18 12:51:02 that creates 2 interfaces Dec 18 12:51:07 one on the phone side Dec 18 12:51:12 and one on the computer side Dec 18 12:51:26 g_nokia on the PC? Dec 18 12:51:27 + some other interfaces such as acm or usb0 but that's not important here Dec 18 12:51:33 no, on the phone Dec 18 12:51:37 ya, did that Dec 18 12:51:52 ok Dec 18 12:51:58 i guess the missing link is Dec 18 12:51:59 then I know how to power on phonet0 Dec 18 12:52:00 I activated the phonet0 with the command: Dec 18 12:52:00 /mnt/initfs/sbin/phonet -a 0x6C -i phonet0 Dec 18 12:52:08 this is what nicola wrote Dec 18 12:52:14 what's that? Dec 18 12:52:17 so we need the interface to come up Dec 18 12:52:38 ifconfig interface up? Dec 18 12:52:47 it's not there Dec 18 12:52:50 hmmm Dec 18 12:52:52 no phonet0 yet Dec 18 12:52:55 that's why i'm asking Dec 18 12:53:01 let's recap a bit Dec 18 12:53:08 let me try to turn on the modem Dec 18 12:53:11 do you have the binary offhand? Dec 18 12:53:29 we should build it for debugging purposes... Dec 18 12:53:31 arm-something-gcc should do the trick Dec 18 12:53:34 k Dec 18 12:54:29 mickeyl: I gather you know a bit about phonet and libisi. Any idea if some network status info along %EM is available? Dec 18 12:54:32 so back to the recap stuff Dec 18 12:54:41 DocScrutinizer: i don't know anything yet Dec 18 12:54:42 modem interface on the phone side: phonet0 Dec 18 12:54:50 GNUtoo|laptop: ./sane-toolchain-eglibc.inc:FULL_OPTIMIZATION_pn-eglibc_arm Dec 18 12:54:52 DocScrutinizer: no time to investigate anything yet. just starting Dec 18 12:54:55 g_nokia interface on the phone side: upnlink0 Dec 18 12:55:21 g_nokia interface on the laptop/desktop side: usbpn0 Dec 18 12:55:25 mickeyl: k, if you run into anything related, please let me know Dec 18 12:56:27 DocScrutinizer: will do Dec 18 12:56:56 GNUtoo|laptop: for OOM use rm -f /lib/.debug/libc.so.6 Dec 18 12:57:00 JaMa, ok so it should be there....but why is debuggong broken Dec 18 12:57:09 *debugging Dec 18 12:57:16 because it's damn big Dec 18 12:57:34 I'll try if alignment traps are gone in current eglibc rev Dec 18 12:57:35 I mean with gdb+gdbserver Dec 18 12:58:17 GNUtoo|laptop: i have the upnlink0, but i don't have any interface on the PC side Dec 18 12:58:58 err, usppn0 i meant Dec 18 12:59:29 do you have phonet on pc side? Dec 18 12:59:33 no Dec 18 12:59:41 i mean the kenel module Dec 18 12:59:57 mickey@saphir:~$ lsmod|grep phonet Dec 18 12:59:57 cdc_phonet 5146 0 Dec 18 12:59:57 phonet 23295 1 cdc_phonet Dec 18 13:00:05 ok Dec 18 13:00:13 so you have it Dec 18 13:00:18 hmmm Dec 18 13:00:36 ok, wait... i see Dec 18 13:00:44 ok Dec 18 13:00:49 it's also called usbpn0 on the PC Dec 18 13:00:52 i was looking for phonet0 Dec 18 13:01:05 so i have the interface on both sides Dec 18 13:01:08 * mickeyl ifconfig up Dec 18 13:02:37 ok Dec 18 13:02:51 but then after that...I'm lost Dec 18 13:03:33 ok Dec 18 13:03:37 ofonod does not see any modem Dec 18 13:06:35 do you have the right ofono config? Dec 18 13:06:55 there is something like fsofsmd.conf for ofono Dec 18 13:07:04 hmm Dec 18 13:07:14 they have a generic isi driver Dec 18 13:07:17 and a n900 drvier Dec 18 13:10:48 ~lart ofonod Dec 18 13:10:49 * apt gets a hotmal account and SPAMs ofonod Dec 18 13:11:05 oh well Dec 18 13:11:07 let me use libisi Dec 18 13:11:34 hi there Dec 18 13:11:51 moin Kensan Dec 18 13:12:52 how are things? Dec 18 13:13:14 * Kensan is looking for a "smallish" Python starter project Dec 18 13:13:17 ;) Dec 18 13:13:48 yeah isn't phonet funny? has a virtual modem via network, on PC Dec 18 13:13:58 GNUtoo: is there a keepalive test or something? Dec 18 13:14:04 or at least detection Dec 18 13:14:19 authenticate and network are already doing too much Dec 18 13:14:23 a ping would do Dec 18 13:14:31 just want to check whether the passthrough works Dec 18 13:15:00 where is sre when you need him... Dec 18 13:17:18 reading... Dec 18 13:18:04 there are some vala ecamples in tests Dec 18 13:18:33 * GNUtoo forgott to eat....and should do it soon Dec 18 13:20:25 hmmm Dec 18 13:21:27 else we could use maemo...but their stuff would interfeer with the initialization...not counting the proprietaryness and the "sms service" Dec 18 13:22:03 hmm Dec 18 13:22:08 upnlink0 vs. phonet0 Dec 18 13:22:17 what is what for? Dec 18 13:23:03 I described the interfaces not so long ago...what do you mean exactly? Dec 18 13:23:55 ok, the PC sends out packages Dec 18 13:23:56 look up... Dec 18 13:24:05 the device gets the packages Dec 18 13:24:14 but doesn't answer Dec 18 13:24:22 ok Dec 18 13:24:22 so the communication does work Dec 18 13:24:28 but the modem is not answering yet Dec 18 13:24:34 ok Dec 18 13:24:47 my concern were Dec 18 13:25:13 how to bind phonet0 and the g_nokia phone side interface Dec 18 13:25:17 ? Dec 18 13:25:26 or route Dec 18 13:25:32 or something Dec 18 13:25:36 hmm Dec 18 13:26:01 we should find out what /mnt/initfs/sbin/phonet -a 0x6C -i phonet0 does Dec 18 13:26:28 ok Dec 18 13:26:34 on maemo you get asked which mode you want to connect via usb Dec 18 13:26:47 so i wonder whether we have to explicitly switch to pcsuite mode Dec 18 13:26:52 and if so, how Dec 18 13:27:23 mrmoku knows Dec 18 13:44:56 mickeyl, any luck? Dec 18 13:45:15 for me debugging still doesn't work Dec 18 13:45:51 #0 0x4095c2e8 in g_isi_client_destroy () from embedded/sshfs/usr/lib/libisi.so.0 Dec 18 13:45:57 it's a from, not an in Dec 18 13:51:40 mickeyl: pong Dec 18 13:52:08 what steps did you do to enable pass through and where did it hang for you? Dec 18 13:52:30 just made sure g_nokia is loaded and powered the modem on Dec 18 13:52:47 and then the tests in libisi timeout Dec 18 13:52:58 instead when booted to maemo they don't Dec 18 13:53:02 ok Dec 18 13:53:20 so the missing link is probably to enable pass through on the device side Dec 18 13:53:30 or rather connect the pass through interface to the actual modem Dec 18 13:53:33 maybe because of the different kernel? Dec 18 13:53:42 meego uses 2.6.35 and ofono supports that Dec 18 13:54:09 for instance the initialization is different between both kernel but according to the source code it should autodetect Dec 18 13:54:12 why are we not using the meego kernel again? Dec 18 13:54:19 maemo kernel Dec 18 13:54:23 maemo power kernel to be exact Dec 18 13:54:26 is what we use Dec 18 13:54:27 dvfs is not there Dec 18 13:54:43 yes Dec 18 13:54:47 the state is unknown(we don't know what is lacking) Dec 18 13:54:51 why are we _not_ using th e meego kernel was the question Dec 18 13:54:56 ah, we never tried Dec 18 13:55:54 when we asked to the meego devs they didn't know what was lacking in their kernel Dec 18 13:56:10 heh Dec 18 13:56:12 no DVFS means huge power consumation Dec 18 13:56:14 ok, what a chaos :D Dec 18 13:56:39 the question is rather why we don't use it yet => because it's not ready yet Dec 18 13:57:18 mickeyl: if I do LD_LIBRARY_PATH=../src ./network Dec 18 13:57:22 because of course we want to use it, but when it'll be ready Dec 18 13:57:25 while g_ether is loaded Dec 18 13:57:26 I get Dec 18 13:57:31 ** (process:5989): DEBUG: g_pn_netlink_set_address: Operation not permitted Dec 18 13:57:34 ** (process:5989): DEBUG: g_pn_netlink_add_route: Operation not permitted Dec 18 13:57:42 i'm afraid you need to be root Dec 18 13:58:02 probably Dec 18 13:58:06 i see packets coming in Dec 18 13:58:11 though when doing that with g_nokia loaded Dec 18 13:58:12 on the device side Dec 18 13:58:14 I get in addition Dec 18 13:58:15 ** (process:5989): DEBUG: Phonet: usbpn0 is down, idx=0xa Dec 18 13:58:15 Modem Reachable Status: down Dec 18 13:58:28 did you change phonet0 to usbpn0? Dec 18 13:58:43 on the host side it's not called phonet0 as far as i can see Dec 18 13:59:05 hi morphis Dec 18 13:59:17 GNUtoo|laptop: heyho Dec 18 13:59:21 after doing ifconfig phonet0 up Dec 18 13:59:28 and running it as root on my lapotp Dec 18 13:59:40 ** (process:6004): DEBUG: Phonet: usbpn0 is up, idx=0xa Dec 18 13:59:40 ** (process:6004): WARNING **: Retry COMM_ISI_VERSION_GET_REQ Dec 18 13:59:40 ** (process:6004): WARNING **: Timeout COMM_ISI_VERSION_GET_REQ Dec 18 13:59:40 ** (process:6004): WARNING **: Unable to bootstrap mtc driver Dec 18 13:59:45 yep Dec 18 13:59:51 that's exactly where it's hanging for me Dec 18 13:59:59 it sends the REQ out Dec 18 14:00:03 the REQ arrives on the device Dec 18 14:00:07 but noone answers on the device Dec 18 14:00:10 yup Dec 18 14:00:24 brb Dec 18 14:00:30 ok Dec 18 14:00:39 we might have to forward that to phonet0 Dec 18 14:03:00 could someone still running maemo check what Dec 18 14:03:08 effect choosing "PC Suite" mode has? Dec 18 14:03:19 would be interesting to see whether it calls a binary Dec 18 14:03:31 or anything else Dec 18 14:09:03 hmm, nnokia pc suite may be completely uninteresting Dec 18 14:09:11 this probably just talks AT Dec 18 14:10:00 ah, you guys trying to work with the phonet-stuff from your local pc? Dec 18 14:10:10 yes Dec 18 14:10:29 it's no real serial interface? Dec 18 14:10:37 no fake serial Dec 18 14:10:51 basically a proprietary userland program called pnatd emulate AT Dec 18 14:11:40 mickeyl: the most obvious effect is g_nokia being loaded Dec 18 14:11:45 dunno what else it doesn Dec 18 14:11:47 -n Dec 18 14:11:57 and how to check what it does Dec 18 14:12:04 * mrmoku boots to maemo Dec 18 14:13:14 yeah Dec 18 14:13:20 lets compare the output of ifconfig -a Dec 18 14:13:24 in a working scenario and a non-working Dec 18 14:13:43 and route Dec 18 14:15:11 mickeyl: I have tx/rx bytes on both... phonet0 and upnlink0 Dec 18 14:15:19 after issuing the network command Dec 18 14:15:50 right Dec 18 14:15:54 that shows the missing link Dec 18 14:16:06 "shows" Dec 18 14:16:20 how's your ifconfig -a and route -rn looking? Dec 18 14:16:46 invalid option -r :P Dec 18 14:16:54 heh Dec 18 14:16:58 s/rn/n/ Dec 18 14:17:04 empty Dec 18 14:17:36 note that it's not tcp/ip Dec 18 14:17:39 it's phonet Dec 18 14:17:42 another protocol Dec 18 14:17:46 but phonet0 and upnplink0 are shown in ifconfig without -a Dec 18 14:18:24 http://pastebin.ca/2022810 ? Dec 18 14:18:35 hmm... I have a phonet command under maemo Dec 18 14:18:41 Usage: phonet <-a|--addr-add ADDR> | <-l|--addr-lst> | <-d|--addr-del ADDR> <-i|--dev DEVICE> Dec 18 14:18:51 can I change that: Dec 18 14:18:57 CFlags: -std=c99 -I${includedir}/isi-0.0/isi to CFlags: -std=c99 -I${includedir}/isi-0.0 Dec 18 14:18:57 is that a statically linked binary? Dec 18 14:19:02 in the libisi.pc.in ? Dec 18 14:19:09 GNUtoo|laptop: sure Dec 18 14:19:12 ok Dec 18 14:19:17 I'll advise sre Dec 18 14:19:21 http://shr.pastebin.com/bJM0hmgE Dec 18 14:20:12 right, basically the very same Dec 18 14:20:25 just that you see transmits Dec 18 14:20:29 where i don't see them Dec 18 14:20:31 apart from the missing traffic and a different MTU on upnplink0 Dec 18 14:20:36 yeah Dec 18 14:21:29 can you strace phonet -a 0x6C -i phonet0 ? Dec 18 14:22:07 hmm Dec 18 14:22:08 http://shr.pastebin.com/shtdBHFM Dec 18 14:22:24 missing strace... have to install that first Dec 18 14:27:15 hmm Dec 18 14:27:20 http://wiki.maemo.org/User:Jebba/Fedora reads Dec 18 14:27:24 To initialize modem, you need to run this non-free command: Dec 18 14:27:25 /mnt/initfs/sbin/phonet -a 0x6C -i phonet0 Dec 18 14:27:25 ifconfig phonet0 up # or: Dec 18 14:27:25 ip link set dev phonet0 up Dec 18 14:27:46 i wonder whether this just does the equivalent what sre wrote Dec 18 14:27:49 or more Dec 18 14:28:15 hmm... non-free command :/ Dec 18 14:29:25 * mrmoku can't find no strace Dec 18 14:29:39 hmm Dec 18 14:29:41 mrmoku, use the one from SHR? Dec 18 14:29:45 i wonder whether it makes sense to ask on #meego Dec 18 14:32:31 heh Dec 18 14:32:42 GNUtoo|laptop: have to reboot to SHR to install it first :P Dec 18 14:32:43 trying... Dec 18 14:32:47 good luck Dec 18 14:33:13 why just chrooting? Dec 18 14:34:35 * mrmoku tries Dec 18 14:35:43 * mrmoku has to build it first Dec 18 14:40:01 GNUtoo|laptop: btw. DVFS stuff is very close to being merged into the linux-omap kernel Dec 18 14:40:18 and that hopefully means it will get to mainline within the next merge window Dec 18 14:40:24 (which will be next year :/) Dec 18 14:40:38 next year is close Dec 18 14:41:57 Nokia-N900:/sys# /media/mmc1/usr/bin/strace -o /tmp/dump phonet -a 0x6C -i phonet0 Dec 18 14:42:00 syscall: unknown syscall trap 0xe5bcf780 Dec 18 14:42:03 baaah compat-wireless-2.6-old has a very very bad build system .... Dec 18 14:42:37 GNUtoo|laptop: fortunatelly :-) Dec 18 14:44:12 syscall: unknown syscall trap 0xe5bcf780 Dec 18 14:44:20 is that strace failing? Dec 18 14:44:24 or the strace result? Dec 18 14:44:30 no, strace failing Dec 18 14:44:43 do you have a debian chroot? Dec 18 14:44:52 no Dec 18 14:44:55 hmmm Dec 18 14:45:52 freesmartphone.org: 03GNUtoo 07libisi * r741e31e71bd4 10/data/libisi.pc.in: (log message trimmed) Dec 18 14:45:52 freesmartphone.org: libisi.pc.in: fix includes path Dec 18 14:45:52 freesmartphone.org: The vapi file has lines like: Dec 18 14:45:52 freesmartphone.org: [CCode (cname = "isi_subsystem_reachable_cb", cheader_filename = "isi/modem.h")] Dec 18 14:45:52 freesmartphone.org: Combined with: Dec 18 14:45:53 freesmartphone.org: -I${includedir}/isi-0.0/isi Dec 18 14:45:53 freesmartphone.org: From the .pc file Dec 18 14:46:41 mickey: ohh... found something interesting Dec 18 14:46:57 a sys node? Dec 18 14:47:05 http://shr.pastebin.com/Q3ZgVeNt Dec 18 14:47:39 oh Dec 18 14:47:48 perhaps a simple ifconfig up is not enough Dec 18 14:47:57 http://shr.pastebin.com/v4NMzEif Dec 18 14:48:15 ! Dec 18 14:48:50 ah right Dec 18 14:48:55 it matches the headers Dec 18 14:49:06 0x10, 0x6c Dec 18 14:49:10 PN_DEV_PC Dec 18 14:49:16 etc... Dec 18 14:49:35 PN_DEV_HOST Dec 18 14:49:42 now... what is the phonet binary doing Dec 18 14:50:03 mrmoku, look into that: isi/gisi/netlink.h Dec 18 14:50:14 that can help Dec 18 14:50:20 but would surely not be sufficent Dec 18 14:50:27 but.... Dec 18 14:50:36 we have tcpdump and wireshark Dec 18 14:50:38 right? Dec 18 14:50:53 plus sre's plugins for wireshark Dec 18 14:52:18 DocScrutinizer: where do I find damn strace for maemo? Dec 18 14:55:12 ok... have it Dec 18 14:55:15 DocScrutinizer: nvm :) Dec 18 14:55:36 Nokia-N900:~# strace -o dump phonet -a 0x6C -i phonet0 Dec 18 14:55:36 Netlink error: File exists Dec 18 14:57:07 mickey: http://shr.pastebin.com/t3FLveW0 Dec 18 14:58:50 so it sends some netlink message Dec 18 14:58:54 yes Dec 18 14:59:03 so just get the messages with tcpdump Dec 18 14:59:10 and analyze them with wireshark Dec 18 14:59:11 no? Dec 18 14:59:28 sounds like a plan Dec 18 15:01:04 * mrmoku installs tcpdump Dec 18 15:02:43 hmm... guess I need some instructions :) Dec 18 15:03:10 first capture the packets Dec 18 15:03:16 get a pcap file Dec 18 15:03:38 basically: Dec 18 15:03:38 tcpdump -i phonet0 does not show anything Dec 18 15:03:49 reboot the phone under maemo Dec 18 15:04:04 even if it's already under maemo Dec 18 15:04:05 or Dec 18 15:04:16 do something else that has the same effect Dec 18 15:04:29 to de-initializie the modem Dec 18 15:04:39 then do Dec 18 15:05:30 tcpdump -i good_interface --good-arguments Dec 18 15:05:34 let me find that Dec 18 15:06:03 hehe Dec 18 15:06:10 * mrmoku is missing --good-arguments :) Dec 18 15:06:14 -w file Dec 18 15:06:20 try that Dec 18 15:06:28 if your unsure Dec 18 15:06:32 try with your laptop first Dec 18 15:06:36 on wlan0 Dec 18 15:06:44 tcpdump -i phonet0 -s 0 -w logfile.pcap Dec 18 15:07:22 yes Dec 18 15:07:29 but not only phonet0 Dec 18 15:07:41 but the other interface created by g_nokia Dec 18 15:07:58 upnlink0 Dec 18 15:08:02 yes Dec 18 15:32:14 GNUtoo|laptop: tcpdump: WARNING: can't create rx ring on packet socket 3: 92-Protocol not available Dec 18 15:32:27 then look how sre does it Dec 18 15:32:30 guess I need a *better* tcpdump? Dec 18 15:32:33 I can't compile the wireshark plugins Dec 18 15:32:36 let me look Dec 18 15:32:41 hmm Dec 18 15:32:46 he says tcpdump from maemo Dec 18 15:33:14 tcpdump -i phonet0 -s 0 -w logfile.pcap Dec 18 15:33:18 that's the same command Dec 18 15:33:24 from his website Dec 18 15:33:29 https://elektranox.org/n900/libisi/index.html Dec 18 15:34:24 yeah Dec 18 15:34:34 I get a very small logfile.pcap Dec 18 15:34:35 let me try on SHR Dec 18 15:34:37 maybe that's fine Dec 18 15:34:43 24 bytes Dec 18 15:36:50 hmm... interesting Dec 18 15:37:03 I get the same failure now under maemo :-) Dec 18 15:38:22 in SHR it works for me Dec 18 15:38:47 http://pastebin.com/aFe67EdJ Dec 18 15:39:50 hmm Dec 18 15:40:12 http://pastebin.com/3dyVZEWN Dec 18 15:40:22 guess my pin Dec 18 15:41:45 what version of maemo do you have? Dec 18 15:42:22 1.3 Dec 18 15:42:31 should I try on 1.2? Dec 18 15:43:06 don't think that should change thing Dec 18 15:43:08 s Dec 18 15:43:20 * GNUtoo|laptop is tired and is Yawn all the time Dec 18 15:43:24 hmm Dec 18 15:43:31 s/Yawn/Yawning Dec 18 15:44:25 how can I start tcpdump with -i phonet0 because it's not there yet? Dec 18 15:44:55 https://elektranox.org/n900/libisi/index.html has a service script for that Dec 18 15:45:08 hmmm Dec 18 15:45:17 create phonet0 with udev Dec 18 15:45:31 then launch the tcpdump Dec 18 15:45:35 and then phonet Dec 18 15:46:05 hmm Dec 18 15:46:30 have to do something with family first Dec 18 15:46:34 will continue later Dec 18 15:46:52 ok Dec 18 15:50:43 * GNUtoo|laptop will do something with ai_family first then Dec 18 15:51:04 s/first then/in the meantime Dec 18 15:51:25 aka AF_INET || AF_INET6 Dec 18 16:44:07 ERROR: Task 21 (/media/disk/openembedded/shr-unstable/openembedded/recipes/eglibc/eglibc-initial_2.12.bb, do_install) failed with 256 Dec 18 16:46:05 ferluszt: did you make update in between? Dec 18 16:46:40 no Dec 18 16:47:11 eglibc version was changed few minutes ago Dec 18 16:47:20 so better to update and run again Dec 18 16:47:49 and without log I have no idea what could go wrong Dec 18 16:48:00 this morning i removed everything Dec 18 16:48:12 i only left the downloads folder Dec 18 16:48:48 as you also removed cache then please make sure you'll reflash not just opkg upgrade Dec 18 16:49:55 make update and then "bb -c unpack -f -b openembedded/recipes/eglibc/eglibc_2.12.bb; bb -c unpack -f -b openembedded/recipes/eglibc/eglibc-initial_2.12.bb;" Dec 18 16:50:55 mmh Dec 18 16:52:05 i removed everything but the download folder, then wget http://shr.bearstech.com/Makefile Dec 18 16:52:13 then make setup Dec 18 16:52:35 and? Dec 18 16:52:36 then cd shr-unstable and make image Dec 18 16:52:45 that's right Dec 18 16:53:25 no do what I've said or at least provide log.do_install.$$ from that failed run Dec 18 16:53:30 s/no/now/ Dec 18 16:53:31 JaMa|Off meant: now do what I've said or at least provide log.do_install.$$ from that failed run Dec 18 16:53:54 ok Dec 18 16:54:04 * JaMa|Off leaving in 5 minutes.. Dec 18 16:55:36 GNUtoo|laptop: ok, back :) Dec 18 16:56:56 GNUtoo|laptop: sendto(3, "\35\0\0\0\24\0\5\0\340W\\I\0\0\0\0#\0\0\0\4\0\0\0\5\0\2\0l", 29, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 29 Dec 18 16:57:00 is the interesting one, right? Dec 18 16:58:17 I'll look Dec 18 17:00:07 I think so Dec 18 17:00:47 standard internet socket stuff I think Dec 18 17:00:55 http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html#sendtorecv Dec 18 17:26:15 GNUtoo|laptop: maybe looking at what meego does on start would be worth it Dec 18 17:26:22 ok Dec 18 17:27:42 ohh Dec 18 17:27:42 > Autoconfiguration of the Phonet stack is the kernel's job (or phonet-utils' Dec 18 17:27:46 > on older kernels). Dec 18 17:27:50 heh Dec 18 17:27:57 so probably nothing in meego Dec 18 17:28:04 (apart from the newer kernel) Dec 18 17:28:14 from http://blog.gmane.org/gmane.comp.handhelds.ofono/month=20100901 Dec 18 17:28:38 mrmoku, yes but we don't have 2.6.35 Dec 18 17:29:39 yeah Dec 18 17:29:54 but lots of reasons why we should have Dec 18 17:30:06 so we merge dvfs patches? Dec 18 17:30:25 what are the reason for 2.6.35? Dec 18 17:30:43 fm radios, modems Dec 18 17:30:44 ? Dec 18 17:30:50 s/modems/modem Dec 18 17:31:02 sre seem online on xmpp Dec 18 17:31:07 mickeyl, ^^^ Dec 18 17:33:48 GNUtoo|laptop: devtmpfs and phonet Dec 18 17:33:51 are two Dec 18 17:34:07 ok Dec 18 17:34:17 anyway... I think there is stuff for that in ofono too Dec 18 17:34:31 isigen: fix phonet address initialization Dec 18 17:36:00 GNUtoo|laptop: take a look at isigen_probe in plugins/isigen.c Dec 18 17:37:09 int error = g_pn_netlink_set_address(idx, address); Dec 18 17:37:42 yes I'm looking at the fix Dec 18 17:40:13 what should we do then? Dec 18 17:41:02 do that in the n900 modem plugin? Dec 18 17:41:17 ??? Dec 18 17:41:21 it doesnt' work that way Dec 18 17:41:25 we depend on libisi Dec 18 17:41:31 which imports from ofono Dec 18 17:42:08 isi/modem.c: error = g_pn_netlink_set_address(modem->idx, PN_DEV_SOS); Dec 18 17:42:11 is in libisi Dec 18 17:43:21 - int error = g_pn_netlink_set_address(idx, PN_DEV_PC); Dec 18 17:43:25 strange Dec 18 17:43:31 that's not the same set_address Dec 18 17:43:41 hmm Dec 18 17:44:10 I meant Dec 18 17:44:13 it's not the same address Dec 18 17:44:23 like PN_DEV_SOS against PN_DEV_PC Dec 18 17:44:31 and stuff has changed a lot... Dec 18 17:44:40 between sre's import and ofono Dec 18 17:44:50 hmm Dec 18 17:45:57 gisi/netlink.h: PN_DEV_SOS = 0x6C, /* Symbian or Linux */ Dec 18 17:49:18 wow it seems I packaged compat-wireless-2.6-old successfully ... Dec 18 17:50:05 yes there are 3 addresses Dec 18 18:04:47 SUBSYSTEMS=="usb", ENV{OFONO_DRIVER}="isigen", ENV{OFONO_ISI_ADDRESS}="16" Dec 18 18:04:51 SUBSYSTEMS=="hsi", ENV{OFONO_DRIVER}="n900", ENV{OFONO_ISI_ADDRESS}="108" Dec 18 18:05:14 hmmm Dec 18 18:05:22 what's that? Dec 18 18:05:33 ofono.rules in the plugins subdir Dec 18 18:05:37 ok Dec 18 18:05:52 probably to let ofono know via udev what modem to use Dec 18 18:08:24 ok Dec 18 18:10:35 GNUtoo|laptop: did you talk with sre about it? Dec 18 18:11:28 no Dec 18 18:13:18 eating Dec 18 18:15:57 buon appetito :) Dec 18 18:18:16 * mrmoku eating too Dec 18 19:03:48 thanks Dec 18 19:04:07 ping me when you're back Dec 18 19:06:07 ping Dec 18 19:06:20 ping GNUtoo Dec 18 19:06:21 :) Dec 18 19:10:45 ok Dec 18 19:16:13 GNUtoo|laptop: what is that n900 gpio thing in ofono? for newer kernel? Dec 18 19:24:28 older Dec 18 19:24:52 gpio is for 2.6.28 Dec 18 19:28:37 ohh Dec 18 19:32:02 heh... freaking google Dec 18 19:32:26 looks like it is sending an automatic mail if you add a contact to your jabber list :( Dec 18 19:32:27 the newer can initialize via phonet0 itself Dec 18 19:32:33 ok Dec 18 19:32:46 both are supported in lowlevel_nokia900 Dec 18 19:33:01 I only tested with 2.6.28 Dec 18 19:33:03 tough Dec 18 19:33:08 ok Dec 18 19:37:54 so, what do we do? Dec 18 19:38:55 GNUtoo|laptop: we should search for a cluestick :P Dec 18 19:39:04 ? Dec 18 19:39:14 where were we already? Dec 18 19:39:22 do you want to try 2.6.35? Dec 18 19:39:25 a cluestick... which beats us... and then we have a clue about what to do :) Dec 18 19:39:31 ok Dec 18 19:39:55 just read linux-omap list... Dec 18 19:40:04 do you want sre to come online? Dec 18 19:40:10 some interesting patch for the n900 audio Dec 18 19:40:16 ok Dec 18 19:40:27 sound/soc or the modem? Dec 18 19:40:30 well, if he knows what is missing... Dec 18 19:40:32 modem = cmt_speech Dec 18 19:41:00 omap: rx51: Add supplies and data for codec b part of TLV320AIC34 Dec 18 19:41:39 Upcoming ASoC core and tlv320aic3x changes makes possible to take b part of Dec 18 19:41:42 TLV320AIC34 into use on RX51/N900. Prepare to this by adding virtual supplies Dec 18 19:41:45 and platform data for b part of the codec. Dec 18 19:42:01 whatever that means :-) Dec 18 19:42:06 ok Dec 18 19:42:39 I'll explain what that means later but sre got no ideas Dec 18 19:42:43 he compiles on the n900 Dec 18 19:42:46 (debian) Dec 18 19:42:54 hehe, ok Dec 18 19:43:11 hmm... did you try the test on n900 itself? Dec 18 19:43:45 what test? Dec 18 19:43:51 the vala tests from libisi Dec 18 19:43:54 yes of course Dec 18 19:44:04 in libisi network and authenticate Dec 18 19:44:11 yes they work fine Dec 18 19:44:14 ok Dec 18 19:44:28 hmm Dec 18 19:47:05 bbiab Dec 18 19:47:19 ok Dec 18 19:47:43 once upon a time there was a vailant hacker named RMS...(story time?) Dec 18 20:15:15 GNUtoo|laptop: did you have success with fm in the end? Dec 18 20:15:27 maybe Dec 18 20:15:40 but he has quit too early to see the success Dec 18 20:15:53 he ? Dec 18 20:16:08 yes : * eFfeM has quit (Quit: Leaving.) Dec 18 20:16:30 hmm... I'm talking about FM on n900 :) Dec 18 20:16:34 ok Dec 18 20:16:35 lol Dec 18 20:16:43 I suspected it when you said: Dec 18 20:16:46 he ? Dec 18 20:16:50 :) Dec 18 20:16:57 just discovered some scripts in a meego repo Dec 18 20:17:00 no, no success Dec 18 20:17:29 http://meego.gitorious.org/meego-device-adaptation/n900_nokia-n900-configs/trees/master Dec 18 20:18:09 yes Dec 18 20:18:13 I tried such things Dec 18 20:18:16 didn't work Dec 18 20:18:35 amixer -D hw:0 set 'FMTX Function' On Dec 18 20:18:44 I tried only that manually tough Dec 18 20:18:46 I'll retry Dec 18 20:22:51 DocScrutinizer: FYI projects.om.org seems to be down Dec 18 20:35:51 do we really need fmtx now? Dec 18 20:41:35 no, just found those scripts and thought you have been interested Dec 18 20:42:09 ok Dec 18 20:42:16 because I tried again and failed again Dec 18 20:42:21 ok Dec 18 20:42:26 and we get that for free with 2.6.35 Dec 18 20:42:37 and indeed I'm very interested Dec 18 20:42:54 but in another hand I don't want to five it too much time Dec 18 20:43:07 modem is more important for most people Dec 18 20:43:38 sure Dec 18 20:43:45 modem is #1 priority Dec 18 20:44:29 and battery is #2 Dec 18 20:46:11 ok Dec 18 20:46:20 I installed 1.4.2-2 version of wireshark Dec 18 20:46:26 let's see if the plugins compile now Dec 18 20:46:53 nice compiled Dec 18 20:48:58 I'll boot in maemo Dec 18 20:49:23 to get a trace Dec 18 20:49:30 or did you get the trace? Dec 18 20:49:56 no Dec 18 20:51:06 ok Dec 18 20:51:09 then I'll try Dec 18 21:11:56 hello, i cannot compile glib-2.0, gdbus-serialization.c:28:23: fatal error: dbus/dbus.h: No such file or directory Dec 18 21:12:19 does anybody has a solution ? Dec 18 21:15:23 freesmartphone.org: 03morphis 07cornucopia * r3f8151b88abe 10/fsodeviced/conf/palm_pre/fsodeviced.conf: Dec 18 21:15:23 freesmartphone.org: fsodeviced: palm_pre configuration: add kernel26 firmware loader Dec 18 21:15:23 freesmartphone.org: Signed-off-by: Simon Busch Dec 18 21:18:12 mrmoku, I think the warnings are just warnings Dec 18 21:18:17 it capture just the same Dec 18 21:18:33 for instance: Dec 18 21:18:34 0x0010: 0000 0300 5400 4900 4d01 0001 0000 0009 ....T.I.M....... Dec 18 21:19:30 hmm... your provider :) Dec 18 21:19:41 question is if the caputure is early enough Dec 18 21:19:45 the provider of my not-activated sim Dec 18 21:19:45 in theory it can't be Dec 18 21:19:50 I'll look Dec 18 21:20:08 because the thing we're interested in happens before phonet0 is up Dec 18 21:20:37 no Dec 18 21:20:54 it happens after phonet0 is up but before the other interface is up Dec 18 21:21:30 ok Dec 18 21:25:34 http://pastebin.com/V1KTHRdc Dec 18 21:26:06 upnlink0 before and after beeing up Dec 18 21:26:10 from ifconfig Dec 18 21:33:27 phonet -a "$ADDR" -i "$IFACE" does some magic Dec 18 21:33:37 I'll try to findout what writing some code Dec 18 21:33:44 instead of stracing etc... Dec 18 21:34:12 ok Dec 18 21:34:43 freesmartphone.org: 03morphis 07cornucopia * r440a07398b3c 10/fsodeviced/src/plugins/palmpre_quirks/powercontrol.vala: Dec 18 21:34:44 freesmartphone.org: fsodeviced: palmpre_quirks: remove wrong and unused MODULE_NAME from powercontrol module Dec 18 21:34:44 freesmartphone.org: Signed-off-by: Simon Busch Dec 18 21:37:04 basically I'll try to compile that: Dec 18 21:37:06 error = g_pn_netlink_set_address(g_isi_modem_by_name("upnlink0"),0x10); Dec 18 21:40:22 mrmoku: hello glib-2.0 does not compile, gdbus-serialization.c:28:23: fatal error: dbus/dbus.h: No such file or directory Dec 18 21:40:55 mrmoku: but the include is in sysroots/x86_64-linux/usr/include/dbus-1.0/dbus/dbus.h Dec 18 21:42:57 mrmoku: and this directory is used: -I/home/nschle85/shr-build/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/home/nschle85/shr-build/shr-unstable/tmp/sysroots/x86_64-linux/usr/include/dbus-1.0 Dec 18 21:44:54 mrmoku: the path is too long what happened here ? Dec 18 21:48:39 nschle85, are you using soft links? Dec 18 21:49:17 freesmartphone.org: 03morphis 07cornucopia * r00dbec2636ae 10/fsodeviced/conf/palm_pre/fsodeviced.conf: fsodeviced: add palmpre_quirks plugin a second time ... narf Dec 18 21:50:11 i dont know , I use the shr Makefile (make image) to compile the packages Dec 18 21:51:25 nschle85, just to make sure you are not using any symlink in any dir in the paths you've shown, as afaik OE doesn't support them Dec 18 22:03:38 grrr issues with static libisi Dec 18 22:03:41 I'll reboot into SHR Dec 18 22:03:54 no Dec 18 22:05:40 I'll create the static lib by hand Dec 18 22:39:49 mrmoku, ok roughly you have to do that to capture packets Dec 18 22:40:00 rmmog g_filestorage Dec 18 22:40:04 modprobe g_nokia Dec 18 22:40:11 tcpdump on both interface Dec 18 22:40:20 and run the phonet command Dec 18 22:52:58 mrmoku, hmmm Dec 18 22:53:12 mrmoku, doing that : Dec 18 22:53:23 phonet -i upnlink0 -d 10 Dec 18 22:53:28 makes it continue to work Dec 18 22:53:39 after pressing the GUI for pc suite Dec 18 22:55:28 but when I down the device I've ** (process:7860): WARNING **: Retry COMM_ISI_VERSION_GET_REQ Dec 18 23:19:38 there is some dbus call Dec 18 23:19:41 I'll go Dec 18 23:29:59 mickeyl: ping **** ENDING LOGGING AT Sun Dec 19 02:59:57 2010