IRC log for #htc-linux on 20081001

00:43.45*** join/#htc-linux sikkle (n=sikkle@modemcable132.57-201-24.mc.videotron.ca)
01:18.09*** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
01:18.09*** 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.
01:29.33ALoGeNotmzt_ ?
01:53.28*** join/#htc-linux ALoGeNo (n=alogeno@26.Red-81-37-222.dynamicIP.rima-tde.net)
01:55.23*** join/#htc-linux ALoGeNo (n=alogeno@26.Red-81-37-222.dynamicIP.rima-tde.net)
02:27.44*** join/#htc-linux PoohbaLT (n=Poohba@c-98-235-52-97.hsd1.nj.comcast.net)
03:41.29*** join/#htc-linux zdooder (n=troy@c-67-160-50-188.hsd1.wa.comcast.net)
03:49.55*** join/#htc-linux Dinde (n=kayser@81-65-130-197.rev.numericable.fr)
03:53.35*** join/#htc-linux PoohbaLT (n=Poohba@c-98-235-52-97.hsd1.nj.comcast.net)
04:26.35*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
04:32.25*** join/#htc-linux cr2_ (n=konversa@crpl6.physik.uni-wuppertal.de)
05:58.21*** join/#htc-linux pleemans (n=toi@212-123-1-140.iFiber.telenet-ops.be)
06:58.25*** join/#htc-linux kiozen (n=oeichler@p54929F6B.dip0.t-ipconnect.de)
07:10.44*** join/#htc-linux Dinde868 (n=kayser@sur-internet.net)
07:13.44*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
07:25.05*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
07:25.20MarajinMornin' BabelO
07:36.33BabelOmorning Marajin
07:37.11BabelOgoind to office bbl
08:08.33*** join/#htc-linux yvo (n=musman@195.154.155.26)
08:13.05yvoHi there
08:15.51Marajinhey yvo
08:18.32yvohi Marajin
08:19.11*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
08:19.16Marajinwb BabelO_
08:19.26BabelO_:)
08:20.16Marajinenough coffee today? :p
08:21.40BabelO_Marajin: no, just going to take one , first of the day
08:22.04MarajinI dunno, you've just not got your priorities right nowadays :P
08:40.23BabelO_Marajin: no, i just dispatch work for today :) that's engouh
08:40.36BabelO_kiozen: around ? :)
08:40.51kiozenjawns
08:40.57kiozenBabelO_: ehe?
08:41.37BabelO_kiozen: about my evening patch from yesturday ?
08:42.07BabelO_i ve to upgrade to msvc 2008, so i can take a look after
08:42.13kiozenBabelO_: tried to play with it, but my nasty customers made me work :P
08:42.20BabelO_oh ok
08:43.04kiozenhope they stop sending bug report with no bugs in the end...
08:47.27BabelO_kiozen: lol, i ve one guy here who send me block bug report about specified functionnality he don't want, lol... answer is unselect this using checkbox ... very high level bug
08:54.39yvois anyone know a windows mobile tool to see the underlying hardware (chipsets or so) ?
08:56.46dcordesyvo: haret/haretconsole? what do you need to find out?
08:57.10yvohi dcordes
08:57.29yvodcordes, trying to know what i2c driver to use on my ks20...
08:58.33*** join/#htc-linux dzo_ (n=dzo@121.98.128.127)
08:58.52kiozenBabelO_: you have got a patch for the segfault?
08:59.14BabelO_kiozen: wait, once i install msvc2008, i send it to you
08:59.29kiozenBabelO_: oh, that can take some time :)
08:59.31yvo(actually, I though haret was only a bootloader, my mistake)
09:01.33dcordesyvo: no it's a powerful reverse engineering tool as well
09:02.53dcordesyvo: http://www.handhelds.org/moin/moin.cgi/HaRET_20Documentation
09:03.51yvothx dcordes that's what I needed
09:05.27dcordeshtc research stuff is documented in this wiki: wiki.xda-developers.com e.g. http://wiki.xda-developers.com/index.php?pagename=KaiserMemoryMap
09:06.25dcordesor http://wiki.xda-developers.com/index.php?pagename=TitanResearch titan is almost the same as vogue
09:09.12yvowow,a lot to read and to understand... thx a lot
09:12.54dcordesno problem. titan/vogue are not documented so detailed. but everything important should be in the vogue tree. kaiser has a KaiserResearch page as well.
10:04.44*** join/#htc-linux kiozen (n=oeichler@p54929F6B.dip0.t-ipconnect.de)
10:27.31*** join/#htc-linux exco (n=exco@e181103102.adsl.alicedsl.de)
10:30.23*** join/#htc-linux NetRipper (n=netrippe@netripper.nl)
11:20.01*** join/#htc-linux exco (n=exco@e181103102.adsl.alicedsl.de)
12:00.15*** join/#htc-linux BabelO_ (n=fcr@unaffiliated/babelo)
12:14.50*** join/#htc-linux Millow (n=emilio@kontoret.redpill.se)
12:15.15Millowantyhing new about installning Androind on HTC phones?
12:52.45*** join/#htc-linux LunohoD_ (n=alex@e180077234.adsl.alicedsl.de)
13:01.13*** join/#htc-linux jontow (i=jontow@hijacked.us)
13:10.45dcordes0
13:15.43*** join/#htc-linux sikkle (n=sikkle@MTLXPQAK-1176053010.sdsl.bell.ca)
13:30.29*** join/#htc-linux miknix (n=miknix@bl4-81-187.dsl.telepac.pt)
13:32.10Marajinmeh
13:33.14*** join/#htc-linux rob_w (n=rob@1Cust205.tnt2.muc2.deu.da.uu.net)
13:37.09dcordesMarajin: yoooyoyo what up bro
13:38.39dcordesMarajin: we need the acx100 base. it's vital
13:43.00*** join/#htc-linux goxboxlive (n=goxboxli@139.84-48-212.nextgentel.com)
13:43.06*** join/#htc-linux tsdogs (n=tsdogs@net70-17.metalit.net)
14:00.50*** join/#htc-linux heanol (i=heanol@karantan.org)
14:04.22*** join/#htc-linux exco (n=exco@e181103102.adsl.alicedsl.de)
14:04.59*** join/#htc-linux Raketemensch (n=Rakete@192.234.2.49)
14:08.36*** join/#htc-linux sikkle (n=sikkle@MTLXPQAK-1176053010.sdsl.bell.ca)
14:11.14dcordescr2_: found raph wifi config?
14:13.16cr2_dcordes: have you loaded the sdio driver ? can it access the sdio config area ?
14:13.27*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
14:15.33dcordescr2_: no clue but MMC works.
14:16.59cr2_try to load some other sdio wifi driver
14:18.09dcordesdo you mean the acx100 mem by sdio driver? I only added the acx100 folder along with a new kaiser acx file.
14:21.53*** join/#htc-linux _Dinde (i=kayser@81-65-130-197.rev.numericable.fr)
14:25.52cr2_no. are there any other sdio drivers available ?
14:27.49dcordescr2_: hm there are many wifi cards in SD card format today.
14:28.51*** join/#htc-linux LunohoD_ (n=alex@e180077183.adsl.alicedsl.de)
14:29.43dcordesAR6001XL has a linux driver
14:31.38cr2_ok, compile such driver and try to load it.
14:31.57cr2_but it should not be a sdio spi driver.
14:39.26*** join/#htc-linux LunohoD__ (n=alex@e180068049.adsl.alicedsl.de)
14:55.03*** join/#htc-linux LunohoD_ (n=alex@e180065244.adsl.alicedsl.de)
15:12.56*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
15:14.22*** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde)
15:46.40*** join/#htc-linux GPFerror (n=gpferror@cpe-76-187-41-132.tx.res.rr.com)
16:08.51*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87dcf9.pool.einsundeins.de)
16:09.27BabelO_ola kiozen
16:09.41kiozenhi
16:09.47BabelO_kiozen: msvc2008 don't want to run GT once i rebuild it :(
16:10.07kiozenwhat does it say?
16:10.18BabelO_kiozen: usual windows message
16:10.25BabelO_kiozen: access violation
16:10.26BabelO_lol
16:10.52kiozenyou tried debug version for backtrace?
16:12.35BabelO_kiozen: failed to probe C:\Qt\proj_build\bin\debug\QtGuid4.dll for its manifest
16:12.46BabelO_kiozen: i have to rebuild qt with this version ?
16:13.04kiozenhm, never understood that manifest thing in detail
16:13.13kiozenbut I fear your have to recompile
16:13.39BabelO_grhh :( all is setup for qt 4.3.0 with msvc5 patch
16:14.19*** join/#htc-linux Mannerisk (i=manneris@dyn175.wireless-105.ndsu.NoDak.edu)
16:25.13*** part/#htc-linux Mannerisk (i=manneris@dyn175.wireless-105.ndsu.NoDak.edu)
16:33.06*** join/#htc-linux imfloflo (n=imfloflo@cap31-6-88-180-73-121.fbx.proxad.net)
16:33.31imflofloheyhey
16:38.04*** join/#htc-linux bryan_ (n=bryan@206-248-174-30.dsl.teksavvy.com)
16:53.11cr2_NetRipper: are you here ?
16:54.19cr2_kiozen: i don't understand one piece of code in n560. it seems to be broken.
16:56.01*** join/#htc-linux rob_w (n=rob@M8f0a.m.pppool.de)
17:16.15*** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
17:17.17NetRippercr2_, yes
17:25.06*** join/#htc-linux LunohoD (n=alex@e180076048.adsl.alicedsl.de)
17:29.07*** join/#htc-linux amd64lover (n=miknix@81.193.82.194)
17:32.19cr2_NetRipper: did you set the "mem=" parameter on the cmdline ?
17:36.55NetRipperno
17:36.58NetRipperwhat should it have?
17:38.11cr2_try mem=64M
17:44.44NetRippercr2_, doesn't help
17:46.42cr2_ok.
17:46.53cr2_are you booting from 0x1 or 0x2 ?
17:47.03NetRipper0x1
17:47.31NetRipperand ramsize 0x6400000
17:47.37NetRipperto be on safe side
17:49.04cr2_have you disabled the uart1 and smc ?
17:49.20NetRippersmc?
17:49.24NetRipperand no on uart
17:49.42NetRipperbut i dont think it even gets that far
17:49.56tsdogscr2_: hi, I need you c skills here :)
17:50.24tsdogsI want to create a table with different callbacks, but the callbacks have different parameters
17:51.18tsdogsif in the template I put void *, on my x86_64 it works, but 1. I get warnings from compiler, 2. I'm not sure on other platforms it will act the same
17:52.01cr2_tsdogs: void * is ok.
17:52.35tsdogsso if I have 1 callback like callback(int x) and callback(const char *) it will be ok, beside the warnings?
17:52.45cr2_try void *func(void)
17:52.52tsdogsof course when I do the real callback I use the correct parameters
17:52.56cr2_it is c :)
17:53.15cr2_the ABI will take care of the params
17:53.15tsdogshmm ok
17:53.30cr2_and the called function uses the same ABI, so it should not be a problem.
17:53.36*** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes)
17:54.08cr2_tsdogs: i'm only thinking asm now :)
17:54.13tsdogslol
17:54.32cr2_then ABI is the only thing that you need to know about higher-level languages :)
17:56.09tsdogshmm if I don't use the (void *) it wont compile...
17:56.20tsdogserror: too many arguments to function
17:56.27tsdogsand the warnings are still there
17:57.23tsdogsthis works:   void  (*setup_function) (void*);
17:58.00cr2_void * is more dangerous
17:58.08cr2_it's 1 parameter
17:58.42tsdogsyes, int and const char *
17:58.50tsdogsdepending on the callback
17:59.39cr2_ok.
17:59.56cr2_int is expanded to full register size anyway.
18:00.43tsdogsI could split the table into 2 different, but then I would have to do 2 for cycles ...
18:00.55cr2_lol
18:01.05tsdogsI'd like to remove the warning though.
18:02.18tsdogshmm, wasn't there a way to specify 2 different type of values in a structure?
18:02.51cr2_union
18:02.56cr2_but it's ugly.
18:03.08tsdogslol
18:03.17cr2_looks like java ;)
18:03.25cr2_foo.bar.baz
18:03.57tsdogs:)
18:04.16tsdogswell I think it should be the right way of doing it though
18:05.26tsdogscr2_: http://pastebin.ca/1216010
18:08.01cr2_tsdogs: if it does not give a warning then it's ok :)
18:08.29tsdogscr2_: the problem is that it gives a warning :). it works but it gives a warning.
18:08.38tsdogsduring compilation.
18:10.08tsdogsI think I'll split it with 2 different tables if there is no way to remove the warning. I want to push this mainline
18:10.09cr2_if you remove void * ?
18:10.18cr2_ok
18:11.01*** join/#htc-linux sikkle (n=sikkle@MTLXPQAK-1176053010.sdsl.bell.ca)
18:12.36tsdogshmm, no warning now
18:13.15tsdogshmm so easy :)
18:13.29*** join/#htc-linux rob_w|laptop (n=rob@M9e35.m.pppool.de)
18:13.42tsdogsand it works :)
18:14.45cr2_nice :)
18:15.43tsdogsthx
18:16.35tsdogsok, need to add some doc, then create the patch and submit to ML, let's hope this time it goes mainline ;)
18:17.18cr2_great.
18:17.39cr2_i want to finish this lcd doc, then i may think about something else :)
18:18.01tsdogsI also want to work a little with the osm to make it render better (many osm tags are ignored right now)
18:18.19tsdogsdidn't you have a osm shp -> rdm ?
18:19.02dcordes_cr2_: I tried to find information about that atheros sdio driver without success. fetched 2.6.25 mainline now.
18:19.22dcordes_cr2_: it has drivers/net/wireless/libertas/if_sdio.c
18:20.15imfloflohey dcordes  hw are u ? what are you looking for in atheros driver?
18:20.31dcordes_imfloflo: I'm looking a bit a
18:20.38dcordes_..t kaiser wifi
18:20.50dcordes_imfloflo: I'm fine, you?
18:22.15imfloflofine too, i just read atheros  open their driver  today  it polaris use atheros chipset?
18:22.53cr2_tsdogs: yes, a special .shp to .rdm
18:23.11tsdogscr2_: is it finished?
18:23.28cr2_tsdogs: i think it's in xanadux cvs
18:23.36dcordes_imfloflo: no unfortunately not. would be nice to have atheros. we have TNETW1251 (texas instruments) which is connected over sdio and can hopefully be operated with the acx100 open source driver
18:23.48tsdogshmm, ok, but haven't seen any submit lately :)
18:24.37cr2_tsdogs: the trick is to convert .mp to .shp (cgpsmapper) and a shell script to rearrange the .shp created by cgpsmapper into my smaller .shp
18:24.37dcordes_cr2_: do you think this libertas sdio driver can help for the purpose? (what's the purpose anyway? find out the base address?)
18:25.09tsdogscr2_: what about the extracted shp files from oms?
18:25.10cr2_tsdogs: and it's too complex to submit. it just works, but needs to be done in a proper way
18:25.19tsdogs:)
18:25.58cr2_tsdogs: there is no one true .shp. it's all about the database schema, which table fields are there, and what do they mean.
18:26.12cr2_tsdogs: then it does not matter if it's postgis, or just .shp
18:26.58cr2_dcordes_: the purpose is to talk to the sdio part of tiwlan125x
18:27.03tsdogscr2_: yes, but I thought you talked about using shp from geofabrik
18:27.35tsdogshttp://download.geofabrik.de/osm/europe/
18:27.59cr2_tsdogs: no. i convert raw .osm into .mp with a perl script
18:28.36tsdogshmm wouldn't it be easyer to use thoose shp files? or they did remove many things in the conversion?
18:28.38cr2_tsdogs: maybe it's a good idea to modify this script to produce something else.
18:29.12dcordes_cr2_: so I just build the libertas driver into the kernel with no changes?
18:29.12cr2_tsdogs: you can't apply this method to $random_osm_file
18:29.18cr2_dcordes_: yes
18:29.23dcordes_cr2_: ok easy
18:29.46dcordes_cr2_: android-msm-2.6.25 even has it
18:30.06tsdogshmm ok but osm has some sort of conventions to follow ;)
18:30.51dcordes_cr2_: do I need msm_sdcc.c for the whole wifi thing?
18:31.03cr2_it's geofabrik or you who is enforcing the conventions.
18:31.21cr2_dcordes_: yes.
18:31.28cr2_dcordes_: it's the host driver
18:31.48dcordes_cr2_: must we modify anything on that side for the sdio wifi?P
18:32.06tsdogsactually I have no idea about the wiki, but osm has it's guidelines for mapping. but it's actually the editing user which decides to follow them or not.
18:32.19tsdogshmm, sf cvs is down?
18:33.18tsdogsI thought it should be up now...
18:33.39dcordes_cr2_: shall I remove the acx driver from the kernel in order to boot with the libertas?
18:33.54cr2_dcordes_: yes, remove it.
18:34.36cr2_tsdogs: who decides which fields/tags should be there, and how to render them ?
18:35.04cr2_tsdogs: i'm using the garmin's schema. it's very well understood and is widely used.
18:35.34cr2_but it's called 'polish' because of the cgpsmapper
18:36.00tsdogsthe wiki is the reference for that. http://wiki.openstreetmap.org/index.php/Map_Features
18:36.02tsdogs:)
18:36.03tsdogsok
18:36.59tsdogshmm, no perl script in cvs (at least last time cvs worked)...
18:37.42cr2_tsdogs: http://code.google.com/p/osm2mp/
18:38.00tsdogsho, I thogut it was in xanadux :)
18:38.49*** join/#htc-linux rob_w (n=rob@M9e35.m.pppool.de)
18:40.50tsdogsso osm2mp goes from osm -> mp then use cgsmapper to do mp -> shp and then use standard xanadux shp conversion with your Polish ?
18:43.41tsdogscr2_: what about the shell script?
18:44.13*** part/#htc-linux imfloflo (n=imfloflo@cap31-6-88-180-73-121.fbx.proxad.net)
18:46.05tsdogsok gg now. bbl
18:46.21cr2_tsdogs: let me finish this evil wiki page: http://wiki.xda-developers.com/index.php?pagename=RaphaelLCD
18:47.14*** join/#htc-linux MRFriend (n=prettacs@82-35-152-46.cable.ubr05.enfi.blueyonder.co.uk)
18:47.19dcordes_cr2_: booted. is there any action required or only fetch the dmesg?
18:47.26scatterphi all..
18:47.39scatterpcr2 any news on the google phone firmware did it become available yet ?
18:50.14dcordes_cr2_: the driver seems to load with no errors
18:52.34cr2_scatterp: no
18:52.39cr2_dcordes_: look at the dmesg
18:53.59scatterpoh that sucks :(
18:55.52*** join/#htc-linux wasup (n=Tech@208.47.103.106)
18:57.50dcordes_cr2_: there is nothing new in it. except for the two libertas driver loading lines.
18:58.00dcordes_cr2_: unlike the acx it gives no errors.
18:59.08dcordes_libertas_sdio: Libertas SDIO driver
18:59.19dcordes_libertas_sdio: Copyright Pierre Ossman
18:59.33cr2_dcordes_: ok. then it's not so simple
19:00.02wasup~seen wasup
19:00.07aptwasup is currently on #htc-linux (4m 15s). Has said a total of 1 messages. Is idling for 5s, last said: '~seen wasup'.
19:02.58dcordes_cr2_: you think I must bug one of the pro kaiser/polaris owners
19:02.58wasupaww....
19:02.58wasup:(
19:02.58wasupoh there we go
19:02.59dcordes_oh no the netsplit guys at mickey
19:02.59dcordes_s/at/ate/
19:03.00dcordes_~lart apt
19:03.00aptwhips out a hot clue gun and makes sure that dcordes_ is stuck to the floor
19:03.02dcordes_cr2_: I would ask premy or ginge but they seem too busy atm
19:05.17*** join/#htc-linux ChanServ (ChanServ@services.)
19:05.17*** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net) [NETSPLIT VICTIM]
19:05.17*** join/#htc-linux GPFerror (n=gpferror@cpe-76-187-41-132.tx.res.rr.com) [NETSPLIT VICTIM]
19:05.17*** join/#htc-linux ALoGeNo (n=alogeno@26.Red-81-37-222.dynamicIP.rima-tde.net)
19:05.17*** join/#htc-linux herriojr (n=Miranda@65.173.101.2) [NETSPLIT VICTIM]
19:05.17*** join/#htc-linux fpletz (n=fpletz@2001:470:c041:feed:dead:beef:cafe:42) [NETSPLIT VICTIM]
19:05.17*** join/#htc-linux surgex (i=surge@pool-98-118-165-224.bflony.fios.verizon.net) [NETSPLIT VICTIM]
19:05.17*** join/#htc-linux ltxda (n=anon@unaffiliated/ltxda) [NETSPLIT VICTIM]
19:05.17*** join/#htc-linux oxman (n=bouh@sentinel.bouh.org) [NETSPLIT VICTIM]
19:05.17*** join/#htc-linux hlbot (n=adm@iclem.net) [NETSPLIT VICTIM]
19:05.17*** join/#htc-linux mickey|zzZZzz (i=mickey@openmoko/coreteam/mickey) [NETSPLIT VICTIM]
19:05.17*** join/#htc-linux tmzt_ (n=tmzt@adsl-99-155-214-182.dsl.akrnoh.sbcglobal.net) [NETSPLIT VICTIM]
19:05.17*** mode/#htc-linux [+o ChanServ] by irc.freenode.net
19:06.34cr2_lol
19:06.34cr2_# One-click Google Search*
19:06.34cr2_# Real web browsing capabilities*
19:06.39cr2_Additional subscription fees may apply
19:07.15cr2_bbl
19:11.14dcordes_ah that will be from the g1 feature list.
19:11.37dcordes_wasup: did you find wasup?
19:16.24wasupi managed
19:16.26wasup:)
19:17.00*** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
19:17.03wasupHey... as of right now... is there any way to transfer your contacts from WM to Android???
19:24.56*** join/#htc-linux yvo (n=musman@98.226.77-86.rev.gaoland.net)
19:40.03*** join/#htc-linux zool_ (n=musman@98.226.77-86.rev.gaoland.net)
19:40.33kiozencr2_: FSC fucked up the boot process?
19:47.04dcordes_wasup: try asking in an andorid specific place
19:48.20dcordes_yvo: any luck with the i2c?
19:48.58yvodcordes_, not enough time, a lot of professionnal work to do today et may be up to the end of the week :(
19:49.10*** join/#htc-linux hqqh (n=hqqh@e178188219.adsl.alicedsl.de)
19:50.29yvoThere is a few things to try, but I need more concentration than just copying snippets of code from one file to another, so I'll try this latter
19:54.54*** join/#htc-linux exco (n=exco@e181103102.adsl.alicedsl.de)
19:55.30dcordes_yvo: alright. I was just curious ;)
19:56.16yvodcordes_, :). I'd really like to make it boot correctly on my phone...
19:57.22BabelOkiozen: around ?
19:57.44kiozenBabelO: yes
19:57.57BabelOkiozen: pm
19:58.54dcordes_yvo: yea linux is always useful on a device. do you work professionally with open source software?
19:59.22yvodcordes_, yes, I work  with Linux professionnally for 10 years now
20:00.31yvoI used to work with linux on embedded hardware up to big guns from IBM (on zSeries)
20:00.37wasupdcordes: well i was just wondering for you guys... Cause i was gonna write a script that would parse through the WM contacts and put it into a Android compatible contacts file....
20:00.52wasupbut i will look around...
20:01.49cr2_kiozen: it's the RAM dump. maybe some evil process has written to this area, and created a weird address...
20:02.44cr2_kiozen: this is a real lcd setup here ;-) http://wiki.xda-developers.com/index.php?pagename=RaphaelLCD
20:03.06cr2_i don't yet know how to do the vreg()
20:03.11kiozencr2_: you have to obscure evidence before leaving the site of crrime :)
20:03.15cr2_so it will be a big bigger
20:03.43cr2_kiozen: is it possible to dump the SPL from mdoc ?
20:04.20cr2_afair there were no rom updates. htc-style updates
20:04.57*** join/#htc-linux imfloflo (n=imfloflo@cap31-6-88-180-73-121.fbx.proxad.net)
20:05.10kiozencr2_: don't know
20:05.25*** join/#htc-linux Raketemensch_ (n=Rakete@192.234.2.49)
20:06.28dcordes_yvo: sounds interesting. I bet it will be childsplay for you then to make ks20 work
20:06.33cr2_kiozen: hehe. it seems that we should fix the docg3.c driver
20:06.49dcordes_wasup: szsoftware mentioned wm6.1 has all the pim data in one single file
20:07.07cr2_kiozen: then we can do a raw dump ...
20:07.18cr2_kiozen: do you have a windows machine ?
20:07.29yvodcordes_, well, not really, my last patch on the kernel was 10 years ago... I'm more in the system, integration part
20:07.32cr2_kiozen: where you can install itsutils
20:07.39kiozenno real one, only virtual machines at work
20:07.55cr2_kiozen: does activesync work there ?
20:08.19kiozenhm ,never tried it, I can try tomorrow
20:08.49dcordes_yvo: ok
20:09.31cr2_kiozen: pdocread
20:10.39cr2_dcordes_: "With the 1GB memory card, you’ll never be without your favorite tunes"
20:11.55kiozencr2_: ok, the loox is in my rucksack, a reminder email sent :)
20:12.39kiozenlet's hope virtualbox is doing a good job on the usb port
20:13.04wasupdcordes: it does... I was gonna write a ruby script to go through and grab that info and put it in a android contact file... but i don't know what file android uses to store the contacts
20:13.39cr2_G1™
20:13.48*** join/#htc-linux Raketemensch (n=Rakete@192.234.2.49)
20:13.50cr2_~wtf G1™
20:14.14cr2_~wtf foo
20:14.23cr2_~wtf <foo>.
20:15.25cr2_Standby time:  TBD
20:16.33BabelOcr2_: you can say apt with "apt : G1 is ...."
20:17.22kiozenapt: G1 is a phone for Java Architects
20:17.22aptkiozen: okay
20:19.22BabelOapt: what is G1 ?
20:19.23aptit has been said that g1 is a phone for Java Architects
20:19.47*** join/#htc-linux nebi (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se)
20:19.50cr2_apt: G1™ is a phone for Java Addicted Architects
20:19.50aptcr2_: okay
20:19.53wasupanyone know what file android stores its Contact information in? or where i could find that information.... Google search engine isn't helping to much
20:20.21dcordes_cr2_: what's wrong with the favourite tunes?
20:20.28cr2_apt: what is G1™
20:20.29aptg1™ is probably a phone for Java Addicted Architects
20:20.32kiozenit feels a bit like teaching a 3 years old nasty words :P
20:20.49BabelOlol
20:20.53*** join/#htc-linux ali1234 (n=al@robotfuzz.co.uk)
20:21.10cr2_dcordes_: can one buy a 1GB card now ?
20:22.01wasupnvm i found it
20:22.22dcordes_cr2_: ok got it
20:22.22cr2_apt: G1™ is a phone for Java™ Architects™
20:22.23apt...but g1™ is already something else...
20:22.35cr2_apt: G1™™ is a phone for Java™ Architects™
20:22.36aptcr2_: okay
20:22.45cr2_apt: what is G1™™
20:22.46aptwell, g1™™ is a phone for Java™ Architects™
20:23.01kiozenlol cr2_ goes beserk
20:23.11cr2_LOL
20:23.12BabelOcr2_: stop playing :)
20:23.17dcordes_cr2_: and you want me to buy that?
20:23.19BabelOapt : what is android ?
20:23.20aptBabelO: I think you lost me on that one
20:23.23BabelOapt : what is androids ?
20:23.25aptBabelO: what are you talking about?
20:23.38BabelOapt : what is apt ?
20:23.39aptpt is, like, a Manuel
20:24.01BabelOapt: what is google androids ?
20:24.03aptI think you lost me on that one, BabelO
20:24.35BabelOkiozen: try the patch :)
20:24.47ali1234hi wasup. did you get vmware set up?
20:24.51kiozenBabelO: compiler errors
20:24.55BabelOkiozen: if your map goes black, then max min function need an extend
20:25.32kiozen....QLandkarteGT/src/CPicProcess.h:4:1: warning: "MAX" redefined
20:25.38kiozentststs..
20:25.54cr2_BabelO: where do i download the QtExtended™ ?
20:25.57BabelOkiozen: lol, i know but i use some old C++ before using msvc
20:26.07BabelOcr2_: wait one or two more days
20:26.11cr2_ok
20:26.36BabelOcr2_: lpotter says that the gpl version will be available around 2 days after the commercial one
20:26.46wasupALI.....where the hell have you been??? yeah i got everything set up....but on my mac
20:26.54wasup:)
20:27.45ali1234on mac? how did you manage that?
20:27.50*** join/#htc-linux chab7 (n=kvirc@212.92.4.114)
20:28.32wasupidk... but i got the toolchain installed and downloaded the android.git from both linuxtogo and goolge
20:28.37wasupgoolge*
20:28.39wasupgoogle
20:29.13*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
20:29.15ali1234ok, so did you successfully build a kernel?
20:30.14dcordescr2_: btw I have errors in the acx driver init.
20:30.33dcordescr2_: maybe that's important because you said it's complicated after I told you libertas wouldn't error on init
20:30.40wasupi was trying to build a kernel to test...but i dont know how to do the .config file thingy
20:30.49wasupit was building though
20:31.22ali1234you make a config by doing 'make foo_defconfig' where foo = the machine type
20:31.41wasupit asks me some questions and i dont know what to answer
20:31.52ali1234right because you didnt do the defconfig thing
20:32.20wasupoh ok...so i type that make titan_defconfig
20:32.37ali1234if titan_deconfig exists... which it probably doesnt
20:32.39zdooderali1234, don't you also have to specify ARCH= ?
20:32.53ali1234ARCH and CROSS_COMPILE, yeah, but that's the next step
20:33.04wasupbut in what... the google git directory or the linuxtogo one????
20:33.18wasupi have both.
20:33.21dcordescr2_: acx100 init looks like this http://pastebin.com/m16769179
20:33.40ali1234dcordes: which kernel repo for vogue/titan?
20:34.08dcordesali1234: linuxtogo kernel.git and branch htc-vogue
20:34.28ali1234wasup: ^ there you go :)
20:34.44dcordesgit clone git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git
20:35.00dcordesgit checkout -b htc-vogue
20:35.07wasupok...
20:35.09wasup:)
20:35.16dcordes"cd kernel" before the checkout
20:35.36cr2_dcordes: kaiser_init_mmc: vreg enable failed (-1071313272)
20:35.36dcordesmake sure you have some 100mb free on the disc
20:35.56dcordescr2_: what does it mean?
20:35.58cr2_dcordes: does it mean that it's not possible to use vreg() ?
20:36.08wasupok...it's done... "switched to a new branch "HTC-VOGUE""
20:36.32wasupwhat next ali?
20:36.46cr2_dcordes: it's pmic control. on the android kernel it's some ipc function.
20:36.50dcordescr2_: the mmc card works fine. after that dmesg I ran off second partition of sd with ext2 fs
20:37.06ali1234export ARCH=arm
20:37.18cr2_dcordes: hmm. i'm not sure about suspend.
20:37.23ali1234export PATH=$PATH:/path/to/cross/compiler
20:37.30dcordescr2_: suspend?
20:37.47wasupali1234: is that before or after i make the defconfig?
20:37.59cr2_dcordes: EGPIO phys=0xC8000000 virt=98000000
20:38.05ali1234probably doesnt matter but do it before just in case
20:38.23dcordescr2_: what about it?
20:38.38cr2_<PROTECTED>
20:38.43ali1234what is the prefix of your cross compiler?
20:38.46cr2_98 is physical
20:39.07wasupum... how do i check?
20:39.09ali1234eg 'gcc' will be named something like 'arm-none-linux-gnueabi-gcc'
20:39.19dcordesooops so cpld does most likely not work in the current state?
20:39.40wasupgcc?
20:39.53ali1234yes. check in the cross compiler directory
20:39.58cr2_where does this message come from : "set_type 34 1" ?
20:40.06zdooderwasup, the cross-compiling toolchain you set up...
20:40.21yvobetter to do an export PATH=/path/to/cross/compiler:$PATH to be sure that the cross compiler will be read first
20:40.25dcordescr2_: but egpio works... don't know why it prints that
20:41.00wasupwell i typed the  PATH=$PATH:/path/to/cross/compiler
20:41.05cr2_dcordes: seems weird anyway
20:41.09ali1234doh
20:41.09cr2_mddi_pmdh: unsupported version 0x19
20:41.18cr2_need to check on raph100
20:41.19wasupok just a sec
20:41.20dcordescr2_: hold on I'm grepping my source for the set_type
20:41.23wasupgot to check
20:41.56zdooderali1234, can I get a copy of the diff you guys were working on for the Titan keyboard?
20:42.20ali1234zdooder: there is no diff, just a drop in replacement file. hang on
20:42.25dcordescr2_: ./arch/arm/mach-msm/7x00-irq.c:printk("set_type %d %d\n",irq,flow_type);
20:42.33dcordescr2_: kaiser irq code
20:42.41cr2_dcordes: ok.
20:42.50cr2_<PROTECTED>
20:43.03cr2_is it not in the table  ? i'll check with my SPL
20:43.09dcordescr2_: thanks
20:43.33dcordescr2_: there is an extra code file for nand id in the mach-msm folder
20:43.34cr2_dcordes: 256MB flash ?
20:43.49dcordesmust look it up wait ^^
20:44.05ali1234http://al.robotfuzz.com/~al/random/titan-board-kaiser-keypad.c
20:44.28cr2_dcordes: 64bit address space on a 32bit cpu ? mmc0: Qualcomm MSM SDCC at 0x00000000e1001000 irq 26,0 dma 8
20:44.43dcordescr2_: yep. kais120 has 256mb
20:45.18cr2_ok, so the size is detected correctly
20:45.20dcordescr2_: I noticed that line looked strange but didn't think much about it
20:45.22cr2_drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
20:45.44dcordesnvm about rtc
20:45.55dcordesI think it works with the current git code.
20:46.00cr2_mmc0: host does not support reading read-only switch. assuming write-enable.
20:46.00dcordeswith the marbalon patch
20:46.12cr2_microSD is write-enabled by definition
20:46.34cr2_ok, the nandid is the most interesting message
20:46.42dcordesI doubt ginge added that printk. you must beat the google devs not us
20:47.07cr2_samsung is 0xec
20:47.08wasuphey it's call arm-elf
20:47.16wasupthe toolchain i downloaded....
20:47.20wasupwill it work?
20:47.25ali1234no idea
20:47.25dcordescr2_: I have the datasheet for the nand. szsoftwrare posted a link by pof
20:47.36cr2_micron is 0x2c
20:47.44dcordescr2_: want it?
20:47.46wasupwell the directory is usr/local/arm-elf/
20:48.03wasupdo you have to point it directly at the compiler?
20:48.08ali1234yes
20:48.20cr2_xynix is 0xad :)
20:48.36cr2_hynix :)
20:48.40wasupin bin.... i have ar
20:48.42wasupas
20:48.44wasupc++
20:48.46wasupg++
20:48.51wasupgcc
20:48.56wasupis it gcc?
20:49.27ali1234sounds like it doesnt have a prefix then
20:49.49wasupwhat do you mean?
20:50.06ali1234gcc is not supposed to be called gcc when it's a cross compiler
20:50.15cr2_dcordes: your nand is "hynix_hyh0ssj0mf3p"
20:50.25ali1234that leads to conflicts between the system native toolchain and the cross toolchain
20:50.28dcordescr2_: oh great. you're the spl guru
20:50.48wasupbut if it's in a different directory?
20:50.49lpotteryou will be able to download qtextended form qtextended.org once everything is up and working dns, etc
20:50.52dcordescr2_: I assume that must be added in the code that gives the nandid printk?
20:50.55cr2_dcordes: you should extend the table with spl values
20:50.58wasupshould i just try that anyway
20:51.07ali1234sure
20:51.23ali1234export PATH=/usr/local/arm-elf/bin:$PATH
20:51.29ali1234export ARCH=arm
20:51.36dcordescr2_: which table?
20:52.13wasupok...
20:52.17wasupand after that?
20:52.26ali1234make htcvogue_defconfig && make
20:52.32diogene31_lpotter: Hi. Do you know if Trolltech is accepting contributions (patches) against their Qtopia 4.3 tree ?
20:53.28wasupcannot find default configuration "arch/arm/configs/htcvogue_defconfig
20:53.48cr2_dcordes: pastin
20:56.04cr2_dcordes: i'm not sure the linux struct layout is the same, but you'll get an idea
20:56.08lpotterdiogene31_: depends on the patch
20:56.17dcordescr2_: ./drivers/mtd/devices/msm_nand.c:printk("nandid: %x maker %02x device %02x\n",
20:56.42cr2_http://pastebin.ca/1216189
20:56.44diogene31_lpotter: For example a new RGB converter for cameras (RGB565 in my case).
20:57.16cr2_diogene31_: yout cam works ?
20:57.26cr2_s/yout/your/
20:57.36wasupali1234: so what do i do?
20:57.45diogene31_cr2_: Of course. Flawlessly :)))
20:57.53dcordescr2_: ok I saved it. in order to make nand work on all kaisers we need to integrate all the ids?
20:58.15dcordescr2_: which nand do you have in raph100?
20:58.21ali1234wasup: i dont know. that branch does not seem to have a defconfig
20:58.29wasupcould i
20:58.41wasupgo to DZO site...download the .config and rename it?
20:58.52ali1234what is DZO site?
20:59.13wasuphttp://it029000.massey.ac.nz/vogue/
20:59.13diogene31_lpotter: And to be more precise, this is what I'm thinking about : http://belgarath.falguerolles.org/gitweb/?p=qtopia.git;a=commit;h=5a7fb0052f313b8739204562fa819c4557ecdca3
20:59.20wasupisnt that his site?
20:59.30dcordescr2_: nand driver is here http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=tree;f=drivers/mtd/devices;hb=htc-msm
20:59.48ali1234wasup: possibly. try it
20:59.49dcordescr2_: I'm in .25 thoguh. I must check if it changed
20:59.54wasupok
21:00.23ali1234no need to rename it just drop it in kernel/
21:01.32wasupok...i did
21:01.50wasupwhat now?
21:02.18dcordescr2_: it changed massively between android-msm (.24) and android-msm-2.6.25
21:02.25ali1234make
21:02.39dcordescr2_: do you have the google tree locally?
21:03.16wasupjust type make?
21:03.55dcordesif ((flash_id & 0xffff) == 0xaaec) /* 2Gbit Samsung chip */
21:03.55dcordesmtd->size = 256 << 20; /* * num_chips */
21:03.55dcordeselse if (flash_id == 0x5580baad) /* 2Gbit Hynix chip */
21:03.55dcordesmtd->size = 256 << 20; /* * num_chips */
21:03.55dcordeselse if (flash_id == 0x5510baad) /* 2Gbit Hynix chip */
21:03.57dcordesmtd->size = 256 << 20; /* * num_chips */
21:04.00dcordesprintk("flash_id: %x size %x\n", flash_id, mtd->size);
21:04.33wasupali1234: missing kernel .config file
21:04.35wasuphmmm
21:04.58ali1234wasup: just put .config into kernel/
21:05.01zdooderwasup: rename the 'config' file you just downloaded to '.config'
21:06.50wasuprestart config
21:06.56wasupand it's asking me questions
21:07.05dcordescr2_: don't understand what to do
21:07.14ali1234probably newer kernel options. just press enter for defaults
21:07.46dcordescr2_: the numbers from the spl don't really appear in the code table.
21:08.13ali1234i guess you should 'make oldconfig' really
21:09.12wasupim getting errors when i use make
21:09.27wasupkernel/bounds.c bad value
21:09.35dcordesah it's some math I don't understand I guess
21:09.42dcordesI see the ba and ad
21:09.44wasupunknow abi specified 'aapcs-lunix"
21:10.04wasupinvalid option 'little-endian'
21:10.14ali1234wasup: probably got the wrong cross compiler or it's conflicting with your native toolchain
21:10.18wasupinvalid option 'apcs'
21:10.22dcordescr2_: but don't see the 5580 part in the spl table
21:10.28wasuphmmm....
21:10.38wasupi need a arm toolchain right?
21:10.56ali1234you need an arm gnueabi toolchain
21:11.00dcordeswasup: do you compile directly from the mac?
21:12.39wasupyeah
21:13.49dcordeswasup: then maybe it's what ali1234 says and your cross toolchain doesn't like the native toolchain.
21:14.09ali1234the fact that both gccs are called 'gcc' probably isnt helping
21:14.10dcordeswasup: a virtual machine or native linux install would make things a lot easier for you
21:15.00cr2_dcordes: google coding style is lame :)
21:15.31NetRipperKevin2, in the preloader() method of haret, the MMU is disabled and I should be able to use physical addresses, correct?
21:15.46wasuphmm... i cant get networking working on the virtual machine
21:15.57cr2_drivers/mtd/nand/nand_ids.c
21:16.06dcordescr2_: I hope you didn't look too close at the git code. the msm_nand in the 2.6.25 tree I have changed a lot
21:16.12ali1234wasup: maybe try this: http://arm-none-linux-gnueabi-runtime.darwinports.com/
21:16.31ali1234i dont know if that is useful or not since i dont have a mac. it's the right compiler target though
21:16.37dcordescr2_: I can give you a diff against android-msm-2.6.25 google branch or upload/paste my code files.
21:16.59cr2_dcordes: the chip is detected, and it's good
21:17.03dcordescr2_: or easier you can use the google gitweb
21:17.22cr2_dcordes: now you need to find out how the nand is partitioned in blocks
21:17.44wasupok...just a sec
21:17.50wasuplet me see if i can get something working
21:17.52cr2_dcordes: then you'll have an excellent chance of bricking your kaiser :D by writing to the wrong place.
21:18.15dcordescr2_: oh that's semi-excellent
21:18.52cr2_dcordes: http://wiki.xda-developers.com/index.php?pagename=RaphaelNAND
21:18.54cr2_dcordes: just to give you an idea
21:18.54dcordescr2_: I might go back to the stock nand software
21:20.20dcordescr2_: the different entries there represent different blocks?
21:22.38dcordescr2_: so if I overwrite the spl or so I'm screwed?
21:22.49cr2_dcordes: looks better now http://wiki.xda-developers.com/index.php?pagename=RaphaelNAND
21:23.29cr2_dcordes: at the bottom here http://wiki.xda-developers.com/index.php?pagename=HermesMemoryMap
21:27.48*** part/#htc-linux imfloflo (n=imfloflo@cap31-6-88-180-73-121.fbx.proxad.net)
21:29.25dcordescr2_: what's in the hermes table?
21:29.45cr2_fixed this one too
21:29.48cr2_http://wiki.xda-developers.com/index.php?pagename=HermesNAND
21:30.11cr2_hermes has some samsung chip
21:30.22cr2_it was detected, but there were some ECC problems.
21:30.38cr2_maybe with the newer kernels this problem is solved, i didn't check
21:30.42dcordescr2_: so that is why one must flash the bootsplash seperately. because it's on a seperate partition?
21:31.02cr2_i think so.
21:33.11dcordesis it possible to pock around with nand in read only modes?
21:33.17dcordess/pock/poke/
21:33.52*** join/#htc-linux BabelO_ (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
21:34.09dcordesif I go 100% to factory before and run the kernel off SD I'll be ready to test
21:34.43cr2_ok
21:34.49dcordeslast time I returned kaiser they didn't even ask what is wrong...
21:36.18dcordescr2_: so what's the first step to take?
21:36.38dcordesis that already a dangerous one?
21:38.34cr2_don't write to NAND :)
21:38.48cr2_reading should not be very dangerous.
21:38.57dcordesyou think it's already operational?
21:39.11cr2_maybe there is some write enable pin, or so
21:39.46cr2_"create" 1 partition for the whole chip.
21:39.54cr2_and then dd from /dev/mtd/
21:40.13cr2_cal
21:40.23cr2_hm, wrong window :)
21:45.58NetRippercr2_, what's the difference between outX and outX_en?
21:46.27dcordescr2_: I don't get a device for the nand
21:46.34dcordescr2_: maybe I miss kconfigs
21:48.08cr2_dcordes: you need an mtd setup. look at the hermes code
21:48.12cr2_hmm. maybe.
21:48.50cr2_NetRipper: IN/OUT(out1_en)
21:49.12NetRipperyes, there is an in1, out1, and out1_en
21:49.16cr2_it enables the output
21:49.37cr2_look at the android gpio code
21:49.47NetRipperok
21:50.29cr2_dcordes: halibut does not include nand config ?
21:50.33cr2_<PROTECTED>
21:50.33cr2_<PROTECTED>
21:50.33cr2_<PROTECTED>
21:50.34*** part/#htc-linux hqqh (n=hqqh@e178188219.adsl.alicedsl.de)
21:50.36cr2_only that
21:50.48*** join/#htc-linux Raketemensch (n=Rakete@24-151-90-116.static.nwtn.ct.charter.com)
21:51.01dcordescr2_: ok
21:53.29*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
21:55.07cr2_XPR implementation. nice.
21:55.09cr2_http://www.msuiche.net/codes/xpress.c.txt
21:59.05ali1234zdooder: are you working on titan code?
21:59.27zdooderali1234: I am sort of trying to, yeah... I have one and would like to get the keyboard working.
21:59.48ali1234zdooder: well... have you got a working kernel?
21:59.56wasupso i'm installing a new gnu cross compiler on my mack
22:00.00wasupmac*
22:00.10wasuphopefully it works
22:00.11zdooderali1234: I got the htc-vogue get from linuxtogo, was able to compile that and have it boot
22:00.24ali1234zdooder: the latest revision boots?
22:00.59zdooderali1234: But the one I just tried with the keyboard file you sent did not...
22:01.17ali1234the keyboard file makes it not boot?
22:01.17zdooderali1234: Of course, I did some "extra" stuff too :) so it's probably my fault heheheh
22:01.51ali1234it's possible the keyboard file is broken, it was hacked about a lot...
22:01.59zdooderOne of the issues I'm running into is that the htc-vogue branch doesn't have anything that will make board-kaiser-keypad.c
22:02.03ali1234try to apply it to a known booting version
22:02.18zdooderSo I put your file in as titan-keyboard.c and added a Kconfig option for it and added it to the Makefile
22:03.38wasupzdooder, you have a titan right?
22:03.47zdooderali1234: That's what I mean, my known booting version doesn't have any set of config values that will build board-kaiser-keypad.c
22:03.52zdooderwasup: Yes
22:04.39dcordescr2_: shall I use the exact halibut (msm_defconfig) mtd kconfigs?
22:05.02wasupso what is the plan for the keyboard?
22:05.38dcordeswasup: did barry give you the titan keyboard code?
22:06.38ali1234dcordes: i've been handing it out :)
22:07.19ali1234to get the keyboard working will be easy as soon as someone figures out how to get it to compile in it's half working version
22:07.28cr2_dcordes: i don't know, but try it
22:07.45ali1234(someone who actually has a titan to test on that is)
22:07.57dcordescr2_: won't fry anything?
22:08.20cr2_dcordes: unlikely
22:08.38wasupali1234: i have a titan... i'm just slightly retarded
22:08.40wasup:)
22:08.44dcordesali1234: add it in the arch/arm/mach-msm/Makefile in the kaiser line?
22:08.51wasupstupid toolchain
22:09.08ali1234wasup: it's not your fault. i keep getting half the story - doubt you would have succeeded with a working toolchain yet :)
22:09.12wasupits still installing....
22:09.27zdooderdcordes: I could be wrong but I don't think there is a Kaiser line in the htc-vogue branch.
22:09.56wasupbut still... i wish i could be of more help
22:11.30dcordess/kaiser/vogue/
22:11.43NetRippercr2_, out of curiousity, can you 'pdump 0xa9200814 4' on your raphael and let me know the value?
22:12.12zdooderapt/dcordes, will try ... have to get off the phone first :-/ damn coworkers who don't understand the importance of android on Titan :)
22:12.16NetRipperits in/out2_en
22:13.45cr2_NetRipper: i think it's a good idea to implement 'dump gpio' for msm
22:13.45wasupzdooder: and it is very important... i've been arguing with some guy on the XDA forums about it for the last few days
22:13.55cr2_NetRipper: like it was done for pxa
22:14.26cr2_NetRipper: but then we need to add some class magic: mach->dumpGpio()
22:14.48NetRippercr2_, yea and also an easy way to set gpios ;)
22:15.01NetRippertoggling them
22:15.27cr2_mach->setGpio() mach->getGpio mach->cfgGpio()
22:15.36dcordesbbl
22:15.45cr2_my disassembly looks like that ;)
22:15.47ali1234zdooder: so the only change you made was adding the keyboard code to the Makefiles?
22:16.16zdooderali1234: I'm pretty sure yeah ... is there a 'git diff' or something I can use to check that?
22:16.25NetRippercr2_, could you still pdump that address if you have a chance?
22:16.27cr2_NetRipper: i've compiled latest cegcc svn, and it looks good
22:16.32ali1234zdooder: yeah, 'git diff' ?
22:16.34cr2_yes, i'll try
22:16.37NetRipperthanks
22:16.43NetRippercr2_, what looks good exactly?
22:16.55ali1234zdooder: but it is entirely possible that the keyboard code is broken
22:17.57zdooderali1234: 'git diff' shows only the diff to Makefile (added board-kaiser-keypad.o to CONFIG_MACH_HTCVOGUE line)
22:18.18NetRipperi've done something with the out2_en bank, when i turn on my flashlight it hangs my device
22:18.42NetRippercan't be good
22:19.33ali1234zdooder: code is probably broken then
22:20.09wasupali1234: do you code?
22:20.13wasupor is it only ginge?
22:20.28ali1234i didnt write this code if that's what you mean
22:21.03wasupso what is the next step?
22:21.13wasuprewritting it from scratch or?
22:21.20ali1234nah
22:21.36ali1234i think the problem is that ginge was halfway through writing something into it when he stopped
22:21.54wasupginge had it close to working one time....
22:22.01wasupi wonder what happened... to it.
22:22.02ali1234yeah
22:22.18wasuphmm... if i still have that zImage-titan
22:22.20ali1234the next thing i would try is commenting out the body of the init function where it registers the driver
22:22.27wasupis there a way to decompile it?
22:22.39ali1234that would determine if it was causing the kernel to hang
22:22.44cr2_NetRipper: i think the _en bit is set properly. there is no need to modify it
22:22.46wasupi think i still have to colde to working one on my computer
22:22.52wasupcolde=close
22:23.03ali1234pointless it would be easier to rewrite it
22:23.18ali1234it's basically the same as the kaiser keyboard driver, just with different gpios
22:23.29ali1234and the gpios are what is not quite right yet
22:23.59wasupso should i hook my titan back up to haretconsole and try again?
22:24.33cr2_NetRipper: can't connect with my 11mbit card to AP...
22:24.35ali1234try what again?
22:24.44wasupgetting the gpios readings
22:25.07ali1234... no
22:25.25ali1234the ones you found are correct
22:25.26*** join/#htc-linux Marajin_ (n=marajin@87-194-102-189.bethere.co.uk)
22:25.29ali1234but there are others
22:25.40wasupand how do we go about finding those?
22:25.59ali1234trial and error/recompiling the driver over and over
22:26.13NetRippercr2_, ok nps, it's working again without hanging the device
22:26.14ali1234we already know at least one
22:26.19ali1234since some keys worked
22:26.22zdooderali1234: ok so I got my wife's old (not in service anymore) mogul, so I can test with it while I'm still on my phone, clean kernel build still dies on boot :-(
22:26.31ali1234the others will almost certainly be directly next to them
22:26.38NetRippercr2_, removed battery for a minute (soft resets didn't fix it)
22:26.49ali1234zdooder: try commenting out the body of the init function (last function in file)
22:27.01ali1234zdooder: except for int ret; and return ret;
22:27.44cr2_wtf
22:27.47cr2_b43-phy0: Radio hardware status changed to DISABLED
22:27.47cr2_ADDRCONF(NETDEV_UP): wlan0: link is not ready
22:27.48zdooderHeh
22:27.51zdooderarch/arm/mach-msm/board-kaiser-keypad.c:727: warning: 'ret' is used uninitialized in this function
22:28.13ali1234zdooder: ok give it a nice value - 0 probably :)
22:28.44zdooderali1234: I was only joking but okay :)
22:29.32zdooderali1234: that booted
22:29.43ali1234zdooder: hmmmmm that's what i was afraid of
22:30.11ali1234i'll see if i can track down an older versionthat might work
22:30.26cr2_HaRET(1)# pdump 0xa9200814 4
22:30.26cr2_a9200814 | 01fee002                            | ....
22:30.27cr2_NetRipper:
22:30.37NetRippercr2_, thanks
22:31.12cr2_NetRipper: i see tracing the i2c as next 'big thing'
22:31.13*** join/#htc-linux ginge (n=ginge@78-105-175-81.zone3.bethere.co.uk)
22:31.26cr2_hi ginge
22:31.31gingehi
22:32.00NetRippercr2_, it seems haret isn't even getting in the preloader()
22:32.01cr2_ginge: it seems that nand driver works, maybe you'll give it a try ?
22:32.12wasupginge your back....hahaha :)
22:32.22BabelO_cr2_: http://doc.trolltech.com/qtextended4.4/location.html
22:32.26cr2_NetRipper: have you disabled all 'fb_*' ftuff ?
22:32.41gingewasup: hey man yeah. my laptop blew up, and I just got your email
22:32.46NetRippercr2_, on haret?
22:32.58wasupoh it's cool... your laptop blew up?
22:33.01cr2_BabelO_: whereabouts->tellBigBrother()
22:33.03NetRipperi have disabled the sleeps()
22:33.04gingecr2_: I can't for a few days, I onl have access to my work laptop
22:33.06NetRipperif that's what you mean
22:33.08cr2_NetRipper: yes
22:33.09BabelO_cr2_: lol
22:33.16gingewasup: yes, GPU has a hole in it
22:33.22wasupginge: thats crazy...
22:33.29BabelO_cr2_: even qtopia use google maps ....
22:33.39gingewasup: and annoying
22:33.44ali1234i have a feeling i changed something in this file that broke it. you got an untainted version ginge?
22:33.55gingeyeah, ill send it over
22:34.02wasupzdooder: do you have DATA working on your titan??
22:34.16BabelO_cr2_: that is good :) LED Indicator API and that too Qt Extended is now able to act as a USB Mass Storage device.
22:34.28BabelO_cr2_: i do some devel for nothing last year :)
22:34.57cr2_BabelO_: there should be an M screenshot at the bottom :)
22:35.09gingewasup: ali1234: check your mail
22:35.11cr2_BabelO_: :D
22:35.40wasupok...it's like christmas
22:35.43wasup:)
22:35.47gingeactually I seem to remember the file I sent you have a bug
22:35.52BabelO_cr2_: so this mass storage solve kiozen problem to transfer maps :)
22:36.07ali1234ah there we go.
22:36.52cr2_BabelO_: yes
22:37.35NetRippercr2_, fbduringboot disabled doesn't seem to help
22:37.44NetRipperi'll poke around tomorrow again
22:37.46gingeyeah, buts man
22:37.48BabelO_cr2_: good definition http://doc.trolltech.com/qtextended4.4/usbgadgettask.html
22:37.48gingebugs
22:37.54gingelet me resend
22:38.05ali1234zdooder: go to line 79 and change '34' to '33' (so 33 is in the array twce)
22:38.41zdooderwasup: Not sure what you mean by "DATA" .. ?
22:38.50zdooderali1234: and un-comment the init routine?
22:38.51gingeali1234: wasup: okay, check again :)
22:39.02cr2_BabelO_: very linux-specific :)
22:39.10ali1234zdooder: yeah
22:39.31ali1234ginge: i fixed that half finished function btw. any other bugs?
22:39.36BabelO_cr2_: that's good don't want wince thing
22:39.44gingeall references to acol in the one I sent
22:39.54ali1234ginge: you didnt fix it i see :(
22:40.03gingebut if you finished the test function, thats cool
22:40.06gingefix what?
22:40.11ali1234the test function
22:40.30gingeno, I didn't do any more after you took the torch
22:40.55ali1234the acol stuff is all commented out in the version i have... does nothing
22:41.05zdooderali1234: still hanging (tsts_thread: address 0x48 / SMD: ch 3 CLOSED -> OPENED / SMD: ch 2 CLOSED -> OPENED)
22:41.09gingethe first mail still has references to that
22:42.54ali1234zdooder: try ginge' latest version then
22:43.09ali1234http://al.robotfuzz.com/~al/random/board-kaiser-keypad.c
22:43.20cr2_BabelO_: what was the problem with proj4 on wince ?
22:43.37BabelO_cr2_: can't compile it with msvc
22:43.53BabelO_give me strange error, but i did not look more
22:45.49zdooderali1234: nope, same thing... what branch were you guys working from before?
22:46.21zdooderali1234: I am wondering if anything from board-htckaiser.c is needed also?
22:46.25gingevogue kernel diff from about 2 months ago
22:48.03*** join/#htc-linux ellisway (n=ellis@80-46-67-47.static.dsl.as9105.com)
22:48.39ali1234well we know that some of the gpio are wrong
22:49.00ali1234maybe the wrong ones didnt cause a crash on the old code, but they conflict with something in the new stuff?
22:49.10gingeextremely likely
22:49.28gingetime to play change a gpio recompile game
22:49.34ali1234yeah
22:52.26gingeI know 79 is correct (80% srure)
22:52.37ginges/srure/sure/
22:52.55gingeits the colums you need to change
22:53.06ali1234well
22:53.29wasupi hatr this toolchain :(
22:53.36wasups/hatr/hate
22:54.47wasupso does the kaiser keyboard work flawlessly?
22:54.54gingealmost
22:54.57zdooderMaybe this is a stupid question but is there a good way with haret to determine what they should be?
22:55.29gingewell, we did the haret stuff to get the right gpios for the rows, but the columns we couldn't get traced
22:55.33wasupginge: what doesnt work on it?
22:55.56gingewasup: 1 in 1000 times you have to scroll the wheel to get an input from the keyboard at all.
22:56.03gingenot exactly a massive problem
22:56.07wasupoh
22:56.34wasupthe keyboards are that different, i mean on a titan and a kaiser?
22:56.54gingeall keyboards are pretty much the same.
22:57.07gingeits just a matrix and some key mapping
22:57.11wasupso it's just the gpios thats killing us?
22:57.16ali1234yes
22:57.20gingethe hard bit is working out where the matrix pins are connected
22:57.39zdooderAnybody got a screwdriver and a magnifying glass?  ;-)
22:57.51wasuphmm... but like zdooder said... there is no way to get more information through haret?
22:58.00ali1234zdooder: at least one col gpio must be correct. so try recompiling with only one gpio. try each one individually.
22:58.16gingeyou sent me the logs remember ;)
22:58.32wasupyeah...
22:59.05wasuphmm... so what happened that one time that you had it working but it was in reverse?
22:59.11gingeI will mail them to ali1234 it should help him
22:59.16zdooderali1234: ok, do I need to alter matrix_buttons[] to match in any specific way?
22:59.21gingewasup: thats when I stopped
22:59.31ali1234zdooder: nah that does not come into play yet
22:59.43wasuphmm... well it was booting up with that one on mine... why isn't it booting anymore?
22:59.45zdooderok
22:59.51ali1234col_gpio is what you need to change
23:00.21ali1234col_gpio = {38 }; (recompile) col_pgio = {39 }; (recompile) ... etc
23:00.23gingewasup: because the vogue kernel got more features implemented. This means an incorrect gpio I was using before is now used by a feature
23:00.52zdooderginge: or possibly more than one, right?
23:00.54ali1234eventually you should see it boot. at that point try pressing all the buttons and see what is printed on kernel messages
23:00.59gingezdooder: yeah
23:01.07gingezdooder: more likely that is is
23:01.07wasupoh...
23:01.18gingewasup: should sound familiar :)
23:01.21zdooderIs there any reason to try values outside of 38-42/29-30?
23:01.43gingezdooder: could be anywhere between 1-100
23:01.48gingebut they are normally grouped
23:01.59ali1234zdooder: one of the existing values is correct because some keys were working before
23:02.08zdooderok
23:02.10ali1234one of the eight
23:02.12gingeso find one that works and then find the upper and lower bounds from that point
23:02.18ali1234exactly
23:02.27zdooderginge: are they guaranteed (or just supposed?) to be contiguous?
23:02.34ali1234supposed :)
23:02.39cr2_hmm. who has sent me the diamond sram file ?
23:02.40gingeno guarantee (look at rows)
23:02.54ginge31-37 and then 79
23:02.55cr2_the LCD type is hitachi too.
23:02.55elliswayhi all
23:05.39gingewasup: ali1234: if you check you mail I sent over the haret logs
23:06.43zdooderginge: Question, can we confirm that we're on the right track by setting the col_gpio to something used by the row_gpio already, and that should at least boot, right?
23:07.06gingerow and cols should be different
23:07.24gingeit should boot but will probably print loads of shite all over your screen
23:07.46ginge29 and 30 look suspect
23:08.05wasupok..
23:08.20gingejust pick a number from the middle and set col_gpio[] = { the picked number }
23:09.10gingerows are right, at least one of those columns is right so its either going to be 38 or 29 that is right. Start there
23:11.08wasupali1234: do you remember what the login and password was for that virtual machine i downloaded?
23:11.19ali1234it was root/root
23:11.26wasupthanks...:)
23:11.27ali1234now wait
23:11.31ali1234user/user
23:11.45wasupuser/user
23:11.47wasup:)
23:12.31ali1234wasup: do you remember exactly which keys worked for you on old version?
23:12.39zdooderOk I've tried 38, 29, 39, 40, and 31, all still seem to die during the bootup.
23:12.58wasupq,w,e,r
23:13.03wasupjust backwards
23:15.15ali1234zdooder: try setting row_gpio = {36};
23:16.26ali1234i note that q w e r are all on the same row which means 4 cols must be right. which means half the keyboard should work, or some rows are wrong
23:16.46wasupali1234: on this virtual machine, how do i test the network adapter? ifconfig isn't showing any valuable information...but i think thats cause its a virtual machine
23:16.52gingeali1234: thats pretty much where were at, but the rows should be right
23:16.56ali1234wasup: ifconfig -a?
23:16.57gingecheckthose logs I sent you
23:17.02gingepretty clearly usng those gpios
23:18.19wasupwhat is ubuntu's command for ftp or something?
23:19.38wasupnvm... networking isn't working on the virtual machine... it wont ping
23:20.28ali1234ginge: i dont know how you can tell from those logs what the row gpios are
23:21.14ali1234unless you are actually manually setting the rows and looking for the columns
23:23.02gingecant remember. I will look over my files tomorrow. I really need sleep now.
23:23.26zdooderali1234: I can try row_gpio = {36} ... what should I set for col_gpio[] ?
23:23.48ali1234zdooder: try each of the values as before :)
23:24.01zdooderok, trying...
23:24.18ali1234try the middle value first, that should work regardless of ordering
23:24.26gingeali1234: wasup trace is more complete
23:24.34ali1234so 41
23:25.19gingenight all
23:25.30zdooderginge: Good night, thanks for the help!
23:26.25wasupnight
23:26.33wasupa little late on my part
23:27.00wasupso what is the status we are at?
23:27.07ali1234zdooder: you said you are using a mogul to test. do you even know if it is the same?
23:27.19ali1234wasup: status we are at is we cant even get it working like we had it before
23:27.57zdoodersame as a titan?  From what I understand the xv6800 (my phone) and the Mogul (her phone) are both rebranded HTC Titans ... don't know what rebranding might change though, if anything.
23:28.23ali1234zdooder: ok, rebranding changes nothing.
23:29.58ali1234maybe...
23:30.36ali1234vogue doesnt have a keyboard, right? maybe the gpios are used for something else on vogue. if so you should figure out what that something else is and disable it
23:32.06zdooderali1234: Ok, so col_gpio[]={41}; and row_gpio[]={36}; doesn't boot ... I'm seriously thinking that it's not the wrong GPIOs but that there's something else in the driver init or something that's doing it...
23:32.43BabelO_good night
23:33.21excoare the sandisk micro sd ultra cards worth their money?
23:33.49wasupzdooder...i have the mogul.
23:34.19wasupzdooder: are any of the keys working??
23:34.46wasupwould it help if we reverted back and booted angstrom (like i was before)?
23:34.53zdooderI can't get it to boot any of the kernels that include the new titan keyboard driver (except for the one where we commented out the initialization)...
23:34.54wasupfor testing purposes?
23:35.22zdooderwasup: I think angstrom is probably a requirement for testing, but I haven't bothered yet because until the kernel boots there's not much point.
23:36.48ali1234zdooder: does titan have all the same hardware as vogue except keyboard?
23:37.36wasupwhats the differences in the vogue and kaiser?
23:40.03wasuphey zdooder can you send me the files your trying to boot?
23:40.13zdooderali1234: You know... I'm really no expert, I think there are some differences, but I don't know exactly what.  I know that titan has wifi and I don't think vogue does, vogue has some sort of different touchscreen maybe?
23:40.31zdooderali1234: Sure, just the zImage?
23:40.50wasupyeah
23:41.55*** join/#htc-linux sikkle (n=sikkle@modemcable132.57-201-24.mc.videotron.ca)
23:41.59zdooderwasup: http://wormhole.akropolys.com/htclinux/
23:42.07zdooderhas the latest one
23:42.25wasupok...
23:42.42ali1234zdooder: tsts is related to touchscreen
23:43.07ali1234zdooder: can you disable the touchscreen in kernel config?
23:44.51zdooderali1234: Hey... I just went into menuconfig and there is an HTC Kaiser Phone option ... should I turn that on do you think?
23:46.29ali1234i dont think so
23:46.35ali1234might be worth a try though
23:46.40zdooderali1234: If I turn off the touchscreen, I get some undefined symbols in msm_sdcc.c
23:47.00zdooder(I think this is related to the onscreen keyboard for vogue)
23:48.21wasupzdooder: on the zImage i just got from you...what part of boot does it freeze on you?
23:49.23zdooderwasup: what do _you_ get?
23:50.04wasuplast thing i see.... is tsts_thread: address 0x48
23:50.20zdooderwasup: I get the penguin, and a bunch of initialization, ending with "Console: switching to colour frame buffer device 60x53" and "tsts_thread: address 0x48" and then a few seconds later "SMD: ch 3 CLOSED -> OPENED" and "SMD: ch 2 CLOSED -> OPENED" and then nothing.
23:50.23wasupthen smd ch3 closed ->open
23:50.45wasupme too
23:51.02wasuphmm.... but when u take out the initialization it boots?
23:51.19zdooderYes
23:51.52ali1234try commenting out the body of kaiser_kbd_queuework
23:52.12ali1234that's the part that does the scanning
23:53.06ali1234if it still crashes... then the problem is not the gpios but something else in the driver
23:56.37*** part/#htc-linux exco (n=exco@e181103102.adsl.alicedsl.de)
23:59.12zdooderali1234: should kaiser_kbd_enable_irqs() at the end of that function be commented also?
23:59.50ali1234well
23:59.56tmzt_which CONFIG_MACHINE do you have =y in .config ?
23:59.57ali1234notice that that line is unreachable

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