IRC log for #htc-linux on 20080327

00:13.20*** part/#htc-linux swc|666 (n=no@24.143.67.18)
00:49.50*** join/#htc-linux disturbedsaint (n=Simon_va@84-105-33-111.cable.quicknet.nl)
00:50.37*** part/#htc-linux disturbedsaint (n=Simon_va@84-105-33-111.cable.quicknet.nl)
01:46.21*** join/#htc-linux dzo (n=dzo@60-234-208-165.bitstream.orcon.net.nz)
02:06.55*** join/#htc-linux joschkopf79 (n=joschi@e176250184.adsl.alicedsl.de)
02:26.20*** join/#htc-linux Servergod (n=servergo@67.60.162.130)
02:26.35Servergodhi all!
02:30.05ServergodI have an htc apache, and have loaded 0.8.4, i can verify the wifi problem, anyone know of anything to try?
02:55.32ServergodI modded the /etc/system/network to remove the other interfaces that aren't needed, like the ipaq
02:55.42Servergodand the static usb int and host
02:57.02Servergodtried service network restart, but service is an unknown command. can i just soft reboot and relaunch ?
02:57.52Servergodoh well, gonna try anyways
03:04.32Servergodnope gonna mv my .bak to the .conf
03:04.57Servergodmaybe tomorrow
03:25.36*** join/#htc-linux noelcragg (n=noel@adsl-69-232-223-120.dsl.pltn13.pacbell.net)
03:25.45*** part/#htc-linux noelcragg (n=noel@adsl-69-232-223-120.dsl.pltn13.pacbell.net)
04:00.54*** join/#htc-linux wireddd (n=wired@unaffiliated/wireddd)
04:44.41*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
05:25.36*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
05:38.14*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
05:49.50*** join/#htc-linux _mxer_ (i=sativa@ip68-230-62-137.ph.ph.cox.net)
06:24.25*** join/#htc-linux mxer (i=sativa@ip68-230-62-137.ph.ph.cox.net)
06:30.26dzoI've put a first attempt at a kernel for kaiser at http://cs-alb-pc3.massey.ac.nz/vogue if anybody would like to try it. I don't have a kaiser so there's not much chance but it should do something.
06:37.45*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
06:47.38*** join/#htc-linux kiozen (n=kiozen@p5492A87C.dip0.t-ipconnect.de)
07:22.57*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
07:44.21*** join/#htc-linux BabelO_ (n=fcr@unaffiliated/babelo)
07:49.34BabelO_hi
08:00.45*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
08:16.26goxboxliveHi BabelO
09:33.49*** join/#htc-linux rob_w (n=bob@Ma6d5.m.pppool.de)
09:54.22kiozencr2:  you ever solved the following problem with proj4 or gdal?
09:55.04kiozenhaving a longlat coord. and a distance and an azimuth, what is the resulting new longlat coord.
09:55.19kiozenI have found stuff for a round globe
09:55.34kiozenbut none for a WGS84 ellipsoid
09:59.27cr2kiozen: sounds like an iterative solution for a nonlinear problem. i doubt proj4 can do it. the distance between 2 points on an ellipsoid is already complex enough.
10:01.08kiozenthat's not what I wanted to hear :) but I feared you will say that
10:01.24cr2in 2D it's an elliptical integral afair.
10:02.09cr2the must be available in gsl i guess
10:02.19cr2s/the /the code/
10:02.55kiozenI wonder how big the error between globe <-> WGS84 will be
10:03.19kiozenfor normal distances like < 50km
10:03.59cr2if you don't care about the altitude, it should not be very much.
10:04.37kiozenwell usually I do not have any altitude information
10:05.31cr2azimuth describes a plane in 3D, which cuts the ellipsoid.
10:28.48cr2sorry, was away for some time. so in the end you have an equation 'elliptic integral=distance' that you need to solve. by bisection probably, using the spherical solution as a start value, or a Newton method, i don't know :)
10:29.48cr2then you need to convert the XYZ into latlong. with proj4, because the equations do not look nice too .
10:30.12cr2at least that's how i would have done it.
10:30.43cr2without knowing any geodetic approximations and such.
10:35.26BabelO_cr2: any idea from whre writel is comming in kernel sources ?
10:50.39cr2asm-* i think
11:20.09*** join/#htc-linux zoolooc (n=lucian@nrbg-4dbf8aa0.pool.einsundeins.de)
11:20.33*** join/#htc-linux patoche (n=patoche@lns-bzn-20-82-64-31-28.adsl.proxad.net)
11:23.38BabelO_cr2: ok i found it compiling now
12:13.17*** join/#htc-linux k3asd_ (n=k3asd@host-62-10-205-243.cust-adsl.tiscali.it)
12:22.49*** join/#htc-linux afroman (i=afroman@c-d340e455.04-271-73746f34.cust.bredbandsbolaget.se)
12:25.49afromanhello... I have a question, although I have windows mobile installed
12:30.17*** join/#htc-linux Robwoerle (n=bob@X1623.x.pppool.de)
12:33.17*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
13:25.28*** join/#htc-linux sandesh_ (n=sandesh@122.169.45.247)
13:25.41sandesh_hello
13:26.05sandesh_anyone know sharp zaurus PDA
14:28.54*** join/#htc-linux joschkop179 (n=joschi@e180241210.adsl.alicedsl.de)
14:29.42*** join/#htc-linux Dinde (n=kayser@sur-internet.net)
14:45.44*** join/#htc-linux hlbot385 (n=adm@iclem.net)
15:14.52BabelO_ok done now , need to test driver ;)
15:37.17*** join/#htc-linux dcordes (n=snoopdog@unaffiliated/dcordes)
15:38.22dcordesdzo, hey there. testing in a minute
15:38.28dcordeshi all
15:39.37*** join/#htc-linux p3t3r__ (n=p3t3r__@wlan.net-you.de)
15:41.51cr2BabelO: spi ?
15:43.33cr2kiozen: i've found how to control the keyboard blue backlight led last night. the LCD resume probably has some timing issues.
15:44.35kiozencr2: great! it's always those little things that make most trouble
15:47.16*** join/#htc-linux patoche_ (n=patoche@lns-bzn-20-82-64-31-28.adsl.proxad.net)
15:47.57*** join/#htc-linux patoche_ (n=patoche@lns-bzn-20-82-64-31-28.adsl.proxad.net)
15:49.19*** join/#htc-linux evilrox (n=evilrox@unaffiliated/evilrox)
15:49.23evilrox'evening
15:49.44evilroxthere's a way to use linux on ipaq rw6815?
15:53.40dcordesdzo, "Terminating haret due to unhandled exception (pc=00023d08)" after boot
15:53.55BabelO_cr2: no acx mac80211 driver ;)
15:54.18dcordesBabelO, aircrack wiki says there is one
15:59.35BabelO_dcordes: that is what i said, i have merged current acx port at hh with mac80211 from acx100 at sourceforge
16:01.44dcordesthat's just great. one step ahead to the big merge :)
16:01.52cr2kiozen: you'd think how you will support the keyboard backlight in qtopia. it can be made a led driver, or a 'switch'
16:01.56dcordeslet me know if I can help w/ any testing
16:02.21cr2BabelO_: you have merged the _cs and _mm from hh.org ?
16:03.05kiozencr2: if ever probably as config dialog and switch off timer
16:04.44cr2kiozen: universal switches it on if the brightness says 'dark' after the first keyclick. yes, with a switch off timer
16:05.07cr2evilrox: have you run haret on it ?
16:05.28cr2evilrox: or it's just a rebadged 6915 ?
16:05.32*** join/#htc-linux patoche_ (n=patoche@lns-bzn-23-82-248-115-209.adsl.proxad.net)
16:05.41kiozencr2: sounds ok, too
16:06.13cr2kiozen: you don't have the sensor, but you may use wall time :)
16:07.02evilroxevilrox: i've 2 partitions on a 1gb sd: one ext2 with angstrom image, and another fat with a script, haret-20071122.exe and the bin
16:07.27dcordesBabelO, did you test mac80211 acx yet?
16:07.43evilroxcr2:  i've 2 partitions on a 1gb sd: one ext2 with angstrom image, and another fat with a script, haret-20071122.exe and the bin
16:09.33dcordescr2, did you see my result w/ kaiser?
16:09.34dcordes+#define PHYS_OFFSETUL(0x10200000)
16:09.34dcordes+#else
16:09.35dcordes<PROTECTED>
16:09.35evilroxwhen i click haret it gives this error: undefined MTYPE, but then it starts
16:10.16dcordescr2, fb offsets +#define MSM_FB_PHYS0x10000000; +#define MSM_FB_PHYS0x00700000
16:11.13dcordesevilrox, where did you get image?
16:11.49BabelO_cr2: yes it take me the whole day :) so i just merge it and compile into hh kernel, now this evening i can test
16:12.31evilroxdcordes: from armstrong ftp - h5000 version (no one was for rw6815, but h5000 has the same processor and ambient.. so i tried this, maybe i did totally a crap thing)
16:13.03BabelO_cr2: but for 2.6.21 we need to patch our kernel with http://www.intellinuxwireless.org/?n=Downloads mac80211 snapsot at bottom
16:13.19cr2evilrox: set the mtype to sable
16:13.30cr2evilrox: i'll look at the specs
16:13.33evilroxcr2: how?
16:14.52cr2evilrox: set mtype 1157
16:14.59*** join/#htc-linux JohnnyK (i=johnnyk@nfx-nat-229.pilsfree.net)
16:15.00cr2evilrox: in default.txt
16:15.05evilroxok
16:15.14evilroxty
16:18.04evilroxcr2: now it goes but freeze on "Jumping to Kernel..."
16:20.12*** join/#htc-linux patoche_ (n=patoche@lns-bzn-23-82-248-115-209.adsl.proxad.net)
16:20.21cr2evilrox: can you create the earlyharetlog.txt file and pastebin the haretlog.txt ?
16:20.49evilroxcr2: how do i create this file?
16:21.01cr2i think we should have 3 haret apps: haretlog.exe, haret.exe and linload.exe
16:21.14cr2evilrox: with pword.exe
16:21.19*** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com)
16:21.34cr2evilrox: it should be in the same directory, and may be empty.
16:21.48evilroxi'll check now
16:21.55cr2ok
16:22.02dcordesalternatively create it on your desktop pc
16:24.14cr2evilrox: 6915 image will not work.
16:25.03evilroxcr2:  i've the h5000 armstrong image, and its rootfs
16:26.03cr2neither will work, it's a completely different machine.
16:26.20evilroxcr2: so no linux for ipaq rw6515?
16:26.26evilrox68*
16:26.51cr2evilrox: but since it's a pxa272, it's not very difficult to start a new port.
16:27.04cr2evilrox: not right now.
16:27.20evilroxcr2: awesome
16:27.58cr2so run haret first.
16:28.29evilroxcr2: i did, and created the file, but it is still empty
16:29.00cr2created earlyharetlog.txt ?
16:29.08evilroxyes, empty
16:29.10cr2then run haret
16:29.17evilroxi'll do it again
16:29.18cr2exit from haret
16:29.23dcordesthe file you get has a different name
16:29.24cr2look for haretlog.txt
16:30.02evilroxi'll create both
16:30.10cr2dcordes: it seems i need to compile haretlog.txt that will just dump the data, if it finds an unknown device.
16:30.32cr2s/haretlog.txt/haretlog.exe/
16:31.21evilroxok freezed at jumping to kernel, rebooting
16:31.54cr2evilrox: don't start the kernel, just start haret, and exit haret.
16:32.31cr2rw6815 is xda atom.
16:32.51evilroxcr2: haret.log worked
16:32.59evilroxim pasting to pastebin
16:33.09dcordesatom is one of the new ones?
16:33.14cr2hehe. it seems i need to port all the pxa27x stuff to mainline..
16:33.18cr2evilrox: ok.
16:33.30cr2dcordes: it's an old device
16:34.11dcordesPXA272
16:34.12evilroxcr2: http://pastebin.com/m7b4465e7
16:35.48dcordescr2, a kind of auto dumper would be useful
16:36.00dcordesmaybe one could also include a dump button in haret
16:36.18cr2dcordes: yes, i've explained >100 times how to do it with haret.
16:36.43cr2dcordes: sometimes haret crashes at boot on unknown devices. that's why there is no button.
16:37.32cr2and you can dump much more useful information, than present in this standard log
16:37.57cr2Video Phys FB=a0c7ca80 Fonts=a2a49064
16:39.09cr2weird. they do not use pxa sram for fb.
16:40.05dcordescr2, let's see what Kevin2 says when he's back. Did you take a glance at new kaiser attempt?
16:40.23cr2dcordes: no. what did came out ?
16:40.57dcordescr2, same as before. the system did not freeze but killed haret.exe with an error message after attempting to boot
16:40.59*** part/#htc-linux BabelO_ (n=fcr@unaffiliated/babelo)
16:42.03dcordescr2, and again fb is addressed until haret dies (screen is drawn black for a second)
16:42.52cr2ok.
16:43.27dcordesI pasted the offset he used in the diff above. maybe we can try a different position?
16:44.16dcordesdzo made a neat website http://it029000.massey.ac.nz/vogue/
16:44.19cr2no, it's ok.
16:44.24cr2yes, i've seen
16:44.50cr2we need to ask him to trace the SD
16:45.03cr2afair it was possible on titan.
16:45.26cr2then we will know where is the SD command registers, and params.
16:45.29dcordeswhat else might be wrong on kaiser if not the position where kernel is loaded?
16:47.37dcordesI mean why does haret crash for me and boot on vogue?
16:48.33dcordesI thought the only difference affecting early boot between both devices is kaiser's fb address
16:49.19dcordesbbiab
16:56.05*** join/#htc-linux evilrox (n=evilrox@unaffiliated/evilrox)
16:58.58cr2kiozen: pxa27x cpu with 26MHz clock ?
16:59.37cr2memclk 26
17:03.23kiozencr2: cool, that should save battery, what about the serial ports, are they connected to the cpu clock or are they independent?
17:03.34kiozenbtw svn up, got a scale now
17:05.24cr2kiozen: the base pxa clock is 13MHz
17:05.33cr2i think everything is derived from this clock.
17:06.17kiozenyes most likely
17:07.17cr2we should check what does cpufreq support.
17:07.29cr2running at 26MHz will be fun.
17:08.56cr2static pxa_freqs_t pxa2xx_freqs[] =
17:09.05kiozenyes, should be enought to get a NMEA sentence per second and to dump it's information
17:09.13cr2#elif defined(CONFIG_PXA27x)
17:09.13cr2<PROTECTED>
17:09.43cr2it seems that you need to read some datasheets.
17:10.08cr2the current code is from 104 to 624.
17:10.40cr2about the CCCR and CCLKCFG settings.
17:12.20kiozenok
17:12.57cr2if you want to go below 104
17:13.13cr2i don't know if it's possible
17:14.21*** join/#htc-linux JohnnyK (i=johnnyk@nfx-nat-229.pilsfree.net)
17:23.58kiozenbbl
17:37.21*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
17:45.56*** join/#htc-linux LunohoD_ (n=alex@e180073184.adsl.alicedsl.de)
17:54.41*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
18:06.52*** join/#htc-linux SmallR2003 (n=SmallR20@79-77-125-57.dynamic.dsl.as9105.com)
18:09.49*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbf8aa0.pool.einsundeins.de)
18:09.51*** join/#htc-linux Zoolooc_ (n=fredsiba@nrbg-4dbf8aa0.pool.einsundeins.de)
18:13.09*** join/#htc-linux SmallR2004 (n=SmallR20@79-77-125-57.dynamic.dsl.as9105.com)
18:13.47BabelOcr2: acx v0.3.38-mac80211: net device phy0, driver compiled against wireless extensions 22 and Linux 2.6.21-hh20
18:14.42dcordesBabelO, is that on angstrom kernel?
18:14.50dcordesba?
18:14.57BabelOdcordes: ba yes
18:15.12dcordesBabelO, you have kernelimage :) ?
18:15.32BabelOdcordes: wait, i need to test and solve a crash
18:15.40dcordesok
18:20.18jeansebhi
18:20.57*** join/#htc-linux Robwoerle (n=bob@X1b24.x.pppool.de)
18:34.31dcordesBabelO, do you have wpa with new driveR?
18:41.21*** join/#htc-linux TimRiker (n=timr@99.204.237.187)
18:45.53*** join/#htc-linux rob__w (n=bob@X00ff.x.pppool.de)
18:47.07*** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
18:48.12*** join/#htc-linux dcordes_ (n=snoopdog@unaffiliated/dcordes)
18:49.36*** join/#htc-linux SmallR2002 (n=SmallR20@79-77-125-57.dynamic.dsl.as9105.com)
19:15.29BabelOcr2: why  VEC_SIZE(a) (sizeof(a)/sizeof(a[0])) instead of use of ARRAY_SIZE ?
19:19.26*** join/#htc-linux tg_ (i=tg@digit.drk.hu)
19:23.58*** join/#htc-linux swc666 (n=no@24.143.67.18)
19:35.16dzohi, dcordes
19:35.28dcordes_dzo, hi
19:35.43dzowhat exactly did my new zimage do
19:35.57*** join/#htc-linux goxboxlive_ (n=goxboxli@208.84-48-176.nextgentel.com)
19:36.38cr2BabelO: maybe people don't know about ARRAY_SIZE ?
19:37.12dcordes_dzo, same as the old one: I put zImage-k. default-k.txt and haret.exe on microsd, ran haret, it showed up the green status bar, Go Go Go and then there is an error message saying Terminating haret due to unhandled exception (pc=00023d08)
19:37.26cr2dzo: are the SD port registers traceable with haret ? afair on titan they were, but on kaiser - not.
19:38.03dcordes_dzo,  ah before the screen is painted black for less than a second until the error appears. I sent you all this to your email
19:38.18dzoi haven't even started to look at sd, is it done by the soc or the cpld
19:38.39dcordes_it's exactly the same behaviour as with the first image you made for kaiser
19:40.06dzook, looks like haret is falling over for some reason, can you let me know what it thinks VRAM is?
19:40.51dcordes_set RAMADDR 0x10200000 ?
19:42.25dzoyes, the memory map I have for kaiser has the fb at 10000000 and ramaddr at 10300000 but linux likes to be on a 2M boundry for some reason so i made it 1020000
19:43.24*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1da5f.pool.einsundeins.de)
19:43.39cr2dzo: SD addresses are provided here http://wiki.xda-developers.com/index.php?pagename=KaiserMemoryMap
19:43.42dzocan you run haret from haretconsole and send me the haretlog. that would help.
19:44.39dcordes_dzo, I think we have everything possible available here already http://wiki.xda-developers.com/index.php?auto_redirect=1&pagename=TitleSearch&s=kaiser
19:44.48dcordes_except your haret modifications do a change there
19:44.54dcordes_I can sure run it if necessary
19:45.15dzoOK, i've got to go to work now, I'll look at it later.
19:46.14dcordes_ok bye
19:46.14dzomy haret, should at least print some stuff out, maybe mdp_base is different on kaiser.
19:46.40dcordes_you want the early haretlog with your version?
19:46.52*** join/#htc-linux pH5 (n=user@p5485E6DD.dip.t-dialin.net)
19:47.01dzook, i'll be around in a few hours for more testing if that's ok.
19:48.03dcordes_I will be available like 4 more hours
19:48.13dcordes_met here
19:55.52*** join/#htc-linux p3t3r__ (n=p3t3r__@gate1.net-you.de)
19:57.35cr2the wince on hw6815 is an unbelievable bloatware
19:57.42p3t3r__hi
19:57.54*** join/#htc-linux SmallR2002 (n=SmallR20@79-77-27-47.dynamic.dsl.as9105.com)
19:58.32cr2this quanta obviously didn't have any experience in developing wince, so they left all possible debugging hooks there.
19:59.41pH5cr2: does it at least help you to understand the hardware better?
20:01.00cr2pH5: it's not the htc-style code which i know very good now, so it may be more difficult
20:01.05cr2System trace information was not specified in your
20:01.05cr2CONFIG.SYS file, or tracing is disallowed.
20:01.23cr2The operating system cannot run %1.
20:01.24p3t3r__I just put my HTC Universal back on WM5, to try some images. I loaded one autobuild angstrom image, put in on sd, started, everything  fine and I now face a login and don't know username and password...
20:02.09cr2login is always root
20:02.18cr2The operating system is not presently
20:02.18cr2configured to run this application.
20:02.52p3t3r__ok, but it says: "no valid shadow password"
20:03.34p3t3r__(no xserver started, btw)
20:03.56cr2p3t3r__: use some precompiled image
20:04.13cr2pH5: do you know if this algorithm being decoded ?
20:04.16cr2XPR_DecompressClose
20:04.16cr2XPR_DecompressDecode
20:04.17cr2XPR_DecompressOpen
20:04.40p3t3r__cr2: any location to find some nice ones?
20:04.40cr2afair, the samba people wanted to do something about it.
20:04.57cr2p3t3r__: linuxtogo ?
20:05.17p3t3r__cr2: and additional?
20:05.40p3t3r__(i still want to use GPE ;) )
20:06.46pH5cr2: dunno, this is the first time I even hear about xpr..
20:16.51cr2hehe. they call it ALG_W2K3 now.
20:16.55cr2http://download.microsoft.com/download/a/e/6/ae6e4142-aa58-45c6-8dcf-a657e5900cd3/[MS-DRSR].pdf
20:17.41cr2page 228
20:18.49cr2BabelO: you'd like it, as a pascal guy :)
20:19.46cr2release : march 13, 2008
20:22.06BabelOcr2: lol, very high language ;)
20:30.32cr2kiozen: do you have some description of the .gcp grammar ?
20:31.27kiozencr2: yes, do a save ref. to get an example file ;P
20:32.44cr2it dislikes the gdal_translate format
20:32.58cr2-gcp r c x y z
20:33.12cr2x y z goes into label.
20:33.51cr2[-gcp pixel line easting northing [elevation]]*
20:33.53kiozenadd a #V1.0 into the first line
20:34.21kiozenthis is because of the format switch we have done
20:34.37kiozenand no one really needs z
20:34.45cr2hmm. need to write a script.
20:34.58*** join/#htc-linux SmallR2002 (n=SmallR20@79-77-27-47.dynamic.dsl.as9105.com)
20:35.06cr2cs2cs creates z
20:35.23cr2i've generated these files with another script some time ago.
20:37.08kiozenan example http://pastebin.ca/960003
20:37.28kiozenwithout #V1.0 -a_srs must be -proj
20:38.02kiozenand x y will be swaped with lon lat
20:38.06cr2ok.
20:38.45cr2btw, what will happen if i'll load one file with one -a_srs and then another file with a different -a_srs ?
20:39.07kiozenthe last projection wins
20:39.17cr2are they converted into t_srs on load ?
20:39.27cr2hmm. ok.
20:39.49kiozengdal_translate uses just a_srs
20:39.56cr2but not nice.
20:40.20cr2since you know the t_srs, you can convert them on load.
20:40.48cr2but then you'll get funny numbers in the gcp widget
20:41.35cr2one more dumb user question :)
20:41.51cr2can i do -a_srs epsg:54004 ?
20:42.10cr2gdal_translate will accept it.
20:42.47kiozenyes I simply copy it to the command line
20:42.58cr2ok.
20:43.58cr2you may also check if the 5 chars after simplifywhitespace == "epsg:", and convert them to proj4.
20:44.46cr2i find it easier to type the epsg number, than the weird +towgs84=, with all strange numbers there.
20:44.57kiozenno need, as gdal_translate has no problem with it.
20:45.01cr2ok.
20:46.30kiozenyou have noticed the scale bar in latest version?
20:46.40cr2kiozen: i think we'll seetle for 104MHz at first.
20:47.03cr2i've not yet loaded the referenced .qmap
20:47.06cr2doing it now.
20:47.06kiozenyes, let's get something working and go playing afterwards
20:47.48kiozenguess there will be still enought problems without doing weired things right from the beginning
20:48.36kiozencr2: and you can project waypoints in the waypoint edit dialog
20:49.07kiozenbut it's no projection on a WGS84 ellips. Just on a Globe
20:49.17cr2don't have the scalebar ?
20:50.08kiozen? it's in the svn
20:50.32kiozenright bottom
20:50.35cr2i'm a bit annoyed by qgis not working with wgs-sphere params.
20:50.56cr2ok, i'll check if i've recompiled everything, but i think i've done it.
20:51.22cr2so would like to patch proj4 to support +ellps=wgsphere ;)
20:52.12cr2no.
20:52.18cr2it it in options ?
20:52.34kiozendid you load a map
20:52.50*** join/#htc-linux SmallR2003 (n=SmallR20@79-77-27-47.dynamic.dsl.as9105.com)
20:52.59cr2yes.
20:53.19cr2Zoom level x6
20:53.39cr2Zoom level x1
20:53.40kiozendoes CCanvas::drawScale exist?
20:54.08cr2./src/CCanvas.cpp:void CCanvas::drawScale(QPainter& p)
20:54.23cr2make
20:54.23cr2[100%] Built target qlandkartegt
20:54.29kiozennothing in the bottom right corner?
20:54.53cr2no
20:55.14cr2the coordinates in the bottom status bar are ok
20:55.38kiozencr2: edit a waypoint, does the position filed have two more line edits?
20:56.32cr2altitude/proximity dist. ?
20:57.28kiozenno position + m + °
20:58.12cr2no.
20:58.15cr2doing make clean
20:58.26kiozenhttp://www.qlandkarte.org/shot.png
20:58.39kiozenthat is how it should look like
20:58.58cr2ok.
20:59.16cr2recompiling
21:01.55cr2still nothing
21:02.02cr2i'll rerun ccmake
21:02.51kiozensure you start the right executable?
21:02.54cr2svn up
21:02.54cr2Revision 348.
21:03.00kiozenbin/qlandkartegt
21:03.16cr2bin/QLandkarteGT
21:03.22cr2hmm.
21:03.24kiozennope
21:03.32kiozenno capitals
21:03.37cr2lol
21:03.50cr2it was QLandkarteGT before
21:04.04cr2btw, i had the same problem with qlandkarte
21:04.10kiozenyes, but packagers like it more without capitals
21:04.34cr2yes :)
21:04.52cr2the banner is different now :)
21:04.53kiozenI would prefere it with capitals, but hey, you can't disappoint your fans ;)
21:05.03kiozenMt. Averau
21:05.07kiozen:)
21:05.20cr2the bar does not match my grid
21:05.35cr2but it's a bit rotated GK
21:05.47cr2maybe that's the reason.
21:05.56kiozenyes, because 1m GK != 1m in real != 1m on a globe
21:06.24cr2i warp the GK into mercator.
21:06.48kiozenif it would be WGS84 it would at least match the GPS output
21:06.49cr2add the m/pix in the status bar ?
21:07.04kiozenprojection dependent
21:07.19cr2i'm "forced" to use the spherical mercator.
21:07.47cr2so i can easily cut the aligned geotiff into 256x256 WellKnownTiles :)
21:08.00kiozena meter in mercartor is everything
21:08.23kiozenit doen't matter to see the map
21:08.40kiozenbut you can't measurement by pixel with that
21:08.45cr2ok, but how do you draw it ?
21:09.02kiozenget longlat of point 1
21:09.23kiozenproject long lat by distance and 90 deg
21:09.39kiozenconvert both longlat points to pixel
21:09.57cr2hmm. you always use some complex math :)
21:10.10kiozenthe only way to get sane values for every projection
21:10.20cr2int(1000/mpix) ?
21:11.07cr2ok, then i need to check some lambert map eventually .
21:11.27kiozenno lambert as usual :)
21:11.28cr2meters do not make sense there anyway.
21:11.41cr2nobody uses latlong maps.
21:11.54kiozendirke atlas :P
21:12.06*** join/#htc-linux pikapika (n=pikapika@mar75-8-88-164-227-147.fbx.proxad.net)
21:12.09cr2those who could have used it, don#t have money for gps and pda ;)
21:12.09pikapikahi
21:12.22kiozencr2: lol
21:13.04cr2yes, at the equator.
21:13.53cr2GK and mercator are the only really useful maps.
21:14.13cr2and they have sane m/pix
21:14.33kiozenmercator does not
21:14.45cr2kiozen: i've already seen one nav program that has a strange scalebar too.
21:15.15cr2where i've wondered how do they draw it.
21:15.18kiozenuse qlandkarte with the island map and mercator
21:15.51cr2ok, i'll check the math.
21:16.10cr2island/greenland is an unfair example for mercator.
21:16.12kiozenthe further you get to the poles the worse it gets
21:16.19cr2what about 50N ?
21:16.58kiozenat 50N it's not that obvious
21:17.40kiozenbut in island it gets real bad
21:17.51cr2i'll check a GK map
21:18.03kiozentravers mercator is better
21:18.40cr2GK is TM
21:18.43kiozenyes
21:19.19cr2but it breaks on the zone borders. i hate that.
21:20.09kiozenyes for large west to east maps it's a PITA
21:21.20kiozenyou can compensate the error in mercator if you set lon_0 (longitude of true 0)
21:21.30cr2it's a pita when you are at the zone border
21:21.44kiozenbut that is only for small maps
21:22.40kiozenthat is why you do the projection, but handle all data in longlat
21:22.59kiozenthe only sane way to avoid errors
21:23.36kiozenok, NMI have to go, bb
21:24.02swc666has anyone here ever gotten ah HTC Uni image to build successfully with bitbake / OE?
21:25.06cr2swc666: goxboxlive
21:25.49swc666i cant ever get gpe to build
21:30.28goxboxlive_swc666: where does it fail
21:31.09swc666goxboxlive_: i'm going to run it again to see...
21:34.50*** join/#htc-linux CVirus (n=GoD@196.205.191.81)
21:42.08cr2kiozen: you are doing something strange with the scalebar. it does not match on a GK map by the same amount as on marcator. 40-50m per 1km
21:43.56*** join/#htc-linux k3asd (n=k3asd@host-62-10-205-243.cust-adsl.tiscali.it)
21:44.18swc666http://pastebin.com/m466084c
21:47.06*** join/#htc-linux patoche (n=patoche@lns-bzn-20-82-64-0-32.adsl.proxad.net)
21:48.07p3t3r__one last question for today: anybody knows a working (with wifi and gsm) GPE image for htc universal?
21:48.10*** join/#htc-linux rmoravci1 (n=rmoravci@ip-89-102-255-171.karneval.cz)
21:48.57swc666p3t3r__: http://www.linuxtogo.org/~htcpxa/htcuniversal/images/x11-GPE/
21:49.12swc666actually the gsm is weird on it though
21:49.39swc666and the wifi drivers arent good at all
21:52.27p3t3r__swc666: the upper or the lower one? because the upper one i 've got installed and it's got no openmoko-dialer...
21:52.48p3t3r__(but maybe I made a mistake in copying)
21:53.34swc666the lower one has a dialer, but it has quirks... you cant recieve calls nor can yu hang up calls efficiently
21:53.56swc666qtopia is best for phone
21:56.27goxboxlive_swc666: first do "ANGSTROM_MODE=uclibc bitbake initramfs-bootmenu-image" then build as usual again.
21:56.53swc666goxboxlive_: ok..
21:57.14p3t3r__swc666: yes, i know, qtopia is great as a phone, but no browser and so on.. do you know whether gprs works with that image?
21:57.14cr2i'm 100% pro-qt guy, but there is one ugly thing about it, that one should not forget: it runs as root.
21:58.18cr2BabelO: time to write a ncurses phone app :)
21:58.32cr2BabelO: for a secure phone.
21:59.46BabelOcr2: we can do something for that, there is sxe policy, and believe me it is more than a security, it take me around 1 week to run an app on greephone with this security enabled, and app still does not works like this ;)
22:00.14cr2BabelO: LOL
22:04.43BabelOcr2: this new mac80211 api is strange to use :(
22:06.02cr2BabelO: what was its purpose ?
22:07.43BabelOcr2: there is a wmaster0 interface and many wlanx slave interface
22:08.40cr2ok.
22:10.56swc666has $500 for anyone who can get mac80211 working stable on the Uni
22:11.24BabelOswc666: lol, 500 dollar is nothing now :)
22:14.41swc666euros then :p
22:18.39BabelOswc666: mac80211 is not really stable for acx on x86 so ...
22:20.48swc666BabelO: ok.. do you think it is possible to get a stable slave memory driver for the acx (without mac80211)?
22:22.25BabelOswc666: sorry, i don't know enough here, it seem that with pcmcia driver which is the same than mem wifi is more stable, i can vnc on my host computer with qtopia :)
22:23.29swc666BabelO: really? and it doesn't crash?
22:24.04BabelOswc666: no
22:24.43swc666BabelO: where / how did you compile the pcmcia driver for it?
22:25.28BabelOswc666: i ve done it last year from mem.c
22:25.44BabelOit works on ba and h4000
22:26.08swc66622g maximum rate though, right?
22:26.18swc666not 54g* ?
22:30.08cr2swc666: 11
22:31.26p3t3r__swc666: thanks for pointing me to that image... it`s nice (since i removed that openmoko-theme)
22:31.51swc666p3t3r__: np ;>)
22:32.51swc666cr2 / BabelO: is there somewhere a source for the pcmcia that i can use to compile it for my Uni?
22:33.26cr2swc666: uni does not use pcmcia
22:34.15swc666hmm
22:39.24*** join/#htc-linux disturbedsaint (n=Simon_va@84-105-33-111.cable.quicknet.nl)
22:40.50disturbedsaintIs it OK if I ask a noobish question?
22:43.18cr2disturbedsaint: this is the prupose of this channel
22:44.24disturbedsaintnice :)
22:45.13disturbedsaintI was wondering what difference is between the omap patches on muru.com (http://www.muru.com/linux/omap/) and the omap stuff in the montavista git?
22:45.13cr2the "real" cpld gpios do match the spl... or i've made some mistake ;)
22:45.28cr2it's for BabelO
22:46.11p3t3r__good night.. thanks for your help again :)
22:46.23*** part/#htc-linux p3t3r__ (n=p3t3r__@gate1.net-you.de)
22:48.01*** join/#htc-linux swc|666 (n=no@24.143.67.18)
22:48.04dzohi cr2, i've been having a look at the sd registers on my vogue, they are traceable with haret. they are at 0xa0300000(phys) with some kind of status reg at 0x34 and it reads in 16 word blocks from 0x80. does this look familiar.
22:48.26cr21c8c8
22:49.13cr2dzo: nice. so the data register is at 0x80. where is the command regiser ?
22:50.58cr2dzo: btw, you may compare it with the s3c24xx SDI register layout
22:51.21cr2hmm. i think i've done something like that. are the sources for s3c2460 available ?
22:52.32cr2dzo: these registers are certainly accessed in the spl: http://wiki.xda-developers.com/index.php?pagename=KaiserMemoryMap
22:52.39*** join/#htc-linux tsdogs (n=tsdogs@62.123.180.130)
22:52.54dzothe other regs it uses are at +28,2c,38,08,0c,14,18,1c,20, i'll take a look at the s3c24xx code.
22:54.03dzoare there sd drivers around for other htc phones?
22:54.22cr2pxamci, and asic3
22:54.40cr2here at the bottom
22:54.42cr2http://wiki.xda-developers.com/index.php?pagename=ATIWxxxx
22:54.59dzothanks
22:55.17BabelOdisturbedsaint: i don't know the real difference between the two patch, sorry, i use muru because it is provided as patch and works on handhelds.org kernel
22:55.53cr2dzo: you'd be able to find out the command register easily
22:56.19cr2dzo: because the startup command sequence is standardized.
22:56.34cr2for sdio it's CMD5,...
22:57.13cr2dzo: trace the regs on card insert
22:57.52tsdogsBabelO: I need an expert here :)
22:57.57tsdogshi btw
22:58.05dzogood idea, i'll try that.
22:58.15cr2testwm5 is buggy, but very nice.
22:58.19BabelOgood evening tsdogs :)
22:58.37cr2i can easily backtrack the pxatrace dumps :)
22:58.58tsdogsBabelO: is it possible to declare a class that is a subclass of somthing declared in the .cpp file?
22:59.12tsdogslike: class XYZ;
22:59.16dzowhere can i find the asic3 driver, it may be easiest to modify that.
22:59.28*** join/#htc-linux swc-666 (n=no@24.143.67.18)
22:59.30tsdogsclass ZZZ : public XYZ { ... }
22:59.49BabelOtsdogs: yes works grzt
22:59.56tsdogsand the include the XYZ.h file in the.cpp ?
22:59.58BabelOs/grzt/great/
23:00.34tsdogshmm, I'm missing something here then...
23:00.48cr2dzo: hh.org CVS
23:00.50tsdogsinvalid use of undefined type XYZ
23:01.21cr2dzo: if you'll make it work with 2.6.25, you'll get a nobel prize from me :)
23:01.21tsdogsBabelO: struct XYZ
23:01.30BabelOtsdogs: i use that for qsettings to add some specific funciton
23:02.02tsdogshmm, then maybe it's related to the namespace ... I'll try removing the namespace then thx
23:02.44cr2dzo: look here, also for s3c* mmc: http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/drivers/mmc/
23:03.07dzohmm, nobel prize eh, and I thought they were hard to get!!!
23:03.16cr2:D
23:03.49dcordes_dzo, I'm still here in case you require kaiser testint
23:03.58dcordes_s/testint/testing
23:05.11dzohi dcordes, can you send me your haret log, it will tell me where haret thinks the vram is. thanks.
23:05.42cr2dzo: you only need to write the host driver (send/recv cmd packets). the mmc/sd/sdio protocol stuff is already implemented.
23:06.24evilroxcr2: 'evening, so do i have any chance to run linux on my device?
23:07.56cr2evilrox: no, you need to do some extensive dumping first.
23:08.36cr2evilrox: do you have \Storage Card ?
23:09.10evilroxcr2: sure, i created the partitions on the minisd via the usb reader
23:10.15cr2evilrox: can you run testwm5 ?
23:10.57evilroxcr2: i don't know this tool, but just link me and i'll do it
23:13.07cr2http://hands.com/~lkcl
23:13.36tsdogsBabelO: it was my fault, I was including ZZZ.h before XYZ.h :)
23:14.09dcordes_dzo, you prefer email or pastebin?
23:15.05BabelOtsdogs: :)what are you doing today ? :) new app
23:15.29tsdogsBabelO: nope working on something completly different :) just to do some experience
23:15.42BabelOok
23:16.13evilroxcr2: running
23:16.32tsdogsBabelO: with smplayer I have found a way to move the framebuffer output, but it blanks the entire screen...
23:19.27tsdogsalso running a 480x680 rotated video on my poor Uni is too much :)
23:19.41dcordes_dzo, http://pastebin.ca/960210
23:19.56*** join/#htc-linux noelcragg (n=noel@cn-sfo1-natout.cnet.com)
23:20.03*** part/#htc-linux noelcragg (n=noel@cn-sfo1-natout.cnet.com)
23:22.19dcordes_cr2, what's trampoline setup?
23:22.35dcordes_the information required for _jumping_ to kernel?
23:25.38dcordes_BabelO, I flashed your newer image yesterday and it looks like terminal works now
23:27.34*** join/#htc-linux simon (n=simon@84-105-33-111.cable.quicknet.nl)
23:29.14dzohi dcordes, thats the early haret log, can you get a log as it's booting, connect using haretconsole and type in the commands in default.txt and it should put a log called haretlog-[date]_[time].log in the dir you ran it from. Thanks,
23:29.33dcordes_of course
23:29.52cr2dcordes_: i have a similar PITA with the n560 LCD wakeup and white screen. checking the bitbang spi stuff ;)
23:30.18dcordes_that would be great for BA 06 people :)
23:30.55dcordes_what looks more important to me are the BA keyboard bugs though.. they are the most annoying thing using the BA
23:31.08dzothe trampoline turns off the mmu by making running some code in a page with the same virtual address as physical.
23:31.39dcordes_this mmu reset required for booting?
23:32.28dzonot on msm but i still need to rearrange the page tables so the trampoline does pretty much the same thing.
23:33.18cr2dzo: btw, which mddi panel do you have ?
23:34.21dzono idea, i just commented out a line that checks for mddi version and it found it fine.
23:35.07evilroxcr2: dump created, 66.7MB compressing, do you want me to upload it on a ftp i can use?
23:35.26evilrox(i have an ftp)
23:35.44cr2evilrox: will be very helpful. pm me the ip.
23:36.00evilroxcr2: ok, just the time to upload it
23:36.07cr2ok
23:36.48cr2evilrox: afair we have tried to get some debug info for atom.
23:37.01cr2evilrox: can you check if gnu-haret runs for you ?
23:37.24evilroxcr2: sure, just tell me what to do and i'll do it
23:37.40cr2http://jornada820.sf.net/files/haret
23:38.47cr2can you telnet to port 9999 on this machine ?
23:38.58*** join/#htc-linux disturbedsaint (n=simon@84-105-33-111.cable.quicknet.nl)
23:39.11cr2damn, i really need to port these functions to mainline ;)
23:39.29dcordes_dzo, http://pastebin.ca/960239
23:48.34tsdogscr2: u need help with roadmap ml? lol
23:49.21cr2tsdogs: windows people have no clue :)
23:49.28tsdogs:)
23:50.00cr2but afair the editor theme depends on vga/qvga
23:50.06cr2and crashes on 240x240
23:50.36tsdogshmm no idea about that...
23:50.37cr2the armv4 should work everywhere.
23:51.04cr2i hope there is no wince5 stuff in the code, but not quite sure.
23:51.25evilroxcr2: i'm triing to telnet in, but it says "failed to bind socket" anyway the ipaq is connected to my pc via rndis, and thanks to odccm +sync-engine
23:51.43tsdogsactually I think I have a VCembedded installed in some vmware image at the office...
23:52.33cr2tsdogs: one i'll be sure that the latest version compiles with evc4, i'd use arm-wince-g++
23:53.10tsdogscr2: I might try if u need it that bad :)
23:53.32cr2i had _editor compiling with arm-wince-g++. and running.
23:53.40tsdogsbut maybe simply asking him to make it available somewhere should be faster ...
23:54.26evilroxcr2: oh wait something appeared
23:54.28evilroxbut then it closes the connection
23:54.30evilroxok, it works but closes the connection after the welcome message
23:54.35cr2tsdogs: there is no excuse for not having a working wince version
23:54.55cr2evilrox: ok, that's the same buggy behaviour :(
23:54.55tsdogscr2: editor u mean?
23:55.03cr2tsdogs: yes.
23:55.32dzodcordes, i see something that may be a problem, the wince virt fb addr is is different to the one on the mmap. I've put up a new haret at http://cs-alb-pc3.massey.ac.nz/vogue/haret-k.exe, it has the fb address hard coded, can you try it please.
23:56.00cr2tsdogs: it's a bit primitive in layers and their properties, but has route planning and nav directions.
23:57.06tsdogscr2: for what I could see it was done like a plugin, so porting navigation should not really be that problematic imho, but I might be wrong here.
23:57.31*** join/#htc-linux linnux (i=sativa@ip68-230-62-137.ph.ph.cox.net)
23:58.01tsdogscr2: u think he broke the unix build?
23:58.25cr2tsdogs: we do have a working older version of _editor ?
23:58.38tsdogscr2: in xanadux yes
23:58.59tsdogsqt4 ported (with some bugs I think)
23:59.14dcordes_dzo, display, backlight, keyboard backlight, button backlight freezes. leds keep blinking
23:59.47cr2tsdogs: but it's not the latest version, and has some wild hacks.
23:59.51dzook that wasn't a good idea then.
23:59.57cr20.8.3+hacks ?

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