IRC log for #htc-linux on 20091101

00:03.01mdrobnakdzo: Still here?
00:05.36cr2tmzt: wtf is manila ?
00:05.49tmzttouchflo
00:05.50tmzt3d
00:07.20cr2ok
00:08.19mdrobnaktmzt: is there sep. permissions for repos on gito?
00:08.26tmztno
00:08.36tmztyou should have permissions
00:08.45tmztthese are branches anyway
00:09.24tmztsorry
00:09.27tmztguess not
00:10.07*** join/#htc-linux leobaillard_ (n=leobaill@leobaillard.org)
00:11.01tmzttry now
00:12.03Gnutoomaybe I've found a very easy way to decode ioctls
00:12.33mdrobnaktmzt: Trying the .32 not the .31 branch at the second.
00:13.08mdrobnakDon't worry, I can't even PULL the RIL at the moment
00:14.00Gnutoolike in 0x400C4150
00:14.04Gnutoothe 41 is A
00:14.12Gnutooancd the 50 is 0x50
00:14.16Gnutooso easy
00:14.22Gnutooor I am wrong?
00:15.38Gnutooif so the ioctl is SNDRV_PCM_IOCTL_STATUS:
00:17.29mdrobnakOk, I'm off to eat. Just getting annoyed at git / repo et al.
00:17.45tmztyour right
00:17.49tmzt41 is A
00:17.55tmztand the number is hex
00:18.16tmztmdrobnak: 32 has bad clocks, will not work until those are fixed
00:18.38mdrobnakWhen I come back, I'll have a patch for dzo for 2G/3G and very rough location code
00:18.54mdrobnaktmzt: Oh. Well that sucks,
00:19.00mdrobnakThat's where I got my stuff working hehehe
00:19.09mdrobnakok, I'll try working on .31 later
00:19.27tmztwhat's working?
00:20.15mdrobnak"Fixed merge issue with board-htcraphael.c. Disabled second bank by default. ADB functionality compiles. Renamed a few configuration items for MSM stuff in staging for the dream to MSM_DREAM_XXX. RAM Console works."
00:20.34mdrobnakHelpful, but not major, stuff.
00:20.42*** join/#htc-linux tids2k (n=r3x@d58-106-255-105.riv7.nsw.optusnet.com.au)
00:21.07mdrobnakBtw, now I see the push url for .31 on gito, where I didn't see anything like that before.
00:21.17tmztmdrobnak: would somebody remove raph500 from ltg board raph?
00:21.26mdrobnakyou did that..
00:21.31mdrobnakyou moved it to a seperate board.
00:21.34tmztyes
00:21.41tmztbut never pushed it to ltg
00:21.51mdrobnakWeird.
00:21.55mdrobnakI didn't do that.
00:21.58mdrobnakI have no access
00:22.03mdrobnakNor would I
00:22.07mdrobnak(do that)
00:23.08tmztwhat?
00:23.10tmztoh
00:23.19tmztI don't either, it was a patch
00:23.34mdrobnaktmzt: Where do you see that?
00:23.39mdrobnakI don't see any commit for it
00:25.19tmzton?
00:25.26tmztit was dcordes I think
00:25.42tmztI know it's in upstream because it broke for you
00:45.52mdrobnakdzo: http://www.drobnak.com/2g-3g-sms-loc.patch -- SMS 00 prefix instead of setting SMSC, 2g/3g patch and rough location code.
00:46.02mdrobnakNow I need to eat.
00:46.32tids2kwhat r u eating btw ?
00:46.53mdrobnakno idea yet lol
00:46.57tids2kok
00:47.01tids2kenjoy mate
00:47.03mdrobnakNeed to go find something
00:47.05mdrobnakthx
00:53.20tmzt02:02 < tmzt> tids: msm is mobile station modem, what qualcomm calls all of their cell phbone main chips
00:53.48tids2klol .. thanks tmzt
00:54.06tids2k;)
00:56.05*** join/#htc-linux stickboy (n=anonymou@128.153.210.175)
01:50.46tids2ktmzt u thr
01:53.54tprhi
02:02.31mdrobnakanyone still here?
02:23.16*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
02:23.55tprme
02:24.18mdrobnakthats good to see :-)
02:24.22tpri tried to move fb to gpu01 space :) seems to works nice
02:24.35mdrobnakgpu0 or gpu1?
02:24.38tpr01
02:24.50mdrobnak?? Where's that?
02:24.51tpri took space at the end of gpu01
02:24.52mdrobnakWhat device?
02:24.55tpron kaiser
02:25.18mdrobnakOn Diamond / Raph, we've got a PMEM_GPU0 and PMEM_GPU1 not a 01
02:25.24tpr#define MSM_PMEM_GPU1_BASE  0x17800000
02:25.24tpr#define MSM_FB_SIZE0x000e0000
02:25.24tpr#define MSM_FB_BASE0x00000000 + (MSM_PMEM_GPU1_BASE - MSM_FB_SIZE)
02:25.24tpr#define MSM_PMEM_GPU1_SIZE  0x00800000 - MSM_FB_SIZE
02:25.48mdrobnakOk, GPU1.
02:26.00tprthe two last lines updated to that in board-htc-kaiser.c
02:26.18mdrobnakOn Diamond / Raph, GPU0 is in SMI. GPU1 is in EBI. So that's why I asked. No idea how it is on yours. On ours, SMI is faster...
02:26.57tproh
02:27.16tprweird, the gpu memory slower than main one ?
02:27.39mdrobnakNo
02:27.47mdrobnakit's the main memory.
02:27.57mdrobnak(EBI is main memory)
02:28.08tproh ok
02:28.24tprbut gpu01 is for 3D and video no ?
02:29.32mdrobnakNot sure which is which
02:30.01tprbut the fbcon dont need fast memory
02:30.10tpronly used on startup
02:30.50tprdunno if its related, but now youtube video is working ;)
02:31.02tprbefore i had only sound and first image
02:32.02tprneed to check that, the wlan module is not loaded, its maybe the reason...
02:32.51mdrobnakNot sure if youtube works for me. Haven't tried recently
02:32.59mdrobnakTrying to get network location working.
02:34.37mdrobnaktpr: You good with C?
02:35.12tpryes
02:35.24mdrobnakhttp://pastebin.com/m5c74e7c3
02:35.48mdrobnakOk, that's the Neighboring Cell parsing function in the Android RIL daemon
02:36.05mdrobnakI currently only spit out 1 cell id
02:36.23mdrobnakI'm not good enough with C to do multiple..if I show you my code, could you help me with that?
02:36.36mdrobnakMaybe we can get network location working :-)
02:37.02tprk let me check
02:38.29mdrobnakNow, I will say. The original code had so much stuff commented out and stuff...I know the current code is very wrong..but I think the idea is this: Get at least 3 location IDs and Signal Strengths, and send them back.
02:38.35tprhow many num do you have ?
02:38.37mdrobnakPastebin'g the code now
02:38.48tprok 3
02:39.24mdrobnakhttp://pastebin.com/m35c2f836
02:39.39mdrobnakRight now, I send back one, as you'll see.
02:40.09mdrobnakI have no idea what the deal is with p_CellIDs vs pp_CellIDs
02:41.24tpryes, that weird, 2 blocs of memory allocated
02:41.31mdrobnakOne seems to be a double pointer?
02:41.38tpryes
02:41.58tprbut sizeof(RIL_NeighboringCell *)
02:42.06tpris sizeof (void *)
02:42.11tpronly a pointer
02:42.49mdrobnakAgain, I only modified this code :-)
02:43.00tprthe first one ?
02:43.08mdrobnakNo, I added in the comments, and cleaned it up.
02:43.25tprk
02:43.33mdrobnakBoth of the pp  & p cellid stuff where there already
02:44.00mdrobnakand if I try and free p_cellIds bad things happen, if I remember right.
02:44.02tprok, when we use the ** its for arrays
02:44.18tprit seems to want to add more cell ids...
02:44.30tprlater
02:44.39mdrobnakOk. Good. That's the idea.
02:44.57tpryea
02:44.58tprfor (j=0;j<1; j++){
02:45.10tprforced to one time only for the moment
02:45.14tprone cell
02:45.23mdrobnakYep, I did that.
02:45.30mdrobnakis looking back for original code.
02:46.12tprthe RIL_onRequestComplete(t, RIL_E_SUCCESS, pp_cellIds, sizeof(pp_cellIds));
02:46.15tprseems wrong
02:46.20mdrobnakOk, originally, there was no loop :-)
02:46.22mdrobnakI added in the loop.
02:46.34mdrobnakBut the count=3 was there before
02:46.40tpri think sizeof(pp_cellIds) = 4
02:46.46tpra pointer
02:47.13mdrobnakHmm.. I missed that. THat might have been the reason for the crashing
02:47.44tprdont know if you need to send the whole struct
02:48.08tprbut you need somethink like nbcell*sizeof(RIL_NeighboringCell)
02:48.45mdrobnakWait, maybe that is right - maybe you only send back the pointers to the data.
02:48.56tprmaybe yes
02:49.18tprif it's just to log pointer value
02:49.27tprnot content
02:50.17mdrobnakok, I guess my fundamental question is - so as not to bog you down with the rest of the code...
02:50.22mdrobnakhow would I add in another value?
02:50.40mdrobnakerr = at_tok_nextstr(&line, &p_cellIds[0].cid);
02:50.42mdrobnakThat line works.
02:51.08mdrobnakI think I get it.
02:51.43mdrobnakSet the size of p_cellIds to count * sizeof(RIL_NeighboringCell)
02:51.54tprthe allocated size yes
02:51.56mdrobnakHmm.
02:51.57mdrobnakBut.
02:52.08mdrobnakpp_cellIds[0]=p_cellIds;
02:52.18mdrobnakHow do I figure out where to set pp_cellIds[1] to?
02:52.26tpr:)
02:52.59tprwith p_cellIds + sizeof(RIL_NeighboringCell)
02:53.12tprhmm wait
02:53.46tpryes
02:54.10tprtw ways to do that
02:54.14tprtwo
02:54.28tprp_cellIds + (i * sizeof(RIL_NeighboringCell))
02:54.38tpror increment a pointer
02:54.44tprin your loop
02:55.28mdrobnakLoop method is preferred - I can take 5 samples, and return up to 3 "valid" results lets say - because the CREG command can give you the same result twice..
02:56.31tprbegin with that : RIL_NeighboringCell *ptr = p_cellIds;
02:56.47tprthen in loop ptr +=  sizeof(RIL_NeighboringCell);
02:57.04tprpp_cellIds[i] = ptr
02:57.16tprits j
02:57.19tprbut its ok
02:58.01mdrobnakThat's good enough. I have a good idea where to take this from here. I hope to have this working in 1 hour :-)
02:58.05tprdo you need to keep whole RIL array data ?
02:58.17mdrobnakI don't know
02:58.49tprif not i suggest you removing the alloc lines
02:59.07tprdeclare one static RIL structure to have memory
02:59.22tprand use only the ptr
02:59.56mdrobnakWell, there's a bunch of code of similar nature in the RIL, so I assume it should be done like it is..
03:00.07tprok
03:00.43tprremember (RIL_NeighboringCell *) value is only a dword ;)
03:00.51tprlike RIL_NeighboringCell **
03:01.15tprand also (void *)
03:01.38mdrobnakright, it's those without the * in them that are the real size of the structure
03:01.39mdrobnakright?
03:01.42tprso you can increment them like a dword
03:01.56tpryes
03:02.14tprstruct RIL_NeighboringCell Ril;
03:02.36tprin this case Ril is an allocated structure
03:02.55tprand sizeof Ril = sizeof( RIL_NeighboringCell)
03:03.13mdrobnakmakes sense
03:03.31mdrobnak(I'm a C++ guy, not C, so the memory allocation stuff gets me all the time)
03:03.40tprwhen you understand right that, you understand C ;)
03:04.12tprbut yea, the alloc commands are not trivials
03:04.24tprsometimes to free, sometimes not
03:05.13mdrobnakheh
03:05.20tprbut dont forget to free whats you "alloc"
03:05.36tprevery alloc need free except in C lists
03:05.42tprc++ vectors
03:06.04tprwhere its made directly
03:06.19mdrobnakI can do 2D arrays, right?
03:06.32tprsure...
03:06.37mdrobnakchar Location[4][5]
03:06.48mdrobnakWould that be 4 strings of 5 characters long, or reverse?
03:06.55mdrobnakArgh
03:07.00mdrobnakNo, I got that right
03:07.00mdrobnaklol
03:07.03tprhehe :)
03:07.08mdrobnak(was checking the off-by-one thing)
03:07.38mdrobnakI did get that wrong though.
03:08.10mdrobnakWhat is that? 4 strings of 5 characters each, or 5 strings of 4 characters each?
03:08.38tpreuhh... i think 5 of 4
03:08.47tprneed to check ;)
03:08.51mdrobnakhaha
03:08.53mdrobnakok, I'm not alone
03:08.54mdrobnakhehe
03:10.33tprhttp://pastebin.com/m5c74e7c3 is good
03:11.06mdrobnakYes, that's the parsing code in rild :-)
03:15.59tprok, need a coffee, brb
03:16.19mdrobnakk
03:16.55mdrobnakshit, had it backwards - rows and colums - columns is how big it is. Correct is Location[3][4] = 3 Strings of 4 Characters each.
03:23.55AstainHellbringdamn cr2's still gone
03:26.01mdrobnakheh
03:26.06mdrobnakhe's always gone :)
03:31.02tpryes its 3 of 4
03:31.08tprhttp://www.tenouk.com/clabworksheet/labworksheet10.html
03:31.29tprsorry, not same in all languages
03:33.44tprexactly 3 of 3
03:34.00tprbecause there is the \0 at end of char*
03:34.00mdrobnakROFL
03:34.06mdrobnakThat's the page I was looking at!
03:34.14tprthe first google one ;p
03:34.35tprgoogle = big brother ? no ? soon :p
03:34.45mdrobnakYeah, already adjusted the size of the array for the null terminator.
03:42.16tprargh yea, its the wifi module which locks youtube video playback (only sound)
03:42.40tprand i dont have sources of thes one
03:44.26tprwhat exactly is ram_console ?
03:47.41tproh, found, the log
03:52.16tpryea, when i remove wlan module, video is working....
03:52.17tprsighh
03:52.28tprwith rmmod
03:54.16mdrobnakwow thats kinda weird
03:54.29mdrobnakram console lets you see dmesg after rebooting the phone with a soft reset
03:54.58tprwhen we have a soft reset ;)
03:55.29tprdo you have an idea how the wlan.ko is built ?
03:55.36tprin vogue-android
03:57.07mdrobnakNo, that's still a mystery to me ;)
03:57.11mdrobnakAka, not sure where the source is
03:57.36tprok yes its what im looking for
03:57.42tprdont see wlan files
03:58.05*** join/#htc-linux pronik` (n=user@ppp-88-217-107-58.dynamic.mnet-online.de)
03:59.59tprfound
04:00.00tprhttp://android.git.kernel.org/?p=platform/system/wlan/ti.git;a=summary
04:00.24tprAndroid 1.5 refresh 4 ?
04:01.16mdrobnakah
04:01.19mdrobnaksure.
04:01.23mdrobnakthat's the current 1.5 sdk I think
04:01.35mdrobnakAlmost done, I think.
04:02.35tids2kwlan ..?
04:07.08tprok got it
04:07.26tprhttp://groups.google.com/group/android-developers/browse_thread/thread/af24af017b89828f
04:10.23mdrobnak:-( error: incompatible types in assignment
04:10.44tprpaste me the error ..
04:12.25mdrobnakHere's what I'm trying to do: Take the value of a     char * responseStr[5]; and set a value in my char Location[3][5];  Basically, I've searched, and none of the existing values in the Location array are the one I've just got in ResponseStr. So I want to set the next free slot (which is i) to the value..
04:12.45mdrobnakSo I did:                     Location[i] = &responseStr;  which was wrong.
04:12.45*** join/#htc-linux mes (n=mes@203x20781148.lightspeed.ca)
04:13.19mdrobnakBut it's not without the & either (I remember that's pass by reference)
04:13.29mdrobnak(with the &) -- I want the string itself.
04:14.18tprstrcpy
04:16.03mdrobnakslaps himself on head.
04:16.03mdrobnakDuh.
04:16.18tprnice
04:16.28tprnew wlan module seems to work :)
04:16.39tprand ive video
04:17.36*** join/#htc-linux g55 (n=g55@rgnb-5d87c2d2.pool.mediaWays.net)
04:17.41mdrobnakNice, it compiled. Doesn't mean it works though ehehehe
04:18.29tpr;)
04:18.34tpradd traces
04:18.54tprok, i can commit my work
04:19.09*** join/#htc-linux BHSPitLappy (n=BHSPitLa@unaffiliated/bhspitmonkey)
04:19.19mdrobnakIf this code works, it'll be awesome.
04:19.33mdrobnakThen we'll have rough location via network working :-)
04:19.50mdrobnakOh, wait. Hah, I knew I forgot something.
04:20.09mdrobnakOk, I got the code that fills my sample array. But I haven't copied it into my results array yet hehehe.
04:21.31*** join/#htc-linux spirits-sight (n=Spirits-@c-24-91-187-210.hsd1.ma.comcast.net)
04:22.23spirits-sightI was wondering is there any development on a bootloader for HTC phones ?
04:22.47tids2knot yet ... bootloaders are to be done in the end i think
04:23.44spirits-sightbeside having many system.xxx what other things are there to be done?
04:27.38tprdo you mean a boot menu to select system image ?
04:28.39tprok, updated http://github.com/tpruvot/android-initrd
04:29.33tprthis git follows vilord one
04:29.34tprhttp://github.com/vilord/android-initrd/network
04:29.47tids2kepy did u try this on ur vogue ?
04:29.50tids2kas of yet ;)
04:29.59mdrobnaktpr: What did you add to the initrd?
04:30.41tpreuh....
04:30.46tpralmost nothing
04:30.52tprlet me double check
04:30.54tids2klol.
04:31.06tpryea
04:31.15tpradded to path :/sdcard/bin
04:31.29tprno
04:31.31tprits in rootfs
04:31.38tpryea
04:31.46tids2kk
04:31.52tpri added hush exit
04:33.01mdrobnakI see
04:33.11mdrobnakok, what's the int equiv of strcpy?
04:33.17tprand a test on rootfs
04:33.26mdrobnakie something like        strcpy(Location[i], p_cellIds[i].cid);
04:33.26mdrobnak<PROTECTED>
04:33.34tprits here
04:33.35tprhttp://github.com/tpruvot/android-initrd/commit/1be93222029a4e2dd042c7fa041ec8bac3dd2777
04:34.49tprand before, added rootfs.sqsh support
04:34.54tpr10Mo to 3.8 ;)
04:36.42tprand now im trying some kernel mods
04:37.43tprmoved fbcon and ram console to end of gpu01 space
04:37.57tprif gpu01 space is slower... thats good
04:38.15tprso gpu0 is a little big bigger
04:38.20tprlittle bit
04:39.11tprthe last module i need to compile is ramzswap
04:39.16tprcompcache...
04:39.26tprbut newest version need kernel 2.6.28
04:39.50tids2kwhen are we moving towards 2.6.29 ?
04:39.55mdrobnakyeah we're still on .27
04:39.56mdrobnakno idea.
04:40.09tprits hard to move
04:40.11spirits-sightI don't know if ur the people to tell or ask but here goes, when in Android it takes 3 out of 5 time for me to push the power button to wake the phone up, also I see termal information when coming out of sleep/standby
04:40.18tpri just want a working thing ;)
04:40.31tids2klol. then u need to wait ;)
04:40.39tids2kand keep contributing
04:40.47tprallmost all is working here
04:40.50tpr;)
04:40.54mdrobnakwell, if tmzt and I can get the mddi stuff cleaned up
04:40.57tids2kalmost ... eh :)
04:40.59mdrobnakwe'll have 2.6.31 soon
04:41.07tids2kwow ... thats good news
04:41.18mdrobnakSoon meaning a few weeks
04:41.22*** join/#htc-linux thedicemaster (n=thedicem@j89051.upc-j.chello.nl)
04:41.29tids2kbut wifi and bluetooth needs to kind of work before moving to higher kernels
04:41.34tprmissing stuff : bluetooth (i think) maybe it need compatible software
04:41.43tprand thats all
04:41.54tprcamera video...
04:42.03tprdont use that
04:42.04tids2kis the battery fixed now epy ?
04:42.10mdrobnakI'm not sure how much support older devices will get on the newer kernels
04:42.13tprwhich problem ?
04:42.38tproh the power usage ?
04:42.43tids2kyepp
04:42.49tpryes, ive better results with power=2
04:42.53tprin haret
04:43.04tids2kok.
04:43.25tids2kim getting a leo but my eyes are still staring on n900 :(
04:43.31tprbut hard to tell, i'm linked ;)
04:43.34tprto make updates
04:43.35tpr;)
04:43.39tids2klol .ok
04:44.17tpri think i will commit a french kernel too
04:44.31tprwhich forces azerty
04:44.46mdrobnakYay, adb is back :-)
04:44.47tpri've made that here
04:45.11mdrobnak(Someone commented out a line in the board file)
04:45.27tprcould i see where ?
04:45.34tpri've recent problems with adb
04:45.40tprwith my new kernel
04:45.47tprmaybe same reason
04:46.53tids2ktpr which is your next phone
04:47.33tprm900
04:47.40tprsamsung cpu
04:48.07tprive a friend here which have the nike...
04:48.11tpri will test on it later
04:48.18mdrobnakCrash crash crash hehehe
04:48.25tprtouch dual
04:52.18tids2ktpr which country r u in...
04:52.33tprfrance
04:52.43tprcommited my french kaiser kernel
04:53.13tprnow i need to merge them to support cmdline switch
04:53.22tprto force keyboard
04:53.27tids2ki think its better to get a omnia 2 rather than m900
04:53.29tprat init time
04:53.34tids2kbetter processor
04:53.39tprm900 is cheap
04:53.49tprits why i bought it
04:53.58tpracer bought eTen
04:54.02tids2ku bought it
04:54.08tprits the glofish replacement
04:54.15tids2koh ok
04:54.27tpryes, on ebay... waiting for it now
04:54.43tprbut was uk postal strike last week
04:54.53tids2klol ok
04:55.09tids2kshould i get a nokia n900 or a leo
04:55.12tids2kwhat do u suggest
04:55.16mdrobnaktpr: oops. 1-01 00:53:57.172 D/RIL     (  852): We have 0 samples
04:55.16mdrobnak11-01 00:53:57.172 D/RIL     (  852): About to allocate memory!
04:55.50tpro
04:55.56tpromnia 2 doesnt have keyboard ?
04:56.01tids2kno
04:56.19tpri really need it
04:56.28tids2koh ok ..
04:56.54tids2kwished only droid worked in australia ... else i would have it in my hands right now
04:57.36tprsamsung galaxy maybe
04:57.59tprbut yea AMOLED seems promising :)
04:58.07tprfor battery
04:58.30tprblack screen doesnt use battery :)
04:58.39tids2kheehe
04:58.54tprno leds in
04:59.32tids2kwell i want to see android on both phones
04:59.52tids2kn900 has a better processor
04:59.58tids2kand a gpu as well
05:00.05tids2kplus a keypad :o
05:01.35mdrobnaktpr: Found the problem 11-01 01:00:46.255 D/RIL     (  908): Compared Equal!
05:01.35mdrobnak11-01 01:00:46.255 D/RIL     (  908): Compared Equal!
05:01.48mdrobnakIt thinks my new sample is the same as "XXXX" :-(
05:01.48tprpastebin .
05:01.51tpr?
05:02.05mdrobnakmy string comparison is failing for some reason.
05:03.06mdrobnakhttp://pastebin.com/d2c9c73ac
05:03.11tprhttp://www.youtube.com/watch?v=zliM_hV6op4&feature=player_embedded
05:03.25tprmagic vs galaxy
05:03.57tprhehe
05:04.02tprstrcmp result == 0
05:04.04mdrobnakyoutube being dumb
05:04.05tprwhen equal
05:04.15mdrobnak"An error has occured"
05:04.20mdrobnakYeah, so that's the problem
05:04.23mdrobnakerrr
05:04.30mdrobnakOH
05:04.36mdrobnak0 = equal.
05:04.38mdrobnakThat's dum.b
05:04.44mdrobnakthat's not boolean logic
05:04.45mdrobnaklol
05:04.57tpryea because
05:05.03tprstrcmp > 0 or < 0
05:05.06tprascii compare
05:05.13tprto sort
05:05.41mdrobnakok, lets try changing that to a if ! (strcmp  ...
05:05.53tpradd == 0
05:06.06tprit's the right way to code that i think
05:06.28tprif (strcmp (responseStr[i], Location[j]) == 0){
05:06.55mdrobnakok, adb push now..
05:06.56tpradd some printk
05:07.34mdrobnakLOGD
05:07.34mdrobnakyeah
05:07.35tprprintk("%s -- %s\n",responseStr[i], Location[j]);
05:07.43mdrobnakNope, it's still not right.
05:07.49mdrobnak11-01 01:07:15.562 D/RIL     (  949): Compared Equal!
05:07.54mdrobnak(That's my code)
05:08.08spirits-sightdo you guys know if the haret dating 9-16-09 has any bennfits?
05:09.02tprspirits-sight: no dunno, what's the size ?
05:09.05tprexactly
05:09.27*** join/#htc-linux droid0011 (n=g1@p4FDCDBEF.dip.t-dialin.net)
05:09.28spirits-sightharet-20090916.exe             16-Sep-2009 09:08  162K
05:09.54tpryea, really different
05:10.06mdrobnakhaha, oops. I screwed up my logic there.
05:10.08tprmine is 9 aug 2009
05:10.17tprsized 137216
05:10.26tprwhere can i get it ?
05:11.46tprhttp://www.handhelds.org/moin/moin.cgi/HaRET
05:11.49tpronly have this page
05:11.56tprhttp://www.handhelds.org/moin/moin.cgi/HaRET?action=info
05:12.09mdrobnaktpr: Much better. Now at least I don't say they're all the same. But it's still not getting a sample. Oh well. Time for bed. More work on that tomorrow. Thanks a lot for your help.
05:12.31tprno problem
05:12.42tprsee you tomorrow...
05:13.07tprmaybe ;) just wake up
05:13.14tpr(3 hours ago)
05:13.23tpr(me)
05:13.31tids2klol
05:14.01mdrobnaktpr: hehe yah, I'm in the us...GMT-5
05:14.06tids2ktpr how about the maemo port status
05:14.14spirits-sightlink haret http://www.handhelds.org/~koconnor/haret/test/
05:14.37tpri dunno where i am ;) its 6 am here
05:14.38tpr;p
05:14.46mdrobnakYay! I got a sample :-)
05:14.56mdrobnakOnly 1 though. :-(
05:15.01mdrobnakBut at least better then 0 :)
05:16.02tprsame size as haret-20090711.exe
05:16.05tprhttp://www.handhelds.org/~koconnor/haret/
05:16.17tpri think its a debug version
05:16.43tprhuh
05:16.45tprarf sorry
05:16.50tprsome name
05:17.49spirits-sightok thanks good night, oo one other thing, is it going to be where don't have connect in winmo first to get on the internet, in pass I did not have to do such now I do (using Kaiser)?
05:18.22tpri think its no necessary
05:18.29tprto connect in winmo on the kaiser
05:18.36tprdid you test my kernel ?
05:18.46tprhttp://github.com/tpruvot/android-initrd
05:19.23spirits-sightur new one? if so the last kernel I tested was whats on android-vogure (google code)
05:19.42tpryes, it came from these one
05:19.52tprvilord one
05:21.58spirits-sightwill it be posted on android-vogure / hero site soon?  if so then I will try it as there is to many link on the website you provided  I only play with this stuff I don't know any thing about coding or what not
05:24.54tprhttp://github.com/tpruvot/android-initrd/zipball/master
05:25.14tprin the zip you will have initrd, rootfs and kernel
05:25.34tprimages
05:25.48tpryou just need to copy on your sdcard
05:26.03tprthese 3 files
05:27.31spirits-sightok will try when wake up today gn
05:27.34*** part/#htc-linux spirits-sight (n=Spirits-@c-24-91-187-210.hsd1.ma.comcast.net)
05:34.13*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
06:15.25*** join/#htc-linux tsdogs_ (n=tsdogs@net203-187-146.mclink.it)
06:35.10*** join/#htc-linux x29a_ (n=x29a@unaffiliated/x29a)
07:25.08*** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net)
07:35.21tprhmmm
07:35.40tprwhat kernel module i need to support rfkill ?
07:45.10*** join/#htc-linux balans (n=barry@53546505.cable.casema.nl)
07:56.18*** join/#htc-linux Gnutoo (n=gnutoo@host206-39-dynamic.117-80-r.retail.telecomitalia.it)
07:58.45tmzttpr: what kernel?
07:58.59tpr2.6.25
07:59.10tprive rfcomm enabled
07:59.25tprits same
07:59.28tpras raphael
07:59.49tmzttids: maemo?
08:00.03tpri made a board-htckaiser-rfkill.c
08:00.29tmztharet is the same
08:00.44tmztwe haven't added anything new for msm since at least march
08:01.08tpr(nice too know that)
08:01.09tprto
08:01.55tmztnot bsame as raph
08:02.03tmztdzo is 2.6.25 still?
08:02.21tmztok
08:02.32tmztyou just bt power gpio for kais
08:02.32tpryes
08:02.38tpri rewrote like the raph
08:02.41tpryea
08:02.44tmzts/bt/need bt/
08:02.46tpri'm testing values
08:02.59tmztlook in wiki.htc-linux.org
08:04.03tprhttp://pastebin.com/m1473bed1
08:04.05tpri'm there
08:04.21tprmodule is linked in kaiser board, that's working
08:04.34tprbut some timeout on gpios
08:04.46tpri'm trying to set the flashing blue led
08:05.03tpri can enable blue directly, but its purple ;) not flashing
08:05.16tprthere is something to do that in vogue-hw.c
08:05.34tprbut i dunno how to reference the static blue_led struct
08:07.28tprwhich is in vogue-hw.c
08:08.33tmztyou would have to export it
08:08.40tprok
08:08.47tpri ve maybe found how
08:08.49tmztor declrare it in your own file as well
08:08.52tprkaiser_set_led() func
08:08.56tmztok
08:09.19tmztbe better if you could have a link to the generic led in your rfkill pdata
08:09.24tmztas a trigger
08:09.31tmztlook up the led api
08:09.52tmztrfkill should already work with generic led actually
08:12.19tprok found compiling...
08:12.52tpryep, i see, but will make that later
08:12.56tprnot important
08:14.40tprok
08:14.50tprbooting...
08:15.44*** join/#htc-linux kiozen_ (n=kiozen@rgnb-5d874514.pool.mediaWays.net)
08:17.28LittleJdaim i love latest build on diam 100 ;) i think wont be long till will run android and leave windows behind :P
08:18.29tprdamn working :)
08:18.34tprthe flashing led
08:21.21tmztLittleJ: we have to be able to flash it
08:22.13tprmaybe with sfu-util ?
08:22.26LittleJtmzt yea but still some lil glitches till than :D like suspend, its only shuting down the panel, not the butons ?
08:22.46tmztoh?
08:22.46LittleJi'l try to use it today on my phone i'm courious how long will the bat last
08:22.51tmztinteresting
08:23.01tmztwe need to learn gpio for microp
08:23.10tmztI think mdrobnak is working on that
08:23.12tmztor Gnutoo
08:23.15tmztnot sure
08:23.40Gnutooon what I am supposed to work?
08:23.42Gnutoohi
08:23.46GnutooI work on alsa
08:23.57tmztoh
08:24.02tmztsomebody then
08:24.07tmztwait
08:24.10tmztkaiser?
08:24.15Gnutooand I progressed a lot...now I've to build mplayer too see where it hangs
08:24.17tmztthat should be easier
08:24.25tmztjust use the alt functions
08:24.34tmzthow is it going?
08:24.42tmztdo you have a test case?
08:24.46tmztbad/good
08:25.24LittleJcan i play avi files in diam ?
08:26.33tprGnutoo: i fixed a video problem this night
08:26.36tprfor the kaiser
08:26.43Gnutoook
08:26.56tpryoutube had only sound
08:27.04tprwhen wlan was loaded
08:27.22tpri updated wlan module from last git
08:27.30tprand its now working...
08:27.54tprwith "rmmod wlan" youtube was working...
08:28.02tmzthow are those related?
08:28.11tmztah
08:28.11tpri dunno, maybe a memory allocation pb
08:28.14tmztsorry
08:28.56tmztlast git?
08:29.02tmztyour git?
08:29.20*** join/#htc-linux W8TVI (n=nnnnnme@71.238.235.30)
08:29.33tprno android kernel git
08:29.43tprhttp://android.git.kernel.org/?p=platform/system/wlan/ti.git;a=summary
08:29.48tmztok
08:29.52tmztah
08:29.57tmztusing tiwlan driver
08:30.05tprinterresting git repo :)
08:30.16tpri found it today
08:30.25tmztyeah
08:30.30tmztthat's the newer one
08:30.32tprhttp://android.git.kernel.org/
08:30.36tmztsince last fall
08:30.55tprkernel/lk.git(L)ittle (K)ernel bootloader
08:33.13tprgit clone git://android.git.kernel.org/platform/system/wlan/ti.git
08:33.27tpri used the master branch
08:33.35tprand its working with 2.6.25
08:33.48tprit works with many kernels
08:35.48tprcd system/wlan/ti/sta_dk_4_0_4_32
08:35.48tprKERNEL_DIR=<path-to-kernel> make
08:36.19tmztlk?
08:36.26tmztwhat is that
08:36.55*** join/#htc-linux onen|openBmap (n=quassel@vbo91-1-89-87-201-85.dsl.club-internet.fr)
08:37.02tprhttp://android.git.kernel.org/?p=kernel/lk.git;a=summary
08:37.33tmztyes, what is it
08:37.39tpraboot
08:37.41tprhttp://android.git.kernel.org/?p=kernel/lk.git;a=blob_plain;f=app/aboot/aboot.c;hb=HEAD
08:37.42tmztcan't really look right now
08:37.51tmztinteresting
08:37.52tprvoid boot_linux(void *kernel, unsigned *tags,
08:37.52tprconst char *cmdline, unsigned machtype,
08:37.52tprvoid *ramdisk, unsigned ramdisk_size)
08:38.40tpryes
08:38.49tprdont have time for that for the moment...
08:38.53tmztok
08:39.01tprbut i keep it in bookmarks; )
08:39.05tmztis it usable as a chainloder?
08:39.16tmztinteresting
08:39.23tprthere is also http://android.git.kernel.org/?p=platform/bootable/bootloader/legacy.git;a=summary
08:39.24tmztbetter than legacy bootloader
08:39.29tprbootloader reference code
08:39.29tmztright
08:39.41tmztdo you know arm asm?
08:42.22tprno, i cant tell that ;)
08:42.24tmztdon't happen to see any 2.6.31 kernel?
08:42.27tprbut now ive documentation
08:42.30tmzthuh?
08:42.44tprmsm7200 datasheet
08:42.48tprand 7200a
08:43.10tmzttrying to fix my bootloader test code
08:43.31tmztif I knew how to setup the stack I should be able to use c like google does
08:43.38tmztbut it's all asm now
08:46.47tprasm or hexadecimal ?
08:47.31tmztasm
08:47.58tmztpeople.openezx.org/tmzt/green7.S and testbooter.S
08:57.43tpryea
08:58.03*** join/#htc-linux itchy8me (n=itchy8me@ip80-116-211-87.adsl2.static.versatel.nl)
08:58.50tpryou r searching for call ?
08:59.01tpror onlt push/pop ?
08:59.05tpronly
08:59.20tmzt?
08:59.28tmztoh
08:59.35tmztsetting up the call stack
08:59.46tmztbut I would be happy to get green7.S working
09:00.00tmztto get some feedback from screen or vibra
09:00.33tprcreate a .c file
09:00.43tprand use inline asm
09:02.29tmztwhy?
09:02.40tmztwell
09:02.55tmztI mean you still have to setup the stack for calling to work
09:03.17*** join/#htc-linux JoshuaL (n=JoshuaL@unaffiliated/joshual)
09:05.26tpr./mach-msm/perf.c
09:05.34tprasm volatile (
09:06.11tprthere is asm in this file
09:09.14tprRegister 13 is typically the OS stack pointer
09:09.40tprso its like esp in x86
09:10.07tprthere is doc here : http://www.heyrick.co.uk/assembler/
09:12.23tprThe new instructions are: (ARM7 / StrongARM extensions)
09:12.23tprUMULL, UMLAL, SMULL, SMLAL.
09:12.23tprLDRSB, LDRH, LDRSH, STRSB, STRH, STRSH.
09:13.31tprregister 13 is "\r13" in C
09:14.07tprmmm
09:15.38tprUnlike 80x86 processors which require certain registers to be used for stack access, or the 6502 which places the result of mathematical calculations in the Accumulator, the ARM processor is highly flexible in its register use.
09:17.17tmztnice
09:17.34tmztwhat about periphrial port remap register?
09:17.46tmztspecifically on on msm7200a
09:17.50tmztor 7201a
09:17.51tpr:)
09:18.02tprcheck the file include/asm-arm/uaccess.h
09:18.08tprthere is macro for asm access
09:18.14tprin c
09:18.15tmztok
09:23.13tprthere is another asm language as i can see
09:23.16tprthe APCS
09:23.50tmztthat's oabi I think
09:24.06tprARM Procedure Call Standard
09:24.16tprhttp://www.heyrick.co.uk/assembler/apcsintro.html
09:24.37tmztold abi
09:24.45tmztnot used in linux any more
09:27.15tprwas APCS-U
09:27.20tprthe unix APCS
09:27.45*** join/#htc-linux thielmann_ (n=thielman@e177091107.adsl.alicedsl.de)
09:27.46*** join/#htc-linux dan-numb-nut (n=none@d75-158-143-207.abhsia.telus.net)
09:28.42tprbut i dont understand what you need exactly
09:29.28tprmaybe that : http://www.heyrick.co.uk/assembler/pseudo.html
09:29.33tpradr
09:29.43tmztthat code should work when booted and stripped from haret
09:29.54tmztyeah, I have that
09:34.38tpryou need to backup registers in stack and restore them ?
09:34.48tprlike pusha/popa ?
09:44.11LittleJcan any one help me a bit seting up wireles on diam 100 ? i heave read that i have to enable bluetooth than wifi, but bluetooth wont turn on...
09:47.08*** join/#htc-linux GlemSom (n=glemsom@0x5da34bca.cpe.ge-1-1-0-1105.sdnqu1.customer.tele.dk)
09:51.01*** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be)
09:56.15*** join/#htc-linux leobaillard_ (n=leobaill@leobaillard.org)
10:00.53*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
10:17.16dzotpr: still around?
10:18.57tpryes hi
10:19.28tprtrying to init bluetooth...
10:19.46tprthe driver is linked, and flashing led is working ;)
10:19.46*** join/#htc-linux kvaster (n=kvaster@live.bn.by)
10:19.50tprbut
10:19.58tprinit gpio seems wrong...
10:20.11tprhci is not detected
10:20.51*** join/#htc-linux japanferd (n=japanfre@94-169-160-154.cable.ubr17.croy.blueyonder.co.uk)
10:22.16dzohi, i see you made some kernel changes, could you push them to the ltg git.
10:23.20tpri maybe need an account....
10:23.41dzogo to the project page and request to join.
10:23.58tprok
10:24.34dzohttp://projects.linuxtogo.org/projects/mobile-linux bottom right
10:25.08tprlogin : tpruvot
10:25.46tprmade the request
10:27.03dzook, i accepted it, you should be good to go now.
10:28.08tprok hmm... is there a cert or something on this git ?
10:30.30dzouse ssh, e.g. git clone ssh"tpruvot@git.linuxtogo.org/home/groups/moble-linux/kernel.git htc-vogue
10:30.46tprok :)
10:31.00tpri will make a new git clone for that on my system
10:31.49dzouse ssh-copy-id to avoid the password.
10:32.44dzoor you can just push your current repo, please make sure you don't break any of the other devices.
10:33.16tprsure but... i'm testing other things...
10:33.46tprgit clone git://tpruvot@git.linuxtogo.org/home/groups/moble-linux/kernel.git htc-vogue
10:33.55tprInitialized empty Git repository in /root/linuxtogo/htc-vogue/.git/
10:33.55tprfatal: Unable to look up tpruvot@git.linuxtogo.org (port 9418) (Name or service not known)
10:35.03tprhmm maybe git@git.linuxtogo.org:tpruvot
10:36.30dzoshould be ssh://tpruvot@git.linuxtogo...........................
10:37.09tprargghh
10:37.12tprCould not chdir to home directory /var/lib/gforge/chroot/home/users/tpruvot: No such file or directory
10:37.12tprfatal: '/home/groups/moble-linux/kernel.git': unable to chdir or not a git archive
10:40.56dzoit doesn't seem to have created a home dir for you, strange.
10:43.58dzoperhaps it takes a while, try again later.
10:44.27tprok working
10:44.55tprjust have the warning : Could not chdir to home directory /var/lib/gforge/chroot/home/users/tpruvot
10:45.02tprbut downloading...
10:46.01tprit could be a good idea to merge tiwlan module no ?
10:46.20tprto have it directly in kernel...
10:46.42dzoperhaps, it needs the gpio changing for some devices.
10:46.59dzowe could make that a parameter or autodetected.
10:47.29tprwith a requieres in Kconfig
10:51.55*** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
10:54.15tprthanks
10:54.35dzono problem, good luck.
10:54.43tpr=)
11:04.53*** join/#htc-linux kvaster (n=kvaster@live.bn.by)
11:13.03*** join/#htc-linux x29a__ (n=x29a@unaffiliated/x29a)
11:20.02*** join/#htc-linux pH5 (n=ph5@g229124254.adsl.alicedsl.de)
11:33.45*** join/#htc-linux kvaster (n=kvaster@live.bn.by)
11:48.57tprwhat is the  msm_sdcc.msmsdcc_fmax=20000000 ?
11:49.26tprwe are able to underclock the kaiser to 200Mhz with that ?
11:51.43*** join/#htc-linux tids2k (n=r3x@d58-106-255-105.riv7.nsw.optusnet.com.au)
11:56.34phhtpr: no that's only sd controler
11:56.45tprthanks
11:56.46tids2kphh .
11:56.48tpr:)
11:57.33tpruvoti just added a Kconfig option for azerty kaiser ;)
11:57.37phhtpruvot: i don't know the kaiser kernel, but in raph/diam branch it's just a kernel option
11:57.56tpruvot:) yea, not here, could be done
11:57.58tpruvotbut...
11:58.16tpruvotnot so usefull
11:59.38phhwhy do you ask then /o\
12:00.03tpruvotif its the SD controller frequency
12:00.17tpruvotseems wifi is sdio too
12:00.54phhthe kernel option is cpu frequency
12:00.58phhnot sdcc frequency
12:01.07tpruvotohh
12:20.27*** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)
12:22.26*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
12:33.49tpruvotis there a linux cross reference for mach msm ?
12:41.19*** join/#htc-linux MethoS- (n=clemens@134.102.106.250)
12:46.34*** join/#htc-linux japanfred (n=japanfre@94-169-160-154.cable.ubr17.croy.blueyonder.co.uk)
12:48.59*** join/#htc-linux Zoolooc (n=lucian@p54955DD0.dip.t-dialin.net)
12:50.29*** join/#htc-linux dzo (n=dzo@mail.marginz.co.nz)
12:59.12*** join/#htc-linux diogene31 (n=diogene3@mur31-2-82-243-122-54.fbx.proxad.net)
13:04.05*** join/#htc-linux Moobyfr (n=blindaue@ns2.agat.net)
13:14.03*** join/#htc-linux dzo_ (n=dzo@mail.marginz.co.nz)
13:30.15tmztwifi is sdio
13:30.30tmztthe sdcc min freq options were removed though I think
13:31.59phhgroumpf, yesterday suspend (and staying suspended.) worked and resume took 10s. now it won't stay suspended but resume takes <1s.
13:32.37tmztgit bisect
13:32.51phhi didn't commit anything in the meantime.
13:33.01phhactually i think i haven't even rebuilt the kernel
13:33.12tmztI see
13:33.21tmztwhat did you change?
13:33.27phhi'd like to know.
13:35.28phhi get 0.2s sleeping for 1.5s to resume+suspend.....
13:36.00phhand all i know is that system get's awaken by "GPIO2"
13:37.28tmztwhich is?
13:37.53phhhttp://htc-linux.org/wiki/index.php?title=Raphael_GPIO
13:37.56phhone of the bank 1.
13:38.41phhthe only interrupt i get from powertop (in 15s) is gp_timer, whici is not on gpio.
13:38.42tmztwhat's it connected to?
13:38.52tmztwhat is the gpio-func settings?
13:39.29phhhow do i know that ?
13:41.00phhand /proc/interrupts before/after doesn't give any change for gpios ...
13:41.30phhi might have to reread the doc.
13:43.58phhhu ? now it seems it's a nand irq /o\
13:45.31tmztread source
13:45.42tmztinteresting
13:45.47tmztnot gpio 2?
13:47.13phhyou're right i should believe source not doc
13:47.24phhjust have to find the dispatch thing mmm
13:53.06phhoh. i should read logs better, this irq doesn't wake up, it disable sleeping ... and as no module cares, it remains pending ..
13:53.56tmztnand?
13:54.02phhyes
13:54.16tmztprobably not used
13:54.35tmztbut cr2 enabled it to read the wifi calibration
14:00.54phh[  170.548217] active wake lock PowerManagerService
14:00.55phhfunny.
14:16.57*** join/#htc-linux FR^2 (i=frr@frquadrat.de)
14:36.25tpruvotbeginning a lxr cross ref : http://epsy.ath.cx/lxr/source
14:36.41tids2knice
14:40.18phhadd linuxtogo's msm-2.6.27
14:42.58tpruvothmm :) i'm wrong... my 2.6.29 is 2.6.27 ;)
14:43.03phhok
14:43.03tpruvotoups ;)
14:43.27*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
14:43.33tpruvotparsing in progress...
14:45.46phhwhat is this supposed to do ? a sort of big old diff between two branches ?
14:45.53tpruvotno
14:46.01tpruvotyou can search
14:46.04tpruvotfor constant etc
14:46.16tpruvotvariables... and compare easyly branchezs
14:46.22tpruvot(when indexed....)
14:46.28phhok
14:46.41tpruvottake a long time to do that...
14:46.43phhcan you add non-git branches ?
14:46.46tpruvotsure
14:46.57tpruvoti dont use git feature for the moment
14:47.01phhthe I7500's kernel can be useful
14:47.44phh( http://img.kr.samsungmobile.com/images/opensource/download/OpenSource/GT-I7500_OpenSource.zip )
14:49.41tpruvotERREUR 404: Not Found.
14:49.54phharf
14:53.50*** join/#htc-linux dzo (n=dzo@mail.marginz.co.nz)
15:18.23*** join/#htc-linux onen|openBmap (n=quassel@vbo91-1-89-87-201-85.dsl.club-internet.fr)
15:18.26*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
15:21.46tmzt20:54 < Bob_C_> Sure, if a VM section is mapped to address 0
15:24.12Gnutoohi,in fill_buffer in playwav2.c it seem that there is no sleep at all? is it normal?
15:24.27Gnutoothat is to say it fills the dsp buffer as fast as it can
15:25.22tmztnot sure
15:25.32tmztis it it the same in playwav.c?
15:27.32GnutooI'll look
15:29.31Gnutooseems so
15:31.58Gnutoowhat I was looking was the period
15:32.17Gnutoothat is to say the frames number between 2 interupts
15:32.49tmztoh
15:33.00tmztand it doesn't sleep so there isn't one?
15:33.46tmztseems playwav is for pre recorded playback
15:34.03tmztno reason to support variable length streams or silence
15:34.38tmzthave you lookee at audioflinger?
15:34.51Gnutoonot a lot
15:34.56GnutooI'll look
15:37.12Gnutoothanks for the advise
15:42.25Gnutoommm
15:44.59Gnutoook maybe I get it
15:45.09Gnutoobuffer size / buffer count = period
15:45.11Gnutoobut...
15:45.26Gnutoobut in alsa I bet buffer count = 4
15:45.31Gnutooand in android it's 2
15:45.39Gnutoo(the minimum)
15:45.55Gnutooand I bet alsa checks for the *4
15:45.57Gnutoostrange....
15:57.42*** join/#htc-linux W8TVI (n=nnnnnnme@71.238.235.30)
16:16.47*** join/#htc-linux pH5_ (n=ph5@g230041212.adsl.alicedsl.de)
16:29.16tpruvotok, http://epsy.ath.cx/lxr/source/arch/arm/mach-msm/?v=msm-2.6.27
16:29.22tpruvot2.6.27 indexed
16:34.16*** join/#htc-linux ToAsT (n=Administ@115-106.96-97.tampabay.res.rr.com)
16:34.59mdrobnakHi all.
16:35.03phh[  429.167297] Rebooting in 3 seconds..<3>ARM9 has CRASHED
16:35.04phh\o/
16:35.19mdrobnakdzo: Are you here?
16:37.41ToAsTim only able to get a kernel from a sep. 03 commit to work with the new build. would this kernel even be abl to make use of wifi
16:38.05tmztare you toast?
16:38.13tmztwhat did you ask last time
16:38.26tmztphh: panic=0
16:38.38tmzthow did you do that?
16:38.47*** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net)
16:38.57phhtmzt: trying wifi after power collapse.
16:39.04phhwhat does panic=0 do ?
16:39.11phhkernel stays alive after kernel panic ?
16:39.14tmztdisable the panic reboot
16:39.16tmztyeah
16:39.19phhcool
16:39.34tmztthat message shouldn't mean anything
16:39.44ToAsTtmzt: yep
16:40.01ToAsTanyhow would it work?
16:40.23phhToAsT: why do you want to do that ?
16:40.30tmztwhat build?
16:40.54mdrobnakHey tmzt. I was working with tpr last night on the location code in the RIL...May have made some progress...My RIL is crashing when it hits it though :-(
16:40.59ToAsTbecause i got a diam500 and have no choice but to use that older commt
16:41.08*** join/#htc-linux thedicemaster (n=thedicem@j89051.upc-j.chello.nl)
16:41.13ToAsT1.6 wifi
16:41.13tmztah
16:41.17phhToAsT: you sure have the choice.
16:41.21tmztwhat broke on diam500?
16:41.34tmztalso, how much ram do you have
16:41.34ToAsTmmc
16:41.50tmztand can you provide cr2 with some dumps probably tomorrow
16:41.56tmztI need smi layout
16:42.10phhToAsT: it's frozen on mmc's detection ?
16:43.09ToAsTno it says waiting for sd card. with mtype 2040 and with 1805 it wont ven boot haret. it freezes
16:43.27tmztwhat are those?
16:43.35phhtry downclocking mmc
16:43.36tmztit won't boot linux
16:43.50phh1805 is diam100 afaik
16:43.58tmztphh: it's a cdma device, shouldn't be using diam100 mtype
16:44.05phhi know.
16:44.13tmzttry raph800
16:44.22ToAsTi know but i ws just tryin things out
16:44.44phhToAsT: have you the exact commit version which broke that ?
16:45.07*** join/#htc-linux MadEchidna (n=madechid@c-98-237-131-190.hsd1.wa.comcast.net)
16:45.13MadEchidnaah ha that's more like it
16:45.40MadEchidnaso, anyone running Android on HTC Kaiser?
16:45.52MadEchidnaI've got the ION build from this thread on my AT&T Tilt http://forum.xda-developers.com/showthread.php?t=574510
16:46.25tpruvotyes me
16:46.29tmztthe ril is bad
16:46.51MadEchidnatpruvot, what build do you use?
16:47.02MadEchidnaION works pretty well for me but ringtones seem to be broken
16:47.05MadEchidnaI can't select one
16:47.26tmztthat might be sd problem
16:47.30MadEchidnais blasting Pandora on his Kaiser atm
16:47.33tpruvotsame
16:47.38tmztsince the card is already mounted
16:47.42tmztin android?
16:47.44MadEchidnaI doubt it, I tried two different cards
16:47.48ToAsTno but the fixes that mrpippy made wont work on anything after commit ccc405498e03e49bd4dd78f1cd00c0cfcd7a2b39
16:47.48MadEchidnayeah, in Android
16:47.58polyrhythmicMadEchidna the best ROM I've used on Kaiser is xROM
16:48.04tmzthow do you connect?
16:48.06MadEchidnalink please ;)
16:48.12tpruvothttp://github.com/tpruvot/android-initrd/zipball/master
16:48.20tmztand that really belongs in #xda-devs
16:48.24tpruvotkernel for ion
16:48.34tmztkernel for ion?
16:48.36tmzt?
16:48.39MadEchidnais confused
16:48.43MadEchidnaare you talking to me tmzt
16:48.43tpruvotkaiser+ion
16:48.45tpruvothttp://tanguy.ath.cx/index.php?q=android_initrd
16:48.50tmztalso confused
16:48.56tpruvotbuild
16:49.02MadEchidnawho is that link for tpruvot
16:49.09tmztion is magic
16:49.16MadEchidnayeah I know
16:49.32MadEchidnaI'd like to try donut but the build I got from that thread doesn't work with my data for some reason
16:49.35polyrhythmicMadEchidna: you can try this ROM: http://vogue-hero.googlecode.com/files/system-xrom1.5r4c.sqsh
16:49.36MadEchidnaeven thought the settings are the same
16:49.47polyrhythmicDonut has hella problems on Kaiser, I would stay away from it for now if it doesn't work
16:49.55MadEchidnaokay
16:50.01polyrhythmicI banged my head against the wall trying to figure out why and went back to xROM in the end
16:50.03MadEchidnaalso, should I just replace my current sqsh with that or what
16:50.07phhToAsT:  why PM ... ?
16:50.10polyrhythmicyes MadEchidna
16:50.16MadEchidnaokay
16:50.21ToAsTsorry
16:50.24MadEchidnaman I had the worst time with Android market yesterday
16:50.27MadEchidnawouldn't download anything
16:50.29MadEchidnaworks now though
16:50.32phhToAsT: btw what are mrpippy's patch ?
16:50.39MadEchidnaI actually bought DroidIRC :P
16:50.48MadEchidnaoh, here's something amusing
16:50.54polyrhythmicI hear that's a good client
16:51.03MadEchidnaI bought this Kaiser on Craigslist and payed extra for an 8 gig sd card right
16:51.21MadEchidnaand when I was playing with android builds last night I somehow managed to slide it into the casing of my Eee PC
16:51.23tmztah, xrom is android?
16:51.25MadEchidnaI have no idea where it went
16:51.28*** join/#htc-linux rayman18 (i=opera@218.pool85-49-147.dynamic.orange.es)
16:51.34MadEchidnapolyrhythmic, yes it is a great client
16:51.36MadEchidnaworth every penny
16:51.44mdrobnakMadEchidna, Ouch. That sucks.
16:51.44MadEchidnathe full desktop experience :)
16:52.00MadEchidnamdrobnak, fortunately I still have my 4 gig from my old phone ;)
16:52.08mdrobnaktmzt: Yeah, xROM is one of the newer builds, I like the Google Ion build much better.
16:52.11MadEchidnabut I would like to figure out where my $40 investment went
16:52.17mdrobnaktmzt: err customized builds
16:52.32MadEchidnamdrobnak, I'm using google ion and I can't set ringtones
16:52.35MadEchidnawhich builds you use?
16:52.39polyrhythmicyeah the xROM has a good tradeoff of functionality, speed, and features
16:52.44mdrobnakMadEchidna, Doesn't the Eee PC have an SSD?
16:52.51MadEchidnathe original model does
16:52.53MadEchidnathere are many models
16:53.03MadEchidnamine has a SATA hard disk and atom processor
16:53.06mdrobnakMadEchidna, Oh. I was going to say to shake it until it falls out hehehe
16:53.17MadEchidnaI don't understand why people still develop for the original Eee honestly
16:53.29tmztmdrobnak: right
16:53.30mdrobnakMadEchidna, Do you have the "media" folder on your sd card?
16:53.33MadEchidnaI could take some screws out I suppose
16:53.43MadEchidnamdrobnak, I don't know, I have to shut down my phone so I can look
16:53.49tmztbut he asked in #android and it seemed he was talking about an actual Ion
16:54.11tmzteee is still a pc
16:54.20mdrobnakMadEchidna,  Because ringtones didn't work on my Ion build until I downloaded that from the vogue-android site..
16:54.31mdrobnaktmzt: ah.
16:54.32tmztwhat would they be developing for it specifically for?
16:54.37MadEchidnatmzt: drivers and such
16:54.49MadEchidnasome alt oses like AtheOS and Haiku target that specific sku
16:54.57tmztsure
16:55.02MadEchidnaor even Android for Eee
16:55.03tmztbecause of the atlan
16:55.07MadEchidnait's sort of irritating to me
16:55.17MadEchidnabecause I go OH EEE VERSION awww never mind
16:55.17tmztthat was swetland originally
16:55.39MadEchidna<mdrobnak> MadEchidna,  Because ringtones didn't work on my Ion build until I downloaded that from the vogue-android site..
16:55.46MadEchidnacould you give me a link to that please?
16:55.52ToAsTphh: those are his fixes. but they wont wor after the commit i posted
16:55.54mdrobnakOk guys, I'm gonna need some help on my C code here..crashing during string comparison..
16:55.57mdrobnakMadEchidna, Sure, one sec.
16:56.10japanfredanyone got the link to the Blackstone 1.6 ZIP for Android?
16:56.11MadEchidnabut the consensus is that donut on kaiser is no go, eh? :(
16:56.19japanfredcan't find it anywhere, lost my copy :-\
16:56.21tmzt!strcmp !strncmp
16:56.27mdrobnakMadEchidna, http://code.google.com/p/vogue-android/downloads/list?can=1&q=&colspec=Type%20Filename%20Summary%20Uploaded%20Size%20DownloadCount&start=100  resources.zip
16:56.37polyrhythmicdonut either works on Kaiser or doesn't; there's no pattern we can find for WHY
16:56.46polyrhythmicpolaris having the same problems
16:56.54polyrhythmicsomething about the RIL
16:56.56MadEchidnaoh yeah I noticed while the kernel was booting it was asking me to unpack that file
16:56.57tmztdonut?
16:56.57MadEchidnasilly me
16:57.14MadEchidnaIf I even ask about eclair am I going to make people upset :P
16:57.43phhMadEchidna: for eclair, at least wait the actual source code
16:57.46mdrobnaktmzt: Yeah I know that much about strin gcomparisons :)
16:57.48polyrhythmicwell Eclair is coming for G1 so it's likely portable to other devices.. it'
16:57.50*** join/#htc-linux balans (n=barry@53546505.cable.casema.nl)
16:57.54polyrhythmics just a long wait
16:57.59MadEchidnaI bought my Kaiser used and the battery is totally trashed
16:58.09MadEchidnapolyrhythmic, I heard that the G1 wasn't getting updates
16:58.15MadEchidnatoo old hardware or something
16:58.18MadEchidnaif it is, great!
16:58.22phhlol
16:58.29ToAsTphh: did u check them out
16:58.31MadEchidnaonly reason I got kaiser instead of G1 is I have At&t
16:58.39phhToAsT: url ?
16:58.43MadEchidnano way I'm forking over that kind of cash for a smartphone that I can't get 3g on
16:59.23ToAsTphh: http://forum.xda-developers.com/attachment.php?attachmentid=235532&d=1255061345
16:59.43ToAsTphh: thats the patch
16:59.59mdrobnakEek, I think I may have found one problem with my code..let me see if this fixes it..
17:00.11phhok so diam500 ~= diam100+CDMA....
17:00.24tmztzip gets unpacked after the kernel has booted
17:00.43ToAsTphh: http://forum.xda-developers.com/attachment.php?attachmentid=239395&d=1256158651
17:00.54ToAsTphh: thats the config
17:00.57MadEchidnamdrobnak, please tell me about xrom
17:01.02MadEchidnaI never heard of it before
17:01.52ToAsTphh: but yeah its kind of a dirty patch. but it works. more like a hack i guess
17:01.56MadEchidnaoh cool, it uses ogg for ringtones
17:02.06mdrobnakMadEchidna, That's on the top of the site, go back 1 page on that link... It's what Untouchable used in the packages he put together for Diamond / Raph..
17:02.43MadEchidnahm
17:02.54MadEchidnaso hey fellow Kaiser users, how's battery life
17:03.01MadEchidnathis battery I have is trashed so it's hard to tell
17:03.08MadEchidnalasts like 2 hours in either os
17:03.23mdrobnakOuch. Kaiser definitely lasts more then that in WinMo (have a friend with one)
17:03.40polyrhythmicI can get a couple days out of it in WinMo if I don't use too much data or GPS
17:03.42MadEchidnaI already ordered a bigger battery on Amazon, but it won't be here for a bit
17:03.46MadEchidnawhat about Android though?
17:03.50polyrhythmicI can kill it with GPS and screen on in a hour or two
17:03.58mdrobnakhttp://pastebin.com/d3ea477b0  Ok here's my code that's crash crash crashing after the first iteration in the loop..
17:04.01ToAsTphh: idk why the patch wont work on the new commits. i know alot has changed
17:04.15MadEchidnaI would like to run Android full time, Winmo is horrible
17:04.15polyrhythmicAndroid I usually get about 7-8 hours, because data is on all the time
17:04.18polyrhythmicsometimes less
17:04.18phhToAsT: i don't say any mmc related thing :/
17:04.25MadEchidnapolyrhythmic, that sounds fine!
17:04.32MadEchidnado you have the original battery?
17:04.34polyrhythmicstandard battery
17:04.37polyrhythmic1350mah
17:04.40MadEchidnaI ordered a bigger one that makes the phone thicker
17:04.45MadEchidnaso I should be in good shape
17:04.54phhs/say/see/
17:05.00tpruvotxrom doesnt boot here
17:05.06polyrhythmicyeah android is hard on the battery, xROM is easy on the battery but some ROMs are worse
17:05.07tpruvotblack screen
17:05.19ToAsTi was thinking thats why it uses diam100
17:05.26tmztphh: not exactly, diam500 is msm6501a
17:05.28MadEchidnaI'm going to stick with ION if this media folder fixes my issue
17:05.30MadEchidnabooting now
17:05.41polyrhythmicyeah you have to have ringtons in your /media folder
17:05.52MadEchidnaI think it's really cool how you can run at a higher resolution than native and it looks okay
17:05.53polyrhythmicnotification sounds in /notifications
17:05.57MadEchidnaI tried native and it's way too tiny
17:06.11phhMadEchidna: just change lcd.density
17:06.20MadEchidnapardon?
17:06.25MadEchidnaI have mine set at 160 atm
17:06.41phhthe "tiny" thing can be fixed by changing lcd.density
17:06.56MadEchidnaoh, so if it's running at native res I can still make things fit on screen sanely?
17:07.04MadEchidnawhat density do you reccomend
17:07.12phhit is meant to
17:07.13phhi don't know
17:08.18MadEchidnammm ringtones
17:08.21ToAsTphh: is it possible to aply what u know and that fix to make a newer kernel that may work?
17:08.35MadEchidnathanks mdrobnak
17:08.54mdrobnakMadEchidna, No prob :-)
17:08.57phhToAsT: no sorry, i know too little about cdma phones
17:09.19phhwell if you have some time i can make some tries
17:09.29ToAsTsure
17:11.06MadEchidnaokay I have another question, now that that's fixed
17:11.12MadEchidnamy speaker phone is waaay too quiet
17:11.16MadEchidnanot any louder than regualr
17:11.19MadEchidna*regular
17:11.52tmztaudiopara
17:12.10MadEchidnais that in the market or what
17:12.26phhtmzt: don't you think it's because of the speaker/headset thing ? (or something like, can't remember the exact names)
17:12.47tmztcould also be ril
17:12.48*** join/#htc-linux kam187 (n=kam187@87-194-204-58.bethere.co.uk)
17:13.02tmztyeah
17:13.24ToAsTphh: do u think the older commit is whats holding me back from wifi?
17:13.26tmztread it as not much louder
17:13.35*** join/#htc-linux zenulator (n=zenulato@c-71-204-210-31.hsd1.de.comcast.net)
17:13.46tmztbut it's using the same path
17:13.47phhToAsT: ho for wifi you can try to build it as is
17:13.55tmztToAsT: git bisect
17:14.25phhToAsT: http://husson.hd.free.fr/automated-modules.tar
17:14.34MadEchidnaanyone have any ideas for me, in english? :P
17:14.42mdrobnakLOL
17:14.48phhrun init.sh twice, fix path(s) in build.sh, run build.sh, copy your modules-XXXX.tar.gz in the root of your sdcard
17:14.48mdrobnakI was just about to ask the same question about my C code.
17:15.08phhmdrobnak: what about your C code  ?
17:15.34mdrobnakphh: Any ideas on how to make it stop crashing on the string comparison?
17:15.45mdrobnak(See the pastebin from a few minutes ago)
17:16.15MadEchidnaaaah what
17:16.22MadEchidnais anyone still talking about my speakerphone :P
17:16.57phhmdrobnak: line 91 ?
17:17.11mdrobnakphh: Yes.,
17:17.25phhyou have checked for null pointers first ?
17:17.48phhmdrobnak: btw, i have patches to make ril build for donut, should i push it somewhere ?
17:18.31mdrobnakphh: Github has a donut branch off the RIL. Not sure how to setup access for it..
17:18.47mdrobnakphh: http://github.com/vilord/android-htc-ril
17:18.49phhok, i'll create a github branch and ask for pull i think
17:19.02phh(and i can get data working with it !)
17:19.06phh(but still the DNS problems .)
17:20.28mdrobnakphh: Add a sleep after pppd starts of 1 second. However, it still does do dumb things every once in a while. I have little issues with DNS these days.
17:20.55phhmdrobnak: this sleep's already in the ril
17:21.02phhanyway, opendns rox
17:21.14mdrobnakphh: Null pointers - shouldn't the if err < 0 code goto error break me out if it can't set the value? Line 79...
17:21.36mdrobnakphh: Lol, I just manually reset in the terminal to the right DNS if I'm impatient. Otherwise a Airplane mode toggle fixes it
17:21.44phhdon't know at* functions
17:22.22phhmdrobnak: but are you sure this is needed for localisation anyway ? cellid is already reported somewhere else
17:22.41phhthe NeighboringCellIds could make triangulation, but we don't really need it
17:22.51mdrobnakphh: That's exactly what it's for.
17:22.53phh(and i don't think AT+CREG does it)
17:23.14mdrobnakphh: No, you get multiple samples to figure out neighboring cells because the modem code sucks.
17:23.43mdrobnakWe don't have a "show neighboring cells" like 90% of other phones have grr
17:23.57mdrobnakThat would make the code super easy.
17:24.02ToAsTphh: and this may fix the wifi issue? or just make a compatable modules?
17:24.15phhToAsT: the only wifi issue is having modules ...
17:24.31ToAsToh
17:24.39tmztdidn't you find a command for that?
17:25.42*** join/#htc-linux zenulator (n=zenulato@c-71-204-210-31.hsd1.de.comcast.net)
17:25.57mdrobnakOh, shit. I realized the problem. LOL
17:26.34phhmdrobnak: used cellid is already gotten in requestRegistrationState with the same AT+CREG command
17:29.08mdrobnakphh: I was comparing responseStr[i] which wasn't valid... I just changed it to responseStr. But it still crashes.
17:29.09tmztthere's an extended qualcomm unsol as well
17:30.23mdrobnakphh: But how can you re-use that data in the Neighboring cell id data? You only query 1 cell with the requestRegistrationState..
17:30.33mdrobnakphh: You need like 3 cells.
17:30.55phhAT+CREG gets many cellids ?
17:31.53phhi thaught it answered only one
17:32.27mdrobnakRight. You need to do it multiple times
17:32.41phhmdrobnak: anyway, it uses cellid+estimated cellid's coverage, so having many cells only reduces possible area a bit
17:33.14mdrobnakphh: http://pastebin.com/d3f44ee52
17:33.32mdrobnakThat's the log of the latest output. Didn't crash during sampling this time...weird. I only added in a couple more lines.
17:33.59phhdebugging lines i bet ? :p
17:34.07mdrobnakyeah
17:34.09mdrobnakactually
17:34.44mdrobnakMy string comparison is not working though.
17:34.49tpruvotok :) first git push on htc-vogue kernel :)
17:35.37tpruvotadded azerty option for kaiser, and begin work on rfkill bluetooth
17:38.09phhhu ? you haven't got rfkill yet ?
17:41.01mdrobnakAh ha!
17:41.04mdrobnakI've figured out the problem.
17:41.43tpruvotgot ?
17:42.17phhand i've got a new problem.
17:42.26phhwifi no longer works ...
17:42.32mdrobnakphh: Refresh the page for http://pastebin.com/d36fdda1f
17:42.53*** join/#htc-linux leobaillard_ (n=leobaill@leobaillard.org)
17:43.00phhmdrobnak: what am i supposed to read
17:43.07phh(i'm not really used to radio logs)
17:43.27mdrobnakLook at what happens to the array values as time goes on..
17:43.45mdrobnakAll the lines that say D/RIL are of interest.
17:44.01phh11-01 12:40:39.134 D/RIL     (  898): Location[j] string: XXXX -> 11-01 12:40:39.154 D/RIL     (  898): Location[j] string: ?
17:45.21mdrobnakExactly
17:45.29mdrobnakXXXX is my initialized string...
17:45.37mdrobnakThen it should be replaced with the value 4E35 in this case.
17:45.41mdrobnakBut it's not.
17:46.02mdrobnakphh: Mind you, I wrote this code late last night.. lol
17:46.02phhcan i see the code with debugging lines ?
17:46.43mdrobnakOk, I see another problem.
17:46.56mdrobnakfor (i=0; ((i<7 || samples <4 )&& err != 0);i++) { should have been for (i=0; ((i<7 && samples <4 )&& err != 0);i++) {
17:47.15mdrobnakBecause I don't want more then 3 results.
17:47.20mdrobnak3 results, or 6 tries is the idea.
17:47.45kam187hmm can i add SMI as a memory bank that android can use?
17:48.18mdrobnakphh: Yeah, give me 2 minutes
17:48.42phhkam187: edit your board file, look at first bank init
17:48.59phhcopy paste it with a 1 index instead of 0 and change base addr/size
17:49.04phhand increase nr_baks;
17:49.27kam187hmm ok
17:50.48*** join/#htc-linux toast (n=quassel@115-106.96-97.tampabay.res.rr.com)
17:50.50kam187mi->nr_banks=1;
17:50.50kam187mi->bank[0].start = PHYS_OFFSET;
17:50.50kam187mi->bank[0].node = PHYS_TO_NID(PHYS_OFFSET);
17:50.50kam187mi->bank[0].size = (101*1024*1024);
17:51.08kam187that bit?  I dont have that in my board file, but i'm trying to add it in setup.c
17:51.21kam187which is the same thing
17:51.40kam187they seem to ingicate the RAM with mem=109
17:51.46kam187and it gets added with arm_add_memory(start, size);
17:53.23toastphh: ok i extracted it to my kernel folder and ran init.sh twice. the build.sh and got a shiv load of errors
17:53.40phhtoast: you have to set the kernel folder in build.sh
17:53.55toasti know and did
17:54.09phhwhich errors then ?
17:54.51toastbuild.sh: 8: pushd: not found
17:55.03*** join/#htc-linux JoshuaL (n=JoshuaL@unaffiliated/joshual)
17:55.04phh?!?
17:55.08phhwhat's your shell ?!?
17:55.10toastbuild.sh: 9: cannot open ../wireless.patch: No such file
17:55.27phhyou ran init.sh in the automated-modules folder ?
17:55.31phhand build.sh too
17:56.17toastyes... i will errase everything and try again
17:57.33toasti took the init.sh and the build.sh out of the folder and put it in my kernel folder. is that wrong
17:57.56phhif you set paths correctly no
17:58.11phhbut for the pushd, what's your shell
17:58.19phhnot having pushd is really strange
17:58.38toastubuntu
17:58.59phhthat's not a shell.
17:59.08phhhow do you run build.sh ?
17:59.17tmztprobably /bin/sh is ash
17:59.36phherf ...
17:59.41phhbash build.sh.
17:59.43toastexport PATH=~/diamond-dev/arm-2008q1/bin:$PATH
18:00.07toastsh build.sh
18:00.20phhyeah, don't use sh, use bash or zsh or whatever
18:00.21phhbut not sh.
18:00.32toastok. my bad
18:00.34phhwell don't know for zsh so just use bash.
18:00.48*** join/#htc-linux mes (n=mes@203x20781148.lightspeed.ca)
18:01.13*** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be)
18:01.49mdrobnakugh I hate pointers.
18:01.58toastARNING: "lzo1x_decompress_safe" [/home/toast/diamond-dev/kernel/compcache-0.5.4/ramzswap.ko] undefined!
18:01.58toastWARNING: "lzo1x_1_compress" [/home/toast/diamond-dev/kernel/compcache-0.5.4/ramzswap.ko] undefined!
18:02.19toastthats my only errors now
18:02.20phhbuild lzo in your kernel.
18:02.24phhoh well
18:02.26phhyou can forget it
18:02.28phhit's not wifi related
18:03.13toastphh: err.. that sux
18:03.17kam187arm_add_memory(0x03800000, 8*1024*1024);  doesnt work :(
18:03.21*** part/#htc-linux rayman18 (i=opera@218.pool85-49-147.dynamic.orange.es)
18:03.23phhtoast: why ?
18:03.25phhkam187: ?!?
18:03.29mdrobnakIs there anything I have to do after doing a string comparison - are there any pointers I have to rewind or something?!? After I figure out that I should copy the string..it doesn't work. :-(
18:03.58toastoh my bad. i took what u said wrong
18:04.31tpruvotmdrobnak: let me see...
18:04.36phhtoast:  hu ?
18:04.45phh<PROTECTED>
18:04.45phh<PROTECTED>
18:04.45phh<PROTECTED>
18:04.45phh<PROTECTED>
18:04.48tmzttoast: probably need a crypto thing
18:04.48phhis is supposed to be something like that
18:04.51kam187phh: the htc booard inits do the bank setup in kernel fixup, to get around modifying setup.c
18:05.06tmztbecause of the way codecs work in linux
18:05.18mdrobnaktpruvot, This line doesn't work: strcpy(responseStr, Location[i]);
18:05.19kam187this is arm_add_memory
18:05.19kam187size -= start & ~PAGE_MASK;
18:05.19kam187bank = &meminfo.bank[meminfo.nr_banks++];
18:05.19kam187bank->start = PAGE_ALIGN(start);
18:05.19kam187bank->size  = size & PAGE_MASK;
18:05.19kam187bank->node  = PHYS_TO_NID(start);
18:05.24kam187it's the same thing
18:05.39tmztmdrobnak: huh?
18:06.04tmztwow
18:06.05tpruvotchar *strcpy(char *dest, const char *src);
18:06.05tpruvotchar *strncpy(char *dest, const char *src, size_t n);
18:06.18tmztdevice.exe crashed an keyled stopped working
18:06.18toastphh: now just take the module.....tar.gz  and put it on the root of my card?
18:06.18mdrobnakWait.
18:06.20mdrobnakIt's dest first?!
18:06.23phhtoast: yes
18:06.26tpruvotyes
18:06.29phhmdrobnak: yes.
18:06.38mdrobnakI swear ...
18:06.41phhlol
18:06.45tpruvot=p
18:06.47toasttmzt: crypyo thing?
18:06.56tpruvothttp://linux.die.net/man/3/strcpy
18:07.00tpruvotfor next ones ;)
18:07.12tpruvoti like the name of this site
18:07.14mdrobnakUgh. Let me try that again then.
18:07.32phhtpruvot: i prefer man:strcpy in my konqueror :p
18:07.45tpruvotwhat i typed in chrome ;)
18:08.12phhman:strcpy doesn't need an internet connection :p
18:08.37tpruvotto paste its faster
18:08.59tpruvotohh
18:09.03tpruvotok i understund...
18:09.10tpruvotbut i'm cabled like you
18:09.17tpruvotlinked
18:09.25*** join/#htc-linux makikvues (n=a@makikvues.sh.cvut.cz)
18:09.31makikvueshello
18:09.39mdrobnaktpruvot, Thanks! That helped a lot. Still not right, but MUCH better.
18:09.47toastok im out will be back with the result. need to use windows. putting things on my internal storage from linux crupts my partition sometimes
18:09.49mdrobnakI swear I read it as src,dst last night..
18:10.05phhtoast: use Fur ?
18:10.06makikvuescan somebody help me with haret?
18:10.20phhmakikvues: ?
18:10.27makikvueshi phh
18:10.29tmztor synce-pcp
18:10.43kam187u guys seem cr2?
18:10.50tpruvotcant get it to work, the synce
18:10.53phh~seen cr2
18:10.55aptcr2 <n=cr2@ip-109-84-116-36.web.vodafone.de> was last seen on IRC in channel #htc-linux, 18h 3m 35s ago, saying: 'ok'.
18:10.56tpruvotand now ive problems with adb
18:11.12phhmakikvues: why PM ... ?
18:11.16toasti do use synce but still get issues every now and themn
18:12.04*** join/#htc-linux itchy8me (n=itchy8me@ip80-116-211-87.adsl2.static.versatel.nl)
18:12.07toastidk... will bbe back
18:12.15makikvuesi think it would be better but i can write here if you want
18:12.44kam187phh: thanks
18:12.50kam187so does anyone know how to disable the MPU on 7200A?
18:12.56tmztwhat's the issue
18:13.01phhkam187: read datasheet !
18:13.02tmztkam187: never found it?
18:13.16kam187its for the 7200, u think its the same?
18:13.19phhyes
18:13.30kam187ok
18:13.46kam187so its bit 0 of MPU register 0
18:13.49phh<PROTECTED>
18:13.59phhthat's maybe what you're looking for
18:14.08kam187:)
18:14.27phhmakikvues: i don't get why you want to PM ...
18:14.39phhif i go or can't answer you'll have to copy paste everything back to someone else
18:14.48makikvuesok
18:14.54phhkam187: #define MSM_AXIGS_PHYS         0xA8250000
18:15.21kam187cool
18:15.35phhdoes that match the datasheet ?
18:15.45makikvuesso i don't know if haret produces right output
18:15.51mdrobnakOk guys, I think I've narrowed it down a bit: http://pastebin.com/d3b9eeee5
18:16.01phhmakikvues: what do you mean with "right" ?
18:16.09kam187phh: hmm i dont see an address for the register in the datasheet
18:16.11makikvuesit would be better if i show you output from haret and then ask about it
18:16.23tmztsearch for 'the mpu can be easily disabled'
18:16.36tmztin logs
18:16.39kam187ok
18:16.57makikvueswhen i type: watch gpios 1, output is something like that:
18:17.14kam18719:16 tmzt search for 'the mpu can be easily disabled'
18:17.15kam187hahaha
18:17.15makikvuesHaRET(2)# watch gpios 1
18:17.16makikvuesBeginning memory tracing.
18:17.16makikvuesWatching GPIOS(00): Addr a9300000(@40e00000)
18:17.16makikvues...
18:17.23makikvuesWatching GPIOS(15): Addr a9300070(@40e00070)
18:17.30makikvuesonly to GPIOS(15) ...
18:17.37tmztuse pastebin.com
18:18.04tmztyou should also use haretconsole
18:18.06makikvuesis this right?
18:18.09phhmakikvues: 15 gpio banks seems fair.
18:18.25phhmdrobnak: RSSI are ints, why do you want to strcpy it ?
18:18.33makikvuesisn't it to few?
18:18.45makikvuesor i don't understand this?
18:18.46tpruvotitoa
18:19.00phhmakikvues: it's gpio *banks*, you can set at most 255 GPIOs per bank
18:19.07mdrobnakphh: That could be a problem.
18:19.15mdrobnakphh: Not sure what I was thinking.
18:19.16phhso you can have up to 4080 gpios
18:19.18phhwhich seems fair
18:19.20tmztmakikvues: use haretconsole
18:19.25makikvuesok thanks, and so how can i watch gpio changes?
18:19.34tpruvotyep
18:19.43tpruvothttp://www.handhelds.org/moin/moin.cgi/HaRET_20Documentation
18:19.48phhmakikvues: the second argument of watch is the time to watch.
18:19.48makikvuesi have read the documentation but its not clear for me
18:19.49mdrobnakphh: Just p_cellIds[i].rssi = RSSI[i][0]; should do it, right?
18:20.02tmztwhat?
18:20.03phhmdrobnak: i assume so
18:20.05makikvuesyes..
18:20.10tmztif it's already an int
18:20.28mdrobnakphh: No more warnrings from my function, thanks :)
18:21.04mdrobnakNo crash! :-)
18:21.04*** join/#htc-linux timebomb (n=tb@e177139237.adsl.alicedsl.de)
18:21.11makikvuesand what's the difference between commands WATCH GPIOS x  and  WGPIO x ?
18:21.19phhmakikvues: aliases.
18:21.27phhyou know devs are lazy sometimes :p
18:21.34makikvuesso no difference
18:21.38makikvuesok
18:22.00makikvuesand now, how can i watch those max 255 GPIOS?
18:22.19makikvueswhen i typed watch gpios 1
18:22.37makikvuesonly 2-3 gpios changed during 1 sec
18:22.37phhit does by default.
18:22.46phhthat seems fair
18:22.55phhwhy would you want more gpio changes ?
18:23.00tpruvotargh first git push has locked :///
18:23.02makikvueshmm
18:23.09phhtpruvot: linuxtogo ?
18:23.13tpruvotyep
18:23.21phhtpruvot: yeah broken for 2 weeks now.
18:23.22tpruvotfirst on ltg
18:23.26makikvuesso it seems i don't understand this
18:23.38tpruvothow can dzo be able to push ?
18:23.39makikvueshow can i for example get GPIO to usb pullup?
18:24.04phhmakikvues: for instance on diam the only GPIO which is constantly called is vsync
18:24.09phhothers are asynchronous events
18:24.31phhtpruvot: he pushed recently ?
18:24.38tpruvot4 days ago
18:24.43phhstrange
18:24.47tpruvotand gave me access this morning
18:24.50makikvueshmm ok
18:24.56tpruvotalso ive this problem : Could not chdir to home directory /var/lib/gforge/chroot/home/users/tpruvot
18:24.57makikvuesand another problem
18:25.07*** join/#htc-linux ppman (n=mkern@pool-71-250-10-22.nwrknj.east.verizon.net)
18:25.08phhtpruvot: that's not a problem
18:25.14tpruvotok
18:25.20ppman~seen mdrobnak
18:25.21aptmdrobnak is currently on #htc-linux (2d 20h 11m). Has said a total of 256 messages. Is idling for 4m 17s, last said: 'No crash! :-)'.
18:25.33tpruvotnext time i'll diff before pushing
18:25.35makikvuesi tried to ibit gpios 1; and the output from watch gpios 1 was the same as without ibit gpios 1
18:25.40mdrobnakppman: Right here lol
18:25.46makikvuesis this ok?
18:25.55ppmanfigured from the <5m idle
18:25.55phhmakikvues: depends if gpio1 changes or not ...
18:26.15tpruvotwhen i ssh to linuxtogo... i dont have "echo"
18:26.21tpruvotwhatever i type
18:26.31tpruvotCtrl+C also
18:26.43phhtpruvot: it isn't meant to give remote shell anyway
18:27.00tpruvotbut i'm locked ;)
18:27.17*** join/#htc-linux ToAsT (n=Administ@115-106.96-97.tampabay.res.rr.com)
18:27.22makikvuesthe command ibit gpios x isn't for "masking" gpios?
18:27.34phhmakikvues: it disables polling for gpio X
18:27.46ToAsTok... still unable to scan
18:27.52phhToAsT: dmesg ?
18:27.59phhToAsT: you have a calibration file ?
18:28.11tpruvotok, kill works: p
18:28.36tmztmakikvues: are you using haretconsole?
18:28.55ToAsTi got one that was posted on the thread at xda. but no i still havent been able to generate one myself
18:29.11phhToAsT: as long as you've got one something should happen anyway
18:29.13phhso dmesg !:p
18:29.13makikvuesno
18:29.22makikvuestmzt: no
18:29.27phhdmesg -s 1000000 -c
18:30.22ToAsTtrout wifi reset 0
18:30.37ToAsTthen trout wifireset1
18:30.55phhyeah don't care about that
18:31.05phhhu wait
18:31.12phhmmm
18:31.15phhwell might work anyway
18:31.17phhgive full dmesg
18:32.00kam187phh: where is writel defined?
18:32.07phhdon't know
18:32.11kam187ok :)
18:32.30phhanyway it's easy to do with haret
18:32.51makikvuestmzt: is there any difference between using haretconsole and not using it?
18:33.04phhmakikvues: haretconsole's output is more readable
18:33.31tpruvotwhat is the linuxtogo .git/config url ?
18:33.48tpruvotmaybe the fetch and push are not same
18:34.13tpruvoti used ssh://tpruvot@git.linuxtogo.org...../kernel.git
18:34.32makikvuesi have some other question
18:34.39ToAsTphh: what am i looking for?
18:34.47phhToAsT: why don't you just paste it ?
18:34.55makikvuescommand wgpio 5 produces something like:
18:35.11makikvuesGPLR[76] changed to 1
18:35.16makikvuesGPLR[28] changed to 0
18:35.30ToAsTcuz its on the phone. i cant get it to work with telnet or haretconsole
18:35.53makikvuesso the output is different from watch gpios x
18:36.04phhToAsT: dmesg -s 1000000 > /sdcard/dmesg
18:36.10ToAsTthe print out always ends at go go go
18:36.24makikvuesdoes that mean that these are different commands?
18:36.28phhreboot into wimo and copy \Internal storage\dmesg somewhere else
18:36.39makikvueswhen you said, wgpio is just alias..
18:36.55phhmakikvues: "wgpio" doesn't reset phone state
18:37.01tmztmakikvues: it won
18:37.03phhwhen you type it, the phone state changed, so did gpios
18:37.26tmztmakikvues: it won't decode the gpios without haretconsole
18:37.37makikvuestmzt: ok thanks
18:37.38tmztwhich is at handhelds.org/~loconnor
18:37.44tmztwhich is at handhelds.org/~koconnor
18:37.45makikvuestmzt: i'll give it another try
18:38.30ToAsTit sux i cant input numbers into the android shell. lol err
18:38.30makikvuesdo i need haret-w when i'm running hp ipaq 614 - pxa 270 ?
18:38.35tmztwhat device?
18:38.40tmztno
18:38.45tmztjust samsung
18:39.23tmztwell for dumping certain registers you do
18:39.23phhToAsT: forget the -s 10000000 then
18:39.34tmztsorry, that was gnuharet for samsung
18:39.56ToAsTphh: i gotta telnet into this damn thing
18:40.02phhToAsT: adb doesn't work ?
18:40.23ToAsTno it never finds the device
18:40.43makikvuestmzt: ok thanks
18:41.53ToAsTis the initrd set up to use usbnet so i can telnet in?
18:42.02phhToAsT: no
18:43.15tpruvotjust type telnetd in the Terminal
18:43.33ToAsTif using adb is there some sort of driver needed to do it in linux
18:43.42phhno
18:43.47tpruvotand connect to your wifi ip
18:43.49phhjust run adb as root
18:44.00phhtpruvot: he is trying to get wifi up you know ?
18:44.05tpruvot:p
18:44.06tpruvotno
18:44.07ToAsTtried
18:44.11tmztno driver
18:44.21tmztit's libusb
18:44.34tpruvot# ifconfig lo up
18:44.34tpruvot# ifconfig usb0 192.168.10.1 netmask 255.255.255.0 up
18:44.34tpruvot# route add default gw 192.168.10.100 usb0
18:44.34tpruvot# telnetd -l /bin/sh
18:45.15tpruvotbut need to set your host usb address
18:45.24phhand it needs board-htcdiamond.adb=0
18:47.43tpruvotok http://epsy.ath.cx/lxr/source/ just finished :p
18:49.28tpruvotwas looking for that :)
18:49.28tpruvotno more "find -L -H . -printf "\"%p\"\n" -type f 2>/dev/null | grep -v "\.svn/" | xargs grep -insI <what i want>"
18:49.42*** part/#htc-linux FR^2 (i=frr@frquadrat.de)
18:49.47kam187phh: it crashes
18:49.51kam187even if i set MPU to 1
18:50.01*** join/#htc-linux cr2 (n=cr2@ip-109-85-35-241.web.vodafone.de)
18:50.05kam187cr2!
18:50.08kam187just the man
18:50.09phhkam187: if it's protected it's because AMSS use it ...
18:50.40kam187cr2: sorry had to run yesterday.. here's the AMSS for the samsung http://www.megaupload.com/?d=6U49FWZ0
18:51.17mdrobnakthinks his code is crap.
18:51.28phhmdrobnak: who cares ? :p
18:51.36phhpeople look at code only when it doesn't work
18:52.20ToAsTsorry
18:52.34mdrobnakphh: LOL
18:52.45kam187cr2: i also tried adding 8mb of SMI64 to the linux memory, but it just crashes
18:53.47*** join/#htc-linux drakaz (n=drakaz@chi35-1-88-164-160-98.fbx.proxad.net)
18:53.52ToAsTok back into linux
18:54.24kam187and i tried to disable the MPU, but that also crashes.  In fact even writing it back as 1 (enabled) crashes
18:55.26cr2amss: ELF 32-bit LSB executable, ARM, version 1, statically linked, corrupted section header size
18:55.30cr2hm.
18:55.35tpruvotok, updated http://github.com/tpruvot/android-initrd
18:55.45tpruvotwith good ramzswap module...
18:55.46kam187its the AMSS file from the firmware
18:55.49tpruvottx phh ;)
18:55.50kam187so it probably has a container
18:55.59cr2objdump -p amss
18:56.15cr2looks good to me
18:56.24kam187cool
18:56.36phhtpruvot: hu? why ?
18:56.45tpruvotyour build script ;)
18:56.53phhoh
18:56.54tpruvoti had version 0.6.0
18:56.59kam187right at the end i see 00006E01
18:57.04tpruvotwhich is no more compatible
18:57.05cr2paddr 0x17a6a000 memsz 0x00001000
18:57.13kam187so i assume its loaded to 0x016e0000
18:57.17kam187oh
18:57.20cr2<PROTECTED>
18:57.49cr2paddr 0x00a24000  memsz 0x00006000 flags rw-
18:58.12cr2<PROTECTED>
18:58.27kam187so it is in upper EBI then :)
18:58.34cr2<PROTECTED>
18:58.35*** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be)
18:58.49cr2looks very similar to raph/diam et al
18:59.05*** join/#htc-linux toast (n=quassel@115-106.96-97.tampabay.res.rr.com)
18:59.09cr2http://htc-linux.org/wiki/index.php?title=RaphaelMemoryMap
18:59.18kam187yeah i was looking at that
19:01.06kam187so isnt there a huge part of the lower SMI64 bank thats unused?
19:02.13cr2paddr 0x00b01000 memsz 0x01212bcc flags rwx
19:02.39cr211+18~=31
19:02.55kam187oh so its full
19:02.58cr2then 31-32 smem
19:03.03MadEchidnahey guys
19:03.11*** join/#htc-linux gazab (n=gazab@c-2d85e555.04-117-6c6b7013.cust.bredbandsbolaget.se)
19:03.17MadEchidnado the HTC headphone adapters generally work on Android
19:03.20cr2the 9th is probably  oemsbl
19:03.24MadEchidnaI might get one for my Kaiser
19:03.34cr2kam187: do you have /dev/mem ?
19:03.37kam187yeah
19:03.45cr2does it work ?
19:03.55kam187it only reads upper 32mb of SMI and EBI allocated to android
19:04.06kam187so nothing over the 109mb or lower SMI
19:04.14tpruvotmaybe for firmware update
19:04.34kam187# devmem 0x02000000
19:04.34kam187devmem 0x02000000
19:04.34kam1870xFFFFFFFF
19:04.34kam187# devmem 0x01E00000
19:04.34kam187devmem 0x01E00000
19:04.35kam187[1]   Bus error               devmem 0x01E00000
19:04.37kam187# devmem 0x16d00000
19:04.39kam187devmem 0x16d00000
19:04.41kam187[1]   Bus error               devmem 0x16d00000
19:04.54cr2ok
19:05.32cr2kam187: is the smem dumpable ?
19:05.50kam187devmem 0x01F00000
19:05.50kam1870x00000000
19:05.51kam187yep
19:05.56toastok i have it set up to where my diamond is on eth1 with an ip. is this gonna work for telnet or adb
19:06.02cr2do you have gps ? :)
19:06.16kam187u mean GPS receiver in the phone? yeah?
19:06.19kam187*yeah
19:06.50cr2kam187: does dd work on /dev/mem ?
19:07.00kam187i tried it and it didnt
19:07.02kam187maybe i got it wrong
19:07.38toastphh: are u able to telnet or use adb?
19:07.46kam187dd if=/dev/mem of=/sdcard/mem.bin bs=1024
19:07.48kam187like that?
19:08.12cr2dd if=/dev/mem of=junk bs=4096 skip=$((0x01f00)) count=$((0x100))
19:08.25kam187cool
19:08.50kam187# dd if=/dev/mem of=junk bs=4096 skip=$((0x01f00)) count=$((0x100))
19:08.50kam187dd if=/dev/mem of=junk bs=4096 skip=$((0x01f00)) count=$((0x100))
19:08.50kam1870+0 records in
19:08.50kam1870+0 records out
19:08.50kam1870 bytes transferred in 0.003 secs (0 bytes/sec)
19:08.52kam187:(
19:09.11kam187.. /dev/mem: read error: Bad address
19:09.12toastcan anyone help me with adb?
19:09.46cr2kam187: hm. it's the same problem on all msm kernel
19:09.56kam187ahh
19:10.11toastadb doensnt find my device
19:10.27kam187so if i understand u right, the AMSS decompresses to the top of EBI and also all of the lower 31mb of SMI?
19:10.48cr2but since devmem works, the androids fucked something in the driver
19:11.03kam187yeah looks like it
19:11.10cr2it's not compressed
19:11.28kam187but its only ~18mb, why does it need 31mb of SMI too?
19:11.29cr2the sections are loaded in smi and ebi1
19:11.33tmzttoast: check lsusb
19:11.41kam187two copies?
19:12.05cr2not 31, but 21(+1)
19:12.20toastBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
19:12.20toastBus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
19:12.20toastBus 002 Device 004: ID 0bb4:0b2e High Tech Computer Corp.
19:12.20toastBus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
19:12.23cr2why two copies ? just different elf sections
19:12.58kam187yeah thats what i thought.. but if the AMSS is only about 18mb, why does it use 18mb of EBI1, and then ~20mb of SMI ?
19:13.02cr2if the virtual memory is fragmented ,you don't talk about 10 program copies.
19:13.25cr2.data , .bss , whatever
19:13.41toasttmzt: is this my diamond? Bus 002 Device 004: ID 0bb4:0b2e High Tech Computer Corp.
19:14.11cr2toast: looks like /dev/ttyUSB0
19:14.19mdrobnakGoogle thinks I'm in Boston. Not quite right :-(
19:14.25*** join/#htc-linux gnutoo_ (n=gnutoo@host187-147-dynamic.44-79-r.retail.telecomitalia.it)
19:14.25tmztthat's probably wm
19:14.35tmztyou need to unplug and replug
19:14.57cr2mdrobnak: your last NAT probably
19:15.05toastim havent booted haret yet
19:15.15kam187paddr 0x17a6a000  memsz 0x00001000  4k
19:15.15kam187paddr 0x00a00000  memsz 0x00020ea0  ~131k
19:15.15kam187paddr 0x00a24000  memsz 0x00006000  24k flags rw-
19:15.15kam187paddr 0x16d00000  memsz 0x00d45000  13.2Mb  flags rwx
19:15.15kam187paddr 0x17a45000  memsz 0x00024068  144k flags rw- 1600000
19:15.15kam187paddr 0x00b01000  memsz 0x01212bcc  18mb flags rwx
19:15.21mdrobnakcr2: No, in WinMo it actually figures out where I am using just network
19:15.34cr2mdrobnak: googel is evil
19:15.39mdrobnakcr2: My location code sorta works, but it's messy as hell.
19:15.46kam187so its using 13mb EBI1 + 18mb SMI64
19:16.23cr2kam187: so what. it needs some ram for MDSP, and so on.
19:16.49tmztlocation?
19:16.58kam187ok, so 13mb in EBI + 5mb ram it needs, so it takes 18mb there
19:17.09kam187and i guess in SMI there is the bootloader which is about 10mb right?
19:17.19cr2kam187: raph/diam also uses 13MB in EBI1. rhod/topa even more
19:18.02kam187ok, so we can say the 18mb EBI it uses is not reclaimable
19:18.05toast<PROTECTED>
19:18.12phhtoast: depends on the board-htcdiamond.adb flag but yes i can do both
19:18.18cr2kam187: bootloader is irrelevant. the oemsbl takes 1 MB, the rest is APPSBL (maybe) and GPU0
19:18.29cr2some weird android 3D ram
19:18.38kam187hmm, but GPU0 is in stacked memory?
19:18.38cr2aka pmem
19:18.50cr2look at the kernel source
19:18.56cr2on g1 it is
19:19.03toastphh: so i need go and check that value?!
19:19.05kam187yeah, i can see there is stacked SMI with GPU0
19:19.09phhtoast: you can set it.
19:19.18*** join/#htc-linux chab7 (n=chab7@fibhost-67-206-132.fibernet.hu)
19:19.39mdrobnakIf anyone could help with getting the location stuff working, that would be great : http://www.drobnak.com/ril-with-location.c
19:19.39kam187then MDP, ADSP, CAMERA is in upper SMI64
19:19.52cr2looks like diam100
19:19.56kam187and GPU1 and FB is allocated by the kernel inside the 109mb available to android
19:20.27cr2mdrobnak: can we patch raph100 with your 115MB layout ?
19:20.37mdrobnakcr2: I think so.
19:20.48toastphh: confused?!?! do i need to add it to the startup txt
19:20.51mdrobnakI put up a patch on my site for dzo the other day to commit.
19:20.56phhtoast: to cmdline yes
19:21.12cr2kam187: GPU0 in lower SMI is something that amss is expecting. because there is a pmem RPC
19:21.29mdrobnakcr2: Oops. Didn't make a patch. One sec.
19:21.33kam187ok so there isnt anything we can do about that
19:21.39cr2horrible undocumented mess, if you ask me ;)
19:21.55kam187we could try to get about 2mb from lower SMI64 but its probably not worth the mess :p
19:22.01cr2kam187: unless you give up in pmem
19:22.14cr2but then you can say adnroid goodbye :)
19:22.20kam187hehe
19:22.28kam187ok so we have another problem :p
19:22.44kam187We moved FB to upper SMI64 to save 1mb
19:22.47kam187works fine
19:22.57cr2yes, it's not a problem
19:23.01kam187then we moved GPU1 to upper SMI64 too
19:23.11kam187its ok, but the driver seems to expect it to be in EBI
19:23.20cr2ok
19:23.27kam187its looking in EBI and not SMI so 3D crashes :(
19:23.33phhkam187: so it's not ok ...
19:23.47toastphh: ok added this board-htcdiamond.adb
19:23.59kam187D/EGL.oem ( 1497): SMI  region at virtual=0x45cf0000, physical=0x100000, size=8388608 offset=0
19:23.59kam187D/EGL.oem ( 1497): EBI1 region at virtual=0x464f0000, physical=0x3800000, size=8388608 offset=3072000 <- search a memory space in EBI, but memory place is in SMI. I think it's hardcoded in the drivers, so, it can't use memory space out from EBI for GPU1, even if it can for GPU0.
19:23.59kam187D/EGL.oem ( 1497): REGS region at virtual=0x45bf0000, physical=0xa0000000, size=1048576, offset=0
19:24.05toastphh: is that correct
19:24.11cr2phh: do you boot with the patched clocks ?
19:24.16phhcr2: no
19:24.29*** join/#htc-linux chab7 (n=chab7@fibhost-67-206-132.fibernet.hu)
19:24.44cr2phh: it crashes ?
19:24.50phhthat was my bad
19:24.52phhlet me try it again
19:24.54mdrobnakcr2: http://www.drobnak.com/raph-115mb-pmem-debug.patch
19:24.55cr2ok
19:25.34kam187how do u get 115mb in raph? :p
19:25.43phhread the patch.
19:26.04GNUtoohi http://pastebin.com/m71b2f161 bypasses the waiting mplayer ioctl...what do you think of it?
19:26.09GNUtoostill not working
19:26.12GNUtoobut still....
19:26.14cr2kam187: you can have up to 0x16d
19:26.17mdrobnakarrh. wait one sec
19:26.31phhkam187: EBI2.
19:26.37kam187ahh, but we can't because the AMSS is loaded there :(
19:26.58phhkam187: hu ? AMSS takes the whole EBI2 ?
19:27.09toastphh: idk but that didnt work
19:27.11cr2phh: ebi2 is nand
19:27.14kam187we only have 128mb in our phone, only EBI1
19:27.22phhcr2: hu ?
19:27.28kam187oh yeah EBI2 is slow interface isnt it
19:27.30phhthen why is there 2 banks ?
19:27.42phhoh it's commented
19:27.43cr2both ebi1
19:27.53phhok
19:27.56mdrobnakOk, the right patch is there now.
19:27.57cr2just discontiguous
19:28.44cr2mdrobnak: the smi size and such things may be stored in nand
19:29.14cr2like gsensor calibration, ts calibration, wifi eeprom, ...
19:29.56mdrobnakcr2: True, they "parse engineering tags" to figure out such things in other ROMs.
19:30.09mdrobnakcr2: I guess Samsung might just do things differently.
19:30.12cr2mdrobnak: maybe replace 115 with 128-EBI1_LOCKED ?
19:31.14cr2mdrobnak: engineering tags are in nand anyway
19:31.14mdrobnakAnyway, gotta run for now. Back later. Hopefully someone can help me clean up my horrible C and loops./
19:31.39toastphh: yeah adb not workin for me
19:31.54phhtoast: what does dmesg on host says ?
19:32.08phhusb 2-1: new high speed USB device using ehci_hcd and address 70
19:32.08phhusb 2-1: New USB device found, idVendor=0bb4, idProduct=0c02
19:32.08phhusb 2-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
19:32.08phhusb 2-1: Product: MSM USB
19:32.08phhusb 2-1: Manufacturer: HTC
19:32.08cr2this stupid ATAG mumbo-jumbo is simply ridiculous
19:32.10phhusb 2-1: configuration #1 chosen from 1 choice
19:32.16phhis there something like that ?
19:33.04kam187cr2: thanks for the help :)  We're gonna try to patch the driver so we can shift GPU1
19:33.55toast[  349.847726] usbcore: registered new interface driver rndis_host
19:33.55toast[  349.867179] usbcore: registered new interface driver rndis_wlan
19:33.55toast[  360.852055] eth1: no IPv6 routers present
19:33.55toast[ 1211.274975] usb 2-1: USB disconnect, address 4
19:33.55toast[ 1211.279708] eth1: unregister 'rndis_host' usb-0000:00:13.0-1, RNDIS device
19:33.57toast[ 1216.632046] usb 1-1: new high speed USB device using ehci_hcd and address 18
19:33.59toast[ 1216.744286] usb 1-1: device descriptor read/64, error -71
19:34.01toast[ 1216.960080] usb 1-1: device descriptor read/64, error -71
19:34.03toast[ 1217.176076] usb 1-1: new high speed USB device using ehci_hcd and address 19
19:34.05toast[ 1217.288117] usb 1-1: device descriptor read/64, error -71
19:34.08toast[ 1217.504083] usb 1-1: device descriptor read/64, error -71
19:34.10toast[ 1217.720075] usb 1-1: new high speed USB device using ehci_hcd and address 20
19:34.12toast[ 1218.128095] usb 1-1: device not accepting address 20, error -71
19:34.14toast[ 1218.240070] usb 1-1: new high speed USB device using ehci_hcd and address 21
19:34.16toast[ 1218.648082] usb 1-1: device not accepting address 21, error -71
19:34.19toast[ 1218.648128] hub 1-0:1.0: unable to enumerate USB device on port 1
19:34.21toast[ 1219.020587] usb 2-1: new full speed USB device using ohci_hcd and address 5
19:34.23toast[ 1219.220550] usb 2-1: not running at top speed; connect to a high speed hub
19:34.25toast[ 1219.275846] usb 2-1: configuration #1 chosen from 1 choice
19:34.28toast[ 1219.394551] rndis_host 2-1:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
19:34.30toast[ 1219.418448] eth1: register 'rndis_host' at usb-0000:00:13.0-1, RNDIS device, 80:00:60:0f:e8:00
19:34.32toast[ 1223.426605] plasma[3793]: segfault at 7fba0000003e ip 00007fba57e09570 sp 00007fff7d16f218 error 4 in plasma_applet_networkmanagement.so[7fba57df0000+4b000]
19:34.34toast[ 1229.592065] eth1: no IPv6 routers present
19:34.36toast[ 1564.375976] usb 2-1: USB disconnect, address 5
19:34.39toast[ 1564.380736] eth1: unregister 'rndis_host' usb-0000:00:13.0-1, RNDIS device
19:34.39phh...
19:34.55toastphh: ?
19:35.06phhthat's "a bit" long.
19:35.19toastsorry
19:36.31toastphh: my phone is accually in android right now
19:37.16phhcr2: 460800 no longer works ...
19:37.32phhno improvements for 4M or 920600
19:37.32tmztin MFG?
19:37.56cr2phh: but 115200 work ?
19:38.06phhyes
19:38.06toastphh: i select active sync mode on my phone when it hooks up usb
19:38.13tmzttoast: your kde doesn't seem to be compatible with multiple interfaces
19:38.15cr2phh: impossible :)
19:38.33phhcr2: 460800 clock hasn't been changed ?
19:38.37tmztcr2: smi size is in MFG?
19:38.47phherf it's the same as 115200
19:38.49cr2phh: 115200 is using 460800 clock
19:38.56toasttmzt: yeah it crashed kdm
19:38.56tmztmust be as it's on cmdline for magic
19:38.59phhooohhh
19:39.01toastkde
19:39.02phhwrong hciattach :D
19:39.06cr2lol
19:39.42phhok 460800 works :)
19:39.50cr2921600 ?
19:40.14phhseems to work :)
19:40.22cr24mbit ? :)
19:40.37phhcr2: nice work :-)
19:40.50cr2it was buggy hciattach then :(
19:40.55phhmost likely yes
19:40.58phhlife sucks.
19:41.04phhandroid sucks
19:41.05cr2np
19:41.20cr2btw, fm
19:41.26toasttmzt: is kde the problem?
19:41.38phhcr2: you have some script to test ? :)
19:41.38cr2there is no subversion registry tag
19:41.48phhso it's a hci command
19:42.08cr2version=2 means "load FM_on_2_1.bts"
19:42.13cr2version=1 means "load FM_on_2_0.bts"
19:42.28cr2everything else is a bug, no .bts is loaded
19:43.27phhso it's in registry ?
19:44.03phhbut what happens when we hard reset ?
19:44.07cr2yes
19:44.57*** join/#htc-linux Dunedan (n=dunedan@phoenitydawn.de)
19:46.18*** join/#htc-linux alphaone_ (n=alphaone@2001:638:602:af01:0:0:0:1)
19:46.19*** join/#htc-linux polyrhythmic (n=charles@c-67-171-16-39.hsd1.wa.comcast.net)
19:46.19*** join/#htc-linux astrolite (n=astrolit@85.228.201.215)
19:46.30*** join/#htc-linux Stskeeps (n=chobits@84.238.10.195)
19:46.30*** join/#htc-linux dilinger (n=dilinger@LUNGE.MIT.EDU)
19:46.31*** join/#htc-linux chemical_at_work (n=chemical@217.6.162.228)
19:46.35*** join/#htc-linux drakaz (n=drakaz@88.164.160.98)
19:46.35*** join/#htc-linux docc (n=docc@88.198.83.83)
19:46.38phhwhat's happening ?!?
19:46.39*** join/#htc-linux cr2 (n=cr2@ip-109-85-35-241.web.vodafone.de)
19:46.39*** join/#htc-linux Bry8Star_ (n=Bry8Star@99.40.118.13)
19:46.40cr2wtf ?
19:46.40*** join/#htc-linux darkstar62 (n=ndarksta@97.126.104.157)
19:46.40*** join/#htc-linux NexVision (n=a@76.109.33.88)
19:46.40*** join/#htc-linux Doikor (n=aki@192.58.52.211)
19:46.42*** join/#htc-linux chab7 (n=chab7@85.67.206.132)
19:47.03*** join/#htc-linux Mooby (n=blindaue@130.79.80.98)
19:47.04*** join/#htc-linux AstainZZZZZZ (n=AstainHe@174.23.35.109)
19:47.04*** join/#htc-linux DJWillis (i=djwillis@82.46.19.72)
19:47.04mdrobnakah the joys of irc
19:47.04*** join/#htc-linux dzo (n=dzo@mail.marginz.co.nz)
19:47.04*** join/#htc-linux Moobyfr (n=blindaue@ns2.agat.net)
19:47.05cr2lol
19:47.05*** join/#htc-linux Adrian^L_ (i=adrian@216.66.24.2)
19:47.06*** join/#htc-linux Foxdie (n=foxdie@82.70.173.2)
19:47.06toastcrazy
19:47.07phhdon't know
19:47.07*** join/#htc-linux Funklord (n=cow@213.113.213.225)
19:47.07*** join/#htc-linux ali1234 (n=al@robotfuzz.co.uk)
19:47.08*** join/#htc-linux Battousai (n=bryan@maduin.southcape.org)
19:47.08*** join/#htc-linux drakaz (n=drakaz@chi35-1-88-164-160-98.fbx.proxad.net)
19:47.09*** join/#htc-linux bartman (n=bart@216.239.93.128)
19:47.10*** join/#htc-linux alphaone (n=alphaone@2001:638:602:af01:0:0:0:1)
19:47.11tmzttoast: maybe, but just disable nm
19:47.12*** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
19:47.12cr2phh: so you need to load _2_1.bts
19:47.12toasttmzt: nm?!
19:47.15*** join/#htc-linux ChanServ (ChanServ@services.)
19:47.15*** mode/#htc-linux [+o ChanServ] by irc.freenode.net
19:47.15*** join/#htc-linux ChanServ (ChanServ@services.)
19:47.15*** mode/#htc-linux [+o ChanServ] by irc.freenode.net
19:47.17phhcr2: what about FMInit ?
19:47.17phhand TIInit ?
19:47.17*** join/#htc-linux miknix (n=miknix@81.193.85.131)
19:47.17cr2phh: Fminit is not used
19:47.17phhstrange
19:47.17cr2FM_on.bts
19:47.18cr2but we don't have it
19:47.18toastduh nework manager sorry
19:47.37cr2TIInit has switch to 4Mbit as the first command
19:48.02cr2but if you will extract the rest, you can create a big hcitool shell script
19:48.14flybackYOUR ATTENTION PLEASE, freenode is *CANUCKED* k thx bye!
19:48.26*** join/#htc-linux leaigor (n=laigor@188.134.16.241)
19:48.47*** join/#htc-linux Dunedan (n=dunedan@phoenitydawn.de)
19:48.55*** join/#htc-linux Stskeepz (n=chobits@pc-10-195.skjoldhoej.dk)
19:49.00*** join/#htc-linux polyrhythmic (n=charles@c-67-171-16-39.hsd1.wa.comcast.net)
19:49.00*** join/#htc-linux astrolite (n=astrolit@c-d7c9e455.023-352-6c6b701.cust.bredbandsbolaget.se)
19:49.03*** join/#htc-linux dilinger (n=dilinger@LUNGE.MIT.EDU)
19:49.05*** join/#htc-linux chemical_at_work (n=chemical@217.6.162.228)
19:49.08*** join/#htc-linux docc (n=docc@static.88-198-83-83.clients.your-server.de)
19:49.38cr2kam187: i'd really like to see the smem dump after gps start
19:50.15phhhcitool cmd 0x3f 0x23a 0xfe 0x00
19:50.15phh#ACTION_WAIT_EVENT  : 5000 msec, 9 size, data = 0x04 0x0e 0x06 0x00 0x3a 0xfe 0x00 0x00 0x00
19:50.21phhhcitool cmd 0x3f 0x23a 0xfe 0x00
19:50.21phh< HCI Command: ogf 0x3f, ocf 0x023a, plen 2
19:50.21phh<PROTECTED>
19:50.21phh> HCI Event: 0x0e plen 6
19:50.23phh<PROTECTED>
19:50.24cr2phh: there are some interrupt driven things though. i think rds messages are unsolicited too
19:50.25phhi bet i'm doing it wrong.
19:50.43phhcr2: through HCI ?
19:50.48mdrobnakOk, now I'm outta the house. See yas
19:51.24cr2phh: yes
19:51.29phhok
19:51.30cr2what are you doing wrong ?
19:51.39phhsending FM_on_2_1.bts
19:52.11*** join/#htc-linux Dindon (i=BOHt@193.27.79.0)
19:52.49*** join/#htc-linux ChanServ (ChanServ@services.)
19:52.49*** mode/#htc-linux [+o ChanServ] by irc.freenode.net
19:53.50*** join/#htc-linux bagpuss_thecat (n=bagpuss_@2001:41c8:1:5253:0:0:0:2)
19:54.15phhcr2: what should the first command in fm_on_2_1.bts look like when translated to hcitool ?
19:54.40cr2samsung has patched something in gps ;)
19:54.56phhanything useful for us ?
19:56.01cr2# FM ON
19:56.02cr2# ------------------------------------------------------------------
19:56.04cr2ACTION_SEND_COMMAND: ogf=0x3f ocf=0x137 -> 0x01 0x37 0xfd 0x01 -> payload -> 0x01
19:56.05cr2ACTION_WAIT_EVENT  : 5000 msec, 7 size, data = 0x04 0x0e 0x04 0x00 0x37 0xfd 0x00
19:56.10cr2ACTION_WAIT_EVENT is not needed
19:56.25cr2ACTION_SEND_COMMAND will be
19:56.40cr2hcitool cmd 0x3f 0x137 0x01
19:57.03cr2i may patch the source this way
19:57.36phhi should discard the last byte ?
19:58.43cr2<PROTECTED>
19:59.46cr2HCITOOL: hcitool cmd 0x3f 0x137 0x01
19:59.47cr2HCITOOL: hcitool cmd 0x3f 0x23a
20:00.38phhok that's what i get
20:00.45phhbut i don't get correct wait_events
20:01.10phhmaybe i have to call ti init
20:01.21cr2ok
20:02.40cr2try this one
20:02.42cr2HCITOOL: hcitool cmd 0x3f 0x237 0x03 0x35
20:02.59cr2it's the first commands in TI
20:03.38*** join/#htc-linux toast_ (n=quassel@115-106.96-97.tampabay.res.rr.com)
20:04.19toast_tmzt: nm gone
20:04.32toast_tmzt: now what?
20:06.50toast_tmzt: dmesg looks much cleaner now for sure
20:08.13NexVisioncr2 u got any new images for me to try
20:08.41*** join/#htc-linux rafyvitto (n=rafyvitt@24.54.253.34)
20:08.51rafyvittohello guys
20:09.15cr2NexVision: you have topa or rhod ?
20:09.17rafyvittois there any channel for qsd linux kernel development?
20:09.25NexVisionrhod
20:09.38cr2rafyvitto: @android
20:09.55cr2NexVision: hmm. it's more difficult
20:10.08rafyvittowoot thx, my acer f1 is arriving tomorrow =]
20:10.14phhcr2: i ran TIInit and FM_on, what should i do next ?
20:10.43cr2phh: switch the sound ?
20:10.48*** join/#htc-linux Reactor16 (i=Reactor1@93.182.132.139)
20:10.50phhsure... how ?
20:11.07cr2there were 2 AT commands
20:11.38toast_tmzt: it still doesnt show a device
20:11.53cr2NexVision: do you have disp*dll somewhere around ?
20:11.59phhcr2: which is ... ?
20:12.19cr2phh: can't find the hdd ;)
20:12.25cr2will look directly
20:13.34NexVisioni have disptools.dll
20:13.42cr2AUDIOLOOPBACK, SetAUDIO 3
20:13.43kam187cr2: quick question.  the AMSS uses 13.2mb in upper EBI.  Does that mean the other 5Mb isnt being used?  Because shouldnt it reserve that ram otherwise?
20:13.58kam187Is that how you're 115mb raph patch works? you reclaim that 5mb?
20:14.00phhcr2: hu ? that's an AT command ?
20:14.43cr2kam187: we have amss @0x173*
20:14.55cr2phh: hmm
20:15.00cr2NexVision: dcc ?
20:15.02kam187oh its loaded at 173 default?
20:15.16kam187i assume there's no way to relocate our AMSS?
20:15.27tmztcr2: huh? there are no htc devices with qsd and android
20:15.42tmztcr2: we need haret support anyway
20:16.29kam187oh so another question.  I tried to add 8mb of the SMI64 (upper part) as a second bank using arm_add_memory
20:16.32kam187but the kernel crashes
20:16.48cr2kam187: use fixup, like we do
20:16.48kam187i can read it with devmem so i know its not protected
20:17.10kam187samsung dont have fixup, they use mem=109 to pass the size over :-/
20:17.11cr2tmzt: for what ?
20:17.26tmztfor cortex-a8
20:17.37tmztas well as wm 6.5 maybe
20:17.41cr2tmzt: ok. cpu docs ?
20:17.55tmztfrom arm
20:17.58Reactor16Hi All
20:18.12cr2tmzt: does somebody have such a device ?
20:18.24cr2NexVision: ok
20:18.43tmztrafy is getting one
20:18.54toast_tmzt: can u help me oru to busy
20:19.12tmztwith?
20:19.15cr2phh: check AT smem buffer after starting the fmradio
20:19.23tmztare you using FUNCTION ETHER?
20:19.39tmztplease dmesg -c and plug your device
20:19.47rafyvittoits an acer neotouch s200, i think android might jump start as soon as the acer liquid gets release and studied =]
20:19.57tmztwhat?
20:20.01tmztliquid
20:20.01rafyvittothe acer liquid is the android variant of the acer f1
20:20.07tmztah
20:20.07phhcr2: groumpf
20:20.09kam187cr2: from setup.c i can see it runs fixup (if its present), then parses the bootline which throws away all of meminfo if mem= is present
20:20.32tmztkam187: arm add memory may no longer work after a certain point
20:20.44tmztyou need to study hotplug
20:20.54phhcr2: can't you do that ? :D
20:20.58phhdon't want to reboot
20:21.03kam187oh
20:21.12kam187so should i just make a 'fixup' instead?
20:21.21tmztwe've tried that
20:21.38tmztyou might try chainloader next
20:22.07cr2phh: i need to reconfigure AP for that...
20:22.25cr2phh: usb does not work.
20:22.25tmztlook at the .cmd files in arch/arm/boot
20:22.35phhcr2: give me the command then
20:22.41tmztor arch/arm/boot/compressec
20:22.44kam187cr2: how can i make the upper EBI (AMSS) part visible to devmem?
20:23.06phhcr2: i mean the address of at buffer
20:23.10phhor a way to get it.
20:23.15cr2kam187: no idea
20:23.15toast_[ 1939.754012] usb 2-1: USB disconnect, address 5
20:23.15toast_[ 1939.757773] usb0: unregister 'cdc_subset' usb-0000:00:13.0-1, Linux Device
20:23.23cr2phh: wiki ?
20:23.30kam187cr2: doesnt the MPU protect it from read?
20:23.31phhcr2: it's in memory map ?
20:23.38cr2phh: yes
20:23.54phhok
20:23.55cr2kam187: yes
20:23.59tmztto disable mpu before jumping to kernel
20:24.28kam187but i can't disable it before the kernel, because i have no access to the bootloader :(
20:24.29phhcr2: DS cid=0, ATCMD TX SMD_BASE_ID ?
20:24.35tmztwait
20:24.37kam187I cant disable it _in_ the kernel?
20:24.51cr2kam187: what's the point of destroying amss ??
20:24.52tmztonly in early kernel
20:24.58cr2phh: yes
20:25.02tmztmaybe in fixup
20:25.08*** join/#htc-linux balans (n=barry@53546505.cable.casema.nl)
20:25.19kam187cr2: i dont want to destroy it :)  I want to see if the 5mb after the 13.2mb is usable
20:25.22cr2kam187: disable mem= parsing
20:25.39AstainZZZZZZcr2!
20:25.41kam187cr2: ok so disable mem= and make a fixup?  (for adding SMI bank)
20:25.58cr2kam187: yes.
20:26.04kam187cool will try that
20:26.06phhcr2: i don't understand wiki's table :/
20:26.13cr2kam187: but android may dislike it
20:26.35kam187oh, has it ever been tried before?
20:28.29cr2kam187: android crashes with discontiguous banks on raph100
20:28.36phhcr2: is it 0x01f00000++0x1c210 ?
20:28.54kam187cr2: ohh i see, that may be the problem i'm having :(
20:30.11kam187i tried to disable the MPU in kernel :p and it just crashed.  Won't SMI64 (bottom 31mb) all of a sudden appear at 0x0 and smash everything there :P
20:31.43cr2+0x1c210 means 0x01f00000 + 0x1c210
20:31.56cr2and the first 0x14 bytes are control header
20:32.11phhalright
20:33.17toast_should adb see my phone even when its still in wm?
20:33.18cr2pwf myAT 0x01f1c224 0x2000
20:33.30cr2before and after fm
20:34.21toast_anyone?
20:35.23*** join/#htc-linux stickboy_ (n=anonymou@Bobby-PC.moore.clarkson.edu)
20:36.28phhcr2: don't know if it is of any help, but there are AGPS related AT commands
20:36.54cr2it's the init
20:37.33phh+AT+CFUN?
20:37.33phh+AT+CSMS?;+CPMS?
20:37.33phh+AT+CFUN?
20:37.33phh+AT+CSMS?;+CPMS?
20:37.36phhit's one of those
20:38.06phhcr2: any idea ?
20:38.07*** join/#htc-linux toast_ (n=quassel@115-106.96-97.tampabay.res.rr.com)
20:38.24cr2no
20:38.28cr2not these
20:38.49cr2the audio switch is a WAV1: ioctl, so the code must be in wavedev.dll
20:41.10phhphh @ phh-desktop ~/fur % strings wavedev.dll|grep AT
20:41.10phhphh @ phh-desktop ~/fur %
20:41.11phh..
20:41.15cr2FM_SetAudioPath(2)
20:41.39cr2FM_AUDIO_PATH_EARPHONE
20:41.54cr2FM_SetAudioPath(1)
20:42.54cr2from the log
20:44.38*** join/#htc-linux townkat (n=town@86.127.6.111)
20:46.11*** join/#htc-linux balans (n=barry@53546505.cable.casema.nl)
20:51.01kam187PBUS_BASE = 0xA0E00000
20:51.08kam187Peripheral Bus MPU Registers
20:51.08kam187These registers start at address 0x0040.
20:51.08kam1870x0400 PBUS_MPU_ENABLE
20:51.41kam187does that mean writel(0,0xA0E00000+0x400); to disable MPU?
20:52.07kam187the start at 0x0040 is a bit confusing :p
20:53.25toast_so everyone was killed by a utility bot earlier
20:57.48kam187what MSM is the raphael?
20:58.55phhcr2: i can't get it :(
20:58.55*** join/#htc-linux leaigor (n=laigor@188.134.16.241)
20:59.04kam187MSM7200? not 7200A right?
21:03.32phhcr2: http://forum.xda-developers.com/showthread.php?t=292466 look at AT buffer dump, don't you dream of such an easy  thing ? :)
21:03.41*** join/#htc-linux toast_ (n=quassel@115-106.96-97.tampabay.res.rr.com)
21:04.34*** join/#htc-linux balans (n=barry@53546505.cable.casema.nl)
21:04.59toast_so can someone give me a hand at adb?
21:06.34phhif lsusb doesn't show MSM USB, it's most likely your kernel is way too hold
21:07.41toast_isusb
21:08.35cr2phh: at@startgps crashes arm9 too
21:08.38toast_Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
21:08.38toast_Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
21:08.38toast_Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
21:08.41phhcr2: oO
21:08.52phhcr2: what a stupid ARM9.
21:10.06toast_phh: im guessing it looks that way?
21:10.35phhtoast_: if you have only hubs then it doesn't work.
21:12.36toast_phh: sorry Bus 002 Device 011: ID 0bb4:0b2e High Tech Computer Corp.
21:13.11toast_phh: but nothing about msm usb
21:13.19phhwell htc is ok
21:13.31japanfredcan anyone get the contents of this for me please, http://rs496.rapidshare.com/files/292702787/default.txt
21:14.10toast_do i need to add this to my udev rules?
21:14.21phhtoast_: not if you ran adb as root
21:15.07phhtoast_: when you launched adb as root, you checked that there was no adb daemon running as user right ?
21:15.44toast_what is it killall adb?
21:15.51phhyes
21:16.46toast_if i still gotta type sudo for some commands that means im not root. right?
21:16.57phhsudo is enough
21:17.42toast_so... export PATH=$PATH:~/diamond-dev/android-sdk/tools
21:17.52toast_then adb devices
21:18.07phhsudo adb devices ....
21:18.08*** join/#htc-linux luminoso (n=lumos@av-217-129-139-239.netvisao.pt)
21:20.21toast_phh: sudo: adb comand not found
21:20.34phhsudo -s then export then adb devices
21:21.38phhadb devices should say it needs to start some daemon
21:22.05*** join/#htc-linux mes (n=mes@S0106000c417884fe.cc.shawcable.net)
21:22.20toast_it does the list devices with nothing afterwards
21:23.19phhwith board-htcdiamond.adb=1 ?
21:24.20toast_ok i was in winmo sorry
21:24.29phh.....
21:24.55toast_i know u wanna stab me. sorry
21:25.13cr2phh: ok, so the problem is clear. how to switch audio to fm
21:27.31toast_phh: but yeah.. still nothing
21:27.44toast_maybe its the kernel
21:27.46phhtoast_: lsusb ?
21:28.14toast_Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
21:28.14toast_Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
21:28.14toast_Bus 002 Device 012: ID 0bb4:0c02 High Tech Computer Corp.
21:28.14toast_Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
21:28.43phhdmesg ?
21:28.47phh(and don't flood here again.
21:29.44toast_[ 5743.408109] usb 2-1: new full speed USB device using ohci_hcd and address 12
21:29.44toast_[ 5743.673133] usb 2-1: configuration #1 chosen from 1 choice
21:30.23toast_[ 5743.036162] usb 1-1: device not accepting address 49, error -71
21:30.23toast_[ 5743.036211] hub 1-0:1.0: unable to enumerate USB device on port 1
21:30.40toast_also getting those
21:33.03toast_is there any special place to put board-htcdiamond.adb=1? i put it right after the keyboard toggle, still inside the "
21:33.32toast_could that be the problem?
21:33.44phhthat's okay
21:34.00phhmaybe usb wasn't implemented
21:34.04toast_idk... im stumpt
21:34.31phhread the source.
21:34.39phhanyway you'd better get current branch work
21:35.21toast_im just trying to do something for the diam500 users and myself. yeah guess i can try what tmzt said and start compairing
21:36.03toast_wish more diam500 users would give this a shot
21:36.47toast_thanx anyways, man
21:39.08phhtoast_: use a recent kernel and get messages with ramconsole
21:40.10toast_i never could even find out how to get ramconsole. is that like haretconsole or telnet
21:40.36phhramconsole is just dmesg put somewhere in RAM which can be readen afterwards in haret
21:41.11*** join/#htc-linux x29a (n=x29a@unaffiliated/x29a)
21:41.23toast_and how do i access this
21:41.45toast_just us haret console
21:41.51toast_use
21:42.06toast_?
21:42.41phhin haretconsole type pwf '\Internal Storage\dmesg' 0x8000000 0x8000
21:43.04phh0x00800000
21:43.24*** join/#htc-linux Squarc1 (n=Squarc@82-217-32-29.cable.quicknet.nl)
21:43.24phhand read dmesg in your internal storage.
21:45.12toast_ok i can telnet into haret now and give commands. but once it starts to boot all i get is everything up to go go go. then it just goes blank
21:47.50phh?
21:48.45phhyou do this pwf command *after* linux boot
21:48.55phhyou'll get previous dmesg
21:49.01toast_ok
21:49.05phh"instantly" (the time for pwf to run)
21:49.36toast_i even if i cant get past the splash?
21:49.46phhyes
21:49.52phhwhich splash ?
21:50.00toast_android
21:50.16phhlol that's way enoguh
21:50.25toast_ok
21:50.38phhwhen android's splash shown you even can call adb logcat
21:50.47phhor adb shell dmesg
21:51.30toast_ok
21:52.05*** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)
21:52.24toast_just the latest from glemstorms site will do?
21:52.48phhyes
21:54.54toast_like i said thanx for the help
21:55.26toast_and all uve done
22:02.13toast_phh: ok im using the one that came with the package. im at haret now
22:02.36toast_so boot then run ur command?
22:02.58phhrun the kernel once first yes
22:03.48toast_all the way through and see what it does?
22:04.05phhwait until it freezes/reboot
22:04.53phhsee if adb logcat/shell gives nothing
22:05.13phhand reboot (but keep the battery you need the ram to stay alive)
22:06.17*** join/#htc-linux yoyey (n=yoann@lns-bzn-49f-81-56-185-87.adsl.proxad.net)
22:07.02toast_it froze sayin pc_clk_disable:fixme! disabling a clock
22:07.32phhgives the full dmesg ..
22:07.41toast_yes
22:07.59cr2pdsm_get_pdapi_version
22:08.17toast_doesnt have an ena bit: 24
22:08.58toast_soft reseting now
22:12.49*** join/#htc-linux MethoS- (n=clemens@134.102.106.250)
22:14.45cr2pdsm_get_parameters. oh
22:17.10cr2hm. 89 is batt
22:17.32cr2f2d105fa
22:17.41kam187hmm now i'm really confused
22:17.45cr2i'm wondring how do they create such versions
22:17.54phhcr2: that's a version number ?
22:18.08kam187if GPU1 is allocated by kernel then its value becomes in the range 0xc0000000, which is 'virtual' kernel memory
22:18.29cr2yeah. bizarre
22:18.31toast_phh: now how do i read it? lots of chicken scratch
22:18.47phhtoast_: it is supposed to be almost cleantext
22:18.47kam187if i allocate it to a physical space i get an error from pmem saying it can't find the physical address
22:18.56cr2phh: 612x amss
22:19.04kam187i guess its trying to find the physicall address of 0x0380000
22:19.55toast_phh: it is till it says boot
22:20.11phhtoast_:  ?
22:21.09toast_idk... and i dont wanna post it. its pretty long
22:21.30phhwhy don't post it ... ?
22:22.15toast_ill erase the the data and try again
22:22.38phh?
22:22.47phhis it only garbage or is there some text in it ?
22:23.19toast_there is text in it. but 95% is garbage
22:24.25phhyou're using latest glemsom's release right ?
22:24.44toast_no. the one that came with the pack
22:24.57phhwhich pack ... ?
22:25.07phhpage 500 ?
22:25.19toast_1.6 wifi. yes
22:25.31phhok
22:25.31toast_yes page 500
22:25.39phhyou're using diamond cdma mtype ?
22:25.45toast_2040
22:25.56toast_yep
22:26.28phhi thaught you didn't even get SD detection with it ?
22:27.26toast_thats what i thought but it just crashed on the line i mentioned earlier
22:27.41phhthen it didn't even get android's splashscreen
22:27.47toast_no
22:28.10toast_like i said ill get another image and try
22:28.42phhget a diamond image from glemsom, it has smd7500 disactived, like mrpippy's patch does
22:29.17*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)
22:30.07*** join/#htc-linux BHSPitLappy (n=BHSPitLa@unaffiliated/bhspitmonkey)
22:32.40*** join/#htc-linux LTxda (n=anon@unaffiliated/ltxda)
22:41.32cr2phh: touchscreen calibration is also in nand
22:41.42phheasily readable ?
22:42.00phhunderstandable i mean.
22:42.33cr2no
22:42.38cr2crc too
22:42.46cr2tsc2003 again on rhod
22:43.17cr2strange
22:43.24cr2supports both
22:46.50cr2fmaudio_enable
22:48.06cr2updateaudiopath
22:48.29toast_phh: can u believe it crashed in the same spot
22:48.31cr2phh: it seems that we need to mess with ADIE/smem here
22:48.44phhwhat's that ?
22:48.54phhtoast_: yes
22:49.15toast_waiting to check the dmesg
22:52.37toast_pwf '\Internal Storage\dmesg' 0x8000000 0x008000000 right?
22:52.43cr2phh: then you need to mmutrace the audio area
22:52.49phhtoast_: no
22:53.04phhpwf path 0x008000000 0x8000
22:53.06phhcr2: arg
22:53.32cr2phh: is needed for other audio paths anyway
22:55.37*** part/#htc-linux yoyey (n=yoann@lns-bzn-49f-81-56-185-87.adsl.proxad.net)
22:56.45townkatguys, what's left, only gps and camera? i heard wifi and bt work, well done ;)
22:56.55phhfor what ?
22:57.13toast_phh: am i suppose to be setting my ramsize in my default.txt to 0x008000000?
22:57.16phhraph/diam ?
22:57.20townkatyup
22:57.26phhtoast_: no
22:57.32toast_ok
22:58.10cr2townkat: fm radio and tvout
22:58.21phhand cameras
22:58.26townkatgps works ?
22:58.28toast_well its a bit more readable but still nothing real differant
22:58.33cr2android is so lame that it does not support them ? :)
22:58.35phhtownkat: no
22:58.50phhcr2: i can't get init code :'(
22:58.51cr2fm and tv
22:58.58cr2phh: strange
22:59.06phhit seems easy, but all i get is kernel panic
22:59.13cr2phh: i'm for a standalone version
22:59.19cr2kernel panic ?
22:59.34phhwhen detecting camera on i2c bus yes
22:59.48toast_phh: this is what i put in    pwf '\Internal Storage\dmesg' 0x008000000 0x8000
22:59.50phhi no longer have this kernel so i can't say for sure
22:59.53cr2hmm.
23:00.04cr2you need power gpios, and also rpc clocks
23:00.09phhtoast_: no, 0x008000000 is the addr of ramconsole, that's all
23:00.17phhcr2: and two vregs iirc
23:00.41townkatso: gps, fm, camera, tvout?
23:00.50phhusb host
23:00.58townkat:)
23:01.01phhworking power management
23:01.09toast_phh: u wanna try and read it?
23:01.23phhtoast_: why not
23:01.45toast_how u want me to get it to u
23:02.03phhphhusson@free.fr
23:02.59townkatis wifi working as it should? or it needs wm initialization or other tricks ?
23:03.10townkati cant test, i have a blac
23:03.17phhtownkat: android is still buggy, but wifi driver are ok
23:04.17townkati read about calibration file, why is it needed in linux and not in wm ?
23:04.33phhit is needed in WM ....
23:04.41phhit's in the nand
23:04.59townkathmm, then linux dont know how to read the nand ?
23:05.39phhwe can read in the nand, but disactivating write access isn't easy (and i don't want to try ;), and with android, we'd better not play too much with it
23:06.25phhso i prefered using "short use" releases with nand support, than support it in the every day build
23:06.49toast_phh: sent
23:06.51townkatyup, i agree :)
23:07.17phhbut i should do it cleaner
23:07.24phhtoast_: wth ?!?
23:08.11toast_thats was ur email right
23:08.14townkati think he sent you the email
23:08.28phhyes yes
23:08.30phhi received it
23:08.34phhthe "wth" if for the content.
23:09.15toast_?!?!?!
23:09.17phhyou're doing it wrong.
23:09.24phhi don't know how, but wrong.
23:09.24cr2b78, b44, b69, b5c
23:10.12toast_phh: ~/diamond-dev/haretconsole$ python console 169.254.2.1
23:10.31cr20, 4, 1, 4
23:10.53toast_phh: then     pwf '\Internal Storage\dmesg' 0x008000000 0x8000
23:11.22phhok there is a '0' too much
23:11.29phh0x00800000 0x8000
23:11.47toast_shit!!!!!
23:12.04phh(too many '0' kill '0's)
23:12.50toast_no since makes since
23:13.06phhyou got a readable dmesg now ?
23:13.24toast_hold up
23:17.14cr2good night
23:19.18toast_some what readable
23:19.38toast_u can see what its talkin bout
23:19.46phhplease send then
23:22.07toast_done, sent,
23:23.22toast_phh: i might need to do the whole thing over again
23:23.39phh?
23:23.58toast_there was still chicken scratch
23:24.05toast_did u get it
23:24.15phh....
23:24.18phhstill not that.
23:25.19phhreboot into linux, soft reset and run pwf just after wince booted
23:30.20toast_ok
23:30.24toast_did it
23:31.50phhstill no true text ?
23:32.42toast_nope
23:32.55toast_did u get the last one i sent
23:33.13toast_or the second one
23:33.21phhi got two
23:34.34toast_it shows error messages in it but its like the second one. with the random shit all over the place
23:35.30phhdoes it looks like linux's dmesg ?
23:35.50toast_et ADC_MULTI_RESOLUTION = 10 Bits!
23:35.50toast_<PROTECTED>
23:35.50toast_<PROTECTED>
23:36.17phhyup, not related at all.
23:37.07toast_RAM test is finished!!  pin_test    Parameter fail!! <Dword Boundry>......  Over the DDR size!! Pin       fail.......     OK....... Invalid cmd!...
23:37.07toast_<PROTECTED>
23:38.02phhthis is totally unrelated ...
23:38.03*** join/#htc-linux xperia2 (n=chatzill@zux182-249.adsl.green.ch)
23:38.47*** part/#htc-linux xperia2 (n=chatzill@zux182-249.adsl.green.ch)
23:38.48toast_what sould i need to look for then. i guess its a norm for things to fail
23:39.02phhthis isn't supposed to fail.
23:39.49phhtime to go to sleep anyway
23:40.44toast_dern... alright man thanx for the time and help
23:42.37toast_i feel like it took all day to get nowhere

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