IRC log for #htc-linux on 20080311

00:09.47*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
00:13.16cr2Marex: maybe. pastebin the patches when you'll have any. good night.
00:13.49Marexcr2, sent them to kernel-{bugs,discuss,to some third place} ... as usual ;)
00:15.02Marexcr2, http://www.handhelds.org/hypermail/kernel-bugs/current/0189.html
00:15.51Marexcr2, Im not really sure about 02 ;D
02:28.14*** join/#htc-linux GPFerror (i=GPF@76.187.41.132)
02:37.15*** join/#htc-linux ndavey (n=neil@pc075650.workstation.griffith.edu.au)
02:40.16*** join/#htc-linux bpedman (n=bpedman@h-68-166-53-138.dnvtco56.covad.net)
02:49.32*** join/#htc-linux bpedman110 (n=bpedman@h-68-166-53-138.dnvtco56.covad.net)
02:51.32bpedman110Is anyone currently working on htc beetles? Has anyone successfully gotten linux to boot?
03:03.16*** join/#htc-linux Winkie (n=urmom@ur.fa.gs)
03:03.38*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) [NETSPLIT VICTIM]
03:03.38*** join/#htc-linux SuN (n=SuN@82-170-225-106.ip.telfort.nl)
03:03.38*** join/#htc-linux tg (n=tg@x-net.hu) [NETSPLIT VICTIM]
03:03.38*** join/#htc-linux swetland (n=swetland@sunnyvale.frotz.net)
03:13.20*** join/#htc-linux bpedman (n=chatzill@h-68-166-53-138.dnvtco56.covad.net)
03:54.53*** join/#htc-linux TimRiker (n=timr@rikers.org)
03:56.21*** join/#htc-linux bpedman_ (n=chatzill@h-68-166-53-138.dnvtco56.covad.net)
04:06.03*** join/#htc-linux amon_ (n=amon@p508EF319.dip.t-dialin.net)
04:28.49*** join/#htc-linux joschkopf79 (n=joschi@ACB6CC26.ipt.aol.com)
04:38.20*** join/#htc-linux bpedman__ (n=chatzill@h-68-166-53-138.dnvtco56.covad.net)
05:03.08*** join/#htc-linux joschkop179 (n=joschi@ACB6CC26.ipt.aol.com)
05:17.37*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
06:04.35*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
06:10.19*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
06:14.12*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
06:34.23*** join/#htc-linux ellisway (n=ellis@homealone.good1.com)
06:38.54*** join/#htc-linux dcordes (n=snoopdog@unaffiliated/dcordes)
06:39.19BabelOola
06:52.15*** join/#htc-linux kiozen (n=kiozen@p5492A1DA.dip0.t-ipconnect.de)
07:05.40*** join/#htc-linux BabelO_ (n=fcr@unaffiliated/babelo)
07:45.00*** join/#htc-linux rob_w (n=bob@M9e49.m.pppool.de)
07:51.58*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
08:00.07*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
08:49.46*** join/#htc-linux swc666 (n=no@24.143.67.18)
08:55.18*** join/#htc-linux Robot_ (n=robot@robot.kolej.mff.cuni.cz)
08:55.24Robot_hey
08:56.07Robot_anyone has the patch for the TI ACX 100  mac80211 driver ?
08:56.10*** join/#htc-linux rob_w|laptop (n=rob@p549B99EE.dip0.t-ipconnect.de)
08:56.21swc666I'm hoping so
09:02.05swc666Robot_: is there a patch that you know of or are you just 'wishful thinking'?
09:02.34swc666I'm very interested in it as well*
09:03.15Robot_swc666: well, there has been a discussion in here about the patch,
09:03.40Robot_http://ftp.cvut.cz/kernel/people/linville/wireless-2.6/tiacx/ this is it i think, always different location :)
09:09.35swc666yeah i was just gong through the irc logs and found a bunch of broken links..
09:10.40swc666the acx is killing me on my Uni
09:11.37Robot_and there is always the official acx100 driver, but not sure if it needs any patching to work with my pda
09:12.04swc666do u have the hx4700?
09:12.22Robot_yup
09:12.39Robot_but im hoping for the wpa2 support
09:13.02swc666which kernel / image are you using on it?
09:13.24Robot_im using the latest angstrom image
09:22.46*** join/#htc-linux ndavey (n=neil@60-240-227-199-vic-pppoe.tpgi.com.au)
09:27.05swc666I heard that there is a Qtopia image for the Universal that has a console.. is this true?
09:35.04PCrazeeit is
09:35.31PCrazeeswc666: http://linuxtogo.org/~htcpxa/htcuniversal/index.html
09:36.18swc666hmm.. i've tried that image and it didnt have it
09:36.28PCrazeesomehow i broke my openmoko... as soon as it wants to start X, the screen fliks, but nothing happens
09:36.41PCrazeeswc666: it works fine on my universal
09:36.56swc666hmmm
09:36.59PCrazeeswc666: you have a none-english windows on your universal?
09:37.04swc666no
09:37.14swc666English*
09:37.35PCrazeewell, you just have to put the tarball and the exe launcher on your sd card
09:37.39PCrazeethen start the launcher
09:38.00PCrazeeit creates a image where it creates a fs and unpacks the tarball there
09:38.37PCrazeeit's different from the gpe/opie images, where you have to create a partion with ext3 on it
09:38.38swc666right... i've done that many times this week, but I couldnt find a console in the qtopia image
09:39.05swc666maybe i will load it again
09:39.17swc666how is the Wifi on it?
09:39.30PCrazeeahh, sorry.. i missunderstood you
09:39.51PCrazeewifi used to work, but there is something buggy atm
09:40.03PCrazeeafaik
09:40.22swc666something is very buggy with it on the 2.6.21 kernel
09:40.56swc666nobody seems interested to fix it... i have friends that can do it, but I need to have an idea first of what the issues are
09:41.35swc666some say its the htcuniversal_acx.c file, some say its the mem.c file..
09:43.13PCrazeei don't know that, sorry
09:43.23BabelO_swc666: htcuniversal_acx.c just contain gpios to power on acx chipset
09:43.32swc666I saw that
09:43.54swc666didnt make any sense when goboxlive told me that
09:44.58swc666BabelO: do you have any clue as to what needs to be updated for the acx?
09:48.54BabelO_swc666: i use same driver than you for pcmcia, it works on my ba and h4000 too
09:49.29BabelO_swc666: maybe it is a timing issue on universal
09:50.05swc666hmm
09:50.14BabelO_swc666: i mean , how to write data to acx chipset with correct r / w timing
09:50.42swc666BabelO: you are actually the 2nd one that has mentioned that
09:50.52swc666it would make sense
09:52.16BabelO_swc666: after that to upgrade it to latest driver rmoravcik no more, he already do it in the past i think :)
09:56.56BabelO_s/no more/know more/
10:02.25swc666lol
10:02.54swc666hmm
10:08.07swc666there is great comments in the files, i.e. - mem.c, but i wish in this case my knowledge was in this field
10:12.10BabelO_swc666: use kompare or some windows tools to merge funciton between pci.c and mem.c :) others file can be upgraded i think
10:15.08swc666BabelO: I have the latest cvs from hh, would these be the most recent files?
10:16.52BabelO_swc666: yes if you get last cvs, now need to get latest acx100 sources ;)
10:17.07swc666yes I have them =)
11:21.26*** join/#htc-linux patoche (n=pat@77.197.28.145)
11:33.18*** join/#htc-linux hlbot (n=adm@iclem.net)
11:41.27*** join/#htc-linux LunohoD_ (n=alex@e180072147.adsl.alicedsl.de)
11:44.56swc666well lets hope this worked
11:46.56swc666kind of strange, the first real kernel i've built is one that is cross-compiled
11:50.52swc666BabelO: are you still here?
11:51.52swc666is this something that is going to mess up the driver function: http://pastebin.com/m75c86ef4
11:55.26*** join/#htc-linux LunohoD__ (n=alex@e180072147.adsl.alicedsl.de)
11:56.24*** join/#htc-linux LunohoD (n=alex@e180072147.adsl.alicedsl.de)
12:16.33*** join/#htc-linux tsdogs (n=tsdogs@net-84-18-144-39.c.bkom.it)
13:17.13cr2eSATA is different ;-)
13:24.47BabelO_cr2: eSata what is that ?
13:25.18PCrazeeexternal sata
13:26.00PCrazeeyou need a external disc with esata and a esata port on your pc, then you have the same speed as if the disc is in your pc
13:26.16PCrazeehttp://en.wikipedia.org/wiki/Serial_ATA#External_SATA
13:29.44cr2yeah, i don't have an eSATA port.
13:34.19BabelO_ok it is the same, i ve esata on my computer, and on my internet box ;)
13:34.34BabelO_esata on computer is just a cable plugged inside internal sata port
13:36.20cr2it's faster, and has a different cable
13:39.00PCrazeecool external harddrives have usb AND esata
13:39.17PCrazeeso if you come to some1 w/o esata you can use usb
13:41.21*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
13:42.54Marexcr2, hi ;)
13:51.52*** join/#htc-linux patoche_ (n=pat@77.197.28.145)
14:05.35cr2hi Marex
14:05.44cr2have you tried n560 ?
14:14.07*** join/#htc-linux Babel1 (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
14:18.23Marexcr2, not yet, have you tried leds ?
14:18.31Marexcr2, Im thinking about camera now
14:19.25Marexbbl
14:24.41kiozencr2: what do you think about adding the towgs84 parameters as parameter into the qmap file, as well as the BETA2007 stuff?
14:31.10cr2kiozen: don't you think it's too complicated ?
14:32.31cr2kiozen: i suggest to change the default projection setting from longlat to merc
14:32.56kiozenbetter than to comunicate how to transform the reference points from XYZ to WGS84 for a certain datum
14:32.58cr2nobody in their right mind uses longlat maps
14:33.28cr2add the projection field to the gcp class.
14:33.50cr2the normal people will use latlong/wgs84, so it can stay empty
14:34.13cr2the people who know what they are doing may fill it.
14:34.24kiozendon't think so, they will use the grid values from the map
14:35.12cr2to use the grid values you need to know the projection and its parameters anyway
14:35.20kiozenpeople knowing what to do will provide a propper projection string and already shifted ref coords
14:35.55cr2yes, and the epsg/proj4/wkt parser is already available in gdal.
14:36.24cr2imho we want to get rid of calling gdal_translate/gdalwarp eventually.
14:37.09kiozendon't know if we ever get rid of it :)
14:37.28cr2we will.
14:37.45cr2you can just look at the qgis georeferencer code.
14:38.15kiozenyou have a source pointer
14:38.19kiozen?
14:39.36cr2trunk/qgis/src/plugins/georeferencer/qgsimagewarper.cpp
14:52.05*** join/#htc-linux TimRiker (n=timr@70-7-57-246.area7.spcsdns.net)
15:01.21*** join/#htc-linux bernt (n=bernt@dslb-084-061-243-004.pools.arcor-ip.net)
15:34.02cr2kiozen: GDALDecToPackedDMS , GDALPackedDMSToDec, GDALReadTabFile
15:38.49dcordeshi all
15:41.21*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
15:41.53*** join/#htc-linux GPFerror (n=gpferror@76.187.41.132)
15:42.46cr2hi dcordes
15:42.57cr2kiozen: for 2 GCPs there is GDALGCPsToGeoTransform
15:44.38cr2hm. but it does not include rotation.
16:26.14*** join/#htc-linux pH5 (n=ph5@e178211045.adsl.alicedsl.de)
16:37.22*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
16:41.35*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
16:42.37*** join/#htc-linux CVirus (n=GoD@196.205.192.125)
16:48.27*** join/#htc-linux bpedman (n=chatzill@nat/novell/x-0f4b67b2d9f3293c)
16:52.18*** join/#htc-linux SuN (n=SuN@82-170-225-106.ip.telfort.nl)
16:55.39*** join/#htc-linux avojacek (n=chatzill@212.80.64.14)
16:55.54avojacekhi all :-) Is there some Linux port for FSC T810?
16:59.15BabelO_avojacek: if not here -> http://www.handhelds.org/moin/moin.cgi/SupportedHandheldSummary
16:59.22BabelO_then not known
16:59.37MarexBabelO, yo ;)
16:59.48MarexBabelO, it's another HTC-made pxa27x device
17:06.04*** join/#htc-linux rob_w (n=bob@M92b1.m.pppool.de)
17:07.33avojacekI did not find that device on http://www.handhelds.org/moin/moin.cgi/SupportedHandheldSummary :-(
17:08.59pH5avojacek: so a linux port probably doesn't exist. (yet? ;))
17:09.13BabelO_hi Ph5
17:09.25pH5hi BabelO_
17:10.09*** join/#htc-linux dcordes_ (n=snoopdog@f054218096.adsl.alicedsl.de)
17:10.13kiozencr2: svn up, tried that 3rd artificial GPC thing, but GDAL isb't that easy to fool
17:10.31avojacekOk, so because it is old product it seems that Linux will not be ported in future :-( Ok anyway thx for help
17:10.33BabelO_pH5: what is your work on dsp ? since 6 or 8 month i speak with a guy at #tapioca-voip which work for nokia institue and works on mamona project http://dev.openbossa.org/trac/mamona/ . he can be interested by your work on dsp ;)
17:11.53cr2kiozen: updating
17:12.05kiozenok, bbl
17:12.30dcordes_Marex, htcadvantage
17:12.43dcordes_is 270
17:13.27pH5BabelO_: Huh, I would think that the guys at INdT get the necessary documentation?
17:13.42dcordes_did somebody ever run haret on this? http://pdadb.net/index.php?m=specs&id=772
17:14.22pH5BabelO_: I'm just playing around with sound output, with the intention to help the tremor port or maybe port an opl3 fm synth emulator to run on the dsp.
17:15.24BabelO_pH5 ok :)
17:16.05cr2dcordes_: athena ?
17:16.48cr2Cellular Networks:   PHS
17:17.15cr2Display Resolution:   800 x 480
17:17.15cr2<PROTECTED>
17:17.19cr2it's insane
17:18.07pH5good stuff. now if they could only drive those displays at decent frame rates.
17:18.11dcordes_cr2, you mean the sharp one?
17:20.28cr2dcordes_: yes.
17:21.08cr2dcordes_: htcadvantage is athena. it runs linux, but not in a way to be comfortable.
17:21.24cr2but the ts works, and qtopia with apps runs.
17:21.46dcordes_cr2, I just mentioned this in respons to Marex asking for pxa27* based htc devices
17:22.03cr2well, it's the best pxa27x device.
17:22.07cr2i know
17:22.25dcordes_what's not so comfortable about it? does it also have ati?
17:22.34cr2yes
17:22.41dcordes_-_-
17:22.44cr2qtopia runs off the usb stick.
17:22.49dcordes_we need some overlord who makes this work
17:22.56cr2because it has usb host.
17:23.17dcordes_can you make calls?
17:23.30cr2not overlord, just some patience and time.
17:23.53Marexdcordes, I wasnt asking ... I just said FSC T810 is another PXA27x based device made by HTC
17:24.01BabelO_pH5 did you try usb host on n810 ? i m curious about driving a usb tnt stick :)
17:24.07cr2no, it uses DPRAM for AT command and data. but it should not be very difficult to support. but ATI comes first.
17:24.09Marexit was a reply to someone, see few lines before
17:24.19*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-2227c54936d5f1c2)
17:24.33dcordes_Marex, ah I see sorry.
17:24.39Marexnp ;)
17:24.39cr2Marex: usb host works on n560 too
17:24.47Marexcr2, nice :)
17:24.57Marexcr2, leds works on 6515d completely ;b
17:25.11cr2Marex: i just need to finish resume, mainly LCD resume.
17:25.34Marexcr2,  I made some investigation on the camera, maybe I can get it to work
17:25.37cr2Marex: compile the linboot-hw6xxx.exe, then i'll test it.
17:25.53cr2Marex: which one ? ov9650 ?
17:25.59Marexyup
17:26.11cr2the same on the uni/magician/et al.
17:26.16Marexyup
17:26.29Marexopenezx has driver for that
17:26.35pH5BabelO_: not yet, I hope the cable will arrive tomorrow. host port only supplies 100mA though.
17:26.52cr2pxa_camera+i2c control.
17:27.24cr2pH5 mostly made it work, but there were some DMA problems. if you'll finish it that will be great
17:27.27BabelO_pH5: ok, yes need to add an usb hub to driver hard drive or others
17:27.42cr2pH5: how do you know the mA value ?
17:28.14pH5cr2: usb descriptor from kernel sources
17:28.51cr2it may be fun to attach an ampermeter with a variable resistor in wince and watch.
17:29.07dcordes_pH5, doesn't system log also spit out max power on device connect, at least when it oversteps the limit?
17:29.08cr2pH5: isn't this value supplied by linux kernel ?
17:29.43Marexcr2, you mean ov9650 ? is there any code from him ?
17:30.08Marexcr2,  I planed to port openezx stuff from scratch :/
17:30.22pH5cr2: yes
17:30.24cr2Marex: there are a gazillion of pxa_camera patches.
17:30.30cr2pH5: ok.
17:30.38pH5dcordes_: might be, but I'm still missing the cable to check this.
17:30.56cr2pH5: where did you have the latest pxa_camera patch link ?
17:31.31Marexcr2, yea, I have those from WyrM for ov9650
17:31.41dcordes_pH5, solder one out of old mini usb and usb extension cable
17:31.59Marexbut that's the problem, I wasnt able to figure out what's the latest/working driver
17:32.06Marexor ... semiworking
17:32.32dcordes_pH5, zaurus dmesg says device with bus id blabla reject because of low bus power or so
17:33.28*** part/#htc-linux BabelO_ (n=fcr@unaffiliated/babelo)
17:33.30pH5the ov9650/pxa_camera code is in slapin's git repo at ossfans.org.
17:33.49Marexdarn :E
17:33.53cr2pH5: and it works ?
17:34.01pH5cr2: no :)
17:34.18MarexI spoke to slapin, I found the code in our hackndev tree first
17:34.27Marexit's like if pig wrote it
17:34.28cr2lol
17:34.29pH5the ov9650 part is only finished up to chip probing and the pxa_camera part is not interesting now that we had the driver posted on LAK/v4l-devel
17:34.31Marexwell ... slapin's work :/
17:34.48cr2Marex: not a pig, montavista :)
17:34.59Marexhmmm
17:35.02cr2intel+montavista hacks.
17:35.14pH5dcordes_: I'm going to do that, but it's micro usb and I don't have a spare connector lying around.
17:35.33MarexpH5, so I guess I will be able to communicate with the chip over i2c, right ?
17:35.37cr2pH5: what is microUSB ?
17:35.37Marexto see it's really there
17:35.56pH5Marex: yes.
17:35.58cr2Marex: you need to powerup it first = know the gpios.
17:36.07dcordes_pH5, One can never have enough mini usb cables im house
17:36.19Marexcr2,  I know
17:36.29Marexwill be fun :B
17:36.39pH5cr2: yet another new standard, smaller than mini usb
17:36.45cr2ok, i know them for the uni.
17:37.39cr2pH5: so it's standardized ? i've seen some very strange <= miniUSB adapters with a lot of different sizes.
17:39.01dcordes_I don't see the the point. mini and micor are not that different in size. think every phone/pda/whatever that can take a micro usb can also take a mini usb jack
17:39.15pH5cr2: yes, part of the usb 2.0 spec
17:49.04*** join/#htc-linux LunohoD_ (n=alex@e180078189.adsl.alicedsl.de)
18:07.25*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
18:43.49MarexpH5, hi, do you have some time ?
18:44.52*** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com)
19:00.26pH5Marex: yup
19:00.56MarexpH5, nevermind ... I got the code from ossfans, slapin wasnt much help as usual ;b
19:01.25MarexpH5, well anyway, any advices ie. where should I start? thanks ;)
19:02.04pH5Marex: do you know the gpios?
19:03.54MarexpH5, I hope so
19:04.04Marexhttp://wiki.xda-developers.com/index.php?pagename=BeetlesGPIO if they are according to this
19:05.45*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1dfaf.pool.einsundeins.de)
19:05.57Marexhmm ... doesnt look like there is GPIO to turn camera on :/
19:07.07*** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
19:08.05pH5sry phone
19:09.52pH5ok, on magician I have 2 GPIOs for the camera
19:10.03pH5GPIO57_MAGICIAN_CAM_RESET and GPIO116_MAGICIAN_nCAM_EN
19:10.19Marexhttp://wiki.xda-developers.com/index.php?pagename=BeetlesASIC3
19:10.24pH5I could easily find them by watching gpios with haret when turning on/off the camera.
19:10.26MarexGPIOA8 and GPIOD9
19:10.30diogene31_Evening.
19:10.46pH5aha. A8 and D9 on ASIC3.
19:11.20pH5which one is reset and which one enable?
19:11.22pH5hi diogene31_
19:13.23MarexpH5, no idea
19:13.31MarexpH5, I can test with haret if you tell me how
19:13.40Marexum sorry, Im braindead today :(
19:16.06cr2Marex: cmp sableasic3 and beetlesasic3
19:17.12pH5Marex: that's easy. first the enable gpio is pulled low (at least here it is active low) and then the reset gpio is pulled high and then low again.
19:17.37pH5you should see that pattern when tracing the asic3 gpios and turning on the camera
19:18.25MarexpH5, you see, palmos is way too different compared to wm
19:18.40MarexpH5, I was used to play with palmos based devices ...
19:22.19*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfe82b.pool.einsundeins.de)
19:52.06*** join/#htc-linux rob_w (n=bob@M92b1.m.pppool.de)
19:58.29MarexpH5, dump asic3 doesnt output asic3 GPIO registers :/
20:03.35cr2Marex: use gnu-haret
20:04.04cr2http://jornada820.sourceforge.net/files/haret/
20:04.54Marexcr2, I do
20:05.03Marexwasic3gpio is the command I need I guess
20:13.59cr2it's a busy loop watcher.
20:14.07MarexpH5, D9 - Enable ; A8 - Reset
20:14.40cr2'dump asic3' and 'dump asic3gpio' is implemented only in gnuharet. i was lazy to port it over to mainline.
20:16.09pH5Marex: great, now you can write a simple driver that triggers them and then check if the camera appears in i2cdump in linux. or try to get ov96xx.c to run.
20:17.32*** join/#htc-linux the_sys0p` (i=the_sys0@gateway/tor/x-276a3adb2d0669f7)
20:32.46*** join/#htc-linux tsdogs (n=tsdogs@62.123.180.130)
20:32.57cr2kiozen: i'm trying to check referencing by 2GCPs . there is one more wish from me: the .gcp file should be saved in the same directory as the original file, and _ref.tif file by default
20:33.36kiozencr2: ok, just have to sort out the path mess anyway :)
20:33.51kiozengdal needs 3 gcps not in one line
20:34.00kiozenfor somehow obvious reason
20:35.01cr2yes, it's necessary to calculate the transform coefficients explicitly, and maybe simply add the 4 corner points
20:35.24cr2using the transform
20:35.59cr2better 3 ;)
20:36.26kiozenyou mean mirroring the 2 points to a square?
20:36.27cr2to avoid the possibility of quadratic transform.
20:37.06cr2yes, that may be an option too.
20:37.28kiozenhm, let's see if gdal digests it
20:39.07cr2kiozen: i'd also like to save/restore the label. it excludes the .gcp format, maybe save/restore to the mapinfo tab too as an option based on provided file extension?
20:40.08cr2the read function is GDALReadTabFile() in gdal.h
20:40.37*** join/#htc-linux the_sys0p`` (i=the_sys0@gateway/tor/x-2f26a47df92da1ae)
20:40.57cr2looking for an example.
20:41.01kiozenGDALReadTabFile() isn't documented
20:41.18kiozendon't know if it is a good idea to use
20:41.36cr2it's used by geotiff code.
20:41.50cr2exactly for providing GCPs
20:42.34kiozenwe should first ask the author if it is a stable API
20:43.15cr2here is an example http://www.nabble.com/Adding-projection-to-GeoTIFF-file-from-MapInfo-Tab-file-td14251617.html
20:43.35cr2well, since it's exported by gdal.h, i  guess it is.
20:44.21kiozenhm, wouldn't count on it
20:45.45cr2i don't know any other "standard" way to define GCPs
20:48.13*** join/#htc-linux dcordes (n=snoopdog@unaffiliated/dcordes)
20:56.51MarexpH5, I guess I'll have to build whole lm_sensors to get i2c_dump binary, right ?
20:56.59Marexlucky, time to set OE :E
20:57.14cr2Marex: why not just pick the .ipk ?
20:57.27Marexbecause Im running of initramfs
20:57.34Marexs/of/from/
20:58.28pH5Marex: think so. why not copy it over via usbnet?
20:58.51MarexI can add it to that initramfs
20:58.53cr2Marex: hm, why don't you use SD ?
20:58.59Marexdarn
20:59.11Marexbecause I dont want to ... I dont need it
20:59.19MarexI can add that i2cdump to initramfs
20:59.46cr2ok.
20:59.49kiozencr2: load/save labels for *.gcp works now
20:59.55cr2kiozen: ERROR 1: Attempt to create 4767x0 dataset is illegal,sizes must be larger than zero.
20:59.56Marexbut ... i dont have i2cdump binary and Im really looking forward to setting up OE once again
21:00.08cr2kiozen: ok, updating.
21:00.39kiozencr2: don't know what you are doing :)
21:00.45cr22 GCPs
21:01.11cr2just for fun
21:01.36kiozenhm, I got another error message with that :)
21:02.36cr2oh, overwritten the wrong .gcp file ;)
21:02.56kiozenyou can play with the parameters yourself CCreateMapGeoTiff.cpp line 336ff
21:03.37*** join/#htc-linux SuN (n=SuN@82-170-225-106.ip.telfort.nl)
21:04.03kiozenlet's store the projection, too
21:05.22cr2looks too easy, what you are doing there :)
21:06.51kiozensure no tricks
21:07.12kiozenhard enought to keep that stable and sane
21:08.27cr2ERROR 1: Attempt to create 5595x0 dataset is illegal,sizes must be larger than zero.
21:08.42cr2ok, i can correct the math myself.
21:09.07kiozensend a patch :)
21:10.16cr2ok.
21:10.53cr2need to write it down first.
21:14.18cr2kiozen: a radiobox for the -order warp parameter is a nice to have too.
21:15.25kiozenradio? no spinbox?
21:15.32*** join/#htc-linux rmoravci1 (n=rmoravci@ip-89-102-255-171.karneval.cz)
21:16.41cr2hm. what is radiobox ?
21:16.55cr2spinbox is a slider ?
21:17.02kiozenlol
21:17.25kiozenradio button -> mutual exclusiv selection
21:17.36cr2yes.
21:17.42kiozenspinbox -> value up/down
21:17.57kiozenslider -> well a slider
21:18.00cr2we want 4 mutex options.
21:18.20kiozenwhich ones?
21:19.03cr21 -> linear, 2 -> quadratic, -1 -> TPS, and probably -2 -> square pixels = similarity transform like qgis (Helmert)
21:19.04dcordesBabelO, ping
21:19.28BabelOuop
21:19.54dcordesBabelO, good evening. I wanted to ask if you pushed the BA patches yet
21:20.15cr2kiozen: i'll do -2, because it includes 2 GCPs case too.
21:20.23cr2linear=affine
21:20.25BabelOdcordes: good evening
21:20.34BabelOno patch at the moment
21:20.47kiozencr2: ok I use a combo box ;)
21:21.05cr2kiozen: ok, it saves space :)
21:21.15kiozenthus it's "-order -2" ?
21:21.37cr2no, you need to trap it.
21:21.47kiozen?
21:21.47dcordesBabelO, what about the things for hh.org?
21:21.55cr2it's a different GDAL function.
21:22.27cr2we will use -order 1, but with 3 "virtual" points
21:22.45cr2which guarantee the square pixels.
21:23.08BabelOdcordes: i ask cr2 but did not finish, all patch are on alge website at the moment
21:23.46kiozencr2: so 1 and 2 are cmd line param, and for -1 and -2 you add the magic?
21:24.02dcordesBabelO, are there images that alge built with these patches included?
21:24.12dcordesso I can check out the current state
21:24.31BabelOdcordes: yes images on alge website
21:24.44BabelOread text on bottom
21:24.50dcordesok cool. Do you want me to try out a certain function?
21:24.51cr2kiozen: -1 is also a cmd line param, the magic is in gdalwarp
21:25.06cr2kiozen: i'll use GDALGCPsToGeoTransform()
21:26.36cr2kiozen: btw, http://www.gdal.org/frmt_gtiff.html says
21:26.52cr2f no georeferencing information is available in the TIFF file itself, GDAL will also check for, and use an ESRI world file with the extention .tfw, .tifw/.tiffw or .wld, as well as a MapInfo .tab file (only control points used, Coordsys ignored).
21:27.06cr2"as well as a MapInfo .tab file"
21:27.34cr2btw, "(only control points used, Coordsys ignored)." is actually wrong.
21:27.43cr2i've looked at the code.
21:28.34cr2so if you are running system("gdalwarp") you should be sure that there is no
21:29.04cr2file.tfw, file.tifw, file.tiffw file.wld and file.tab in the same directory :)
21:29.19cr2because they are all checked.
21:29.48cr2well, file.tab is ok, if you just have created it :)
21:30.55kiozenthus with -1 we need no gcps (table disabled), just call gdalwarp, right?
21:33.22cr2-1 is a "ThinPlateSpline", it's a warping method which leave the GCPs at their places as is, but the rest is warped as a "ThinPlate" will do.
21:33.58cr2i'm not quite sure how many GCPs you need for it.
21:34.16cr2gdalwarp simply segfaults if something is wrong here.
21:34.41kiozenok I will add 1,2 and -2 for the beginning
21:34.50cr2-2 will need >=2, linear needs >=3, quadratic needs >=6
21:36.04kiozenok
21:36.05cr2Helmert, Affine, Quadratic
21:36.14cr2-2, 1 , 2
21:39.46Zooloochi
21:39.52cr2kiozen: simple things can be done in a hard way http://mathworld.wolfram.com/SimilarityTransformation.html
21:40.34kiozenthat is too much for me at this time of the day :)
21:40.38cr2lol
21:41.00cr2it was a joke :)
21:44.01dcordesZoolooc, hey there
21:44.27Zooloochey dcordes, sold your Kaiser?
21:46.31dcordesZoolooc, no. I got me a blueangel to surmount the hard times w/o any device joy
21:47.36dcordesZoolooc, what about you? still working with it?
21:48.19Zooloochaven't followed linux hacking lately, don't even know if anyone else did something useful for the msm7200
21:49.18Zooloocjust flashed wm6.1 from these cooked roms once, don't have too much spare time for this a.t.m.
21:49.26dcordesZoolooc, I think there are plenty of people who use msm7200 development boards to create new devices. at least this is the impression I get, following the msm-linux ML. but concerning hacking, there is nothing interesting for our use yet
21:51.15dcordesZoolooc, still waiting for an SD driver. did wm6.1 bring you any advantages?
21:53.00Zooloocseems a bit faster, changed from german to english (which is somehow better for third party apps, but like it seems, not for my stored contacts)
21:54.16kiozencr2: here you go with the combo box, see CCreateMapGeoTiff::getNumberOfGCPs() on how to query it.
21:54.34dcordesI decided to not touch the shipped rom until there is a huge breakthrough and we can all boot directly w/o haret (in 7 years or so ^^ )
21:54.52Zooloocdcordes: syncing with my old german outlook 2000 at work now fails on contacts, so I'd like to find a solution for syncing wit synce/opensync at home under linux
21:55.06ZooloocLOL, dcordes
21:55.10cr2kiozen: ok.
21:55.53cr2kiozen: re.cap(4).trimmed() squashes 'ü'. maybe it's a good idea to make it utf8-friendly.
21:55.55dcordesZoolooc, I also have a contacts related problem: I can't get my damn contacts out of samsung d600. I can import them but not save somehow
21:56.05dcordesvery crappy with all the outlook stuff
21:56.22dcordesI first had to buy an outlook liscence for a lot of cash and then it didn't work. very annoying
21:56.44kiozenhm, qregex should be utf8 aware
21:57.11cr2kiozen: i get raw utf8 instead of ü for some reason.
21:57.12Zooloocdcordes: yeah, that sucks
21:58.55kiozenhm I do latin1 when saving, I change that to utf8, wait...
22:01.02cr2kiozen: looks nice :)
22:01.14cr2now i only need to fix the math.
22:02.06kiozenwhat is the correct value for -order? -order 1 does not work
22:03.40cr2[-order n]
22:04.12cr2there is a bug in Usage:
22:04.29cr2because is says [-order n] ]
22:04.52kiozenso what is it actually?
22:05.01cr2-order n
22:05.17cr2two brackets is not nice
22:05.31cr2<PROTECTED>
22:05.31cr2<PROTECTED>
22:05.39cr23 is disabled
22:05.46cr2-1 is undocumented ;)
22:06.00cr2ah.
22:06.03cr2<PROTECTED>
22:06.04cr2<PROTECTED>
22:06.15cr2but internally it uses -1 afair.
22:06.17kiozen????
22:06.38cr2for -1 it's '-tps'
22:06.45cr2for 1 it's -order 1
22:06.52cr2for 2 it's -order 2
22:07.48kiozen-order 1 does not work
22:08.04cr2i'll check.
22:09.20kiozengdal_translate -a_srs +proj=merc +ellps=WGS84 +datum=WGS84 +no_defs -order 1 -gcp 45 43 1354435.371165 5841887.270167 -gcp 1015 958 1357442.849741 5839087.086603 -gcp 1542 2834 1359097.817565 5833341.159036 /home/oeichler/Documents/cpp/build_QLandkarteGT/seite1_300dpi.tif /tmp/qt_temp.TJ7875
22:09.20kiozenOption -order incomplete, or not recognised.
22:09.44cr2works for me.
22:10.07cr2<PROTECTED>
22:10.17cr2Creating output file that is 3139P x 4185L.
22:10.32cr2gdalwarp -order 2 ~/MAP/Ausgabedatei.tif FOO2.tif
22:10.41cr2Creating output file that is 3058P x 5602L.
22:11.39cr2gdalwarp -tps ~/MAP/Ausgabedatei.tif FOO2.tif
22:11.47cr2Creating output file that is 3140P x 4184L
22:12.00kiozenoh, I placed it into the gdal_translate command
22:12.06kiozenstupid me
22:12.17cr2tps is very close to order 1. seems to be a good calibration by 9 points.
22:12.19cr2ok.
22:13.38cr2once should be careful when using order=2
22:13.51cr2it can produce bad distortions.
22:13.58kiozenthus "tin plate" == -order -1 == 9 GCPs?
22:14.12cr2that's why order=3 is disabled in gdalwarp
22:14.26cr2i have 9 GCPs in that file.
22:14.50cr2but the TPS method produces the same output as an affine transform.
22:15.13cr2effectively the same.
22:15.44kiozenok, order 1 and 2 should work now
22:15.50kiozensvn up
22:15.52kiozen<PROTECTED>
22:16.07cr2it's just doing huge oversampling by using 9 points where 3 are "enough". but it reduces the calibration noise.
22:16.39dcordesgood night
22:17.13cr2dcordes: good night.
22:17.58kiozenwhish I would be still student, university offers DIN A2 scanning as service
22:18.48kiozenthat would save me from cutting the map into pices
22:18.55cr2nice, even the button is shadowed.
22:19.04cr2i owe you to fix the math :)
22:19.25cr2yeah, A2 scanner...
22:20.46kiozenafter 10 years I do not even know any student to ask :/
22:23.00*** join/#htc-linux aLeSD (n=alex@162.Red-83-33-46.dynamicIP.rima-tde.net)
22:24.35kiozenok, got to sleep, night will be short already :)
22:24.38kiozenbb
22:51.59*** join/#htc-linux pigeon (n=pigeon@218-214-60-232.people.net.au)

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