IRC log for #htc-linux on 20081028

00:00.10NetRipperdcordes, but i feel like im forgetting something that has to do with kernel .config
00:01.13NetRipperdcordes, im too tired to remember, try removing PPP support if you dont get a screen
00:01.46NetRipperdcordes, i have the linuxtogo git cleanly checked out too, i'll start with a fresh .config tomorrow to see what im forgetting and document it ;)
00:01.56*** join/#htc-linux ali1234 (n=al@robotfuzz.co.uk)
00:02.34dcordesNetRipper, unfortunately the only msm device I have is the kaiser
00:02.54NetRipperok
00:03.29NetRipperdcordes, out of curiousity, what are you going to do with the kernel once you compiled it?
00:03.32NetRipper:)
00:04.01*** join/#htc-linux fnord (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
00:04.38*** join/#htc-linux ali1234 (n=al@robotfuzz.co.uk)
00:04.50dcordesNetRipper, I don't wanna compile it, only want to make sure that the patch you provided has everything needed to get where you guys are now.
00:06.06BruteSource5:01 <miknix> No one else develops anything that really works on any htc device besides linwizard anyways
00:06.35BruteSourcesorry i know thats off topic, but its funny
00:07.14NetRipperBruteSource, well, i wont claim we develop stuff that works on "any" htc device :)
00:07.45dcordescome on
00:07.53BruteSourcelmao
00:08.17NetRipperdcordes, we should aim for a clean board-raphael or similar
00:08.27dcordesNetRipper, http://pastebin.com/d4d9bf6cd g1 lsusb
00:08.37BruteSourcewhere did they get there original kernel from anyways?
00:08.52dcordesNetRipper, aim for it? how about cp arch/arm/mach-msm/board-halibut.c arch/arm/mach-msm/board-raphael.c
00:09.16dcordesthen add the raphael line in arch/arm/mach-msm/Makefile
00:09.17NetRipperdcordes, exactly, but also clean out the mess hehe
00:09.21miknixBruteSource, you don't even know how to do proper defamation to people
00:09.44NetRipperdcordes, anyway im too tired, and off to bed ;) i'll make a start tomorrow
00:09.56NetRipperif someone else hasnt already by then ;)
00:09.58dcordesgood night man
00:10.23NetRippergood night
00:11.25BruteSourcedefamation, lol now im forging logs?
00:12.23miknixlogs, where?
00:15.01BruteSource? your confused, bye now.
00:17.48*** join/#htc-linux WyrM (n=wyrm@189.13.113.187)
00:22.40*** join/#htc-linux mwringe (n=matt@CPE001cf0547f78-CM0016923fe04a.cpe.net.cable.rogers.com)
00:30.53*** join/#htc-linux BruteSource (n=BruteSou@m690e36d0.tmodns.net)
00:31.00mwringeanyone know how to get the haret to run in system mode? I keep on getting errors about haret not running in system mode and major functionality will be unavailable
00:31.21BruteSourcei always get that s well
00:31.36BruteSourcenever kept me from using anything
00:31.58mwringeBruteSource: so you can get linux to boot even with that error?
00:33.45BruteSourcewell i just remember getting that error once
00:34.09BruteSourcewhen do you get it? after hitting run?
00:34.13*** join/#htc-linux alo (n=QUAKEIII@118.Red-83-49-136.dynamicIP.rima-tde.net)
00:34.47mwringeyes, after hitting run
00:35.00dcordesmwringe, maybe you must "sign" the application. check forum.xda-developers.com and wiki.xda-developers.com
00:35.00mwringeI get the error everytime I try to run it
00:35.12dcordesmwringe, there must be some tools out there for that purpose
00:35.21dcordesI never down that myself but I know such things exist
00:35.25*** join/#htc-linux ALoGeNo (n=QUAKEIII@118.Red-83-49-136.dynamicIP.rima-tde.net)
00:35.30dcordess/down/done/
00:36.06mwringeok, I will look into how to sign haret then
00:36.56*** join/#htc-linux Spicypixel (i=Spicypix@cpc4-linc8-0-0-cust509.nott.cable.ntl.com)
00:38.03BruteSourceya i never had to sign it but i hae run the surreal networks app unlock
00:39.39dcordesBruteSource, what's that?
00:40.42BruteSourcejust some app i found so i wouldnt have problems with unsigned apps
00:41.24BruteSourcei couldnt install a few things so i found that on xda and it worked like a charm
00:44.53mwringeBruteSource: thanks so much, it now gets to the loading linux part :) woot
00:45.39dcordesmwringe, what's your device?
00:45.51mwringes640 (iris)
00:47.18dcordesmwringe, ah, an msm7500. are you trying to boot the vogue kernel?
00:47.23mwringeyep
00:47.26dcordescool
00:47.39mwringeit reboots the device rather quickly though :)
00:48.36*** join/#htc-linux chazin (i=gentoon@host193-123-47-78-dhcp.bshellz.net)
00:48.40mwringeright after go go go..
00:48.55*** join/#htc-linux SanMehat (n=san@nat/google/x-50b325a6ec434b62)
00:48.57dcordeswatchdog
00:49.03szsoftwarethe msm-htc-linux family is getting bigger :-)
00:49.47chazinhampsters are pretty slick, tad
00:50.01BruteSource?
00:50.08dcordesszsoftware, well there are quite some rather less distributed models which only need a few minor tweaks, but hence the lack of people who try such, that never gets done
00:50.41dcordesszsoftware, somebody once lurked in and asked about niki, we helped him polling gpios then never heard anything
00:50.56dcordes..for instance
00:50.59BruteSourcemwringe what did you do?
00:51.18dcordeschazin, lol
00:51.38BruteSourcewhat does that mean?
00:52.17dcordesmwringe, I could think of the smd code being your problem
00:52.31mwringeBruteSource: I havn't done much, I got that app unlocker installed, then tried the haret with the vogue files. It get to the go go go part and then the device reboot back to windows
00:53.01dcordesmwringe, maybe vogue-smd writes to wrong regs which confuse your arm9 who then causes the total reset
00:53.12mwringehmmm
00:53.17chazinjust butter me up with funtots, tastes like happy!
00:53.21dcordesmwringe, you lurked into the code yet?
00:53.48szsoftwaredcordes: yes, that really a forgiven chance to set up the "Weltrevolution"
00:53.50mwringedcordes: no, not yet, I am very early into looking into how to get this to work
00:54.06BruteSourcechazin?
00:54.11szsoftwaredcordes: damn, the Iris has real keyboard
00:54.38dcordesmwringe, alright you should try disabling different things
00:57.20dcordesmwringe, for instance, try not booting the way it is done in the zipfile from the vogue website.
00:57.33dcordesmwringe, try a way that doesn't use sd card
00:57.35szsoftwaredcordes: are polaris versions out there with digital compass?
00:58.09dcordesthe only device I know with compass/magnetrometer is the g1
00:58.20dcordesdon't know about other
00:58.43szsoftwaredcordes: ok, so there is a information wrong int this doc: http://blog.cti-miami.com/pdf/HTC.pdf
00:59.26dcordesshrugs
00:59.30chazinsmuffit fred
01:00.09dcordes~botsnack
01:00.09aptdcordes: :)
01:00.15dcordeswrong bot :P
01:01.14dcordesmwringe, check this out http://linuxtogo.org/~lgorris/kaiser-bootkit/ only an initrd is used which doesn't do any SD card magic
01:01.23szsoftwaredcordes: do you know the shangri-la?
01:01.34dcordesmwringe, might be better for debugging. the kernel there is useless for you though since it is for the kaiser
01:01.36dcordesno
01:01.58dcordesgood night
01:02.16chazinya im  bot on irssi on a g1 lol
01:02.49BruteSourcewhy do you say such weird things?
01:04.14BruteSourceno version response
01:05.19BruteSourceoh there we go, he is on gentoo not a g1
01:06.45szsoftwaredcordes: ahh, now I understand htc shangri-la=x9500=shift
01:07.03szsoftwaredcordes: nice-device
01:11.00*** join/#htc-linux surgex (i=surge@pool-98-118-165-224.bflony.fios.verizon.net)
01:11.15BruteSourceis anything faster msm7201a in a phone right now
01:15.14gingea 16 transistor cpu is faster
01:15.59gingesorry, I just fell out with the msm again ;)
01:16.34*** part/#htc-linux WyrM (n=wyrm@189.13.113.187)
01:22.48BruteSourceso thats a no
01:26.20*** join/#htc-linux BHSPitMonkey (n=stephen@unaffiliated/bhspitmonkey)
01:48.06ahmenihrm, tried booting the Vogue build from http://it029000.massey.ac.nz/vogue/ but I'm just getting repeated "SD Init Retry" errors
01:52.15ahmeniwith mmc0:
01:52.37ahmenierr, with "mmc0: init card failure (err = -123)"
02:18.56*** join/#htc-linux BruteSource (n=BruteSou@m130e36d0.tmodns.net)
02:23.39tmztahmeni: you have polaris?
02:23.58tmztback from class
02:26.14tmztahmeni: iris? never mind
02:35.57*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
03:00.27parmasterkasier doesn't have the SD does it?
03:21.23tmztyou mean working?
03:22.50parmasteryah
03:24.12ali1234tmzt: any ideas on my bluetooth troubles?
03:25.02BruteSourceali1234 how do you end basic at commands to the modem?
03:25.18BruteSourcesend
03:25.35ali1234BruteSource: with the existing gsm driver you mean?
03:26.19ali1234echo -e "AT\r" > /dev/gsm
03:26.33BruteSourcewow
03:26.34ali1234cat /dev/gsm
03:26.37BruteSourcethanks
03:26.56ali1234it's mostly useless because all real apps want a proper tty
03:27.09ali1234but you can make (silent) phone calls to people :)
03:27.13BruteSourcewe cant even read or write to the gsm device node
03:27.35ali1234not simultaneously no
03:27.47BruteSourcehuh?
03:28.04ali1234like if you try touse minicom etc it will open it rw which does not work
03:28.24BruteSourceim just saying we cant use the node at all
03:28.43ali1234maybe your gsm is mapped to a different region in memory
03:29.20BruteSourcedo you have to adress anything to haret
03:29.33ali1234no
03:30.07ali1234you have to dump memory and look for the GSM firmware signature
03:30.20BruteSourcejust to send at commands?
03:30.30ali1234no to adapt the driver to your device
03:30.32BruteSourceoh to find the gsm
03:31.44ali1234i have a little tool for dumping ram which is better than the devmem command (it can dump regions)
03:31.46tmztdoes he have /dev/gsm compiled in?
03:32.17BruteSourcewell if penguinz comes in maybe he will be interested
03:32.26tmztdid you find the difference between _h4 and _ll? look in the kernel
03:32.41ali1234tmzt: they are two totally different protocols it seems
03:33.08tmztmy understanding ls lowlevel is a basic debugging support supported by some chips
03:33.25ali1234ah right well LL is a lot more noisy in dmesg
03:33.53ali1234it looks like it is doign something. maybe our kernel is bugged :)
03:35.52BruteSourcethis your new patch?
03:36.57ali1234BruteSource: i had to patch bluez-utils to revert part of the last changes to it to get it to work again
03:37.15ali1234without that it uses a different protocol to talk to the bluetooth chip, and it doesnt work properly
03:37.17*** join/#htc-linux penguinz (n=opera@66-168-215-122.dhcp.athn.ga.charter.com)
03:37.34BruteSourceoh i see
03:37.55BruteSourceali1234 what as the comand to send a basic at comand again?
03:37.57ali1234but the bluez devs said the change they made was correct, so i am at a loss really
03:38.04BruteSourcecommand
03:38.18ali1234echo -e "AT\r" > /dev/gsm
03:38.35ali1234penguinz: http://vivien.chappelier.free.fr/typhoon/gsm.html
03:38.49penguinzali1234, you used mode=tornado right?
03:38.53penguinzmodel*
03:39.04ali1234penguinz: er... hang on
03:39.07BruteSourceoh it is the same thing, sorry penguinz
03:39.12ali1234i think in our tree there is only one possible model
03:40.35BruteSourceso this verifies that the gsm driver does not work on the xcalibur as is?
03:40.56ali1234penguinz: yes ours is hardcoded to be the same as tornado
03:41.38ali1234penguinz: you probably just need to modify WIZARD_FIFO_BASE_PHYS if you are booting from windows mobile with radio enabled
03:42.04ali1234penguinz: if you are booting any other way you will need to reenable firmware loading and dump your radio roms
03:42.35penguinzYes, I tried booting from windows with the radio on.
03:43.19ali1234penguinz: you need to dump memory and grep for gsm rom signatures :)
03:44.25ali1234i wrote a little tool to do it in linux cos haret is a bit annoying to use
03:44.28penguinzI'm guessing that can be done with haret?
03:44.38ali1234can be yeah
03:44.39penguinzoh ok, if you could provide me with that it would be helpful
03:44.52ali1234the rom stays in memory if you boot from windows
03:45.02BruteSourceswetland says they did have all gsm functions working for omap850
03:45.18BruteSourcejust have not published the code yet
03:45.37BruteSourceand dont know when they will =(
03:46.56ali1234penguinz: http://pastebin.com/m789c4fa3
03:47.54ali1234penguinz: devmem3 <addres> <length> | hexdump -C | grep GSM
03:49.35BruteSourcethat sucks to know the code is out there we just cant see it
03:50.08ali1234i guess there is no gsm driver in the E28 release then?
03:50.50BruteSourcefor omap?
03:50.54ali1234yeah
03:51.48BruteSourcei dont think so
03:52.00BruteSourcewouldnt you guys have jumped on it?
03:52.22ali1234we only found it a couple of days ago
03:52.34BruteSourceoh
03:52.47BruteSourcei havent looked at it, i thought it was all msm
03:52.57ali1234not android
03:53.01ali1234nothing to do with it
03:53.10ali1234source release of moto A810
03:53.27BruteSourceoh guess i have no clue what your talking bout lol
03:53.45ali1234i think it's the same as the purple-something that penguinz found
03:54.38BruteSourcewell google has what we need and swetland said he might be able to get  rough copy released in due time
03:55.17ali1234omap is still a fairly active platform. i would guess there will be some android devices usng it soon enough
03:55.21ali1234just a guess though
03:56.47BruteSourcewell ya i dont know why they would have been working on omap stuff if they werent planning on something
03:57.17tmztyou have heard of the iphone, right -)?
03:57.29ali1234iphone is omap?
03:57.37swetlandwe were. we discontinued the project and moved to msm7k for the first product
03:57.48tmztno
03:58.23ali1234tmzt: don't understand your comment then :)
03:58.26BruteSourcewhat as the planned omap850 device?
03:58.49BruteSourcewas
03:59.15ali1234BruteSource: there probably never was a specific phone, just a dev board
03:59.25tmztI don't know what android's product plans were, but if they resemble the plastic model first shown, they likely changed when iPhone became the competition
03:59.42ali1234ah yeah. graphics acceleration :)
04:00.05tmztany omap850 with 3g?
04:00.06BruteSourcei looked at global clock thing in android today and the time was right but it showed t as light here when it was dark really
04:00.14swetlandhttp://www.phonemag.com/android-at-mwc-hands-on-with-qualcomm-arm-and-ti-02941.php
04:00.15AstainHellbringso whats the lastest fun we havng?
04:00.29swetlandhas a picture or two and some video of the old 850 based hardware
04:00.52swetlandif you see anything in the source referring to "sooner" or "sardine", that's what it's for
04:00.54BruteSourceswetland huh?
04:01.10ali1234haha imagine pulling that out on the bus to check your emails
04:01.11BruteSourceoh sooner is omap850
04:01.57swetlandI actually liked the device, but the dream/g1 is obviously much fancier
04:02.29ali1234was refering to the huge dev board in the first photo...
04:02.50tmztI have moto q and wanted dash, so I think I would like the one I saw (engadget)
04:03.19swetlandah, yes, the qct SURF (aka halibut) is not as portable as some would like
04:03.42swetlandyou can plug a regular desktop phone handset into it though, which is something you can't do on most mobiles, so it's got that going for it
04:04.07tmztsorry, I mean the widescreen qvga pictured early on engadget (and I think in the first sdk qemu)
04:04.23tmztcool
04:04.50tmzthow are things going now? it sounds like you've been busy (in #android and elsewhere)
04:05.22BruteSourcesomeone in android was telling me somthing about ti dsp and maybe having omap 850 drivers
04:07.59swetlandthere is a dsp on the 850 but it's owned by the arm7 baseband core
04:08.08swetlanddon't believe there's any way to make use of it from the arm9
04:08.18swetland(and of course the modem does kinda need it to do modem things)
04:09.16BruteSourceso where did you guys get your start for the gsm stuff?
04:10.03tmztlinwizard has code for accessing the gsm core through a shared memory interface, like on msm, without running code on arm9
04:10.45tmztit just is not able to be opened in read/write (full duplex) mode, and it currently limited to AT commands
04:11.00ali1234tmzt: yeah it came from the work done on tornado and typhoon (850 and 730 respectivly)
04:11.21ali1234i guess those drivers were made by haret reverse engineering
04:15.45BruteSourcei meant wetland lol
04:15.54BruteSourceswetland
04:16.45swetlanddocs from TI, discussion with the oem partner
04:17.48BruteSourceoh the official way lol
04:19.05swetlandyes, yes, we cheat. it is true
04:21.24BruteSourcehey right now id steal to get this goin
04:21.36BruteSourceid punch a baby
04:22.37ali1234lol they should use that for g1 marketing campaign
04:23.10BruteSourcelol what?
04:23.27ali1234"i phone is ok, but i'd only punch a baby for g1"
04:23.36tmztsaw the ad, thought bp?, then "ask jeeves" (no, they have no money), saw the dali clock, and GOOGLE!
04:24.36BruteSourcelol!
04:25.01BruteSourceali1234 and i really did lol my dog barked at me
04:27.41BruteSourcei think that punch a baby comes from dane cook
04:28.53ali1234if you had a choice between getting a g1 or a wii (both free, but you can only pick one), which would you pick?
04:30.46BruteSourcea wii
04:30.57BruteSourceeven though i already have one
04:31.07BruteSourcebut the g1 is worth more
04:31.09BruteSourcehmmm
04:36.00tmztali1234: so what's going on, penguinz is trying to get excalibur modem working?
04:36.33ali1234tmzt: i think so
04:38.31parmasterexcalibur is gsm or cdma?
04:38.37tmztgsm
04:38.58ali1234parmaster: omap850 only goes up to gprs+edge
04:39.05tmztparmaster: we found some patches for uni, I think cr2? is trying to get them on another pxa device
04:39.06parmasterah ok
04:39.21parmastertmzt: patches regarding?
04:39.32tmzt2.6.26 kernel
04:39.36parmastersuhweet
04:40.08parmasterbetween cr2 and babelO i'm sure they'll be able to get other pxa's working
04:41.05tmztit looks like asic3_mmu needs fixed though, to get it as usable as the hh.org kernels, at least
04:48.05parmasteri thought the newest patches found were for 2.6.23 from that poky project or whatever
04:48.46tmztyeah, they found the newer version of that
04:48.58parmasterso it is from the poky patches
04:49.01parmastercooool
04:49.06BruteSourceomg hot fuzz is on demad yes
04:49.12BruteSourcei havent seen it yet
04:49.45parmasterBruteForce: who's your tv provider
04:50.57BruteSourcecomcast
04:51.32parmasterhow's the service so far?  like the amount of on-demand available
04:51.35parmaster?
04:51.58BruteSourceawesome always used it, nothing really compares
04:52.06parmasterglad to hear it ;)
04:52.23BruteSourceya i have the premium tripple play
04:52.31BruteSourceevery channel
04:52.44BruteSourcei havent watch live tv in over a year lol
04:52.58BruteSourceso much on demand content
04:53.07parmasteryeah i was very impressed by the on-demand buildout.
04:53.27BruteSourceits incredible
04:54.30parmasterrolling out DOCSIS 3.0 now also
04:54.41BruteSourcebut now im unemployed
04:54.56BruteSourcedocsis?
04:55.29parmasteryes its the cable data protocol standard
04:55.33parmasterParts of New England, including Metro Boston and Southern New Hampshire,
04:55.34parmasterAreas of Philadelphia and New Jersey
04:55.34parmasterTwin Cities, where wideband was launched earlier this year.
04:55.49parmasterthose areas are where we are creating the new buildouts.
04:55.59BruteSourceaw
04:56.31BruteSourceya im on the westcoat, gotta wait for comcast trickle down
04:56.39BruteSourcesince its based in phili
04:57.42parmasterwhat would you think of 50 mbps down and 10mbps up?
04:58.19BruteSourcealready have it
04:58.23BruteSourcefios
04:58.38parmasterhaha, what do you pay for fios per month
04:58.44BruteSource14 up 62 down
04:58.55BruteSource55
04:59.17BruteSourcebut lately i have just my phone
04:59.58parmasterthats not a triple play for 55 through verizon for sure
05:00.09BruteSource15K Down if im lucky
05:00.34BruteSourceno i dont use the comcast net roommate does
05:00.56parmasteranyway.. its love for the masses now that infrastructure is in place
05:01.30BHSPitMonkeyI'll pay someone a shiny endorsement if they can get android running on the strtrk!
05:01.50tmzthow's that going?
05:01.54BruteSourcelmao
05:02.16BHSPitMonkeyEndorsement == high praises of you in my facebook status for at least a day
05:02.24parmasterdo any other HTC's have tvout besides the raphael?
05:02.32BHSPitMonkeyIt's a pretty sweet deal, I'd jump on it if I were you
05:02.46tmztyou have omap?
05:03.29BHSPitMonkeytmzt, moi?
05:03.36tmztyeah
05:03.49BruteSourceeven if you g it going you will have no phone functions, just to let ya know
05:24.04BHSPitMonkeytmzt, sorry, I got distracted by a moth.
05:25.01*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
05:26.29parmasterhi goxboxlive
05:27.09BHSPitMonkeytmzt, think I should give something a try?
05:28.12tmztBHSPitMonkey: I was only asking if it was omap
05:28.57goxboxlivehji
05:29.18BHSPitMonkeytmzt, sorry, forgive my novice-ness in this arena.  Wikipedia seems to believe it's omap.
05:29.25tmztBHSPitMonkey: I know we talked about it
05:29.31tmztBHSPitMonkey: ok, does haret run at all?
05:30.43BHSPitMonkeytmzt, I've run haret before, but it seemed to be suited for a larger display area than my phone's LCD... the interface was difficult to work with
05:31.01BHSPitMonkeyAnd it was impeding my normal usage of the phone, so I uninstalled it
05:31.02tmztyeah, but you should only need two buttons, run and listen
05:31.25tmztit should't come back after a reboot
05:31.40tmztbut you can leave the .exe there, it shouldn't need to be installed
05:31.49BHSPitMonkeyYep, I did try running a script meant for another device to no effect
05:32.04tmztyou tried wizard kernel?
05:32.11tmztyou also said it was qvga
05:32.30BHSPitMonkeytmzt, well, at the time it kept stealing focus every few minutes I left it minimized.  Yes, qvga.
05:32.58tmztyeah, mine does that too (randomly) but not after killing it or rebooting the phone
05:33.46*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
05:34.01BruteSourceharet?
05:34.21tmztyes, it seems to be related to something happening on the socket
05:35.00BHSPitMonkeyI want to be using the latest version off their official site, right?  Not a variant somewhere else?
05:35.10tmztif it works
05:35.16tmztif not, try gnuharet
05:35.23BruteSourceyou only need focus long enough to hit run anyways, right?
05:35.44tmztor listen, but I think it listens by default
05:35.46BHSPitMonkeyI hate that the SD is under the battery
05:36.09BHSPitMonkeyBruteSource, the problem isn't that it loses focus, it's that it regains focus on its own after a while
05:36.20BHSPitMonkeyso you do have to kill it once you're finished with it
05:36.21tmztkilled nokias game phone
05:36.40BHSPitMonkeyWhat did?
05:36.47tmztcard under the battery
05:36.53parmasterBHSPitMonkey: you talking about strtrk?
05:36.53BHSPitMonkeyN-Gage?
05:36.57BHSPitMonkeyparmaster, yessir
05:37.07tmztin a device that was supposed to run games from different sd cards
05:37.23BruteSourcewhy would you want it open anyways?
05:37.27BHSPitMonkeytmzt, I own an N-Gage QD, and the MMC slot is unencumbered
05:37.48BHSPitMonkeyThat's the only device that comes to mind when you say "nokia's game phone" :P
05:37.54tmztoh, that wasn't it then
05:38.03tmztQD was the first one?
05:38.07BHSPitMonkeysecond
05:38.28BHSPitMonkeythe first was a taco-shape, and it didn't support hot-swapping the card.  (The QD did)
05:38.56tmztyeah, I have another version of the qwerty taco phone, need to get a new case for it
05:39.12BHSPitMonkeyPeople give the N-Gages a hard rap, but I enjoyed it more than any other phone I've had I think
05:39.15tmztit also has the sd under the battery with sim card
05:39.56BruteSourceit took me a week to find my sd slot
05:40.08BHSPitMonkeyS60 was a really fun platform.
05:40.10BruteSourcefor a few days i swore it didnt have one
05:40.40BruteSourcei had s60
05:40.42BHSPitMonkeyBruteSource, heh, you have to peel off the number pad to get to it!
05:40.51BruteSourcenokia 6600
05:40.54tmztoh well, iPhone/android verses psp+ds up next
05:40.56BruteSourcegeat phone
05:41.13BruteSourcei had ssh irc and everything
05:41.13BHSPitMonkeyPSP owns!!1
05:41.39BruteSourcethe ssh client was actually faster than the one i have now on my excalibur
05:41.44BHSPitMonkeyBruteSource, I had my N-Gage getting internet over bluetooth, and having a VNC client running :D
05:42.32BruteSourcesymbian is awesome i hope it never dies
05:42.42BHSPitMonkeyAn added plus was the fact that N-Gage games were crazy cheap for me because I used the phone primarily after its market failure ($2/game at gamestop)
05:42.59tmztlet's see what linux looks like on n95/n06 compared to symbian first
05:43.05BHSPitMonkeyGot a really good Sonic game that way.
05:43.10BruteSourceya it tok what a month for the gaming to flop?
05:43.42BruteSourcegd i want a n95
05:43.49BruteSourcegod
05:44.00BHSPitMonkeyBruteSource, honestly, it provided a lot more enjoyment from a phone than anything else I'd seen... the problem is they tried to compare it to the DS and such
05:44.06BruteSourcesuch a sweet piece of hardware
05:44.56BHSPitMonkeyIt was one of the few phones I've owned that allowed using the sound recorder to record phone conversations by default, too
05:45.21BruteSourcenow theres an 8gb flash version as well
05:45.33BHSPitMonkeyMade for some fun prank calls in high school, when combined with speakerphone
05:46.08tmztn96, not n06
05:46.39tmztif someone could get this zip file: symb2and.blogspot.com
05:46.59BruteSourcen06 i dont even know what that is?
05:47.02tmztor and2symb
05:47.11tmztn96
05:47.24BruteSourceyour confusing me
05:47.25tmztI don't know if it's omap850, I'm hoping it's something faster
05:47.47ali1234!!!!!!!!!
05:48.06ali1234going through E28 source, i found a driver for "OMAP730 Common Shared Memory Interface"
05:48.24tmztnice
05:48.48ali1234that's aka gsm driver
05:48.56tmztyeah
05:49.27BruteSourcetmzt im talking about this http://www.phonescoop.com/phones/phone.php?p=1325
05:49.30tmztif it's the same on omap850, of course
05:49.46ali1234tmzt: the hardware is compatible
05:50.02tmztok, I'm talking about nokia n95/nokia n96
05:50.10ali1234the question is, does the radio firmware have the same interface?
05:50.25tmztyeah, that's what I mean
05:51.02BruteSourceit is a nokia n95 with 8gb flash
05:51.19BruteSource332 mhz proc
05:51.20tmztthere is n95 with 8gb
05:51.26BruteSourcedunno what type
05:51.27tmztbut this is newer
05:51.42tmztlook on engadget
05:51.47BHSPitMonkeyoh no
05:51.53BHSPitMonkeyI've forgotten how to open this microSD compartment
05:52.20tmztit has microSD under the battery?
05:52.38BHSPitMonkeyit's actually under the sim
05:52.39tmztthis is 3125 (cingular) right?
05:53.43BruteSourcethe 96 is that terrible sliding design that looks more like a camcorder than anything isnt it?
05:53.43BHSPitMonkeyI'm looking at the SD, yet I have no idea how to get it into my hands :(
05:53.43BHSPitMonkeytmzt, yeah.
05:53.43BHSPitMonkeyI have the manual here saved I think
05:53.44BHSPitMonkeyindeed I do
05:53.44tmztpull a little to one direction?
05:54.16tmztI've seen embedded microSD with bga on bottom, I would like to see a click-in (down) version
05:54.18BruteSourcewow tmzt i havent seen that
05:54.26BruteSource16gb flash
05:54.29BruteSourcenice
05:54.32BHSPitMonkeyoh
05:54.40BHSPitMonkeytmzt, it took better leverage than I was using...
05:55.44BruteSourcetmzt seems it almso 100mhz slower though
05:55.50BruteSourcebut arm9
05:56.19tmztwe can dump the omapfb if you can get a connection with haretconsole, I really need to make a xda wiki for that
05:56.40BruteSourcelol deja vu tmzt
05:57.01tmztthat's it, I'll look for your nick in the logs
05:57.35BruteSourcelook for timings
05:57.48tmztartemis and pharos are the same as wizard, we found out?
05:57.49BruteSourceor dotclock
05:58.26tmztthe .c program was a lot later than that, and it needs taken out of the log anyway
05:58.54tmztyou remember how to get the keypad codes? (unless it's gpio or i2c)
05:59.46parmasterroot@htcblueangel:/dev$ chown uucp.uucp ttyS0
05:59.46parmasterroot@htcblueangel:/dev$ cu -l /dev/ttyS0 -s 115200
05:59.46parmasterConnected.
05:59.46parmasterOK
05:59.46parmasterate1
05:59.46parmasterOK
05:59.48parmasteratz
05:59.50parmasterOK
05:59.50BruteSourcewow hot fuzz is gorry
06:00.07tmztparmaster: connected to? modem
06:00.19parmastergsm modem accepting AT commands in angstrom is > *
06:00.40tmztparmaster: you used the htcuni patches? or got modem on hh.org?
06:01.07parmasterhowever, someone was telling tall tales when they told cr2 that cdma modem was working also.
06:01.09tmztand you are using n_htc?
06:01.13parmasteryep
06:01.24BHSPitMonkeyMaybe messed up my phone.
06:01.34tmztoh, your on gsm ba now?
06:01.34BHSPitMonkeyOkay, it's fine now.
06:01.50parmasterthis is a standard build for a blueangel with phone working through AT GSM commands etc
06:02.29tmztyou can try gprs and see if it will do ppp over the same line
06:02.31parmasternow, boardid 4 of the blueangel aka the Harrier.. is cdma modem
06:02.35parmasterentirely different
06:02.41parmastertmzt: it does.
06:02.55tmztcool, but you are on gsm?
06:02.57parmasterthats how we get the phone's data connection up.
06:03.26parmasteryes, this is the gsm blueangel.  the one used widely around the world.
06:03.36tmztok
06:03.57BruteSourceparmaster whats chipset?
06:04.10parmasterbruteforce: pxa
06:04.17parmasterthis is a pxa263..
06:04.40tmztvery strange, never knew one of those was used in a phone
06:04.56BruteSourcepxa?
06:05.04tmztpxa263
06:05.14tmztnot pxa25x or pxa27x
06:05.35tmztwhat does uni use?
06:05.49parmasteranyway i'm noting the problems on the boardid 4 version so that we can get them fixed
06:05.49BHSPitMonkeyrunning haret now.
06:05.54parmasterpxa270 tmzt
06:06.10tmztI thought it was older
06:06.14tmztthan ba
06:06.38parmastereverything runs beautifully on the boardid4 now, screen is synced up correct cuz of that fix that cr2 did with the boardid switch()
06:07.28parmasteronly the LED problem and trying to get the cdma modem working.. not sure if its worth it on the cdma modem side for the HTC line.  these are all carrier specific .
06:07.51BHSPitMonkeytmzt, so haret still runs :P
06:07.52tmztdon't know anyone has a xv6600 anymore
06:08.09tmztactivated at least
06:08.32AstainHellbringvery very few ppl still have and next to no one with it still active
06:08.35tmztBHSPitMonkey: you have activesync/rndis or ppp connection to the phone?
06:08.38AstainHellbringthey moved on to bigger and better
06:08.48tmzteven apache
06:08.49BHSPitMonkeytmzt, afraid not, I'm lame
06:09.08AstainHellbringyep almost noone has apaches still just a few
06:09.23AstainHellbringmost are titans or vogues or raphaels now
06:09.27tmztbigger, at least (I think)  I just never got over the antenna sticking out the side (with stylus)
06:09.47tmztyeah titan directly replaced it, but too late
06:09.58BHSPitMonkeytmzt, I
06:10.14BHSPitMonkeyI'm working from Linux, so the best I can do would involve a synce setup of some kind...
06:10.14tmztvzw skipped a whole gen of htc, so htc didn't see enough titans and now raph/diam
06:10.27tmztBHSPitMonkey: what linux/version?
06:10.34tmztsell
06:10.37BHSPitMonkeytmzt, Ubuntu Gutsy / Hardy
06:10.43AstainHellbringhuh tmzt?
06:10.45AstainHellbringverizon didnt
06:11.00AstainHellbringthey have the titan and the apache and the vogue
06:11.12tmztyeah titan directly replaced it, but too late
06:11.24tmztyou don't have any synce apt sources, right?
06:11.54BHSPitMonkeytmzt, no dedicated ones, just Ubuntu's packages...
06:11.58tmztI mean, the 6800 was really late as a replacement for 6700
06:12.10tmztBHSPitMonkey: you can try synce-serial-setup synce-serial-start
06:12.13BHSPitMonkeyI've never used synce with this phone though, only a little with my dell axim
06:12.23BHSPitMonkeytmzt, over bluetooth?
06:12.25AstainHellbringahh ic tmzt
06:12.25tmztBHSPitMonkey: what wm is it?
06:12.33BHSPitMonkey6.1
06:12.43tmztoh, you could use rndis then
06:12.49tmztor bluetooth, if pand is still there
06:13.04AstainHellbringBHSPitMonkey the helmi rom or other?
06:13.05tmzt(I am using it with bluez 4.x, but it's a lot of work to setup)
06:13.26BHSPitMonkeyAstainHellbring, erofich
06:13.41BHSPitMonkeytmzt, yeah, well, this is really lame, but I don't have a USB cable for this device
06:13.52tmztnot mini-usb?
06:13.58tmztit's not mini-usb?
06:13.59BHSPitMonkeyProprietary.
06:14.02AstainHellbringBHSPitMonkey ok dont know much on the BA just that helmi was first to give wm6 love to BA
06:14.26tmztparmaster has ba, BHSPitMonkey strtrk
06:14.27BHSPitMonkeyBA?
06:15.22BHSPitMonkeyI came /this close/ to ordering a usb cable over the summer because I thought I needed one to flash wm6
06:15.29BHSPitMonkeyturns out I didn't
06:15.37AstainHellbringBlueAngel right?
06:15.56BHSPitMonkeyAstainHellbring, Bachelor of Arts :D
06:16.05tmztyou might need one for usb networking, unless ali1234 bluez magically works on strtrk
06:16.20AstainHellbringahh strtrk
06:16.30tmzt3125
06:16.44AstainHellbringsorry me up past bed time flashing stuff to my gsm Touch Pro
06:17.08tmztraph, in the gsm version?
06:17.10BHSPitMonkeytmzt, ali has some magic abilities, you say?
06:17.14tmztor polaris
06:17.23AstainHellbringyes tmzt the gsm raph version
06:17.41tmzttouch.. touch.. touch.. which touch is it ????
06:17.47BHSPitMonkeyipod
06:17.47AstainHellbringtouch pro
06:18.03AstainHellbringraphael == touch pro
06:18.18tmztand still no touch pro hd, come-on
06:18.24*** join/#htc-linux BruteSource (n=BruteSou@m0a0e36d0.tmodns.net)
06:18.38AstainHellbringeh give it some more time Im sure it will come eventually
06:24.40parmasteromap kind of integrates all that junk together makes it difficult..   until the drivers are figured out for gsm on it i guess usb tethering is it
06:24.50parmasteri'd like a raphael though
06:25.43parmasterthe two close to fully functioning phones at this point are the BA and the uni
06:26.11AstainHellbringraphael is nice
06:26.40parmasterso general reference to get a feel for how everything works out is probably best observed through ba and uni
06:26.47parmasterat least the pxa way
06:26.52BHSPitMonkeydammit, I can't even minimize haret now
06:27.04parmasterbut lots of things can be applied to the other htc's
06:27.20AstainHellbringparamaster ever played much with apache?
06:27.45parmasteri have one.. but i use that as my regular phone lol
06:28.03parmasterdon't want to necessarily cannibalize it for project stuff
06:28.09AstainHellbringhow wells that one run linux?
06:28.34parmasteri never test on that device so i don't know at this point
06:28.48AstainHellbringI have apoor old apache thats seen far far better days
06:29.29*** join/#htc-linux BruteSource (n=BruteSou@m0a0e36d0.tmodns.net)
06:29.29parmastermy next phone will probably be a raphael, depending on how progess goes with rev eng
06:29.45AstainHellbringrev eng?
06:29.59parmasterreverse engineering
06:30.27BHSPitMonkeyanyone ever used dund to share a connection?
06:30.40BHSPitMonkeyI can't figure out how to try connecting to dund from wm6's settings
06:30.56AstainHellbringBHSPitMonkey gsm right?
06:31.06AstainHellbringparmaster what you trying to rev eng?
06:31.25BHSPitMonkeyAstainHellbring, well, I'm trying to share my PC's connection over bluetooth
06:31.26parmasterAstainHellbring: errr, thats what we do here :-) this is htc-linux
06:31.35BruteSourcelol
06:31.49BHSPitMonkeyI have a dund server running on the PC, and I'm supposed to go into wm's settings and add a new modem connection via bluetooth
06:31.53BruteSourcewe do kernel development for htc devices
06:32.15BruteSourcethat only sometimes entails reverse enginering
06:32.19AstainHellbringright I get that parmaster so you were meaning how far reverse eng of the raphael for running linux went?
06:32.25parmasteryep
06:33.00parmasterbruteforce: hehe, sometimes? what does HaReT stand for?
06:33.09*** join/#htc-linux gentoon (i=gentoon@server1.bshellz.net)
06:33.27gentoonmilk
06:34.13BruteSourcethe only thing i had to reverse engineer was my lcd stuff
06:34.39BruteSourceeverything else was already there freely availible
06:34.44tmztBHSPitMonkey: you use the special parameters on dund (msdun?) then it should work
06:34.47parmasterthats because of all the reverse engineering that was done before :)
06:34.48BruteSourceavailable
06:34.59parmasterwell some of it
06:35.12BruteSourcelike what?
06:35.16*** join/#htc-linux cheenky (n=chris@pool-71-246-39-83.lsanca.fios.verizon.net)
06:35.37tmztyeah, that's why getting omap gsm on one device helps all of them with small changes, which is why you shouldn't worry so much about it not working now
06:35.40parmasterwell, what works on your phone then?
06:35.53parmasterwhich phone is it, the kaiser?
06:36.10BruteSourceim not "worrying" im geting it done lmao
06:36.11AstainHellbringkaiser is msm
06:36.32BruteSourcehalf the stuff you say i cant even understand, or doesnt make sense bro
06:36.33parmasteryeah, rev eng discussion is pointless lol.. just use it and have fun
06:37.49BruteSourcewont have to rev eng anything for gsm if swetland comes though either
06:37.58BHSPitMonkeytmzt, is networked access needed, or can the same be done with painstaking text files
06:37.59BruteSourceand either did they
06:38.00parmasterthat's be sweet
06:38.20tmztBHSPitMonkey: we can make a script, but two tired right now
06:38.45tmztBHSPitMonkey: you can look up the registers in the kernel source omapfb, TIMING1+3 I think
06:39.01BHSPitMonkeytmzt, I hear ya, I should be in bed at this hour anyway
06:39.11tmztand pwf <addr> 4  filename
06:39.13BruteSourcei remember when we had to do that
06:39.25BruteSourceit sucked
06:39.30tmztyeah, you have the script or we did that on haretconsole
06:39.41tmztit would have been better if we had the .c dumper
06:39.53BHSPitMonkeytmzt, are you usually in here?
06:40.09BruteSourceya this is like his home
06:40.14BHSPitMonkey:)
06:40.28BruteSourcei have never seen him not here actually
06:41.09BHSPitMonkeyI'll have an extended period of time tomorrow at my desk, I'll try to hop on and see what's up
06:41.18BruteSourcehe is probabaly one of the best for helping random ocks who wander in here all like "how can i install linux on my xxxxx?"
06:41.28BHSPitMonkeyBruteSource, like me!
06:41.38BruteSourceand me
06:41.46tmztno, my nslu is but not always me
06:42.25tmztfolks?, BruteSource
06:42.31BHSPitMonkeynimpho-secret linux user?
06:42.40BruteSourcefolks?
06:42.53tmztread what you typed
06:43.01BruteSourceocks
06:43.04parmasterhahahaha
06:43.12BruteSourcei said ocks not folks lmao
06:43.41BruteSourceit means like bloke
06:43.43BHSPitMonkeyI just figured it was one of those British terms, like pollock and such
06:44.01BruteSourcelol pollock is derogotory
06:44.01BHSPitMonkeyAh, so it /is/ legitimate
06:44.08BHSPitMonkeyBruteSource, I know :P
06:44.21BHSPitMonkeysomeone sat me down and explained a few of them for me once
06:44.23BruteSourcefor a polish bloke
06:44.39BruteSourcelike my old roommate at university
06:44.55BruteSourcehe used to make potato volka under his bed
06:45.20BHSPitMonkeyI'll drop by tomorrow (erm today) when I reach the office
06:46.50BruteSourcehot fuzz is awesome
06:52.47*** join/#htc-linux julien (n=d49bb7fd@lon92-8-88-165-13-120.fbx.proxad.net)
07:42.06*** join/#htc-linux kiozen (n=oeichler@p5492A0E0.dip0.t-ipconnect.de)
07:50.35*** join/#htc-linux sir0x (n=sir0x@p5B087C56.dip.t-dialin.net)
07:50.43sir0xgood morning folks
07:53.12*** join/#htc-linux ellisway (n=ellis@80-46-67-47.static.dsl.as9105.com)
07:57.56parmasterhi sir0x
07:59.07BruteSourcemornin
08:07.17gentoonsir0x you have my patch?
08:07.59sir0xgentoon : which patch ?
08:09.29gentoonmilky furniture covers for mechanical liver lubricant certifacation analisys....
08:11.10BruteSourcewow...
08:11.57BruteSourcesir0x?
08:12.49sir0xBruteSource: what's up ?
08:13.19BruteSourcewhat was that guy talking about?
08:13.38sir0xBruteSource: sorry i don't know
08:14.00BruteSourcewhat device do you work on?
08:14.52BruteSourcesir0x
08:15.00sir0xme ?
08:15.04sir0xdiamond
08:15.25sir0xbut i didn't tell it "work" *gg*
08:15.26BruteSourcethats a variation of the touch right?
08:15.35BruteSourcemsm7200?
08:16.29*** join/#htc-linux LanceHaig (i=c2d8ed19@foresight/member/lhaig)
08:16.41BruteSourcehey lance
08:16.43sir0xmsm7201A
08:16.51LanceHaigHey BruteSource
08:17.02LanceHaigI am just a lurker :-)
08:17.20BruteSourcelol
08:17.31BruteSourceyou dont have an htc device?
08:18.06parmasteri lurk too.. i only have the archaic devices.  I'd just like to see come completeness and closure though ;)
08:18.34BruteSourcearchaic huh? like what?
08:20.09parmasterthose pxa's i seem to be talking about
08:20.13parmasterall the time ;)
08:20.42LanceHaigBruteSource: I do have one
08:20.47LanceHaigbut I am no programmer
08:21.00parmastersure, much of the hardware had probably been recycled into a scrap heap in china
08:21.10LanceHaigI am just waiting for these inteligent chaps to say right we are ready then I will kick CE into touch
08:21.10parmasterbut they are still selling on ebay
08:21.49parmasteri'm not a developer either i've just been testing hardware since the beginning
08:24.49BruteSourceya im no dev
08:25.07BruteSourcebut i still managed to get android on my device lol
08:25.14parmasteryeah ;)
08:25.57BruteSourcethere are nice people here
08:26.05BruteSourcejust not in #linwizard lol
08:30.58parmasterhey, if i could run android on my toaster i would.
08:31.03parmasterbut just for like 5 minutes.
08:36.40*** join/#htc-linux alo (n=QUAKEIII@142.Red-81-37-222.dynamicIP.rima-tde.net)
08:37.16parmasterwas tmzt shining me on about their having located 2.6.26 for uni?
08:37.41*** join/#htc-linux nebi (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se)
08:39.39*** join/#htc-linux dante_ (n=dante@host176-48-static.15-79-b.business.telecomitalia.it)
08:44.47BruteSourcegreat gmail has 2.0 for mobile and it looks cool but on my device it cuts the bottom of the screen off
08:54.44*** join/#htc-linux Bolly (n=bolly@87-194-145-4.bethere.co.uk)
09:05.20*** join/#htc-linux BruteSource (n=BruteSou@m070e36d0.tmodns.net)
09:20.40*** join/#htc-linux nebi (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se)
09:26.47*** join/#htc-linux sir0x_ (n=sir0x@p5B084160.dip.t-dialin.net)
09:32.17*** join/#htc-linux Magister (n=Miranda@vicont.in.ua)
09:39.43*** join/#htc-linux ulaas (n=ulaas@85.103.174.54)
09:53.55*** join/#htc-linux Abracadabra (n=aaabraca@unaffiliated/abracadabra)
09:57.17*** join/#htc-linux DasFx (n=John@dasfx-lptp.euronet.nl)
10:03.01*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
10:03.32kiozenhi BabelO
10:03.54kiozenBabelO: svn up! GT needs testing :)
10:04.31BabelOkiozen: yes hi see your mail
10:27.56*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
10:54.29*** join/#htc-linux Abracadabra (n=aaabraca@62-244-191-249.cust.exponential-e.net)
10:54.58*** join/#htc-linux cygnusx6 (n=cygnusx@wb075079.mobiel.utwente.nl)
11:15.01*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
11:29.02*** join/#htc-linux datachaos (n=datachao@189.6.250.25)
11:51.55*** join/#htc-linux fnord (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
12:24.24*** join/#htc-linux Guimli (n=guimli@ecu69-1-82-231-127-213.fbx.proxad.net)
12:25.36*** join/#htc-linux tuxydo (n=joop@ip5455c588.speed.planet.nl)
13:06.50*** join/#htc-linux fnord (n=fnord@192.234.2.49)
13:26.54*** join/#htc-linux romak (n=romario@89-185-235-7.static.masterinter.net)
13:31.20*** join/#htc-linux LanceHaig (i=3efdda0a@foresight/member/lhaig)
14:00.18*** join/#htc-linux tuxydo (n=joop@ip5455c588.speed.planet.nl)
14:11.55*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
14:13.21dcordeshi
14:13.46dcordesNetRipper, you got raphael a boardfile?
14:18.38ezakhi dcordes fixed your kaiser?
14:19.03dcordesezak, the tricolor problem is solved, yea
14:19.27*** join/#htc-linux hillsdale (n=htc-linu@dsl081-134-224.nyc1.dsl.speakeasy.net)
14:21.21*** join/#htc-linux Zinbolic (i=Zinbolic@84.238.80.225)
14:25.43dcordesezak, the problem was SPL related. I flashed a new one and it worked.
14:26.44hillsdaleNetRipper (or anyone else) - let me know if I can help test or check ports on my RAPH800
14:26.59hillsdaleI'm setting up cross environment now in any case
14:27.13dcordeshillsdale, great. you do get the reset problem?
14:27.44hillsdaleFollowing up question from the log - these just shipped on sunday at a single retailer, sprint wont mass sell them until next week
14:28.24hillsdaledcordes - I get the haret hang, right at the end.  netripper added the raph800 identifier based on my log, but still hangs up
14:29.06dcordesok. I was just speculating if there were reactions on the success with raphael port. but that wouldn't make sense anyway and would be impossible because too close to release date
14:30.08NetRipperdcordes, im still at work :)
14:30.24dcordeshillsdale, I think it would be useful to try out druidu/netripper's flashlight hacking
14:30.51dcordesso trigger the flashlight gpio in different early stages to sort out where your device hangs
14:31.08dcordesmaybe it is just a panel problem?
14:31.10hillsdaleSure, how do I test?  last log here btw: http://forum.xda-developers.com/showpost.php?p=2829532&postcount=484
14:31.44NetRipperhillsdale, you won't get more log than the go go go
14:32.15dcordesNetRipper, do you still have the flashlight hack code?
14:32.19NetRipperso after that you'll need to debug... and i used flashlight gpio to see if it got to a certain point
14:32.24NetRipperyes, somewhere, on pastebin
14:32.26NetRipperlet me look the logs
14:32.29cr2_hillsdale: can you dump the 'dmesg' area ? after the phone reset.
14:32.57cr2_NetRipper: hi. is there a code repository now ?
14:33.23NetRippercr2_, ph5 set one up and dcordes is preparing it
14:33.41cr2_NetRipper: i'm conpletely out of all schedules now, so don't really have any time for hacking. still doing it though :)
14:33.43cr2_ok
14:33.52hillsdalecr2 - I'm not getting linux up at all, hangs at haret boot.  Presumably gpio different?
14:33.55NetRippercr2_, its the android-msm-htc-2.6.25 branch on linuxtogo
14:34.06NetRipperhillsdale, how much experience do you have hacking low level?
14:34.14NetRipperi mean, assembler, cpp
14:34.22cr2_hillsdale: the gpio control is a complete mess now anyway.
14:34.38dcordesNetRipper, unfortunately I cannot test what I prepare because I don't have an msm7201a htc
14:34.50*** part/#htc-linux LanceHaig (i=3efdda0a@foresight/member/lhaig)
14:35.15cr2_hillsdale: you may check other SMEM values too. like the LCD panel type, board id and so on (SMD...(
14:35.22hillsdaleNot in a long time but maybe I can fake it.  Lots of unix and c programming.  Probably most useful following instructions... :)
14:35.29dcordescr2_, it is a cloned, remote tracking branch of the original anroid-msm-htc-2.6.25
14:35.47NetRipperhillsdale, http://netripper.pastebin.com/f36d84562 here's what i used for enabling flashlight
14:35.59cr2_dcordes: i wish there was a rapahel board file. then i'll be able to send patches
14:36.02dcordesNetRipper, I thought about the name. you're totally right. we should really change it. will be very confusing
14:36.23dcordescr2_, I set something up locally but I can't test.
14:36.38cr2_dcordes: was at the Düsseldorf airport yesterday :)
14:37.07cr2_dcordes: commit it anyway, i'll try to fix the code in the evening.
14:37.10NetRipperdcordes, ok, if you still want kaiser/polaris/raph/diam we can use something like htc-7200 or htc-msm
14:37.12dcordescr2_, ^^ what you doing up here? aren't you supposed to work in the south soon?
14:37.32NetRipperi'll try and make a board file tonight
14:37.38cr2_dcordes: i begin next week.
14:37.58dcordesseriously? my civil service begins next week as well.
14:37.59cr2_but now i'm still here.
14:38.19cr2_but have no time for anything ;)
14:39.36kiozencr2_: hehe you miss much fun in GT :)
14:39.56dcordesok. we were thinking about putting both, kaiser/polaris and raphael/diamond in the new branch. should I try that, or rather make two seperate branches?
14:41.23cr2_kiozen: i'll run svn up now :)
14:41.53*** join/#htc-linux ulaas (n=ulas@85.103.174.54)
14:41.57dcordescr2_, there might be some conflicts in the framebuffer code
14:42.11kiozencr2_: hope you have some map with dem data for the 3D stuff
14:42.36dcordeskiozen, you guys added 3D_PLOT to gt? :)
14:42.41dcordesM
14:42.57cr2_kiozen: no. so show me the screenshots :)
14:42.57dcordesah nevermind that.
14:43.13kiozennot M, a mobile device will die without accelerator
14:43.27dcordesI will bbl, then try preparing the raph code in a useful way
14:43.45cr2_kiozen: cmake does not track the updates. it seems that i need to run make clean.
14:44.11kiozenthere is a small one http://www.qlandkarte.org/index.php?option=com_content&view=article&id=11&Itemid=12
14:44.31kiozencr2_: hm, usually cmake is quite good on tracking that kind of stuff
14:44.45cr2_kiozen: what projection is that ? -> http://www.whymap.org/cln_101/nn_1055978/whymap/EN/Downloads/Global__maps/whymap__125__pdf,templateId=raw,property=publicationFile.pdf/whymap_125_pdf.pdf
14:45.23cr2_wow. the lake is really cool
14:46.11NetRippercr2_, http://www.netripper.nl/raphael/pics/20081028_fblogo.jpg ;)
14:46.12kiozencr2_: yes it's more or less the impression you have got in this area
14:46.58cr2_NetRipper: it looks good :)
14:47.04NetRipperheh
14:47.12NetRipperdont tell my boss, but was bored @ work
14:47.12NetRipper;)
14:47.18cr2_lol
14:50.27NetRipperfunny how soft reset button triggers a key sequence
14:50.51kiozencr2_: hard to tell, decide yourself ftp://ftp.remotesensing.org/proj/proj.4.3.I2.pdf
14:51.20kiozencr2_:  Robinson
14:51.24kiozenit's on the map
14:52.16cr2_ok
14:53.32cr2_as a certified spherical mercator fan, i think that such weird projections should go away :)
14:54.08cr2_kiozen: i wonder if you can georeference such map with GT.
14:56.21cr2_NetRipper: i'd like to have a 'dmesg' command in haret, which will dump all gathered wince information. it'll make the life much easier for other people to report about a new device.
14:56.30kiozencr2_: why not? It's like the historical Lambert map we tried once
14:56.51cygnusx6well guys, any news on android on raphael/diamond land?
14:56.52cr2_i had written 'dump wince' once, but it was not perfect.
14:57.30kiozencr2_: at least this projection does not make iceland the size of Africa :)
14:57.53cr2_kiozen: but we ignored the projection itself, and put a lot of points to rectify it in mercator.
14:58.05NetRippercr_ what memory area contains the dmesg?
14:58.12NetRipperis it on wiki?
14:58.14cr2_yeah, who cares about the size of afrika ?
14:58.23kiozencr2_: GT will get problems on anything else than a cartesian system in meter
14:58.39cr2_i find this main anti-mercator argument very amusing
14:58.44cr2_ok
14:58.59*** join/#htc-linux BHSPitWeb (i=817834c5@gateway/web/ajax/mibbit.com/x-fccd4d4be94a7d43)
14:59.09cr2_kiozen: ok, so it's mainly TM aka GK and mercator tool.
14:59.45NetRippercr2_ is dmesg always in same area on each device?
14:59.50cr2_NetRipper: it's all on the wiki
14:59.55kiozencr2_: up to now, yes, but it can be changed, someone has to write the code
15:00.02NetRippercr2_ doesn't say if its cross-device
15:00.27cr2_NetRipper: compare diamond and raphael
15:00.48cr2_NetRipper: dmesg as a haret command != "dmesg" area on htc phones
15:00.57kiozencr2_: this property of mercator projections gives me a greate headache on doing Garmin maps right
15:01.07cr2_NetRipper: "dmesg" area is at different places, and has different sizes
15:01.57cr2_kiozen: but garmin is not mercator, it's lat/long ?
15:03.01NetRippercr2_, i'm referring to dmesg area as that memory area that contains wm logging
15:03.15kiozencr2_: but you have to project it in some kind of way, that Robinson wouldn't be such a bad idea as long as you are in europe
15:03.38kiozencr2_: however asia and new zealand wouldn't be happy
15:03.42NetRippercr2_, the one containing output like [E] Hitachi detected, etc ;)
15:04.36kiozencr2_: with mercator the northern and southern counries are the loosers
15:04.37cr2_NetRipper: yes, this one is not very portable. i can tell you where it is on hermes/athena/diamond/raphael
15:05.08NetRippercr2_, ok, or a way to detect its location perhaps :)
15:05.29NetRippercr2_, i can look on wiki for the locations on those devices, though diamond doesnt seem documented in DiamondMemoryMap
15:05.35cr2_kiozen: the not so evil 60cm tiles beat anything. and they are spherical mercator
15:05.57cr2_NetRipper: imho it's impossible
15:06.04NetRippercr2_, could probably even differ per rom
15:06.22*** join/#htc-linux Kalemas (i=ejabberd@jabbus.org)
15:06.40cr2_NetRipper: ok, then we need to ask the diamond people about it
15:07.15NetRippercr2_, i'll look into it when i have some time
15:07.21cr2_ok
15:07.55cr2_NetRipper: the current haretlog is an overkill for such purposes.
15:08.30NetRipperharetlog is haret logging, not wince logging
15:08.44NetRipperand would be nice if it puts newlines properly
15:09.41cr2_yes
15:11.39cr2_NetRipper: btw, can you boot with mem=128M ?
15:11.46NetRipperno
15:11.53NetRipperor well
15:12.03NetRipperi havent tried changing only the cmdline
15:12.03cr2_the g1 fb is in sram
15:12.23cr2_but i think they hardcode the dram size too. 120MB ?
15:12.47NetRipperi couldnt boot when i set RAMSIZE in haret to 0x78*
15:13.09cr2_hmm. need to document the DreamMemoryMap, DreamGPIO and DreamCPLD
15:13.41cr2_what is the sdram size hardcoded into the kernel  ?
15:13.45NetRipperdoesnt boot with 128
15:13.59cr2_yes, 128 is too much
15:14.01NetRipperdont know
15:14.19cr2_they reserve some space for their own "dmesg"
15:14.23NetRipperwell raph should have 256 right?
15:14.24cr2_and maybe something else
15:14.26NetRipperor more, 280
15:14.33NetRipperok
15:14.38cr2_but it's split into 2 discontig banks
15:14.46cr2_256+64
15:14.50cr2_320
15:14.58NetRippercr2_, is that a different 'dmesg' than the one in wince?
15:15.05cr2_but the arm9 phone+dsp is included.
15:15.17cr2_i have no idea.
15:15.34cr2_i wish somebody with g1 has done a /dev/mem dump
15:15.53cr2_and the nand dump of course 8)
15:15.56NetRipper;)
15:16.06NetRipperi dont think you can do a dev/mem dump unless you're root
15:16.32cr2_i have no idea about android internals
15:16.49NetRipperwell its just linux logic... a normal user shouldnt have access to all memory :p
15:17.14cr2_android programs run as nobody ?
15:17.28cr2_afaik there is no xdm-style login ?
15:18.12NetRipperhm
15:18.13*** join/#htc-linux szsoftware (n=sven@e178206089.adsl.alicedsl.de)
15:18.21NetRipperthere's no passwd on android initrd
15:18.31NetRipperor well
15:18.34NetRippertook the kaiser one
15:19.10*** join/#htc-linux Magister2k7 (n=Miranda@vicont.in.ua)
15:19.43Magister2k7Hi to all.
15:19.56NetRippercr2_, 100M works, 120M doesnt
15:20.18szsoftwareNetRipper: druidu: are you able and interested in adding (hardware) framebuffer rotation (no fbcon:rotate) on your devices?
15:21.17NetRipperszsoftware, at some point, but dont think it has priority unless perhaps we get keyboard working on raphael
15:22.22Magister2k7Can someone help me adding a new device target? I want to add a Titan.
15:22.23Magister2k7Last night I almost implemented a hardware keyboard driver for it, but still compiling kernel as Vogue.
15:22.23Magister2k7What files in kernel tree should I modify to add a new target?
15:22.23Magister2k7Thanks.
15:23.27szsoftwareNetRipper: you're right
15:23.31szsoftwareexit
15:23.39NetRipperexit?
15:23.49NetRipper:)
15:23.49szsoftwareNetRipper: sorry, typo
15:23.54NetRipperlol
15:24.54cr2_Magister2k7: you have a board-vogue.c file ?
15:25.04Magister2k7yes
15:25.12cr2_szsoftware: does g1 support hw rotation ?
15:25.37cr2_Magister2k7: what do you have at the bottom of the file ?
15:26.42cr2_Magister2k7: board-htcvogue.c
15:26.45cr2_<PROTECTED>
15:26.45cr2_<PROTECTED>
15:26.45cr2_<PROTECTED>
15:27.15Magister2k7cr2_: yes, and what next?
15:27.15cr2_you need tochange the HTCVOGUE to HTCTITAN, or how it is called
15:27.28cr2_and change the "HTC Vogue" string too
15:27.52Magister2k7cr2_: em... but this will remove Vogue, while I want to add a new one.
15:27.53cr2_then you can use the titan mtype here.
15:28.07cr2_create board-htctitan.c
15:28.20cr2_and modify the makefiles/kconfigs
15:28.41cr2_i think the vogue code will need a lot of cleanups itself.
15:28.55Magister2k7I tried, but it says "no rules to build board-htctitan.o"
15:29.04NetRipperhm how shall we call raphael/diamond board? raphdiam? (pronounced rough diamond?) :p
15:29.28NetRipperor two seperate boards
15:29.29cr2_NetRipper: create 2 separate board files for now.
15:29.34NetRipperok
15:30.27cr2_NetRipper: the i2c keyboard init will mean some differences in the board files
15:30.49cr2_NetRipper: btw, are there any i2c keyboard devices already ?
15:30.51NetRippercr2_, yep true, though if that'd be the only difference i'd prefer an IFDEF at that point
15:30.57NetRippercr2_, let me see
15:31.02Magister2k7cr2_: there is also a /arch/arm/tools/mach-types file with some strange numbers... I have not ever modified a kernel, sorry for such lame questions
15:31.03cr2_otherwise we can adapt the spi keyboard code of Kevin2
15:31.42cr2_Magister2k7: a script will convert arch/arm/tools/mach-types to a header file, and create the support fnctions
15:32.01cr2_Magister2k7: is there a mtype for titan ?
15:32.21NetRippercr2_, no, no keyboards yet
15:32.31cr2_htctitan                MACH_HTCTITAN           HTCTITAN                1463
15:32.48hillsdaleOk, finally got cegcc working, recompiled haret (looks like someone already checked in raph800 alias to raphael), have haretconsole up.  anything obvious i should do here before moving on?
15:33.00cr2_Magister2k7: so change the code to HTCTITAN
15:33.35cr2_hillsdale: no
15:33.36NetRippercr2_, compass, led, camera so far that are enabled for G1... some other i2c devices are power management, time recorder, light sensor
15:33.39Magister2k7cr2_: I used the same as for a Vogue. In fact, even unmodified Vogue kernel succesfully boots on Titan
15:34.00cr2_hillsdale: connect to haret and dump the 1MB of SMEM and the "dmesg" area at 0x17200000
15:34.05Magister2k7cr2_: thanks! i have not seen this... maybe I just had an old source
15:34.36cr2_Magister2k7: you should download the latest mach-types file from armlinux site.
15:35.30*** join/#htc-linux dante_ (n=dante@host176-48-static.15-79-b.business.telecomitalia.it)
15:35.34szsoftwarecr2_: don't know? But I don't think yes. I forgot the name of the person, maybe it was dzo, who said, that rotation is done only by android api
15:35.35cr2_Magister2k7: i don't know how much titan is different from vogue.
15:35.48hillsdalecr2: can you give me the commands? will save me much trial and error... :)
15:36.17cr2_szsoftware: maybe, but it does not mean that you can't change the MDP controller timings.
15:36.41cr2_szsoftware: but it's unfeasible without having the MSM720xA docs
15:37.19cr2_szsoftware: so you may try swetland about hw rotation. it  seems that he is the only person who can answer.
15:37.46AstainHellbringcr2_ titan and vogue are basically the same except vogue has more ram and titan has keyboard
15:37.58Magister2k7cr2_: there is no much difference in base devices. LCD, touchscreen, radio are all the same.
15:38.05NetRipperisn't it just software that'll swap from 480x640 to 640x480?
15:38.18NetRipperlike the way it processes
15:38.20cr2_AstainHellbring: ok. then there is no much reason to have separate configs.
15:38.56cr2_NetRipper: it is, but maybe there is some hardware support too. at least for some operations.
15:40.25Magister2k7cr2_: are you saying about Titan? So should I use IFDEFs for keyboard code?
15:40.47cr2_Magister2k7: can you probe for it ?
15:41.32cr2_Magister2k7:or is it just some different gpio setup
15:41.40Magister2k7cr2_: I don't know... in fact, I have no enough skill to answer this question.
15:42.02cr2_Magister2k7: ok, but then you'd better create a separate config.
15:42.04Magister2k7cr2_: the difference is that keyboard is matrix device, while Vogue buttons use simple GPIOs
15:42.25cr2_unless somebody can really confirm that the setup is identical
15:42.41cr2_Magister2k7: afair, there are 3 possible LCDs in titan
15:42.50cr2_or maybe 4.
15:43.51*** join/#htc-linux N3m3515 (n=nembnc@p5B09EB0E.dip.t-dialin.net)
15:43.59*** join/#htc-linux GPFerror (n=gpferror@cpe-76-187-41-132.tx.res.rr.com)
15:45.35Magister2k7cr2_: I don't know this. Will try with a latest Vogue's kernel, there is a parameter for it's type, maybe they are the same as in Vogue
15:45.50NetRipperwhy do they release devices with multiple types of lcd's?
15:46.45cr2_the lcd producers can't push the prices up.
15:46.45BHSPitWebto thwart your plans
15:47.41cr2_and blackmail the high-volume consumer ;)
15:48.14NetRipperso with some bad luck you flash hardspl and it unfortunately didnt support your lcd, leaving you with a black device
15:48.17NetRipper;)
15:48.45cr2_i think the spls support more lcd you may meet in real life
15:48.54NetRipperhehe
15:49.17cr2_afaik all universals used only 1 lcd. but there was code support for 2 lcds, and 2 board revisions.
15:49.53Magister2k7One more question about GPIOs. The normal buttons work ok, but some (softkeys, "OK", "Enter") give me a series of fake keypresses. What does that means?
15:50.21NetRipperMagister2k7, like ^x?
15:50.26cr2_Magister2k7: i don't know the button setup on titan
15:51.04cr2_i don't even know it on the raphael :) because it's such a minor issue compared to the other problems ;)
15:51.51*** join/#htc-linux Xanthin- (n=rnieva@salvia.nieva.com)
15:52.51Magister2k7as I understand matrix device, when a key is pressed, I set "column" GPIOs one by one to 1, and see what "row" GPIOs are changed. It's ok with normal buttons, but with those I mentioned, all "row" GPIOs are changed
15:53.26Magister2k7so driver process this as a series of a normal keypresses
15:54.17Magister2k7cr2_: looks like I'm lucky that Titan is similar to Vogue :)
15:55.05*** join/#htc-linux orux (n=jose@89.130.46.3)
15:56.30cr2_Magister2k7: i think that the only authoritative answer for driver problems is to look at the wince driver disassembly ;)
15:56.35*** join/#htc-linux LanceHaig (i=c2d8ed19@foresight/member/lhaig)
15:59.06Magister2k7maybe they should use a simple GPIO... as some buttons works with Vogue code... will try tonight
15:59.48*** part/#htc-linux LanceHaig (i=c2d8ed19@foresight/member/lhaig)
16:02.53cr2_bbl
16:03.05*** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes)
16:15.12dcordeslet's not do duplicate work, you care about the board files?
16:15.36dcordeson that screenshot, is that on screen keyboard working or just a pixmap?
16:18.39hillsdaleBeen playing with haret memory dumping.  Probably doing it wrong, but having a hard time finding anything that looks interesting as compared to the memory map on the wiki...
16:20.02hillsdaleFor instance, pdump 0x1f00000 1000 (should be smem?) looks a lot emptier than i would have expected?
16:21.17*** join/#htc-linux LunohoD_ (n=alex@e180078151.adsl.alicedsl.de)
16:21.56cr2_hillsdale: pwf smem 0x1f00000 0x100000
16:23.54*** join/#htc-linux tuxydo (n=joop@ip5455c588.speed.planet.nl)
16:24.03*** join/#htc-linux Dubbeld00 (n=opera@82-168-116-233.ip.telfort.nl)
16:27.22*** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde)
16:31.27hillsdaleok, got smem and dmesg.  whats best way to upload (are these safe to post?)
16:31.37hillsdalesmem 17k zipped, dmesg 250k
16:33.01cr2_hillsdale: smem includes imei and similar things
16:33.24cr2_hillsdale: maybe some recently called phone numbers
16:33.47cr2_or when somebody called you.
16:33.55*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87d0ee.pool.einsundeins.de)
16:33.58cr2_in the ATCMD fifos
16:34.36cr2_dmesg is (should be) mostly an ascii file, so you can inspect it visually
16:35.19hillsdaledmesg just looks like garbage, thats why i was wondering if the locations might all be different
16:35.44cr2_maybe
16:36.01cr2_hillsdale: you may try 'dump mmu' in haret first.
16:36.25cr2_hillsdale: it will produce a huge table
16:37.01hillsdalegot it
16:37.21cr2_hillsdale: if you have GPS on, then smem will have your recent GPS track.
16:37.48cr2_there was one in the famous g1 dump :) but the track was harmless.
16:41.15hillsdaleok posted to thread, hope they dont p0wn me.  :)
16:41.16hillsdalehttp://forum.xda-developers.com/showpost.php?p=2834080&postcount=542
16:41.37hillsdalegotta run for now, hope this sheds some light.
16:43.51*** join/#htc-linux miknix (n=miknix@193.137.97.146)
16:51.13*** part/#htc-linux Dubbeld00 (n=opera@82-168-116-233.ip.telfort.nl)
16:56.12*** join/#htc-linux tuxydo (n=joop@ip5455c588.speed.planet.nl)
17:07.02dcordescr2_, do you think we should add the ti1251 driver to the new linuxtogo branch?
17:07.06dcordesit is really huge
17:08.53szsoftwaredcordes: what in the patch, makes it so huge? firmware binary?
17:09.04szsoftwaredcordes: and hi there :-)
17:09.41dcordesszsoftware, grüt
17:09.48dcordesszsoftware, grützi, it is just that huge.
17:10.11*** join/#htc-linux fnord (n=fnord@192.234.2.49)
17:10.44dcordesput the firmware is a good point. I didn't pay attention to it with the ti1251 approach on kaiser
17:10.51ali1234BabelO: i tracked down the change in bluez 3.36 that was causing me problems. texas protocol was changed from H4 to LL. changing it back and hciattach worked again. but holtmann (bluez developer) told me the change was correct...
17:17.36dcordesalthough that is not important to the point I got because the "card" doesn't even get detect. (assuming firmware is loaded after card detection)
17:20.07*** part/#htc-linux Kalemas (i=ejabberd@jabbus.org)
17:35.48*** part/#htc-linux penguinz (n=opera@66-168-215-122.dhcp.athn.ga.charter.com)
17:46.17*** part/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
17:47.19*** join/#htc-linux chab7 (n=kvirc@212.92.4.114)
17:54.45dcordesNetRipper, what is lines 649 ff good for?
17:55.03dcordesin init/main.c
18:04.19druiduhello :)
18:08.28druiduany breakthroughs while I was gone? :P
18:09.09dcordeswe added a new branch for the raphael and polaris code (eventually also kaiser/polaris) and I'm trying to modify your code to work well with other devices right now
18:09.28dcordesi.e. add a board-htcraphael.c and ifedef your hacks
18:09.40dcordes#ifdef CONFIG_MACH_HTCRAPHAEL
18:12.05*** join/#htc-linux Kalemas (i=ejabberd@jabbus.org)
18:13.24druidumy code as in touchscreen/console or what? :)
18:13.52druidumake sure you update arch/arm/mach-types the new version has all of them
18:14.06druiducan I get access to the svn? just signed up for an username
18:14.09dcordess/your code/NetRipper's and your code/
18:14.32dcordesdruidu, ok then you must apply for developer status
18:14.42dcordesin order to be able to commit
18:16.22druidun00b question: how do I do that? :)
18:16.39druidubtw, which branch is it? http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=summary
18:17.24dcordessame name as in google git
18:18.26dcordesdruidu, http://rafb.net/p/8Ymf2q66.html <- I wonder how you build that. all the definitions which are commented out in NetRipper's patch are needed in functions there
18:18.36dcordesdo you redefine them in a different place?
18:19.13druidulike what?
18:19.14NetRipperdcordes, note the "#include "board-halibut.h"
18:19.29dcordesok arch/arm/mach-msm/board-htcraphael.c:44:27: error: board-halibut.h: Datei oder Verzeichnis nicht gefunden
18:19.30druiduI don't know NetRipper's patch you're talking about
18:19.33dcordesyou forgot to include it in the patch?
18:19.36dcordescan you paste the file?
18:19.43*** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
18:19.50NetRipperdcordes, i guess git diff -p didnt include it
18:19.56dcordesok just paste
18:19.59NetRipperdcordes, everything that has been commented is 1 on 1 to the new file
18:19.59druiduit doesn't include new files
18:20.01druiduby default
18:20.10NetRipperdruidu, ah
18:20.18NetRipperdcordes, only the defines
18:20.32NetRipperdcordes, did that as druidu's patch includes the defines
18:20.37dcordesNetRipper, hmm could you just paste it?
18:20.37*** join/#htc-linux lnxpenguin4ever (n=lnxpengu@72-60-224-154.area4.spcsdns.net)
18:20.39NetRippersure
18:20.43dcordesthx
18:21.07druidujust MSM_FB_BASE I think, it's to draw to the framebuffer directly
18:21.20druiduthe address of the framebuffer memmory
18:21.21NetRipperdcordes, http://netripper.pastebin.com/d48ccfdc3
18:21.30NetRipperdruidu, yea but i thought i'd make a seperate .h file
18:21.39NetRipperwas nicer
18:21.39NetRipper;)
18:22.06druiduNetRipper: did you get anything else to work?
18:22.07dcordesNetRipper, so you just outsourced the defines because you will change them in future?
18:22.08druiduclocks? :)
18:22.57druidujust calculate the value for MSM_FB_BASE and #define it in msm_ts.c and msm_vkeyb.c
18:23.17druidualthought this is different between halibut and trout
18:23.23*** join/#htc-linux renc (n=user@91.68.208.8)
18:23.30NetRipperdcordes, no they wont be changed, they were outsourced because other .c files can then include the .h
18:24.17NetRipperdruidu, no i didnt get much further
18:24.26dcordesso it must be board-htcraphael.h
18:24.34NetRipperdcordes, yes
18:24.46NetRipperdcordes, but i'm actually favoring towards a board for both raphael and diamond
18:25.23*** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
18:25.37NetRipperdcordes, i'd like to keep them exactly the same with the exception of specifics, such as other usb settings (product id and name) and like raphael will have keyboard
18:25.48dcordesNetRipper, consider board-htcraphael.c as a boardfile for both
18:25.59NetRipperi want to remove the distinction that we have right now, where im using halibut, and diamond is using trout :p
18:25.59dcordesare the changes that tremendous you need two?
18:26.10NetRipperno
18:26.13dcordeswe could add a split when we do a reorganization of mach-msm folder with subfolders.
18:26.38AstainHellbringhttp://down.codeweavers.com/
18:27.21NetRipperdruidu, http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux ;)
18:27.29dcordesNetRipper, there's vogue titan halibut kaiser polaris trout raphael diamond
18:27.44dcordesand I'm 100% in near future we will also get a HD ;)
18:27.49NetRipperhehe yea
18:27.51dcordesblackstone
18:27.59dcordeswe will need the subfolders or it's pita
18:28.07NetRipperin the end they should all have their own board
18:28.26NetRipperbut i want to keep diamond/raph pretty similar, albeit by hand
18:28.50druiduNetRipper : just saw it earlier, nice :)
18:29.52druiduwell, I've been busy with a homework for "Compilers", gotta make half of a compiler for some object oriented language called "Cool" :)
18:30.04*** join/#htc-linux ulaas (n=ulaas@88.253.7.82)
18:30.38*** part/#htc-linux ulaas (n=ulaas@88.253.7.82)
18:30.51*** join/#htc-linux ulaas (n=ulaas@88.253.7.82)
18:32.52AstainHellbringblackstone should be similar as raph and diamon just different screen
18:33.23*** join/#htc-linux hillsdale (n=freenode@cpe-24-90-238-191.nyc.res.rr.com)
18:34.11dcordesAstainHellbring, don't think it's gonna be that easy. there will be many details
18:34.47dcordesdruidu, NetRipper, can you have a look at my patch and tell me what you think?
18:34.50lnxpenguin4everHey...this is computerguru (the name was already taken on freenode.)  Is there a central repository set up for the raphael/diamond code?  Don't mind me...I'm a HTC/Android noob...lol.
18:35.16druiduyes, gimme link :)
18:35.23dcordesoops wait a minute
18:35.37dcordesNetRipper, you forgot to add other files despite board-halibut.h in the diff?
18:35.42dcordessomething touchscreen related?
18:35.42druidu7x00-smd.c does this work on diamond/raphael? :)
18:36.15dcordesdruidu, well you will have to alter all of the smd regs
18:36.32dcordesand maybe use kaiser-smd.c as a basis because the AMSS is more similar.
18:36.48dcordeslnxpenguin4ever, we are just working on that repository
18:36.53druidubtw, does anybody know a **good** git tutorial, I just can't make that damn git do anything I want, not sure how to make patches to include new files for example, or make a patch with just a subset of the changes
18:37.10dcordesha tell me when you found it
18:37.24dcordesto add new files: git-add file 1 file 2
18:37.45druiduwouldn't it be smarter to base code off google's smd.c? it has much more functionality and other drivers depend on it (for example vogue-smd.c has a slightly different interface to some functions)
18:38.05NetRipperdcordes, yes druidu's patch containst he files
18:38.06dcordesno, use vogue or kaiser
18:38.26dcordesdruidu, simply because of the trout and halibut amss are so much more different
18:38.32NetRipperi'll make a new patch dcordes
18:38.34dcordesdruidu, where is it?
18:38.37dcordesok thanks
18:39.24dcordesdruidu, e.g. (as I understand it), in the htcs we have no mechanism in amss that allows msm_rmnet
18:39.39druiduah, I see
18:39.40dcordesexcept for the htc trout
18:39.47druiduor maybe we don't know we have it? :)
18:40.29dcordesmaybe, it's just afaik. I picked that up from swetland talking to tmzt about the different amss
18:40.31druidubtw, if anybody manages to get that touchscreen irq fire I'd love to hear how
18:40.55druiduI did catch it once or twice, but it was completely random
18:40.56dcordesthe fact that halibut/rout amss are heavily modified is known
18:41.03*** join/#htc-linux schlash (n=har@adsl-76-212-172-60.dsl.sndg02.sbcglobal.net)
18:41.25NetRipperdruidu, how do i include new files in my git diff?
18:41.41druidudamn, if we only had some diagrams on how every device is connected there!
18:41.43NetRipperdruidu, what do i modify to see if it works on raph?
18:42.03druidufirst question, ask dcordes he know better :D
18:42.40druiduI did something like git add file ; git commit ; git diff but not didn't work exactly perfect, so don't blame me if it fucks up your rep :P
18:42.54NetRipperlol
18:42.54NetRipperok
18:43.00NetRippernvm i'll put the new files up somewhere
18:43.00NetRipper:P
18:43.04druidumodify what to see if it works on raph?
18:43.09druiduyou mean diamond?
18:43.11NetRipperdruidu, the irq fire
18:43.15druiduah
18:43.15druiduwell
18:43.17druidunothing
18:43.20druiduit is registered
18:43.28druiduand will print a big message if it does wire
18:43.31NetRipperoh
18:43.34druidu*fire
18:43.35dcordesNetRipper, try "git-status" it will tell you what you want to do
18:43.39dcordesNetRipper, in the kernel root
18:43.46NetRipperdcordes, yea it tells me the files
18:43.51druidubasicly, I just use request_irq and it doesn't fail (you would get an error otherwise)
18:44.09druiduthe rest should be handeled by kernel and arch/mach-msm/irq.c
18:44.15NetRipperah ok dcordes i see what you mean
18:44.23dcordesNetRipper, yea and it says blbla is modified (or new) and thou shallt use git-add to add them
18:44.30druidugit-log is also useful
18:44.41druidubut an "UNDO" command would be even better!
18:45.06dcordesNetRipper, you could just git-add . it's ugly but I could only pick the files you missed before.
18:45.08druidulike, if I commit something how can I uncommit it to get it just like it was before the commit, no logs added etc
18:45.31NetRipperdruidu, there's git pull --hard or something alike :p
18:45.35NetRipperto reset ;)
18:45.41dcordesdruidu, git-commit --amend
18:45.45dcordesammend
18:45.50druiduah, thanks :)
18:46.18NetRipperdcordes, http://www.netripper.nl/raphael/20081028_patch.txt
18:46.25NetRipperdcordes, includes new linux logo ;)
18:46.33dcordesok great
18:47.00lnxpenguin4everdcordes, thanks for letting me know.  is there a ftp or some other place where patches are being stored?  I'm going to look at the stock Sprint-based Diamond problem tonight (locks up when doing the tty handover)
18:47.15druiduNetRipper : anything interesting in there that I do not know of? what have you been working on last few days?
18:47.21NetRippererrr dcordes
18:47.28NetRipperdcordes, seems the patch is pretty small
18:47.31dcordeslnxpenguin4ever, NetRipper just posted it.
18:47.49dcordesNetRipper, then recheck with git-status if everything is included
18:47.55druiduit didn't include new files
18:47.59druiduI had the same problem
18:48.07NetRipperdcordes, doesnt include the new files lol
18:48.31dcordesI just git-add them, when git-status reports everything of interest is in the cache, I run git-diff mybranchname
18:48.55dcordesyou must also git-add the new files..
18:48.57lnxpenguin4everdcordes, sorry...got lag...i'm on irc on my diamond...lol.  i see the link now
18:49.24dcordeslnxpenguin4ever, better check back later when we managed to put it in the git
18:49.26druiduNetRipper : what's the bank2_in/bank2_out stuff in main?
18:49.45NetRipperdcordes, ahhh, adding branch name makes it do the trick
18:49.46NetRipper:)
18:49.57zulecrossover office is free today
18:49.59dcordesgood
18:50.03zulejust for those that don't know
18:50.15lnxpenguin4everdcordes, will do :-)
18:50.18NetRipperdcordes, ok same file, updated
18:50.19zulehttp://gizmodo.com/5069889/dealzmodo-download-crossover-free-today-only
18:50.46*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
18:50.50NetRipperdcordes, if you want me to put the files up somewhere let me know, may be easier on some big files
18:51.50*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfdfd0.pool.einsundeins.de)
18:52.12*** join/#htc-linux N3m3515 (n=nembnc@p5B09E394.dip.t-dialin.net)
18:52.32dcordesNetRipper, did you review it manually?
18:52.44NetRipperdcordes, very fast
18:52.45dcordesnono .diff is just great
18:52.47dcordesok
18:53.17NetRipperdcordes, it includes druidu's framebuffer console, but it should be disabled in .config
18:53.56dcordesdruidu, are you Octavian?
18:54.10druiduactually, newest version of console works with fb on, at least on diamond (if you enable a flag which marks it as a boot console)
18:54.12druiduyes
18:54.19dcordesok
18:54.27druiduwant the new version of the console?
18:54.33*** join/#htc-linux DasFx (n=John@5354790B.cable.casema.nl)
18:54.34dcordesis that your version in http://www.netripper.nl/raphael/20081028_patch.txt
18:54.36dcordes?
18:54.40dcordesI'm Lukas btw
18:54.44NetRipperno i have the older version probably
18:55.06dcordesdruidu, yes that would be nice
18:55.36*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
18:55.40dcordesdruidu, only /drivers/android/htc_fb_console.c changes?
18:55.52druiduyes, but it's older, never gave anyone latest ver :)
18:55.59druidualso Kconfig
18:56.13druiduand I moved it in arch/arm/msm/, thought it would make more sense there
18:56.49NetRipperespecially since it includes the board*.h :P
18:56.52*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
18:56.58dcordesNetRipper, the updated patch at http://www.netripper.nl/raphael/20081028_patch.txt adds two files, but where are they built? I think the patch doesn't add them to the Makefile and Kconfig
18:57.24NetRipperdcordes, which files?
18:57.44dcordesconsole htc_fb_console.c and msm_ts.c
18:57.55druiduand msm_vkeyb.c
18:58.14dcordesok then I will put your updated htc_fb_console.c manually in mach-msm
18:58.26NetRipperdcordes, they were in drivers/android/Makefile
18:58.38druidudcordes : dcc send? :)
18:58.39dcordesah ok then I will move the bits
18:58.50dcordesdruidu, just use any pastebin with raw support
18:58.59dcordesor try dcc dunno if it works though
18:59.38dcordeszule, I was always happy with wine
19:00.07zuleso was I cause I didn't wanna pay for crossover
19:00.14zulebut free is a good time to test it out
19:00.30dcordesdon't think I will need it
19:00.43dcordesthe idea of all the different forks doesn't get anybody further
19:01.15zuleagreed on that. they only forked to go commercial did they not?
19:01.25BHSPitWebIt's not really a fork in the traditional sense
19:01.59dcordes~botsnack
19:01.59aptaw, gee, dcordes
19:02.08BHSPitWebAnd yeah, it's a commercial version of wine with privately-developed extra functionality, and they do contribute significantly back to the wine project
19:02.38dcordesdruidu, getting no dcc offers
19:02.58druiduhttp://octav.oricum.ro/android/htc_fb_console.patch
19:02.59druiduhttp://octav.oricum.ro/android/htc_fb_console.c
19:03.09druidupath contains changes in Kconfig & Makefile
19:03.14dcordesgreat
19:03.15druidu.c is full source
19:04.38dcordesdruidu, any changes to /drivers/input/touchscreen/msm_ts.c ?
19:04.46dcordesor can I use the one from NetRipper patch?
19:05.03druidunope
19:05.16dcordesok shall I put it in mach-msm as well?
19:05.26druiduyou could
19:05.35druiduput vkeyb in there too
19:05.42druiduand don't forget about makefile & kconfig :P
19:06.07NetRipperisn't the msm_ts generic enough to be an actual driver instead lf specific to mach-msm?
19:06.12NetRippers/lf/of/
19:06.12druiduand also, a small but important ugly fack in msm_fb.c which enables full-screen-updates-only
19:06.35dcordesbtw, why did you guys call it msm_ts ?
19:06.44dcordesand not raphael_ts ?
19:06.58druiduNetRipper: dunno, don't think so
19:07.13dcordesyou must always assume at some point raphael diamond will coexist with a dozen other htc msm machines.
19:07.34NetRipperbut in that case we should find the part type and name it after that
19:07.53dcordesack
19:07.56NetRipperi guess msm_ts is a temporary name
19:07.58druiduI mean, if it used same protocol and we had the addresses as parameters, maybe... but it's a hack right now, irqs don't work and communication with vkeyb is done via a callback func
19:08.03dcordesok good we can always change that
19:08.11druidualthough it sends events to linux input interface
19:08.25druidumsm_vkeyb on the other hand can be made very general
19:09.13druiduI intend to use kernel fb interface instead of direct memory access hack, and receive events via kernel input interface, and that would make it generic enough for any device including a pc
19:09.40NetRipperputting it in mach-msm for now is fine until that time
19:10.26druiduanyway, diamond/raphael touchscreen seems really cheap compared to the i2c one in G1
19:10.36druiduit actually has dual-touch support, at least the hardware
19:10.46druiduand pressure sensing and press-area-size
19:10.51dcordesok htc_fb_console and msm_ts were added.
19:11.41dcordesszsoftware, you might try adapting msm_vkeyb.c to vogue
19:12.07dcordesszsoftware, maybe it's better than dzo keyboard?
19:13.37dcordesvkeyb added
19:13.53druiduit's very bad right now, performance wise
19:14.23druiduI'm just happy I managed to put it together in one night :)
19:14.55druiduit's like a fully functional pc keyboard, just smaller
19:15.45druidudcordes : btw, new console early boot driver supports any compiled font that has width <= 8, will autoselect one
19:16.17BHSPitWebtmzt: ahoy
19:16.49dcordesok I hope everything worked out. will configure and make
19:16.53druiduand if HTC_FB_CONSOLE_BOOT is defined, at least on diamond, msm_fb starts up smoothly over it
19:17.25druiduNetRipper: what can we do to make halibut boot on diamond? :)
19:17.40NetRipperdruidu, there were people on forum that had their device hang on the transition from fb0 to tty0, is that the handover you mean?
19:17.42druiduyou think the crash was usb-caused?
19:17.42szsoftwaredcordes: I have the msm_vkeyb.c in my editor since yesterday and examine that. Indeed it looks very promisingly and also it's done in the way, I would do it too. (But I would need years for that :-) )
19:17.57dcordesheh
19:18.08kiozenBabelO: http://www.qlandkarte.org/shot6.png
19:18.23kiozenBabelO: never trust DEM too much :)
19:18.26NetRipperdruidu, i think we should remove unneccesary drivers, some people complained it hangs on rtc0, but as that doesnt work yet, we might as well remove it from kernel, etc.
19:18.28*** join/#htc-linux BruteSource (n=BruteSou@m070e36d0.tmodns.net)
19:18.31druiduNetRipper: it was between msm_fb0 I think and tty0 (which is tty on real framebuffer device, msm_fb.c that is), it hangs only in raphael I think
19:18.46druidunope, it doens't hang on rtc0, that's just the last message it prints
19:18.50dcordesdruidu, do you use msm_defconfig as a base?
19:18.52NetRipperdruidu, ok
19:18.58druiduI get same problem when booting your zImage NetRipper
19:19.06*** join/#htc-linux miknix (n=miknix@81.193.81.116)
19:19.15druidudcordes : yes, but I disable LKM and some other stuff
19:19.32NetRipperdcordes, we'll need a new defconfig in the future
19:19.34druidusome usb functions crash my device (usb ether for ex)
19:19.35BruteSourcedruidu wana write me a tty for my gsm driver?
19:19.58druidugsm driver? as in for modem?
19:20.06dcordesNetRipper, no we will add a defconfig now with the initial commit.
19:20.10BruteSourceya lol
19:20.17*** join/#htc-linux N3m3515| (n=nembnc@p5B09BD9B.dip.t-dialin.net)
19:20.37szsoftwaredruidu: as far as I've seen so far, for your keyboard, you don't use an prepared picture, but draw the keys dynamically?
19:20.41druiduyes
19:21.01druiduI defined an array of keys, and made a few functions to draw char, string, rectangle
19:21.12druiduand two array for primary and alternate keyboard functions
19:21.21dcordesszsoftware, ok that sounds way better so we can keep the android osk out
19:21.36druiduosk?
19:21.37szsoftwaredruidu: so this could be a very cool thing, since we could add transparency?
19:22.01szsoftwaredruidu: on screen keyboard
19:22.09druiduyeah, fairly easy, just implement a alpha blending function... :)
19:22.38szsoftwaredruidu: imagine, combined button + jogweel ;-)
19:22.41dcordesdruidu, do you also build the trout specific code?
19:22.45dcordesdruidu, with your .config ?
19:22.52druiduthere is a lot of work to be done for the virtual keyboard, this is just a hack that works, so I can get Android on my device faster :P
19:22.53szsoftwaredruidu: smooth blending in and out ..
19:23.04druidudcordes : actually, I boot with board-trout.c
19:23.23druiduI understand NetRipper boots with halibut but also compiles trout code
19:23.39dcordesdruidu, did you add code in board-trout.c that initializes the keyboard or console?
19:23.39NetRipperdruidu, yes
19:23.44druidube sure to disable the uarts and serial debugger, they crashed my kernel as I remember
19:23.47dcordesor is that inside of the keyboard and console itself?
19:23.54dcordesok
19:24.07druidunope, they auto-register themselves like normal linux drivers embedded in the kernel
19:24.33druidubut to boot with board-haret.c I patched some stuff in there
19:24.43dcordesboard-haret.c??
19:24.49druiduand also a bit in the msm_fb driver so it won't spam the screen with useless errors
19:24.52dcordesI thought you guys were in sync..
19:24.59druiduboard-trout
19:25.00NetRipperlol
19:25.18dcordesok.. I have these
19:25.18druiduactually, I can't boot his zImages, he can't boot mine
19:25.22druidu:)
19:25.58*** join/#htc-linux sir0x (n=sirox@91-67-142-232-dynip.superkabel.de)
19:26.15sir0xhi folks
19:26.20druidubtw, NetRipper, did you manage to boot the android initrd you gave me?
19:26.42NetRipperdruidu, no, only got up to the loading screen where the red 'eye' is moving left and right
19:27.15BruteSourceare your mounting system.img via loopback?
19:27.19dcordesdruidu, so you only want to add support for the raphael to the git for now?
19:27.59druiduon the contrary, I want it for Diamond :P
19:28.29NetRipperi think we should be able to boot using the same board
19:28.33NetRipperon both devices
19:28.33druiduI have a Diamond, I started working on hacking android for the selfish reason of running Android on my Diamond
19:28.34druidu:)
19:28.37dcordesI recommend to merge your working trees so you can produce a kernel with the git that boots on raph and one that boots on diam
19:29.01dcordesthat was the state I was assuming in your path NetRipper ..
19:29.05druidudcordes : you build your image and we're both gonna try it
19:29.13dcordesok
19:29.44druiduinclude the early boot console too, with all flags set, it should work for raphael also
19:29.56NetRipperdcordes, we should be able to boot both on the same git with my patch, just diamond will use a different mtype than raph wil
19:29.57dcordesdrivers/input/touchscreen/msm_ts.c:183: error: ‘MSM_FB_BASE’ undeclared (first use in this function)
19:29.59dcordesalthough there is
19:30.03dcordes#define MSM_FB_BASE             MSM_PMEM_GPU1_BASE + MSM_PMEM_GPU1_SIZE
19:30.04dcordes#define MSM_FB_SIZE             0x200000
19:30.17druidusee #include at the tob of the file
19:30.35druidunot sure if you changed smth or if the location of the #defines changed
19:30.50druiduanyway, bottom line is -- you gotta have the same values as msm_fb.has
19:30.56NetRipperdruidu, that's still a problem... your msm_fb either includes board-trout.h _or_ board-halibut.h
19:31.04NetRipperer
19:31.05NetRippermsm_ts
19:31.45druidujust use same header as msm_fb, that's the only way it will work, if ts/vkeyb have the same memory address as msm_fb
19:32.03dcordesok
19:32.24dcordesI will remove the board specific defines for fb base and fb size
19:34.12druidumy schedule is really fucked up, I'd work on this day and night but I have some  deadlines that are dangerously being delayed
19:34.17*** join/#htc-linux nebi (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se)
19:37.56druidunice flickery keyboard over the glowing red dot
19:39.32*** join/#htc-linux dante_ (n=dante@net-93-148-251-117.t2.dsl.vodafone.it)
19:39.41*** join/#htc-linux pH5 (n=ph5@e178204169.adsl.alicedsl.de)
19:41.07NetRipperlol yea
19:41.26*** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
19:41.35BruteSourcedruidu did you enable futex in your kernel?
19:42.27BruteSourceyou looked at logcat?
19:42.47BruteSourceor run an starce from init?
19:42.55BruteSourcestrace
19:43.11dcordes??
19:43.57BruteSourcejust going through how we debugged android userspace lol
19:44.52dcordesdruidu, the msm_fb in the stock branch does not define MSM_FB_BASE and MSM_FB_SIZE .
19:45.05dcordesoh
19:45.24dcordespH5, is it complicated to rename the branch you added?
19:45.46dcordespH5, we should put one that identifies the branch as modified for the other htcs
19:45.55dcordespH5, unfortunately it already has htc ..
19:46.13pH5dcordes: not at all. let's call it htc-msm-2.6.25?
19:46.26dcordesok
19:46.31NetRipperoh that might be a good one
19:46.32NetRipper:)
19:46.38NetRipperwho'd have thought of that
19:46.38NetRipper;)
19:46.45dcordes?
19:46.57NetRipperi mean
19:47.01NetRipper(it was not a joke)
19:47.07NetRipperi didnt even think about leaving that android part out
19:47.07NetRipper:s
19:47.12NetRipper:)
19:47.37dcordesyea we already have htc-msm which is also based on an *android* branch. so that's alright
19:47.49druidufutex?
19:48.00druiduno, didn't run strace
19:48.16*** join/#htc-linux tuxydo (n=joop@ip5455c588.speed.planet.nl)
19:48.29dcordesdruidu, which MSM_FB_BASE and MSM_FB_SIZE do you use and where? is it the same on raph vs diam?
19:48.34BruteSourcesome kernel option android was complaining about not having
19:49.04druidudcordes : it does,
19:49.05druiduarch/arm/mach-msm/board-trout.h:#define MSM_FB_BASE             0x03800000
19:49.05druiduarch/arm/mach-msm/board-trout.h:#define MSM_FB_SIZE             0x00100000
19:49.11druiduarch/arm/mach-msm/board-halibut.c:#define MSM_FB_BASE           MSM_PMEM_GPU1_BASE + MSM_PMEM_GPU1_SIZE
19:49.11druiduarch/arm/mach-msm/board-halibut.c:#define MSM_FB_SIZE           0x200000
19:50.15dcordesdruidu, which are used with your config?
19:50.17druiduthis is not a standard value
19:50.31pH5druidu: are you subscribed to mobile-linux-discuss already?
19:50.41dcordespH5, what must we do to update our local branches to fetch in the branch name?
19:51.16druidubasicly, the dma function to transfer the image on the screen needs a physical address, we can only write directly to virtual addresses that are mapped to some physical address
19:51.21druidumobile-linux-discuss: not yet
19:52.04pH5druidu: please do.
19:52.04pH5nice to come back home and see there are active developers for all the new handsets.
19:52.06dcordesdruidu, I don't understand why drivers/input/touchscreen/msm_ts.c doesn't find the definitions although I have the malmost like you
19:52.16dcordespH5, back in .de?
19:52.25druiduany should work really, as long as they are the ones used by msm_fb.c... I used trout so the ones in board-trout.h, NetRipper probably used the other ones
19:52.40NetRipperyes i include the halibut
19:52.43druiduhow did you include the file?
19:52.44pH5dcordes: I fear I didn't understand that question (the first one, not the last ;))
19:52.52NetRipperi modified the #include
19:53.08druiduuse < > if it's relative to /include/ or " " if it's relativ to current directory
19:53.20druidupaste the #include line
19:53.23NetRipperi used ""
19:53.29druidume too
19:53.34dcordespH5, well we already have the android-msm-htc-2.6.25 branch checked out. when we commit I assume there will be a problem since you renamed it?
19:53.37NetRipperbut it should be done more clealy
19:53.39NetRippercleanly
19:53.40druiduif you changed the location of the files, the path changed
19:54.07NetRipperdruidu, point is that there should not be a #include board.. in the msm_ts ;)
19:54.08druiduwhat branch are we working on? htc-msm?
19:54.26NetRipperandroid-msm-htc-2.6.25 but will be or is already renamed to htc-msm-2.6.25
19:54.27druiduexactly
19:54.32dcordesno htc-msm has the old kaiser and polaris .24 code
19:54.40druiduand we're synced with their updates?
19:54.47dcordesno
19:55.00druidubut we can pull them on request right?
19:55.03dcordeshtc-msm-2.6.25 is bare (google) android-msm-htc-2.6.25
19:55.13NetRipperdcordes, as temporary workaround until msm_ts is using the proper api, we could extern the MSM_FB_BASE and SIZE in board-*.c
19:55.22dcordesdruidu, in an ideal world I would like to put both, yese
19:56.05*** part/#htc-linux szsoftware (n=sven@e178206089.adsl.alicedsl.de)
19:56.07dcordesraphael and polaris use these values?? :
19:56.08dcordes#define MSM_FB_BASE             MSM_PMEM_GPU1_BASE + MSM_PMEM_GPU1_SIZE
19:56.08dcordes#define MSM_FB_SIZE             0x200000
19:56.14*** join/#htc-linux exco (n=exco@e181065187.adsl.alicedsl.de)
19:57.03druidupH5: do you administer the mobile-linux-discuss project or something?
19:58.10NetRipperi think kevin does
19:58.13dcordesdruidu, what do you think, I diff with what I have now, and you review it against your and NetRipper's code?
19:58.31dcordesboth, pH5 and Kevin2 are mobile-linux administrators.
19:58.39NetRipperok
19:58.56druiduit shouldn't be very hard to port to kernel fb code, just open fb device (maybe ioctl for width/height), and maybe mmap it or something
19:59.10druiduok :)
19:59.17dcordesok? I upload it
20:01.14druiduwe could also put extern struct fb_info *registered_fb[]; then use registered_fb[0]->screen_base instead of that constant and ioremap
20:01.15*** join/#htc-linux szsoftware (n=sven@e178206089.adsl.alicedsl.de)
20:01.25druidushould have done that... :)
20:02.39BruteSourcedruidu whats your day job?
20:03.32druidutheoretically... I'm a student
20:03.47druidubut I work as a web developer mostly
20:04.03BruteSourcei see
20:04.19BruteSourceyou a cs major?
20:04.27druiduyes
20:04.40dcordeshttp://linuxtogo.org/~lgorris/git-diff-htc-msm-2.6.25-20082810.diff
20:04.43BruteSourceee maybe?
20:05.11druiduweb development is just temporary, pocket money :)
20:05.35dcordesdruidu, my changes are adding MACH_HTCRAPHAEL and 3 spots where I used ifdef to make the changes specific to CONFIG_MACH_HTCRAPHAEL
20:05.42BruteSourceyour school focus on c or java?
20:06.00dcordesuniversity of java
20:06.18dcordesandroid university college
20:06.58druidudcordes : I'm sending you updated -ts and -vkbd files, to take memory address from kernel directly
20:07.01druiduat runtime
20:07.07dcordesNetRipper, can you also look at the diff. it is just to show what I mean by keeping the board stuff board-specific...
20:08.10dcordesdruidu, yea send but I don't even know if my branch works at all.
20:08.34dcordescan't even complete the build because of the touchscreen problem with MSM_FB* definition
20:09.12druidupH5: I registered to the mailing list, does that mean I will get access? :)
20:09.20druidunew version won't need them
20:09.33dcordesok
20:11.01ALoGeNolo all
20:11.24dcordesAlo ALoGeNo
20:11.30ALoGeNotmzt are you over here?
20:11.36ALoGeNohi :)=
20:11.55dcordeshow's your uni?
20:13.00ALoGeNohehe tnx for ask :), well the poor follow with the same kernel ^^
20:13.46ALoGeNoand i was doing test with 5 version of kernels ;)
20:13.49miknixping BabelO
20:14.33ALoGeNodcordes you think that i must apply this patch? http://svn.o-hand.com/repos/poky/trunk/meta/packages/linux/linux-rp-2.6.26/binutils-buildid-arm.patch
20:15.32dcordesALoGeNo, out of clue there, sorry
20:15.34pH5dcordes: ah, ok. You can use "git remote update" to get the new branch names, rename the branch locally and edit .git/config or use git-config to rename the tracked remote branch (git-config branch.htc-msm-2.6.25.merge refs/heads/htc-msm-2.6.25).
20:15.54pH5druidu: well yes, I guess you are our diamond man now.
20:16.16dcordespH5, that sounds horrible. how can I remove the current branch ?
20:16.30pH5dcordes: you really should read the git manpages some time ;)
20:16.30druiduhehe, thanks :)
20:16.41dcordes:(
20:16.49druidudcordes : your patch has some extra stuff from the old htc_fb_console.c driver
20:17.01NetRipperdcordes, header of board-raphael.c should be updated
20:17.14druiduinfernix: /drivers/android/Kconfig /drivers/android/Makefile
20:17.24dcordesNetRipper, it's just a copy for now. and I added the definitions back in.
20:17.27druidusorry, that was "in" not infernix
20:17.41dcordesdruidu, ok I will restore these changes
20:18.00pH5dcordes: git branch -d android-msm-htc-2.6.25 ; git checkout -b htc-msm-2.6.25 origin/htc-msm-2.6.25 # something like that
20:18.05NetRipperdcordes, and at bottom of board-raphael.c it says MACHINE_START(HALIBUT, should probably become RAPHAEL and the other changes in that block
20:18.10dcordespH5, thanks
20:18.16dcordesyea I know
20:19.00NetRipperyou wanted a review ;)
20:19.44dcordesNetRipper, I am making a list
20:20.44NetRipperdcordes, the irq.c #ifdef is wrong, it'll execute the set_irq_flags double now for raphael
20:21.06dcordesok
20:21.25NetRipperdcordes, should be: if (is_machine_raphael() && n == INT_DEBUG_TIMER_EXP)
20:21.36dcordeshold up
20:21.50pH5NetRipper: htcraphael and HTCRAPHAEL, respectively.
20:22.20NetRipperoh, machine_is_htcraphael()
20:22.27pH5at least that's the name that is registered in the arm machine database
20:22.44*** join/#htc-linux Guimli (i=guimli@ecu69-1-82-231-127-213.fbx.proxad.net)
20:22.45NetRipperpH5, yes
20:23.03NetRipperpH5, just checked, had the order wrong as well ;)
20:23.16dcordesNetRipper, ok how to put it ?
20:23.25druidudcordes: http://octav.oricum.ro/android/msm_ts.c http://octav.oricum.ro/android/msm_vkeyb.c
20:23.30NetRipperif (machine_is_htcraphael() && n == INT_DEBUG_TIMER_EXP)
20:24.14NetRipperdcordes, assuming you updated mach-types.h
20:24.27NetRipperdcordes, its not in my patch yet
20:24.44druidudoesn't need MSM_FB_BASE anymore, but touchscreen does need the TS #defines that i added in msm_iomap.h and the patch in arch/msm/io.c (which you already have)
20:24.46dcordesdruidu, replaced.
20:25.08dcordesNetRipper, can't we use the kernel configuration way?
20:25.28NetRipperdcordes, sure then add #else
20:25.34NetRipperi think
20:25.34dcordesah right
20:26.12NetRipperreplace #endif with #else and put #endif a line lower
20:26.51dcordesNetRipper, http://rafb.net/p/ALannI54.html
20:27.55NetRipperdcordes, excactly
20:28.02dcordesok
20:29.34BruteSourceman you guys are always knockin shit down left and right, wish you were workin with omap850
20:29.40druiduwe can build a joint raphael/diamond kernel
20:30.27druidumake it so that stuff only raphael has doesn't crash the kernel on diamond (mmc for ex)
20:32.13dcordesdruidu, is mmc relevant now? you should remove it from board init for both machines
20:32.34dcordesdruidu, you want to add CONFIG_MACH_HTCDIAMOND ?
20:33.15*** join/#htc-linux lastik_ (n=eraser@80.92.96.29)
20:34.22dcordesBruteSource, ?
20:34.59BruteSourcei just version people when im bored, soory.
20:35.01dcordesBruteSource, btw, is your excalibur code available publicly?
20:35.02BruteSourcesorry
20:35.41BruteSourceits not mine, and i dont think penguinz has posted the source yet
20:36.27dcordesgood then penguinz code, what does it base on?
20:36.30BruteSourcewere kinda giving up since there is no example of someone getting the gsm hardware working on omap850
20:36.37NetRipperdcordes, some defines are both in drivers/android/Kconfig and in arch/arm/mach-msm/Kconfig (i.e. HTC_FB_CONSOLE_DELAY)
20:36.58dcordesNetRipper, it was already fixed.
20:37.16dcordesi.e. I removed it from drivers/android/Kconfig
20:37.17NetRipperdruidu, i'd like that, having one kernel that boots both
20:37.24NetRipperdcordes, ok
20:37.27dcordesNetRipper, it's mandatory...
20:37.35NetRipperdcordes, just saying as i found it in the patch ;)
20:37.38NetRipperdcordes, ok
20:37.42BruteSourcethe kernel is based on linwizard, the userspace is android, same with userland
20:38.29dcordesNetRipper, ya duidu already spotted it.
20:38.33NetRipperok
20:38.36dcordesdruidu, found anything else?
20:39.11NetRipperi didnt find anything else btw
20:39.22BruteSourcedcordes why you know someone who wants to do the radio stuff?
20:39.28BruteSourcewhy;
20:39.33BruteSourcewhy, even
20:39.41BruteSourcei hate this keypad
20:41.54dcordesNetRipper, druidu, did you dump the nand partition tables for diam/raph?
20:42.16BruteSourcedcordes?
20:42.28*** join/#htc-linux Guimli (n=guimli@ecu69-1-82-231-127-213.fbx.proxad.net)
20:42.29NetRipperdcordes, no, there are dumps on raph rom forum though
20:42.32dcordesBruteSource, no
20:42.47BruteSourcewhy did you inquire then?
20:42.54dcordesNetRipper, szsoftware and me did a wiki page for polaris kaiser nand
20:42.55BruteSourcejust out of curiosity
20:43.48dcordesNetRipper, http://wiki.xda-developers.com/index.php?pagename=KaiserNAND http://wiki.xda-developers.com/index.php?pagename=PolarisNAND
20:44.25dcordesNetRipper, did you checkout what you get out of /dev/mtd0 ? I just came to thought of nand because I see in your config it is enabled
20:44.41NetRipperi haven't checked it yet
20:45.41dcordesok I'm curious if it works ootb. on kaiser it does with the msm_defconfig mtd settings. just it has no partitions.
20:45.50*** part/#htc-linux Kalemas (i=ejabberd@jabbus.org)
20:46.24dcordesi.e. you can read out /dev/mtd0 but it only spits odd data
20:46.33*** join/#htc-linux infernixx (n=nix@unaffiliated/infernix)
20:50.24BruteSource2.8 is out?
20:50.27druidudcordes : don't think it is necessary yet, we would just duplicate code
20:50.41dcordesdruidu, 2 boardfiles?
20:50.43*** join/#htc-linux tuxydo (n=joop@ip5455c588.speed.planet.nl)
20:51.47dcordesdruidu, that keyboard looks really nice. you made it all from scratch?
20:52.03druiduwas talking about separate raphael and diamond board files
20:52.18dcordesya ok I think only one is enough for both for now
20:52.21dcordesas well
20:52.49druiduyep, one night, including the touchscreen driver and learning the protocol :)
20:53.22druiduit looks good but it's a mess inside hehe
20:53.41dcordesamazing. in order to use it (with the latest update you provided), I must enable the 8x8 font. but that would enable framebuffer console, no?
20:54.27druidunope, frame buffer console *support*
20:54.34dcordesalright
20:54.35druiduthat means all files that would allow for fb drivers
20:55.01druiduI used the 8x8 so that it fits nicely near tux :)
20:55.18dcordesok so with all the updates, the local tree here seems to build
20:55.29druidugimme zImage please
20:55.35dcordesone minute
20:55.48druiduboard is derived from halibut?
20:55.52dcordesyes
20:56.04dcordesI will up the diff and zImage
20:56.34szsoftwaredruidu: NetRipper: have both Diamond and Raphael 640x480 Display?
20:56.39druiduyes
20:56.42druiduthey are almost identical
20:56.54szsoftwaredruidu: ok
20:56.58druiduraphael has a qwerty keyboard, flashlight and mmc
20:57.35BruteSourceanyone using 2.6.28?
20:57.48szsoftwaredruidu: ah, yeah I remember why I didn't like Diamond (lag of mmc)
20:57.50druidunope, msm support is only for 2.6.25
20:58.06BruteSourcei mean on there comp
20:58.24druiduI like it cause it's very thin and light
20:58.41szsoftwaredruidu: swetland said, next android's htc-msm will be 2.6.27
20:59.20dcordesszsoftware, raphael vs diamond is similar to kaiser vs polaris
20:59.35szsoftwaredcordes: thx
21:00.08szsoftwaredcordes: but you've also no flashlight, no ? :-)
21:00.49druiduyes, no diamond for flashlight, made initial debugging a real pain :D
21:01.24dcordesdruidu, http://linuxtogo.org/~lgorris/builds/zImage-htcraphael-20082810-00
21:01.29dcordesplease do not blame me for frying
21:01.40NetRipperdcordes, lol
21:02.05BHSPitWebtmzt: FYI, I just ordered a USB cable
21:02.30BHSPitWebcan't be arsed with bluez I don't think
21:02.56tmztBHSPitWeb: did you see what they said on #linwizard, that they can maybe detect lcd and don't need to patch kernel for every device?
21:03.15NetRipperdcordes, i take it we use the raphael mtype now?
21:03.24NetRipper(you modified the machine_start, right?)
21:03.39dcordesNetRipper, no
21:04.00NetRipperdcordes, in that case there's now board-halibut and board-raphael for the same mtype, that'll give problems, wont it?
21:05.00dcordesdunno but don't think so
21:05.09NetRipperhow will it chose which to pick then?
21:05.13dcordesdruidu, exact code for the zImage http://linuxtogo.org/~lgorris/diffs/git-diff-htc-msm-2.6.25-20082810-01.diff
21:05.14tmztif only one is in .config, it shouldn't compile/link
21:05.18tmztthem at all
21:05.42dcordesbut there is no diamond naming in the code, no?
21:05.55NetRipperdcordes, ok so did you remove CONFIG_MACH_HALIBUT out of .config then?
21:06.00dcordesyes
21:06.06NetRipperok
21:06.12dcordes.config is not in the patch and I did not yet add the htcraphael_defconfig
21:06.21BHSPitWebtmzt: no, never been there
21:07.18BHSPitWebtmzt: is this like, a kernel patch someone's working on releasing?  Or an idea someone just tossed around?
21:07.24NetRipperkernel panic
21:07.42BHSPitWebNetRipper: your kernel's got some anxiety issues
21:08.03NetRipperBHSPitWeb?
21:08.25NetRipperdcordes, i still had mem=120M in my haret, maybe that causes this kernel panic ;)
21:08.35NetRipperpanic had to do with memory paging
21:08.43tmztBHSPitWeb: they were just talking about it earlier today
21:09.48dcordesNetRipper, ok that solved it?
21:09.50dcordesdruidu, boots?
21:09.53NetRipperdcordes, trying
21:10.25druidudcordes : comment out the two calls to proc_comm_wait_for() in arch/arm/mach-msm/proc_comm.c
21:10.46druiduboots but I get all those timeouts, proc_comm is not working yet so comment out all the code so it will go further
21:10.49druiduyou don't get that?
21:11.11NetRipperyes same here
21:11.19NetRipperi thought i saw it in your patch though
21:11.22dcordesok great it does _something_
21:11.26NetRipperyes
21:11.38druiduops
21:11.38dcordesdruidu, I thought the return 0 added by NetRipper's patch sorts that
21:11.40druiduI use trout
21:11.41druidujust realized
21:11.46druiduin my default.txt
21:11.47druidu:)
21:12.01NetRipperlol druidu, i use halibut, same resul tthough ;)
21:12.05druiduit was commented out I think, don't remember
21:12.11NetRipperdcordes, it should be commented out yes
21:12.24dcordesshall we ifdef that?
21:12.33NetRipperarch/arm/mach-msm/proc_comm.c function int msm_proc_comm
21:12.39BHSPitWebtmzt: meh, at least with the cable I can actually sync stuff
21:12.53dcordeshttp://rafb.net/p/cejzUP22.html can you update that pastebin accordingly?
21:13.18NetRipperrename CONFIG_BOARD_RAPHAEL to CONFIG_MACH_RAPHAEL
21:13.52dcordesok
21:13.55NetRipperuh
21:13.59druiduI commented out all the functions that used msm_proc_* too, in case they decided to keep trying to use proc_comm (some gpio functions in trout) :)
21:14.01NetRipperthought you named it like that
21:14.19dcordesNetRipper, yes
21:14.24druidualso, won't the screen turn off if you don't disable the power on/off functions?
21:14.32druidufor panel and mddi
21:15.50druiduand comment out the annoying two printks in drivers/video/msm_fb/mdp.c: //              printk(KERN_ERR "mdp irq already on already on %x %x\n",
21:16.06druiduand //              printk(KERN_ERR "mdp_dma_to_mddi: busy\n");
21:16.31druiduthere are standard defines in arch/arm/tools
21:16.43dcordes#ifndef CONFIG_MACH_HTCRAPHAEL
21:16.43dcordesprintk(KERN_ERR "mdp irq already on already on %x %x\n",
21:16.43dcordes<PROTECTED>
21:16.43dcordes#endif
21:16.52dcordesok
21:16.56druidumake sure you have latest version of arch/arm/tools/mach-types (see header on where to get it)
21:17.29NetRipperdcordes, ah ok then it must be CONFIG_MACH_HTCRAPHAEL instead of just RAPHAEL :)
21:17.55druiduyes, better use standard names, maybe someday we will merge with main linux kernel :)
21:18.37NetRipperand that day i shall open up a bottle of champagne
21:18.56dcordesdruidu, did you see the diff I pasted?
21:18.58dcordesto the zImage
21:19.33ulaasis the git repos accessible that you are working on?
21:19.59dcordesulaas, yes but no diamond/raphael code in there yet
21:20.14dcordesulaas, http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.25
21:21.36druiduhehe, LOGO_DIAMRAPH_CLUT224 :)
21:22.20dcordesdruidu, can you look what I did wrong in mdp.c ?
21:22.22dcordes#ifndef CONFIG_MACH_HTCRAPHAEL
21:22.22dcordesprintk(KERN_ERR "mdp irq already on already on %x %x\n",
21:22.22dcordes<PROTECTED>
21:22.22dcordes#endif
21:22.32druiduyes, it's ok
21:22.40dcordesthat is already in the zImage I uploaded
21:22.43druiduunless you do that, it spams the console every second with that message
21:22.54druidudid you reupload?|
21:22.57NetRipperdcordes, we dont see that message, so that's good
21:23.03NetRipperdcordes, its just the proc_comm that didnt work
21:23.17druiduthe +#if defined(CONFIG_BOARD_RAPHAEL)
21:23.31druiduthat's why NetRipper's proc_comm patch didn't work
21:23.34NetRipperyes that one
21:23.39NetRipperthink dcordes already modified it
21:23.57dcordesyes but only locally.
21:24.03druiduNetRipper: did you get anywhere with the usb drivers?
21:24.12dcordesshall I reup image and diff, druidu ?
21:24.34NetRipperdruidu, no, i really want to speak with swetland about that, there is an 'ether' usb function, but its unknown how it works and what is needed on 'the other side'
21:25.02dcordesNetRipper, I wonder why you get the mdp printks because the above ifndev was already compiled in http://www.linuxtogo.org/~lgorris/builds/zImage-htcraphael-20082810-00
21:25.14NetRipperdcordes, just said we dont get the message :)
21:25.20dcordessorry
21:25.24NetRippernps :)
21:25.47dcordesshould we disable usb init in board_htcraphael.c for now?
21:26.01NetRipperi think it inits fine, so we can leave it
21:26.29druiduwell, we can look in the code, it might speak for itself :P
21:26.30NetRipperit's properly recognized by a host as well
21:26.46dcordesok then.
21:26.57druidudrivers/usb/function/ether.c written by google team?
21:26.59dcordesI will upload the zImage with fixed proc_comm printk ifdef
21:27.12NetRipperdruidu, yes, which is why i want to speak with swetland :)
21:27.12dcordesdruidu, is there anything else wrong ?
21:27.14druidudcordes : no, it workes
21:27.22druiduI even mounted usbfs
21:27.31dcordesoh, ok.
21:27.32druidubut some drivers like the ether usb crash my kernel
21:27.42druiduI only enabled addb and msm7k diag
21:27.46dcordesdruidu, shall I make a htcraphael_defconfig from my .config ?
21:27.52druidu+ usb host side and usbfs
21:28.09NetRipperdcordes, let's first test the new compiled zimage
21:28.10druiduyes, should be useful
21:28.18druiduof course, when it works :)
21:28.26druidudo you have NetRipper's initrd?
21:28.26dcordesok will reupload
21:28.28NetRipperdcordes, we'll put a defconfig that boots to shell
21:28.36NetRipperdcordes doesn't have a raph/diamond
21:28.40dcordesdruidu, no and don't need because I have no msm7201A
21:28.44druiduduh:  * Author: Brian Swetland <swetland@google.com>
21:28.46druidustuped me
21:28.52NetRipperdruidu, you're forgiven :P
21:28.57dcordesdruidu, in which file?
21:29.05druidudcordes: ? what device do you have?
21:29.09dcordeshtckaiser
21:29.14druiduah, I see
21:29.18szsoftwaredcordes: btw. should'nt we move "our" touch screen drivers also to /drivers/input/touchscreen/, instead leaving it in /arch/arm/mach-msm/ ? in arch-msm/Kconfig/ we should provide "select FOOBARS" in the Phone configs
21:29.21NetRipperin ether.c
21:29.25dcordesI want to merge what we do right here with kaiser and polaris after it works for you
21:29.38druiduactually
21:29.44druidui put them there initially
21:30.08druidubut right now they're too msm specific to go there, they're early stage really
21:30.26szsoftwaredruidu: you refer to my statements?
21:30.30druiducan't call it a real driver until a I make those darn irqs fire
21:30.41druiduszsoftware: yes
21:30.57NetRipperdruidu, maybe you have more luck when you're back on a 'clean' kernel git ;)
21:31.05szsoftwaredruidu: so actually they reside in arm-msm?
21:31.08dcordesszsoftware, yes that makes a lot of sense
21:31.26dcordesszsoftware, it's ugly building them with the system Makefile
21:31.31szsoftwaredcordes: ok right, I just want to sync my work
21:31.32druiduthey're not bound to anything actually, not sure where dcordes put them in the end
21:31.35dcordesalso had that thought
21:31.45druiduNetRipper : actually I restarted from scratch quite a few times
21:32.01druidumost of the times because I'm not good at using git yet
21:32.02druidu:D
21:32.07NetRipperlol
21:32.18NetRippergit has a steap learning curve it seems ;)
21:33.08dcordesI'm a bit confused what needs changing in the http://linuxtogo.org/~lgorris/builds/zImage-htcraphael-20082810-00 ?
21:33.09druiduI find it really cryptic, but it may be that I haven't worked much with versioning systems
21:33.13*** join/#htc-linux hollo (n=hollo@3e6b025d.rev.stofanet.dk)
21:33.25druidudcordes: is this the old one?
21:33.26druiduor new one?
21:33.28dcordesyes
21:33.33dcordesthe only one I upped
21:33.35NetRipperdcordes, you fixed the proc_comm, recompile it please :)
21:33.45szsoftwaremv ../../../drivers/input/touchscreen/msm_vkeyb.c ./
21:33.46dcordesok compiling.
21:33.48szsoftwaremv msm_vkeyb.c ../../../drivers/input/touchscreen/
21:33.50szsoftwarehaha
21:34.32druiduif he does that, he also has to update Kconfig and Makefile in both dirs (original and new) :)
21:35.26druiduNetRipper: what can we do next to get the low level stuff running?
21:35.39druidudo we have enough specs on smd/proc_comm to make them work?
21:35.42NetRipperemmm i'd really like to refer you to cr2
21:35.56NetRipperbut i'd think clocks
21:35.59dcordeshttp://linuxtogo.org/~lgorris/builds/zImage-htcraphael-20082810-01
21:36.04NetRipperand smd/proc_comm
21:36.12NetRipperand i2c keyboard for raph ;)
21:36.44NetRipperoh and we can check if we can read nand with /dev/mtd0
21:36.55NetRipperthx dcordes
21:36.57dcordeshttp://linuxtogo.org/~lgorris/diffs/git-diff-htc-msm-2.6.25-20082810-01.diff
21:37.57dcordesNetRipper, druidu before moving on, see what cr2_ keeps
21:38.14dcordeshe said earlier he wants to push some stuff once we added the branch, initial patch
21:38.17NetRipperdcordes, can you pastebin the proc_comm code again?
21:38.29NetRipperdcordes, the return 0 is still not active :)
21:38.40dcordeswtf I did not save it
21:38.44NetRipperlol
21:38.44BHSPitWebtmzt: guess the answer is no?
21:39.03NetRipperdcordes, check for typos, it must be CONFIG_MACH_HTCRAPHAEL
21:39.35dcordessorry guys
21:39.49dcordeshttp://linuxtogo.org/~lgorris/builds/zImage-htcraphael-20082810-02
21:40.11NetRippernps
21:40.14dcordes#if defined(CONFIG_MACH_HTCRAPHAEL)
21:40.14dcordes/ netripper ; proc comm disabled
21:40.15dcordesreturn 0;
21:40.15dcordes#endif
21:40.15NetRipperrebooting ;)
21:43.15NetRipperok
21:43.28*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) [NETSPLIT VICTIM]
21:43.28*** join/#htc-linux tcccp (n=hey@223.66.238.89.arpa-addr.in) [NETSPLIT VICTIM]
21:43.28*** join/#htc-linux hlbot (n=adm@iclem.net) [NETSPLIT VICTIM]
21:43.28*** join/#htc-linux Kevin2 (n=Kevin2@207-237-52-122.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com) [NETSPLIT VICTIM]
21:43.29*** join/#htc-linux NiZoX (n=none@2a01:e35:8a13:a2b0:21c:c0ff:fe25:ff68)
21:43.29*** join/#htc-linux shoragan (n=shoragan@debian/developer/shoragan)
21:43.29*** join/#htc-linux paulproteus (n=paulprot@2002:db69:2513:0:0:0:0:1)
21:43.29*** join/#htc-linux swetland (n=swetland@nat/google/x-6eae5cb1f4c43e79)
21:43.42*** join/#htc-linux druidu (n=root@213.164.231.5) [NETSPLIT VICTIM]
21:43.49NetRipperwe scared cr2_ away
21:43.50BHSPitWeband he took all of clarke with him
21:43.57*** join/#htc-linux ahmeni (n=ahmeni@ahmeni.net) [NETSPLIT VICTIM]
21:43.57NetRipperhow dare he
21:43.59*** join/#htc-linux fo_Q (n=foq@mk084020180168.a1.net)
21:44.06dcordeshaha
21:44.06NetRipperkernel panic once again
21:44.06druidunetsplit :)
21:44.06*** join/#htc-linux cr2_ (n=konversa@crpl6.physik.uni-wuppertal.de) [NETSPLIT VICTIM]
21:44.07NetRipperdruidu, check how this one boots for you: http://linuxtogo.org/~lgorris/builds/zImage-htcraphael-20082810-02
21:44.07NetRipperpls
21:44.07NetRipper:)
21:44.09NetRipperim seeing trout_init()
21:44.15NetRipperdcordes, so it's using board-trout.c
21:44.37druiduno
21:44.41druiduit's you who used the wrong mtype
21:44.44druiduhe compiled both
21:44.44druidu:)
21:44.51NetRipperim using halibut mtype
21:45.03druiduok, weird
21:45.39dcordesNetRipper, between 00 and 02 is only the proc comm returning 0 and the mdp prints removed
21:45.54druiduactually, use RAPHAEL mtype
21:45.56*** join/#htc-linux lnxpenguin4ever (n=lnxpengu@72-60-224-154.area4.spcsdns.net) [NETSPLIT VICTIM]
21:45.56*** join/#htc-linux ahmeni (n=ahmeni@unaffiliated/ahmeni)
21:45.56*** join/#htc-linux ImCoKeMaN (n=imcokema@pool-96-249-151-72.hrbgpa.fios.verizon.net) [NETSPLIT VICTIM]
21:46.03dcordesdruidu, does it work on the diamond?
21:46.03NetRipperdcordes, yes, it goes further than before now
21:46.08druiduwait, testing now
21:46.08*** join/#htc-linux ahmeni_ (n=ahmeni@ahmeni.net)
21:46.08dcordesk
21:46.16NetRipperdcordes, it just took the trout board instead of raphael
21:46.26dcordesk
21:46.40NetRipperdcordes, have you updated mach-types?
21:46.45dcordesno
21:46.50dcordeswill do
21:47.00druidu+MACHINE_START(HALIBUT, "Halibut Board (QCT SURF7200A)")
21:47.27druiduboard-htcraphael uses halibut mtype
21:47.31NetRipperyes
21:47.39druidumake sure you don't compile with halibut support, things might so crazy
21:47.42druiducollisions etc
21:47.49dcordesupdated locally
21:47.51*** join/#htc-linux wasup (n=Tech@208.47.103.106)
21:48.05wasup~seen zdooder
21:48.10aptzdooder <n=troy@c-67-160-50-188.hsd1.wa.comcast.net> was last seen on IRC in channel #htc-linux, 14d 55m 38s ago, saying: 'wasup: very cool'.
21:48.10NetRipperdcordes, also update MACHINE_START please
21:48.18dcordesdruidu, HALIBUT is n in my config
21:48.46dcordesNetRipper, where is MACHINE_START ?
21:48.51NetRipperdcordes, board-raphael.c
21:48.59NetRipperdcordes, bottom of the file
21:49.01dcordesok
21:49.12druidudcordes : I got kpanic
21:49.16druidumemory access at 0x00000000
21:49.20druidulike null pointer fun :)
21:49.23NetRipperdruidu, after the trout_init
21:49.24NetRipperright?
21:49.32dcordesdruidu, you think it is because the proc comm returns null now?
21:49.41druiduyes, but again, why trout init? :)
21:49.43druidudon't get it
21:49.51NetRipperdcordes, no, proc_comm returning 0 is fine
21:50.10druidudcordes : you sure you're using the right mach-types file?
21:50.26dcordesdruidu, nope I just updated it locally
21:50.38druidulocally?
21:50.39dcordesin the builds are still the old
21:50.40*** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
21:50.59NetRipperdcordes, you used the raphael mtype?
21:51.01NetRipperuh
21:51.02NetRippersorry
21:51.04druiduit's strange that it boots trout with halibut id, and trout is newer than halibut
21:51.07NetRipperdruidu, you used the raphael mtype?
21:51.27druidunope, I used halibut because I looked in the .diff and that's what he used :)
21:51.33NetRipperdruidu, hehe ok
21:51.41druidubtw, do we know how to shut down the device / reboot?
21:51.45druiduis there a simple gpio?
21:51.59NetRipperdruidu, no idea yet
21:52.13NetRipperdruidu, im kind of glad it doesnt reboot yet, wouldn't have time to read error in 3 seconds ;)
21:52.20druiduhehe, true
21:52.39dcordesI will up the zImage with updated mach-types
21:53.15druidudcordes : you can also compile with msm_fb support, if my fb works, msm_fb will work too (provided that the panel initialization functions don't turn it off)
21:54.15druiduand if you enable both, you'll get my console until the fb is inited
21:54.52dcordeshttp://www.linuxtogo.org/~lgorris/builds/zImage-htcraphael-20082810-03 updated mach-types and MACHINE_START name
21:54.56*** join/#htc-linux solar (n=solar@smtp.gentoo.org)
21:55.05NetRipperdruidu, i think msm_fb is enabled by default
21:55.12NetRipperthx dcordes
21:55.14dcordesyes I think so as well
21:56.10NetRipperoops
21:56.12NetRipperforgot update mtype
21:56.12NetRipper:D
21:56.33dcordesright now, I think raph/diam don't interfer at all with the other MACHs
21:57.25NetRipperok
21:57.51NetRipperdcordes, raph mtype is 1910 right?
21:58.06dcordesyes
21:58.17druiduNetRipper: might be wrong, but drivers/usb/function/ether.c doesn't look like it's gonna work
21:58.35NetRipperdruidu, how so?
21:58.46druiduit seems unfinished, it just sets up the device and some queues and locks, but I don't see any actual transfer functions
21:58.55NetRipperdruidu, oh :s
21:59.30NetRipperit does register a usb0 ether device and i thought i saw some read/write things
21:59.38NetRipperdcordes, doesn't boot :x
21:59.51NetRipperdcordes, did you add board-raphael in Makefile?
22:00.13dcordesNetRipper, I didn't change much between the zImage which worked for you and now
22:00.40*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
22:00.42NetRipperdcordes, mtype has changed, when mtype is wrong, it fails directly after jumping to kernel even before MMU is enabled
22:01.03dcordesremove the mdp printks, correct proc comm to return 0, update mach-types, edit naming in board-htcraphael.c
22:01.15NetRipperdcordes, so at runtime it's unable to find a matching board now, which means there's a problem in configuration or compilation
22:01.31NetRipperdcordes, can you make a new diff?
22:01.33dcordesI will uplaod the diff
22:01.36dcordes:)
22:01.36NetRipperthx
22:01.36NetRipper:)
22:01.48*** join/#htc-linux ALoGeNo (n=QUAKEIII@142.Red-81-37-222.dynamicIP.rima-tde.net)
22:02.11druiduare there any docs on proc_comm on the net?
22:02.27druidulike RFCs? specs? anything?
22:02.42NetRipperdruidu, maybe on wikipedia
22:02.47NetRipperdruidu, a basic introduction or something
22:03.05dcordesupp'D
22:03.18NetRipperi need to read up on i2c etc too :x :P
22:03.26druidunothing, zero
22:03.27dcordeshttp://www.linuxtogo.org/~lgorris/diffs/git-diff-htc-msm-2.6.25-20082810-03.diff
22:03.28NetRipperall this is new for me ;)
22:03.31NetRipperthx dcordes
22:03.50druidui2c has plenty of docs, including in the kernel
22:03.56druiduproc_comm... ZERO
22:04.10dcordesdruidu, NetRipper how did you paint the smiley at http://www.netripper.nl/raphael/pics/20081027_touchscreen_keyboard3.jpg ?
22:04.19dcordesI first thought it is tslib_test
22:04.23dcordesbut that looks different
22:04.24druiduwith the stylus :)
22:04.33druiduit draw yellow dots after calibration
22:04.33NetRipperdcordes, lol druidu made a gimmick, when touch screen is calibrated, ou can draw on the screen
22:04.48druiduit's like kernel fingerpainting
22:04.48druidu:)
22:04.54NetRipperi love gimmicks like that
22:05.02dcordes:-D
22:05.20dcordeslol how nerdy. I also loved playing with tslib_test on the kaiser ^^
22:05.39druidutouchscreen libs should work, my driver sends standard messages, although just raw data, not calibrated
22:05.55dcordesdruidu, you didn't base on android ts driver, right?
22:06.23NetRipperlol dcordes you made it MACHINE_START(HTCKAISER instead of HTCRAPHAEL
22:06.45dcordeskaiser'D!
22:07.06druidunope, it's written from scratch
22:07.07NetRipper"HTC kaiser cellphone (aka HTC Touch Pro)" there you do it correctly :P
22:07.17druiduit's very simple, really
22:07.34dcordesfixed locally. it's automatism ;)
22:07.46NetRipperdcordes ;) can't wait for next kernel :P
22:07.52NetRipperyou can build it right away
22:08.03dcordeswait, there is no changes?
22:08.17dcordesdoes that affect the boot process?
22:08.19NetRipperyes you modify the MACHINE_START(HTCKAISER ..... to HTCRAPHAEL
22:08.21NetRipperyes
22:08.25dcordesok building
22:08.32dcordesMACHINE_START(HTCRAPHAEL, "HTC raphael cellphone (aka HTC Touch Pro)")
22:08.33NetRipperit's what matches the mtype with the board file
22:08.37NetRipperyes
22:08.55*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
22:09.33dcordesupp'D
22:09.50NetRipperrename :p
22:11.17dcordesok if you will boot then
22:11.27miknixguys, is there any difference between using  -mtune=arm926ej-s vs -mtune=arm10tdmi ?
22:11.31dcordeshttp://www.linuxtogo.org/~lgorris/buildszImage-htcraphael-20082810-04
22:12.05NetRipperdcordes, ok boots better, but still not perfect
22:12.16miknixarm10tdmi should produce armv5 code
22:12.57NetRipperdcordes, let's disable some things in kernel config
22:12.59NetRippersec
22:13.23dcordesorg.openembedded.dev/conf/machine/include/tune-arm926ejs.inc
22:13.24dcordesFEED_ARCH = "armv5te"
22:13.24dcordes# For gcc 3.x you need:
22:13.24dcordes#TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ejs"
22:13.24dcordes# For gcc 4.x you need:
22:13.25dcordesTARGET_CC_ARCH = "-march=armv5te -mtune=arm926ej-s"
22:13.27dcordesBASE_PACKAGE_ARCH = "armv5te"
22:13.47dcordesmiknix, fwiw maybe this provides any hint
22:13.58BruteSourcei thought you guys were working with arm11?
22:14.04dcordesdruidu, can you boot http://www.linuxtogo.org/~lgorris/buildszImage-htcraphael-20082810-04 ?
22:14.45NetRipperdcordes, let me list a few things to enable/disable
22:15.01NetRipperdcordes, under networking, disable bluetooth completely
22:15.03miknixdcordes, thanks. no difference at all then
22:15.08NetRipper(maybe under wireless submenu)
22:15.16druidutrying now
22:15.43druidu404
22:15.47druidudid you rm it?
22:15.59dcordesNetRipper, ok bluetooth networking is disabled.
22:16.37kazehttp://linuxtogo.org/~lgorris/builds/zImage-htcraphael-20082810-04
22:16.45NetRipperdcordes, device drivers -> i2c support -> misc i2c chip support -> disable AKM8976 compass driver
22:16.45dcordesdruidu, sorry typo
22:16.45kazedruidu ^^
22:16.56druiduah yes
22:17.00kazemissing a /
22:17.00druidudisable that, crashes kernel
22:17.12druidualso the cam driver crashed
22:17.22dcordeslet's also disable cam
22:17.29dcordesok
22:17.33NetRipperyes
22:17.40dcordes<PROTECTED>
22:17.43dcordeswas led tested?
22:17.52NetRipperdcordes, not tested, but doesnt crash (at raph)
22:18.10NetRipperdruidu, does mmc driver crash diamond?
22:18.13druidunetspider: without any drivers, should I be able to list all device ids on i2c bus?
22:18.21druidu*netripper
22:18.23*** join/#htc-linux fo_Q_ (n=foq@mk084020180168.a1.net)
22:18.36druiduNetRipper: nope, it was just an example a few pages pack
22:18.37druidu:)
22:18.43druidudon't think so
22:18.45NetRipperdruidu, dont know, the msm i2c thing will be there, just no device drivers for things on the bus
22:18.57NetRipperdruidu, ok, let's keep mmc enabled for now
22:19.01dcordesNetRipper, you need msm_sdcc anyway for wifi
22:19.11druiduthe idea is to list i2c device ids so we can see what devices we have
22:19.24NetRipperdcordes, ok
22:19.59NetRipperdcordes, can you cat .config | egrep 'HTC_FB_CONSOLE|HTC_FB_CONSOLE_DELAY|HTC_FB_CONSOLE_BOOT'
22:20.21dcordesCONFIG_HTC_FB_CONSOLE=y
22:20.21dcordes# CONFIG_HTC_FB_CONSOLE_DELAY is not set
22:20.21dcordes# CONFIG_HTC_FB_CONSOLE_BOOT is not set
22:20.30NetRipperplease enable CONFIG_HTC_FB_CONSOLE_BOOT
22:20.39dcordesok
22:20.40druiducan't we probe all 255 ids?
22:20.42druiduand see which respond?
22:20.53NetRipperdruidu, i dont know enough about i2c, sorry
22:20.56dcordesCONFIG_HTC_FB_CONSOLE_BOOT=y
22:20.57BHSPitWebIs there a version of Haret made to be viewed properly on a portrait LCD?
22:21.25BHSPitWebI know it's not a huge deal, but the UI extends off my screen :(
22:21.27druiduenable all three actually, delay is activated after delay loop is calibrated and that is right before fb is initialized
22:21.36NetRipperdruidu, my device is getting hot after the kernel panic btw
22:21.43NetRipperdruidu, you may want to soft reset
22:21.44NetRipper;)
22:22.01dcordesok all enabled
22:22.15druiduNetRipper: don't leave it in the kernel too much, my drivers are battery killers
22:22.32NetRipperdruidu, that too hehe
22:22.42NetRipperdruidu, bad power management mister
22:22.48dcordesboot w/o battery ?
22:22.57druiduor keep it plugged in usb, although I don't think it would charge... maybe just use usb power?
22:23.09NetRipperdont know, i usually keep it in usb
22:23.09dcordesNetRipper, druidu anything else in the default configuration to change? what abotu filesystems?
22:23.18NetRipperdcordes, ah yes, add ext2 and ext3
22:23.24NetRipperdcordes, its needed for initrd
22:23.31dcordesok
22:23.37NetRipperlet me diff my .config with msm_defconfig
22:23.42dcordesok
22:24.01druidudcordes: default is just yaffs2, but well... ext2, ext3, procfs
22:24.12druidumaybe usbfs if you enabled host side usb
22:24.33dcordesdo we need the following for raph?
22:24.35dcordesCONFIG_MACH_TROUT=y
22:24.35dcordesCONFIG_TROUT_BATTCHG=y
22:24.35dcordesCONFIG_TROUT_PWRSINK=y
22:24.35dcordesCONFIG_TROUT_H2W=y
22:24.35druidunot sure if it can do anything
22:24.48NetRipperookay diffing is no use, :P
22:24.49dcordesit's disturbing we build for different boards now.
22:25.09druiduwe don't really now how much of that stuff really works, probably not much
22:25.54dcordesyou guys wanna try an image w/o all the 4 trout configs?
22:25.56druiduI should set up irqs on all gpio diamond pins and see if I can map at least the buttons and stylus detect
22:26.02dcordesand the other changes to defconfig ?
22:26.18dcordespendown irq?
22:26.44druiduit's a gpio I think
22:26.53druiduwhich yes, can generate an irq
22:27.37*** part/#htc-linux exco (n=exco@e181065187.adsl.alicedsl.de)
22:27.42druidudamn, lots of stuff to do
22:27.52NetRipperhehe yea
22:27.55NetRipperdon't get discouraged :)
22:28.02NetRipper(pretty please)
22:28.05dcordeswhat about config?
22:28.10NetRipperstill checking dcordes
22:28.20druiduneah, just that I'll be kind of busy for like two weeks, going to have to work hard
22:28.36druidunot sure how much time I can spare to work on this... but I'll try
22:28.47NetRipperdruidu, nps, im sure we'll leave things for you to do :D
22:28.54druidubefore I got the diamond, I was trying to put android on an iRiver X20 mp3 player
22:29.22druiduyes, I know it has no phone, no keyboard, no wireless, no bluetooth, but it would be cool :)
22:29.35NetRipperlol
22:29.45NetRipperat least diamond has more potential ;)
22:29.56NetRipperdcordes, does it compile withou tthe TROUT in config?
22:30.12druiduI did manage to find gpios of lcd backlight and some leds + had the chip datasheet
22:31.35dcordesdruidu, cool how did you access it?
22:31.44dcordesthe flash
22:31.55dcordesNetRipper, yes. wanan try?
22:32.06dcordess/wanan/want to/
22:32.18NetRipperdcordes, give me 1 more minute to see if i can make comparying easier
22:32.30NetRipperok no i cant
22:32.34NetRipperyes make a build pls:)
22:33.31dcordeshttp://www.linuxtogo.org/~lgorris/builds/zImage-htcraphael-20082810-05
22:34.03NetRipperok i got a better diff after all, but i'll first check the build :P
22:34.41dcordeshttp://www.linuxtogo.org/~lgorris/diffs/config-raphael-05
22:35.05NetRippergreat, boots to shell
22:35.26NetRipperdruidu, can you test pls?
22:36.04dcordeshttp://www.linuxtogo.org/~lgorris/diffs/git-diff-htc-msm-2.6.25-20082810-05.diff
22:36.27NetRipperdruidu, you should make the calibration pixels on x=10 and y=10 and x=470 and y=630 (a bit off the edge) :p
22:36.38NetRipperoh dcordes ! we need to enable logo!
22:36.39NetRipper:D
22:37.01dcordesis it the msm logo?
22:37.17NetRipperno i dont think so
22:37.23NetRipperuh
22:37.24NetRipperyes it is
22:37.27NetRipperactually i think
22:37.30dcordesok enabled
22:37.37NetRipperno its not :P
22:37.39druiduI was lazy, it was easier to do the maths :P
22:37.43NetRipperCONFIG_LOGO=y
22:37.44NetRipperand
22:37.50druiduanyway, the TS area is a bit larger than the screen
22:37.50NetRipperCONFIG_LOGO_DIAMRAPH_CLUT224=y
22:37.55druidu(hence, the need for calibration)
22:37.59NetRipperyou can unset the other LOGO_LINUX*
22:38.36dcordes<dcordes> ok enabled
22:38.42NetRipperdruidu, also can you remove PPP? also known to cause problems
22:38.51dcordes06
22:38.53druidumtype 1439 = halibut ?
22:38.59NetRipperdruidu, yes, but use raphael
22:39.02NetRipper1910
22:39.04dcordessorry
22:39.18druidume? where to remove it from? :)
22:39.20NetRipperdcordes, CONFIG_LOGO is not same as CONFIG_MSM_LOGO
22:39.24druidudcordes maybe :P
22:39.27dcordesduh
22:39.29NetRippersorry druidu, dcordes indeed
22:39.30NetRipper:)
22:39.35NetRipperwhy do you both start with d
22:40.10druiduthere's some stuff about PPP in mdp.c, but I don't think it conflicts with the driver... dunno
22:41.01NetRipperi had it hanging on ppp init once out of every 10 boots
22:41.04NetRipper(or so)
22:41.14druiduworks!
22:41.16druidugot a shell
22:41.19NetRippercool
22:41.19NetRipper:)
22:41.31dcordesNetRipper, http://www.linuxtogo.org/~lgorris/builds/zImage-htcraphael-20082810-06
22:41.33dcordeslogo
22:41.36NetRipperk
22:41.49druiduthe timing on printk is really annoying
22:41.58druiduyou should disable it
22:42.00NetRipperits the new default since a while
22:42.07druiduit clutters the screen and also hides my calibration dot :P
22:42.11NetRipperlol
22:42.16NetRipperthat's because there's no logo ;)
22:42.25druiduah, true, just realized
22:42.36druiduif you scroll window, logo disapears (shift+pgup/down)
22:42.36dcordesno logo?
22:42.42NetRipperdcordes, with 05
22:42.45dcordesah ok
22:42.50cr2_hi
22:42.57druiduhello
22:42.58NetRippercr2_, good evening
22:43.04cr2_got some time free ;)
22:43.11NetRipperback from germany?
22:43.11NetRipper;)
22:43.23cr2_hehe
22:43.52cr2_are you removing junk code from g1 ?
22:44.03dcordeswe removed the trout configurations, yes.
22:44.05cr2_the log is so huge that i can't backscroll
22:44.10cr2_ok
22:44.21NetRipperlol
22:44.23druidubtw, ppp module inits fine NetRipper, mmc too
22:44.24cr2_have you cnaged the bt gpio alt pins ?
22:44.32cr2_hm.
22:44.32druiduI disabled netfilter, there's no need for those
22:44.40dcordesNetRipper, logo works?
22:44.46NetRipperyes works dcordes
22:44.55NetRipperlooking lovely
22:44.59cr2_can you merge the gpio_conf() from the vogue into your tree and ifndef ANDROID
22:45.05cr2_or somethign like that
22:45.21dcordesNetRipper, ok officially put it as defconfig?
22:45.43cr2_how should we comment out the g1 amss-dependent code ?
22:46.14NetRipperdcordes, well im happy with it for now
22:46.18dcordesok
22:46.37BHSPitWebDumb question -- For a non-wifi device, what way(s) are there to make the device reachable from haretconsole?
22:46.48BHSPitWeb(WinMo6)
22:46.48druiduaren't we basing our code on latest android kernel git?
22:46.48NetRipperBHSPitWeb, activesync
22:47.02druiduI don't see the qdsp5/ dir
22:47.08cr2_well, we may merge it into out own proc_comm implementation, but it will look as bit strange
22:47.18NetRipperdruidu, yes, we're using copy of android-htc-msm-2.6.25 of git.android.com
22:47.26NetRippers/htc-msm/msm-htc/
22:47.37BHSPitWebNetRipper: ah.  Guess that's what I'll do if necessary, though do you know if the same can be done with synce?  (I mainly use Linux)
22:47.52NetRipperBHSPitWeb, sorry, no experience with synce
22:48.14dcordesok I'm cleaning, rebuilding, diffing, uploading with the defconfig
22:48.24*** join/#htc-linux ImCoKeMaN (n=imcokema@pool-96-249-151-72.hrbgpa.fios.verizon.net)
22:48.36BHSPitWebNetRipper: well, guess that's why I claimed my free copy of vista as a student
22:48.42NetRipperdruidu, when i scroll up, i lose the virtual keyboard (and logo, but that's pretty understandable)
22:48.57NetRipperBHSPitWeb, smart ;)
22:49.11NetRipperBHSPitWeb, always take what's free ;)
22:49.11druiduthere'http://android.git.kernel.org/?p=kernel/msm.git;a=tree;f=arch/arm/mach-msm/qdsp5;h=fc0e735b57f369e5a17a0df1907a03690dc23c6b;hb=android-msm-htc-2.6.25
22:49.31druiduNetRipper: actually you just loose the image of the keyboard, you can scrollback blindly
22:49.38druiduthe scroll is done by shifting video memory
22:49.45druiduI just draw to same memory area
22:49.59druidutouchscreen is unaffected
22:50.02NetRipperdruidu, how do you mean blindly? keep tapping same spot? :p
22:50.12druiduany key would reset the scroll
22:50.12druidu:)
22:50.16NetRipperk
22:50.19druiduso just tap something
22:50.28cr2_lol
22:50.36cr2_xda-dev is fun
22:50.47cr2_"we could always wait for an exploit for the 2.6.25 kernel and then compile it for the android."
22:51.13dcordeshaha that kills it!!
22:51.15druidubtw, does android autoupdate firmware or something?
22:51.17dcordestotally
22:51.20druiduI heard there was an exploit recently
22:51.26druidunot kernel though
22:51.59BHSPitWebNetRipper: speaking of which, Crossover is free today http://codeweavers.com
22:52.12BHSPitWebAnyone know of a good telnet client for winmo?
22:52.15dcordeslol
22:52.21druiducr2_: can we use stuff in arch/arm/mach-msm/qdsp5/ ? http://android.git.kernel.org/?p=kernel/msm.git;a=tree;f=arch/arm/mach-msm/qdsp5;h=fc0e735b57f369e5a17a0df1907a03690dc23c6b;hb=android-msm-htc-2.6.25
22:52.50cr2_yes, but crosscheck with vogue
22:53.10druiducr2_: any ideas on getting that ts irq to work?
22:53.17NetRipperBHSPitWeb, thx :)
22:53.29*** join/#htc-linux BabelO__ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
22:53.32dcordeshttp://www.linuxtogo.org/~lgorris/builds/zImage-htcraphael-20082810-07 http://www.linuxtogo.org/~lgorris/diffs/git-diff-htc-msm-2.6.25-20082810-07.diff
22:53.52cr2_druidu: let's merge the gpio_conf() first
22:53.53ahmeni_BHSPitWeb: telnet or SSH?
22:54.01cr2_it's a really critical thing to have
22:54.08BHSPitWebahmeni_: telnet, though a good app would do both ;)
22:54.20dcordescr2_, did you try that with the vogue conf on your raph?
22:54.20cr2_hehe.
22:54.29NetRipperdcordes, what did you change in that build?
22:54.38cr2_dzo declares the api as htc with 4 params, but then uses it with 2.
22:54.45dcordesvirtually nothing. the defconfig is added in the diff.
22:54.55NetRipperdcordes, ah ok
22:55.04cr2_dcordes: it's not the vogue conf, but the code to control the gpio conf on msm.
22:55.04NetRipperdcordes, will you commit it?
22:55.13dcordesand I make clean 'D before the rebuild. just to make sure. zImage and diff are in total sync
22:55.17cr2_dcordes: androids do it with proc_comm
22:55.26ahmeniBHSPitWeb: zatelnet basic for just telnet, zatelnet pro for ssh/telnet (but it's $20), pocketty if you can get it to work (free)
22:55.32dcordescr2_, they return 0 for proc comm
22:55.38druiducr2_ : isn't that working already? I can use a few gpio keys to type 3 characters on the screen
22:55.57cr2_druidu: i'll point you to the exact code
22:56.05NetRipperthere is a GPIO event driver already
22:56.18druiduit even works :)
22:56.23NetRipperyea
22:56.26cr2_hehe.
22:56.32cr2_bluetooth please ;)
22:56.50druiduI disabled it, bluetooth is the last thing we need
22:57.08druiduor you wanna get a serial bluetooth connection?
22:57.13cr2_it's not a bt, but the code msm issue
22:57.33cr2_the next problem will be the subsystem clocks.
22:57.41druiduso, you said something about some specific gpio code
22:57.43cr2_s/code msm/core msm/
22:57.43NetRippereh, does bluetooth driver in kernel match the hardware we have in raph?
22:57.44*** join/#htc-linux BabelO__ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
22:57.51cr2_yes
22:57.55NetRipperoh
22:58.01cr2_we need the serial port
22:58.09cr2_imho uart1 (not confirmed)
22:58.14cr2_uart1DM
22:58.21cr2_and the correct gpio config.
22:58.38druidubtw, I do get a message saying mmc clock was initialized, so maybe clocks work?
22:58.50cr2_no, it's a different thing
22:58.51druiduis it on the usb pins?
22:58.53NetRipperdruidu, also get a message that it left 20 clocks uninitialized :P
22:59.09druiduyes, because no driver requested them
22:59.18NetRipperok ;)
22:59.28druiduI think :D
23:00.48druiducr2_: do you have any docs on proc_comm? like how it works, protocols, specifications, anything?
23:01.09dcordesNetRipper, they all have http://wiki.xda-developers.com/index.php?pagename=KaiserBT
23:01.13dcordesafaik
23:01.25cr2_druidu: +void gpio_func(int gpio, int func, int oe, int op)
23:01.37dcordescr2_, are you sure bluetooth is accessed through the uart?
23:02.00cr2_http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=commitdiff;h=91c3dd1e05f93e9a844ced37395ec652ea964200#patch3
23:02.00BHSPitWebWouldn't it be possible to run HaRET in listen mode, then open a WinMo telnet client and connect to 127.0.0.1?
23:02.09cr2_dcordes: uart1 and uart1DM
23:02.27cr2_druidu: there are no proc_comm docs at all
23:02.45cr2_druidu: only the RE vogue implementation
23:02.59cr2_druidu: and my partial DEX table in wiki
23:03.33cr2_dcordes: the gpio_func() as dzo calls it, should be the same for kaiser et al.
23:04.03cr2_this is actually an alt gpio config.
23:04.17cr2_need to check how pxa does it in 2.6.27 now
23:04.18druiducan we set up some printks to trace the gpio for each button?
23:04.25dcordescr2_, on the kaiser we use what was provided with the (early) google code plus htc-egpio.
23:04.40cr2_druidu: yes, you can modify the driver.
23:05.05cr2_dcordes: early (and any) gogle code is useless for that.
23:05.20dcordescr2_, you think we should replace that?
23:05.26cr2_dcordes: it's about configuring the alt gpio config for msm itself.
23:05.39cr2_dcordes: it should be ifdef'd
23:05.46druiducr2_: because I've seen slighly variations in google's code and vogue's code (not only memory locations)
23:06.07cr2_dcordes: i'm not quite sure the android people will merge it into their tree. but let's see.
23:06.27druiducr2_: we can write a linux app to do that, run it on the console using touchscreen keyboard :)
23:06.36druidutry each gpio pin or smth
23:06.44cr2_druidu: vogue is 7500 (non-A) cpu, there _are_ some hw differences. sometimes very annoying.
23:06.49dcordescr2_, where is that code with the alt gpio configurations located?
23:07.01cr2_dcordes: here
23:07.03cr2_<PROTECTED>
23:07.12druiducr2_ : so I understand htcdiamond/raphael have 4 gpio chips?
23:07.16cr2_grep for gpio_func, as i've said
23:07.34*** join/#htc-linux nebi (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se)
23:07.35cr2_druidu: 6 banks on msm7201A
23:07.46dcordescr2_, looks complicated. will you help adapting it to kais?
23:07.52cr2_druidu: and 5 banks + cpld extender on 7x00
23:07.52druiduso how many pins in total?
23:08.03druiduwhat's cpld btw?
23:08.31cr2_on kaiser ?
23:08.34dcordesdruidu, a device that extends gpios and irqs
23:08.39cr2_check the wiki, i don't remember
23:08.45druiduyou know, we should also make a wiki page with the "architecture" of the device, like all the chips is has inside, all the buses, how they're connected to eachother
23:09.11cr2_druidu: *MemoryMap is something like that
23:09.12*** join/#htc-linux lnxpenguin4ever (n=lnxpengu@72-60-224-154.area4.spcsdns.net)
23:09.36ali1234druidu: complex programmable logic device. it's a bit like a one-time programmable fpga
23:09.37cr2_because it documents all mmaped CPU subsystems
23:09.48druiduI see, thanks ali1234
23:09.57dcordesdruidu, good idea. we could at least document and explain the differences between the A and non-A and 75* and 72* and such
23:10.21dcordesalso a table with device/chipset would be useful
23:10.30NetRipperalso would prefer it documented what is connected where via what bus
23:10.30NetRipper:)
23:10.39cr2_the differences between 7200 and 7500 are gsm vs. cdma only
23:10.56cr2_the real differences are between the non-A and A cpu
23:11.24dcordeswhat about 1 and non-1 ?
23:11.33dcordeswas always wondering what that does
23:11.45dcordesis it the main clock?
23:11.53cr2_just some patent stuff
23:12.07dcordesok
23:12.34dcordescr2_, do you want to review the raphael/diamond diff we just put together?
23:12.43dcordesI think it would be useful if somebody would push
23:13.12cr2_does it compile cleanly ? can one run the compiled linload.exe ?
23:13.37dcordeshttp://www.linuxtogo.org/~lgorris/builds/zImage-htcraphael-20082810-07 http://www.linuxtogo.org/~lgorris/diffs/git-diff-htc-msm-2.6.25-20082810-07.diff yes
23:13.40NetRippercr2_, i dont use linload's for development, but i can make one for you if you want
23:13.44dcordeson both devices
23:13.55NetRippercr2_, and we're using raphael mtype now
23:14.00NetRippercr2_, for both diam and raph
23:14.10cr2_ok
23:14.31BruteSourcehow are you guy on radio?
23:14.47BruteSourceguys
23:14.58*** join/#htc-linux SanMehat (n=san@nat/google/x-de2f18646c712f6f)
23:17.29cr2_SanMehat: we need some comment from the "other" side :)
23:17.30dcordesI will apply -07 to my kaiser workbranch.
23:18.43SanMehatcr2_: pardon?
23:18.46*** join/#htc-linux ginge (n=ginge@78-105-175-81.zone3.bethere.co.uk)
23:18.53cr2_dcordes: +CROSS_COMPILE=/media/archiv/OE/org.openembedded.dev/tmp/cross/armv5te/bin/arm-angstrom-linux-gnueabi-
23:19.02dcordeslet me remove that.
23:19.10szsoftwarecan someone give me please the/a link to a arm-linux-gnuabi toolchain?
23:19.11cr2_SanMehat: :) i have some political question.
23:19.34dcordescr2_, ok removed
23:19.37SanMehatcr2_: i suck at politics
23:19.44dcordesszsoftware, pick the OE one like I do
23:19.48cr2_SanMehat: do we have a chance to merge the code to control msm gpios, touchscreen and clock into main msm tree ?
23:20.09*** join/#htc-linux eufrat (n=eufrat@dsl-trebrasgw1-fe5dfa00-103.dhcp.inet.fi)
23:20.31cr2_well, at least the touchscreen should be harmless
23:20.32SanMehatcr2_: i don't see why not
23:20.48SanMehatcr2_: as long as its not destabilizing and the code is good.
23:21.11cr2_it will requires some kind of ifdef, because we have a different amss version
23:21.28dcordesszsoftware, cr2_ pasted an example :)
23:21.39cr2_SanMehat: i guess it can be used to destabilize things.
23:21.55SanMehatcr2_: well clean up some patches and throw them up for review
23:22.42cr2_SanMehat: druidu can't get the TS irqs for some reason, otherwise the driver works
23:22.57szsoftwaredcordes: :-) it's because I reorganized the OE dir and deletet oe-tmp. It takes years for buildung the toolchain again. I use this too (if it's exist)
23:23.15cr2_SanMehat: and the direct gpio control is included into the vogue tree, i'll say it's clean enough.
23:23.25dcordesszsoftware, many people pick up the codesourcery toolchain
23:23.33*** join/#htc-linux wasup1 (n=Tech@208.47.103.106)
23:23.53cr2_SanMehat: i'm a bit short of time now, need to move 600km south-east ;)
23:24.01cr2_on the coming weekend.
23:24.38dcordesNetRipper, druidu shall I push?
23:24.45SanMehatcr2_: me too. i'm on vacation, getting married, and then on honeymoon :)
23:24.50NetRipperdcordes, one second
23:25.24cr2_SanMehat: the clocks control is not going to be easy, but i must do at least the SD/wifi and i2c. and i'll do it.
23:25.39szsoftwaredcordes: got it, thx: http://www.codesourcery.com/gnu_toolchains/arm/portal/package3397/public/arm-none-linux-gnueabi/arm-2008q3-41-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
23:26.24cr2_SanMehat: ok, if nobody will do it before me, i'll try to do it asap.
23:26.43NetRipperdcordes, doing a final test with your 07
23:27.13dcordesNetRipper, ok
23:27.28dcordescr2_, you found anything else despite the Makefile ?
23:27.37cr2_druidu: i think that SMD needs some more general approach. there should be a way to find out the channel offsets in a standard way
23:27.56cr2_druidu: not just digging and hardcoding the offsets into the smd.c
23:27.59NetRippernothing was changed in 07, was it?
23:28.10cr2_dcordes: i'll look now.
23:28.47cr2_+       bool "Boot console for HTC phones (needs a font which has width <= 8)"
23:28.55druiduszsoftware http://www.codesourcery.com/gnu_toolchains/arm/portal/subscription?@template=lite
23:28.57cr2_can it be 'depends on' ?
23:29.12druiduah, damn :P
23:29.31cr2_+/* linux/arch/arm/mach-msm/board-.c
23:29.38druiducr2_ well, the actual code seems to create some channels, not sure if they work though
23:30.00druiduit's not a specific font
23:30.06cr2_+#define MSM_LINUX_SIZE          0x4c00000
23:30.10cr2_how much is that ?
23:30.15druidubut well, we could put a dep on VGA_8x8 font, sizce touchscreen depends on that
23:30.20cr2_4*16+12
23:30.26cr2_64+12=78
23:30.49druidu76 MB
23:31.02druidu:)
23:31.10cr2_is it the max RAMSIZE ?
23:31.14cr2_yes, i'm wrong :)
23:32.12druidu#define MSM_PMEM_MDP_BASE     MSM_LINUX_BASE + MSM_LINUX_SIZE
23:32.18druiduso, no
23:33.03cr2_?
23:33.39druiduthere's a define like that in board-halibut.c
23:34.31druiduno, it is not the ramsize I think...
23:34.36NetRipperdruidu, what ramaddr do you use in default.txt?
23:34.43druidubtw, if we have 128 mb ram why can't we use them all?
23:34.49druidu0x10000000
23:34.51cr2_8MB for MDP, 8MB for ADSP, 8MB for GPU1 and 2MB for FB
23:34.51druidustandard
23:34.59NetRipperdruidu, ok, no, standard in haret is 0x2*
23:35.09cr2_24+6=26MB
23:35.18NetRipperdruidu, at least for devices that are recognized :)
23:35.20cr2_NetRipper: 0x2 can't be used.
23:35.23druiduthey keep a bigger fb buffer to do framebuffer scroll by shifting the buffer
23:35.33NetRippercr2_, i've noticed, i'll adjust that in haret
23:35.35cr2_dcordes: +static struct resource smc91x_resources[] = {
23:35.43cr2_dcordes: this is completely useless
23:35.55druidustandard for msm I guess :D
23:36.02cr2_also static struct platform_device smc91x_device = {
23:36.17druiduthat's for an enterhnet controller in halibut
23:36.21druiduthere's also a driver
23:36.24dcordesok
23:36.31NetRipperdruidu, cr2_, can you both check if this linload works? http://www.netripper.nl/raphael/raph_20081029-00_cleanups.exe
23:36.45cr2_hehe. the MDDI #ifdefs certainly do not belong here.
23:36.45dcordescr2_, the _changes_ to the original branch are not tremendous.
23:37.03cr2_dcordes: we don't want to preserve junk
23:37.15druidudownloading
23:37.18dcordescr2_, which file? ifdefs?
23:37.19cr2_there is not smc91x* in raph/diam
23:37.32druiduit was just on the testboard
23:37.39druiduI disabled all ethernet stuff
23:37.43cr2_dcordes:  a/arch/arm/mach-msm/board-htcraphael.c
23:37.46druiduwhat should rmnet driver do?
23:37.58dcordescr2_, ah ok. I guess we should also remove some stuff from the init
23:38.07druiduyou could do a :%s/halibut/htcraphael/g
23:38.14druiduand another one with caps
23:38.21dcordesdruidu, msm_rmnet manages all network traffic on the trout and halibut
23:38.29dcordesdruidu, but not for us because of different amss
23:38.32cr2_let's hope the uart1 is really bt. it may be traced, actually
23:38.34dcordesme think
23:38.44druiduyeah, but what lowlevel resources/peripherals does it use?
23:38.47dcordescr2_, I asked if you are sure about the uart because...
23:39.10dcordescr2_, http://linuxtogo.org/~lgorris/kaiser-bootkit/README.txt : *make bluetooth work (its a HCI device using addr 0xa0200000 to talk to the a9 via SMD irq 0 and 1)
23:39.18druiducr2_: we have a working console, cook your initrd and play with it :)
23:39.24cr2_ok, we will have more i2c devices later. i need to add them to wiki
23:39.43druiducr2_: can we bruteforce i2c and see all device ids that are connected?
23:39.47cr2_+       &smc91x_device,
23:39.48druiduthere are like 255 max right?
23:40.13cr2_druidu: you can try i2c-utils or tools
23:40.14druiduthere should be the accelerometer, light sensor
23:40.28cr2_druidu: i know the ids, and devices
23:40.44cr2_just need to document them.
23:40.52druiduI wanted to probe all of them on my diamond, see what differences there are if any
23:41.03cr2_and there will be differences between raphael and diamond. that's 100% sure
23:41.13druiduany i2c-utils binaries for arm?
23:41.17cr2_the best thing you can do is to add the mmutrace
23:41.24cr2_for the i2c read and write registers
23:41.33cr2_you#ll learn a lot of iteresting things
23:41.50dcordescr2_, do you think it would be good to put the kaiser code also in http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.25 ? it is the same codebase.
23:42.02cr2_about the luminocity sensor, backlight control, some keys, capacitive sensor and so on.
23:42.14dcordescr2_, I think it would be best because at some point they must coexist anyway.
23:42.29druiduI still hope they dropped a compass in diamond and forgot that it was there :P
23:42.32cr2_dcordes: kaiser will need a lot of core msm changes, because it's a diffrfent cpu
23:42.35NetRipperdruidu, any luck on the linload?
23:42.45cr2_druidu: no, they use a different chip
23:42.52druidutrying now, it was a slow download :P
23:43.01cr2_druidu: which doesn#t 100% match the published specs.
23:43.09NetRipperdruidu, hehe, i'll complain to my isp
23:43.10NetRipper:p
23:43.15cr2_druidu: check the wiki
23:43.41dcordescr2_, http://linuxtogo.org/~lgorris/diffs/git-diff-android-msm-htc-2.6.25_kaiser_20082210.diff vs http://www.linuxtogo.org/~lgorris/diffs/git-diff-htc-msm-2.6.25-20082810-07.diff
23:43.42druiduworks
23:43.53cr2_dcordes: i think we can forget about this one:
23:43.54druidubootconsole & fb & ts & vkbd
23:43.56cr2_+void msm_serial_debug_init(unsigned int base, int irq,
23:43.57cr2_+                          const char *clkname, int signal_irq);
23:44.12druiduit also says msm serial device initialized
23:44.43cr2_+#if defined(CONFIG_MSM_SERIAL_DEBUGGER)
23:44.43cr2_+       msm_serial_debug_init(MSM_UART1_PHYS, INT_UART1,
23:44.43cr2_+                             "uart1_clk", 1);
23:44.43cr2_+#endif
23:44.50NetRipperdruidu, ok
23:45.11druiduit crashes on my device as I remember
23:45.14druiduI always comment it out
23:45.51cr2_+config TOUCHSCREEN_MSM
23:45.56cr2_depends on MSM*
23:46.21druiduI made it depend on MSM_FB
23:46.27druiduwhich also depends on MSM
23:46.38druidubut well, really gotta use proper fb code
23:47.03cr2_there are no dependencies in the patch.
23:47.06cr2_+#define MSM_TS_LCD_WIDTH       480
23:47.06NetRipperdcordes, leave me/us a message when you commit pls :)
23:47.06cr2_+#define MSM_TS_LCD_HEIGHT      640
23:47.17cr2_this does not look very nice.
23:47.20druiduit's really messy, the driver
23:47.33druiduI know, I should query the framebufer right?
23:47.51NetRipperyou should probably query the TS somehow
23:47.52cr2_druidu: ifdef the funny drawing stuff :)
23:48.08druiduhehe
23:48.17druidupriority is getting the irq to work
23:48.27dcordessomebody feels like booting http://linuxtogo.org/~lgorris/diffs/git-diff-android-msm-htc-2.6.25_kaiser_20082210.diff =>>> http://www.linuxtogo.org/~lgorris/diffs/git-diff-htc-msm-2.6.25-20082810-07.diff ??
23:48.32dcordeson their diamond or raphael ?
23:48.33cr2_druidu: the ts driver does not need to know the lcd size. it's tslib business.
23:48.36druiduwithout that we still gotta poll and it's really inefficient
23:48.57cr2_druidu: yes, enabling TS irqs is critical
23:49.01druiducr2_ : I know, but I made the calibration on the driver to hack the onscreen keyboard
23:49.15druiduI wanted to make it work asap :)
23:49.18cr2_yes, i know. but it's the way to move forward.
23:49.20cr2_:)
23:49.24druidutrue
23:49.25BruteSourcebut animals can't be jewish?
23:49.33BruteSourceoops rong window
23:49.37cr2_druidu: ifdef for now.
23:49.43BruteSourcewrong
23:49.48druiduvirtual keyboard needs to use kernel event interface for touchscreen input + framebuffer interface for drawing
23:49.55cr2_druidu: we actually want to merge real working code into msm mainline.
23:50.34druiduif I were to give patches that I'm satisfied with, I'd probably never give them :D
23:50.49*** part/#htc-linux wasup1 (n=Tech@208.47.103.106)
23:51.02cr2_druidu: +       if (request_irq(INT_TCHSCRN1, msm_ts_interrupt, IRQF_DISABLED, "msm_ts", 0) < 0) {
23:51.18NetRipperdcordes, if you build a kernel, i'll try
23:51.20cr2_druidu: are the other builtin msm irqs requested in the same way.
23:51.32druiducr2_: so how can we make the irq work? traced all memory activity in the areas around the touchscreen registers and did everything like that in the driver, still no irq
23:51.34NetRipperdcordes, brb 20 min though
23:51.44cr2_druidu: the mainline people complain even about the tab formatting ;)
23:52.03BruteSourcelol th "mainline people"
23:52.06BruteSourcethe
23:52.08druiducr2_ : dunno, I took that from another touchscreen driver
23:52.12druiduhehe
23:52.29cr2_druidu: something is wrong with the irq init code, obviously.
23:52.31druiduany link for kernel coding rules & stuff?
23:52.44druiduthe thing is THAT
23:52.47dcordesNetRipper, thanks, but just noticed it's not so easy
23:52.53druiduI got the irq like 2 times, in separate occasions
23:52.55cr2_druidu: what other builtin irqs are serviced by msm code ?
23:52.55druiducompletely random
23:53.18dcordesdrivers/video/msm/mddi.c:132: error: ‘struct mddi_info’ has no member named ‘link_active_idle_lock’           what does that mean?
23:53.23dcordeshas no member?
23:53.26druiduthere are 3 consecutive ones
23:53.27druidu#define INT_TCHSCRN_SSBI     29
23:53.27druidu#define INT_TCHSCRN1         30
23:53.27druidu#define INT_TCHSCRN2         31
23:53.37dcordesstruc mddi info is in no clubs?
23:53.46cr2_http://wiki.xda-developers.com/index.php?pagename=Raphael_IRQ
23:53.54NetRipperdcordes, the struct definition has no link_active_idle_lock field defined...
23:54.01cr2_hmm. + in the wiki means i've traced the uart3 irq. ...
23:54.03druidu#define INT_TCHSCRN_SSBI     29
23:54.03druidu#define INT_TCHSCRN1         30
23:54.03druidu#define INT_TCHSCRN2         31
23:54.05druidusorry
23:54.07NetRipperdcordes, when you merge kaiser you may find double-defined stuff
23:54.16dcordesNetRipper, what I do
23:54.18NetRipperdcordes, things that aren't properly renamed
23:54.21druiduINT_TCHSCRN1 is on pen down, INT_TCHSCRN2 followed immediately by INT_TCHSCRN1 is on pen up
23:54.37dcordesNetRipper, how can I fix that error?
23:54.43cr2_i've seen only 30 and 31
23:54.56NetRipperdcordes, you either modify the calling code, or you add a field to the struct, probably defined in one of the .h files
23:55.00druiduthe reading and writing in the CTL register is what wince is doing, and without that the coordinates won't update
23:55.04druidume too
23:55.16druiduSSBI, what does that stand for?
23:55.19NetRipperdcordes, though strange that it's not in the .diff
23:55.28NetRipperdcordes, you didnt get errors while applying patch?
23:55.48NetRipperhard to believe there wouldn't be any conflicts :p
23:55.51druidudcordes: you probably took newer code and put it with older code, or vice-versa
23:55.59cr2_druidu: how is the SD irq initialized ?
23:56.06dcordesNetRipper, only very trivial errors. a lot of fuzz though. the kaiser diff has 10k lines...
23:56.11cr2_that's an irq that _must_ work :)
23:56.14druidudunno, SD as in what?
23:56.20cr2_SD card
23:56.28cr2_for g1
23:56.32dcordesdruidu, no. the both diffs base on the same code
23:56.44druidumdp_irq works, dma irq works
23:56.46druiduI think
23:56.46cr2_druidu: 0x18   24      INT_SDC1_0   +
23:57.10dcordesdruidu, on android-msm-htc-2.6.25
23:57.19cr2_druidu: i mean, are they configured and initialzed differently from the TS ?
23:58.04dcordesaw shit I applied against the wifi branch
23:58.06druidunot sure, but I don't think we need specific msm code to init irqs, the irq chip registers itself and its ops, then we request irqs via normal way
23:58.14druidumasking/unmasking is done by the chip functions
23:58.19druiduI am guessing they work
23:58.23cr2_http://www.semiconductor.com/resources/reports_database/view_report.asp?pID=4969
23:58.35druidualso, I put printk in the low level irq handler and the touchscreen irqs don't fire
23:58.45cr2_it's a 1wire innovated by qualcomm
23:58.47druiduso they're either masked/disabled by the chip or by the touchscreen
23:59.11cr2_SBI looks like spi invented by qualcomm
23:59.11druiduI hate it when I have no datasheets
23:59.29cr2_heh
23:59.51druiduthat's what I like about TI, they have everything public on their website
23:59.54dcordesNetRipper, you wanna look at the mddi.c ?

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