**** BEGIN LOGGING AT Wed May 04 02:59:58 2011 May 04 10:19:52 Greetings May 04 10:20:23 need some help for reading neo freerunner accelerometer using c program May 04 10:23:38 Have you looked on the wiki - search under accelerometre?R May 04 10:26:32 i am using that example code for c May 04 10:26:57 it reads from the /dev/input/event3 but gives inconsistent values for x, y,z May 04 10:27:42 i found that if i remove the close(fd) bit from the code , it gives consistent data May 04 10:28:07 but it will give "too many open files error" after 2 or 3 min May 04 10:28:30 What do you mean by inconsistent? May 04 10:28:32 so not sure how to solve that issue. May 04 10:29:26 i meant even when free runner is not moving , the value for x changes from -90 to may be 200 and vice versa May 04 10:29:41 You should expect some noise. May 04 10:29:48 Probably not that much though. May 04 10:30:05 where is the example code - not used it May 04 10:30:11 it doesn't happen when there is no close bit May 04 10:30:33 in the wiki . accelerometer data retrieval page May 04 10:30:41 link - having issues May 04 10:31:30 and my limited knowledge on file opening is not helping either May 04 10:32:13 Also - you do know htere are two accels? May 04 10:32:17 At an angle? May 04 10:33:59 i am currently reading from event3 i think that is the accelerometer towards the bottom of the phone May 04 10:34:56 What's the page URL - search not working here May 04 10:35:56 shall i paste here May 04 10:36:17 yes - the url May 04 10:36:23 http://wiki.openmoko.org/wiki/Accelerometer_data_retrieval May 04 10:39:16 I'd movre the open outside the while loop - the whole if-open-return loop - as well as the close May 04 10:39:54 Or do the usleep after teh open, not before the close, to give the accel time to startup May 04 10:41:15 sure i will try that and see the change in result May 04 10:56:02 SpeedEvil, thank u so much May 04 10:56:40 its far better now, few noise but there is no noise in between the data reads May 04 10:56:53 which is acceptable for what we are trying to do May 04 10:57:03 :) May 04 11:30:22 jivs: fyi the accelerometer driver turns the devices off when the event file is closed. May 04 17:28:49 hi folks May 04 17:28:55 freshly installed SHR 2011.1 May 04 17:29:09 and IÄm trying to get into my wlan with Iliwi May 04 17:29:19 it's wpa2 aes encrypted May 04 17:29:30 and the app is now showing Connecting for hours May 04 17:29:50 any ideas, help, input? May 04 17:30:22 Zeti: i suggest using wpa_supplicant directly May 04 17:30:41 Zeti: i use NWA May 04 17:30:56 Zeti: also reading http://www.mail-archive.com/community@lists.openmoko.org/msg58146.html might help May 04 17:31:04 And yes, Hi :) May 04 17:33:17 PaulFertser, I'm not done giving up on a UI May 04 17:33:22 h4v, what is NWA? May 04 17:38:53 wifi manager in qt May 04 17:39:12 ah May 04 17:39:17 src/gz noko-testing-armv4t http://noko.sourceforge.net/testing/om2009/armv4t May 04 17:40:35 sdio_ar6000: probe of mmc0:0001:1 failed with error -110 <- I hate it May 04 17:50:21 now my wlan card is not detected anymore May 04 17:50:42 Iliwi does find it May 04 17:50:48 what the heck May 04 18:01:00 Zeti: it looks like you haven't looked at the mail i've gave you a link to... May 04 18:01:06 given, even May 04 18:07:31 it definitely doesn't look like settings for my graphical wlan manager May 04 18:12:21 it seems it times out at the 4way handshake May 04 18:16:47 * PaulFertser sighs May 04 18:19:38 you know there is a reason why there is simple english in wiki May 04 18:19:43 brb after changing my SSID May 04 18:19:47 ROTFL May 04 18:19:56 Never tried reading a "simple english" article, tbh. May 04 18:20:59 That's being a non-native speaker. But i'd better google for ``define:'' and learn something new. May 04 18:21:05 try explaining 4way handshake to your neighbor's cat May 04 18:21:05 that's simple english May 04 18:22:01 I confess i never knew WPA/RSN enough to understand the exact meaning of the "4-way handshake" message in my logs. May 04 18:22:48 Neither do i remember types of modulation used in various 802.11* modes etc etc May 04 18:24:44 Oh, and those new "advances" in wifi such as "WPS" and "P2P", man, i read, shuttered and forgot almost instantly all about those. May 04 18:25:03 worked May 04 18:25:05 strange May 04 18:25:11 on the last distro it worked fine May 04 18:25:14 anyway May 04 18:25:22 updating, modding and upgrading :-) May 04 19:23:42 hi May 04 19:26:43 hi **** ENDING LOGGING AT Thu May 05 02:59:57 2011