00:02.03 | BabelO | cr2: i use |
00:02.23 | BabelO | cr2: same for me at home, but work is a really different thing ;) |
00:03.16 | BabelO | ok i m goind to test what rmoravcik suggest to me for acx ;) |
00:03.50 | cr2 | ok. |
00:04.22 | BabelO | maybe soon we have luck for WPA on ACXC |
00:07.53 | BabelO | i ve to take a look at mq1100 driver |
00:08.30 | cr2 | it's really late. good night. |
00:08.41 | BabelO | good 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.26 | rq7 | leave 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.10 | cr2 | hi |
14:53.07 | *** join/#htc-linux kiozen (n=oeichler@rgnb-d9bde147.pool.mediaWays.net) |
14:53.16 | kiozen | hi |
14:54.20 | cr2 | hi kiozen |
14:54.44 | cr2 | it didn't work for me yesterday, but i don't mind. have a lot of other problems ;) |
14:55.10 | kiozen | you could not open 000002.img |
14:55.17 | cr2 | yes. |
14:55.26 | kiozen | any error message? |
14:55.34 | cr2 | how do i check if the plugin was loaded ? |
14:56.01 | cr2 | i've copied the .so files in ~/.config/QLandkarte |
14:56.19 | kiozen | "Friend, enter!" each time you load a tile |
14:56.28 | kiozen | on the console |
14:56.42 | cr2 | ok, and if i don't see the message ? |
14:56.48 | kiozen | did you rename it to mellon.so |
14:57.08 | kiozen | if you don't see it it's not loaded :) |
14:57.54 | cr2 | i have 2 files. mellon.so and libmellon.so |
14:58.23 | kiozen | cp libmellon.so ~/.config/QLandkarte |
14:58.28 | kiozen | cp libmellon.so ~/.config/QLandkarte/mellon.so |
14:58.31 | kiozen | sorry |
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.01 | cr2 | ok. |
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.28 | cr2 | ok, i need to recompile for 4.3.0 |
15:01.00 | kiozen | oh 4.3, everything works fine with that? |
15:01.10 | kiozen | had 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.55 | cr2 | the rest works fine, but there is a problem with QListView |
15:03.27 | kiozen | :/ - ok I wait |
15:04.22 | cr2 | btw, does it work on windows ? |
15:04.38 | cr2 | i wish there was libgpsbabel.so ;) |
15:04.53 | kiozen | QLandkarte? Never tried |
15:04.59 | cr2 | :) |
15:05.19 | kiozen | me too(libgpsbabel) but Robert Lipe is so stubborn |
15:07.26 | cr2 | ok, it works :) but there are some minor bugs. |
15:07.48 | kiozen | you and your bugs ;) what is it now |
15:07.56 | cr2 | lol. |
15:08.36 | cr2 | the codepage. there names are not in latin1, obviously. they are cp1251 |
15:08.59 | cr2 | btw, is it possible to zoom in ? |
15:09.20 | kiozen | arrgh, code page, ok I will have a look at that next week |
15:09.27 | kiozen | sure mouse wheel |
15:09.32 | cr2 | the bounding box on "zoom world" is not right. |
15:09.35 | cr2 | ok. thanks. |
15:09.40 | kiozen | or + / - |
15:09.52 | cr2 | btw, don't be misleaded by my bug reports :) |
15:10.03 | cr2 | it's one of the greatest qt4 programs i know :) |
15:10.47 | kiozen | thanks :) |
15:12.01 | kiozen | btw k. galichsky answered |
15:12.20 | kiozen | "No" - well that was predictable |
15:12.32 | cr2 | it's amazing. not that i'm interested in moscow, but the map quality is very good. better than teleatlas on google. |
15:12.47 | cr2 | ok, it was clear. |
15:13.17 | kiozen | I just wonder if I should bagg for a hint, haven't decided yet |
15:13.33 | kiozen | yes the quality is fantatsic |
15:13.49 | kiozen | whish Garmin would work that good for money |
15:13.58 | cr2 | i think routing graph on free maps from mapcenter is more important. |
15:14.43 | kiozen | :) I am more in hiking, thus Topo 50 would be greate |
15:15.07 | cr2 | even the houses are polygons, and have numbers. |
15:15.22 | cr2 | my own mapping in openstreetmap is not so far ;) |
15:15.38 | kiozen | that why it is 14MB and takes quite long to load |
15:16.12 | kiozen | russian winter is cold and long ;) |
15:16.29 | cr2 | just don#t load the whole map at once. |
15:16.52 | cr2 | Missing polyline 0 |
15:16.55 | kiozen | this would make panning and zoom slow |
15:16.57 | cr2 | get this message sometimes. |
15:17.07 | cr2 | ok, that's true. |
15:17.09 | kiozen | never figured out what 0 is supposed to be |
15:17.19 | kiozen | loads of eastern maps have it |
15:17.53 | cr2 | qlandkarte -> 182052 megs in RAM. |
15:18.13 | cr2 | from 'ps' output |
15:18.14 | kiozen | yep 2G is nothing :) |
15:18.26 | cr2 | i have 8 on this machine. |
15:18.42 | kiozen | if you zoom world F3 it will unload maps |
15:19.04 | cr2 | ok. |
15:19.28 | kiozen | CGarminImg and CGarminDBMap have to rewritten for embedded devices |
15:19.36 | cr2 | imho this is exactly the type of an app people expect on linux. |
15:19.54 | cr2 | yes, with 4MB ram and 1MB for the kernel you have no other chance. |
15:20.23 | cr2 | it may be interesting to check the memory foorprint of roadmap. |
15:20.48 | kiozen | they should get rid of Qt, and c++ and be a lib |
15:21.17 | cr2 | it should not be big without route planning. |
15:21.48 | cr2 | ok, then there is a need for a replacement tiled vector map compact format. |
15:22.28 | cr2 | i know only one documented format. |
15:23.05 | cr2 | http://service.alan-germany.de/GPS/Map500/Software/file-descriptions/ |
15:23.13 | cr2 | Map500-map-structure.pdf |
15:23.20 | kiozen | yes Alan is quite open |
15:23.38 | kiozen | but not very effective |
15:24.03 | cr2 | with sh3 cpu you can't get a lot of performance. |
15:24.19 | kiozen | the Garmin format is somehow cool |
15:24.37 | kiozen | if they wouldn't have pervert it by their own |
15:24.57 | kiozen | even Garmin maps don't stick to the rules |
15:24.59 | cr2 | is it possible to do utf8 with garmins format ? |
15:25.08 | kiozen | and make rendering hard |
15:25.13 | kiozen | no utf8 |
15:25.18 | kiozen | wait |
15:25.21 | cr2 | but can it be added ? |
15:25.44 | cr2 | do you know of any sample chinese .img file ? |
15:25.50 | kiozen | sure there are already 3 different font systems |
15:25.58 | kiozen | never found one |
15:26.12 | cr2 | something to think about. |
15:26.13 | kiozen | the japaneese ones are latin |
15:26.35 | cr2 | there is a taiwan fw for 60csx. |
15:26.43 | cr2 | so there must be maps for it. |
15:27.03 | kiozen | ever checked into the mapsing project. |
15:27.11 | kiozen | I hate registering everywhere |
15:27.36 | cr2 | people usually transliterate the local names. then you can buy a us device cheap, and use any maps. |
15:30.04 | cr2 | imho, the map format is the only serious brick on the way to run linux on 60csx. |
15:30.31 | cr2 | we can teach roadmap to use the .img, but i don't think it's a good idea in the long run. |
15:30.36 | cr2 | for many reasons. |
15:31.12 | kiozen | I would like to use bitmaps of topo maps |
15:32.05 | kiozen | but that would mean no routing :( |
15:32.45 | cr2 | btw, do you know ozi explorer ? |
15:33.31 | cr2 | can qlandkarte overlay a vector map over the bitmap ? |
15:33.57 | kiozen | not yet |
15:34.09 | cr2 | think about ozf2 support. |
15:34.38 | cr2 | it's a very simple tiled format. |
15:34.54 | cr2 | and there a lots of maps in this format. |
15:35.11 | kiozen | thus bitmaps for hiking Alan format for routing? |
15:35.28 | cr2 | it's equivalent to tiled (64x64) 8bit paletted geotiff with deflate encoding. |
15:35.51 | cr2 | you can load the bitmap, and use the road graph. |
15:36.01 | Kevin2 | Are you using the mapping software under linux or wince? |
15:36.50 | kiozen | me Linux |
15:37.09 | cr2 | Kevin2: both. but i want linux to be on par and then better :) |
15:37.12 | Kevin2 | I 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.52 | cr2 | Kevin2: i think all new phones have gps. |
15:38.06 | cr2 | Kevin2: have you seen my garmin research ? |
15:38.16 | Kevin2 | cr2: No. |
15:38.25 | kiozen | have to quit guys, guests arriving, bye |
15:38.29 | Kevin2 | I haven't really been paying much attention to the gps stuff you've been talking about. |
15:38.35 | cr2 | it uses an omap1-compatible cpu. |
15:38.53 | Kevin2 | Does it run wince? |
15:39.13 | cr2 | no. |
15:39.25 | cr2 | it has 4MB RAM, it seems. |
15:39.33 | cr2 | garmin loves palm. |
15:39.51 | cr2 | and palmtt looks very close. |
15:39.56 | cr2 | here is my link. |
15:39.59 | cr2 | http://wiki.xda-developers.com/index.php?pagename=60Cx_registers |
15:40.09 | cr2 | with the registers that i have identified. |
15:40.32 | Kevin2 | What's the device name? |
15:40.50 | cr2 | GPSMAP 60CSx |
15:41.13 | cr2 | but the 60Cx and 76Cx (76CSx) are identical in hardware. |
15:41.37 | cr2 | they have sirf3 receiver. |
15:41.46 | cr2 | on a serial port, it seems. |
15:42.09 | cr2 | usb client, microSD. |
15:43.03 | Kevin2 | Hrmm. Seems a little pricey at $300. |
15:43.15 | cr2 | it looks like those htc omap-based phones. without the phone. |
15:43.27 | cr2 | 76Cx is water-tight. |
15:43.50 | cr2 | and you simply can't compare the current consumption with wince ;) |
15:44.05 | cr2 | hehe. $300 |
15:44.15 | cr2 | look how much is costs here. |
15:46.26 | Kevin2 | I see an ebay list for the gpsmap 76 at $100 - that's not bad. |
15:47.44 | cr2 | not 76 |
15:47.54 | cr2 | 76Cx or 76CSx |
15:48.02 | cr2 | and not 76C |
15:48.12 | cr2 | it looks like that |
15:48.15 | cr2 | http://garmin.de/allgemein/images/db/GPSMAP76CS-db3.jpg |
15:48.41 | cr2 | http://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.29 | cr2 | '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.10 | BabelO | hi |
16:08.20 | rmoravcik | Hi BabelO! |
16:08.54 | BabelO | hi rmoravcik , got problem with my pcmcia yesturday, i ll try again now |
16:10.07 | BabelO | i found the bug ;) |
16:10.27 | rmoravcik | BabelO: with pcmcia you mean software or hardware? |
16:10.52 | BabelO | rmoravcik: got issue with blueangel pcmcia init module |
16:12.38 | rmoravcik | BabelO: 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.49 | BabelO | only few minutes to make a test ... i buy a 320Go hardrive :) |
16:13.35 | BabelO | rmoravcik: udc also as module ? i know that for g_ether but not for udc |
16:14.10 | BabelO | ok, i don't know how to split my new hardrive ... |
16:14.25 | rmoravcik | BabelO: i don't know yet, if is problem with s3c2410_udc or g_ether |
16:14.45 | BabelO | so your ds1wm is working now ;) |
16:15.22 | rmoravcik | BabelO: yes, but it freez |
16:15.41 | rmoravcik | froze only 2 times yeasterday |
16:28.42 | BabelO | rmoravcik: i use this actually for ds1wm http://pastebin.ca/531507 |
16:34.10 | rmoravcik | BabelO: 500 - Internal Server Error :-) |
16:34.30 | BabelO | yes first time i try same message |
16:37.28 | BabelO | rmoravcik: this one ? http://pastebin.fr/36 |
16:38.11 | rmoravcik | BabelO: thx, now it's ok |
16:52.32 | BabelO | don't understand pcmcia issue :( |
16:56.55 | rmoravcik | what pcmcia issue? |
17:02.30 | BabelO | this error [ 543.890000] pxa2xx-pcmcia: probe of pxa2xx-pcmcia.0 failed with error -16 |
17:06.36 | rmoravcik | error -16 = Device or resource busy |
17:08.07 | BabelO | yes really strange |
17:09.25 | rmoravcik | i hope, you don't have loaded acx? |
17:11.38 | BabelO | no |
17:11.48 | rmoravcik | do you see in dmesg failed to claim resource ..? |
17:12.07 | BabelO | nothing, only this line |
17:12.19 | cr2 | cat /proc/iomap |
17:12.27 | cr2 | or how it is called. |
17:12.56 | BabelO | right cr2 stupid me |
17:13.12 | BabelO | i ve loaded htcblueangel_acx that lock ressrouce |
17:18.37 | BabelO | rmoravcik: after resume with pcmcia http://pastebin.fr/37 |
17:20.06 | rmoravcik | do you have pcmcia tools or utils? |
17:21.06 | BabelO | rmoravcik: ok it is working now after resume ;) |
17:21.44 | rmoravcik | yes, i see 0x48000014 is 0x2 -> card detected |
17:22.43 | BabelO | i have to do ifdown wlan0; ifup wlan0, but it is normal |
17:22.54 | BabelO | it is due to devmem2 patch |
17:24.53 | BabelO | if i use devmem2 0x28000200 h 0x45 after resume, it does not solve problem... can't ping, |
17:25.10 | BabelO | <4>[ 1774.380000] wlan0: tx error 0x08, buf 02! (WEP key not found) |
17:25.17 | BabelO | <6>[ 1782.000000] NETDEV WATCHDOG: wlan0: transmit timed out |
17:25.17 | BabelO | <4>[ 1782.000000] wlan0: tx timeout! |
17:25.17 | BabelO | <4>[ 1782.040000] wlan0: successfully recalibrated radio |
17:25.23 | BabelO | <6>[ 1790.000000] NETDEV WATCHDOG: wlan0: transmit timed out |
17:25.23 | BabelO | <4>[ 1790.000000] wlan0: FAILED to free any of the many full tx buffers. Switching to emergency freeing. Please report! |
17:25.23 | BabelO | <4>[ 1790.000000] wlan0: tx timeout! |
17:25.23 | BabelO | <4>[ 1790.000000] wlan0: less than 5 minutes since last radio recalibration, not recalibrating (maybe card is too hot?) |
17:25.38 | rmoravcik | BabelO: there is a small issue after resume, first 8 packets are lost, so kill ping and try it again |
17:26.11 | BabelO | ok trying again |
17:29.47 | BabelO | rmoravcik: ok , no effect i have to ifdown then ifup again |
17:29.48 | BabelO | http://pastebin.fr/38 |
17:30.08 | BabelO | message i got when ping occur at end, i try two times |
17:30.28 | BabelO | progress is good now ;) |
17:30.44 | BabelO | so we can really suspend device ;) |
17:31.02 | BabelO | screen is flickering a little after resume, maybe a bad clock |
17:32.41 | BabelO | now need acx cardbus module ;) |
17:34.02 | rmoravcik | BabelO: you need convert driver from platform_device to pcmcia_driver |
17:35.09 | BabelO | rmoravcik: yes i understand that because on our device ( h4000 and blueangel ) power is comming from pcmcia, so it is pcmcia socket power |
17:40.16 | BabelO | so it is a good day your acx patch is working after resume and save power too ;) |
17:40.28 | BabelO | device can run long day now |
17:44.21 | rmoravcik | BabeO: i was thinking about blueangel, but i will by neo1973 probably |
17:44.45 | rmoravcik | s/by/buy/ |
17:45.01 | BabelO | ok |
17:48.55 | BabelO | ok, i rewrite blueangel_pcmcia module, and after acx_cs |
17:51.20 | rmoravcik | BabelO: 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.37 | BabelO | ok |
17:55.17 | rmoravcik | BabelO: mail sent |
17:55.23 | BabelO | thx |
17:56.36 | BabelO | what is this patch doing ? it is big |
18:00.57 | rmoravcik | it's diff between our acx tree and official acx 0.3.36, so you can look to implementation mem support |
18:01.27 | BabelO | rmoravcik: ok , but i already apply lot off patch from you |
18:01.34 | BabelO | 3 patch from you |
18:02.37 | rmoravcik | you 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.57 | BabelO | ok |
18:03.38 | rmoravcik | not only copy mem.c to cs.c and rename all acxmem_ to acxcs_ |
18:04.13 | BabelO | yes 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.42 | cr2 | so the acx_cs suspend/resume works now ? |
18:46.45 | *** join/#htc-linux goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com) |
18:47.04 | BabelO | cr2: yes, suspend resume for acx device works |
18:47.22 | cr2 | rmoravcik: neo is better for a s3c24xx fan :) |
18:47.37 | goxboxlive | evening |
18:47.38 | cr2 | BabelO: great. |
18:47.43 | cr2 | hi goxboxlive |
18:47.58 | BabelO | cr2: can you repeat me again which bit set command devmem2 0x28000200 h 0x45 ? |
18:48.06 | BabelO | hi goxboxlive |
18:48.17 | cr2 | it seems our omap friends have disappeared completely. |
18:48.36 | cr2 | BabelO: +0x200 is the card status register CSR if i'm not mistaken. |
18:48.55 | BabelO | ok |
18:49.21 | cr2 | i have removed all screws from 76Cx, but still can't open it ;) |
18:51.43 | BabelO | he he ;) go to an airport and use their scanner ;) |
18:53.19 | cr2 | lol |
18:59.41 | cr2 | not to forget. |
18:59.43 | cr2 | http://kitty.rimtai.com/chtr/Products/Store/itempageb.asp?ItemID=2408 |
19:00.38 | cr2 | BabelO: http://asukal.net/blog/?p=299 |
19:01.32 | BabelO | cr2: for fun :) |
19:01.34 | BabelO | http://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.21 | BabelO | it is like assembler decompile ;) |
19:05.22 | cr2 | ~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.46 | renatostore_ | pof: Hi, are you there? |
20:46.29 | cr2 | BabelO: found a taiwan map |
20:46.37 | BabelO | :) |
20:46.42 | BabelO | only building ? |
20:46.44 | cr2 | needed 2.2G RAM |
20:46.51 | BabelO | no mountain :) |
20:47.06 | cr2 | dropped to 1.1G and produced some error messages. |
20:47.36 | cr2 | the screenshot is a weird mess :) |
20:48.06 | cr2 | segfaulted on trying to zoom in ;) |
20:51.36 | cr2 | BabelO: http://www.garmin.com.tw/cartography/MapSource/download_TW.html |
20:55.50 | BabelO | doest it works with wine ? |
20:55.59 | cr2 | what ? |
20:56.03 | cr2 | mapsource ? |
20:56.08 | BabelO | yes |
20:56.16 | cr2 | don't know. i think yes. |
20:56.24 | tsdogs | hi all |
20:56.34 | tsdogs | BabelO: yes it works |
20:56.41 | cr2 | but you can use gpsmapedit in wine. i could see the basemap. |
20:57.01 | cr2 | direct link for kiozen |
20:57.03 | cr2 | http://bizd.garmin.com.tw/TwGarmin/download/software/TWCN703_SD_CHT.zip |
20:57.21 | cr2 | hi tsdogs |
20:58.05 | tsdogs | cr2: I have a strange behavier with dialogs :( |
20:58.07 | cr2 | tsdogs: i want to generate a really big map. and i have a NMEA log for it somewhere. |
20:58.16 | tsdogs | :) cool |
20:58.18 | cr2 | tsdogs: on amd64 ? |
20:58.41 | tsdogs | yes, but have a 386 just beside me |
20:58.47 | tsdogs | ho |
20:58.50 | tsdogs | yes |
20:59.01 | cr2 | i can see some differences in behaviour. |
20:59.15 | cr2 | btw, i have a small and simple idea. |
20:59.22 | tsdogs | The Position dialog is doing strange things |
20:59.46 | cr2 | when you press the stylus on the canvas, or a click with a mouse. |
21:00.02 | cr2 | the popup comes up. |
21:00.15 | cr2 | start/destination/navigate. |
21:00.38 | tsdogs | that's done by the long click |
21:00.56 | cr2 | can you add lon=XXX lat=YYY entries there ? without any callback. |
21:01.13 | cr2 | where XXX,YYY are the current coordinates. |
21:01.36 | cr2 | imho it can be extremely helpful. |
21:01.39 | tsdogs | I have to check, 'cause menus are generated at start |
21:01.56 | tsdogs | but I think so, I need to modify the original source |
21:01.58 | cr2 | it's in the "portable" part i guess. |
21:02.08 | tsdogs | yes. |
21:02.12 | cr2 | it's not a dramatic change :) |
21:02.28 | tsdogs | :), it all dependsif we fork or not |
21:02.50 | cr2 | i guess we will. |
21:02.53 | tsdogs | ok |
21:02.55 | cr2 | or it seems so. |
21:03.33 | tsdogs | for the dialog, when it saves to history file the values are fsck. :( |
21:03.58 | tsdogs | I think it's related on QT4 handling of const char with QByteArray |
21:04.18 | cr2 | there is one guy who is planning to do some merge between the editor and main, and he has conservative stance. |
21:04.29 | cr2 | .constData() ? |
21:04.34 | tsdogs | that too |
21:04.54 | cr2 | you can't just rely on the internal structure of QByteArray. |
21:05.09 | tsdogs | can you check the source you have? |
21:05.22 | tsdogs | or I can pastebin |
21:05.39 | cr2 | i can send you a patch from the source you have sent me, and what i have. |
21:05.46 | cr2 | ok. |
21:06.07 | tsdogs | ok perfect, but will the map still work? |
21:11.36 | tsdogs | http://www.pastebin.ca/531520 |
21:13.08 | tsdogs | the values in the argv seem to get overwritten. |
21:13.15 | tsdogs | this didn't happen with qt3 |
21:16.23 | cr2 | was away for a second. |
21:16.43 | tsdogs | ok |
21:17.25 | cr2 | why is it const char ? |
21:17.45 | cr2 | the widget->text is QString ? |
21:18.03 | tsdogs | yes |
21:18.27 | tsdogs | I tryed removing const, but it seems that text is a const QString |
21:18.49 | cr2 | what is toUtf8() ? |
21:19.08 | tsdogs | conversion to utf8 char. |
21:19.27 | tsdogs | the value is passed correctly to the coord. |
21:19.45 | tsdogs | but when coord calls this function again the value is overwritten |
21:20.01 | tsdogs | and then when it passes it to history, it's fsck up |
21:20.16 | tsdogs | also utf8 was my try |
21:20.27 | cr2 | i'll check the docs. |
21:20.43 | tsdogs | actually it's QByteArray and then it casts to const char |
21:20.46 | tsdogs | ok |
21:21.06 | tsdogs | I wanted to redo the whole dialog staff, it's a bit messy in there. |
21:21.30 | tsdogs | also the interface should look better. |
21:22.00 | cr2 | http://doc.trolltech.com/4.3/qstring.html |
21:22.11 | cr2 | QByteArray toUtf8 () const |
21:22.24 | tsdogs | yes, but read what it says |
21:22.40 | cr2 | toUtf8().constData() |
21:23.03 | cr2 | this worked for me |
21:23.06 | cr2 | printf("j=%d %s\n",j,tokens.at(j).toUtf8().constData()); |
21:23.25 | tsdogs | The pointer remains valid as long as the byte array isn't reallocated |
21:23.28 | cr2 | with non-latin1 text, btw. |
21:24.10 | *** join/#htc-linux rob__w (n=bob@BACb4a1.bac.pppool.de) |
21:24.20 | cr2 | in qt3 it worked with constData() |
21:24.25 | tsdogs | the problem is that this function get's called two times before using the data |
21:24.28 | cr2 | qt4 rejected to compile. |
21:24.38 | cr2 | hmm. |
21:25.04 | tsdogs | roadmap_history_add ('C', argv); |
21:25.20 | tsdogs | here it's where it's completly gone |
21:25.38 | cr2 | the messagebox must(?) convert back from utf8 to QString itself. |
21:25.42 | tsdogs | or at least doing roadmap_history_add ('C', &argv); would only user the second value |
21:26.21 | tsdogs | QT3 code is the same, but does not have this problem |
21:26.24 | tsdogs | bbiad |
21:31.52 | cr2 | BabelO: is it normal c++ ? (void *) (const char*) ((QLineEdit*) widget)->text()) |
21:34.29 | BabelO | it is a strange cast |
21:34.58 | tsdogs | let me explain the contest |
21:35.03 | tsdogs | xt |
21:35.20 | tsdogs | this is a general callback |
21:35.49 | tsdogs | it should return a void* 'cause the result depends on the type of the object |
21:35.59 | tsdogs | so it could be an integer |
21:36.16 | tsdogs | the original was like this: |
21:36.56 | tsdogs | QString s = ((QLineEdit*) widget)->text(); |
21:36.57 | tsdogs | const char* ss = s.latin1(); |
21:36.57 | tsdogs | ret = (void *) ss; |
21:37.29 | cr2 | ok. |
21:37.52 | tsdogs | I had to change latin1 to toLatin1 but behavier also changed here. |
21:38.24 | tsdogs | The only solution i found was to modify where the data was used |
21:38.36 | tsdogs | in roadmap_coord_ok |
21:38.57 | tsdogs | which breaks compatibility :( |
21:39.13 | cr2 | hmm. a got a segfault now. |
21:39.22 | cr2 | Object::connect: No such signal QListWidget::highlighted(int) |
21:39.22 | cr2 | QGridLayout: Multi-cell fromRow greater than toRow |
21:39.23 | cr2 | 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:39.33 | tsdogs | yes there is a bug there. |
21:39.39 | tsdogs | I already fixed it |
21:39.49 | cr2 | ok. |
21:40.06 | cr2 | let's forget about the compatibility. |
21:40.39 | cr2 | create at tag. and go forward. |
21:41.08 | tsdogs | ok |
21:41.28 | cr2 | setting 'dashed' style and font size/color immediately comes to my mind. |
21:42.24 | tsdogs | what do you mean with dashed? |
21:44.56 | cr2 | a railroad. - - - - - - |
21:45.24 | cr2 | dashed for the lines, not for the font :) |
21:45.38 | tsdogs | :) ok. |
21:47.59 | *** join/#htc-linux the_sys0p` (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) |
21:48.20 | cr2 | ok, i'll try to generate a map now. |
22:21.42 | cr2 | tsdogs: i've replaced the borders with rivers. |
22:21.49 | cr2 | it's much more useful this way. |
22:22.53 | tsdogs | ok |
22:24.44 | cr2 | 86000 "streets". |
22:24.52 | cr2 | that's going to be a good test. |
22:25.01 | cr2 | routing data is generated. |
22:25.26 | cr2 | creating the street name list. 31000 unique street names. |
22:25.35 | cr2 | 32000 |
22:25.47 | tsdogs | what map is it? |
22:26.15 | cr2 | but a lof of names are just numbers. |
22:27.05 | cr2 | roadmap binary format limits the total polygon segment number by 65535. |
22:27.13 | cr2 | that's simply insane. |
22:27.25 | cr2 | such format is useless. |
22:28.08 | tsdogs | :( |
22:28.46 | cr2 | ok, there are 3 thousand "real" names. |
22:28.59 | cr2 | and 29000 numbered. |
22:29.08 | cr2 | some forest paths probably. |
22:29.27 | cr2 | roadmap format is bad for polygons. |
22:29.34 | cr2 | lines are ok. |
22:29.43 | cr2 | that's how it was designed. |
22:30.28 | cr2 | hmm. |
22:30.32 | cr2 | we will see. |
22:30.40 | tsdogs | ok |
22:32.41 | cr2 | how do i make the sql commands from command line ? |
22:33.03 | cr2 | i'd like to write an import script |
22:35.16 | tsdogs | ? psql? |
22:36.00 | cr2 | yes. |
22:36.22 | tsdogs | psql -C "select etc" |
22:36.29 | tsdogs | s/C/c/ |
22:36.37 | tsdogs | -d db |
22:37.03 | tsdogs | gg. baby is sick. good night |
22:37.32 | cr2 | good night. |
23:09.01 | cr2 | BabelO: http://wiki.xda-developers.com/index.php?pagename=Universal_JTAG |
23:10.03 | BabelO | they move from first shot you send few days ago |
23:10.18 | cr2 | yes, it's corrected now. |
23:10.26 | BabelO | it seem more easier now |
23:11.19 | cr2 | yes. |
23:11.24 | cr2 | and more logical. |
23:11.49 | cr2 | i think there is an external connector at that place. |
23:11.58 | cr2 | which also makes sense. |
23:13.16 | BabelO | what can you do with this jtag ? you can flash G3 without doc |
23:14.38 | cr2 | doc is g3. |
23:14.59 | cr2 | on universal there is no pxa flash. |
23:15.31 | cr2 | that will let you unbrick the universal if you destroy the doc=g3=bootloader |
23:15.33 | BabelO | hm i want to say flashing g3 without any linux driver for ot and then boot |
23:16.06 | cr2 | i've found 2 more g3 registers compared to the wiki. |
23:16.08 | BabelO | so without g3 documentation :) |
23:16.18 | cr2 | from the a780 linux driver. |
23:16.35 | cr2 | and i can understand the function structure there. |
23:16.53 | cr2 | so it may be possible to write a "raw" test driver. |
23:17.15 | cr2 | for saftl i need to sit some time in the library ;) |
23:17.43 | cr2 | and read about the math behind BCH and Hamming codes. |
23:18.28 | cr2 | to derive the parameters used by m-sys from the matrices in the driver code. |
23:19.34 | cr2 | the only good book i have at home is about RS codes. |
23:19.35 | BabelO | hm really hard thing to do |
23:19.46 | cr2 | which are only a subclass of BCH. |
23:19.55 | cr2 | you think so ? |
23:20.12 | cr2 | math is easy :) |
23:21.31 | BabelO | :)not for me , i can play with basic neural network to enhance picture and other for ocr, but no more |
23:25.16 | cr2 | i have studied math in the university :) |
23:27.34 | cr2 | but it was some time ago. |
23:38.05 | cr2 | hmm. no i need to convert the road length from degrees into meters |
23:40.56 | cr2 | 360 degree ~ 40000 km |
23:44.50 | cr2 | 2*3.1415926*6372 |
23:44.52 | cr2 | select X_speed,length(the_geom)*40000/360*1000 from segments; |
23:44.59 | cr2 | looks reasonable. |
23:46.54 | cr2 | select from_max_speed,to_max_speed,length(the_geom)*40000/360*1000 from segments; |
23:49.09 | cr2 | BabelO: do you know what is the SET syntax ? |
23:49.40 | cr2 | i want to set time=length/speed |
23:50.26 | BabelO | update table_name set key=values; |
23:50.56 | cr2 | ok. update, not alter ;) |
23:51.14 | cr2 | thanks :) |
23:54.22 | cr2 | update segments set from_cross_time=length(the_geom)*400000/from_max_speed; |
23:54.52 | BabelO | you have no where clause ? |
23:56.03 | BabelO | and why length(the_geom) ? it is to get string size |
23:56.40 | cr2 | it's postGIS, not postGRES :) |
23:56.49 | BabelO | ok ;) |
23:56.52 | cr2 | the_geom is a geometry object. |
23:57.07 | cr2 | you can call area(the_geom) |
23:57.16 | cr2 | to calculate the area of a polygon. |
23:57.30 | cr2 | or a multipolygon, which is even more interesting. |
23:57.36 | BabelO | ok, good database engine ;) |
23:57.39 | cr2 | instead of doing it by hand. |
23:57.47 | cr2 | why do you think we use it :) |
23:58.05 | cr2 | it's possible to do a lot of topology operations. |
23:58.27 | BabelO | i understand now |
23:58.28 | cr2 | cut out by polygon for example. |
23:58.43 | BabelO | ok, now i want to start bitbake for the night, i can fill my neww harddrive |
23:58.53 | cr2 | lol. |
23:59.20 | BabelO | but have to read how to proceed before |
23:59.42 | cr2 | 16560 lines, no error, 16561 records |
23:59.52 | cr2 | line 552, column 1: buildmap_dglib_add - can't set line as bi-directional (id = 0) |