00:09.40 | *** join/#htc-linux TimRiker (n=timr@rikers.org) |
00:14.25 | *** join/#htc-linux Foxdie (i=Foxdie@77-98-48-193.cable.ubr05.harb.blueyonder.co.uk) |
00:40.58 | *** join/#htc-linux Hawk||- (n=Hawk@p5B17CBB0.dip0.t-ipconnect.de) |
03:04.45 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
04:36.28 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
06:14.01 | *** join/#htc-linux AC_Mast100 (i=s@gateway/tor/x-db7a1b023dd310f7) |
07:30.51 | *** join/#htc-linux goxboxlive (n=goxboxli@139.80-202-160.nextgentel.com) |
08:03.23 | *** join/#htc-linux dion (n=dion@inhex.net) |
08:15.37 | *** join/#htc-linux pH5 (n=ph5@p5485D867.dip.t-dialin.net) |
08:36.56 | *** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be) |
09:36.03 | goxboxlive | pH5: there? |
09:37.22 | goxboxlive | did u see my post yesterday, when i asked about the bb file. |
09:49.44 | pH5 | hi goxboxlive. no, sorry. could you repeat the question? |
09:50.00 | goxboxlive | ok |
09:51.31 | goxboxlive | I want to have a folder submitted to my custom-console image. How do i make a bb file for it. I have made this, but it fails: pastebin.no/2698 |
09:51.50 | goxboxlive | it builds, but it doesnt submit the opt folder |
09:52.12 | pH5 | submit? |
09:52.12 | goxboxlive | it just makes a empty qtopia-snapshot ipk file |
09:52.34 | pH5 | if [ ${S}/opt ]; then |
09:52.36 | goxboxlive | yes i want to copy the opt folder and it content to the root of my custom-console image |
09:52.43 | pH5 | what is that, shouldn't there be a -d or other test |
09:53.00 | goxboxlive | sorry, i had a -s i think |
09:53.07 | goxboxlive | i just removed oit to test |
09:54.27 | pH5 | you should set S="/opt" instead |
09:54.52 | pH5 | although I think this looks like an ugly hack ;) |
09:55.04 | goxboxlive | ok, thx i'll test |
09:55.34 | goxboxlive | i dont care, i just want to have it builded auto so i dont have to add everything after a console image is builded |
10:03.46 | *** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
10:46.06 | cr2 | hi BabelO |
10:48.45 | BabelO | hi cr2 |
10:50.29 | BabelO | what do you say about sirf2 precision when overclocked ? is it thedeviation of coord ? i mean +/- 0.001 for exemple , because on my sirf3 between two measure deviation is big |
10:52.49 | *** join/#htc-linux dion (n=dion@inhex.net) |
10:54.21 | cr2 | i think it's a software/multipath problem in sirf3 |
10:55.23 | cr2 | if it's overclocked, you can get the phase more accurately, and you can calculate the position more often. |
10:55.37 | BabelO | ok |
10:55.46 | cr2 | actually i'd like to have a RINEX logger instead of NMEA |
10:55.57 | cr2 | but it seems nobody made it so far. |
10:56.16 | cr2 | then you are logging only the raw timings |
10:56.26 | cr2 | and postprocess them later |
10:56.44 | cr2 | which is much more accurate |
10:57.13 | cr2 | I'll send you an old version of mapedit |
10:57.25 | BabelO | ok |
10:57.27 | cr2 | the license is weird too |
10:57.31 | cr2 | but is much better |
10:57.55 | cr2 | because it does not prohibit me from using the software :) |
10:59.27 | cr2 | oh. send it to or work address. |
10:59.37 | cr2 | s/or/your/ |
11:00.11 | BabelO | work adress please, depends on the size |
11:00.26 | cr2 | resent |
11:00.32 | cr2 | to gmail |
11:01.01 | cr2 | <PROTECTED> |
11:03.26 | BabelO | ok i got your email at work |
11:09.43 | BabelO | hum should take a long time to build this one :( 28 errors and 154 warnings ) |
11:10.15 | cr2 | lol |
11:10.37 | cr2 | you have a compiler right now ? |
11:10.56 | BabelO | yes |
11:10.58 | cr2 | i'm recompiling wine |
11:12.04 | BabelO | i m connected to my office computer with openvpn / rdesktop |
11:13.33 | cr2 | ok. |
11:14.20 | cr2 | can you add an entry for saving into *.foo format ? |
11:14.32 | cr2 | which does nothing. |
11:14.49 | BabelO | yes |
11:15.09 | BabelO | with unofficial tree i can |
11:15.31 | cr2 | ok. |
11:15.47 | cr2 | then i can use it as a stub for different formats. |
11:16.09 | cr2 | or just write 'hello world' to output.foo |
11:23.00 | BabelO | GIS russa format is not in my compile |
11:23.22 | BabelO | i see it in sources |
11:30.52 | cr2 | no. |
11:31.12 | cr2 | this format is not open |
11:31.32 | BabelO | cr2: to create an new entry i just duplicate Polish format ;) |
11:31.40 | cr2 | and it's a waste of time trying to break it. |
11:31.57 | cr2 | yes. |
11:32.08 | BabelO | i call it shapefile ? |
11:32.25 | cr2 | actually we'll do .mp -> others |
11:32.29 | BabelO | what can we produce with gdal |
11:32.45 | cr2 | you mean ogr ? |
11:32.52 | BabelO | yes |
11:32.58 | cr2 | gdal itself is for the raster formats. |
11:33.13 | cr2 | ok, call it ogr |
11:33.34 | cr2 | but it's only about the geometry. |
11:34.50 | cr2 | i think the most interesting for me is GRASS ascii, but i can write it myself. |
11:35.23 | cr2 | the easiest is mif/mid. |
11:35.46 | cr2 | btw, you need to create 3 shapefiles. |
11:36.40 | cr2 | and ogr can write postgis too. |
11:37.11 | cr2 | but then you probably need a checkbox dialog to choose the exact output format. |
11:37.45 | BabelO | cr2: actually i just allow a new "Save As..." format |
11:41.50 | cr2 | ok. |
11:47.02 | BabelO | cr2: good, now i have a new Save map as entry and same for load in case |
11:47.15 | cr2 | great. |
11:47.25 | BabelO | so next step ;) |
12:00.29 | *** join/#htc-linux the_sys0p (i=nroberts@123.57.212.232) |
12:10.57 | BabelO | cr2: so do you have a sample format for output ? |
12:11.08 | BabelO | all is based on map_t |
12:23.51 | cr2 | sample ? |
12:24.27 | BabelO | cr2: an example or a description of ouput format i have to produce |
12:25.09 | cr2 | Export to MapInfo MIF/MID is available only in registered copy of GPSMapEdit. |
12:25.19 | cr2 | this one is probably the most simple. |
12:25.51 | *** join/#htc-linux tsdogs (n=tsdogs@host12-39-dynamic.4-87-r.retail.telecomitalia.it) |
12:26.02 | tsdogs | hi |
12:26.19 | cr2 | we can even match the attribute layout with this "registered". |
12:26.26 | cr2 | hi tsdogs |
12:26.52 | cr2 | we are on the way to create an endless supply of the .rdm files :) |
12:27.12 | tsdogs | cr2: could you please try my last change with roadmap, the CTRL-C should produce a "received signal" though Paul is having problems with 4.3.0, I have no idea why |
12:27.14 | tsdogs | :) |
12:27.54 | *** join/#htc-linux Nickbee (n=Dheeraj@122.163.45.42) |
12:27.58 | cr2 | tsdogs: i need to checkout the complete CVS, because i've broken many things in my local copy ;) |
12:28.09 | tsdogs | :) |
12:28.20 | cr2 | BabelO: should i explain you the MIF/MID layout ? |
12:28.31 | tsdogs | cr2: it ain't urgent. |
12:28.52 | cr2 | BabelO: i can point you to the official docs, but then it'll take time. |
12:29.01 | tsdogs | BabelO: what linux u using? |
12:29.03 | cr2 | tsdogs: it's not a big problem. |
12:29.09 | tsdogs | :) |
12:29.41 | Nickbee | Hello Everyone |
12:29.58 | BabelO | cr2: yes, i wait, now i now how to add a format save and how to play with map data, so i just need to know which format file to create |
12:30.11 | BabelO | tsdogs: i m using suse 10.1 |
12:30.23 | BabelO | tsdogs: with lot of addon ;) |
12:30.28 | tsdogs | BabelO: ok. |
12:30.55 | BabelO | tsdogs: my linux install is from 01/05/2003 :) |
12:31.03 | tsdogs | :) |
12:31.08 | cr2 | BabelO: using OGR from gdal lib may be an overkill right now. |
12:31.41 | cr2 | BabelO: let's start with the roads. |
12:31.49 | BabelO | cr2: no problem, i have all access to ogr |
12:31.49 | Nickbee | Dear All, i have a small question: How to boot familiar on hx4700 without GUI ? |
12:32.18 | cr2 | hi Nickbee |
12:32.37 | cr2 | probably you need to change the default runlevel in /etc/inittab |
12:32.39 | Nickbee | the problem with GUI is that hx4700 boots and stops responding as soon as it asks to create a new user |
12:32.44 | BabelO | Nickbee: try at #handhelds or just edit /etc/inittab to start runlevel 3 |
12:32.49 | Nickbee | Hello cr2 |
12:32.59 | Nickbee | Hello Babel0 |
12:33.03 | Nickbee | Ok |
12:33.12 | Nickbee | let me try it out |
12:33.35 | Nickbee | what are you guys upto these days ? |
12:34.07 | Nickbee | some gps software? |
12:36.11 | cr2 | Nickbee: yes. |
12:36.25 | Nickbee | Cool :) |
12:36.43 | Nickbee | btw, how do i edit the inittab file without being able to boot? |
12:36.54 | Nickbee | I don't have a cable to attach the device to pc |
12:37.21 | BabelO | Nickbee: edit your source image before flash |
12:37.38 | Nickbee | Ok |
12:37.46 | Nickbee | yup, that should do the trick |
12:40.00 | Nickbee | Thanks Babel0 |
12:44.17 | *** join/#htc-linux Mineque (n=Mineque@195.60.65.10) |
12:48.11 | cr2 | BabelO: when i use 'strings' on the official binary, the mif support is not really great. |
12:48.35 | cr2 | Non-Earth coordinate system is not supported. |
12:48.51 | cr2 | ARC is not supported. The object will be ignored. |
12:48.51 | cr2 | ELLIPSE is not supported. The object will be ignored. |
12:49.01 | cr2 | ROUNDRECT is not supported. The object will be ignored. |
12:50.12 | cr2 | it will all work with OGR. |
12:50.35 | BabelO | ok |
12:50.38 | cr2 | Affine clause is not supported |
12:50.57 | cr2 | not with OGR too, but it's not a great deal. |
12:52.10 | cr2 | BabelO: this is the attribute table |
12:52.13 | cr2 | http://pastebin.ca/736321 |
12:52.41 | BabelO | ok ;) |
12:52.52 | cr2 | these entries go to the .MID file |
12:53.04 | cr2 | it's a CSV table |
12:53.18 | cr2 | maybe we should use | as a separator. |
12:53.42 | cr2 | the "header" and the geometry go into the .MIF file |
12:53.51 | BabelO | it is just a csv ? |
12:53.55 | cr2 | i'll post the header now. |
12:54.03 | cr2 | .MID is a CSV |
12:57.51 | cr2 | BabelO: this is the header which you write into the .MIF file |
12:57.54 | cr2 | http://pastebin.ca/736329 |
12:58.40 | BabelO | ok ;) now with this description, i can to this |
12:59.05 | cr2 | it's a bit wasteful, but ok for a test |
12:59.13 | BabelO | btw have you a file as an example ? |
12:59.19 | cr2 | BabelO: after the header you write the geomtry data. |
12:59.31 | cr2 | points are very easy: |
13:00.10 | cr2 | point 11.2345, 46.6789 |
13:00.36 | cr2 | polylines: |
13:03.17 | cr2 | pline X |
13:03.30 | cr2 | where X is the number of points |
13:03.44 | cr2 | and then the coordinates. one pair per line |
13:03.44 | cr2 | like |
13:03.51 | cr2 | pline 3 |
13:04.00 | cr2 | 11., 45. |
13:04.07 | cr2 | 12., 46. |
13:04.14 | cr2 | 13., 47. |
13:04.24 | cr2 | polygons: |
13:04.42 | BabelO | ok |
13:04.46 | cr2 | region 1 |
13:04.50 | cr2 | X |
13:05.03 | cr2 | coordinate pair |
13:05.07 | cr2 | like: |
13:05.15 | cr2 | region 1 |
13:05.17 | cr2 | 3 |
13:05.31 | cr2 | hmm. 3 is bad. |
13:05.37 | cr2 | region 1 |
13:05.38 | cr2 | 4 |
13:05.45 | cr2 | 0,0 |
13:05.48 | cr2 | 1,0 |
13:05.58 | cr2 | 1,1 |
13:06.01 | cr2 | 0,0 |
13:06.21 | cr2 | this is a triangle. |
13:06.42 | cr2 | the last point should be the same as the first. |
13:07.40 | cr2 | the output can be then checked with 'ogrinfo' |
13:07.41 | BabelO | normal for a region definition ;) |
13:07.52 | cr2 | and plotted with qgis |
13:08.21 | cr2 | it's better to separate points from polylines and polygons. |
13:08.33 | cr2 | mapinfo allows it, but shapefiles do not. |
13:08.57 | cr2 | then maybe create 3 mif/mid files. |
13:09.21 | cr2 | the attribute tables then may be different. |
13:09.53 | cr2 | a web page attribute for a swamp is a bit too much :) |
13:10.11 | cr2 | while for a poi it may be ok. |
13:10.44 | cr2 | i'll guess you#ll hack it together in the next 10 minutes :) |
13:10.54 | cr2 | otherwise i'll jump in. |
13:11.29 | BabelO | yes |
13:12.15 | BabelO | to write this format, it is very basic ;) |
13:13.05 | BabelO | so i start with attributes ? |
13:18.02 | cr2 | yes. |
13:20.53 | BabelO | eh eh this CFileWriter is strange |
13:22.27 | cr2 | BabelO: what's wrong with fprintf ? |
13:22.39 | cr2 | btw, i have a cary idea :) |
13:22.48 | BabelO | :) |
13:22.55 | cr2 | crazy |
13:23.40 | cr2 | run the program in a debugger, search for the map_t pointer, and load a plugin to save the data :) |
13:24.21 | BabelO | there are iterator on some of obecjt structure |
13:24.52 | cr2 | BabelO: why don't you use fprintf ? |
13:25.39 | BabelO | cr2: this CFileWriter object is more flexible i think and support big file |
13:26.46 | BabelO | polish format create a 24Mb file |
13:26.48 | cr2 | ok. |
13:27.19 | cr2 | just set the precision to .9f |
13:27.40 | cr2 | i remember some bizarre side effects in this part. |
13:27.49 | BabelO | cr2: i can also remove[~0xXX] from polish format ;) |
13:27.55 | cr2 | it tries to cripple the precision for some reason. |
13:27.59 | cr2 | yes. |
13:28.56 | BabelO | ok, i ll have all information, i just need to eroarganise polish code to fit .MID file format ;) |
13:29.35 | cr2 | yes, the loop should go over the attributes. |
13:31.00 | cr2 | BabelO: if we will add the skin coloring, then you can even use this: http://extranet.mapinfo.com/products/Download.cfm?ProductID=1062 |
13:35.33 | BabelO | cr2: i need to poing Label;Type;TypeHex;Comment;EndLevel;....... |
13:36.33 | cr2 | to print |
13:36.50 | BabelO | yes |
13:36.51 | cr2 | Label|Type|... |
13:37.00 | cr2 | | as a separator |
13:37.07 | cr2 | , and ; are too fragile |
13:37.09 | BabelO | cr2: ok |
13:37.33 | cr2 | people use , or ; and then a big breakage happens. |
13:39.48 | BabelO | what is Label ? is it _map.Header.strID |
13:40.38 | BabelO | how do you translate Polish format to MID / MIF format by hand ? |
13:41.08 | cr2 | no. |
13:41.27 | cr2 | the label is poi/polyline/polygon name |
13:41.57 | cr2 | the label should be written only for the [POI], [POLYLINE] and [POLYGON] sections. |
13:42.12 | cr2 | _map.Header.strID is the map name |
13:42.25 | cr2 | i'll look into the code. |
13:43.30 | cr2 | drop metadata, countries, regions, cities for now. |
13:43.45 | cr2 | these are just separate CSV tables. |
13:43.55 | cr2 | zips too |
13:44.08 | cr2 | highways too |
13:44.56 | cr2 | turn restrictions is a separate numeric CSV table |
13:45.52 | cr2 | BabelO: you should start there |
13:45.54 | BabelO | cr2: ok i coment countries, regions, cities, zip, highway |
13:45.54 | cr2 | <PROTECTED> |
13:45.55 | cr2 | <PROTECTED> |
13:45.55 | cr2 | <PROTECTED> |
13:46.50 | cr2 | here is a good example |
13:46.53 | cr2 | <PROTECTED> |
13:46.53 | cr2 | <PROTECTED> |
13:46.54 | cr2 | <PROTECTED> |
13:46.54 | cr2 | <PROTECTED> |
13:46.54 | cr2 | <PROTECTED> |
13:47.04 | cr2 | drop if (! rgn.strLabel.empty ()) { |
13:47.22 | cr2 | and just write fw.WriteS (rgn.strLabel.c_str ()); |
13:47.27 | BabelO | he he just change \r\n by | |
13:47.30 | cr2 | fw.WriteS ("|"); |
13:47.33 | cr2 | yes. |
13:47.45 | cr2 | the fw.WriteS ("Label="); |
13:47.57 | cr2 | is just defined by its CSV position |
13:48.11 | cr2 | so is simply redundant. |
13:48.56 | cr2 | City=Y and such are redundant metadata too. |
13:50.42 | BabelO | so now Type / TypeHex is ushType |
13:57.52 | cr2 | ignore the routing nodes data too |
14:10.57 | *** join/#htc-linux goxboxlive (n=goxboxli@139.80-202-160.nextgentel.com) |
14:11.50 | cr2 | BabelO: i see the ShpSaver.cpp |
14:12.19 | cr2 | a real NIH approach. shapelib is MIT-licensed, why not just use it ? |
14:12.43 | BabelO | where do you see it ? |
14:13.42 | cr2 | in the souirce |
14:14.17 | BabelO | ESRI SHP ;) |
14:14.54 | BabelO | eh whole file is in comment |
14:15.47 | BabelO | // Save levels, if any. |
14:15.47 | BabelO | if (rgn.uchEndLevel != 0) { |
14:15.47 | BabelO | fw.WriteS (g_bOgr074 ? "EndLevel=" : "Levels="); |
14:15.48 | BabelO | fw.WriteU (rgn.uchEndLevel); |
14:15.48 | BabelO | fw.WriteS ("\r\n"); |
14:15.48 | BabelO | } |
14:16.03 | BabelO_ | NOTE: the code is incomplete |
14:16.17 | cr2 | 074 ? |
14:16.37 | cr2 | this refers to the cgpsmapper version |
14:16.46 | BabelO | yes don't know this naming |
14:16.54 | cr2 | prior to 0.74 the naming was different |
14:17.15 | cr2 | we don't care about it. |
14:17.35 | cr2 | the free version of cgpsmapper is called 'mkgmap' |
14:17.52 | cr2 | when i'll have nothing to do i'll port it from java to c++ :) |
14:18.51 | cr2 | hehe. the multipolylines are allowed. but i'm not sure if they are really used. |
14:21.11 | cr2 | BabelO: /usr/include/c++/4.1.0/cstdlib:116: error: ‘::div’ has not been declared |
14:21.19 | cr2 | what does it mean ? |
14:22.40 | cr2 | About.cpp:81: error: invalid conversion from ‘int (*)(HWND__*, UINT, WPARAM, LPARAM)’ to ‘INT_PTR (*)(HWND__*, UINT, WPARAM, LPARAM)’ |
14:22.48 | cr2 | g++ is very strict :) |
14:23.24 | BabelO | yes ;) |
14:23.49 | BabelO | for ;;div it is like if you miss namespace |
14:24.13 | cr2 | should i add namespace std too all files ? |
14:25.39 | cr2 | i wish i can add it to the stdafx.h |
14:25.56 | BabelO | yes it is used all over the code ;) |
14:29.02 | cr2 | heh. it comes from the -mno-cygwin flag ;-) |
14:29.51 | goxboxlive | cr2: why is the gps on the ficphone so bad. This chip will be suplied with gta02. Isent it any good? GPS will be u-blox/Atmel ATR063 |
14:30.44 | cr2 | BabelO: what is crtdbg.h ?? |
14:30.57 | cr2 | goxboxlive: which u-blox ? antaris ? |
14:31.35 | goxboxlive | the info says nothing more. |
14:31.43 | goxboxlive | Atmel? |
14:32.11 | BabelO | cr2: you can replace it with standard crt version |
14:32.42 | cr2 | BabelO: the name ? |
14:33.11 | cr2 | goxboxlive: The Atmel ANTARIS chipset (ATR0600, ATR0610, ATR0620) |
14:33.34 | cr2 | http://atmel.com/dyn/corporate/view_detail.asp?FileName=UBLOX_GPS_6_14.html |
14:33.42 | goxboxlive | cr2: it says only Atmel ATR063 |
14:33.45 | cr2 | i don't know what is ATR063 |
14:33.49 | goxboxlive | ok |
14:34.01 | cr2 | goxboxlive: where does it say ? |
14:34.17 | goxboxlive | cr2: the header in #openmoko |
14:35.42 | cr2 | ok. |
14:35.57 | BabelO | cr2: i sent you this files |
14:38.23 | cr2 | goxboxlive: maybe ATR0635 ? |
14:38.47 | cr2 | BabelO: thanks. |
14:38.55 | goxboxlive | cr2: yes :-) GPS will be u-blox/Atmel ATR0635 ). |
14:39.06 | *** join/#htc-linux DTMonterrey (n=evandro@bl10-93-109.dsl.telepac.pt) |
14:39.31 | cr2 | goxboxlive: http://www.atmel.com/dyn/resources/prod_documents/doc4928.pdf |
14:40.00 | goxboxlive | cr2: is it a good gps chip? Will it be opensource? |
14:40.39 | cr2 | looks good. |
14:40.54 | cr2 | opensource like sirf ;) |
14:41.09 | cr2 | just a serial port like the phone, probably. |
14:41.40 | goxboxlive | ok |
14:42.00 | goxboxlive | But i will be able to use it with roadmap/gpsd right? |
14:42.47 | cr2 | yes. |
14:43.14 | cr2 | BabelO: now it want sal.h and vadefs.h ;) |
14:44.21 | goxboxlive | cr2: ok, then the GTA02 is a must_2_have :-) It will be suplied with afaster cpu and with wifi :-) |
14:44.50 | cr2 | when will it come out ? |
14:45.24 | BabelO | cr2: sent , i think i have to zip include directory |
14:45.48 | cr2 | ./crtdefs.h:477: error: conflicting declaration ‘typedef short unsigned int wint_t’ |
14:45.59 | cr2 | i just used 'touch' for them :) |
14:49.12 | goxboxlive | cr2: in late december |
14:49.56 | cr2 | BabelO: i've solved it by using #include <assert.h> |
14:50.06 | BabelO | hmm i be to eat something it is already 5:00pm :( |
14:50.09 | goxboxlive | cr2: here is it compared to Iphone: http://wiki.openmoko.org/wiki/IPhone |
14:50.13 | cr2 | goxboxlive: hehe. $ ? |
14:50.18 | goxboxlive | 450 |
14:50.30 | cr2 | goxboxlive: iphone is shit ;) |
14:50.31 | goxboxlive | from switserland |
14:50.47 | cr2 | goxboxlive: i'll better work on athena :) |
14:51.03 | goxboxlive | :-) it's to h_u_ge :-) |
14:51.35 | goxboxlive | I think $450 is a reasonable price for a phone with that spec. |
14:52.11 | cr2 | without UMTS ? |
14:52.56 | goxboxlive | cr2: how often do i use UMTS/GPRS, allmost never. |
14:53.04 | cr2 | this is cool : "Basic PDA included. Software can be created by normal users." |
14:53.47 | goxboxlive | I dont have use UMTS today, i have hacked my A780 to support EDGE , but i cant see that i notice any diffrents from when it only where suplied with gprs |
14:54.41 | cr2 | goxboxlive: i'll buy a780 any day. wifi+gps on a small device will empty the battery very fast. |
14:54.51 | cr2 | gps on a780 eats too much already. |
14:55.02 | goxboxlive | cr2: that true, you have to charge everyday |
14:55.11 | goxboxlive | cr2: that's for sure :-) |
14:55.38 | cr2 | damn ati. |
14:55.42 | goxboxlive | Also on Nokia Navigator wich my GF has. She says it eats the battery |
14:55.56 | cr2 | but we will solve it. |
14:56.48 | cr2 | "including playback of audio files via GSM and recording/playback of voice calls." |
14:57.02 | cr2 | is it already implemented in software ? |
14:57.18 | cr2 | we can reuse it on the universal. |
14:59.16 | cr2 | BabelO: g++ is very strict, and it's good so. doesn't let the sloppy coding :) |
15:05.21 | cr2 | BabelO: what is ddbitmap.h ? |
15:05.50 | BabelO | cr2: microsoft bmp ;) lol |
15:06.39 | cr2 | ah. it's DDBitmap |
15:07.04 | cr2 | microsoft case insensitive monkeys ;) |
15:07.23 | BabelO | cr2: it is a direct draw Bitmap ? |
15:08.00 | cr2 | yes. |
15:08.02 | cr2 | CPtr.h:16: error: invalid conversion from ‘long int*’ to ‘volatile LONG*’ |
15:08.08 | cr2 | g++ is great. |
15:11.10 | cr2 | AlanWprExport.cpp:133: error: ‘__min’ was not declared in this scope |
15:11.49 | cr2 | hehe. i'll learn ms programming this way ;) |
15:23.15 | cr2 | BabelO: where is CComPtr defined ? |
15:24.04 | BabelO | cr2: it is from ATL library |
15:24.38 | BabelO | cr2: in atlcomcli.h |
15:24.45 | cr2 | ok. |
15:25.02 | goxboxlive | Also on Nokia Navigator wich my GF has. She says it eats the battery |
15:25.42 | goxboxlive | sorry kid playing |
15:26.32 | cr2 | BabelO: not in the archive ? |
15:26.44 | BabelO | cr2: no i ll look |
15:28.12 | cr2 | ok, it's because i've created an empty atlbase.h |
15:28.14 | BabelO | cr2: very funny, it is at same place than MFC |
15:28.55 | cr2 | so much for "we use only plain win32 api, no MFC" |
15:30.02 | cr2 | http://www.winehq.org/pipermail/wine-devel/2006-October/051695.html |
15:30.32 | cr2 | lol |
15:30.36 | cr2 | If people want to write Winelib programs based on ATL, they can use the |
15:30.36 | cr2 | original Microsoft headers. |
15:32.44 | cr2 | yes, it does not work with the wine headers. |
15:34.04 | cr2 | BabelO: :) |
15:34.33 | BabelO | cr2: so it is for COM object ? |
15:37.52 | cr2 | yes. |
16:03.09 | cr2 | BabelO: not so easy ;) |
16:15.12 | BabelO | cr2: i ve lost connection to my office computer :( i think there is a backup runningon the weekend |
16:16.33 | cr2 | ok. |
16:16.47 | cr2 | BabelO: wtf is itoa() ? |
16:16.58 | BabelO | int to ascii |
16:18.06 | cr2 | sprintf ? |
16:18.14 | cr2 | stricmp not defined. |
16:18.50 | BabelO | cr2: look at wstricmp |
16:19.36 | BabelO | what about sprintf ? compile error ? |
16:19.56 | cr2 | wstricmp does not work too. |
16:20.39 | cr2 | FileWriter.cpp:110: error: ‘::_vsnprintf’ has not been declared |
16:20.47 | cr2 | FileWriter.cpp:135: error: ‘::ultoa’ has not been declared |
16:22.28 | cr2 | GdbLoader.cpp:699: error: ‘::strnicmp’ has not been declared |
16:23.27 | BabelO | cr2: i have all this funvtion in nux for apache2 project |
16:25.22 | *** join/#htc-linux goxboxlive (n=goxboxli@139.80-202-160.nextgentel.com) |
16:26.32 | goxboxlive | cr2: are you still here? |
16:27.49 | cr2 | yes |
16:27.53 | cr2 | LinkDlg.cpp:55: error: cast from ‘CHAR*’ to ‘WORD’ loses precision |
16:28.34 | *** join/#htc-linux Mighty (n=Mighty@p54BAF4F0.dip.t-dialin.net) |
16:28.40 | Mighty | Hi :) All right? |
16:28.49 | cr2 | BabelO: it seems to be easier to get rid of this COM stuff. |
16:28.52 | Mighty | Short question, I have a Windows Host system with ubuntu as VMWare. |
16:29.17 | Mighty | Is it possible to connect to my pocket pc where Linux is running on via usb, when WIndows, the host system doesn't know the "Ethernet Gadget"? |
16:30.11 | Mighty | or is there an "Ethernet Gadget" Driver avaible for Windows? |
16:31.59 | cr2 | Mighty: there is RNDIS driver |
16:32.24 | cr2 | should work in the latest kernels. |
16:32.36 | Mighty | RNDIS driver? really? oh |
16:32.40 | cr2 | but i've never tested it, because i don't have windows :) |
16:32.42 | Mighty | and this works? i google for it |
16:32.59 | goxboxlive | cr2: i dont quite understand the LIVE image . Am i supposed to have in example a qtopia image as ext2 and the make it a part of progra,.exe and run it from in example Universal? From ram, without any SD card? |
16:33.11 | cr2 | BabelO: what to do with __try and __except ? |
16:33.30 | goxboxlive | Mighty: http://www.synce.org/index.php/SynCE-Wiki |
16:33.32 | cr2 | goxboxlive: yes. |
16:33.53 | cr2 | goxboxlive: he wants to do it in the opposite direction :) |
16:34.14 | goxboxlive | But why doesn it find my ext2 image? I have it inside the exe file? I have also tried with a console image |
16:34.20 | Mighty | @cr2: do you know where I can get it? |
16:34.29 | goxboxlive | cr2: yes, but there are al ot of HOWTOs there |
16:34.42 | Mighty | do you mean the Remote NDIS USB Driver Kit? |
16:36.35 | goxboxlive | cr2: BabelO http://www.vodafonebetavine.net/web/guest/projects/resources/mobile_linux |
16:36.47 | goxboxlive | Greenphone on Neo1973 |
16:36.50 | goxboxlive | ?? |
16:37.37 | Mighty | okay, i downloaded it, and now I will test it :) |
16:38.26 | Mighty | The device cannot be started. |
16:38.28 | Mighty | :-/ |
16:39.04 | cr2 | goxboxlive: Mobile Linux is going from orange to green! |
16:39.30 | cr2 | Mighty: i'm not a windows expert. |
16:39.39 | Mighty | okay, thanks :) |
16:39.40 | goxboxlive | :-) |
16:40.57 | Mighty | last question cr2, but do you know where I get it? I only downloaded a template for driver |
16:43.12 | cr2 | Mighty: my understanding was that it's builtin. |
16:44.28 | Mighty | ah, ok |
16:46.47 | Mighty | is here an specialist for that? windows and xda? |
16:59.05 | cr2 | Mighty: no idea. |
16:59.27 | cr2 | BabelO: what is the difference between strnicmp and strncmp ?? |
16:59.59 | BabelO | cr2: just case sensitive for the second |
17:00.26 | cr2 | hmm. |
17:01.14 | cr2 | so why is strnicmp not in libstdc++ ? |
17:02.15 | BabelO | euh ?! because linux is case sensitive ? :) |
17:07.16 | cr2 | lol |
17:07.19 | cr2 | ListView_GetCheckState |
17:07.27 | cr2 | is not implemented in wine. |
17:08.08 | BabelO | cr2: few month ago i already say to me same thing about strnicmp |
17:10.08 | cr2 | ok, i'll just drop the 'i' |
17:10.39 | cr2 | BabelO: what to do with COM ? |
17:13.04 | BabelO | cr2: i don't know what is it for :( |
17:14.17 | cr2 | for licensing |
17:14.26 | BabelO | :) |
17:14.26 | cr2 | and for some other things. |
17:14.40 | cr2 | the gpx loader uses msxml |
17:14.53 | cr2 | i guess it's easier to drop gpx loader ;) |
17:15.11 | cr2 | or use expat/libxml2 later |
17:16.29 | Mighty | damn, i give it up. its not possible to have access to my linux pda via windows. |
17:16.43 | Mighty | i searched, but the most generic rndis driver are for mobile phones |
17:16.50 | Mighty | damn^^ |
17:22.54 | *** join/#htc-linux iggy (n=iggy@216.63.86.18) |
17:24.39 | iggy | Kevin2: noticed you made some changes to the apache wiki pages |
17:25.01 | iggy | made some progress recently or just making some long needed changes? |
17:27.09 | cr2 | fast_floor.cpp:57: error: integer constant is too large for ‘long’ type |
17:27.35 | cr2 | iggy: look at the history |
17:27.51 | Kevin2 | iggy: Hi iggy. Really just updating the wiki docs to keep them in sync. |
17:28.34 | Kevin2 | Status is basically the same. No phone, no battery charging, no camera - and really need to put together a doc on how to install linux for end users. |
17:29.30 | Kevin2 | I did get the angstrom image at http://www.angstrom-distribution.org/unstable/images/htcapache/20071007/ to boot. I need to use my own kernel though. |
17:36.54 | iggy | do you know who did that image? |
17:46.41 | cr2 | BabelO: gave up for now. |
17:46.56 | cr2 | invalid conversion from ‘int (*)(HWND__*, UINT, WPARAM, LPARAM)’ to ‘INT_PTR (*)(HWND__*, UINT, WPARAM, LPARAM)’ |
17:54.59 | cr2 | Kevin2: i'm looking at ATImidWAre |
17:58.53 | Kevin2 | iggy: No. I'd guess psokolovsky, but I don't really know. |
17:59.35 | Kevin2 | iggy: Were you the one who tested wifi on apache? |
17:59.43 | cr2 | found 0x24 |
17:59.48 | cr2 | it's 0x12 <<1 |
18:00.14 | cr2 | 0x83 -> 0x0 |
18:01.29 | cr2 | hmm. |
18:01.30 | iggy | Kevin2: I was interested in linux on apache about a year ago I think, played around with a bunch of stuff |
18:01.40 | cr2 | it's PM1 setting. |
18:02.29 | cr2 | Kevin2: 0x56000000 it's something from the S3C ? |
18:03.04 | cr2 | yes, it's gpio. |
18:03.15 | cr2 | wtf is it included on athena :) |
18:03.45 | cr2 | GPBConReg |
18:04.03 | cr2 | code reuse |
18:04.38 | cr2 | Kevin2: but that means that on hermes the deviceioctl is used. |
18:04.56 | cr2 | so the main cpu controls the i2c bus for ak4641 |
18:05.13 | Kevin2 | cr2: That is good news. |
18:07.16 | cr2 | ok, it's the samsung CAM that uses AhiI2c |
18:08.36 | cr2 | the 'command' structure for AhiI2cOpen is more or less clear. |
18:09.19 | cr2 | i guess it should be easy to call it while tracing the ATI address range. |
18:10.12 | cr2 | 0x5a |
18:11.08 | cr2 | may be the CAM i2c id. |
18:14.23 | cr2 | ok, found the CAM init data block. |
18:14.35 | cr2 | should be addr, val pairs. |
18:16.44 | cr2 | ok, so it goes with AhiI2cWrite |
18:17.58 | cr2 | VcoAudioClose also calls it. |
18:32.27 | cr2 | the TV switch is by AhiDisplayModeSet |
18:33.40 | cr2 | and this is old api. |
18:38.22 | cr2 | 0xfffff700 |
18:38.30 | cr2 | bit 19 ? |
18:39.10 | cr2 | yes. |
19:10.30 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
20:01.40 | cr2 | BabelO: still here ? |
20:02.10 | BabelO | cr2: yes, fighting with gnutls and ssl |
20:02.25 | cr2 | ok. |
20:05.50 | BabelO | cr2: ok, compile and test are ok now, i m able to connect to msn and gg service |
20:10.05 | Kevin2 | cr2: Find anything useful on ati? |
20:15.08 | cr2 | Kevin2: i'll probably be able to operate the ati i2c. but since it's for the CAM only, that is not very interesting. |
20:16.13 | cr2 | i have found the USB storage driver for isp1582 |
20:16.25 | cr2 | looks horrible, but should work ;-) |
20:16.38 | cr2 | now i need to find its base address. |
20:20.36 | Kevin2 | What is the isp1582? |
20:29.56 | cr2 | USB controller on athena |
20:43.12 | cr2 | Kevin2: DMA is an important part of the ATI SD |
20:48.44 | Kevin2 | cr2: My old traces seem to show data being sent in pio mode. |
20:51.12 | *** join/#htc-linux Hawk|- (n=Hawk@p5B17CBB0.dip0.t-ipconnect.de) |
20:55.28 | cr2 | Kevin2: i'm looking at the AtiSDSendCommand function |
20:55.50 | cr2 | it's pretty big, but more or less readable |
20:56.05 | cr2 | the 0x2000 was the base SD offset ? |
20:58.28 | Kevin2 | cr2: Yeah, looks that way from my logs. |
21:00.16 | cr2 | http://wiki.xda-developers.com/index.php?pagename=ATIWxxxx |
21:03.26 | *** join/#htc-linux soeme_ (n=soeme@149-247.0-85.cust.bluewin.ch) |
21:04.53 | Kevin2 | addlist mmutrace 0x48000000 1024*1024 ; addlist mmutrace 0x4c200000 1024*1024 |
21:05.20 | Kevin2 | I see a lot of: 000.000 0924a2a8: str r1, [r3, #96] # r1=6f697463 r3=4c202060 |
21:05.20 | cr2 | do you see the ATI gpio activity at +0x800 ? |
21:05.34 | Kevin2 | Which I think is the data being stored to the sd card. |
21:06.06 | cr2 | what about read ? |
21:12.51 | Kevin2 | 000.000 0924a5ac: ldr r3, [r3, #96] # a=4c202060 v=20747369 |
21:12.54 | Kevin2 | Same thing. |
21:13.05 | cr2 | ok. |
21:24.49 | cr2 | Kevin2: there are 8 cases for sending an SD command |
21:25.14 | Kevin2 | Fun. |
21:26.15 | Kevin2 | Supposedly, with newer kernels, you can drive an SD card from just an SPI port. The latest kernels have an SD stack in them. |
21:26.30 | Kevin2 | I wonder if we can just put the card in some basic mode and do the rest from software? |
21:26.34 | cr2 | case 1,6,7 are bundled. 4,5 too. |
21:26.57 | cr2 | yes, if your card is connected to an SPI port. |
21:27.22 | cr2 | and if the irq is wired, you can do SDIO. |
21:28.07 | cr2 | bundled cases can be the response types. |
21:30.43 | cr2 | R4,5 are sdio. |
21:43.06 | cr2 | tired of asm ;) |
21:43.23 | BabelO | cr2: then a little of C++ .. lol |
21:46.01 | cr2 | BabelO: trying to trace the wrong prototype. |
21:46.22 | cr2 | but this obfuscated template code for COM, that's something for you :) |
21:47.10 | BabelO | cr2: i continue a little mid/mif save file , shp file format have some code problem |
21:47.41 | BabelO | cr2: next two day i m in metting about .NET |
21:48.39 | cr2 | leave shp alone :) |
21:48.54 | cr2 | fscking ms. |
21:48.56 | cr2 | typedef INT_PTR (CALLBACK *DLGPROC)(HWND,UINT,WPARAM,LPARAM); |
21:49.16 | BabelO | so you have the right prototype ? |
21:49.25 | cr2 | typedef FARPROC DLGPROC; |
21:49.39 | cr2 | i'm trying to track down the problem. |
21:49.49 | cr2 | g++ is confused by the protos. |
22:02.50 | *** join/#htc-linux |dion| (n=dion@inhex.net) |
22:09.52 | cr2 | BabelO: it's too much for my brain :) |
22:10.05 | cr2 | i don't understand what's wrong. |
22:10.34 | BabelO | :) |
22:11.39 | cr2 | <PROTECTED> |
22:11.52 | cr2 | <PROTECTED> |
22:12.17 | BabelO | what is INT_PTR ? |
22:12.45 | cr2 | typedef INT_PTR (CALLBACK *DLGPROC)(HWND,UINT,WPARAM,LPARAM); |
22:15.30 | cr2 | BabelO: the DlgBox has 2 definitions |
22:15.33 | cr2 | INT_PTR DlgBox (WORD _wID, HWND _hWndParent, DLGPROC _pDlgProc) |
22:15.49 | cr2 | and INT_PTR DlgBox (WORD _wID, HWND _hWndParent, DLGPROC _pDlgProc, LPARAM _dwInitParam) |
22:15.59 | cr2 | c++ is too confusing :) |
22:16.09 | cr2 | even if you don#t touch templates. |
22:17.10 | BabelO | templates are usefull in some case, specially when you forgot a param at the end of an applicaiton ;) anyway if you create a clean application this never happen |
22:19.35 | BabelO | cr2: fif you try to add empty for last param ? |
22:19.40 | BabelO | LPARAM("") |
22:19.58 | BabelO | no it is the int(*) the problem |
22:21.42 | cr2 | i don't understand why g++ is confused. |
22:23.24 | cr2 | BabelO: it must have something to do with const. |
22:23.34 | BabelO | cr2: it is INT_PTR macro which confuse g++ |
22:24.30 | BabelO | qtopia is very powerfull, i can retrieve all my MSN contact withtelepathy , write them into a listbox even lot of strange char |
22:24.54 | BabelO | i hope ljp can found something in blueangel log for my modem issue |
22:25.02 | cr2 | ok. |
22:28.07 | BabelO | cr2: many things to do :( icons for roadmap + save format to check now |
22:28.31 | BabelO | i don't found how they bypass constrain about int in mapedit |
22:29.24 | cr2 | msvc |
22:29.44 | cr2 | you draw the icons ? |
22:30.22 | BabelO | cr2: yes tux with sat, i need to convert it to 256 color then use bitmap tracer to convert to final svg |
22:30.36 | BabelO | for roadmap svg icon redraw is needed |
22:33.33 | cr2 | ok. |
22:33.50 | cr2 | let's try to finish the mif/mid. |
22:33.59 | BabelO | yes |
22:36.45 | cr2 | can you send me the file ? |
22:42.07 | BabelO | cr2: still can't access to work computer, tomorrow i go to my office and restart it, i think it is freeze because of msvc when i try to debug my output :( |
22:42.31 | cr2 | lol |
22:42.32 | cr2 | ok. |
22:42.48 | cr2 | there are 3 problems to compile it with g++ |
22:42.51 | BabelO | yes msvc is not very stable with other devel environment it seem |
22:42.56 | cr2 | 1. this dialog stuff |
22:43.11 | cr2 | 2. ccomptr from atl |
22:43.31 | cr2 | 3. the minigdi+ |
22:43.48 | cr2 | we can easily drop 3. |
22:44.01 | cr2 | and the gpx import with msxml |
22:44.18 | cr2 | i hope we'll solve the problem with the dialogs. |
22:44.36 | cr2 | ccomptr remains the most complex. |
22:45.05 | cr2 | and the *icmp functions, but these are easy. |
22:45.22 | cr2 | hehe. forgot one more |
22:45.24 | cr2 | ListView_GetCheckState |
22:45.30 | cr2 | is not implemented in wine |
22:45.50 | BabelO | cr2: listview with checkbox ? not in wine :( |
22:46.00 | BabelO | cr2: replace it with trolltech qt fior windows :) |
22:46.54 | cr2 | 3860 /* FIXME: Miranda Hack */ |
22:46.58 | cr2 | 3861 |
22:47.02 | cr2 | 3862 #define ListView_GetCheckState(hwnd, index) \ |
22:47.06 | cr2 | 3863 ((((UINT)(SNDMSG((hwnd), LVM_GETITEMSTATE, (WPARAM)(index), LVIS_STATEIMAGEMASK))) >> 12) -1) |
22:47.10 | cr2 | 3864 #define ListView_SetCheckState(hwnd, index, flag) \ |
22:47.11 | cr2 | 3865 ListView_SetItemState((hwnd), index, INDEXTOSTATEIMAGEMASK((flag)+1), LVIS_STATEIMAGEMASK) |
22:47.11 | cr2 | 3866 |
22:47.11 | cr2 | 386 |
22:47.12 | cr2 | it's already solved :) |
22:47.23 | cr2 | yeah, i wish it was written in qt4. |
22:53.36 | BabelO | cr2: time for bed |
22:53.45 | BabelO | good night |
22:56.03 | Kevin2 | cr2: Still around? |
22:56.50 | cr2 | Kevin2: yes. |
22:57.00 | Kevin2 | If you are, pull up the intel pxa27x manual and turn to section 15.4.1.1 - page 743. |
22:58.23 | Kevin2 | Seems to kind of overlap with what you were saying about atisd controller. |
22:59.58 | cr2 | yes, it's standard SD protocol responses. |