IRC log for #htc-linux on 20070609

04:07.20*** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
04:07.20*** topic/#htc-linux is HTC Linux Channel: Find logs at http://apt.rikers.org/%23htc-linux/ | please check http://handhelds.org/moin/moin.cgi/HTC_2dPhones | http://wiki.xda-developers.com/index.php?pagename=Xanadux | <cr2> let's define a common setup.
05:33.03*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
05:34.37*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
06:02.40*** join/#htc-linux sadeness_ (n=LamersIn@nat2.rlan.ru)
06:55.43*** join/#htc-linux Kevin2 (n=Kevin@207-237-65-88.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com)
07:32.45*** join/#htc-linux psokolovsky_ (n=psokolov@empty-crossing.volia.net)
07:37.03*** join/#htc-linux dion (n=dion@inhex.net)
08:30.09*** join/#htc-linux tsdogs (n=twostupi@host22-76-static.110-62-b.business.telecomitalia.it)
09:00.21*** join/#htc-linux stefan_schmidt (n=stefan@datenfreihafen.org)
10:00.58*** join/#htc-linux rob_w (n=bob@BACa25a.bac.pppool.de)
10:06.03*** join/#htc-linux ases (n=script@cm-83-97-141-100.telecable.es)
10:07.40aseshi people
10:08.44aseshow i can seach information in the testwm5 dump files?
10:09.26asesvia disassbler?
10:09.49aseshelp me please
10:37.54*** join/#htc-linux tsdogs (n=twostupi@84.18.144.39)
11:11.20*** join/#htc-linux donn (n=donn@p5085f5e4.dip.t-dialin.net)
11:11.27donnGood Morning @ all :)
11:37.33*** join/#htc-linux bd2 (n=cbou@85.21.88.2)
11:51.10*** join/#htc-linux scorpio16v (n=scorpio1@AC9EA2B9.ipt.aol.com)
12:05.24*** join/#htc-linux pH5 (n=ph5@p5485ED03.dip.t-dialin.net)
12:07.29*** join/#htc-linux dion (n=dion@inhex.net)
12:10.27tsdogscr2: you here?
12:11.41tsdogscr2_: what happened to the Xanadux CVSROOT ?
12:21.41*** join/#htc-linux kiozen (n=oeichler@p54920779.dip0.t-ipconnect.de)
12:25.22cr2_tsdogs: hi. don't know, it worked for me yesterday.
12:25.54tsdogsok, it's not working anymore :(
12:26.04tsdogshi btw
12:26.28tsdogsI can only checkout in anonymous :(
12:26.44cr2_kiozen: the 76Cx has 2MB SRAM and 16MB flash. but not everything is lost. we can put the linux kernel .text into flash and use as XIP. i've never used it before, but it should work :)
12:26.58cr2_tsdogs: i'll have a look.
12:27.03tsdogsok
12:27.43pH5hi cr2, tsdogs
12:27.47pH5I get "Cannot access /cvsroot/xanadux/CVSROOT", too
12:27.56tsdogs:)
12:28.07kiozen2MB that is not much. How mauch is the kernel w/o .text?
12:28.13kiozenhi btw
12:28.23tsdogsmailin lists seem to be broken somehow too
12:29.18cr2_mailing list is broken long ago
12:29.54tsdogsok. I though think it's a SF problem, it's very slow now.
12:30.24cr2_kiozen: i don't have any experience with such setup, i just know that such option exists.
12:31.12cr2_in april i have heard a talk at fosdem by a guy from montavista about using XIP on small slow arm cpus.
12:32.06kiozenmaybe I should switch unit :)
12:32.09kiozenhttp://www.engadget.com/2007/06/01/satmaps-active-10-handheld-gps-mapping-system/
12:32.18kiozenthat one looks cute
12:32.27kiozenbut it's still vaporware
12:33.39cr2_<PROTECTED>
12:33.58kiozenbut don't ask for battery life :)
12:34.07cr2_tell me how many A*h does it need :)
12:34.09cr2_lol
12:34.26cr2_that's the only reason to buy garmin.
12:34.40cr2_otherwise it's certainly overpriced.
12:34.53kiozenGarmin, too
12:35.00cr2_i mean garmin.
12:35.05kiozenah :)
12:35.20kiozenthat on isn't cheap either
12:35.30kiozenI guess it has no A*
12:35.43kiozenlook at the form factor
12:35.43cr2_ok.
12:35.51kiozenit's more built-in :(
12:35.54cr2_rugged stuff is not cheap anyway.
12:36.12kiozenas long as it has not as many bugs as garmin
12:36.50cr2_128MB is the most stupid feature on this device.
12:36.58cr2_but it's wince ;-)
12:37.19kiozenwhat's so bad abaout memory?
12:37.28kiozenexcept the juice it takes
12:37.29cr2_probably you can run openoffice
12:37.39kiozenmuch better: powerpoint
12:37.48cr2_:)
12:37.55kiozendos it have beamer acces? :)
12:38.11kiozenprojecting maps to the trees
12:38.14cr2_pH5: the viewcvs is broken too. worked for me yesterday.
12:38.33cr2_kiozen: that's available on htc athena.
12:38.53kiozenthe beamer?
12:39.04cr2_VGA out, pal/ntsc/svideo/fcbs
12:39.18cr2_the TV encoder.
12:39.43kiozenlooks like a laptop :)
12:41.43cr2_yes.
12:43.11kiozen2MB, that explains a lot
12:43.17kiozenthe assembly
12:43.27kiozenthe bad memory management
12:43.40kiozenthe bad USB support
12:44.21cr2_kiozen: now i need to understand the flash partitioning.
12:44.31cr2_USB is on-cpu.
12:45.02kiozenI mean more the protocoll hickups
12:45.14cr2_where is the OS, where is the basemap, where is the firmware.
12:45.16cr2_ok.
12:45.19donnhi@all :)
12:45.24cr2_all with address/size.
12:45.32kiozendidn't you tell you know
12:45.39donnhi@cr2 :)
12:45.45donnhow are you?
12:45.46cr2_ho donn
12:45.59donnits hard to meet kevin2 here, or?
12:46.24kiozenno ususally he shows up 30 min after you left ;)
12:46.29kiozenlook at the logs
12:46.34donnomg
12:46.44donndoes somebody knows, when her arrives back?
12:47.15kiozenaround 00:30 usually (from the logs)
12:47.21donnah, k :)
12:47.23donnthank you
12:49.26pH5anybody familiar with the ATAG linux param structure?
12:49.46pH5I booted the kernel from the bootloader with this param structure: http://en.pastebin.ca/552738
12:49.56cr2_pH5: it's documented.
12:49.58pH5but it hangs because it believes that there is no root= parameter
12:50.36donn@all: does somebody loaded a linux OS on his Qtek S200 or O2 XDA?
12:50.50cr2_haret creates an ATAG for the cmdline.
12:50.58cr2_and EOL too.
12:51.39cr2_donn: omap850 is the least developed platform here.
12:52.03pH5cr2_: yup, I stole harets code to generate that structure. what is EOL?
12:52.58cr2_EOL is linux minibootloader for omap phones. it is booting as a diagnostic card too.
12:53.13cr2_htc omap phones.
12:53.39donnah
12:53.50donnEOL is an application I am able to run on my Omap Phone?
12:53.58cr2_pH5: http://vivien.chappelier.free.fr/typhoon/index.html
12:54.08cr2_EOL-0.4
12:54.10pH5ah, cool. you can run code from diagnostic sd cards? to me it looks like you just can write stuff to flash/ram?
12:54.52cr2_pH5: you can flash and you can run the code loaded into RAM.
12:54.56donnEOL is a Linux application?
12:55.22donnI have to format my sd card when I want to download the mini sd image, or?
12:55.30cr2_donn: it's a bootloader. raw binary code.
12:55.43donnah. ok
12:55.53cr2_donn: you don#t need to. haret works.
12:55.55donnso I have to load it to the sd card via linux?
12:56.52cr2_kiozen: EOL is the first thing to test on garmin :)
12:57.17donnhmm... i didn't understood really hat EOL is
12:57.18donnhm
12:57.23kiozenso you want to replace the bootloader, too?
12:57.27kiozennot just the fw
12:57.30donnits for mini sds, correct?
12:57.36donni have only a normal SD Card Slot
12:58.30pH5cr2_: thanks, looks like I should look at EOL in detail
12:58.38cr2_kiozen: to flash linux bootloader (EOL) as a firmware.
12:59.00donni had accomplished to run a OS called "LinWizard" on my pocket pc
12:59.04kiozenok
12:59.08donnbut I have no access to the sd card
12:59.16donnthats the problem I tried to solve with cr2
12:59.45cr2_donn: there is no logical difference between miniSD and SD and microSD. only the write-protection pin.
13:00.15donnah
13:00.18donnand the speed
13:00.20donn:-P
13:00.28cr2_and size.
13:00.37donnand look^^
13:00.37donn:-D
13:00.52donnso I should install this mini sd image on my sd card?
13:00.58cr2_no.
13:01.06cr2_you should trace the gpios.
13:01.22donntrace the gpios...sry.. means?
13:01.32cr2_what did Kevin2 say about the new trace command ?
13:01.41donnnothing, I haven't met him
13:01.44donnyet
13:01.52cr2_must be in the log somewhere.
13:02.28donnomg
13:03.13donntrace command.. do you know what ~day
13:04.05donnis this helpful?
13:04.05donn21:47.13 BabelO pH5: i set trace 0x40E00008 0x8; wi 30
13:04.17donnthis is a command for an o2xda
13:04.29donni think :)
13:05.02cr2_<Kevin2>     cr2/donn:  The "addwatch" command is now "addlist gpios".
13:05.14cr2_type
13:05.19cr2_'help'
13:05.23donnokay, i make a telnet again?
13:05.30donnand then help and searches for addlist
13:05.31cr2_and look for addlist gpios
13:05.33cr2_yes.
13:05.34donnkk, one moment Please
13:07.29donnADDLIST <variable> <value>     Add an item to a list variable
13:10.56donnso I should know what I replace for <variable> and <value>
13:10.58donnhelp
13:11.02donnoh.. wrong window
13:11.05donn:-P
13:14.48cr2_variable is obviuosly 'gpios'
13:15.11cr2_values are the OUT register addresses.
13:15.22donnah, and where i get them?
13:15.27cr2_in the log :)
13:15.31donnthe out adresses are the ones, you asked me last time?
13:15.36cr2_yes.
13:15.43donnah, so I should enter each of them?
13:15.51cr2_but i think these are the virtual addresses here.
13:15.53*** join/#htc-linux goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com)
13:16.04cr2_at least for the addwatch it was so.
13:16.15cr2_something to check...
13:16.30cr2_otherwise you should use P2V() macro.
13:17.12goxboxlivehio
13:17.17donnthe settings of the addlist, could you explain me in one sentence what it does?
13:17.23cr2_addlist gpios P2V(0xfffbc000)
13:17.28cr2_addlist gpios P2V(0xfffbc800)
13:17.28donnand could I make my pocket pc irreparable broken?
13:17.32cr2_addlist gpios P2V(0xfffbd000)
13:17.37cr2_addlist gpios P2V(0xfffbd800)
13:17.46cr2_and then watch.
13:18.13cr2_donn: when you have decided to run linux, you've already stepped on this road :)
13:18.25donnokay, I entered every of them
13:18.30cr2_hi goxboxlive
13:18.30donnthen I should enter "watch"?
13:18.40cr2_is there such command ?
13:18.52cr2_i think yes.
13:18.57cr2_watch 30
13:19.01goxboxlivehi cr2, i have been at the mountain for a week now, a lot of log to read :-)
13:19.05donnhttp://nopaste.php-q.net/299867
13:19.07donnah, watch 30
13:19.08cr2_so 30 seconds of something like that.
13:19.12donni entered watch gpios :)
13:19.15donnkk, one moment please
13:19.47cr2_goxboxlive: we started hacking on omap. and the NAND on hermes is working now.
13:19.49donnI entered "watch gpios" and the returned value is in the link
13:20.03donnand when I enter "watch 30"
13:20.03goxboxlivegreat.
13:20.04donnline 12: Expected <watch list var>
13:20.05cr2_donn: read help on the watch
13:20.08cr2_ok.
13:20.22cr2_so the syntax changed a bit too.
13:20.24goxboxliveomap? seems like i should bought me a qtek s200 then.
13:20.38donn@goxboxlive: yes, or an O2 XDA
13:20.39donn:)
13:20.40cr2_goxboxlive: but not on the phone.
13:20.46goxboxliveok
13:20.52cr2_only to make it run as a PDA.
13:20.56cr2_SD+ts.
13:21.02donn:) hehe
13:21.08cr2_i think it's relatively easy to do.
13:21.20cr2_donn: this is a realistic goal.
13:21.24goxboxlivebut will you not be able to make the phone work to? Isent it the same as on pxa?
13:21.32cr2_the phone is much more difficult.
13:22.03donnokay, each of "watch" is insert
13:22.07cr2_goxboxlive: no. it's controlled by the undocumented DSP on omap itself. there is no modem.
13:22.18goxboxliveok i c
13:22.31cr2_and a part of RAM is used for GSM data.
13:22.48cr2_that may be cool, but difficult to reproduce in linux without any docs.
13:23.12goxboxliveok
13:23.21cr2_it's like hacking on the ACX100 firmware ;-)
13:23.40cr2_which is also arm.
13:23.44donni am very excited when its finished :)
13:27.01donn@cr2: do you think it work now?
13:27.10donnor do i have to insert some more commands?
13:29.32goxboxlivecr2_ What is this roadmap stuff in xanadux cvs? Is it runable in Qtopia?
13:30.31goxboxliveand qpegps?
13:31.40tsdogsgoxboxlive: roadmap is a porting to qt4 / qtopia
13:31.56tsdogsqpegps is just a porting fot qt3 right now.
13:31.57goxboxlivewow thats great
13:32.08tsdogsroadmap_editor should work on qtopia.
13:32.22tsdogsHave not had the time to test it yet. Maybe tonight.
13:32.33tsdogshi btw.
13:32.33goxboxlivetsdogs, why dont you add it to opieII source?
13:32.38goxboxlivehi :-)
13:32.56tsdogsSure, once it's working correctly.
13:33.20tsdogsbtw have you tryed suspend on opieII ?
13:34.38goxboxlivetsdogs, yes i have tried that and it works
13:34.52tsdogsgoxboxlive: BabelO wanted to submit to opieII htcphone, but first wanted to know if suspend works.
13:35.18goxboxlivebut i have just tried out the automatic one (sometimes very irretating so i have disabled it).
13:35.32tsdogsperfect. I'll bb tonight (If I don't fall asleep on the couch again :)
13:35.33goxboxliveright, sounds good
13:35.39goxboxlive:-)
13:35.41goxboxlivecu
13:35.44tsdogscu
13:53.18donncr2? here soon?
14:11.12cr2_donn: busy with other stuff ...
14:11.41cr2_kiozen: do you have this funny round 4pin serial cable ?
14:12.07kiozenyes but without serial adapter
14:12.14kiozenjust for power (car)
14:12.21kiozenshould I get u one?
14:14.00donn@cr2: no problem :)
14:14.03donni ask you later, sry ;)
14:20.12cr2_kiozen: the RS232 converter chip is in the device.
14:20.54kiozencr2: ? sure where should it be else?
14:20.56cr2_i think it's the easiest way to enable the output, just to use the available serial port.
14:21.07cr2_ah, ok.
14:21.27cr2_need to find out if this is port1 or 3.
14:21.39cr2_the other will the the sirf3.
14:22.15cr2_4 LEDs, 12buttons on the keyboard.
14:22.44kiozen4 LEDs ? where? background light?
14:23.08cr2_on the keyboard board.
14:23.38cr2_the backlight does not use PWM it seems.
14:24.05cr2_which is not surprising: on/off/half.
14:24.39kiozenThen the LEDs are just theory :)
14:26.26kiozenthe 70SCx just has serial port, hasn't  it?
14:27.42goxboxlivehmm the fic phone is delayed
14:28.06goxboxliveit should have been on the mass market in september, but it sayd now in six month pr so.
14:28.15goxboxlives/pr/or/
14:29.34cr2_kiozen: yes, i have a serial port.
14:29.47kiozenand USB?
14:29.58cr2_and USB and microSD.
14:30.35kiozenFunny, I get ask frequently for serial support on that device..
14:31.04kiozenmust be some older stuff
14:31.07cr2_goxboxlive: i wish they have started with a htc phone instead ;)
14:31.28cr2_kiozen: i think serial is used for NMEA only, not for the fw update.
14:31.44cr2_to connect the echolot if you have one :)
14:32.13cr2_76C(S)x is waterproof.
14:32.30kiozenyes, the peculiar depth value :)
14:32.55kiozentook me quite some time to realize why there is alt and depth
14:32.55cr2_well, it could be done better. that's true.
14:33.13cr2_more of a marketing gimmick.
14:33.40kiozenthey tried to put everything into those two devices
14:33.57kiozensadly nothing really well done
14:34.05goxboxlive:-)
14:34.15cr2_produce very cheap sell for a lot of money.
14:34.23cr2_and sue tomtom in the process.
14:34.52kiozenwasn't that for some funny autorouting gimmik?
14:35.14cr2_kiozen: i mean their business model :)
14:35.31kiozenah
14:35.56kiozen"but their stock is doing well, so they can't be wrong"
14:35.58cr2_kiozen: do you think we will be able to do a better format than img ?
14:36.23cr2_alan500 does not have routing graph. and 600 is not documented.
14:36.26kiozenpartly, if take the good stuff and l drop the bad
14:36.31cr2_yes.
14:36.40cr2_add utf8 in the process.
14:36.46kiozenthe polygon compressen is slick
14:37.02cr2_yeah, that's what is completely broken in roadmap.
14:37.09kiozenI have the feeling the chinese stuff is utf8
14:37.09cr2_rdm data format.
14:37.18cr2_sure ?
14:37.21cr2_why 10bit ?
14:37.32kiozenjohn mechalas error
14:37.38kiozenits 8bit
14:37.43cr2_ok.
14:38.00kiozen0 is terminatig
14:38.19kiozenQString worked out of the box
14:38.21cr2_mkgmap supports zoom layer, i've read in the osm ML archive.
14:38.39kiozenwow that's ne to me
14:38.40cr2_yes, utf8 is normal unsigned char *
14:40.04cr2_then it's only the question of the included glyphs in the font.
14:40.18cr2_and you can use chinese fw for latin1 too.
14:40.55cr2_kiozen: the SVN version, not the released.
14:41.37kiozenjust looked at the homepage
14:44.57kiozenbtw the polygon compression technique is patented by either REWAG or Techem (I don't remember)
14:45.29kiozenit's one of those trivial ones you get prices for
14:47.05Kevin2Hi
14:48.00kiozendonn: your chance ;)
14:53.07cr2_kiozen: we are not in the US.
14:53.28kiozennever the less the got the patent
14:53.50cr2_#ifdef
14:54.14kiozenbecause they stored the stuff in hardware
14:54.15cr2_the subpixel renderer in freetype had the same problem ?
14:54.38kiozenhuh?
14:55.00cr2_apple or whatever has patented the algorithm.
14:55.28cr2_but it's in the code, so you just compile with a right #ifdef if you'd like.
14:56.49kiozenhttp://gauss.ffii.org/PatentView/EP1154668
14:57.30kiozenI wouldn't fear that one
14:58.32cr2_yeah, they just payed 10000€ for hot air.
14:58.58cr2_at least it's not very broad :)
14:59.07cr2_einer Liegenschaft mit wenigstens einer Messstelle
14:59.42kiozenactually it's about 30000€ for a full livetime patent
14:59.43cr2_ok.
15:00.15cr2_the [0002] is really funny.
15:00.46cr2_if they were not serious, i would have thought it's a parody on the US patent system.
15:02.04kiozenI just can't find the part where they state to store the data just with the bitsize really needed.
15:04.37cr2_i must admit that it's still a very accurate description.
15:05.07kiozenhttp://gauss.ffii.org/PatentView/EP1241912
15:05.15cr2_and therefore does not have much value :)
15:05.21kiozenthat one is more on the format
15:06.12cr2_i thought it's about the GPS :) maybe they have such for GALILEO.
15:06.30cr2_"The system has a radio network with terminals and data collectors."
15:07.20cr2_no :)
15:07.24cr2_in Europa 434 MHz und 868 MHz
15:08.19cr2_so they are not covered.
15:08.42cr2_donn: does the "watch" work for you ?
15:09.41donn@cr2: yes, i think
15:09.50donni got the "watch list"
15:10.00donnand every of the 3 0xf... are in it
15:10.23cr2_ok, do some bits change in the normal operation ?
15:10.41cr2_are there any changes when you insert/remove the SD card ?
15:10.50donnin windows mode?
15:10.55cr2_yes.
15:11.16donnno
15:11.18cr2_run "watch" for 60sec and insert/remove the card.
15:11.22donnnothing special happens
15:11.26cr2_haret should be on the device.
15:11.35cr2_hmm. strange.
15:11.41donnokay, i should start it?
15:11.46cr2_yes.
15:11.46donnand then remove the sd card?
15:11.49cr2_yes.
15:11.55donnand then start a telnet session
15:12.22cr2_copy haret to the device. start it. start telnet, run the commands, insert/remove the CARD
15:12.39Kevin2Are there docs for omap gpios?
15:12.43cr2_look if some bits change.
15:13.10cr2_Kevin2: not really, and there are some differences between cpu versions.
15:13.22cr2_Kevin2: look at the EOL source.
15:13.31cr2_for omap730/850
15:14.10cr2_and here i think for the "other" omap docs. http://focus.ti.com/lit/ug/spru749b/spru749b.pdf
15:14.41cr2_afaik, that's the only open omap docs.
15:14.59cr2_5910 and 5912
15:15.27cr2_and even they are not documented completely. like pxa ;)
15:15.47*** part/#htc-linux scorpio16v (n=scorpio1@AC9EA2B9.ipt.aol.com)
15:15.48Kevin2cr2_: Do you have a link to EOL?
15:16.58donni have to restart it, please wait cr2 :L)
15:17.38donn@cr2: when i started the telnet session, I have to enter the commands from yesterday again?
15:17.47cr2_Kevin2: find it here http://vivien.chappelier.free.fr/typhoon/index.html
15:18.26cr2_Kevin2: the TYPHOON sig in EOL is actually for OMAP850, the TORNADO sig is for OMAP730
15:18.48cr2_we have checked it on donn's phone.
15:19.09cr2_donn: no. only 'addlist *'
15:19.22donnokay :)
15:19.31donnone time for removed card
15:19.37donnand one time for insert card?
15:20.20cr2_run 'watch' and see if anything changes first.
15:20.43cr2_maybe you'll be flooded by the changes in normal operations.
15:20.54cr2_that's the case on hermes for example.
15:21.01cr2_then you need to mask some bits.
15:21.22donnyes, they are changed
15:21.34cr2_without doing anything ?
15:21.41donnwith removing it
15:21.45donnwith removing the card
15:22.00donnI typed in the commands addlist gpios P2V...    every of the 4 commands
15:22.05donnand then i typed in "watch gpios"
15:22.12cr2_ok.
15:22.13donnand then i removed the card and entered it again
15:22.16cr2_ok.
15:22.24cr2_pastebin the output.
15:22.30pH5ah, solved my ATAG problem. I uploaded ATAGs + kernel to a3000000, but the kernel decompresses into a0000000 and params have to within 4M from the uncompressed kernel, it seems. when uploading the params to a0000000 from the start it works. now to see why it hangs after loading the sd ext2 partition and freeing init mem...
15:23.08donnhttp://nopaste.php-q.net/299889
15:23.52cr2_it seems they typhoon guys made a release today
15:24.18cr2_pH5: a good progress :)
15:24.36Kevin2What is omap850 base memory address?
15:24.53cr2_0x10000000
15:25.18cr2_Kevin2: read also these: http://vivien.chappelier.free.fr/typhoon/download.html
15:25.47cr2_Kevin2: and that for haret http://vivien.chappelier.free.fr/typhoon/wince.html
15:28.20Kevin2donn: Do you use Linux as your host OS?
15:28.44donni could
15:28.49donni have to computers
15:28.54donnone with XP and one with linux
15:29.41Kevin2It's better to use haretconsole instead of telnet to connect to your device.
15:31.14cr2_donn: here is the list for tornado, we need a similar one - http://vivien.chappelier.free.fr/typhoon/doc.html
15:31.15donnhm, ok
15:31.35cr2_you can also check inserting/removing the USB cable.
15:31.59donnbut what is the difference between the telnet console and the haret ones?
15:32.09donnso, what I should do now?
15:32.17cr2_haretconsole decodes the bits for you.
15:32.39donnkk
15:32.43donnwhere can i get it?
15:32.47donni have to do it with linux?
15:33.02cr2_yes.
15:33.09cr2_it uses python.
15:33.22donncould you say me where i get it?
15:34.04cr2_in the haret CVS
15:34.23cr2_Kevin2: have you seen that the NAND on hermes is working ?
15:34.58cr2_Kevin2: now we need to partition it in some way.
15:35.35cr2_i have updated the CVS, so we should not have any differences in the kernel tree now.
15:35.47*** join/#htc-linux goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com)
15:35.57Kevin2donn: http://handhelds.org/~koconnor/haret/haretconsole-0.4.8.tar.gz
15:36.22Kevin2cr2_: Yes, I saw.  But you still see the nand errors though, right?
15:36.51cr2_yes.
15:37.04Kevin2cr2_: Do you know what the irq registers are on omap?
15:37.22donn@cr2: i downloaded the haret console
15:37.30cr2_but they are in the SPL area, where we should not write anyway.
15:38.50cr2_Kevin2: only by looking at the source
15:45.50kiozenbye
15:50.27donn@cr2: is it important to connect via haretconsole
15:50.27donn"also muss ich noch"?
15:51.27Kevin2donn: It will help with reading the values that you trace.  It isn't a requirement.
15:53.51donnbut would be better, k
15:54.04donnthe problem is, i have a problem to connect to it via the usb port
15:54.11donnthe question is, what whould be the next step?
15:55.18*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
15:57.58*** join/#htc-linux donn (n=donn@p5085F5E4.dip.t-dialin.net)
15:58.04*** join/#htc-linux donn120 (n=donn@p5085F5E4.dip.t-dialin.net)
15:58.43donnsry, does somebody wrote something?
15:58.48donni was disconnected :-P
16:01.10Kevin2donn:  You need to run "watch gpios 10" and find out what gpios have which actions.
16:02.03*** join/#htc-linux scorpio16v (n=scorpio1@AC9EA2B9.ipt.aol.com)
16:02.05Kevin2You're going to see a lot of changes at first.  You'll need to ignore those bits.  Once you get to a steady state, then start doing things while running the watch command (eg, plug/unplug usb, insert/remove headphones, insert/remove sd card).  That will show you what gpios map to which actions.
16:02.41donnoh my god, thats a lot
16:03.07donnah ,k
16:03.11donnso, only for example
16:03.24donni type in "watch gpios 10"
16:03.31donnthen there are a lot of bits
16:03.38donnthen I put out the sd card
16:03.45donnthen I do it again
16:03.57donnand i have to "compare" them with all bits before?
16:04.12pH5I want to disable interrupts in the bootloader before jumping into linux, should clearing out ICMR/ICLR/ICMR2/ICLR2 on pxa27x be enough for that?
16:09.38Kevin2donn: Yes.  Weed out the gpios that just change randomly.  Then find the gpios that change when you take a specific action.
16:09.39Kevin2donn: You'll find that haretconsole will help with the weeding out part.
16:09.59Kevin2donn: BTW, you may be able to get haretconsole to work under windows.  I haven't tried it, but python should run there..
16:10.12donnokay, only a question... for example I have the specific "bits"
16:10.16donnwhat I have to do then?
16:10.25Kevin2pH5: I didn't need to do that from haret.
16:10.56Kevin2donn: Not sure I understand.  Once you know SD enable/disable bits, you can put them into linux kernel and hopefully boot up.
16:11.31donnAAAH, ok :9
16:12.40donnonly for example... I have the bit 0xffff024 responsible for the sd card
16:12.48donnits only an exapmple
16:12.54donn<PROTECTED>
16:13.11donnit has no "default.txt" or "linux.ln" file where I can "change something"
16:13.19donnIt calls Haret.exe and thats all
16:13.27donnit start up a linux called "linWizard"
16:16.51pH5Kevin2: ok. I had one hangup before the kernel booted, but I can't reproduce it anyway. I'm probably fine as long as I don't pull the plug during kernel decompression.
16:17.46Kevin2pH5: You do need to disable irqs.  But that is in the cpsr register
16:18.01pH5ah
16:18.25Kevin2<PROTECTED>
16:18.26Kevin2<PROTECTED>
16:18.26Kevin2<PROTECTED>
16:18.26Kevin2<PROTECTED>
16:18.26Kevin2<PROTECTED>
16:20.14pH5Kevin2: thanks!
16:25.18donnah, i found a linux.ha
16:25.37donncould you say me, what I have to edit in the linux.ha when I found the special bits for the sd card
16:25.37donn?
16:27.27Kevin2donn: I think cr2 will have more info on that.
16:27.36*** join/#htc-linux TeringTuby (n=maarten@162-117-dyn.ipact.nl)
16:27.52donnah, thanks :)
16:39.31Kevin2cr2_: Any update on haret on the jornada?
16:41.25*** join/#htc-linux bd2 (n=cbou@85.21.88.2)
17:00.25cr2_Kevin2: i'll try it now.
17:00.46cr2_donn: you don't need to change anything. only to trace the gpios.
17:02.32donnaha, k
17:02.38donnbut then I know the gpios
17:02.40donnand then?
17:02.42donnthats all?
17:02.44donn??
17:02.55donndon't i have to enter anywhere the changed "bits"?
17:03.29donnsorry, I am little bit confused. its a kind of "level" of system, where I never had been before
17:03.46cr2_yes, that's all. the bits should go into the kernel code.
17:04.50cr2_which is a bit involved, because i don't know how good is the omap tree on hh.org
17:04.56cr2_otherwise it will be necessary to create patches like the tornado guys are doing.
17:05.44cr2_have a look at the tornado site and you'll get the idea.
17:05.51cr2_bbl.
17:06.11donnhm...k
17:06.51donnbut I don't really know what to do know? when I insert "watch gpios 10" and connect and disconnect the different devices
17:07.03donnis there a change in the system?
17:07.35donnÄndert sich IRGENDWAS, wenn ich das mit dem "watch..." mache? ich soll doch etwas herausfinden, aber wenn ich damit letztlich nichts mache, bringt es doch gar nichts, oder?
17:13.50pH5hm.. booting from haret works, but when booting from the bootloader init always hangs, as does init=/bin/sh. when I try init=/bogus, it correctly complains about the missing file and then hangs, when I set init=/helloworld (a statically compiled eabi binary with just a printf("hello world")) it resets.
17:18.55Kevin2pH5: Are tags correct? Are you disabling and flushing the caches fully?  What about memsize?
17:25.56pH5Kevin2: I think tags are correct (http://en.pastebin.ca/553283), I built them with the code from haret. The cache flush code is from haret, too. This is the loader code that I upload: http://en.pastebin.ca/553285
17:26.26pH5memory params are addr 0xa0000000, size 0x04000000 for 64MB RAM.
17:28.22cr2_Kevin2: it hangs on "help". i think it's some stdio bug, which shows up on 2.11
17:29.09cr2_donn: run 'watch gpios 60' and tell us if you see something happening.
17:29.22cr2_without doing anything else.
17:29.58donnBeginning memory tracing
17:29.59donnthats all
17:30.02donnand he waits
17:30.14cr2_wait till it exits
17:30.19donnkk
17:31.01donnno, thing happened
17:31.11Kevin2donn: You need to run the addlist stuff.
17:31.35donnah, I had to restart it
17:31.37donnso its gone? k
17:31.39Kevin2cr2_: Can you create a startup.txt file with one line that says "foo", and then forward the haretlog.txt file?
17:31.49cr2_Kevin2: why are you using a different asm syntax from that of objdump ?
17:32.06cr2_Kevin2: ok, do i need earlyharetlog.txt too ?
17:32.22cr2_i think we need a checkbox for it ;)
17:32.23Kevin2cr2_: Yes.
17:32.27cr2_ok.
17:32.34donni was disconnected.. could somebody paste me the addlists?
17:32.42Kevin2cr2_: What do you mean by different syntax?
17:33.13cr2_mrc     p15, 0, r0, c2, c0, 0
17:33.25Kevin2cr2_: Checkbox wont help - we need log before haret starts.  :-)
17:33.35cr2_objdump uses mrc 15,0,r0,cr2,cr0, {0}
17:33.46cr2_or something like that.
17:34.01cr2_ok.
17:34.20Kevin2cr2_: Original haret code must have been written like that.  I doesn't seem to matter.
17:34.40cr2_ok. funny that as does not complain.
17:35.58Kevin2donn: Use: http://handhelds.org/~koconnor/haret/haret-20070609.exe
17:36.08Kevin2That version should have the addlist by default.
17:36.30donnmeans, i only have to enter "addlist"?
17:36.36donni have the version 0.4.8
17:36.38donnits not the same?
17:36.48donnoh, its a new one, k^^
17:36.52Kevin2donn: I added the addlist commands to the version above.
17:37.36donnokay, i am reconnected
17:37.46cr2_Kevin2: the program works after 'help' hangs, so it's some screen output problem.
17:38.02cr2_'screen'== telnet.
17:38.13Kevin2What does the log say?
17:39.04donnmy`?
17:39.40donnfrom haret?
17:41.04cr2_Kevin2: http://pastebin.ca/553321
17:41.41cr2_Kevin2: the lines 171+ are after the telnet session hanged.
17:41.58cr2_i've pressed the 'run' button.
17:44.18cr2_hmm. and at line 157 i've pressed the 'listen' button again.
17:44.45donnokay, i think I wait for a normal distribution and the sd card support is okay
17:44.48donni need a timeout.. don
17:44.55donndon't know what to do and nothing works :(
17:44.59donnso, i think, I wait :)
17:45.46cr2_donn: if nobody traces the gpio, there will be no SD support. this is the current state since 1 year.
17:46.58donnoh...
17:47.00donnhm.
17:47.05donnperhaps I wait 10 years :-P
17:47.06donnhehe
17:47.13donnthe problem is, I don't know what to do
17:47.36cr2_donn: well, let's wait a bit.
17:47.45donnI try to do all what you say, but most I don't know what it should change to have support to the sd card
17:47.57Kevin2cr2_: try http://handhelds.org/~koconnor/haret/haret-20070609-ce2.exe  -- just put a startup.txt file with one line "foo".  Run haret, then forward the log.
17:47.59donn"ich weiß nichtmal was GPIO verfolgen heißt.
17:49.05cr2_donn: ok, i'll think how to make it simplier. just need some time.
17:49.14cr2_Kevin2: ok.
17:49.53donn@cr2: okay
17:49.58donnI wait how long it needs
17:50.07cr2_Kevin2: sorry, put default.txt in a wrong directory.
17:50.30donnday? week? I don't want to have a "script" made buy a guy. I want to do something for it... I really want to do something that it will work
17:50.55donnbut the problem is, my knowledge of this level is reached long time ago
17:51.36donn"heißt, ich will nichts vorgekaut bekommen :-P, wenns nötig ist tu ich alles dafür, naja fast"
17:52.55cr2_Kevin2: the 'foo' prevents the dialog window from showing up.
17:53.11Kevin2cr2_: The idea is to have an invalid command (that exercises the least part of the command dispatch stuff).
17:53.18Kevin2cr2_: Okay.  What did the log have?
17:53.26cr2_looking.
17:53.58cr2_Running WSAStartup
17:54.00cr2_Starting gui
17:54.00cr2_In initdialog
17:54.00cr2_Found machine Jornada820
17:54.00cr2_executing startup.txt
17:54.02cr2_that's all.
17:54.22cr2_the startup.txt is obviously found.
17:54.26cr2_and opened.
17:54.42cr2_because if it's not there, the error popup comes.
17:56.10Kevin2cr2_: You're using my modified haret that I just uploaded?  haret-20070609-ce2.exe
17:56.33cr2_no, the standard one. i'll get the -ce2.exe now.
17:58.38cr2_Kevin2:
17:58.42cr2_Found machine Jornada820
17:58.46cr2_executing startup.txt
17:58.50cr2_se 1
17:58.54cr2_se 2
17:58.58cr2_se 3
17:59.02cr2_se 4
17:59.02cr2_se 5
17:59.03cr2_se 6
17:59.03cr2_si 1
17:59.19cr2_si1 is the last.
18:00.23Kevin2It doesn't like isspace
18:00.45Kevin2locale thing?
18:00.46cr2_which version do you have ?
18:00.59Kevin2version of what?
18:01.17cr2_i remember adding some libc functions to haret820
18:01.25cr2_gcc version
18:01.35cr2_afair isspace was one of them.
18:01.58cr2_looking at jornada820.sf.net
18:02.10cr2_the gpio functions should be also included there.
18:03.24Kevin2http://msdn2.microsoft.com/en-us/library/ms859657.aspx  --  says ce2.0 should have isspace
18:03.53cr2_http://jornada820.cvs.sourceforge.net/jornada820/bootimage/haret-j820gnu/src/script.cpp?revision=1.2&view=markup
18:04.31cr2_maybe cegcc version is not good enough.
18:04.50cr2_int isspace(char c) { return ((((c)>=0 && (c)<=13) || (c)==32)?1:0);};
18:05.46cr2_they were certainly missing from vlc
18:07.51cr2_Kevin2: the sa11x0 gpio code is here http://jornada820.cvs.sourceforge.net/jornada820/bootimage/haret-j820gnu/src/gpio.cpp?revision=1.2&view=markup
18:08.22cr2_GPIO_MAX is 28 afair.
18:09.41cr2_sorry, 27.
18:09.46cr2_the file is http://jornada820.cvs.sourceforge.net/jornada820/bootimage/haret-j820gnu/include/SA-1100.h?view=log
18:14.27Kevin2Hrmm.  isspace turns into _isctype. Which again, msdn claims is available on wince 2.10
18:15.06cr2_i can run 'nm' on the coredll.dll and corelibc.dll
18:15.25cr2_it's a HP modified wince, so who knows.
18:18.15cr2_Kevin2: you should also pull the latest mach-types from hh.org, so we can add more missing machines. i have athena only in my local version.
18:19.53cr2_running 'strings' on the rom does not show anything.
18:22.28cr2_<PROTECTED>
18:23.21cr2_<PROTECTED>
18:23.42cr2___imp_tolower
18:23.53cr2___imp_strtok
18:24.13cr2___imp_fwrite
18:25.16*** join/#htc-linux dion (n=dion@inhex.net)
18:25.21donnokay, i need a time out .) good evening my dears :-p
18:25.22donncu
18:25.44cr2_isspace is not in the .lib
18:26.41cr2_#define isspace(_c)      ( _isctype(_c,_SPACE) )
18:26.41cr2_in stdlib.h
18:26.50Kevin2Yes mingwce32 does the same.
18:27.53cr2_but _isctype is not in the coredll.lib
18:28.12cr2_but it may be in the .dll
18:29.12cr2_strings does not see it in the rom.
18:29.21Kevin2The other thing that looks odd is that we're setting a czech code page in the resources.
18:29.31cr2_?
18:29.56cr2_it may be some linexec remnant.
18:31.37Kevin2Can you try haret-20070609-ce2b.exe ?  This just clears the code page from the resources.
18:31.42cr2_ok.
18:32.17cr2_i guess my code should be put back for ancient devices. because it worked then.
18:34.00cr2_Kevin2: the same problem.
18:34.39cr2_it seems that the _isctype is not implemented in the rom.
18:37.21Kevin2cr2_: Can you try haret-20070609-ce2c.exe  -- see if the late_load works for _isctype
18:40.58cr2_ok.
18:43.06cr2_Trying to load library 'coredll'
18:43.06cr2_Unable to find function '_isctype' in library 'coredll'
18:43.14Kevin2Bleh
18:43.21cr2_corelibc.dll ?
18:43.35cr2_but the chances are slim too.
18:46.17Kevin2haret-20070609-ce2d.exe -- tries strtoul -- also checks for _isctype in corelibc
18:47.58cr2_ok.
18:49.44cr2_Trying to load library 'corelibc'
18:49.44cr2_Unable to load library 'corelibc'
18:49.57cr2_Trying to load library 'coredll'
18:49.57cr2_Unable to find function 'strtoul' in library 'coredll'
18:50.48Kevin2That sucks.  We could fix those pretty easily, but who knows what other documented functions aren't actually there?
18:51.22Kevin2For example - strcasecmp
18:53.12cr2_Kevin2:  the old haret was working with hte functions i've added.
18:54.31cr2_isspace isalpha isdigit isalnum isxdigit _stricmp strtoul
18:54.40Kevin2How about: haret-20070609-ce2e.exe  -- checks two things - strcasecmp and fwrite
18:54.55Kevin2I don't use _stricmp any more.
18:54.57cr2_fwrite is there. can be seen in .lib
18:55.20Kevin2cr2_ Yeah.  I want to make sure we can find anything in coredll.  :-)
18:55.39cr2_ok.
18:56.57*** part/#htc-linux scorpio16v (n=scorpio1@AC9EA2B9.ipt.aol.com)
18:57.20cr2_Unable to find function 'strcasecmp' in library 'coredll'
18:57.20cr2_Trying to load library 'coredll'
18:57.20cr2_Function 'fwrite' in library 'coredll' at 01FCE038
18:59.54Kevin2Oops.  strcasecmp is a mingwce32 thing that just wraps around _stricmp.
19:00.48*** join/#htc-linux |dion| (n=dion@inhex.net)
19:01.55cr2_lol. it seems i've had good ideas then :)
19:01.59*** join/#htc-linux tsdogs (n=twostupi@62.123.180.130)
19:05.17cr2_tsdogs: did the xanadux cvs recover ?
19:14.47Kevin2cr2_: haret-20070609-ce2f.exe  -- I've included your code for the functions you noted.
19:15.20cr2_ok, testing.
19:16.36cr2_Unknown keyword "foo" :)
19:17.09cr2_help works :)
19:17.22tsdogscr2_: yes not it's working :)
19:17.28cr2_ps , lsmod work
19:17.38cr2_tsdogs: i've checked too :(
19:17.46cr2_something is fscked.
19:18.14tsdogsnow seems to be ok.
19:18.33cr2_Kevin2: what about gpio ?
19:18.46Kevin2cr2_: Okay, I'll clean it up a bit and check in.
19:18.53cr2_great.
19:19.04cr2_don#t forget the mach-types
19:19.08Kevin2cr2_: Figure out the addlist stuff and send me what needs to go in.
19:19.38Kevin2I'll be back later
19:19.41cr2_ok.
19:19.57cr2_playsound works.
19:20.26cr2_dump mmu
19:21.56cr2_Kevin2: the athena entry.
19:21.59cr2_Athena,     PXA     ,ATHE100,                       HTCATHENA, \
19:21.59cr2_<PROTECTED>
19:38.03cr2_tsdogs: maybe i've broken something, but this is strange. it seems you should contact martin-s
19:38.58cr2_Kevin2: do you disable busmaster DAM (MBGNT) on pxa cpus ? it should be done on sa11x0 too.
19:39.07cr2_s/DAM/DMA/
19:57.15*** join/#htc-linux kiozen (n=oeichler@rgnb-d9bde003.pool.mediaWays.net)
20:05.11*** join/#htc-linux rob__w (n=bob@BACac76.bac.pppool.de)
20:33.05tsdogscr2_: now cvs is working again. :)
20:35.58cr2_strange.
20:36.54cr2_tsdogs: i'll have a look at the maps.txt format
20:37.03tsdogsok
20:37.15tsdogsI'm trying to port qpegps to qt4
20:38.14cr2_that's good.
20:38.42cr2_have you tried to drive with roadmap_editor ?
20:39.10tsdogsnope, but route data ain't very good :(
20:40.02tsdogsI've tested navigation planning, and it makes me take the high way where there is no entry :(
20:40.20cr2_the maps are from 2001
20:40.43cr2_and there is no oneway/turn restriction info.
20:40.53tsdogsstill, there is no entry where it says to take the highway.
20:41.13tsdogsthat's not a prob, right now.
20:41.16cr2_ok.
20:41.40cr2_do you have any openstreetmap data in your area ?
20:42.23tsdogschecking
20:44.08tsdogshmm, does not seem so, maybe only for highways.
20:45.48cr2_ok.
20:50.37cr2_pulled everything from CVS. trying to compile.
20:52.06tsdogsthere is not much info. only highway and a main road to the lake :(
20:53.54cr2_ok, you can change that :)
20:54.05tsdogs:) thx
20:57.22cr2_qt_main.h -o moc_qt_main.cc
20:57.22cr2_make[1]: qt_main.h: Command not found
20:57.22cr2_make[1]: *** [moc_qt_main.cc] Error 127
20:57.37cr2_LANG=C make DESKTOP=QT4 SHAPEFILES=NO SSD=YES QTDIR=/usr/local/Trolltech/Qt-4.3.0
20:57.51tsdogshmm, where is your moc ?
20:58.10tsdogshe what's that?
20:58.24cr2_MOC=$(QTDIR)/bin/moc
20:58.57cr2_ar: creating ../libssd_widgets.a
20:58.57cr2_ar: libqtroadmap.a: No such file or directory
20:58.58cr2_make[1]: *** [libqtroadmap.a] Error 1
20:59.01tsdogscan you try without SSD=YES
20:59.18cr2_the SSD is not needed in the qt4/
20:59.52cr2_cannot find -ldgl
21:00.05cr2_it's a main makefile issue.
21:00.05tsdogs:) still have to fix that
21:01.33cr2_and find . -type file | xargs chmod 644
21:02.00cr2_ok. it compiled now.
21:02.34tsdogstry out new qtroadgps :)
21:03.21cr2_segfaults on calling the editor.
21:03.43tsdogshmm, could it be map related?
21:04.07cr2_no, it#s menu-related. i'll run it in gdb.
21:04.42cr2_for qtroadgps i need gpsd.
21:05.00tsdogsok
21:05.45cr2_no, it's the old _log bug
21:05.51cr2_#0  0x00002b0b4a0636b0 in strlen () from /lib64/libc.so.6
21:05.55cr2_#1  0x00002b0b4a0358e7 in vfprintf () from /lib64/libc.so.6
21:05.59cr2_#2  0x00002b0b4a036266 in buffered_vfprintf () from /lib64/libc.so.6
21:06.03cr2_#3  0x00002b0b4a031f0c in vfprintf () from /lib64/libc.so.6
21:06.07cr2_#4  0x000000000042d0f3 in roadmap_log_one ()
21:06.07cr2_#5  0x000000000042d327 in roadmap_log ()
21:06.07cr2_#6  0x0000000000442aba in roadmap_dialog_set_data ()
21:06.08cr2_#7  0x000000000040c375 in editor_segments_fill_dialog ()
21:06.44cr2_compiling with SSD=NO
21:06.49tsdogshmm, must be something in the dialog data :(
21:07.12tsdogsI'll check it out
21:08.13cr2_compiles and works with SSD=NO
21:08.19cr2_compiling with qt3.
21:09.17tsdogsit does not segfault for me with SSD=YES and QT4
21:10.14cr2_ok, i'll compile with DEBUG=YES
21:10.17cr2_roadgps_screen.c:(.text+0x5ba): undefined reference to `roadmap_canvas_lighter'
21:10.18cr2_roadgps_screen.c:(.text+0x671): undefined reference to `roadmap_canvas_lighter'
21:10.26cr2_for DESKTOP=QT
21:10.31cr2_SSD=NO
21:10.38tsdogshmm, ho yes, I added it only to QT4
21:10.48tsdogs:)
21:10.58tsdogslot's of bugs :/
21:11.42*** join/#htc-linux tre9 (i=80c3ba1e@gateway/web/cgi-irc/ircatwork.com/x-6494369b3a3261d1)
21:11.54cr2_the same for SSD=YES
21:13.23tsdogsdoes it do it when loading, or when opening a dialog?
21:13.29cr2_hmm. DEBUG=YES does not enable -g
21:13.43cr2_when loading.
21:13.47tsdogsit enables ROADMAP_DEBUG
21:14.01cr2_after i click-select in the popup
21:15.05cr2_ah.
21:15.08cr2_MODE=DEBUG
21:17.41cr2_#4  0x0000000000434dd2 in roadmap_log_one (category=0x591730, file=0x2b50d6d49860, saved=32 ' ', source=0x47808a "roadmap_dialog.cc",
21:17.41cr2_<PROTECTED>
21:18.02cr2_i think it dislikes some empty string
21:18.03tsdogscan you remove line 135 :) from roadmap_dialog.c
21:18.15cr2_calling strlen(NULL) segfault afair.
21:18.17tsdogsyes, it's debug stuff I left there :(
21:20.10cr2_ok.
21:20.20cr2_Search address dialog says:
21:20.23cr2_QGridLayout: Multi-cell fromRow greater than toRow
21:21.17tsdogshmm, not for me :(
21:21.19cr2_ASSERT failure in QVector<T>::operator[]: "index out of range", file /usr/local/Trolltech/Qt-4.3.0/include/QtCore/qvector.h, line 292
21:21.20cr2_Program exited with code 01.
21:21.28cr2_if i search for the city.
21:21.55tsdogsyou have city listing ?
21:22.46tsdogsok I get same error for search. I'll fix this too
21:23.00tsdogsok segfault too
21:23.12cr2_main CVS compiled.
21:23.16cr2_cleanly :)
21:23.40cr2_s## roadmap_dbread.c, line 131: illegal offset 1633091695 in database usdir.rdm
21:23.46cr2_uuh.
21:23.58tsdogsU have to rebuild the map :(
21:23.59cr2_the binary incompatibility ;)
21:24.13tsdogsmain was much cleaner :)
21:24.22cr2_yes. but it 's impossible.
21:24.41cr2_there is no postgis data provider in main
21:24.50cr2_and no routing.
21:25.22tsdogsI know. I'll have to fix things in editor, have to test editing too
21:26.11cr2_qt3 compiles too.
21:26.43cr2_qpegps now.
21:26.49tsdogs:)
21:27.07tsdogsyou are a good bug hunter :)
21:27.33cr2_:)
21:29.47cr2_track.h: In constructor ‘Track::Track(Qpegps*, QWidget*, const char*, uint)’:
21:29.47cr2_track.h:135: warning: ‘Track::application’ will be initialized after
21:29.48cr2_track.h:134: warning:   ‘GpsData* Track::gpsData’
21:29.48cr2_track.cpp:373: warning:   when initialized here
21:29.48cr2_g
21:30.13cr2_do i need to run make install for qpegps ?
21:30.30tsdogsno, but U need to fix paths.
21:30.37cr2_make: Nothing to be done for `install'.
21:30.40cr2_hmm.
21:31.10cr2_we need to keep track of other needed files.
21:31.36tsdogsyep.
21:31.37cr2_<PROTECTED>
21:31.41cr2_probably.
21:31.52cr2_and similar on qtopia.
21:32.00tsdogshmm, not sure about that.
21:32.44tsdogsit actually only seems to be using the pix, and the configuration file, which is QSettings, enabled
21:32.52cr2_Ellipsoid table couldn't be initialized                (check existance and path of ellipse.dat)
21:32.52cr2_Datum table couldn't be initialized                (check existance and path of 3_param.dat and 7_param.dat
21:33.25tsdogsfix up paths, there is an /home/alex/.qpegps in there :)
21:33.42tsdogsI still have to find out why original code is not working
21:34.10cr2_the original code always was braindead ;)
21:34.31tsdogs:)
21:34.38cr2_the couldn't open ./qpegps/maps/maps.txt i can remember from 2004
21:35.32tsdogsthere is no button for confirming options and ui design ain't the best.
21:35.46tsdogsalso profiles are not working.
21:35.47cr2_yeah,
21:35.50cr2_open("/home/alex/.qpegps/ellips.dat", O_RDONLY) = -1 ENOENT (No such file or directory)
21:35.50cr2_open("/home/alex/.qpegps/7_param.dat", O_RDONLY) = -1 ENOENT (No such file or directory)
21:36.16cr2_does not look for 3_params.dat
21:36.17tsdogs:) you did this when I uploaded qpegps to cvs.
21:36.37cr2_it may be redundant, but then we need libproj4 dependency.
21:36.41tsdogscause it exits when it does not find the 7
21:36.59cr2_but qlandkarte needs libproj4 too.
21:37.07tsdogsyes.
21:37.25cr2_libproj4 is the "right" way to do coordinate system transforms :)
21:37.58cr2_may do it is an option. when other problems are solved
21:38.18tsdogsok
21:38.23cr2_btw, why can't we use the gpsd code from roadmap ?
21:38.38cr2_and remove the local crappy code.
21:38.47tsdogsI already though about it. It's clean and works :)
21:38.51cr2_btw, one more thing comes to my mind.
21:39.14cr2_roadmap has some *_image() function to put pics into the canvas.
21:39.17tsdogsI think we shold merge functionality
21:39.36tsdogsyes, the editor is using it for pixmaps for navigation
21:39.54cr2_yes, if we can put background tiles into roadmap, then qpegps will be mostly redundant.
21:40.06tsdogsbbiaf
21:40.17cr2_the only problem here is that the tiles _must_ be in the same projection as roadmap's
21:45.11tsdogssorry baby crying. Yes and dunno how much it would slow down the drawing
21:46.42cr2_ok, just somethng to think about. it depends on the resolution/scale
21:46.57cr2_but i don#t have 100% understanding here in this area.
21:47.02cr2_btw.
21:47.06cr2_open("./qpegps/maps/maps.txt", O_RDWR)  = -1 ENOTDIR (Not a directory)
21:47.10cr2_open("./qpegps/maps/maps.txt", O_RDWR|O_CREAT|O_TRUNC, 0666) = -1 ENOTDIR (Not a directory)
21:47.14cr2_open("./qpegps/tracks/places.txt", O_RDONLY) = -1 ENOTDIR (Not a directory)
21:47.14cr2_open("./qpegps/icons/map16x16.xpm", O_RDONLY) = -1 ENOTDIR (Not a directory)
21:47.14cr2_open("./qpegps/icons/info16x16.xpm", O_RDONLY) = -1 ENOTDIR (Not a directory)
21:47.15cr2_open("./qpegps/icons/config16x16.xpm", O_RDONLY) = -1 ENOTDIR (Not a directory)
21:47.15cr2_open("./qpegps/icons/gps16x16.xpm", O_RDONLY) = -1 ENOTDIR (Not a directory)
21:47.15cr2_open("./qpegps/icons/track16x16.xpm", O_RDONLY) = -1 ENOTDIR (Not a directory)
21:47.23cr2_i think i know what's the problem here.
21:47.52cr2_16x16 is not very friendly for big displays.
21:47.54tsdogsedit the .qt/gpsrc
21:48.01tsdogsyes
21:48.18cr2_but it misses ~/ and /usr/share
21:48.27tsdogsyep
21:48.27cr2_at the beginiing.
21:48.39cr2_it's the original code deficiency.
21:48.48cr2_coming from qtopia2.
21:48.54tsdogsok
21:49.00tsdogsI need to fix that
21:49.26cr2_ok.
21:50.02cr2_i'm forced to run it as qpegps/qpegps
21:51.03cr2_the .qt/ tricks are not going to work on qtopia ?
21:52.44tsdogsbut should work with QSettings, btw I changed that code too, and fixed a few things
21:52.48cr2_PathName = getenv( "DATUM_DATA" );
21:52.53cr2_lol.
21:53.14cr2_you have hardcoded too much.
21:53.54cr2_and PathName = getenv( "ELLIPSOID_DATA" );
21:54.33tsdogsnot my code
21:54.41tsdogswas already there
21:55.18*** join/#htc-linux pH5 (n=ph5@p5485ed03.dip.t-dialin.net)
21:59.46cr2_ok, need to install the default maps.
22:00.05cr2_i've remembered what was the ./qpegps problem.
22:00.29cr2_the flash on sl5500 was 16MB and full.
22:00.49cr2_so there was no chance to put the maps on flash, and you wanted to have them on SD.
22:01.15cr2_because the GPS receiver must have been CF
22:01.31cr2_and the serial cable was expensive and difficult to find.
22:01.41cr2_so CF was the best option.
22:01.44tsdogsok, but one should decide where to put them anyway. and have a param in the config.
22:01.51cr2_and no BT at that time of course.
22:02.05cr2_ok.
22:02.39cr2_but you can safely hardcode /usr/share/qpegps and /opt/Qtopia/share/qpegs as default locations.
22:03.19cr2_and that was the reason to separate qpegps from the maps, too.
22:04.07tsdogsok
22:07.43cr2_z7.png
22:07.53cr2_is it warezed from google ?
22:08.56cr2_if i click on the properties strange things happen.
22:09.06tsdogsno idea. could be
22:09.24cr2_"Select cental point"
22:09.35tsdogsit seems to be too good looking to be free :)
22:10.35cr2_try to import the map.
22:10.49cr2_the layout is completely broken.
22:11.03cr2_i can see only 2 checkboxes, and that's all.
22:11.32cr2_the program is fine-tuned to grabbing maps from google ;)
22:11.46tsdogs:)
22:12.56cr2_because only the 'download' menu really work.
22:14.05cr2_and the 'gps' pane has some big initial layout problems.
22:14.16cr2_which are corrected only on resize.
22:14.30cr2_then i have something like 56pt fontsize :)
22:14.35tsdogson the import I have copy image, or delete image
22:15.05cr2_yes.
22:15.23tsdogshmm, probably something I removed.
22:15.28cr2_you can choose any and nothing happens
22:15.39cr2_i just remember how it was on zaurus.
22:15.50cr2_the program is buggy as hell :)
22:16.00cr2_an is a shame for free software :)
22:17.27tsdogshmm, code is commented out, now I wonder if it's mine or original, have to check.
22:17.46tsdogsdon't remember commenting out this part.
22:18.25cr2_i don't see the tiled map.
22:18.32tsdogs/ not in Qtopia 1.5 :-(
22:19.10cr2_when i compare it to ozi, the tears are coming into my eyes ;)
22:19.18tsdogs:)
22:20.15tsdogsis it woth, porting it to QT4 ?
22:20.31cr2_i begin to doubt it.
22:20.49cr2_it may be easier to write a new program.
22:20.52tsdogsthe only interesting thing is the map itself
22:21.01cr2_yeah.
22:21.10tsdogsI think so too, or just implement it into roadmap.
22:21.15cr2_it's completely broken by design.
22:21.42cr2_there are 2 key things that are needed.
22:22.08cr2_tile requesting/finding and plotting
22:22.25cr2_and working with the coordinates.
22:22.32cr2_and their transforms.
22:23.01tsdogsonce we find the tile we have coords, so they are relative.
22:23.05cr2_i can give you a link.
22:23.13tsdogsobviously depending on the zoom
22:23.16tsdogssure.
22:23.39cr2_there is a library called libgdal
22:23.48cr2_which compiles with oe.
22:23.51tsdogsheard of it
22:24.00cr2_it has very good docs.
22:24.33cr2_and there is a GIS program called 'qgis' written with qt4 (with some qt3compat)
22:25.00cr2_which can load raster images, and uses libgdal as a backend.
22:25.30cr2_it may be an overkill, but there are some very good ideas there.
22:25.35tsdogsok, is it from GRASS
22:25.40cr2_we don#t nned to reinvent the wheel.
22:25.44cr2_no, not really.
22:25.46tsdogs:)
22:26.07cr2_qgis can be used without GRASS.
22:26.21cr2_GRASS is for the really hardcore people :)
22:26.36cr2_i'm always amazed how much GRASS can,
22:26.55cr2_while there is close to zero documentation on it.
22:27.23cr2_and the completely BOFH manpages :)
22:27.33tsdogs:)
22:28.04tsdogsI found qgis, but not libgdal, is the do in the source ?
22:28.16cr2_http://gdal.maptools.org
22:28.27cr2_from qgis you mostly need 1 file
22:28.49Kevin2cr2_: Can you do a "cvs up" on haret and verify jornada still works?
22:29.24Kevin2BTW, I think I've fixed the wince 5 memory detection code.  Let me know if Athena detects okay.
22:29.53cr2_tsdogs: http://www.gdal.org/gdal_tutorial.html
22:29.57cr2_Kevin2: ok.
22:33.23cr2_tsdogs: this is in qgis: ./src/core/raster/qgsrasterlayer.cpp
22:34.42tsdogscr2_: ok thx, lot's of studing to do ;)
22:34.42cr2_a lot of irrelevant stuff, but qt :) maybe libgdal docs are a better source.
22:34.43tsdogscr2_: from FAQ: How to convert a raster to a layer of polygons? TBD :(
22:35.07cr2_you can't.
22:35.27cr2_or don't really want to.
22:35.41cr2_the advantage of qgis is that it works. and written in qt.
22:36.08cr2_i can tell you what the core problem is.
22:36.32cr2_without any irrelevant details.
22:37.05tsdogstell me
22:38.41cr2_there are 2 kinds of raster maps.
22:39.06cr2_one is metric, and another one is latitude/longitude.
22:39.35cr2_the best representative of t he metric map is mercator.
22:39.39cr2_used by google.
22:40.09cr2_there you can just measure the distances between the points without any problems.
22:40.52cr2_the disadvantage is that it extends only to +-85°.
22:41.13cr2_and the polar regions are very distorted.
22:41.43tsdogsclear so far
22:41.47cr2_ok.
22:42.07cr2_so each raster map is a 2dim array of pixels.
22:42.28cr2_N rows, M columns
22:42.36cr2_NxM
22:43.09cr2_the pixels are usually squares.
22:43.09tsdogsok
22:43.25tsdogsyes depending on "detail"
22:43.35cr2_can be rectangles, and can be rotated, but let's use the most simple case.
22:43.43cr2_mercator is square.
22:44.10cr2_so each pixel is described by its size
22:44.17cr2_in both directions.
22:44.33cr2_K meters /pixel
22:45.08cr2_in mercator everything is measured in meters.
22:45.13tsdogsok
22:45.19cr2_all coordinates are in meters.
22:45.29cr2_in lat/long - in degrees.
22:45.39tsdogsI suppose that latitude/longitude you can't calculate distance very esasyly
22:45.45cr2_yes.
22:46.04tsdogsand we are using the second one
22:46.05cr2_there are other complications, but let's finish with the mercator first.
22:46.10tsdogsok
22:46.58cr2_so if you know the coordinates (x,y) of the raster corner, you can calculate the coordinates of any pixel
22:47.16cr2_coordinates are just a pair of numbers 8x,y)
22:47.20cr2_(x,y)
22:47.33cr2_in lat,long it's obvious.
22:47.45cr2_(lon,lat) in degrees.
22:48.05cr2_for mercator it's the same
22:48.17cr2_(x_merc,y_merc)
22:48.35cr2_you can convert between them using libproj4
22:48.43cr2_i don't go into details here.
22:49.06tsdogs:) please don't would be too much for me
22:49.11cr2_just (lon,lat) <-> (merc_x,merc_y)
22:49.23tsdogsthat's libproj4 work.
22:49.30cr2_if you are <85° then it's easy.
22:49.32cr2_yes.
22:50.01cr2_so i can tell you what (10°,45°) will be in mercator.
22:50.11tsdogsok
22:50.24cr2_there is a 'cs2cs' program included in libproj4, so you can do it on the command line.
22:50.51cr2_the command is
22:50.54cr2_cs2cs +proj=longlat +ellps=WGS84 +to +proj=merc +ellps=WGS84 +no_defs
22:51.16cr2_you type
22:51.18cr2_10 45
22:51.20cr2_and get
22:51.23cr2_1113194.91      5591295.92 0.00
22:51.46cr2_the third number is the altitude, but i don't want to talk about 3D.
22:51.56tsdogsok
22:52.01cr2_so with an accuracy of 1 meter
22:52.21cr2_the (10°,45°) is (1113195,5591296)
22:52.38cr2_the "mercator numbers" are in meters.
22:53.08cr2_maybe i've mixed them, but it's not an issue now :)
22:53.24cr2_hmm. not it's right.
22:53.38tsdogs:)
22:53.45cr2_so imagine, you have a map.
22:54.09cr2_it's upper left corner is  (10°,45°) which is (1113195,5591296)
22:54.27cr2_'upper left' is just a convention used in this business :)
22:54.34tsdogsok
22:54.37cr2_because you can easily recalculate it.
22:54.53cr2_and you know that each pixel is 5m size
22:55.08cr2_google hi-res has 1.2m/pixel
22:55.32tsdogsok this depends on the zoom level.
22:55.34cr2_landsat is 15m/pix or 30m/pix depending on the channel.
22:55.52cr2_no. it's the physical pixel size of the raster image.
22:55.59tsdogsho ok
22:56.00cr2_the "raw" raster.
22:56.16cr2_of course you can scale it
22:56.16tsdogsok, that's not about pixels :)
22:56.41cr2_so imagine that your image is 1000x2000 pixels.
22:57.46cr2_knowing the corner coordinates, image size and pixel size, you can calculate the bounding box, and the coordinates of any pixel.
22:58.16cr2_that's actually all you need to know on the GIS side of things.
22:59.08tsdogsok
22:59.10cr2_now your program like qpegps (or qgis) requests the image
22:59.31cr2_with the bounding box (lon0,lat0,lon1,lat1)
22:59.45cr2_what are you going to do ?
22:59.52cr2_it wants just to plot it.
22:59.58tsdogsis this a test ? :)
23:00.18tsdogsconvert lon0,lat0 to x,y and lon1,lat1 to x2,y2
23:00.19cr2_you also know the screen size. X*Y screen pixels
23:00.28tsdogsthen return the box
23:00.42cr2_not a test, just to discuss the algorithm.
23:00.44cr2_ok.
23:00.44tsdogsor the x,y corner with the diff size
23:01.47tsdogsis it correct?
23:01.49cr2_ok, you see there are many options here. how the bounding boxes relate to each other.
23:01.51cr2_yes.
23:02.20tsdogsyes.
23:02.22cr2_let's imagine the requested bbox is inside the raster bbox. saves us the "white" stripes on the sides.
23:03.12cr2_then you need to extract only the pixels which are inside this bbox.
23:03.23cr2_imagine you have a 50000x50000 image.
23:03.38cr2_using QImage.load() like qpegps does is silly.
23:04.11tsdogsjust go to the x,y position of the matrix and load x_size,y_size pixels
23:04.26cr2_it's not so easy :)
23:04.26tsdogsobviously depending on the zoom.
23:04.44cr2_the images are usually compressed.
23:05.08cr2_jpeg/png/tiff, whatever.
23:05.11tsdogsthat is the palette you talked about before.
23:05.19tsdogs?
23:05.22cr2_no really.
23:05.25tsdogsok
23:05.34cr2_the palette is a different thing.
23:05.46cr2_it's the tiled format here.
23:06.25tsdogsok, so I need to idetify the tile, load it and then do image work ?
23:06.32cr2_the image is stored in 'tiles', that as rectangular(square) images of known size.
23:06.39cr2_yes.
23:06.46cr2_png does not support that
23:06.52cr2_and jpeg too.
23:07.05tsdogsso only tiff is left
23:07.06cr2_i#m not even taking about gif
23:07.11tsdogs:)
23:07.16cr2_yes, tiff.
23:07.42cr2_of the lightweight version of tiff used by ozi - ozf2 format.
23:07.48cr2_s/of/or/
23:08.28tsdogsok
23:08.34cr2_in ozf2 each tile has 64x64 pixels
23:08.49cr2_giving you 4096 pixels
23:09.18cr2_this pixel (0-255) has a colour from a fixed palette.
23:09.32cr2_the palette is a table of 255 colors (8bit)
23:09.42tsdogsok, like gif
23:09.43psokolovsky_... or just any other adhoc format. c'mon guys, stop talking, code prototype in python quickly. what's important is map calibration format, not image
23:09.51cr2_so you have a byte/pixel storage.
23:10.10psokolovsky_as long as libgdal is able to handle ozi's .map, all's rocking
23:10.14psokolovsky_and it should
23:10.28cr2_psokolovsky_: it can't
23:10.50psokolovsky_I checked myself - it should be
23:10.51cr2_and geotiff is an overkill for such simple problem.
23:10.56cr2_?
23:10.59cr2_really ?
23:11.29psokolovsky_and that without saying that without being able to do that, it's crap and not a library
23:11.31psokolovsky_yep
23:11.55cr2_i'll check the CVS.
23:12.10psokolovsky_the risk is that it uses other meshing/interpolation algo/formulae, and that's what should be checked asap
23:13.24cr2_the overviews are not 2^ based in ozf2, that may be a problem.
23:13.42psokolovsky_GCPs
23:13.42psokolovsky_A dataset can have a set of control points relating one or more positions on the raster to georeferenced coordinates.
23:15.31cr2_ozf2 does not have GCPs included, and GCPs are not very helpful, actually. you still need to calculate the world file (corner+pixel size)
23:16.19psokolovsky_GDALGCPsToGeoTransform() Generate Geotransform from GCPs.
23:16.30cr2_and account for the possible pixel rotation like on the TM projections.
23:16.32cr2_ok.
23:16.44psokolovsky_exactly, ozf2 is just random image format, and thus completely uninteresting
23:17.11psokolovsky_only .map is useful, and what .map file contains is exactly GCPs
23:17.25cr2_it can be read without libgdal dependency.
23:17.45cr2_otherwise we should just go the geotiff route.
23:17.46psokolovsky_GCPs don't do rotation - they do non-linear spatial fitting
23:18.20psokolovsky_will that be rotation or whatever - not important. what's important is that gdal's GCP worked not worse than ozi's ;-)
23:19.13cr2_ok. you only need to map from ozi's (datum,projection) pair to proj4.
23:19.34cr2_and hope that whatever who entered the GCPs knew what he is doing
23:19.41cr2_which is not always the case ;)
23:19.43psokolovsky_translating x,y <-> lat,lon using GCPs is non-trivial, that's what gdal's use is for. and yes, that has little to do with geotiff
23:20.04psokolovsky_again, it's just an image format (+ metadata format). that's trivial
23:20.29cr2_you can use 'gdalwarp' and forget about GCPs
23:20.43cr2_that's what i always use in qgis.
23:21.00cr2_because qgis does not really care about GCPs
23:21.01psokolovsky_well, whoever entered GCPs of course knew what he was doing, due to the nature of GCPs. the same cannot be said about projections at all...
23:21.38cr2_if the GCPs are taken from GPS (lat,long) then it#s ok.
23:21.53cr2_but the projections are very often completely bogus.
23:22.27psokolovsky_I have no idea about qgis and other rocket science. I know that I have gigabytes of maps calibrated in Ozi using GCPs, and they *work*. and noone showed mt the same regarding grass, qgis, and other b/s ;-D
23:22.52psokolovsky_exactly. so, projection suck
23:23.03cr2_ok.
23:23.29cr2_i'll do the rocket science. just provide me with the working canvas.
23:23.50psokolovsky_they of course useful for scales 10km+/1cm, but I care about 1km/2km scale maps, and those can be realistically calibrated only with GCPs
23:24.30psokolovsky_well, I gave you link to needed libgdal function - http://www.gdal.org/gdal_8h.html#e6bc0eeea40d1645fbd44d7431c8db07
23:25.04psokolovsky_just feed data to it and see if doesn't suck more than ozi ;-)
23:25.48cr2_it's the affine least-squares transform. i think ozi does the same.
23:26.04cr2_with 'gdalwarp' you can do better.
23:26.26psokolovsky_I *hope* it does the same. I actually hope it just silently gdal underneath ;-)
23:26.33cr2_you can do second and third order, and thin plate splines.
23:26.47cr2_also with grass.
23:27.18psokolovsky_I spent a few nights of my life searching all this stuff around (starting from asbtract math of 2d approximation/interpolation/meshing)
23:27.35psokolovsky_and gdal was the best thing I found for the application area
23:27.42cr2_psokolovsky_: i've 'warped' the 200m maps using gps GCPs, and was impressed with the quality.
23:27.54psokolovsky_So, either ozi's author is rocket scientist himself, or he uses gdal ;-)
23:28.01psokolovsky_cr2_: cool!
23:28.04cr2_he does not use gdal.
23:28.37psokolovsky_cr2_: how do you. also, define "does not use"
23:28.53psokolovsky_of he doesn't, as his crap is written in pascal ;-E
23:29.26psokolovsky_but heck, what it would take to obfuscate-rewrite C code into Pascal ;-E
23:29.26cr2_to calculate the affine transform for N GCPs is not rocket science.
23:29.57cr2_A^*Ax=A^*b
23:30.11cr2_a linear system.
23:30.26psokolovsky_heh, possibly. actually, I suspect that using non-linear meshes would be more useful
23:30.31cr2_with 6 unknowns.
23:31.31cr2_yes, that's why i'm for using properly ortorectified mercator maps.
23:31.36psokolovsky_at least that's what I had in mind when I was researching that area. But having found that gdal offers some kind of solution, I just settled that it should be tested furst for real-world viability ;-)
23:32.15cr2_ok, that's actually a different problem.
23:32.19psokolovsky_cr2_: yeah! just ortorectify maps for the whole world, and you win! ;-D
23:32.38cr2_imagine you have grabbed the 256x256 tiles from google with wget.
23:32.53cr2_they are properly ortorectified for the whole world.
23:32.59cr2_(let's assume)
23:33.17cr2_they are mercator.
23:33.24psokolovsky_imagine google maps go to /dev/null where they come from ;-)
23:33.29cr2_1.2m in hi-res 17level zoom.
23:34.06cr2_hehe.
23:34.36cr2_when i overlay some gps tracks, sometimes my tracks need to go to /dev/null
23:35.05cr2_but sometimes the hires tiles have 50m offset ;)
23:35.47cr2_ok, then let's use libgdal.
23:35.51tsdogsok, guys,
23:35.54psokolovsky_and that calls for need of custom calibration, and we end up where we started from - need for arbitrary input map data
23:36.12tsdogsthis has gone way behind my knowings.
23:36.23tsdogsI'll wait for directions :) good night
23:36.50cr2_psokolovsky_: i'd prefer to do the calibration in qgis.
23:36.51psokolovsky_using google map's data is of course juicy, but relying 100% on it is artificial and limits use highly
23:37.11cr2_i've provided it only as an example.
23:37.35psokolovsky_cr2_: that's because you know how to use it ;-). and for most people, ozi is top of their capabilities
23:37.41cr2_but any map can be converted into such way.
23:37.47cr2_tsdogs: ok.
23:38.47cr2_psokolovsky_: i'll write ozf2geotiff for such cases.
23:39.13cr2_you can't really tell me that qpegps 'import' dialog of any use for somebody.
23:40.27*** join/#htc-linux psokolovsky (n=psokolov@empty-crossing.volia.net)
23:40.32cr2_i'll formulate it in this way. we need a canvas for mercator NxN tiles, with X m/pix.
23:40.40cr2_that's all.
23:41.09cr2_the rest can be resolved with other ready tools right now.
23:44.49cr2_psokolovsky_: actually GRASS was the only software where i could produce tiled geotiff with deflate compression.
23:45.54psokolovskyas I told, I don't see img format as a problem at all. only coordinate conversion is a devil
23:46.25cr2_i see the gui canvas as the devil ;)
23:46.47cr2_any conversion can be reduced to mercator.
23:47.01*** join/#htc-linux pH5_ (n=ph5@p5485FA26.dip.t-dialin.net)
23:48.37psokolovskybut need to deduce mercator coeffs out of real-world map images - using GCPs
23:48.52cr2_yes.
23:49.01cr2_tsdogs: still here ?
23:49.59cr2_psokolovsky: any math is not a problem. efficient plotting is the problem.
23:51.14psokolovskyhow that can be problem? ;-D
23:52.09cr2_for me it is :)
23:52.39cr2_i#ll be happy with qgis, but it's an overkill for such purpose.
23:53.21cr2_there is no ozf2 support in gdal.
23:53.31cr2_so let's stick to geotiff.
23:53.51psokolovskydamn! but that's *only* tiled image
23:54.04psokolovskyyou draw it as is, tile by tile, that's all.
23:54.32cr2_yes, but there is no working implementation that i know.
23:55.49psokolovsky?? you must be kidding ;-) a for loop with few variable does the trick ;-)
23:56.40cr2_lol. if the life was so easy.
23:56.49cr2_ok, it's late now. good night.
23:57.15psokolovskygodd night!
23:57.17psokolovskygood

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