IRC log for #htc-linux on 20080206

00:20.12*** join/#htc-linux pigeon (n=pigeon@60-241-137-179.static.tpgi.com.au)
00:32.27*** join/#htc-linux CVirus (n=GoD@82.201.174.232) [NETSPLIT VICTIM]
00:32.27*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) [NETSPLIT VICTIM]
00:44.33*** join/#htc-linux LunohoD_ (n=alex@e180065156.adsl.alicedsl.de)
00:49.30*** join/#htc-linux ellisway (n=ellis@homealone.good1.com)
01:09.36*** join/#htc-linux Pryan (n=pryan@84.125.94.86.dyn.user.ono.com)
01:13.04*** join/#htc-linux pigeon (n=pigeon@60-241-137-179.static.tpgi.com.au)
02:11.17*** join/#htc-linux snakefreak (n=xx@dyndsl-091-096-092-205.ewe-ip-backbone.de)
02:33.48*** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde)
05:19.54*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
05:24.51*** join/#htc-linux pigeon (n=pigeon@60-241-137-179.static.tpgi.com.au)
05:39.53*** join/#htc-linux CVirus (n=GoD@82.201.174.232)
06:16.58*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
06:24.56*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfebdc.pool.einsundeins.de)
06:27.38*** part/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
06:46.38*** join/#htc-linux kiozen (n=kiozen@p5492A68D.dip0.t-ipconnect.de)
06:56.05*** join/#htc-linux sadeness (n=viktor@nat2.rlan.ru)
07:03.19*** join/#htc-linux rakeem (n=rakeem@n058152241149.netvigator.com)
07:03.46rakeemAnyone know the correct magic for GPR$ on the Uni?
07:04.16rakeemShould I be seeing /dev/ttyUSB0 ?
07:07.33paulproteusrakeem, I don't know either.
07:11.59*** join/#htc-linux kiozen (n=kiozen@p5492A68D.dip0.t-ipconnect.de)
07:38.31*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
07:43.20*** join/#htc-linux TeringTu1y (n=maarten@195-241-125-243.ip.telfort.nl)
07:45.31*** join/#htc-linux rob_w (n=bob@Ma88b.m.pppool.de)
07:48.44*** part/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
07:58.33*** join/#htc-linux SmallR2003 (n=SmallR20@79-74-36-88.dynamic.dsl.as9105.com)
08:00.35goxboxliverakeem: yes, use ttyUSB0 p
08:00.57goxboxliveBut u have to set it up manually
08:01.12goxboxliveThere should be a close HOWTO in the hh.org wiki
08:01.17rakeemHey goxboxlive...!  Just the man...  First question:  I don't got a ttyUSB0, what do I do?
08:02.47*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
08:13.29rakeemStill can't find anything Uni specific...  Do I need to fiddle with usbserial? From my BA experience, I'm making sure gsmd's running, echo "AT cmds" > /dev/ttyS0; pppd <stuff> /dev/ttyS0...  I get a load of LCP Req's but no replies...
08:19.55cr2rakeem: you do at@usbpower=1 ?
08:20.21rakeemI don't understand....
08:23.30cr2the ttyUSB0 appears only after you have sent at@usbpower=1 to /dev/ttyS=
08:23.40cr2s/S=/s0/
08:25.48rakeemI wasn't, but still nothing...
08:26.49rakeemI'm doing echo 'at@usbpower=1' > /dev/ttyS0 ; ls /dev/ttySU*
08:27.20rakeem[ls /dev/ttyU*]
08:28.45rakeemIs there something I should be modprobing?  I don't see anything about a phone under lsmod...
08:31.49*** join/#htc-linux rob_w|laptop (n=rob@p549B96B6.dip0.t-ipconnect.de)
08:36.38*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
08:37.32rakeemHey BabelO...  Any idea why I don't have /dev/ttyUSB0 on the Uni?
09:09.13cr2usb_serial
09:44.00BabelOhi
09:44.34rakeemAny clues?
09:53.22BabelOrakeem: normally it is done in goxboxlive image, at@usbpower=1 and after like cr2 told you modprobe usbserial vendor=xxxx product=xxx
09:53.26BabelOdon't know parameters
09:55.43rakeemRighty-ho... I've got an openmoko image...  Know where I can get goxboxlive's image?
10:00.35BabelOrakeem: http://www.linuxtogo.org/~htcpxa
10:00.52rakeemCheers, there're none under his home dir...
10:05.27BabelOrakeem: what is that ? http://www.linuxtogo.org/~htcpxa/htcuniversal/images/O.P.I.E-II/
10:06.18rakeemI meant http://www.linuxtogo.org/~goxboxlive ...  Cheers.
10:06.24BabelOtry and after patch with this opt file http://www.linuxtogo.org/~goxboxlive/htcuniversal/tmp/
10:06.48rakeemWhat's the patch for?
10:07.00BabelOdon't know
10:07.18rakeemAh...  The mysteries of life...
10:07.30rakeemHow do I apply the patch?
10:07.49BabelOhave to go bbl
10:07.50*** part/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
10:07.58rakeemCheers man....
10:22.14goxboxliverakeem: modprobe usbserial vendor=0x05c6 product=0x3197
10:22.57rakeemThat looks useful...  Thanks...
10:54.32cr2goxboxlive: can this be set somewhere in /etc/mod*/* ?
10:55.03cr2or in the hotplug config
10:55.33cr2so the usbid 0x05c6,0x3197 autoloads usbserial.
10:55.50cr2it works with pcmcia afaik.
11:15.31*** join/#htc-linux Cyorxamp (n=Cyorxamp@212.57.232.254)
11:37.27*** join/#htc-linux Cyorxamp (n=Cyorxamp@212.57.232.254)
11:38.41goxboxlivecr2: i have tried to add it to modutils, but if i have a space between arguments it creates a new line in the file, so i havent figured out how to do it.
11:39.10goxboxliveBut every image i upload has this feature, i am manually editing them.
11:41.30*** join/#htc-linux rob_w|laptop (n=rob@p549B96B6.dip0.t-ipconnect.de)
11:42.28rakeemls
11:42.44*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
12:02.15*** join/#htc-linux steve56 (n=user@86.158.68.240)
12:21.37*** join/#htc-linux CVirus (n=GoD@82.201.174.232)
12:42.56*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-b34912b716e69998)
13:09.39*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
15:05.57*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
16:14.47*** join/#htc-linux rob_w|laptop (n=rob@p549B96B6.dip0.t-ipconnect.de)
16:16.50*** join/#htc-linux rob_w|lapp (n=rob@p549B96B6.dip0.t-ipconnect.de)
16:29.13kiozencr2: around?
16:53.12*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-9440c04ba4c7f86a)
16:56.09*** join/#htc-linux GPFerror (n=gpferror@cpe-76-187-41-132.tx.res.rr.com)
17:11.16cr2kiozen: hi, just returned to the computer.
17:11.29kiozencr2: hi
17:11.47kiozenhttp://www.qlandkarte.org/shot.png
17:12.10kiozenoslo with simple terrain shading (90 m data)
17:12.25cr2it's the step to world domination :)
17:13.00cr2the map looks like osm ?
17:13.08kiozenlol, I am just not sure if the shading is a good idea
17:13.11kiozenyes osm
17:13.28cr2ok.
17:13.38kiozenit's a transparent overlay
17:14.11kiozenI would need some nice free 2D signal processing lib
17:14.37kiozenQt is somewhat limited on this area :)
17:14.50cr2which kind of signal processing ? dft ?
17:15.05kiozenconvolution filters
17:15.21kiozensimple 2D FIR would be fine
17:15.34cr2rip ot of gimp ?
17:15.39cr2s/ot/out/
17:15.57kiozenhm, that is some kind of an idea
17:16.26cr2there is no free FIR code ?
17:16.28*** join/#htc-linux tsdogs (n=tsdogs@84.18.144.39)
17:16.46cr2hi tsdogs
17:16.51tsdogscr2: hi
17:17.10cr2tsdogs: fixed a segfault, but don't see the labels.
17:17.12kiozenoptimized DSP stuff is hard to find :)
17:17.28tsdogscr2: yep I always mess up with pointers :)
17:17.45tsdogshmm u don't see the labels :(
17:17.48cr2kiozen: DSP - i can understand, but the filter synthesis ?
17:18.04cr2tsdogs: which pen are you using ?
17:18.24tsdogscr2: the Landmarks pen landmark.labels
17:18.31tsdogsor something like that
17:18.31cr2tsdogs: c++ people don't get the pointers :)
17:18.49tsdogsyeah right. Actually I'm not a c++ programmer
17:19.06tsdogsI mainly use delphi and php :)
17:19.09cr2tsdogs: maybe it's the same color as the polygon ?
17:19.27tsdogscr2: I doubt it, default should be some brown
17:19.30cr2tsdogs: i don't understand the & in c++. it's too confusing for me :)
17:19.37tsdogs:)
17:19.52kiozencr2: the one hand is to calculate the coefficients, the other is to have a fast algorithm
17:19.57kiozen& rocks :)
17:20.19tsdogscr2: I think it might be something about the position were it get drawn that could be wrong.
17:20.33tsdogscr2: r u able to give me a map for testing ?
17:20.36cr2kiozen: i hate & and templates. otherwise c++ is ok :)
17:21.06cr2tsdogs: sure. btw, why don't you generate it yourself ?
17:21.17kiozentemplates are tricky, but & together with QObject is close to java
17:21.28tsdogscr2: I don't have postgis data anymore :(
17:21.44cr2tsdogs: i only use shapefiles now.
17:22.03tsdogsho ok. but then what do I need to do?
17:22.11cr2tsdogs: because of absent routing.
17:22.28cr2hmm. you need an .mp file as input.
17:22.59tsdogsok I think I have one somewhere, not really nice but...
17:23.13cr2heh. i need an .mp parser to get rid of this buggy shareware stuff.
17:23.36cr2tsdogs: i can send you the map of oslo. i think.
17:23.48tsdogscr2: that's good
17:23.55cr2tsdogs: usually i just convert the .img tiles from OSM
17:24.03*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
17:25.03cr2but i need to commit the conversion script too.
17:25.15cr2first i need the .mp parser ;)
17:25.38tsdogscr2: I think oslo map is ok for now :)
17:25.39cr2because i used cgpsmapper for .mp -> .shp conversion now.
17:25.42cr2ok.
17:25.56tsdogscr2: that's what I did in the past too
17:26.09cr2ok, looking.
17:26.12kiozencr2: shading with 25 m data http://www.qlandkarte.org/shot2.png
17:26.59cr2tsdogs: hm. brisbane ?
17:27.28tsdogscr2: I don't think it matters right now, I would not know the place anyway :)
17:27.40cr2kiozen: not so impressive. i prefer sharp transitions.
17:28.23tsdogskiozen: I like it
17:28.47kiozentsdogs: you have to port it to roadmap ;)
17:29.03tsdogskiozen: not that easy :)
17:29.28kiozenatleast not  in 3D mode
17:29.39cr2tsdogs: created.
17:29.47tsdogscr2: ok
17:30.18cr2tsdogs: the BRISBANE subdir
17:30.24tsdogsok
17:30.29kiozenbbl
17:32.13tsdogscr2: lon and lat?
17:32.57cr2tsdogs: there is the bbox visualization option :)
17:32.59cr2Data4=(-27.56294,151.95672)
17:33.18cr2lat, lon
17:33.34tsdogsperfect :)
17:33.57tsdogsok the point is not right :)
17:34.02tsdogs28836x-25557
17:34.24*** join/#htc-linux ymerejt (n=jerry@ip-48.net-89-3-211.rev.numericable.fr)
17:34.56*** join/#htc-linux goxboxlive (n=goxboxli@134.84-48-212.nextgentel.com)
17:36.24cr2tsdogs: i forgot the local coodinate system.
17:36.41cr2we will need some changes there too.
17:37.17cr2runtime 1/cos(lat) scaling can be avoided.
17:38.00tsdogsha roadmap_pois_draw is never called :)
17:48.06*** join/#htc-linux p3t3r__ (n=chatzill@dslb-088-070-191-179.pools.arcor-ip.net)
17:58.31cr2tsdogs: got a new idea ?
17:59.58tsdogscr2: no it works, though there needs to be a way to calculate where to draw the text
18:00.53*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
18:01.02*** join/#htc-linux pH5 (n=ph5@e178231149.adsl.alicedsl.de)
18:01.12tsdogscr2: any idea?
18:02.26cr2is the point_id saved to the landmark struct ?
18:02.49cr2i'll look at the code, maybe we will make some binary incompatible change.
18:03.12cr2but not being able to draw the point labels is unacceptable.
18:03.18tsdogscr2: the problem is that probably not always the center is visible, but the polygon might be
18:03.49cr2i doubt that we save the point coordinates. imho.
18:06.46cr2<PROTECTED>
18:06.46cr2<PROTECTED>
18:06.47cr2<PROTECTED>
18:08.02cr2char cfcc is evil too.
18:08.28cr2the problem is that we don't have the coordinates for landid.
18:09.24tsdogscr2: we do have them
18:09.32*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
18:09.44tsdogslook at roadmap_db_polygon, we have the edges
18:10.14cr2yes, but not the "central" point itself.
18:10.31cr2<PROTECTED>
18:10.44cr2we need something like that for each landmark
18:10.46tsdogscr2: central point I think it's easy
18:10.54tsdogscr2: why that?
18:11.12tsdogscr2: now suppose polygon is a lake
18:11.18cr2to put the coordinates in the sorted point db.
18:11.41tsdogsi'd like to see the lake name even if I zoom and don't see the whole lake but only the northest part
18:12.47cr2ok, but it needs too much resources.
18:13.04cr2imho, cutting the lake into pieces is a better idea.
18:13.08cr2http://www.grass.itc.it/grass62/manuals/html62_user/vectorintro.html
18:13.17*** join/#htc-linux SmallR2003 (n=SmallR20@79-66-108-193.dynamic.dsl.as9105.com)
18:13.21cr2area: the topological composition of centroid and boundary;
18:13.27tsdogsok but u don't want to see a name for every piece
18:13.51cr2it's easier to do it this way.
18:14.28cr2label buffering is nice, but it bogs down the pda. it's visible on the uni.
18:14.40cr2ok, i need to use decluttering too :)
18:15.26tsdogs:)
18:15.31cr2it's better to have a clean rendering, but not at the cost of 100% cpu load.
18:16.35cr2i'd say a horizontal label at the centroid position is a good start.
18:17.39tsdogscr2: ok
18:17.51cr2topologicall we only miss the centroid from this grass intro:
18:17.55cr2centroid: a point within a closed boundary;
18:18.07cr2everything else is already implemented.
18:18.36tsdogscr2: if I do west-east and north-south (or the other way around) do I get the center lon and lat?
18:18.57cr2yes, the polygon bbox is saved.
18:19.10cr2for each polygon.
18:19.38tsdogsok then this is the way I was calculating the lat/lon for the label, though I'm not seeing them :(
18:19.54tsdogsho wait maybe I know why
18:20.34cr2btw, the city coordinates are not saved too.
18:20.37cr2void  buildmap_city_add        (int fips, int year, RoadMapString name)
18:20.48cr2so it can be used only in the name search.
18:21.04tsdogsok I think I need to do north+((south-north)/2)
18:21.33cr2and west + (east-west)/2
18:21.38tsdogswhat the heak is yeat?
18:21.41tsdogswhat the heak is year?
18:21.52tsdogsthe landid?
18:21.54cr2some TIGER weirdness
18:22.15cr2btw, 'fips' here means the cityid ;)
18:22.38cr2tiger is a real snafu
18:23.29cr2it's actually a smart idea to replace year with the point_id :)
18:24.49*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1da79.pool.einsundeins.de)
18:25.40*** join/#htc-linux rob_w (n=bob@X1ce1.x.pppool.de)
18:29.27*** join/#htc-linux Keizer (n=keizer@c-69-137-199-63.hsd1.fl.comcast.net)
18:44.37*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
18:53.31*** join/#htc-linux Keizer (n=keizer@c-69-137-199-63.hsd1.fl.comcast.net)
18:54.06*** join/#htc-linux aLeSD (n=alex@79.144.172.74)
18:57.22tsdogscr2: I think there might be some bug in the lon / lat calculation of the pois
18:57.32tsdogss/pois/polygons
19:01.19cr2why ?
19:01.44tsdogsI get realy strage behavier ...
19:02.02tsdogsbut maybe I'm missin some math function
19:19.44cr2tsdogs: i'll do my best with the db, but the renderer code is such i mess that i don't trust myself :)
19:20.08tsdogscr2: I'm having my trouble too :)
19:20.17cr2i've found out the m/pix resolution, and even that was convoluted enough.
19:20.29tsdogs:)
19:20.53cr2because it depends on the latitude ;)
19:21.45cr2and i also need to iron out the pointer arithmetic stupidity from the index builder.
19:22.18cr2i have a feeling that some parts need to be just dropped, and replaced.
19:25.33tsdogswell first find what needs to be dropped and what to keep :)
19:26.18cr2i don't understand why the renderer is so complex, while it can so little.
19:27.44cr2such code may be ok for a standalone device like garmin, but here we have a toolkit which should take care of the most issues.
19:31.23tsdogscr2: though it's toolkit independent
19:32.25cr2filling and clipping the polygon should not be in the toolkit independent part. imho :)
19:33.33cr2the code is completely overloaded because of that.
19:35.17*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfebdc.pool.einsundeins.de)
19:36.21*** join/#htc-linux aLeSD (n=alex@66.Red-88-22-166.staticIP.rima-tde.net)
19:36.41kiozencr2: I have checked in the elevation shading code, feel free to play :)
19:38.07cr2kiozen: ok. have you decided something how to deal with the poi db ?
19:38.23kiozenno, not yet
19:38.48cr2ok.
19:39.18kiozenI am a bit reluctant to install a full database system on a mobile device
19:39.44kiozenon the other hand side doing it within M is like rendering polygons on your own
19:40.44cr2ok.
19:41.14kiozencr2: btw the elevation data has to have the same projection as the map.
19:41.38cr2yes, it's obvious.
19:41.55cr2otherwise you'll get a bad performance hit.
19:42.20kiozenno, you will get a wrong output :)
19:42.38kiozenI wonder if that works on a mobile device, too
19:42.54kiozenthe shading is not very good, but it's fast
19:45.45tsdogscr2: what's wrong with this code? http://pastebin.ca/894210
19:45.54tsdogsI really don't understand
19:46.06tsdogsthe landmark is doing the same...
19:50.03cr2who should convert from the real coordinates to the screen pixel coordinates ?
19:50.14tsdogsroadmap_math_coordinate
19:51.02tsdogshmm I think I have some memory problem ...
19:52.00tsdogsthose top and bottom values are not right (were before though)
19:54.31*** join/#htc-linux hlbot (n=adm@iclem.net)
19:54.38tsdogsNever mind I was using RoadMapPoint and not RoadMapPosition ...
19:56.40tsdogsok now they are displayed :)
19:57.53cr2:)
19:57.56cr2commit.
19:58.14tsdogswait fixing more things :)
20:00.18cr2ok :)
20:13.15tsdogscr2: should work, it'll probably kill the PDA :)
20:13.20tsdogscommitted
20:13.58tsdogsok gg, bbl
20:15.15cr2thanks.
20:18.23*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
20:36.29*** join/#htc-linux TimRiker (n=timr@psnet.cc)
20:40.11*** join/#htc-linux tsdogs (n=tsdogs@62.123.180.130)
20:41.51cr2tsdogs: it works :)
20:43.59tsdogscr2: yep. eating now
21:09.46*** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
21:18.48*** join/#htc-linux rob_w (n=bob@X1ce1.x.pppool.de)
21:24.52*** join/#htc-linux ljp (n=lpotter@203.94.178.46)
21:28.47*** join/#htc-linux Robwoerle (n=bob@M9fc4.m.pppool.de)
22:13.48*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
22:22.44*** join/#htc-linux dcordes (n=user0815@e179109042.adsl.alicedsl.de)
22:58.46*** join/#htc-linux snakefreak (n=xx@dyndsl-091-096-098-226.ewe-ip-backbone.de)
22:58.55snakefreakhi all.
23:28.50BabelOcr2: around ?
23:31.53*** join/#htc-linux Marex (n=marex@gwfm10-3-250.802.cz)
23:32.55BabelOKevin2: hi, i can 't monitor serial port register and can't see their value on omap, i m pretty sure they are used bacause i track pin mux and uart1 & 2 is used for that
23:35.35*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfebdc.pool.einsundeins.de)
23:44.01cr2BabelO: you can 'wi' the gps data ?
23:49.56BabelOcr2: no, i m not sure to understand why
23:50.17BabelOcr2: i think it is one of the advanced funcitonality of multi serial channel
23:50.20BabelOsomething like this
23:50.55BabelOcr2: what is topo schweiz ? it is a guy asking kiozen about non working maps topo schweiz, asking for password
23:53.06cr2lol
23:53.43cr2i guess these are the topographic maps for switzerland
23:54.57BabelOah ok schweiz :)
23:59.34cr2wow. 700 messages
23:59.52BabelOcr2: where ? your mailbox  :)

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