IRC log for #htc-linux on 20071014

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.03goxboxlivepH5: there?
09:37.22goxboxlivedid u see my post yesterday, when i asked about the bb file.
09:49.44pH5hi goxboxlive. no, sorry. could you repeat the question?
09:50.00goxboxliveok
09:51.31goxboxliveI 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.50goxboxliveit builds, but it doesnt submit the opt folder
09:52.12pH5submit?
09:52.12goxboxliveit just makes a empty qtopia-snapshot ipk file
09:52.34pH5if [  ${S}/opt ]; then
09:52.36goxboxliveyes i want to copy the opt folder and it content to the root of my custom-console image
09:52.43pH5what is that, shouldn't there be a -d or other test
09:53.00goxboxlivesorry, i had a -s i think
09:53.07goxboxlivei just removed oit to test
09:54.27pH5you should set S="/opt" instead
09:54.52pH5although I think this looks like an ugly hack ;)
09:55.04goxboxliveok, thx i'll test
09:55.34goxboxlivei 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.06cr2hi BabelO
10:48.45BabelOhi cr2
10:50.29BabelOwhat 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.21cr2i think it's a software/multipath problem in sirf3
10:55.23cr2if it's overclocked, you can get the phase more accurately, and you can calculate the position more often.
10:55.37BabelOok
10:55.46cr2actually i'd like to have a RINEX logger instead of NMEA
10:55.57cr2but it seems nobody made it so far.
10:56.16cr2then you are logging only the raw timings
10:56.26cr2and postprocess them later
10:56.44cr2which is much more accurate
10:57.13cr2I'll send you an old version of mapedit
10:57.25BabelOok
10:57.27cr2the license is weird too
10:57.31cr2but is much better
10:57.55cr2because it does not prohibit me from using the software :)
10:59.27cr2oh. send it to or work address.
10:59.37cr2s/or/your/
11:00.11BabelOwork adress please, depends on the size
11:00.26cr2resent
11:00.32cr2to gmail
11:01.01cr2<PROTECTED>
11:03.26BabelOok i got your email at work
11:09.43BabelOhum should take a long time to build this one :( 28 errors and 154 warnings )
11:10.15cr2lol
11:10.37cr2you have a compiler right now ?
11:10.56BabelOyes
11:10.58cr2i'm recompiling wine
11:12.04BabelOi m connected to my office computer with openvpn / rdesktop
11:13.33cr2ok.
11:14.20cr2can you add an entry for saving into *.foo format ?
11:14.32cr2which does nothing.
11:14.49BabelOyes
11:15.09BabelOwith unofficial tree i can
11:15.31cr2ok.
11:15.47cr2then i can use it as a stub for different formats.
11:16.09cr2or just write 'hello world' to output.foo
11:23.00BabelOGIS russa format is not in my compile
11:23.22BabelOi see it in sources
11:30.52cr2no.
11:31.12cr2this format is not open
11:31.32BabelOcr2: to create an new entry i just duplicate Polish format ;)
11:31.40cr2and it's a waste of time trying to break it.
11:31.57cr2yes.
11:32.08BabelOi call it shapefile ?
11:32.25cr2actually we'll do .mp -> others
11:32.29BabelOwhat can we produce with gdal
11:32.45cr2you mean ogr ?
11:32.52BabelOyes
11:32.58cr2gdal itself is for the raster formats.
11:33.13cr2ok, call it ogr
11:33.34cr2but it's only about the geometry.
11:34.50cr2i think the most interesting for me is GRASS ascii, but i can write it myself.
11:35.23cr2the easiest is mif/mid.
11:35.46cr2btw, you need to create 3 shapefiles.
11:36.40cr2and ogr can write postgis too.
11:37.11cr2but then you probably need a checkbox dialog to choose the exact output format.
11:37.45BabelOcr2: actually i just allow a new "Save As..." format
11:41.50cr2ok.
11:47.02BabelOcr2: good, now i have a new Save map as entry and same for load in case
11:47.15cr2great.
11:47.25BabelOso next step ;)
12:00.29*** join/#htc-linux the_sys0p (i=nroberts@123.57.212.232)
12:10.57BabelOcr2: so do you have a sample format for output ?
12:11.08BabelOall is based on map_t
12:23.51cr2sample ?
12:24.27BabelOcr2: an example or a description of ouput format i have to produce
12:25.09cr2Export to MapInfo MIF/MID is available only in registered copy of GPSMapEdit.
12:25.19cr2this 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.02tsdogshi
12:26.19cr2we can even match the attribute layout with this "registered".
12:26.26cr2hi tsdogs
12:26.52cr2we are on the way to create an endless supply of the .rdm files :)
12:27.12tsdogscr2: 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.14tsdogs:)
12:27.54*** join/#htc-linux Nickbee (n=Dheeraj@122.163.45.42)
12:27.58cr2tsdogs: i need to checkout the complete CVS, because i've broken many things in my local copy ;)
12:28.09tsdogs:)
12:28.20cr2BabelO: should i explain you the MIF/MID layout ?
12:28.31tsdogscr2: it ain't urgent.
12:28.52cr2BabelO: i can point you to the official docs, but then it'll take time.
12:29.01tsdogsBabelO: what linux u using?
12:29.03cr2tsdogs: it's not a big problem.
12:29.09tsdogs:)
12:29.41NickbeeHello Everyone
12:29.58BabelOcr2: 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.11BabelOtsdogs: i m using suse 10.1
12:30.23BabelOtsdogs: with lot of addon ;)
12:30.28tsdogsBabelO: ok.
12:30.55BabelOtsdogs: my linux install is from 01/05/2003 :)
12:31.03tsdogs:)
12:31.08cr2BabelO: using OGR from gdal lib may be an overkill right now.
12:31.41cr2BabelO: let's start with the roads.
12:31.49BabelOcr2: no problem, i have all access to ogr
12:31.49NickbeeDear All, i have a small question: How to boot familiar on hx4700 without GUI ?
12:32.18cr2hi Nickbee
12:32.37cr2probably you need to change the default runlevel in /etc/inittab
12:32.39Nickbeethe problem with GUI is that hx4700 boots and stops responding as soon as it asks to create a new user
12:32.44BabelONickbee: try at #handhelds or just edit /etc/inittab to start runlevel 3
12:32.49NickbeeHello cr2
12:32.59NickbeeHello Babel0
12:33.03NickbeeOk
12:33.12Nickbeelet me try it out
12:33.35Nickbeewhat are you guys upto these days ?
12:34.07Nickbeesome gps software?
12:36.11cr2Nickbee: yes.
12:36.25NickbeeCool :)
12:36.43Nickbeebtw, how do i edit the inittab file without being able to boot?
12:36.54NickbeeI don't have a cable to attach the device to pc
12:37.21BabelONickbee: edit your source image before flash
12:37.38NickbeeOk
12:37.46Nickbeeyup, that should do the trick
12:40.00NickbeeThanks Babel0
12:44.17*** join/#htc-linux Mineque (n=Mineque@195.60.65.10)
12:48.11cr2BabelO: when i use 'strings' on the official binary, the mif support is not really great.
12:48.35cr2Non-Earth coordinate system is not supported.
12:48.51cr2ARC is not supported. The object will be ignored.
12:48.51cr2ELLIPSE is not supported. The object will be ignored.
12:49.01cr2ROUNDRECT is not supported. The object will be ignored.
12:50.12cr2it will all work with  OGR.
12:50.35BabelOok
12:50.38cr2Affine clause is not supported
12:50.57cr2not with OGR too, but it's not a great deal.
12:52.10cr2BabelO: this is the attribute table
12:52.13cr2http://pastebin.ca/736321
12:52.41BabelOok ;)
12:52.52cr2these entries go to the .MID file
12:53.04cr2it's a CSV table
12:53.18cr2maybe we should use | as a separator.
12:53.42cr2the "header" and the geometry go into the .MIF file
12:53.51BabelOit is just a csv ?
12:53.55cr2i'll post the header now.
12:54.03cr2.MID is a CSV
12:57.51cr2BabelO: this is the header which you write into the .MIF file
12:57.54cr2http://pastebin.ca/736329
12:58.40BabelOok ;) now with this description, i can to this
12:59.05cr2it's a bit wasteful, but ok for a test
12:59.13BabelObtw have you a file as an example ?
12:59.19cr2BabelO: after the header you write the geomtry data.
12:59.31cr2points are very easy:
13:00.10cr2point 11.2345, 46.6789
13:00.36cr2polylines:
13:03.17cr2pline  X
13:03.30cr2where X is the number of points
13:03.44cr2and then the coordinates. one pair per line
13:03.44cr2like
13:03.51cr2pline 3
13:04.00cr211., 45.
13:04.07cr212., 46.
13:04.14cr213., 47.
13:04.24cr2polygons:
13:04.42BabelOok
13:04.46cr2region 1
13:04.50cr2X
13:05.03cr2coordinate pair
13:05.07cr2like:
13:05.15cr2region 1
13:05.17cr23
13:05.31cr2hmm. 3 is bad.
13:05.37cr2region 1
13:05.38cr24
13:05.45cr20,0
13:05.48cr21,0
13:05.58cr21,1
13:06.01cr20,0
13:06.21cr2this is a triangle.
13:06.42cr2the last point should be the same as the first.
13:07.40cr2the output can be then checked with 'ogrinfo'
13:07.41BabelOnormal for a region definition ;)
13:07.52cr2and plotted with qgis
13:08.21cr2it's better to separate points from polylines and polygons.
13:08.33cr2mapinfo allows it, but shapefiles do not.
13:08.57cr2then maybe create 3 mif/mid files.
13:09.21cr2the attribute tables then may be different.
13:09.53cr2a web page attribute for a swamp is a bit too much :)
13:10.11cr2while for a poi it may be ok.
13:10.44cr2i'll guess you#ll hack it together in the next 10 minutes :)
13:10.54cr2otherwise i'll jump in.
13:11.29BabelOyes
13:12.15BabelOto write this format, it is very basic ;)
13:13.05BabelOso i start with attributes ?
13:18.02cr2yes.
13:20.53BabelOeh eh this CFileWriter is strange
13:22.27cr2BabelO: what's wrong with fprintf ?
13:22.39cr2btw, i have a cary idea :)
13:22.48BabelO:)
13:22.55cr2crazy
13:23.40cr2run the program in a debugger, search for the map_t pointer, and load a plugin to save the data :)
13:24.21BabelOthere are iterator on some of obecjt structure
13:24.52cr2BabelO: why don't you use fprintf ?
13:25.39BabelOcr2: this CFileWriter object is more flexible i think and support big file
13:26.46BabelOpolish format create a 24Mb file
13:26.48cr2ok.
13:27.19cr2just set the precision to .9f
13:27.40cr2i remember some bizarre side effects in this part.
13:27.49BabelOcr2: i can also remove[~0xXX] from polish format ;)
13:27.55cr2it tries to cripple the precision for some reason.
13:27.59cr2yes.
13:28.56BabelOok, i ll have all information, i just need to eroarganise polish  code to fit .MID file format ;)
13:29.35cr2yes, the loop should go over the attributes.
13:31.00cr2BabelO: if we will add the skin coloring, then you can even use this: http://extranet.mapinfo.com/products/Download.cfm?ProductID=1062
13:35.33BabelOcr2: i need to poing Label;Type;TypeHex;Comment;EndLevel;.......
13:36.33cr2to print
13:36.50BabelOyes
13:36.51cr2Label|Type|...
13:37.00cr2| as a separator
13:37.07cr2, and ; are too fragile
13:37.09BabelOcr2: ok
13:37.33cr2people use , or ; and then a big breakage happens.
13:39.48BabelOwhat is Label ? is it  _map.Header.strID
13:40.38BabelOhow do you translate Polish format to MID / MIF format by hand ?
13:41.08cr2no.
13:41.27cr2the label is poi/polyline/polygon name
13:41.57cr2the label should be written only for the [POI], [POLYLINE] and [POLYGON] sections.
13:42.12cr2_map.Header.strID is the map name
13:42.25cr2i'll look into the code.
13:43.30cr2drop metadata, countries, regions, cities for now.
13:43.45cr2these are just separate CSV tables.
13:43.55cr2zips too
13:44.08cr2highways too
13:44.56cr2turn restrictions is a separate numeric CSV table
13:45.52cr2BabelO: you should start there
13:45.54BabelOcr2: ok i  coment countries, regions, cities, zip, highway
13:45.54cr2<PROTECTED>
13:45.55cr2<PROTECTED>
13:45.55cr2<PROTECTED>
13:46.50cr2here is a good example
13:46.53cr2<PROTECTED>
13:46.53cr2<PROTECTED>
13:46.54cr2<PROTECTED>
13:46.54cr2<PROTECTED>
13:46.54cr2<PROTECTED>
13:47.04cr2drop if (! rgn.strLabel.empty ()) {
13:47.22cr2and just write fw.WriteS (rgn.strLabel.c_str ());
13:47.27BabelOhe he just change \r\n by |
13:47.30cr2fw.WriteS ("|");
13:47.33cr2yes.
13:47.45cr2the fw.WriteS ("Label=");
13:47.57cr2is just defined by its CSV position
13:48.11cr2so is simply redundant.
13:48.56cr2City=Y and such are redundant metadata too.
13:50.42BabelOso now Type / TypeHex is ushType
13:57.52cr2ignore the routing nodes data too
14:10.57*** join/#htc-linux goxboxlive (n=goxboxli@139.80-202-160.nextgentel.com)
14:11.50cr2BabelO: i see the ShpSaver.cpp
14:12.19cr2a real NIH approach. shapelib is MIT-licensed, why not just use it ?
14:12.43BabelOwhere do you see it ?
14:13.42cr2in the souirce
14:14.17BabelOESRI SHP ;)
14:14.54BabelOeh whole file is in comment
14:15.47BabelO// Save levels, if any.
14:15.47BabelOif (rgn.uchEndLevel != 0) {
14:15.47BabelOfw.WriteS (g_bOgr074 ? "EndLevel=" : "Levels=");
14:15.48BabelOfw.WriteU (rgn.uchEndLevel);
14:15.48BabelOfw.WriteS ("\r\n");
14:15.48BabelO}
14:16.03BabelO_NOTE: the code is incomplete
14:16.17cr2074 ?
14:16.37cr2this refers to the cgpsmapper version
14:16.46BabelOyes don't know this naming
14:16.54cr2prior to 0.74 the naming was different
14:17.15cr2we don't care about it.
14:17.35cr2the free version of cgpsmapper is called 'mkgmap'
14:17.52cr2when i'll have nothing to do i'll port it from java to c++ :)
14:18.51cr2hehe. the multipolylines are allowed. but i'm not sure if they are really used.
14:21.11cr2BabelO: /usr/include/c++/4.1.0/cstdlib:116: error: ‘::div’ has not been declared
14:21.19cr2what does it mean ?
14:22.40cr2About.cpp:81: error: invalid conversion from ‘int (*)(HWND__*, UINT, WPARAM, LPARAM)’ to ‘INT_PTR (*)(HWND__*, UINT, WPARAM, LPARAM)’
14:22.48cr2g++ is very strict :)
14:23.24BabelOyes ;)
14:23.49BabelOfor ;;div it is like if you miss namespace
14:24.13cr2should i add namespace std too all files ?
14:25.39cr2i wish i can add it to the stdafx.h
14:25.56BabelOyes it is used all over the code ;)
14:29.02cr2heh. it comes from the -mno-cygwin flag ;-)
14:29.51goxboxlivecr2: 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.44cr2BabelO: what is crtdbg.h ??
14:30.57cr2goxboxlive: which u-blox ? antaris ?
14:31.35goxboxlivethe info says nothing more.
14:31.43goxboxliveAtmel?
14:32.11BabelOcr2: you can replace it with standard crt version
14:32.42cr2BabelO: the name ?
14:33.11cr2goxboxlive: The Atmel ANTARIS chipset (ATR0600, ATR0610, ATR0620)
14:33.34cr2http://atmel.com/dyn/corporate/view_detail.asp?FileName=UBLOX_GPS_6_14.html
14:33.42goxboxlivecr2: it says only Atmel ATR063
14:33.45cr2i don't know what is ATR063
14:33.49goxboxliveok
14:34.01cr2goxboxlive: where does it say ?
14:34.17goxboxlivecr2: the header in #openmoko
14:35.42cr2ok.
14:35.57BabelOcr2: i sent you this files
14:38.23cr2goxboxlive: maybe ATR0635 ?
14:38.47cr2BabelO: thanks.
14:38.55goxboxlivecr2: 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.31cr2goxboxlive: http://www.atmel.com/dyn/resources/prod_documents/doc4928.pdf
14:40.00goxboxlivecr2: is it a good gps chip? Will it be opensource?
14:40.39cr2looks good.
14:40.54cr2opensource like sirf ;)
14:41.09cr2just a serial port like the phone, probably.
14:41.40goxboxliveok
14:42.00goxboxliveBut i will be able to use it with roadmap/gpsd  right?
14:42.47cr2yes.
14:43.14cr2BabelO: now it want sal.h and vadefs.h ;)
14:44.21goxboxlivecr2: ok, then the GTA02 is a must_2_have :-) It will be suplied with afaster cpu and with wifi :-)
14:44.50cr2when will it come out ?
14:45.24BabelOcr2: sent , i think i have to zip include directory
14:45.48cr2./crtdefs.h:477: error: conflicting declaration ‘typedef short unsigned int wint_t’
14:45.59cr2i just used 'touch' for them :)
14:49.12goxboxlivecr2: in late december
14:49.56cr2BabelO: i've solved it by using #include <assert.h>
14:50.06BabelOhmm i be to eat something it is already 5:00pm :(
14:50.09goxboxlivecr2: here is it compared to Iphone: http://wiki.openmoko.org/wiki/IPhone
14:50.13cr2goxboxlive: hehe. $ ?
14:50.18goxboxlive450
14:50.30cr2goxboxlive: iphone is shit ;)
14:50.31goxboxlivefrom switserland
14:50.47cr2goxboxlive: i'll better work on athena :)
14:51.03goxboxlive:-) it's to h_u_ge :-)
14:51.35goxboxliveI think $450 is a reasonable price for a phone with that spec.
14:52.11cr2without UMTS ?
14:52.56goxboxlivecr2: how often do i use UMTS/GPRS, allmost never.
14:53.04cr2this is cool : "Basic PDA included. Software can be created by normal users."
14:53.47goxboxliveI 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.41cr2goxboxlive: i'll buy a780 any day. wifi+gps on a small device will empty the battery very fast.
14:54.51cr2gps on a780 eats too much already.
14:55.02goxboxlivecr2: that true, you have to charge everyday
14:55.11goxboxlivecr2: that's for sure :-)
14:55.38cr2damn ati.
14:55.42goxboxliveAlso on Nokia Navigator wich my GF has. She says it eats the battery
14:55.56cr2but we will solve it.
14:56.48cr2"including playback of audio files via GSM and recording/playback of voice calls."
14:57.02cr2is it already implemented in software ?
14:57.18cr2we can reuse it on the universal.
14:59.16cr2BabelO: g++ is very strict, and it's good so. doesn't let the sloppy coding :)
15:05.21cr2BabelO:  what is ddbitmap.h ?
15:05.50BabelOcr2: microsoft bmp ;) lol
15:06.39cr2ah. it's DDBitmap
15:07.04cr2microsoft case insensitive monkeys ;)
15:07.23BabelOcr2: it is a direct draw Bitmap ?
15:08.00cr2yes.
15:08.02cr2CPtr.h:16: error: invalid conversion from ‘long int*’ to ‘volatile LONG*’
15:08.08cr2g++ is great.
15:11.10cr2AlanWprExport.cpp:133: error: ‘__min’ was not declared in this scope
15:11.49cr2hehe. i'll learn ms programming this way ;)
15:23.15cr2BabelO: where is CComPtr defined ?
15:24.04BabelOcr2: it is from ATL library
15:24.38BabelOcr2: in atlcomcli.h
15:24.45cr2ok.
15:25.02goxboxliveAlso on Nokia Navigator wich my GF has. She says it eats the battery
15:25.42goxboxlivesorry kid playing
15:26.32cr2BabelO: not in the archive ?
15:26.44BabelOcr2: no i ll look
15:28.12cr2ok, it's because i've created an empty atlbase.h
15:28.14BabelOcr2: very funny, it is at same place than MFC
15:28.55cr2so much for "we use only plain win32 api, no MFC"
15:30.02cr2http://www.winehq.org/pipermail/wine-devel/2006-October/051695.html
15:30.32cr2lol
15:30.36cr2If people want to write Winelib programs based on ATL, they can use the
15:30.36cr2original Microsoft headers.
15:32.44cr2yes, it does not work with the wine headers.
15:34.04cr2BabelO: :)
15:34.33BabelOcr2: so it is for COM object ?
15:37.52cr2yes.
16:03.09cr2BabelO: not so easy ;)
16:15.12BabelOcr2: i ve lost connection to my office computer :( i think there is a backup runningon the weekend
16:16.33cr2ok.
16:16.47cr2BabelO: wtf is itoa() ?
16:16.58BabelOint to ascii
16:18.06cr2sprintf ?
16:18.14cr2stricmp not defined.
16:18.50BabelOcr2: look at wstricmp
16:19.36BabelOwhat about sprintf ? compile error ?
16:19.56cr2wstricmp does not work too.
16:20.39cr2FileWriter.cpp:110: error: ‘::_vsnprintf’ has not been declared
16:20.47cr2FileWriter.cpp:135: error: ‘::ultoa’ has not been declared
16:22.28cr2GdbLoader.cpp:699: error: ‘::strnicmp’ has not been declared
16:23.27BabelOcr2: 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.32goxboxlivecr2: are you still here?
16:27.49cr2yes
16:27.53cr2LinkDlg.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.40MightyHi :) All right?
16:28.49cr2BabelO: it seems to be easier to get rid of this COM stuff.
16:28.52MightyShort question, I have a Windows Host system with ubuntu as VMWare.
16:29.17MightyIs 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.11Mightyor is there an "Ethernet Gadget" Driver avaible for Windows?
16:31.59cr2Mighty: there is RNDIS driver
16:32.24cr2should work in the latest kernels.
16:32.36MightyRNDIS driver? really? oh
16:32.40cr2but i've never tested it, because i don't have windows :)
16:32.42Mightyand this works? i google for it
16:32.59goxboxlivecr2: 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.11cr2BabelO: what to do with __try and __except ?
16:33.30goxboxliveMighty: http://www.synce.org/index.php/SynCE-Wiki
16:33.32cr2goxboxlive: yes.
16:33.53cr2goxboxlive: he wants to do it in the opposite direction :)
16:34.14goxboxliveBut why doesn it find my ext2 image? I have it inside the exe file? I have also tried with a console image
16:34.20Mighty@cr2: do you know where I can get it?
16:34.29goxboxlivecr2: yes, but there are al ot of HOWTOs there
16:34.42Mightydo you mean the Remote NDIS USB Driver Kit?
16:36.35goxboxlivecr2: BabelO http://www.vodafonebetavine.net/web/guest/projects/resources/mobile_linux
16:36.47goxboxliveGreenphone on Neo1973
16:36.50goxboxlive??
16:37.37Mightyokay, i downloaded it, and now I will test it :)
16:38.26MightyThe device cannot be started.
16:38.28Mighty:-/
16:39.04cr2goxboxlive: Mobile Linux is going from orange to green!
16:39.30cr2Mighty: i'm not a windows  expert.
16:39.39Mightyokay, thanks :)
16:39.40goxboxlive:-)
16:40.57Mightylast question cr2, but do you know where I get it? I only downloaded a template for driver
16:43.12cr2Mighty: my understanding was that it's builtin.
16:44.28Mightyah, ok
16:46.47Mightyis here an specialist for that? windows and xda?
16:59.05cr2Mighty: no idea.
16:59.27cr2BabelO: what is the difference between strnicmp and strncmp ??
16:59.59BabelOcr2: just case sensitive for the second
17:00.26cr2hmm.
17:01.14cr2so why is strnicmp not in libstdc++ ?
17:02.15BabelOeuh ?! because linux is case sensitive ? :)
17:07.16cr2lol
17:07.19cr2ListView_GetCheckState
17:07.27cr2is not implemented in wine.
17:08.08BabelOcr2: few month ago i already say to me same thing about strnicmp
17:10.08cr2ok, i'll just drop the 'i'
17:10.39cr2BabelO: what to do with COM ?
17:13.04BabelOcr2: i don't know what is it for :(
17:14.17cr2for licensing
17:14.26BabelO:)
17:14.26cr2and for some other things.
17:14.40cr2the gpx loader uses msxml
17:14.53cr2i guess it's easier to drop gpx loader ;)
17:15.11cr2or use expat/libxml2 later
17:16.29Mightydamn, i give it up. its not possible to have access to my linux pda via windows.
17:16.43Mightyi searched, but the most generic rndis driver are for mobile phones
17:16.50Mightydamn^^
17:22.54*** join/#htc-linux iggy (n=iggy@216.63.86.18)
17:24.39iggyKevin2: noticed you made some changes to the apache wiki pages
17:25.01iggymade some progress recently or just making some long needed changes?
17:27.09cr2fast_floor.cpp:57: error: integer constant is too large for ‘long’ type
17:27.35cr2iggy: look at the history
17:27.51Kevin2iggy: Hi iggy.  Really just updating the wiki docs to keep them in sync.
17:28.34Kevin2Status 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.30Kevin2I 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.54iggydo you know who did that image?
17:46.41cr2BabelO: gave up for now.
17:46.56cr2invalid conversion from ‘int (*)(HWND__*, UINT, WPARAM, LPARAM)’ to ‘INT_PTR (*)(HWND__*, UINT, WPARAM, LPARAM)’
17:54.59cr2Kevin2: i'm looking at ATImidWAre
17:58.53Kevin2iggy: No.  I'd guess psokolovsky, but I don't really know.
17:59.35Kevin2iggy: Were you the one who tested wifi on apache?
17:59.43cr2found 0x24
17:59.48cr2it's 0x12 <<1
18:00.14cr20x83 -> 0x0
18:01.29cr2hmm.
18:01.30iggyKevin2: I was interested in linux on apache about a year ago I think, played around with a bunch of stuff
18:01.40cr2it's PM1 setting.
18:02.29cr2Kevin2: 0x56000000 it's something from the S3C ?
18:03.04cr2yes, it's gpio.
18:03.15cr2wtf is it included on athena :)
18:03.45cr2GPBConReg
18:04.03cr2code reuse
18:04.38cr2Kevin2: but that means that on hermes the deviceioctl is used.
18:04.56cr2so the main cpu controls the i2c bus for ak4641
18:05.13Kevin2cr2: That is good news.
18:07.16cr2ok, it's the samsung CAM that uses AhiI2c
18:08.36cr2the 'command' structure for AhiI2cOpen is more or less clear.
18:09.19cr2i guess it should be easy to call it while tracing the ATI address range.
18:10.12cr20x5a
18:11.08cr2may be the CAM i2c id.
18:14.23cr2ok, found the CAM init data block.
18:14.35cr2should be addr, val pairs.
18:16.44cr2ok, so it goes with AhiI2cWrite
18:17.58cr2VcoAudioClose also calls it.
18:32.27cr2the TV switch is by AhiDisplayModeSet
18:33.40cr2and this is old api.
18:38.22cr20xfffff700
18:38.30cr2bit 19 ?
18:39.10cr2yes.
19:10.30*** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz)
20:01.40cr2BabelO: still here ?
20:02.10BabelOcr2: yes, fighting with gnutls and ssl
20:02.25cr2ok.
20:05.50BabelOcr2: ok, compile and test are ok now, i m able to connect to msn and gg service
20:10.05Kevin2cr2: Find anything useful on ati?
20:15.08cr2Kevin2: 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.13cr2i have found the USB storage driver for isp1582
20:16.25cr2looks horrible, but should work ;-)
20:16.38cr2now i need to find its base address.
20:20.36Kevin2What is the isp1582?
20:29.56cr2USB controller on athena
20:43.12cr2Kevin2: DMA is an important part of the ATI SD
20:48.44Kevin2cr2: 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.28cr2Kevin2: i'm looking at the AtiSDSendCommand function
20:55.50cr2it's pretty big, but more or less readable
20:56.05cr2the 0x2000 was the base SD offset ?
20:58.28Kevin2cr2: Yeah, looks that way from my logs.
21:00.16cr2http://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.53Kevin2addlist mmutrace 0x48000000 1024*1024  ;   addlist mmutrace 0x4c200000 1024*1024
21:05.20Kevin2I see a lot of:  000.000 0924a2a8: str    r1, [r3, #96]  # r1=6f697463 r3=4c202060
21:05.20cr2do you see the ATI gpio activity at +0x800 ?
21:05.34Kevin2Which I think is the data being stored to the sd card.
21:06.06cr2what about read ?
21:12.51Kevin2000.000 0924a5ac: ldr    r3, [r3, #96]  # a=4c202060 v=20747369
21:12.54Kevin2Same thing.
21:13.05cr2ok.
21:24.49cr2Kevin2: there are 8 cases for sending an SD command
21:25.14Kevin2Fun.
21:26.15Kevin2Supposedly, 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.30Kevin2I wonder if we can just put the card in some basic mode and do the rest from software?
21:26.34cr2case 1,6,7 are bundled. 4,5 too.
21:26.57cr2yes, if your card is connected to an SPI port.
21:27.22cr2and if the irq is wired, you can do SDIO.
21:28.07cr2bundled cases can be the response types.
21:30.43cr2R4,5  are sdio.
21:43.06cr2tired of asm ;)
21:43.23BabelOcr2: then a little of C++ .. lol
21:46.01cr2BabelO: trying to trace the wrong prototype.
21:46.22cr2but this obfuscated template code for COM, that's something for you :)
21:47.10BabelOcr2: i continue a little mid/mif save file , shp file format have some code problem
21:47.41BabelOcr2: next two day i m in metting about .NET
21:48.39cr2leave shp alone :)
21:48.54cr2fscking ms.
21:48.56cr2typedef INT_PTR (CALLBACK *DLGPROC)(HWND,UINT,WPARAM,LPARAM);
21:49.16BabelOso you have the right prototype ?
21:49.25cr2typedef FARPROC DLGPROC;
21:49.39cr2i'm trying to track down the problem.
21:49.49cr2g++ is confused by the protos.
22:02.50*** join/#htc-linux |dion| (n=dion@inhex.net)
22:09.52cr2BabelO: it's too much for my brain :)
22:10.05cr2i don't understand what's wrong.
22:10.34BabelO:)
22:11.39cr2<PROTECTED>
22:11.52cr2<PROTECTED>
22:12.17BabelOwhat is INT_PTR ?
22:12.45cr2typedef INT_PTR (CALLBACK *DLGPROC)(HWND,UINT,WPARAM,LPARAM);
22:15.30cr2BabelO: the DlgBox has 2 definitions
22:15.33cr2INT_PTR DlgBox (WORD _wID, HWND _hWndParent, DLGPROC _pDlgProc)
22:15.49cr2and INT_PTR DlgBox (WORD _wID, HWND _hWndParent, DLGPROC _pDlgProc, LPARAM _dwInitParam)
22:15.59cr2c++ is too confusing :)
22:16.09cr2even if you don#t touch templates.
22:17.10BabelOtemplates 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.35BabelOcr2: fif you try to add empty for last param ?
22:19.40BabelOLPARAM("")
22:19.58BabelOno it is the int(*) the problem
22:21.42cr2i don't understand why g++ is confused.
22:23.24cr2BabelO: it must have something to do with const.
22:23.34BabelOcr2: it is INT_PTR macro which confuse g++
22:24.30BabelOqtopia is very powerfull, i can retrieve all my MSN contact withtelepathy , write them into a listbox even lot of strange char
22:24.54BabelOi hope ljp can found something in blueangel log for my modem issue
22:25.02cr2ok.
22:28.07BabelOcr2: many things to do :( icons for roadmap + save format to check now
22:28.31BabelOi don't found  how they bypass constrain about int in mapedit
22:29.24cr2msvc
22:29.44cr2you draw the icons ?
22:30.22BabelOcr2: yes tux with sat, i need to convert it to 256 color then use bitmap tracer to convert to final svg
22:30.36BabelOfor roadmap svg icon redraw is needed
22:33.33cr2ok.
22:33.50cr2let's try to finish the mif/mid.
22:33.59BabelOyes
22:36.45cr2can you send me the file ?
22:42.07BabelOcr2: 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.31cr2lol
22:42.32cr2ok.
22:42.48cr2there are 3 problems to compile it with g++
22:42.51BabelOyes msvc is not very stable with other devel environment it seem
22:42.56cr21. this dialog stuff
22:43.11cr22. ccomptr from atl
22:43.31cr23. the minigdi+
22:43.48cr2we can easily drop 3.
22:44.01cr2and the gpx import with msxml
22:44.18cr2i hope we'll solve the problem with the dialogs.
22:44.36cr2ccomptr remains the most complex.
22:45.05cr2and the *icmp functions, but these are easy.
22:45.22cr2hehe. forgot one more
22:45.24cr2ListView_GetCheckState
22:45.30cr2is not implemented in wine
22:45.50BabelOcr2: listview with checkbox ? not in wine :(
22:46.00BabelOcr2: replace it with trolltech qt fior windows :)
22:46.54cr23860 /* FIXME: Miranda Hack */
22:46.58cr23861
22:47.02cr23862 #define ListView_GetCheckState(hwnd, index) \
22:47.06cr23863     ((((UINT)(SNDMSG((hwnd), LVM_GETITEMSTATE, (WPARAM)(index), LVIS_STATEIMAGEMASK))) >> 12) -1)
22:47.10cr23864 #define ListView_SetCheckState(hwnd, index, flag) \
22:47.11cr23865     ListView_SetItemState((hwnd), index, INDEXTOSTATEIMAGEMASK((flag)+1), LVIS_STATEIMAGEMASK)
22:47.11cr23866
22:47.11cr2386
22:47.12cr2it's already solved :)
22:47.23cr2yeah, i wish it was written in qt4.
22:53.36BabelOcr2: time for bed
22:53.45BabelOgood night
22:56.03Kevin2cr2: Still around?
22:56.50cr2Kevin2: yes.
22:57.00Kevin2If you are, pull up the intel pxa27x manual and turn to section 15.4.1.1 - page 743.
22:58.23Kevin2Seems to kind of overlap with what you were saying about atisd controller.
22:59.58cr2yes, it's standard SD protocol responses.

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.