IRC log for #htc-linux on 20080713

00:00.08*** join/#htc-linux CPress (n=cpress@CPE-72-129-218-217.new.res.rr.com)
00:00.18CPressGood afternoon all.
00:00.48rebo0thi there
00:00.52gingeCSD hold the data for parameters of the card
00:01.33exco*g* at 2 AM
00:02.48dcordesCPress: hola
00:03.18CPressDid you guys make amazing progress while I was away?
00:03.34exco;-(
00:03.47CPressaww....
00:04.07CPressThat's not the answer I wanted to hear... /sadface
00:04.35gingelie mode
00:04.36gingeCPress: yes, it all works perfectly now, and the kaiser can also make tea
00:04.40gingelie mode off
00:05.48excopH5 still here?
00:06.27pH5exco: yup
00:06.30gingehmm. it sends a CMD5 which according to the spec is reserved
00:06.42gingeanyone a MMC whizz?
00:06.58dcordesginge: reserved for tea interfaces?
00:07.13MarexpH5: gotcha ... hi ;)
00:07.20gingedcordes: I wish :/
00:07.31dcordesginge: you could ask the moko people
00:07.41dcordesthe moko phones also have sd
00:07.46gingedcordes: which channel?
00:07.53dcordes#openmoko
00:07.55pH5Marex: :) hi
00:07.56MarexpH5: do you use jabber (IM) by any chance ?
00:08.11excopH5: could you point me to where I can read up on userspace regarding that touchscreen problem?
00:08.13dcordesginge: or bug pH5 :D
00:08.19dcordesor Marex
00:08.23pH5Marex: didn't you ask me that already?
00:08.36MarexpH5: yes I did, but you forgot to reply :p
00:08.45gingepH5: ahem ;)
00:09.50Marexanyway ... Im currently hacking on ucb1400 codec ... I split it into core and touchscreen functions and now Im looking into GPIO stuff ... would it be possible to use gpio_set/get_ stuff for handling even that chip's GPIOs ?
00:10.16MarexpH5: ^ :)
00:10.39pH5exco: not sure, I'd login via ssh and check whether I get valid data from the input device nodes
00:11.32excono valid data imo
00:12.11pH5Marex: possible? sure. would it make sense? probably. if other devices use those gpios, a gpiochip driver is the only sane solution
00:12.25MarexpH5: ok :)
00:12.47MarexpH5: and about the jabber >:-)
00:14.23pH5ginge: I'm not very fluent in mmc/sd protocol w/o something to look up at hand
00:14.37pH5Marex: pH5@jabber.org
00:14.51pH5strange, I was sure I told you before
00:14.59Marexginge: if you need specs for sd, check toshiba, they put them out in public
00:15.08Marexmoreover sd association put out some simplified specs
00:15.18MarexpH5: thanks
00:15.19gingepH5: no worries, I think I am getting the hang of this now. Just read the toshiba sheets
00:15.45pH5great
00:16.24rebo0tpH5, what is latest and best working om for magician atm?
00:16.49pH5re
00:16.49marajinginge: Your lie mode is too verbose!
00:17.19pH5b0t: exco and paulproteus will know better than me
00:17.54excowell still yours, pH5
00:18.10Marexhmm ... now I need asoc audio driver for ucb1400, but I'd need a codec driver first
00:18.15Marexjeez :/
00:18.16gingemarajin: I need to work on it ;)
00:18.19rebo0twhere can i find sim card settings in wm2003se?
00:18.48excorebo0t: what do you want to do?
00:18.59pH5Marex: do datasheets exist?
00:19.16rebo0thttp://forum.xda-developers.com/showthread.php?t=370619
00:19.43MarexpH5: what for ?
00:19.52rebo0tlook after post of bkrot
00:19.54MarexpH5: for SD they do
00:19.59rebo0tbkor
00:20.12MarexpH5: for ucb1400 as well
00:20.37Marexucb1400 is a generic ac97 device ...
00:20.45excoThe GSM is working on the Qtopia image (kernel), the fact is that the Phone application does not know how to handle it, rebo0t
00:21.07excodisabling pin won't help
00:21.17rebo0tcould try xD
00:22.21excoso press call button -> Extras -> Options -> disable pin
00:22.42marajinginge: Very true! Anyway man, I need to check out for the night. Yawning my head off and big family bbq/party is tomorrow. I'll lift a few bevvies to you and dcordes though ;)
00:23.06excosince I have it off I know it doesn't help, rebo0t
00:23.08gingemarajin: good night, and thanks. enjoy!
00:23.33exconight, ginge
00:23.57rebo0toh it's off allready i see
00:24.02gingeexco: stuck with me for a while longer yet, marajin is off
00:24.03rebo0tgood night
00:24.18exco;-)
00:24.39dcordesnight marajin
00:25.34dcordesMore than one alcoholic drink. Plural of bevy. Word used throughout the UK, but originally more common in the North/Scotland.
00:26.07dcordesI think I've had enough friday but thanks :)
00:26.09marajindcordes: Yes that's right, in this case I choose for you... dark ales :)
00:26.20marajinNight tho' ;)
00:26.54rebo0tso there is no fix yet for the status bar?
00:27.31dcordesmatsuu: ping
00:29.07excopaulproteus: ping
00:29.13paulproteusexco, pong but on the phone
00:33.35excothat output looks good. doesn't it? http://pastebin.com/d4d012e49
00:34.43pH5looks sane to me
00:35.27excoso what could be the problem I can't use the touchscreen?
00:37.32pH5the driver obviously works if you get that output from ts_calibrate, so my part is done ;)
00:37.51pH5you don't get any reaction from the ts in X?
00:38.27excothe error I can see (half when rotated) is http://img296.imageshack.us/my.php?image=pict7016nw7.jpg
00:38.48excono
00:39.02excobut the device buttons work
00:39.45rebo0texco, u are in vga mode?
00:39.51dcordesginge: does toshiba documenation bring enlightenment?
00:40.07gingejust casts doubt
00:40.24excoI just changed screen orientation, rebo0t
00:40.35pH5there should be something wrong with the way it tries to open the input device
00:41.05pH5can you pastebin /etc/X11/Xserver ?
00:41.15pH5is kdrive version 1.4 ?
00:41.42pH5does /dev/touchscreen0 exist and point at the correct input device?
00:42.03excosorry I'm so slow but got a broken right arm :-)
00:42.33pH5the error messages in that picture look like they are just notifications from the OM stuff
00:43.14excohttp://pastebin.com/d69c40e1 xserver
00:43.36excohow do I check kdrive version?
00:44.29pH5exco: no problem, I'm slow myself on that n810 keyboard even without injuries. get well soon :) right handed?
00:44.47pH5opkg -s xserver-kdrive
00:44.55exco.. /dev/touchscreen 0 doesn't exist
00:45.30excobut /dev/input/event0, event1 and touchscreen0
00:46.19exco<PROTECTED>
00:47.10pH5hm, but the file you just posted tells kdrive to open /dev/input/event0 as mouse
00:47.30|miknix|hey pH5
00:47.34excoopkg: unrecognized option `-s'
00:47.39pH5is that the ts? or is it event1 and event0 are the buttons?
00:47.58pH5ugh right, opkg is not dpkg
00:47.59excoI think event1 is the ts
00:48.24pH5then just try changing that in /etc/X11/Xserver
00:48.56pH5hi |miknix|
00:49.29excooutput of event1 and touchscreen0 look alike
00:50.40pH5so i think the problem is your configuration tries to open the button device as touchscreen
00:50.50excowasn't opkg ipkg before?
00:51.11pH5right
00:51.25Marexopkg ? :O
00:51.40Marexsomeone was bored again ?
00:52.02excono more nano?
00:52.47|miknix|how does your omap850 machine go?
00:54.47excowho'd have thought I remembered how to do it with vi
00:56.51excodo you already have a native bootloader for one of the htc devices?
00:58.08pH5miknix: still bricked, I've started to play with running its bootloader in qemu, but qemu omap850 is really incomplete
00:58.45miknixpH5: hum.. are you using the versatile emulation? it works fairly well for me to build ntive packages
00:59.00matsuudcordes: pong
00:59.07pH5exco: I didn't look into this again yet. last time I had trouble turning on the sdram
00:59.47dcordesmatsuu: I'm in your initrd
01:00.02excoI have the JTAG pins ... just in case
01:00.18pH5miknix: there's support for one of the omap1's in qemu, I based omap850 on that
01:00.29pH5exco: magician?
01:00.33excowell touchscreen0 didn'do it
01:00.38excoyes, h
01:00.52pH5I want
01:00.56excoyes for magician
01:01.08matsuudcordes: cool
01:01.15dcordesmatsuu: when I try use the browser, it says no network coverage
01:02.08pH5you get that info?
01:02.19pH5exco: how did you*
01:02.34matsuudcordes: me too, but after that, my kaiser load correct page.
01:03.00excobake it like Wallaby
01:03.02excohttp://www.excogitation.de/
01:03.22pH5terrific :)
01:03.43gingedcordes: do you get the "G" in matsuu's image?
01:03.46matsuudcordes: do you insert your carrier info into telephony.db?
01:04.16excohave I still linked those pictures to localhost?
01:04.17dcordesexco: nice baking oven!!
01:04.19matsuuginge: i also have no "G" image.
01:04.33matsuuginge: but network works well.
01:04.38excocool, huh? :-)
01:05.05gingematsuu: phone not working for me either
01:05.40gingematsuu: what is the field "numeric" for?
01:06.17matsuudcordes: ginge: ah, it have to connect network on WindowsMobile before you boot android.
01:06.50gingematsuu: that works without your patch
01:07.27matsuuginge: numeric = mcc + mnc.
01:07.37gingematsuu: thanks
01:08.33matsuuginge: yup, my phone also doesnt work call with my patch. data only.
01:08.49gingematsuu: that is ril related
01:08.54dcordesin matsuu's image phone works for me
01:09.04gingedcordes: orly?
01:09.13dcordesyes
01:09.15gingedcordes: interesting
01:09.16matsuu!!!
01:09.43dcordesI am running with the zImage build from current git tree
01:09.59dcordess/d/t/
01:10.15gingedcordes: can you put that up inthe boot-kit?
01:10.22dcordessure
01:12.10excopH5: guess you found the big version:
01:12.11excohttp://excogitation.de/wp-content/uploads/2008/07/naked-magician-insane_jtag.jpg
01:12.22pH5now I need a jtag board after all
01:12.38pH5exco: yeah, and it nearly killed the tablet
01:12.58dcordesginge: one minute. need to rebuild. had it overwritten with zImage-nosmd
01:13.06MarexpH5: GPIOlib seems pretty i2c specific
01:13.19pH5Marex: not at all
01:13.54pH5look at htc-egpio or asic3 for gpio drivers for memory mapped chips for example
01:14.02pH5or all the soc code
01:14.13dcordesginge: I'm actually happy I didn't break htc-msm with the last commits ^^
01:14.32gingedcordes: :) always a bonus
01:15.06MarexpH5: ok, thanks
01:17.16rebo0tany progress yet? :)
01:17.22pH5exco: thanks for the baking pics. did you already try to connect?
01:17.41excono
01:17.57excoI have no idea about jtag
01:18.09exconor linux :-P
01:18.23pH5me neither. yet :)
01:18.38excobut I thought we might need it for bootloader dev
01:18.43matsuudcordes: ginge: i want new key assign for 'setconsole -v 1', but i dont know how to do it.
01:19.01pH5that will certainly take some fear away
01:19.04rebo0twhere can i find the image of the now working touch screen?
01:20.21pH5going to dream of reviving my bricked magician now
01:20.26pH5good night
01:20.33exconothing new, rebo0t
01:20.42exconight, pH5
01:21.00rebo0tbibi
01:21.23rebo0tbricked?
01:22.36gingematsuu: tried a few things now, no phone no data :(
01:22.37excoyou know when it's not working anymore it's basically just a brick
01:22.49rebo0toh
01:22.50rebo0tokay
01:23.30rebo0tanyone know's a program to edit .exe's?
01:24.12excowhat are you trying to achieve?
01:24.19gingerebo0t: you generally shouldn't/don't
01:24.25gingegood night all.
01:24.30matsuuginge: how about proxy?
01:24.34rebo0tgood night
01:24.42gingematsuu: what about it/
01:24.42excochanging icons works :-)
01:24.43ginge?
01:24.45dcordesginge: http://linuxtogo.org/~lgorris/zImage_htc-msm try with this
01:24.51exconight ginge
01:24.54rebo0ti dont want to archieve i  just want to change what it start's automatically :)
01:24.58gingedcordes: okay, 1 last try
01:26.08rebo0twell i can edit my autorun file so it doesn't reset when done installing app's
01:26.36rebo0tfile tpdisable disable's ur tochpad :)
01:26.47excoyou just have to edit the txt
01:26.49rebo0tkinda stupid if u tap on it
01:26.50excoyes
01:27.00rebo0tbut
01:27.02*** part/#htc-linux exco (n=exco@e181067203.adsl.alicedsl.de)
01:27.16*** join/#htc-linux exco (n=exco@e181067203.adsl.alicedsl.de)
01:27.31rebo0tif i place the exe on my sd card and i run it it does exactly the same as in the extend_rob
01:27.34rebo0trom*
01:28.06matsuuginge: you switch to console with setconsole, you can debug easily
01:28.17excoyes because the registry points to rom
01:28.32gingematsuu: how do I switch to console from within android?
01:28.44matsuu'setconsole -v 1'
01:28.46rebo0tso it doesn't mather if i edit the autorun to start haret?
01:28.55gingematsuu: right but where
01:29.13gingematsuu: do you mean not boot the gui?
01:29.27gingedcordes: fail
01:29.34excowell no but the thing is: does the autorun start on insert?
01:30.05rebo0tnope
01:30.10rebo0tit doesn't do that
01:30.19matsuuginge: ex. i added the last line of setupmodem.sh in previous image.
01:31.03gingematsuu: ok data works now, just no phone
01:31.29dcordesginge: with gprs openned while you boot?
01:31.36gingedcordes: yes
01:31.51gingematsuu: nice touch with the rotate app
01:31.55rebo0tdownloading tomtom now
01:32.02dcordesginge: ack
01:32.22excoso ... that's probably first but if you have to go through screen calibration ... anyways then we don't really need it, rebo0t
01:32.41gingebig crash: right, I really am off.
01:33.28rebo0tbut if we can only make it that if u plug in it start's running would be awsome to imo
01:35.04excoshouldn't be too hard ... google "2577 autorun"
01:36.38excook still want sd-card autorun
01:37.06rebo0twell we will need an autorun anyway
01:37.17rebo0tor is haret an exe?
01:37.30excoyes it is
01:37.57rebo0tso if u rename it it would be fine
01:38.05rebo0tand place it in /2577/
01:38.26excodidn't work for me but give it a try
01:38.32rebo0tk
01:40.08rebo0twork's for me
01:40.08CPressHello All
01:40.20rebo0twhen i plugin haret boot's up
01:40.26rebo0tonly i got to do is press run
01:41.01rebo0tbut u get error when u pres run than
01:42.03excoyes because it doesn't find image and such
01:42.15excogood work though
01:42.41rebo0twhere does it searc for the readme.txt?
01:42.46rebo0tand other files
01:42.59excosame folder as haret
01:43.06excoso 2577
01:43.18rebo0tso u need to copy them there to?
01:43.27excoguess so
01:44.38rebo0tnope the files need to be in \windows\
01:45.17rebo0tmaybe if we make a shortcut to haret.exe with an autorun.exe?
01:46.52rebo0tthe filesystem of winmo is /dev/sd or how is it?
01:47.14exco?
01:47.29CPressDid you guys get the SD reader to work?
01:47.38excofs is fat16/fat32
01:47.45rebo0tso
01:48.04rebo0tthe sd card in pda is just \fat16/32\
01:48.09rebo0t16 or 32 ofc
01:48.57excofilesystem != location
01:49.25excoSD card is just /Speicherkarte (in German)
01:50.32CPressI dont understand exco
01:51.07excosorry, was just talking to rebo0t
01:51.34excodon't know about your SD reader, CPress
01:52.35CPressOh, what are you guys talking about then?
01:54.44rebo0tmaking the sd card autorun haret when u plug it in
01:56.56rebo0tbrb gonna smoke
01:58.11excostill no freakin mouse
02:00.56rebo0t-smokemouse?
02:06.07rebo0tany possibility to edit an exe file?
02:15.51excopaulproteus: guess a lot has changed since we built that "broken" image ... http://pastebin.com/d6433154f
02:19.42paulproteusexco, Wow, so it seems.
02:22.41excothe touchscreen seems to work just xserver starting with wrong parameters ... couldn't get it right though
02:25.19paulproteusSo did you get it right eventually?
02:25.19paulproteusIs this openmoko-devel-image?
02:27.25excono not yet
02:27.37excobut am working on it again
02:27.53excothe one you built so yes
02:29.25exconow I'm trying to figure out how to start stop xserver using ssh to test different parameters and get it to work
02:47.08*** join/#htc-linux proverse (n=proverse@cpe-76-183-218-193.tx.res.rr.com)
02:47.22fhteaglegreetings all
02:50.20paulproteusexco, you could always:
02:50.21paulproteuskillall X
02:50.22paulproteusX :1
02:50.34dcordesfhteagle: yep
02:51.23fhteagleis catching up on "The thread that gets updated" (sorry, been in class 60 hrs this week, not much time to read)...
02:51.51fhteaglewhats the new nosmd   (sic) file on lgorris site?
02:52.30dcordesit's just the kaiser kernel without the shared memory driver initializing
02:52.41dcordesnothing you wanna try
02:53.04fhteaglegotcha... rest of the files dated 8 JUL are relatively stable, though?
02:53.15fhteagleanything you all need specific testing aimed at?
02:53.38dcordesfhteagle: well just try it out ;) no, thanks. no special testing needed atm
02:53.41*** join/#htc-linux wire (n=wired@unaffiliated/wireddd)
02:54.05dcordesginge almost has SD working. that's probably the most exciting news
02:54.41fhteagleindeed.
02:55.11fhteaglewith SD working means we can store apps and initrd separately, not initrd size limited as to what can be "cooked in", right?
02:55.39dcordesyes you can cook in tons of stuff then
02:55.49dcordes8Gig if your sd is 8 gig
02:58.22*** join/#htc-linux mxktmdude_ (n=mxktmdud@dslB-3.tcc.on.ca)
02:59.28fhteagleexcellent
02:59.30*** join/#htc-linux rebo0t (n=rebo0t@d51A55B22.access.telenet.be)
02:59.43excopaulproteus: root@magician:~# X:1
02:59.43exco-sh: X:1: not found
02:59.43excoroot@magician:~# X :1
02:59.43exco-sh: X: not found
02:59.55fhteagleany of that work on the emonster device applicable to the kaiser (just getting to that part of the thread now)
03:00.26dcordesjapan guy is matsuu
03:01.18fhteaglehai ;*)
03:01.37fhteaglejust noticing cracking open that one .db with provider settings...
03:01.57fhteaglerelevant or dead end?
03:02.20dcordesI don't try the gprs stuff lately no money
03:02.29paulproteusexco, When X is running, use ps -aef to look for the PID
03:02.35dcordesurgently need dataflat
03:02.36paulproteusexco, then ls -l /proc/$THAT_PID/exe
03:03.05excoit's not running / starting on boot atm
03:04.05fhteaglethe 8 jul files on lgorris have matsuu patch applied?
03:04.56dcordesno they have the ginge patches ^^
03:06.35fhteaglenot even android-data.bin?
03:07.48dcordesit comes down to the same
03:08.17dcordesthe matsuu image has a rotation app though so you can enjoy andr0id in landscape
03:09.20Marexewwwwww
03:09.32Marexis in the middle of massive refactorization of ucb1400
03:09.33Marex:S
03:10.13dcordesMarex: you are where?
03:13.14fhteaglefun... now the kaiser won't recognize my sd card for the first time ever.
03:13.21fhteaglestupid winmo
03:14.13*** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net)
03:16.46excowrong fs or wrong partition size regardin fs , fhteagle?
03:17.52fhteagle4gb fat32 as one partition, I am pretty sure, havent changed a thing since I got the kaiser around february... it was working earlier today!
03:18.55excothat doesn't sound too good
03:19.25paulproteusexco, oh, is there a file called /usr/bin/X* or /*/*/X* ?
03:19.37paulproteusAnyway, let me know if you need help, I'll go back to other things. (-:
03:22.19excoXfbdev, so sth like: Xvxinit /etc/X11/Xsession --/usr/bin/Xfbdev :0 -br -dpi 142 , paulproteus?
03:24.02Marexdcordes: in other words ... in total hell
03:24.02Marex;D
03:24.50Marexdcordes: ucb1400 is touchscreen controller, ac97 codec and gpio extender all in one (ewww) ... and Im refactoring ucb1400_ts so it supports all the remaining stuff
03:25.26Marexthe current patch has 28kb
03:26.07MarexI just torn that driver apart and put it back together (with some additional stuff) ;D
03:26.27excopaulproteus: can you start a new OM build? (or add my keyfile again)
03:28.13fhteagleumm, so I have an idea, maybe already thought of... but it looks like a lot of the hardware dev is occurring first in angstrom then being replicated to android, yesno?
03:32.53rebo0tbibi
03:36.10excoit's bright outside again gotta go sleep
03:36.13exconight
03:42.23dcordesfhteagle: the hardware dev is kernel level
03:42.28dcordesandroid and angstrom are userland
03:43.03dcordesbut angstrom is used for testing because android is mereley useless for debugging hardware drivers
03:43.51fhteagleno chance of baking a good terminal into android? or does it restrict access to the kernel too much somehow?
03:44.00dcordesit wouldn't make any sense
03:44.13dcordeswe have angstrom
03:44.21dcordesandroid is blobware.
03:48.32dcordesthere's already enough blob in arm9
03:51.22Marexblobware ... hehe :)
03:54.24CPressHello
03:56.11fhteaglegotcha
03:56.44CPressAlright.. Night everyone
03:56.50fhteaglejust trying to get my head around yet another userspace (just made the winxp -> ubuntu 7.10/8.04 move 9 months ago myself)
03:57.14fhteaglevery impressed with what you all have been able to accomplish thus far, though, with little/no manufacturer support
03:57.15dcordes;)
03:57.23*** part/#htc-linux Khaytsus (n=Khaytsus@theblackmoor.net)
03:57.28fhteagleits a testament to the open source concept, to be sure
04:00.02*** join/#htc-linux LunohoD_ (n=alex@e180068184.adsl.alicedsl.de)
04:31.54*** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net)
05:51.07*** join/#htc-linux thinko2 (n=jdoe6alp@smaug.rackdragon.com)
07:17.20*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfe940.pool.einsundeins.de)
07:20.55*** join/#htc-linux rmoravcik (n=rmoravci@89.102.255.171)
07:28.04*** join/#htc-linux zwox (i=zwox@unaffiliated/zwox)
08:03.02*** join/#htc-linux Zoolooc_ (n=fredsiba@nrbg-4dbfbe16.pool.einsundeins.de)
08:08.32*** join/#htc-linux Funklord (n=cow@c-ecd572d5.014-46-73746f28.cust.bredbandsbolaget.se) [NETSPLIT VICTIM]
08:12.13*** join/#htc-linux surgex (i=surge@pool-71-186-163-107.bflony.fios.verizon.net) [NETSPLIT VICTIM]
08:16.48*** join/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua)
08:17.43*** join/#htc-linux SmallR2002 (n=SmallR20@c-67-162-60-33.hsd1.il.comcast.net) [NETSPLIT VICTIM]
08:32.46*** join/#htc-linux kiozen (n=oeichler@rgnb-5d8652ec.pool.einsundeins.de)
08:34.49*** join/#htc-linux Zoolooc_ (n=fredsiba@nrbg-4dbff5a2.pool.einsundeins.de)
08:35.34*** join/#htc-linux exco (n=exco@e181100035.adsl.alicedsl.de)
08:37.15excohello everyone
08:40.41*** join/#htc-linux SmallR2002 (n=SmallR20@c-67-162-60-33.hsd1.il.comcast.net)
08:50.29marajin-zzzmorning
08:51.51excogood morning Marajin
08:53.32Marajinexco: Hi =)
08:54.01excoSunday again :-)
08:57.18Zoolooc_good morning folks
08:58.01excogood morning Zoolooc_
09:04.53*** join/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua)
09:06.17excoI really shouldn't update my running system anymore
09:09.35*** join/#htc-linux Zoolooc__ (n=fredsiba@nrbg-4dbf879c.pool.einsundeins.de)
09:32.43*** join/#htc-linux LunohoD (n=alex@e180074069.adsl.alicedsl.de)
09:37.45*** join/#htc-linux pH5 (n=ph5@p5485F664.dip.t-dialin.net)
09:40.28*** join/#htc-linux LunohoD_ (n=alex@e180075111.adsl.alicedsl.de)
09:42.25*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbffe9a.pool.einsundeins.de)
09:45.32excostill trying to get Xfbdev to recognize my mouse on Magician
09:47.07pH5exco: what parameter are you using right now? -mouse /dev/input/event1 ?
09:47.25*** join/#htc-linux Zoolooc_ (n=fredsiba@nrbg-4dbf8e89.pool.einsundeins.de)
09:48.11excoI tried event0, 1 and touchscreen0
09:48.37excots_calibrate works (started with ssh) so does ts_test
09:49.44exconormally the relevant line in Xserver was just         "HTC Magician")
09:49.44exco<PROTECTED>
09:51.42excocan I see the whole commandline that gets used to start Xfbdev somewhere?
09:53.29*** join/#htc-linux Zoolooc__ (n=fredsiba@nrbg-4dbfc6c0.pool.einsundeins.de)
09:54.49*** join/#htc-linux LunohoD__ (n=alex@e180077087.adsl.alicedsl.de)
09:57.00pH5exco: you can just start it manually from ssh. try Xfbdev -mouse tslib and Xfbdev -mouse /dev/input/event1
09:57.30pH5or you can try "set -x" (if busybox supports that) and "sh /etc/X11/Xserver" to see what ends up being the Xfbdev command line
10:03.23excoset -x doesn't give output and sh /etc/X11/Xserver tells me Fatal error already running
10:03.35pH5well kill Xfbdev before
10:08.11excohttp://pastebin.com/d6ce1ad6c
10:08.35excowhenever I touch the screen it says ** (neod:1417): DEBUG: mainmenu powersave reset
10:09.36excois there  a patch to make the errors readable on qvga devices
10:14.36pH5so what does running "Xfbdev -mouse /dev/input/event1" manually say?
10:15.22pH5just ignore the neod debug chatter
10:15.36excoCouldn't find pointer driver /dev/input/event1
10:15.53pH5does -mouse tslib do something?
10:16.23excogi[tslib/TslibEnable] no device path given, trying /dev/input/touchscreen0
10:16.47excobut now I can move the X
10:17.37excoXfbdev -mouse /dev/input/touchscreen0 also gives Couldn't find pointer driver /dev/input/touchscreen0
10:17.37exco<PROTECTED>
10:18.21pH5euh, so the -mouse <input device> was wrong all along
10:18.44pH5put -mouse tslib in its place in /etc/X11/Xserver and try again
10:18.53excoso just add -mouse tslib to Xserver and try ... well yes
10:20.15*** join/#htc-linux Zoolooc__ (n=fredsiba@nrbg-4dbf93a0.pool.einsundeins.de)
10:22.40excono more nano in the repos for Magician?
10:23.33excoshouts out "heureka"
10:24.05*** join/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua)
10:24.10pH5I wouldn't know, I don't do uploads to the angstrom repo.
10:24.15pH5I prefer gedit anyway :)
10:24.17*** part/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua)
10:24.31excowith OpenMoko?
10:24.34pH5exco: don't tell anybody I didn't remember how to use the -mouse option though.
10:24.45excoI won't
10:24.48pH5exco: no :)
10:25.42*** join/#htc-linux rebo0t (n=rebo0t@d51A55B22.access.telenet.be)
10:25.43excobut Xserver didn't have that line with earlier Xserver configs...
10:25.57rebo0thi guy'
10:25.59rebo0ts
10:26.08*** join/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua)
10:26.17pH5exco: yes, this changed in the xserver 1.3 -> 1.4 transition
10:26.19pH5iirc
10:26.20pH5hi rebo0t
10:26.29rebo0tgonna put the new image on sd now
10:27.13excoso do I need to open a ticket (and where?)
10:27.20excohi rebo0t
10:28.13rebo0tAngstrom-openmoko-devel-image-glibc-ipk-2008.1-test-20080509-magician.rootfs.tar this one right?
10:28.45pH5exco: not necessary afaik. the xserver-common recipe in OE already has the -mouse tslib parameter.
10:29.21excobut if you build a devel image the Xserver is still wrong
10:30.42pH5exco: do you have xserver-common-1.22 in that image?
10:31.15excokeep em coming...
10:31.47pH5oh no, the openmoko isn't using xserver-commont, it's using xserver-kdrive-common instead. is that true?
10:31.53rebo0tpH5, how did u fix the touchscreen?
10:32.26pH5rebo0t: I didn't fix anything, there's just a wrong parameter to Xfbdev in /etc/init.d/Xserver
10:32.28excoat least i can't find xserver-common
10:32.33pH5s/init.d/X11/
10:33.54pH5exco: you're right, this one is not yet fixed for 1.4
10:34.05pH5I have this change in my mtn tree: http://en.pastebin.ca/1070757
10:34.10pH5(and completely forgot about it)
10:34.42pH5but the fix in xserver-common/files/kdrive-1.4-fixes.patch is better.
10:34.43excowell that solves that then
10:37.08pH5the problem is that openmoko still prefers kdrive 1.3 while angstrom builds 1.4
10:39.13excoOM <-> Angstrom is like Ubunt <-> Suse?
10:39.36pH5exco: are there also VCC and GND pads near the JTAG test ones?
10:39.41pH5exco: it's more like ubuntu <-> debian
10:39.56excowell gnd is mostly everywhere
10:40.34excoand vcc... I'll find it for you if you  can tell me which one
10:41.25excothere are various ones from ~0.8 - 3.7V?
10:52.35*** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
10:57.56pH5exco: good question, I'm complete jtag noob
10:58.05pH5the power setup in the design guide looks .. complicated.
10:58.24excoabout that  s/init.d/X11/ ... can't tell what you mean but I think it's the xserver-k...
10:58.48excodon't you just need that vcc to power your jtag board?
10:59.25*** join/#htc-linux JohnnyK (n=johnnyk@nfx-nat-229.pilsfree.net)
11:03.05excoso now that the touchscreen works.... why isn't GSM working?
11:04.21rebo0tdidn't it work at all in angström?
11:05.43*** join/#htc-linux premy (n=pr@73.205.76-86.rev.gaoland.net)
11:06.09premyHi.
11:06.15excoHi
11:06.49premyginge: ping
11:06.59pH5exco: I thought that the processor needs 3.3V vcc_bat for the jtag pins, but everything is still very vague to me.
11:07.33pH5exco: because the gsmd doesn't properly talk to the gsm chip, I guess. is the n_tihtc kernel module loaded?
11:08.03excoyes, loaded
11:09.49pH5have a look at gsmd logs, I don't know where it logs to currently.
11:11.04excoyou decide on the vcc... I'll find the pin
11:11.04excohttp://img253.imageshack.us/my.php?image=screenshotbulverdeemtsbef6.png
11:11.21pH5exco: thanks
11:16.36rebo0tokay my xda boot's up
11:16.44rebo0tbut now it asks for magician login
11:17.16rebo0tdidn't get the calibaration screen
11:17.44excorun ts_calibrate fom ssh
11:18.12rebo0tcannot type anything at xda
11:18.37rebo0twhat is device ip?
11:27.30pH5192.168.0.201 or 202 usually
11:28.58gingepremy: pong
11:29.06rebo0tk
11:29.35premyginge: hi, I'm seing you're making good progress with SD. That's great.
11:29.42gingepremy: getting there slowly
11:29.51premyginge: is there anyway I can help ?
11:29.56gingepremy: Do you know much about the sd/mmc protocol?
11:30.14premyginge: nothing, but can try to find out if you give some pointers.
11:30.16gingepremy: http://rafb.net/p/KTPoKM46.html is the last log
11:30.36gingepremy: the mmc0: line479 is the interesting stuff
11:31.47premyginge: what does it mean ?
11:32.22gingepremy: CMD0 sets the SD into idle state, which is successful, CMD5 is for detection of the SDIO and CMD8 is for reading the OCR registers. The OCR is where it is failing (returns 0) and should return information about the power requirements of the SD
11:32.40rebo0tpH5, root@rob-desktop:/home/rob# ssh root@192.168.0.200
11:32.40rebo0tssh: connect to host 192.168.0.200 port 22: Connection refused
11:33.02gingepremy: got the CMD5 and CMD8 reversed ^^
11:33.24premyginge: is there a way to trace what wince is doing ?
11:33.45gingeI get exceptions and lockups in haret while tracing the SD
11:34.00gingeit doesnt seem to like me tracking the dma requests
11:34.37premyginge: would you be willing to share your code in its current status ?
11:34.44gingehttp://www.sdcard.org/about/host_controller/simple_spec/Simplified_SD_Host_Controller_Spec.pdf is very useful for an overview of the protocol
11:35.20gingepremy: no prob, I will mail it over. I have to go out for the day today, but hopefully something you can work with
11:35.30premythanks for the pointer, will look at it.
11:36.14pH5rebo0t: I believe 192.168.0.200 is your host. ifconfig usb0 or ip addr list usb0 to make sure
11:36.21gingepremy: warning, the code is full of cruft from my unfinished onscreen keyboard and touchscreen inprovements, and also the uart stuff ;)
11:38.04premyIs there any risk for my SD card playing with your code ?
11:38.40gingepremy: in it's current state, no. I accidentally formatted mine last night, so I would make a backup ;)
11:40.40premyginge: ok, I'll let you know if I make any progress. Thanks.
11:41.19*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
11:42.34pH5hi BabelO
11:43.08gingepremy: I don't think this is a protocol problem, but not sure why it is not working as intended
11:45.45BabelOji
11:45.47BabelOhi
11:45.52BabelOhi pH5
11:46.53premyginge: do you think you've already narrowed the problem down to a specific area on which I can try to focus ?
11:47.27gingepremy: I would double check the clock.c clock line drivers, if you can get a trace of the clock base in haret that would be super.
11:47.49gingepremy: 65MB :/ I will upload to my webspace
11:48.42gingeat the top of clock.c there is a sd driver clock table that has my interpretation of the clock data. This needs checking, but I am fairly sure it is ok
11:49.23premyginge: a diff against the linuxtogo repository ?
11:50.36premyOn which events is the clock base updated ? SD inserted ? resume/suspend ?
11:50.46gingeI don't have a local non-fubar repos of that. It would take me ome time to re-setup, and I really am pushing my luck with my partner now. It's her b-day, so better not neglect :) You have the bandwidth to cope with the download OK?
11:51.15gingepremy: it is set when it is inserted, and should be reset once initial card negociation is complete
11:51.52premyginge: yes no prob to download. And run. There are things you shouldn't be playing with, and your partner's bday is one of them....
11:51.59*** join/#htc-linux Bendy (n=sniveri@bb-81-175-215-228.dsl.phnet.fi)
11:52.53premyginge: can you just send me the url, pls ?
11:53.01gingepremy: http://www.headfuzz.co.uk/files/android/kernel.tar.gz give it 10 minutes
11:54.23gingethe files of interest are: clock.c msm_sdcc.c and clock-7x00(a).c
11:55.17gingeI apologise about the errant touchscreen output too ;)
11:59.00gingepremy: uploaded now. Thanks for looking at this, and good luck.
11:59.11gingecatch you laters
12:09.26*** join/#htc-linux kiozen (n=oeichler@rgnb-5d8652ec.pool.einsundeins.de)
12:19.29rebo0thoping it will boot now :)
12:20.33*** join/#htc-linux miknix (n=kvirc@81.193.93.154)
12:21.44rebo0tperfect!
12:22.40kiozenBabelO: does qtopia 4.3 have these circeling points to indivate a long tochscreen press?
12:24.27rebo0tpH5, howlong does the xda must registering...?
12:35.01BabelOkiozen: i think yes it handle long press, i see a popup menu
12:35.22miknixhey all
12:35.51kiozenBabelO: do you see a circling cursor befor it pops up (too indicate long press)
12:36.19BabelOkiozen: yes, red point circling
12:37.02miknixBabelO: your power gpios are on the cpld, right?
12:37.42BabelOmiknix: yes, most of them
12:37.46kiozenBabelO: ok, wonder how I can get such a cursor, might be a QCursor ... but does Qtopia have such things like cursors?
12:38.18kiozenBabelO: any idea what key word to search for?
12:38.28miknixBabelO: on the wizard only the sound and mmc power are on the cpld
12:41.38miknixBabelO: how is the wifi device connected on artemis?  yesterday, I traced a lot of EMIF gpios being used by wifi: http://pastebin.com/d2ee435c0
12:42.34BabelOmiknix: on sdio, i have some gpios to change then i got sdio wifi powered on
12:45.39miknixok thanks, I'll stumble the sdio. btw: I'm curious about EMIF, looks like the wifi device is on a flash. does this make sense to you?
12:46.56pH5'on a flash'?
12:47.23miknixpH5: err.. flash interface or something
12:47.56pH5does it share a power gpio with the nand flash?
12:48.29BabelOmiknix: no..., they can use flash adress space for thazt, but don't think, maybe because of a log file or something
12:49.46miknixpH5: doesn't look like it. the pin mux doesnt change when turning on wifi
12:50.37pH5miknix: I don't quite understand how you came to the conclusion that wifi is related to flash exactly.
12:50.41pH5the nand flash is some msys doc?
12:51.32*** join/#htc-linux Bendy (n=sniveri@bb-81-175-215-228.dsl.phnet.fi)
12:51.34rebo0tpH5, u know why i keep getting the message registering... on top of xda?
12:51.41miknixpH5: the gpios being used by wifi are set to emif on the perseus2_io_config registers
12:51.56pH5rebo0t: because gsmd/dialer don't work well with the gsm chip
12:52.04rebo0toh
12:52.19rebo0tpH5, where can i edit the code of gsm?
12:54.51miknixpH5: or maybe I'm just crazy
13:05.23pH5miknix: that makes sense to me, but how is this related to flash?
13:05.40pH5doesn't emif just stand for "extended memory interface" i.e. memory mapped registers?
13:07.36*** join/#htc-linux rebo0t (n=rebo0t@d51A55B22.access.telenet.be)
13:08.31rebo0tpH5, is the driver the problem or the software?
13:11.13pH5rebo0t: software of course, I wrote n_tihtc :P
13:11.31pH5actually I think maybe even gsmd is alright, just the dialer is doing strange things
13:11.40rebo0tpH5, tried another kernel?
13:12.32pH5rebo0t: my kernels are at git.linuxtogo.org, but they don't even have the touchscreen driver yet.
13:12.49pH5s/kernels/kernel sources/
13:15.14rebo0twhy cant we just use the gsmd files of a working phone distro?
13:15.16rebo0topnomok
13:18.05rebo0tnope other kernel doesn't even make any changes but screen wokr's when i use hh18
13:21.54rebo0tpH5, btw this is gonna be the final version for magician if we get it working?
13:22.11rebo0tpH5, i mean that we can put it on the rom
13:23.49pH5rebo0t: before we can put it on the rom, we need to write a working bootl..
13:24.24effbiaihe left..
13:24.37*** join/#htc-linux Marex (n=vasum7am@auryn.karlin.mff.cuni.cz)
13:32.30miknixpH5: you are right, calling it flash is incorrect.
13:34.13miknixBabelO: pH5 do you know what's the difference between IL and IM GPIOS on OMAP? I know IL are the first order gpios
13:39.38pH5miknix: I don't know, I can't find anything about IL and IM GPIOs in the OMAP850TRM
13:40.41miknix001.286    GPIOS GPIO3-IM: IM76(844)=1
13:40.42miknix001.319    GPIOS GPIO6-IL: IL176(176)=1
13:41.01miknixits how haret names them
13:41.45MarexpH5: I incorporated ucb1400 gpios into gpiolib ... it starts to be really something ;)
13:41.51MarexpH5: hi ;)
13:44.34*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
13:45.05dcordeseffbiai: did you try the zImage-nosmd?
13:50.41*** join/#htc-linux Marex (n=vasum7am@auryn.karlin.mff.cuni.cz)
13:58.43*** join/#htc-linux proverse (n=proverse@cpe-76-183-218-193.tx.res.rr.com)
13:59.35Kevin2cr2: The thing to remember with pxa trace is that the report is of the register state _after_ the access has completed.  This is what the hardware does - haret can't change it.
14:03.02pH5miknix: ah, that's just haret shorthand for the different register types
14:03.10pH5miknix: GPIO1...GPIO6 are the 6 banks
14:03.36pH5miknix: -IL means "input level", -IM means "interrupt mask" iirc
14:04.02pH5there's also -DC (direction control) and -OL (output level)
14:04.14miknixhum...
14:04.19miknixwhat about IH?
14:05.29pH5IH1/2 are the interrupt registers, not sure what this stands for
14:05.48miknixok thanks.. I was wondering about this for a long time :)
14:06.01kiozencr2: http://www.qlandkarte.org/index.php?option=com_content&view=article&id=8&Itemid=8 and some screenshots :)
14:21.46*** join/#htc-linux BabelO_ (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
14:22.18miknixBabelO: you added some mux config to omap mux.c, but your board file isnt calling omap_cfg_mux()
14:23.39*** join/#htc-linux Othello_ (i=Magorium@gateway/tor/x-72f4ed977e2e37c4)
14:28.48*** join/#htc-linux AlGe (n=user@chello080109231226.4.uni-klu.teleweb.at)
14:29.22cr2Kevin2: ok, i always forget what causes these stray data values
14:30.28BabelO_miknix: yes i know
14:32.05cr2kiozen: you can try 'mmutrace' with the ssp data values.
14:33.27miknixBabelO_: so one have to manually set each mux entry on the board file right?
14:33.49miknixwith omap_cfg_mux()
14:34.19BabelO_miknix: each are called by device.c, look at mmc init in devices.c and you understand
14:38.40kiozencr2: you mean: addlist mmutrace p2v(0x41000010) 0xff
14:38.42kiozen?
14:42.38kiozencr2: first one http://pastebin.no/11574
14:43.17dcordespremy: does ginge's tree build for you?
14:44.35kiozencr2: second http://pastebin.no/11575
14:45.05kiozencr2: that's all ?
14:45.38cr2kiozen: yes. looks very good. only the ldrh address was eaten.
14:45.46cr2by pxa trace
14:46.16cr2now i'll check what 7280 and 7200 request.
14:48.55cr2kiozen: you may shortly press the TS while tracing, so the difference will be visible
14:50.19kiozencr2: to the tarce again and press TS?
14:54.57kiozencr2:  first one http://pastebin.no/11576
14:56.47effbiaidcordes: yes, tried. did freeze :\
14:56.58kiozencr2: second http://pastebin.no/11577
14:57.03Kevin2cr2: Yeah.  I was going to document the whole thing on the wiki - and then just gave up and said "use mmutrace".  It's really much nicer when you can use it.
15:00.05gingehey ho all. dcordes: the link is still valid if you want to download it. It won't expire for another fire hours
15:00.14ginges/fire/few/
15:04.11gingedcordes: did you find those logs from san?
15:04.12dcordesginge: ok. btw: did you try and boot while copying stuff from/to sd in wince?
15:04.26gingedcordes: no
15:05.13premyginge: you back ?
15:05.22gingepremy: for a little while
15:05.35gingepremy: how goes it?
15:05.50dcordesginge: maybe that would be worth a try regarding voltage stuff? no didn't find the log. but I doubt it would be too useful since he only gave advice on what to look for initially
15:05.55premyNot been able to boot your kernel yet :-(
15:06.08gingepremy: oh? what happens?
15:06.13premybut I think I might have some interesting traces from haret
15:06.22gingepremy: now that is good news
15:06.48premyginge: I'm on Polaris, so I need to port some of my patches before it works.....
15:07.07gingepremy: I see.
15:07.07premyI think I got traces of the SD insert sequence.
15:07.18gingedrools
15:07.59dcordesbrb
15:08.20premydzo initializes things at MSM_CLK_CTL_BASE+0xa0 and 0xa4.
15:08.43premyBut I'm seeing things happening at +0xa8 and 0xac when the SD card is inserted.
15:09.10premyCould it be that we don't have the same structure as the vogue ?
15:09.42cr2kiozen: thanks.
15:09.46premyThe values that get written at +0xa8 and 0xac are very similar to those dzo pushes
15:09.51dcordesregarding the fact that also the proc_comm things and other stuff differ I would say yes
15:10.49cr2premy: http://wiki.xda-developers.com/index.php?pagename=KaiserMemoryMap
15:11.08cr2premy: all 4 are used.
15:11.15gingepremy: probably. I do see valid values in a0 and a4
15:11.45premyI'll send you the traces in a mail, I'm afraid I won't have the time to get your kernel to boot.
15:11.56gingepremy: ok, thanks
15:12.29premycr2: could only 2 of them be used during the sd init procedure ?
15:13.03cr2premy: i've seen all 4 of them beign modified in SPL.
15:14.50cr2kiozen: 2 is vbat, 5 is auxin
15:14.55*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
15:15.54cr2hm. 6 is auxin
15:16.19*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
15:16.25cr20 -> temp0, 7 -> temp1
15:16.39premycr2: the other two definitely get modified. Even too much. Makes tracing almost useless  :-(
15:19.13*** join/#htc-linux hagisbasheruk (n=hagisbas@cpc4-clyd1-0-0-cust357.renf.cable.ntl.com)
15:20.16excois it possible to reboot OM without hardresetting back to win and haret again?
15:21.52cr2premy: it was not easy to see what's going on there exactly.
15:22.54premyginge: I would have tried dzo's code, replacing a0 and a4 in clock.c with a8 and ac.
15:23.11gingepremy: I am just doing that now
15:24.06premycr2: I'm positive 0xa8 and 0xac are involved in the SD init procedure. Since dzo's code seems to be only fiddling with two addresses, we might be lucky.....
15:24.22premyginge: just sent the trace file.
15:24.31gingepremy: got it, thanks
15:25.55gingepremy: yes, I see what you mean now
15:27.36pH5exco: it's possible, but not easy. you could compile a kernel with kexec support and use kexec to reboot.
15:27.59excoso.. a tsk for later  then
15:28.00pH5or at least I think it's not easy because I didn't get that to work yet :P
15:28.25premyginge: there's also a writel(0x5c007ff, host->base + MMCICLEAR) in msm_sdcc.c
15:28.44excothe build from May ""works"" http://img175.imageshack.us/my.php?image=screenshot1ah1.png
15:29.01premyginge: no idea what this is for, but my traces seem to suggest a writel(0x18007ff, host->base + MMCICLEAR)
15:29.14gingepremy: will give it a go
15:29.44excoph5, did you patch sth toget GSM "sort of working" with the dialer?
15:29.53gingepremy: writel(0x018007ff, base + MMCISTATUS) did you see anything regarding this pio request?
15:30.47premyginge: and also your modification in sd_clock_parameters: I do get 0xfff60b79 in my traces, and not 0xfff60079
15:31.31gingepremy: yeah, that was to correct the fact it wouldn't initialise the host without this value in there. it is back to b79 now I see the traces refer to that
15:31.41premyginge: not looked at what 0x018007FF would mean, no.
15:35.00gingepremy: kernel locked
15:35.16pH5exco: that was the old 2007 dialer, I don't even think I have the patches anymore.
15:35.49excoso we need to do that again with the new one?
15:36.13excodid you put all the changes you made online?
15:36.29premyginge: ? with only the 0xa8/0xac stuff ?
15:36.32cr2kiozen: can you check the temp1 channel ?
15:36.38gingepremy: yeah
15:37.01kiozencr2: what you mean?
15:37.19premyginge: did you kernel boot without those modifications ?
15:37.33gingepremy: looking at the output it locks when setting the sd host clock
15:37.39gingepremy: yes
15:37.51pH5exco: I fear I didn't.
15:38.12excothat's a shame :-)
15:38.27pH5the blog entry says the patches were "not ready yet", I guess I should learn not to care about that.
15:39.29excoso you never could produce a working image from OE directly - including all the changes you made?
15:40.54excoso those new images will still be worse than your Dec 07 one
15:43.21*** join/#htc-linux AlGe (n=user@chello080109231226.4.uni-klu.teleweb.at)
15:44.17CPresscr2, you still around?
15:46.03pH5exco: that's right, I've never built a working dialer from upstream OE directly.
15:46.41pH5exco: the problem is that openmoko had the habit of abandoning their old software faster than you could say 1973.
15:46.46premyginge: looking at the traces, 0xa8/0xac get updated a number of times. Is it consistent with what we're doing on our side ?
15:47.10pH5the only maintainable approach is to hack on software that other devices are using, too, right now.
15:47.13gingepremy: I was just following the code through to see what we are doing
15:47.23pH5that's why I think fso-image is a worthy target
15:47.45gingepremy: it seems pretty close, but the wm driver looks a lot like it does extra stuff
15:47.47pH5or qtopia might be, but I'm not interested in that because I don't like waiting for C++ code to compile all the time.
15:50.40gingepremy: its mapped into two area in the mmu?
15:51.56exco:-)
15:52.53excothe thing is as soon as there's a working sms/phone gui's peple will start using it
15:54.50premyginge: I'm tracing MSM_CLK_CTL_BASE and MSM_SDC1_PHYS which are at 2 different places.
16:01.05pH5exco: sure, so who's going to hack on the current in-development guis? :)
16:01.28excohow much time are we talking about?
16:02.42excowe wouldn't even need the latest stuff imo but primary working phone/sms
16:04.09CPressginge: were you able to ask cr2 about those pictures?
16:04.22gingeCPress: pictures?
16:05.30gingeCPress: oh right, I think dcordes was on that one
16:05.44CPressginge: meh, all the same.. :p
16:06.22excoph5 isn't hacking the wrong approach in the long run
16:06.26gingeCPress: um, I actually have them, the link was posted last night...
16:06.39CPressginge: on the forums?
16:07.11*** join/#htc-linux the_sys0p (n=the_sys0@cpe-67-49-214-162.bak.res.rr.com)
16:08.48pH5exco: call it hacking, coding, developing, whatever. it's important to quickly push changes upstream in OSS so you don't get left behind.
16:11.51excowe wouldn't want that now would we
16:12.01gingeCPress: I thought on here last night... I just scanned through the log and can't see it. Thing is, they are not mine to pass on, I don't think the author would mind, but you know ;)
16:12.21CPressVery true.
16:13.37pH5exco: we inevitably will (all the time) unless we gain a certain momentum.
16:14.43excohow many do we need to be - what tasks -> advertise :-)
16:15.58excoso now you always try to adopt your patches to the latest kernels?
16:16.55pH5exco: it just takes one dedicated individual (with a few days of time) to make a current image work. the more, the better :)
16:17.15excook that's me then
16:17.28pH5exco: I'm trying to push them upstream so I can finally stop adapting them to latest kernels all the time ;)
16:17.56excowell unless the next one appears faster than you can push
16:18.59excoI'm not certain I fully understand the concept ... upstream
16:19.58excoor does it mean once it's upstream you don't need to worry about it anymore
16:20.00pH5exco: the idea is very simple.
16:20.08pH5exactly, when you download the latest kernel from kernel.org or wherever, it always has all the magician patches.
16:20.37pH5and when something is changed by other people in the kernel that affects the magician code, it gets (hopefully) changed by them together with the rest
16:20.50excobut doesn't that at the same time mean the kernel's gonna get huge?
16:21.01pH5exco: the kernel sources are!
16:21.27premyginge: I'll try to trace more things. I've got to go. Bye.
16:21.41*** part/#htc-linux premy (n=pr@73.205.76-86.rev.gaoland.net)
16:21.43excoand we only build specific ones so they're small
16:22.02pH5exco: right.
16:22.30excoso can I/so help you with that?
16:23.01gingeis the wifi on sdio on kaiser?
16:24.56excowhat is your understanding of a working image, pH5?
16:25.09pH5exco: sure, you could download my kernel from git.linuxtogo.org and submit patches to me (or directly to the upstream projects, linux-arm-kernel, lkml, etc.).
16:25.37pH5but as you said, right now it's probably the more important work to make the userspace software at least call and sms properly.
16:25.47cr2kiozen: cat the temp1 data in linux
16:26.29pH5exco: you're asking the wrong person, I'm happy when I have a working lcd screen and ssh login via usb.
16:27.36excoso that works with build from May
16:28.04excoif we build one again I'm certain it still will
16:28.24kiozencr2:
16:28.28kiozenroot@looxc550:/sys/class/adc/ads7846-ssp:temp1# cat sense
16:28.28kiozen982
16:28.52pH5exco: well, sort of. I'm missing touchscreen and suspend/resume support in 2.6.26. once that is done, I'm planning to focus on getting fso-image (or whatever it is replaced with by that time) to work.
16:29.11kiozencr2: max_sense and min_sense is 0
16:29.20kiozencr2: unit is undefined
16:30.28excoso upstream didn't work?
16:30.52pH5I didn't even try yet.
16:31.40excoif they just didn't make new kernels so often :-)
16:33.28excosuspend isn't working here either
16:33.58excowell sorry, it is
16:34.17excospm -d
16:34.25excoapm -d turns it off
16:35.18excoI mean apm -s ofc
16:37.35miknixph5 on haret I see PERSEUS2_IO_CONF definitions on omap registers file. is there a way I could "pdump PERSEUS2_IO_CONF2" ?
16:39.05pH5miknix: pd 0xfffe1078
16:39.21miknixoh.. yeah.. but writing the name would save time :p
16:48.37pH5miknix: why? it's much longer ;)
16:49.49cr2kiozen: does this 982 change ?
16:49.57cr2kiozen: do you see something on temp0 ?
16:50.07kiozenhave to test over a longer time ...
16:50.11cr2ok
16:51.08*** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes)
16:52.39kiozencr2: cat sense
16:52.48kiozencr2: 980
16:53.25*** join/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua)
16:53.28kiozencr2: temp0: 821
16:53.46*** join/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua)
16:58.54dcordes_effbiai: where does it freeze? same as before?
17:00.07kiozencr2: temp1 978
17:00.13kiozencr2: temp0 818
17:00.27kiozencr2: but the device gets warmer
17:05.20kiozencr2: temp1 977
17:05.29kiozencr2: temp0 817
17:05.42kiozencr2:  does that make sense to you?
17:06.27kiozencr2: maybe just drop voltage of a diode
17:07.04kiozencr2: that is ~700mV and -2mV per degree centigrade
17:10.56miknixBabelO_: on the wizard the kbc pull controls are disabled
17:12.37miknixdont know how upstream does it, but I'll have to ifdef the omap850 mux config for the wizard
17:16.52*** join/#htc-linux AstainHellbring (n=Administ@unaffiliated/astainhellbring)
17:27.28*** join/#htc-linux rebo0t (n=rebo0t@d51A55B22.access.telenet.be)
17:27.32rebo0thi
17:29.27*** join/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua)
17:50.03*** join/#htc-linux the_sys0p (n=the_sys0@cpe-67-49-214-162.bak.res.rr.com)
18:03.28*** join/#htc-linux MrBIOS_ (n=aperez@c-76-102-236-252.hsd1.ca.comcast.net)
18:03.29*** join/#htc-linux tsdogs (n=tsdogs@62.123.180.130)
18:09.49kiozendoes anyone know a site like kde-apps for mobile applications?
18:20.31miknixc00121f0:   e3a00074    mov   r0, #116 ; 0x74
18:21.07miknix#116 is enum constant
18:22.02miknixany idea to find which structure that index belongs to?
18:27.08*** join/#htc-linux tsdogs_ (n=tsdogs@62.123.180.130)
18:32.12*** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net)
18:35.01*** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net)
18:36.54*** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net)
18:40.33*** join/#htc-linux AlGe (n=user@chello080109231226.4.uni-klu.teleweb.at)
18:59.12*** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net)
19:10.42*** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net)
19:26.44*** join/#htc-linux rebo0t (n=rebo0t@d51A55B22.access.telenet.be)
19:27.11*** join/#htc-linux LunohoD (n=alex@e180079242.adsl.alicedsl.de)
19:30.44*** join/#htc-linux tsdogs__ (n=tsdogs@62.123.180.130)
19:31.01*** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net)
19:33.58*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
19:36.00*** join/#htc-linux tsdogs__ (n=tsdogs@62.123.180.130)
19:36.13*** join/#htc-linux LanceHaig (n=LanceHai@foresight/member/lhaig)
19:41.46*** join/#htc-linux tsdogs__ (n=tsdogs@62.123.180.130)
20:08.46excopaulproteus: ping
20:24.18*** join/#htc-linux r00t_ (n=chatzill@host-static-89-41-108-127.moldtelecom.md)
20:24.31paulproteusexco, pong
20:44.12*** join/#htc-linux LunohoD_ (n=alex@e180073020.adsl.alicedsl.de)
21:32.45*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
21:42.23*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
21:45.59Marajinginge: 'lo there
21:46.13Marajindcordes_: So I drank 2 hobgoblins and an old tom in your honour
21:46.31Marajindcordes_: The other 6 guinness and 4 double whiskies were for me and me alone though!
21:46.44Marajindcordes_: If I drank anything else, I don't remember
21:49.16Marex:D
21:50.25MarajinMarex: If I drank anything else, that can be in your honour
21:50.30MarajinMarex: But my teeth are numb so
21:50.44MarexMarajin: dont worry about me ;)
21:50.56MarajinMarex: It was a party...
21:51.12Marajinnotices his whisky glass somehow got refilled
22:04.51Marex:)
22:05.17Marexis near to finishing 40kb patch for ucb1400
22:09.32Marajinis near to finishing 0.5litre of whiskey
22:09.46dcordes_Marajin: dude thanks a lot. you must feel like me yesterday all day lol
22:10.08dcordes_the party is still going on?
22:10.11Marajindcordes_: I dunno, my teeth are numb and I either just removed my boots or my feet but I dunno
22:10.57*** join/#htc-linux LunohoD_ (n=alex@e180069009.adsl.alicedsl.de)
22:11.12Marex:D
22:11.46Marexremoving your feet would be pretty painful, I'd be for the first option ;)
22:12.05dcordes_good situation to go to the dentist and get some root treatment or drilling
22:12.14dcordes_with the numb teeth
22:12.14Marajinheh :P
22:12.22Marajinbut the dentist would pass out from my breath
22:13.20miknixhum..
22:13.44miknixdoes someone knows how to add a gpio to the gpio list on haret?
22:13.47dcordes_I hope you didn't harm the kaiser
22:14.08MarajinI dunno where the kaiser IS
22:14.11Marajinbut I think it'salive
22:14.28Marajinwonders around the room going "heeeeere kaisy kaisy kaisy.. come to daddy"
22:14.45dcordes_I try and leave it at home when I go get drunk
22:14.55Marajinyes but the party was in my garden
22:14.59MarajinI was AT home
22:15.13Marajinfound it
22:15.14Marajinit's ok
22:15.33dcordes_try and get the nand driver workign :D
22:15.55Marajinhah
22:16.11Marajinmate if I code in this condition, I may inadventently give the kaiser aI
22:16.12Marajin*AI
22:17.21dcordes_it will probably turn into a mad tyran then
22:17.32dcordes_TyRnII
22:17.36Marajinhaha :P
22:17.39Marajincould be dcordes_
22:17.47dcordes_bwaha
22:18.21Marajindcordes_: Maybe it'd just turn out to be a very effeminate C3PO type
22:18.27Marajindcordes_: It'd figure for me
22:26.56dzohi all, i think i finally have the msm sd driver working.
22:28.19Marajindzo: I'd give you hot sex but I'm too drunk to find you! =)
22:29.01dzoworks fine for fat partitions but crashed when i tried an ext3 partition, all that it needed was the max block size changed.
22:30.12dcordes_dzo: sounds relatively. trivial I hope you didn't hack too long on it :) did you try using a loopfile on a fat partition as rootfs?
22:30.42dcordes_congrats btw. xda will party
22:31.01dzonot yet, only started working 5 mins ago.
22:31.30dzoi'll put patches on web site, this is with 2.6.25.
22:31.42*** join/#htc-linux the_sys0p (n=the_sys0@cpe-67-49-214-162.bak.res.rr.com)
22:31.46dcordes_odd that it only works with fat. but I have no idea about this anyway
22:32.21dzopossibly still some problem with blocksize.
22:32.37dzobut dma doesn't hang now
22:32.49dcordes_ok that's nice. unfortunatley it doesn't work yet on kaiser. mmc gets clock and is initialized without errors, then sdio fails to load
22:33.18dcordes_with error -21
22:33.26dzoi've updated the clock code a bit too.
22:34.01dzoonly tried on my 2G sd card, others may not work.
22:34.20dcordes_I have a 1G to test
22:34.54dcordes_http://rafb.net/p/KTPoKM46.html that's how far ginge got
22:35.02MarajinI have a 4G and a 2G
22:35.07dzoalso only works with mmc debugging enabled, probaby a timing issue.
22:36.56dcordes_...on the kaiser. it doesn't work for you when debugging is off?
22:37.33dzoalso needs irq code changing to get edge triggering for the sd interrupts.
22:41.01dzook, diffs are there now. only changes are in vogueirq.c, msm_sdcc.c and clock-msm7x00.c
22:41.55gingehi all
22:42.09dzohi ginge
22:42.24gingeooo fresh meat. You have been busy dzo :)
22:42.55dzoyes, my phone is getting tired of all those reboots!
22:43.05gingeI know what you
22:43.07gingeman
22:43.10ginges/man/mean/
22:44.14gingedzo: without looking at your patches for inspiration, can you give us any pointers?
22:45.24dzouse my new clock code and irq code and change max_block_count in msm_sdcc, then it should work, dma and all.
22:45.43gingeokay, will do. thakns
22:47.24gingedzo: I had to change a sd clock line to get it to init the host sdio, and premy is convinced we are writing the wrong registers. premy reckons a0 = a8 and a4 = ac .not convinced myself
22:49.15dzoa0 and a4 are for sd1 and a8,ac for sd2 my mmc is on sd1 nothing on sd2, i think you have wifi sdio on sd2
22:49.38gingeI tend to agree with that assesment
22:50.11dzoi've more or less worked out the bits in a0 and a4, loot at comments in my new clock code.
22:50.18dzos/loot/look/
22:50.23gingealthough our a4 clocks are defintely different
22:51.17dzoare they not in the list, let me know what they are and i can work out what they mean.
22:52.05gingeso far I think the other clocks are the same, but this one...
22:52.05ginge//    {23000000,0x20000-0xb,0xfff60b79},
22:52.05ginge{23000000,0x20000-0xb,0xfff60079},
22:52.25*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
22:52.31gingebrb
22:54.14dzoi think that means 20MHz, 0xb is 1+DIV from 400MHz clock. 79 means divide by 2 so 400/20=20MHz
22:54.36*** join/#htc-linux NetRipper (n=netrippe@netripper.nl)
22:55.24dzoi just disassembled sdhc.dll and found the values in there.
22:59.51dcordes_:)
23:00.27dzoyou could try changing fmax and fmin at the start of msm_sdcc.c to get different clock values.
23:00.43dzoi have 100000 and 2000000
23:00.51dzofor min and max
23:02.54dzojust tried again with dma debugging enabled, now mounts ext3 partition, prints loads of crap though.
23:06.31dcordes_that's just great
23:09.43dcordes_dzo: I wonder if this current code of yours will find the sdio wifi on titan
23:10.46gingefullscreen keyboard too eh?
23:14.03dzoi started the fskbd but haven't had time to finish it.
23:16.16*** join/#htc-linux AstainZZZZZZ (n=Administ@unaffiliated/astainhellbring)
23:27.42gingeokay, well going for a build abd run
23:28.40gingedzo: is the asm in entry.S important here?
23:31.03dzoyou mean entry-macro.S, i don't think that changed. I think it is wrong though and that could be the cause of the timing problems, it does rising and falling edge triggered ints rather than just rising so the code gets too many interrupts.
23:31.48gingeless than successful first test. the kernel oopsed in sdcc_irq
23:32.05gingejust after sending CMD0
23:32.20dzoare you using 2.6.25?
23:32.40gingeno, I tried reading between the lines on implementing the patch
23:33.00dzomsm_sdcc changed a lot between 2.6.24 and 2.6.25.
23:33.27gingeyeah, I noticed :/
23:33.43dzotry the 2.6.25 sdcc.c in 2.6.24, might work.
23:34.43dzoyou could just comment out the check at the start of sdcc_irq, thats caused by the triggering problem i was talking about.
23:34.58gingethats what I did
23:35.28gingehmm. no polling_request in .24
23:35.45dzoi had some code in there to just return from the irq but that doesn't work in 25
23:35.57dzopolling is not used anyway
23:37.32dzotry adding the PRINT_IO and PRINT_FLOW flags at the start of dma.c too
23:38.11gingeI have those in already, I added them for more verbose debugging
23:38.21dzoi'm going to change the entry-macro to see if i can get edge triggering working correctly.
23:42.06*** join/#htc-linux the_sys0p (n=the_sys0@cpe-67-49-214-162.bak.res.rr.com)

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