IRC log for #htc-linux on 20070602

00:02.03BabelOcr2: i use
00:02.23BabelOcr2: same for me at home, but work is a really different thing ;)
00:03.16BabelOok i m goind to test what rmoravcik suggest to me for acx ;)
00:03.50cr2ok.
00:04.22BabelOmaybe soon we have luck for WPA on ACXC
00:07.53BabelOi ve to take a look at mq1100 driver
00:08.30cr2it's really late. good night.
00:08.41BabelOgood night
00:14.32*** join/#htc-linux rob_w (n=bob@BACa31d.bac.pppool.de)
04:20.43*** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
04:20.43*** 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:39.25*** join/#htc-linux rq7 (i=80c3ba17@gateway/web/cgi-irc/ircatwork.com/x-ba522eccd6981d25)
05:48.55*** join/#htc-linux WizMaui (n=WizMaui@62.112.90.250)
05:57.26rq7leave htc-linux
06:11.44*** join/#htc-linux RoEn_PC (n=roen@p54A67FD3.dip.t-dialin.net)
07:23.41*** join/#htc-linux rob_w (n=bob@BACa31d.bac.pppool.de)
07:39.32*** join/#htc-linux RoEn (n=roen@p54A67FD3.dip.t-dialin.net) [NETSPLIT VICTIM]
10:54.55*** join/#htc-linux tsdogs (n=twostupi@62.123.180.130)
10:55.45*** join/#htc-linux bd2 (n=cbou@89.113.85.104)
11:28.58*** join/#htc-linux rmoravcik (n=rmoravci@adsl-d181.84-47-56.t-com.sk)
11:56.29*** join/#htc-linux rmoravcik (n=rmoravci@adsl-d181.84-47-56.t-com.sk)
12:58.34*** join/#htc-linux cyrill62 (n=user@ble59-5-82-233-205-36.fbx.proxad.net)
12:58.43*** join/#htc-linux cyrill62 (n=user@ble59-5-82-233-205-36.fbx.proxad.net)
13:55.50*** join/#htc-linux tsdogs (n=twostupi@62.123.180.130)
13:57.42*** join/#htc-linux law|ibook (n=_law_@213.129.251.178)
14:22.08*** join/#htc-linux scorpio16v (n=scorpio1@ACAD6667.ipt.aol.com)
14:49.10cr2hi
14:53.07*** join/#htc-linux kiozen (n=oeichler@rgnb-d9bde147.pool.mediaWays.net)
14:53.16kiozenhi
14:54.20cr2hi kiozen
14:54.44cr2it didn't work for me yesterday, but i don't mind. have a lot of other problems ;)
14:55.10kiozenyou could not open 000002.img
14:55.17cr2yes.
14:55.26kiozenany error message?
14:55.34cr2how do i check if the plugin was loaded ?
14:56.01cr2i've copied the .so files in ~/.config/QLandkarte
14:56.19kiozen"Friend, enter!" each time you load a tile
14:56.28kiozenon the console
14:56.42cr2ok, and if i don't see the message ?
14:56.48kiozendid you rename it to mellon.so
14:57.08kiozenif you don't see it it's not loaded :)
14:57.54cr2i have 2 files. mellon.so and libmellon.so
14:58.23kiozencp libmellon.so ~/.config/QLandkarte
14:58.28kiozencp libmellon.so ~/.config/QLandkarte/mellon.so
14:58.31kiozensorry
14:58.43*** join/#htc-linux Kevin2 (n=Kevin@207-237-65-88.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com)
14:59.01cr2ok.
14:59.40*** join/#htc-linux Kevin2 (n=Kevin@207-237-65-88.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com)
15:00.02*** join/#htc-linux cyrill62` (n=user@ble59-5-82-233-205-36.fbx.proxad.net)
15:00.28cr2ok, i need to recompile for 4.3.0
15:01.00kiozenoh 4.3, everything works fine with that?
15:01.10kiozenhad problems on Windows
15:02.05*** join/#htc-linux Kevin2 (n=Kevin@207-237-65-88.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com)
15:02.54*** join/#htc-linux Kevin2 (n=Kevin@207-237-65-88.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com)
15:02.55cr2the rest works fine, but there is a problem with QListView
15:03.27kiozen:/ - ok I wait
15:04.22cr2btw, does it work on windows ?
15:04.38cr2i wish there was libgpsbabel.so ;)
15:04.53kiozenQLandkarte? Never tried
15:04.59cr2:)
15:05.19kiozenme too(libgpsbabel) but Robert Lipe is so stubborn
15:07.26cr2ok, it works :) but there are some minor bugs.
15:07.48kiozenyou and your bugs ;) what is it now
15:07.56cr2lol.
15:08.36cr2the codepage. there names are not in latin1, obviously. they are cp1251
15:08.59cr2btw, is it possible to zoom in ?
15:09.20kiozenarrgh, code page, ok I will have a look at that next week
15:09.27kiozensure mouse wheel
15:09.32cr2the bounding box on "zoom world" is not right.
15:09.35cr2ok. thanks.
15:09.40kiozenor + / -
15:09.52cr2btw, don't be misleaded by my bug reports :)
15:10.03cr2it's one of the greatest qt4 programs i know :)
15:10.47kiozenthanks :)
15:12.01kiozenbtw k. galichsky answered
15:12.20kiozen"No" - well that was predictable
15:12.32cr2it's amazing. not that i'm interested in moscow, but the map quality is very good. better than teleatlas on google.
15:12.47cr2ok, it was clear.
15:13.17kiozenI just wonder if I should bagg for a hint, haven't decided yet
15:13.33kiozenyes the quality is fantatsic
15:13.49kiozenwhish Garmin would work that good for money
15:13.58cr2i think routing graph on free maps from mapcenter is more important.
15:14.43kiozen:) I am more in hiking, thus Topo 50 would be greate
15:15.07cr2even the houses are polygons, and have numbers.
15:15.22cr2my own mapping in openstreetmap is not so far ;)
15:15.38kiozenthat why it is 14MB and takes quite long to load
15:16.12kiozenrussian winter is cold and long ;)
15:16.29cr2just don#t load the whole map at once.
15:16.52cr2Missing polyline 0
15:16.55kiozenthis would make panning and zoom slow
15:16.57cr2get this message sometimes.
15:17.07cr2ok, that's true.
15:17.09kiozennever figured out what 0 is supposed to be
15:17.19kiozenloads of eastern maps have it
15:17.53cr2qlandkarte -> 182052 megs in RAM.
15:18.13cr2from 'ps' output
15:18.14kiozenyep 2G is nothing :)
15:18.26cr2i have 8 on this machine.
15:18.42kiozenif you zoom world F3 it will unload maps
15:19.04cr2ok.
15:19.28kiozenCGarminImg and CGarminDBMap have to rewritten for embedded devices
15:19.36cr2imho this is exactly the type of an app people expect on linux.
15:19.54cr2yes, with 4MB ram and 1MB for the kernel you have no other chance.
15:20.23cr2it may be interesting to check the memory foorprint of roadmap.
15:20.48kiozenthey should get rid of Qt, and c++  and be a lib
15:21.17cr2it should not be big without route planning.
15:21.48cr2ok, then there is a need for a replacement tiled vector map compact format.
15:22.28cr2i know only one documented format.
15:23.05cr2http://service.alan-germany.de/GPS/Map500/Software/file-descriptions/
15:23.13cr2Map500-map-structure.pdf
15:23.20kiozenyes Alan is quite open
15:23.38kiozenbut not very effective
15:24.03cr2with sh3 cpu you can't get a lot of performance.
15:24.19kiozenthe Garmin format is somehow cool
15:24.37kiozenif they wouldn't have pervert it by their own
15:24.57kiozeneven Garmin maps don't stick to the rules
15:24.59cr2is it possible to do utf8 with garmins format ?
15:25.08kiozenand make rendering hard
15:25.13kiozenno utf8
15:25.18kiozenwait
15:25.21cr2but can it be added ?
15:25.44cr2do you know of any sample chinese .img file ?
15:25.50kiozensure there are already 3 different font systems
15:25.58kiozennever found one
15:26.12cr2something to think about.
15:26.13kiozenthe japaneese ones are latin
15:26.35cr2there is a taiwan fw for 60csx.
15:26.43cr2so there must be maps for it.
15:27.03kiozenever checked into the mapsing project.
15:27.11kiozenI hate registering everywhere
15:27.36cr2people usually transliterate the local names. then you can buy a us device cheap, and use any maps.
15:30.04cr2imho, the map format is the only serious brick on the way to run linux on 60csx.
15:30.31cr2we can teach roadmap to use the .img, but i don't think it's a good idea in the long run.
15:30.36cr2for many reasons.
15:31.12kiozenI would like to use bitmaps of topo maps
15:32.05kiozenbut that would mean no routing :(
15:32.45cr2btw, do you know ozi explorer ?
15:33.31cr2can qlandkarte overlay a vector map over the bitmap ?
15:33.57kiozennot yet
15:34.09cr2think about ozf2 support.
15:34.38cr2it's a very simple tiled format.
15:34.54cr2and there a lots of maps in this format.
15:35.11kiozenthus bitmaps for hiking Alan format for routing?
15:35.28cr2it's equivalent to tiled (64x64) 8bit paletted geotiff with deflate encoding.
15:35.51cr2you can load the bitmap, and use the road graph.
15:36.01Kevin2Are you using the mapping software under linux or wince?
15:36.50kiozenme Linux
15:37.09cr2Kevin2: both. but i want linux to be on par and then better :)
15:37.12Kevin2I think the gps is one of the best features one can add to a pda.  I have an external usb sirf gps controller - hopefully we can get usb on the go to work at some point.
15:37.52cr2Kevin2: i think all new phones have gps.
15:38.06cr2Kevin2: have you seen my garmin research ?
15:38.16Kevin2cr2: No.
15:38.25kiozenhave to quit guys, guests arriving, bye
15:38.29Kevin2I haven't really been paying much attention to the gps stuff you've been talking about.
15:38.35cr2it uses an omap1-compatible cpu.
15:38.53Kevin2Does it run wince?
15:39.13cr2no.
15:39.25cr2it has 4MB RAM, it seems.
15:39.33cr2garmin loves palm.
15:39.51cr2and palmtt looks very close.
15:39.56cr2here is my link.
15:39.59cr2http://wiki.xda-developers.com/index.php?pagename=60Cx_registers
15:40.09cr2with the registers that i have identified.
15:40.32Kevin2What's the device name?
15:40.50cr2GPSMAP 60CSx
15:41.13cr2but the 60Cx and 76Cx (76CSx) are identical in hardware.
15:41.37cr2they have sirf3 receiver.
15:41.46cr2on a serial port, it seems.
15:42.09cr2usb client, microSD.
15:43.03Kevin2Hrmm.  Seems a little pricey at $300.
15:43.15cr2it looks like those htc omap-based phones. without the phone.
15:43.27cr276Cx is water-tight.
15:43.50cr2and you simply can't compare the current consumption with wince ;)
15:44.05cr2hehe. $300
15:44.15cr2look how much is costs here.
15:46.26Kevin2I see an ebay list for the gpsmap 76 at $100 - that's not bad.
15:47.44cr2not 76
15:47.54cr276Cx or 76CSx
15:48.02cr2and not 76C
15:48.12cr2it looks like that
15:48.15cr2http://garmin.de/allgemein/images/db/GPSMAP76CS-db3.jpg
15:48.41cr2http://garmin.de/allgemein/images/db/GPSMAP60CSx-db3.jpg
15:48.53*** join/#htc-linux RoEn_PC (n=roen@p54A67FD3.dip.t-dialin.net)
15:50.29cr2'x' is important. it means color LCD and sirf3 chipset.
15:59.23*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
16:04.10BabelOhi
16:08.20rmoravcikHi BabelO!
16:08.54BabelOhi rmoravcik , got problem with my pcmcia yesturday, i ll try again now
16:10.07BabelOi found the bug ;)
16:10.27rmoravcikBabelO: with pcmcia you mean software or hardware?
16:10.52BabelOrmoravcik: got issue with blueangel pcmcia init module
16:12.38rmoravcikBabelO: i found interesing thing too, after i compiled s3c2410_udc and g_ether as modules, current consumption goes down from 300mA to 170mA
16:12.49BabelOonly few minutes to make a test ... i buy a 320Go hardrive :)
16:13.35BabelOrmoravcik: udc also as module ? i know that for g_ether but not for udc
16:14.10BabelOok, i don't know how to split my new hardrive ...
16:14.25rmoravcikBabelO: i don't know yet, if is problem with s3c2410_udc or g_ether
16:14.45BabelOso your ds1wm is working now ;)
16:15.22rmoravcikBabelO: yes, but it freez
16:15.41rmoravcikfroze only 2 times yeasterday
16:28.42BabelOrmoravcik: i use this actually for ds1wm http://pastebin.ca/531507
16:34.10rmoravcikBabelO: 500 - Internal Server Error :-)
16:34.30BabelOyes first time i try same message
16:37.28BabelOrmoravcik: this one ? http://pastebin.fr/36
16:38.11rmoravcikBabelO: thx, now it's ok
16:52.32BabelOdon't understand pcmcia issue :(
16:56.55rmoravcikwhat pcmcia issue?
17:02.30BabelOthis error [  543.890000] pxa2xx-pcmcia: probe of pxa2xx-pcmcia.0 failed with error -16
17:06.36rmoravcikerror -16  = Device or resource busy
17:08.07BabelOyes really strange
17:09.25rmoravciki hope, you don't have loaded acx?
17:11.38BabelOno
17:11.48rmoravcikdo you see in dmesg failed to claim resource ..?
17:12.07BabelOnothing, only this line
17:12.19cr2cat /proc/iomap
17:12.27cr2or how it is called.
17:12.56BabelOright cr2 stupid me
17:13.12BabelOi ve loaded htcblueangel_acx that lock ressrouce
17:18.37BabelOrmoravcik: after resume with pcmcia http://pastebin.fr/37
17:20.06rmoravcikdo you have pcmcia tools or utils?
17:21.06BabelOrmoravcik: ok it is working now after resume ;)
17:21.44rmoravcikyes, i see 0x48000014 is 0x2 -> card detected
17:22.43BabelOi have to do ifdown wlan0; ifup wlan0, but it is normal
17:22.54BabelOit is due to devmem2 patch
17:24.53BabelOif i use devmem2 0x28000200 h 0x45 after resume, it does not solve problem... can't ping,
17:25.10BabelO<4>[ 1774.380000] wlan0: tx error 0x08, buf 02! (WEP key not found)
17:25.17BabelO<6>[ 1782.000000] NETDEV WATCHDOG: wlan0: transmit timed out
17:25.17BabelO<4>[ 1782.000000] wlan0: tx timeout!
17:25.17BabelO<4>[ 1782.040000] wlan0: successfully recalibrated radio
17:25.23BabelO<6>[ 1790.000000] NETDEV WATCHDOG: wlan0: transmit timed out
17:25.23BabelO<4>[ 1790.000000] wlan0: FAILED to free any of the many full tx buffers. Switching to emergency freeing. Please report!
17:25.23BabelO<4>[ 1790.000000] wlan0: tx timeout!
17:25.23BabelO<4>[ 1790.000000] wlan0: less than 5 minutes since last radio recalibration, not recalibrating (maybe card is too hot?)
17:25.38rmoravcikBabelO: there is a small issue after resume, first 8 packets are lost, so kill ping and try it again
17:26.11BabelOok trying again
17:29.47BabelOrmoravcik: ok , no effect i have to ifdown then ifup again
17:29.48BabelOhttp://pastebin.fr/38
17:30.08BabelOmessage i got when ping occur at end, i try two times
17:30.28BabelOprogress is good now ;)
17:30.44BabelOso we can really  suspend device ;)
17:31.02BabelOscreen is flickering a little after resume, maybe a bad clock
17:32.41BabelOnow need acx cardbus module ;)
17:34.02rmoravcikBabelO: you need convert driver from platform_device to pcmcia_driver
17:35.09BabelOrmoravcik: yes i understand that because on our device ( h4000 and blueangel ) power is comming from pcmcia, so it is pcmcia socket power
17:40.16BabelOso it is a good day your  acx patch is working after resume and save power too ;)
17:40.28BabelOdevice can run long day now
17:44.21rmoravcikBabeO: i was thinking about blueangel, but i will by neo1973 probably
17:44.45rmoravciks/by/buy/
17:45.01BabelOok
17:48.55BabelOok, i rewrite blueangel_pcmcia module, and after acx_cs
17:51.20rmoravcikBabelO: i will send you mail with acx_mem.patch, so you can look to changes, where you need add definition of acxcs_... functions
17:51.37BabelOok
17:55.17rmoravcikBabelO: mail sent
17:55.23BabelOthx
17:56.36BabelOwhat is this patch doing ? it is big
18:00.57rmoravcikit's diff between our acx tree and official acx 0.3.36, so you can look to implementation mem support
18:01.27BabelOrmoravcik: ok , but i already apply lot off patch from you
18:01.34BabelO3 patch from you
18:02.37rmoravcikyou don't need apply that patch, only look for implementation mem support, many #ifdef ACX_MEM, IS_MEM(adev) ..., you must do the same things with acxcs
18:02.57BabelOok
18:03.38rmoravciknot only copy mem.c to cs.c and rename all acxmem_ to acxcs_
18:04.13BabelOyes maybe better doing like this, and add cardbus specific entry
18:25.54*** part/#htc-linux scorpio16v (n=scorpio1@ACAD6667.ipt.aol.com)
18:46.42cr2so the acx_cs suspend/resume works now ?
18:46.45*** join/#htc-linux goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com)
18:47.04BabelOcr2: yes, suspend resume for acx device works
18:47.22cr2rmoravcik: neo is better for a s3c24xx fan :)
18:47.37goxboxliveevening
18:47.38cr2BabelO: great.
18:47.43cr2hi goxboxlive
18:47.58BabelOcr2: can you repeat me again which bit set command devmem2 0x28000200 h 0x45 ?
18:48.06BabelOhi goxboxlive
18:48.17cr2it seems our omap friends have disappeared completely.
18:48.36cr2BabelO: +0x200 is the card status register CSR if i'm not mistaken.
18:48.55BabelOok
18:49.21cr2i have removed all screws from 76Cx, but still can't open it ;)
18:51.43BabelOhe he ;) go to an airport and use their scanner ;)
18:53.19cr2lol
18:59.41cr2not to forget.
18:59.43cr2http://kitty.rimtai.com/chtr/Products/Store/itempageb.asp?ItemID=2408
19:00.38cr2BabelO: http://asukal.net/blog/?p=299
19:01.32BabelOcr2: for fun :)
19:01.34BabelOhttp://translate.google.com/translate?u=http%3A%2F%2Fkitty.rimtai.com%2Fchtr%2FProducts%2FStore%2Fitempageb.asp%3FItemID%3D2408&langpair=ja%7Cen&hl=fr&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools
19:02.21BabelOit is like assembler decompile ;)
19:05.22cr2~change 3255 NT to EUR
19:20.10*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
20:10.22*** join/#htc-linux renatostore_ (n=renato1@87.13.103.28)
20:13.46renatostore_pof: Hi, are you there?
20:46.29cr2BabelO: found a taiwan map
20:46.37BabelO:)
20:46.42BabelOonly building ?
20:46.44cr2needed 2.2G RAM
20:46.51BabelOno mountain :)
20:47.06cr2dropped to 1.1G and produced some error messages.
20:47.36cr2the screenshot is a weird mess :)
20:48.06cr2segfaulted on trying to zoom in ;)
20:51.36cr2BabelO: http://www.garmin.com.tw/cartography/MapSource/download_TW.html
20:55.50BabelOdoest it works with wine ?
20:55.59cr2what ?
20:56.03cr2mapsource ?
20:56.08BabelOyes
20:56.16cr2don't know. i think yes.
20:56.24tsdogshi all
20:56.34tsdogsBabelO: yes it works
20:56.41cr2but you can use gpsmapedit in wine. i could see the basemap.
20:57.01cr2direct link for kiozen
20:57.03cr2http://bizd.garmin.com.tw/TwGarmin/download/software/TWCN703_SD_CHT.zip
20:57.21cr2hi tsdogs
20:58.05tsdogscr2: I have a strange behavier with dialogs :(
20:58.07cr2tsdogs: i want to generate a really big map. and i have a NMEA log for it somewhere.
20:58.16tsdogs:) cool
20:58.18cr2tsdogs: on amd64 ?
20:58.41tsdogsyes, but have a 386 just beside me
20:58.47tsdogsho
20:58.50tsdogsyes
20:59.01cr2i can see some differences in behaviour.
20:59.15cr2btw, i have a small and simple idea.
20:59.22tsdogsThe Position dialog is doing strange things
20:59.46cr2when you press the stylus on the canvas, or a click with a mouse.
21:00.02cr2the popup comes up.
21:00.15cr2start/destination/navigate.
21:00.38tsdogsthat's done by the long click
21:00.56cr2can you add lon=XXX lat=YYY entries there ? without any callback.
21:01.13cr2where XXX,YYY are the current coordinates.
21:01.36cr2imho it can be extremely helpful.
21:01.39tsdogsI have to check, 'cause menus are generated at start
21:01.56tsdogsbut I think so, I need to modify the original source
21:01.58cr2it's in the "portable" part i guess.
21:02.08tsdogsyes.
21:02.12cr2it's not a dramatic change :)
21:02.28tsdogs:), it all dependsif we fork or not
21:02.50cr2i guess we will.
21:02.53tsdogsok
21:02.55cr2or it seems so.
21:03.33tsdogsfor the dialog, when it saves to history file the values are fsck. :(
21:03.58tsdogsI think it's related on QT4 handling of const char with QByteArray
21:04.18cr2there is one guy who is planning to do some merge between the editor and main, and he has conservative stance.
21:04.29cr2.constData() ?
21:04.34tsdogsthat too
21:04.54cr2you can't just rely on the internal structure of QByteArray.
21:05.09tsdogscan you check the source you have?
21:05.22tsdogsor I can pastebin
21:05.39cr2i can send you a patch from the source you have sent me, and what i have.
21:05.46cr2ok.
21:06.07tsdogsok perfect, but will the map still work?
21:11.36tsdogshttp://www.pastebin.ca/531520
21:13.08tsdogsthe values in the argv seem to get overwritten.
21:13.15tsdogsthis didn't happen with qt3
21:16.23cr2was away for a second.
21:16.43tsdogsok
21:17.25cr2why is it const char ?
21:17.45cr2the widget->text  is QString ?
21:18.03tsdogsyes
21:18.27tsdogsI tryed removing const, but it seems that text is a const QString
21:18.49cr2what is toUtf8() ?
21:19.08tsdogsconversion to utf8 char.
21:19.27tsdogsthe value is passed correctly to the coord.
21:19.45tsdogsbut when coord calls this function again the value is overwritten
21:20.01tsdogsand then when it passes it to history, it's fsck up
21:20.16tsdogsalso utf8 was my try
21:20.27cr2i'll check the docs.
21:20.43tsdogsactually it's QByteArray and then it casts to const char
21:20.46tsdogsok
21:21.06tsdogsI wanted to redo the whole dialog staff, it's a bit messy in there.
21:21.30tsdogsalso the interface should look better.
21:22.00cr2http://doc.trolltech.com/4.3/qstring.html
21:22.11cr2QByteArray toUtf8 () const
21:22.24tsdogsyes, but read what it says
21:22.40cr2toUtf8().constData()
21:23.03cr2this worked for me
21:23.06cr2printf("j=%d %s\n",j,tokens.at(j).toUtf8().constData());
21:23.25tsdogsThe pointer remains valid as long as the byte array isn't reallocated
21:23.28cr2with non-latin1 text, btw.
21:24.10*** join/#htc-linux rob__w (n=bob@BACb4a1.bac.pppool.de)
21:24.20cr2in qt3 it worked with constData()
21:24.25tsdogsthe problem is that this function get's called two times before using the data
21:24.28cr2qt4 rejected to compile.
21:24.38cr2hmm.
21:25.04tsdogsroadmap_history_add ('C', argv);
21:25.20tsdogshere it's where it's completly gone
21:25.38cr2the messagebox must(?) convert back from utf8 to QString itself.
21:25.42tsdogsor at least doing roadmap_history_add ('C', &argv); would only user the second value
21:26.21tsdogsQT3 code is the same, but does not have this problem
21:26.24tsdogsbbiad
21:31.52cr2BabelO: is it normal c++ ? (void *) (const char*) ((QLineEdit*) widget)->text())
21:34.29BabelOit is a strange cast
21:34.58tsdogslet me explain the contest
21:35.03tsdogsxt
21:35.20tsdogsthis is a general callback
21:35.49tsdogsit should return a void* 'cause the result depends on the type of the object
21:35.59tsdogsso it could be an integer
21:36.16tsdogsthe original was like this:
21:36.56tsdogsQString s = ((QLineEdit*) widget)->text();
21:36.57tsdogsconst char* ss = s.latin1();
21:36.57tsdogsret = (void *) ss;
21:37.29cr2ok.
21:37.52tsdogsI had to change latin1 to toLatin1 but behavier also changed here.
21:38.24tsdogsThe only solution i found was to modify where the data was used
21:38.36tsdogsin roadmap_coord_ok
21:38.57tsdogswhich breaks compatibility :(
21:39.13cr2hmm. a got a segfault now.
21:39.22cr2Object::connect: No such signal QListWidget::highlighted(int)
21:39.22cr2QGridLayout: Multi-cell fromRow greater than toRow
21:39.23cr2ASSERT failure in QVector<T>::operator[]: "index out of range", file /usr/local/Trolltech/Qt-4.3.0/include/QtCore/qvector.h, line 292
21:39.33tsdogsyes there is a bug there.
21:39.39tsdogsI already fixed it
21:39.49cr2ok.
21:40.06cr2let's forget about the compatibility.
21:40.39cr2create at tag. and go forward.
21:41.08tsdogsok
21:41.28cr2setting 'dashed' style and font size/color immediately comes to my mind.
21:42.24tsdogswhat do you mean with dashed?
21:44.56cr2a railroad.   -   -   -   -   -   -
21:45.24cr2dashed for the lines, not for the font :)
21:45.38tsdogs:) ok.
21:47.59*** join/#htc-linux the_sys0p` (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com)
21:48.20cr2ok, i'll try to generate a map now.
22:21.42cr2tsdogs: i've replaced the borders with rivers.
22:21.49cr2it's much more useful this way.
22:22.53tsdogsok
22:24.44cr286000 "streets".
22:24.52cr2that's going to be a good test.
22:25.01cr2routing data is generated.
22:25.26cr2creating the street name list. 31000 unique street names.
22:25.35cr232000
22:25.47tsdogswhat map is it?
22:26.15cr2but a lof of names are just numbers.
22:27.05cr2roadmap binary format limits the total polygon segment number by 65535.
22:27.13cr2that's simply insane.
22:27.25cr2such format is useless.
22:28.08tsdogs:(
22:28.46cr2ok, there are 3 thousand "real" names.
22:28.59cr2and 29000 numbered.
22:29.08cr2some forest paths probably.
22:29.27cr2roadmap format is bad for polygons.
22:29.34cr2lines are ok.
22:29.43cr2that's how it was designed.
22:30.28cr2hmm.
22:30.32cr2we will see.
22:30.40tsdogsok
22:32.41cr2how do i make the sql commands from command line ?
22:33.03cr2i'd like to write an import script
22:35.16tsdogs? psql?
22:36.00cr2yes.
22:36.22tsdogspsql -C "select etc"
22:36.29tsdogss/C/c/
22:36.37tsdogs-d db
22:37.03tsdogsgg. baby is sick. good night
22:37.32cr2good night.
23:09.01cr2BabelO: http://wiki.xda-developers.com/index.php?pagename=Universal_JTAG
23:10.03BabelOthey move from first shot you send few days ago
23:10.18cr2yes, it's corrected now.
23:10.26BabelOit seem more easier now
23:11.19cr2yes.
23:11.24cr2and more logical.
23:11.49cr2i think there is an external connector at that place.
23:11.58cr2which also makes sense.
23:13.16BabelOwhat can you do with this jtag ? you can flash G3 without doc
23:14.38cr2doc is g3.
23:14.59cr2on universal there is no pxa flash.
23:15.31cr2that will let you unbrick the universal if you destroy the doc=g3=bootloader
23:15.33BabelOhm i want to say flashing g3 without any linux driver for ot and then boot
23:16.06cr2i've found 2 more g3 registers compared to the wiki.
23:16.08BabelOso without g3 documentation :)
23:16.18cr2from the a780 linux driver.
23:16.35cr2and i can understand the function structure there.
23:16.53cr2so it may be possible to write a "raw" test driver.
23:17.15cr2for saftl i need to sit some time in the library ;)
23:17.43cr2and read about the math behind BCH and Hamming codes.
23:18.28cr2to derive the parameters used by m-sys from the matrices in the driver code.
23:19.34cr2the only good book i have at home is about RS codes.
23:19.35BabelOhm really hard thing to do
23:19.46cr2which are only a subclass of BCH.
23:19.55cr2you think so ?
23:20.12cr2math is easy :)
23:21.31BabelO:)not for me , i can play with basic neural network to enhance picture and other for ocr, but no more
23:25.16cr2i have studied math in the university :)
23:27.34cr2but it was some time ago.
23:38.05cr2hmm. no i need to convert the road length from degrees into meters
23:40.56cr2360 degree ~ 40000 km
23:44.50cr22*3.1415926*6372
23:44.52cr2select X_speed,length(the_geom)*40000/360*1000 from segments;
23:44.59cr2looks reasonable.
23:46.54cr2select from_max_speed,to_max_speed,length(the_geom)*40000/360*1000 from segments;
23:49.09cr2BabelO: do you know what is the SET syntax ?
23:49.40cr2i want to set time=length/speed
23:50.26BabelOupdate table_name set key=values;
23:50.56cr2ok. update, not alter ;)
23:51.14cr2thanks :)
23:54.22cr2update segments set from_cross_time=length(the_geom)*400000/from_max_speed;
23:54.52BabelOyou have no where clause ?
23:56.03BabelOand why length(the_geom) ? it is to get string size
23:56.40cr2it's postGIS, not postGRES :)
23:56.49BabelOok ;)
23:56.52cr2the_geom is a geometry object.
23:57.07cr2you can call area(the_geom)
23:57.16cr2to calculate the area of a polygon.
23:57.30cr2or a multipolygon, which is even more interesting.
23:57.36BabelOok, good database engine ;)
23:57.39cr2instead of doing it by hand.
23:57.47cr2why do you think we use it :)
23:58.05cr2it's possible to do a lot of topology operations.
23:58.27BabelOi understand now
23:58.28cr2cut out by polygon for example.
23:58.43BabelOok, now i want to start bitbake for the night, i can fill my neww harddrive
23:58.53cr2lol.
23:59.20BabelObut have to read how to proceed before
23:59.42cr216560 lines, no error, 16561 records
23:59.52cr2line 552, column 1: buildmap_dglib_add - can't set line as bi-directional (id = 0)

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