00:03.01 | mdrobnak | dzo: Still here? |
00:05.36 | cr2 | tmzt: wtf is manila ? |
00:05.49 | tmzt | touchflo |
00:05.50 | tmzt | 3d |
00:07.20 | cr2 | ok |
00:08.19 | mdrobnak | tmzt: is there sep. permissions for repos on gito? |
00:08.26 | tmzt | no |
00:08.36 | tmzt | you should have permissions |
00:08.45 | tmzt | these are branches anyway |
00:09.24 | tmzt | sorry |
00:09.27 | tmzt | guess not |
00:10.07 | *** join/#htc-linux leobaillard_ (n=leobaill@leobaillard.org) |
00:11.01 | tmzt | try now |
00:12.03 | Gnutoo | maybe I've found a very easy way to decode ioctls |
00:12.33 | mdrobnak | tmzt: Trying the .32 not the .31 branch at the second. |
00:13.08 | mdrobnak | Don't worry, I can't even PULL the RIL at the moment |
00:14.00 | Gnutoo | like in 0x400C4150 |
00:14.04 | Gnutoo | the 41 is A |
00:14.12 | Gnutoo | ancd the 50 is 0x50 |
00:14.16 | Gnutoo | so easy |
00:14.22 | Gnutoo | or I am wrong? |
00:15.38 | Gnutoo | if so the ioctl is SNDRV_PCM_IOCTL_STATUS: |
00:17.29 | mdrobnak | Ok, I'm off to eat. Just getting annoyed at git / repo et al. |
00:17.45 | tmzt | your right |
00:17.49 | tmzt | 41 is A |
00:17.55 | tmzt | and the number is hex |
00:18.16 | tmzt | mdrobnak: 32 has bad clocks, will not work until those are fixed |
00:18.38 | mdrobnak | When I come back, I'll have a patch for dzo for 2G/3G and very rough location code |
00:18.54 | mdrobnak | tmzt: Oh. Well that sucks, |
00:19.00 | mdrobnak | That's where I got my stuff working hehehe |
00:19.09 | mdrobnak | ok, I'll try working on .31 later |
00:19.27 | tmzt | what's working? |
00:20.15 | mdrobnak | "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.34 | mdrobnak | Helpful, but not major, stuff. |
00:20.42 | *** join/#htc-linux tids2k (n=r3x@d58-106-255-105.riv7.nsw.optusnet.com.au) |
00:21.07 | mdrobnak | Btw, now I see the push url for .31 on gito, where I didn't see anything like that before. |
00:21.17 | tmzt | mdrobnak: would somebody remove raph500 from ltg board raph? |
00:21.26 | mdrobnak | you did that.. |
00:21.31 | mdrobnak | you moved it to a seperate board. |
00:21.34 | tmzt | yes |
00:21.41 | tmzt | but never pushed it to ltg |
00:21.51 | mdrobnak | Weird. |
00:21.55 | mdrobnak | I didn't do that. |
00:21.58 | mdrobnak | I have no access |
00:22.03 | mdrobnak | Nor would I |
00:22.07 | mdrobnak | (do that) |
00:23.08 | tmzt | what? |
00:23.10 | tmzt | oh |
00:23.19 | tmzt | I don't either, it was a patch |
00:23.34 | mdrobnak | tmzt: Where do you see that? |
00:23.39 | mdrobnak | I don't see any commit for it |
00:25.19 | tmzt | on? |
00:25.26 | tmzt | it was dcordes I think |
00:25.42 | tmzt | I know it's in upstream because it broke for you |
00:45.52 | mdrobnak | dzo: 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.02 | mdrobnak | Now I need to eat. |
00:46.32 | tids2k | what r u eating btw ? |
00:46.53 | mdrobnak | no idea yet lol |
00:46.57 | tids2k | ok |
00:47.01 | tids2k | enjoy mate |
00:47.03 | mdrobnak | Need to go find something |
00:47.05 | mdrobnak | thx |
00:53.20 | tmzt | 02:02 < tmzt> tids: msm is mobile station modem, what qualcomm calls all of their cell phbone main chips |
00:53.48 | tids2k | lol .. thanks tmzt |
00:54.06 | tids2k | ;) |
00:56.05 | *** join/#htc-linux stickboy (n=anonymou@128.153.210.175) |
01:50.46 | tids2k | tmzt u thr |
01:53.54 | tpr | hi |
02:02.31 | mdrobnak | anyone still here? |
02:23.16 | *** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz) |
02:23.55 | tpr | me |
02:24.18 | mdrobnak | thats good to see :-) |
02:24.22 | tpr | i tried to move fb to gpu01 space :) seems to works nice |
02:24.35 | mdrobnak | gpu0 or gpu1? |
02:24.38 | tpr | 01 |
02:24.50 | mdrobnak | ?? Where's that? |
02:24.51 | tpr | i took space at the end of gpu01 |
02:24.52 | mdrobnak | What device? |
02:24.55 | tpr | on kaiser |
02:25.18 | mdrobnak | On Diamond / Raph, we've got a PMEM_GPU0 and PMEM_GPU1 not a 01 |
02:25.24 | tpr | #define MSM_PMEM_GPU1_BASE 0x17800000 |
02:25.24 | tpr | #define MSM_FB_SIZE0x000e0000 |
02:25.24 | tpr | #define MSM_FB_BASE0x00000000 + (MSM_PMEM_GPU1_BASE - MSM_FB_SIZE) |
02:25.24 | tpr | #define MSM_PMEM_GPU1_SIZE 0x00800000 - MSM_FB_SIZE |
02:25.48 | mdrobnak | Ok, GPU1. |
02:26.00 | tpr | the two last lines updated to that in board-htc-kaiser.c |
02:26.18 | mdrobnak | On 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.57 | tpr | oh |
02:27.16 | tpr | weird, the gpu memory slower than main one ? |
02:27.39 | mdrobnak | No |
02:27.47 | mdrobnak | it's the main memory. |
02:27.57 | mdrobnak | (EBI is main memory) |
02:28.08 | tpr | oh ok |
02:28.24 | tpr | but gpu01 is for 3D and video no ? |
02:29.32 | mdrobnak | Not sure which is which |
02:30.01 | tpr | but the fbcon dont need fast memory |
02:30.10 | tpr | only used on startup |
02:30.50 | tpr | dunno if its related, but now youtube video is working ;) |
02:31.02 | tpr | before i had only sound and first image |
02:32.02 | tpr | need to check that, the wlan module is not loaded, its maybe the reason... |
02:32.51 | mdrobnak | Not sure if youtube works for me. Haven't tried recently |
02:32.59 | mdrobnak | Trying to get network location working. |
02:34.37 | mdrobnak | tpr: You good with C? |
02:35.12 | tpr | yes |
02:35.24 | mdrobnak | http://pastebin.com/m5c74e7c3 |
02:35.48 | mdrobnak | Ok, that's the Neighboring Cell parsing function in the Android RIL daemon |
02:36.05 | mdrobnak | I currently only spit out 1 cell id |
02:36.23 | mdrobnak | I'm not good enough with C to do multiple..if I show you my code, could you help me with that? |
02:36.36 | mdrobnak | Maybe we can get network location working :-) |
02:37.02 | tpr | k let me check |
02:38.29 | mdrobnak | Now, 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.35 | tpr | how many num do you have ? |
02:38.37 | mdrobnak | Pastebin'g the code now |
02:38.48 | tpr | ok 3 |
02:39.24 | mdrobnak | http://pastebin.com/m35c2f836 |
02:39.39 | mdrobnak | Right now, I send back one, as you'll see. |
02:40.09 | mdrobnak | I have no idea what the deal is with p_CellIDs vs pp_CellIDs |
02:41.24 | tpr | yes, that weird, 2 blocs of memory allocated |
02:41.31 | mdrobnak | One seems to be a double pointer? |
02:41.38 | tpr | yes |
02:41.58 | tpr | but sizeof(RIL_NeighboringCell *) |
02:42.06 | tpr | is sizeof (void *) |
02:42.11 | tpr | only a pointer |
02:42.49 | mdrobnak | Again, I only modified this code :-) |
02:43.00 | tpr | the first one ? |
02:43.08 | mdrobnak | No, I added in the comments, and cleaned it up. |
02:43.25 | tpr | k |
02:43.33 | mdrobnak | Both of the pp & p cellid stuff where there already |
02:44.00 | mdrobnak | and if I try and free p_cellIds bad things happen, if I remember right. |
02:44.02 | tpr | ok, when we use the ** its for arrays |
02:44.18 | tpr | it seems to want to add more cell ids... |
02:44.30 | tpr | later |
02:44.39 | mdrobnak | Ok. Good. That's the idea. |
02:44.57 | tpr | yea |
02:44.58 | tpr | for (j=0;j<1; j++){ |
02:45.10 | tpr | forced to one time only for the moment |
02:45.14 | tpr | one cell |
02:45.23 | mdrobnak | Yep, I did that. |
02:45.30 | mdrobnak | is looking back for original code. |
02:46.12 | tpr | the RIL_onRequestComplete(t, RIL_E_SUCCESS, pp_cellIds, sizeof(pp_cellIds)); |
02:46.15 | tpr | seems wrong |
02:46.20 | mdrobnak | Ok, originally, there was no loop :-) |
02:46.22 | mdrobnak | I added in the loop. |
02:46.34 | mdrobnak | But the count=3 was there before |
02:46.40 | tpr | i think sizeof(pp_cellIds) = 4 |
02:46.46 | tpr | a pointer |
02:47.13 | mdrobnak | Hmm.. I missed that. THat might have been the reason for the crashing |
02:47.44 | tpr | dont know if you need to send the whole struct |
02:48.08 | tpr | but you need somethink like nbcell*sizeof(RIL_NeighboringCell) |
02:48.45 | mdrobnak | Wait, maybe that is right - maybe you only send back the pointers to the data. |
02:48.56 | tpr | maybe yes |
02:49.18 | tpr | if it's just to log pointer value |
02:49.27 | tpr | not content |
02:50.17 | mdrobnak | ok, I guess my fundamental question is - so as not to bog you down with the rest of the code... |
02:50.22 | mdrobnak | how would I add in another value? |
02:50.40 | mdrobnak | err = at_tok_nextstr(&line, &p_cellIds[0].cid); |
02:50.42 | mdrobnak | That line works. |
02:51.08 | mdrobnak | I think I get it. |
02:51.43 | mdrobnak | Set the size of p_cellIds to count * sizeof(RIL_NeighboringCell) |
02:51.54 | tpr | the allocated size yes |
02:51.56 | mdrobnak | Hmm. |
02:51.57 | mdrobnak | But. |
02:52.08 | mdrobnak | pp_cellIds[0]=p_cellIds; |
02:52.18 | mdrobnak | How do I figure out where to set pp_cellIds[1] to? |
02:52.26 | tpr | :) |
02:52.59 | tpr | with p_cellIds + sizeof(RIL_NeighboringCell) |
02:53.12 | tpr | hmm wait |
02:53.46 | tpr | yes |
02:54.10 | tpr | tw ways to do that |
02:54.14 | tpr | two |
02:54.28 | tpr | p_cellIds + (i * sizeof(RIL_NeighboringCell)) |
02:54.38 | tpr | or increment a pointer |
02:54.44 | tpr | in your loop |
02:55.28 | mdrobnak | Loop 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.31 | tpr | begin with that : RIL_NeighboringCell *ptr = p_cellIds; |
02:56.47 | tpr | then in loop ptr += sizeof(RIL_NeighboringCell); |
02:57.04 | tpr | pp_cellIds[i] = ptr |
02:57.16 | tpr | its j |
02:57.19 | tpr | but its ok |
02:58.01 | mdrobnak | That'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.05 | tpr | do you need to keep whole RIL array data ? |
02:58.17 | mdrobnak | I don't know |
02:58.49 | tpr | if not i suggest you removing the alloc lines |
02:59.07 | tpr | declare one static RIL structure to have memory |
02:59.22 | tpr | and use only the ptr |
02:59.56 | mdrobnak | Well, there's a bunch of code of similar nature in the RIL, so I assume it should be done like it is.. |
03:00.07 | tpr | ok |
03:00.43 | tpr | remember (RIL_NeighboringCell *) value is only a dword ;) |
03:00.51 | tpr | like RIL_NeighboringCell ** |
03:01.15 | tpr | and also (void *) |
03:01.38 | mdrobnak | right, it's those without the * in them that are the real size of the structure |
03:01.39 | mdrobnak | right? |
03:01.42 | tpr | so you can increment them like a dword |
03:01.56 | tpr | yes |
03:02.14 | tpr | struct RIL_NeighboringCell Ril; |
03:02.36 | tpr | in this case Ril is an allocated structure |
03:02.55 | tpr | and sizeof Ril = sizeof( RIL_NeighboringCell) |
03:03.13 | mdrobnak | makes sense |
03:03.31 | mdrobnak | (I'm a C++ guy, not C, so the memory allocation stuff gets me all the time) |
03:03.40 | tpr | when you understand right that, you understand C ;) |
03:04.12 | tpr | but yea, the alloc commands are not trivials |
03:04.24 | tpr | sometimes to free, sometimes not |
03:05.13 | mdrobnak | heh |
03:05.20 | tpr | but dont forget to free whats you "alloc" |
03:05.36 | tpr | every alloc need free except in C lists |
03:05.42 | tpr | c++ vectors |
03:06.04 | tpr | where its made directly |
03:06.19 | mdrobnak | I can do 2D arrays, right? |
03:06.32 | tpr | sure... |
03:06.37 | mdrobnak | char Location[4][5] |
03:06.48 | mdrobnak | Would that be 4 strings of 5 characters long, or reverse? |
03:06.55 | mdrobnak | Argh |
03:07.00 | mdrobnak | No, I got that right |
03:07.00 | mdrobnak | lol |
03:07.03 | tpr | hehe :) |
03:07.08 | mdrobnak | (was checking the off-by-one thing) |
03:07.38 | mdrobnak | I did get that wrong though. |
03:08.10 | mdrobnak | What is that? 4 strings of 5 characters each, or 5 strings of 4 characters each? |
03:08.38 | tpr | euhh... i think 5 of 4 |
03:08.47 | tpr | need to check ;) |
03:08.51 | mdrobnak | haha |
03:08.53 | mdrobnak | ok, I'm not alone |
03:08.54 | mdrobnak | hehe |
03:10.33 | tpr | http://pastebin.com/m5c74e7c3 is good |
03:11.06 | mdrobnak | Yes, that's the parsing code in rild :-) |
03:15.59 | tpr | ok, need a coffee, brb |
03:16.19 | mdrobnak | k |
03:16.55 | mdrobnak | shit, 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.55 | AstainHellbring | damn cr2's still gone |
03:26.01 | mdrobnak | heh |
03:26.06 | mdrobnak | he's always gone :) |
03:31.02 | tpr | yes its 3 of 4 |
03:31.08 | tpr | http://www.tenouk.com/clabworksheet/labworksheet10.html |
03:31.29 | tpr | sorry, not same in all languages |
03:33.44 | tpr | exactly 3 of 3 |
03:34.00 | tpr | because there is the \0 at end of char* |
03:34.00 | mdrobnak | ROFL |
03:34.06 | mdrobnak | That's the page I was looking at! |
03:34.14 | tpr | the first google one ;p |
03:34.35 | tpr | google = big brother ? no ? soon :p |
03:34.45 | mdrobnak | Yeah, already adjusted the size of the array for the null terminator. |
03:42.16 | tpr | argh yea, its the wifi module which locks youtube video playback (only sound) |
03:42.40 | tpr | and i dont have sources of thes one |
03:44.26 | tpr | what exactly is ram_console ? |
03:47.41 | tpr | oh, found, the log |
03:52.16 | tpr | yea, when i remove wlan module, video is working.... |
03:52.17 | tpr | sighh |
03:52.28 | tpr | with rmmod |
03:54.16 | mdrobnak | wow thats kinda weird |
03:54.29 | mdrobnak | ram console lets you see dmesg after rebooting the phone with a soft reset |
03:54.58 | tpr | when we have a soft reset ;) |
03:55.29 | tpr | do you have an idea how the wlan.ko is built ? |
03:55.36 | tpr | in vogue-android |
03:57.07 | mdrobnak | No, that's still a mystery to me ;) |
03:57.11 | mdrobnak | Aka, not sure where the source is |
03:57.36 | tpr | ok yes its what im looking for |
03:57.42 | tpr | dont see wlan files |
03:58.05 | *** join/#htc-linux pronik` (n=user@ppp-88-217-107-58.dynamic.mnet-online.de) |
03:59.59 | tpr | found |
04:00.00 | tpr | http://android.git.kernel.org/?p=platform/system/wlan/ti.git;a=summary |
04:00.24 | tpr | Android 1.5 refresh 4 ? |
04:01.16 | mdrobnak | ah |
04:01.19 | mdrobnak | sure. |
04:01.23 | mdrobnak | that's the current 1.5 sdk I think |
04:01.35 | mdrobnak | Almost done, I think. |
04:02.35 | tids2k | wlan ..? |
04:07.08 | tpr | ok got it |
04:07.26 | tpr | http://groups.google.com/group/android-developers/browse_thread/thread/af24af017b89828f |
04:10.23 | mdrobnak | :-( error: incompatible types in assignment |
04:10.44 | tpr | paste me the error .. |
04:12.25 | mdrobnak | Here'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.45 | mdrobnak | So I did: Location[i] = &responseStr; which was wrong. |
04:12.45 | *** join/#htc-linux mes (n=mes@203x20781148.lightspeed.ca) |
04:13.19 | mdrobnak | But it's not without the & either (I remember that's pass by reference) |
04:13.29 | mdrobnak | (with the &) -- I want the string itself. |
04:14.18 | tpr | strcpy |
04:16.03 | mdrobnak | slaps himself on head. |
04:16.03 | mdrobnak | Duh. |
04:16.18 | tpr | nice |
04:16.28 | tpr | new wlan module seems to work :) |
04:16.39 | tpr | and ive video |
04:17.36 | *** join/#htc-linux g55 (n=g55@rgnb-5d87c2d2.pool.mediaWays.net) |
04:17.41 | mdrobnak | Nice, it compiled. Doesn't mean it works though ehehehe |
04:18.29 | tpr | ;) |
04:18.34 | tpr | add traces |
04:18.54 | tpr | ok, i can commit my work |
04:19.09 | *** join/#htc-linux BHSPitLappy (n=BHSPitLa@unaffiliated/bhspitmonkey) |
04:19.19 | mdrobnak | If this code works, it'll be awesome. |
04:19.33 | mdrobnak | Then we'll have rough location via network working :-) |
04:19.50 | mdrobnak | Oh, wait. Hah, I knew I forgot something. |
04:20.09 | mdrobnak | Ok, 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.23 | spirits-sight | I was wondering is there any development on a bootloader for HTC phones ? |
04:22.47 | tids2k | not yet ... bootloaders are to be done in the end i think |
04:23.44 | spirits-sight | beside having many system.xxx what other things are there to be done? |
04:27.38 | tpr | do you mean a boot menu to select system image ? |
04:28.39 | tpr | ok, updated http://github.com/tpruvot/android-initrd |
04:29.33 | tpr | this git follows vilord one |
04:29.34 | tpr | http://github.com/vilord/android-initrd/network |
04:29.47 | tids2k | epy did u try this on ur vogue ? |
04:29.50 | tids2k | as of yet ;) |
04:29.59 | mdrobnak | tpr: What did you add to the initrd? |
04:30.41 | tpr | euh.... |
04:30.46 | tpr | almost nothing |
04:30.52 | tpr | let me double check |
04:30.54 | tids2k | lol. |
04:31.06 | tpr | yea |
04:31.15 | tpr | added to path :/sdcard/bin |
04:31.29 | tpr | no |
04:31.31 | tpr | its in rootfs |
04:31.38 | tpr | yea |
04:31.46 | tids2k | k |
04:31.52 | tpr | i added hush exit |
04:33.01 | mdrobnak | I see |
04:33.11 | mdrobnak | ok, what's the int equiv of strcpy? |
04:33.17 | tpr | and a test on rootfs |
04:33.26 | mdrobnak | ie something like strcpy(Location[i], p_cellIds[i].cid); |
04:33.26 | mdrobnak | <PROTECTED> |
04:33.34 | tpr | its here |
04:33.35 | tpr | http://github.com/tpruvot/android-initrd/commit/1be93222029a4e2dd042c7fa041ec8bac3dd2777 |
04:34.49 | tpr | and before, added rootfs.sqsh support |
04:34.54 | tpr | 10Mo to 3.8 ;) |
04:36.42 | tpr | and now im trying some kernel mods |
04:37.43 | tpr | moved fbcon and ram console to end of gpu01 space |
04:37.57 | tpr | if gpu01 space is slower... thats good |
04:38.15 | tpr | so gpu0 is a little big bigger |
04:38.20 | tpr | little bit |
04:39.11 | tpr | the last module i need to compile is ramzswap |
04:39.16 | tpr | compcache... |
04:39.26 | tpr | but newest version need kernel 2.6.28 |
04:39.50 | tids2k | when are we moving towards 2.6.29 ? |
04:39.55 | mdrobnak | yeah we're still on .27 |
04:39.56 | mdrobnak | no idea. |
04:40.09 | tpr | its hard to move |
04:40.11 | spirits-sight | I 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.18 | tpr | i just want a working thing ;) |
04:40.31 | tids2k | lol. then u need to wait ;) |
04:40.39 | tids2k | and keep contributing |
04:40.47 | tpr | allmost all is working here |
04:40.50 | tpr | ;) |
04:40.54 | mdrobnak | well, if tmzt and I can get the mddi stuff cleaned up |
04:40.57 | tids2k | almost ... eh :) |
04:40.59 | mdrobnak | we'll have 2.6.31 soon |
04:41.07 | tids2k | wow ... thats good news |
04:41.18 | mdrobnak | Soon meaning a few weeks |
04:41.22 | *** join/#htc-linux thedicemaster (n=thedicem@j89051.upc-j.chello.nl) |
04:41.29 | tids2k | but wifi and bluetooth needs to kind of work before moving to higher kernels |
04:41.34 | tpr | missing stuff : bluetooth (i think) maybe it need compatible software |
04:41.43 | tpr | and thats all |
04:41.54 | tpr | camera video... |
04:42.03 | tpr | dont use that |
04:42.04 | tids2k | is the battery fixed now epy ? |
04:42.10 | mdrobnak | I'm not sure how much support older devices will get on the newer kernels |
04:42.13 | tpr | which problem ? |
04:42.38 | tpr | oh the power usage ? |
04:42.43 | tids2k | yepp |
04:42.49 | tpr | yes, ive better results with power=2 |
04:42.53 | tpr | in haret |
04:43.04 | tids2k | ok. |
04:43.25 | tids2k | im getting a leo but my eyes are still staring on n900 :( |
04:43.31 | tpr | but hard to tell, i'm linked ;) |
04:43.34 | tpr | to make updates |
04:43.35 | tpr | ;) |
04:43.39 | tids2k | lol .ok |
04:44.17 | tpr | i think i will commit a french kernel too |
04:44.31 | tpr | which forces azerty |
04:44.46 | mdrobnak | Yay, adb is back :-) |
04:44.47 | tpr | i've made that here |
04:45.11 | mdrobnak | (Someone commented out a line in the board file) |
04:45.27 | tpr | could i see where ? |
04:45.34 | tpr | i've recent problems with adb |
04:45.40 | tpr | with my new kernel |
04:45.47 | tpr | maybe same reason |
04:46.53 | tids2k | tpr which is your next phone |
04:47.33 | tpr | m900 |
04:47.40 | tpr | samsung cpu |
04:48.07 | tpr | ive a friend here which have the nike... |
04:48.11 | tpr | i will test on it later |
04:48.18 | mdrobnak | Crash crash crash hehehe |
04:48.25 | tpr | touch dual |
04:52.18 | tids2k | tpr which country r u in... |
04:52.33 | tpr | france |
04:52.43 | tpr | commited my french kaiser kernel |
04:53.13 | tpr | now i need to merge them to support cmdline switch |
04:53.22 | tpr | to force keyboard |
04:53.27 | tids2k | i think its better to get a omnia 2 rather than m900 |
04:53.29 | tpr | at init time |
04:53.34 | tids2k | better processor |
04:53.39 | tpr | m900 is cheap |
04:53.49 | tpr | its why i bought it |
04:53.58 | tpr | acer bought eTen |
04:54.02 | tids2k | u bought it |
04:54.08 | tpr | its the glofish replacement |
04:54.15 | tids2k | oh ok |
04:54.27 | tpr | yes, on ebay... waiting for it now |
04:54.43 | tpr | but was uk postal strike last week |
04:54.53 | tids2k | lol ok |
04:55.09 | tids2k | should i get a nokia n900 or a leo |
04:55.12 | tids2k | what do u suggest |
04:55.16 | mdrobnak | tpr: oops. 1-01 00:53:57.172 D/RIL ( 852): We have 0 samples |
04:55.16 | mdrobnak | 11-01 00:53:57.172 D/RIL ( 852): About to allocate memory! |
04:55.50 | tpr | o |
04:55.56 | tpr | omnia 2 doesnt have keyboard ? |
04:56.01 | tids2k | no |
04:56.19 | tpr | i really need it |
04:56.28 | tids2k | oh ok .. |
04:56.54 | tids2k | wished only droid worked in australia ... else i would have it in my hands right now |
04:57.36 | tpr | samsung galaxy maybe |
04:57.59 | tpr | but yea AMOLED seems promising :) |
04:58.07 | tpr | for battery |
04:58.30 | tpr | black screen doesnt use battery :) |
04:58.39 | tids2k | heehe |
04:58.54 | tpr | no leds in |
04:59.32 | tids2k | well i want to see android on both phones |
04:59.52 | tids2k | n900 has a better processor |
04:59.58 | tids2k | and a gpu as well |
05:00.05 | tids2k | plus a keypad :o |
05:01.35 | mdrobnak | tpr: Found the problem 11-01 01:00:46.255 D/RIL ( 908): Compared Equal! |
05:01.35 | mdrobnak | 11-01 01:00:46.255 D/RIL ( 908): Compared Equal! |
05:01.48 | mdrobnak | It thinks my new sample is the same as "XXXX" :-( |
05:01.48 | tpr | pastebin . |
05:01.51 | tpr | ? |
05:02.05 | mdrobnak | my string comparison is failing for some reason. |
05:03.06 | mdrobnak | http://pastebin.com/d2c9c73ac |
05:03.11 | tpr | http://www.youtube.com/watch?v=zliM_hV6op4&feature=player_embedded |
05:03.25 | tpr | magic vs galaxy |
05:03.57 | tpr | hehe |
05:04.02 | tpr | strcmp result == 0 |
05:04.04 | mdrobnak | youtube being dumb |
05:04.05 | tpr | when equal |
05:04.15 | mdrobnak | "An error has occured" |
05:04.20 | mdrobnak | Yeah, so that's the problem |
05:04.23 | mdrobnak | errr |
05:04.30 | mdrobnak | OH |
05:04.36 | mdrobnak | 0 = equal. |
05:04.38 | mdrobnak | That's dum.b |
05:04.44 | mdrobnak | that's not boolean logic |
05:04.45 | mdrobnak | lol |
05:04.57 | tpr | yea because |
05:05.03 | tpr | strcmp > 0 or < 0 |
05:05.06 | tpr | ascii compare |
05:05.13 | tpr | to sort |
05:05.41 | mdrobnak | ok, lets try changing that to a if ! (strcmp ... |
05:05.53 | tpr | add == 0 |
05:06.06 | tpr | it's the right way to code that i think |
05:06.28 | tpr | if (strcmp (responseStr[i], Location[j]) == 0){ |
05:06.55 | mdrobnak | ok, adb push now.. |
05:06.56 | tpr | add some printk |
05:07.34 | mdrobnak | LOGD |
05:07.34 | mdrobnak | yeah |
05:07.35 | tpr | printk("%s -- %s\n",responseStr[i], Location[j]); |
05:07.43 | mdrobnak | Nope, it's still not right. |
05:07.49 | mdrobnak | 11-01 01:07:15.562 D/RIL ( 949): Compared Equal! |
05:07.54 | mdrobnak | (That's my code) |
05:08.08 | spirits-sight | do you guys know if the haret dating 9-16-09 has any bennfits? |
05:09.02 | tpr | spirits-sight: no dunno, what's the size ? |
05:09.05 | tpr | exactly |
05:09.27 | *** join/#htc-linux droid0011 (n=g1@p4FDCDBEF.dip.t-dialin.net) |
05:09.28 | spirits-sight | haret-20090916.exe 16-Sep-2009 09:08 162K |
05:09.54 | tpr | yea, really different |
05:10.06 | mdrobnak | haha, oops. I screwed up my logic there. |
05:10.08 | tpr | mine is 9 aug 2009 |
05:10.17 | tpr | sized 137216 |
05:10.26 | tpr | where can i get it ? |
05:11.46 | tpr | http://www.handhelds.org/moin/moin.cgi/HaRET |
05:11.49 | tpr | only have this page |
05:11.56 | tpr | http://www.handhelds.org/moin/moin.cgi/HaRET?action=info |
05:12.09 | mdrobnak | tpr: 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.31 | tpr | no problem |
05:12.42 | tpr | see you tomorrow... |
05:13.07 | tpr | maybe ;) just wake up |
05:13.14 | tpr | (3 hours ago) |
05:13.23 | tpr | (me) |
05:13.31 | tids2k | lol |
05:14.01 | mdrobnak | tpr: hehe yah, I'm in the us...GMT-5 |
05:14.06 | tids2k | tpr how about the maemo port status |
05:14.14 | spirits-sight | link haret http://www.handhelds.org/~koconnor/haret/test/ |
05:14.37 | tpr | i dunno where i am ;) its 6 am here |
05:14.38 | tpr | ;p |
05:14.46 | mdrobnak | Yay! I got a sample :-) |
05:14.56 | mdrobnak | Only 1 though. :-( |
05:15.01 | mdrobnak | But at least better then 0 :) |
05:16.02 | tpr | same size as haret-20090711.exe |
05:16.05 | tpr | http://www.handhelds.org/~koconnor/haret/ |
05:16.17 | tpr | i think its a debug version |
05:16.43 | tpr | huh |
05:16.45 | tpr | arf sorry |
05:16.50 | tpr | some name |
05:17.49 | spirits-sight | ok 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.22 | tpr | i think its no necessary |
05:18.29 | tpr | to connect in winmo on the kaiser |
05:18.36 | tpr | did you test my kernel ? |
05:18.46 | tpr | http://github.com/tpruvot/android-initrd |
05:19.23 | spirits-sight | ur new one? if so the last kernel I tested was whats on android-vogure (google code) |
05:19.42 | tpr | yes, it came from these one |
05:19.52 | tpr | vilord one |
05:21.58 | spirits-sight | will 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.54 | tpr | http://github.com/tpruvot/android-initrd/zipball/master |
05:25.14 | tpr | in the zip you will have initrd, rootfs and kernel |
05:25.34 | tpr | images |
05:25.48 | tpr | you just need to copy on your sdcard |
05:26.03 | tpr | these 3 files |
05:27.31 | spirits-sight | ok 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.21 | tpr | hmmm |
07:35.40 | tpr | what 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.45 | tmzt | tpr: what kernel? |
07:58.59 | tpr | 2.6.25 |
07:59.10 | tpr | ive rfcomm enabled |
07:59.25 | tpr | its same |
07:59.28 | tpr | as raphael |
07:59.49 | tmzt | tids: maemo? |
08:00.03 | tpr | i made a board-htckaiser-rfkill.c |
08:00.29 | tmzt | haret is the same |
08:00.44 | tmzt | we haven't added anything new for msm since at least march |
08:01.08 | tpr | (nice too know that) |
08:01.09 | tpr | to |
08:01.55 | tmzt | not bsame as raph |
08:02.03 | tmzt | dzo is 2.6.25 still? |
08:02.21 | tmzt | ok |
08:02.32 | tmzt | you just bt power gpio for kais |
08:02.32 | tpr | yes |
08:02.38 | tpr | i rewrote like the raph |
08:02.41 | tpr | yea |
08:02.44 | tmzt | s/bt/need bt/ |
08:02.46 | tpr | i'm testing values |
08:02.59 | tmzt | look in wiki.htc-linux.org |
08:04.03 | tpr | http://pastebin.com/m1473bed1 |
08:04.05 | tpr | i'm there |
08:04.21 | tpr | module is linked in kaiser board, that's working |
08:04.34 | tpr | but some timeout on gpios |
08:04.46 | tpr | i'm trying to set the flashing blue led |
08:05.03 | tpr | i can enable blue directly, but its purple ;) not flashing |
08:05.16 | tpr | there is something to do that in vogue-hw.c |
08:05.34 | tpr | but i dunno how to reference the static blue_led struct |
08:07.28 | tpr | which is in vogue-hw.c |
08:08.33 | tmzt | you would have to export it |
08:08.40 | tpr | ok |
08:08.47 | tpr | i ve maybe found how |
08:08.49 | tmzt | or declrare it in your own file as well |
08:08.52 | tpr | kaiser_set_led() func |
08:08.56 | tmzt | ok |
08:09.19 | tmzt | be better if you could have a link to the generic led in your rfkill pdata |
08:09.24 | tmzt | as a trigger |
08:09.31 | tmzt | look up the led api |
08:09.52 | tmzt | rfkill should already work with generic led actually |
08:12.19 | tpr | ok found compiling... |
08:12.52 | tpr | yep, i see, but will make that later |
08:12.56 | tpr | not important |
08:14.40 | tpr | ok |
08:14.50 | tpr | booting... |
08:15.44 | *** join/#htc-linux kiozen_ (n=kiozen@rgnb-5d874514.pool.mediaWays.net) |
08:17.28 | LittleJ | daim i love latest build on diam 100 ;) i think wont be long till will run android and leave windows behind :P |
08:18.29 | tpr | damn working :) |
08:18.34 | tpr | the flashing led |
08:21.21 | tmzt | LittleJ: we have to be able to flash it |
08:22.13 | tpr | maybe with sfu-util ? |
08:22.26 | LittleJ | tmzt yea but still some lil glitches till than :D like suspend, its only shuting down the panel, not the butons ? |
08:22.46 | tmzt | oh? |
08:22.46 | LittleJ | i'l try to use it today on my phone i'm courious how long will the bat last |
08:22.51 | tmzt | interesting |
08:23.01 | tmzt | we need to learn gpio for microp |
08:23.10 | tmzt | I think mdrobnak is working on that |
08:23.12 | tmzt | or Gnutoo |
08:23.15 | tmzt | not sure |
08:23.40 | Gnutoo | on what I am supposed to work? |
08:23.42 | Gnutoo | hi |
08:23.46 | Gnutoo | I work on alsa |
08:23.57 | tmzt | oh |
08:24.02 | tmzt | somebody then |
08:24.07 | tmzt | wait |
08:24.10 | tmzt | kaiser? |
08:24.15 | Gnutoo | and I progressed a lot...now I've to build mplayer too see where it hangs |
08:24.17 | tmzt | that should be easier |
08:24.25 | tmzt | just use the alt functions |
08:24.34 | tmzt | how is it going? |
08:24.42 | tmzt | do you have a test case? |
08:24.46 | tmzt | bad/good |
08:25.24 | LittleJ | can i play avi files in diam ? |
08:26.33 | tpr | Gnutoo: i fixed a video problem this night |
08:26.36 | tpr | for the kaiser |
08:26.43 | Gnutoo | ok |
08:26.56 | tpr | youtube had only sound |
08:27.04 | tpr | when wlan was loaded |
08:27.22 | tpr | i updated wlan module from last git |
08:27.30 | tpr | and its now working... |
08:27.54 | tpr | with "rmmod wlan" youtube was working... |
08:28.02 | tmzt | how are those related? |
08:28.11 | tmzt | ah |
08:28.11 | tpr | i dunno, maybe a memory allocation pb |
08:28.14 | tmzt | sorry |
08:28.56 | tmzt | last git? |
08:29.02 | tmzt | your git? |
08:29.20 | *** join/#htc-linux W8TVI (n=nnnnnme@71.238.235.30) |
08:29.33 | tpr | no android kernel git |
08:29.43 | tpr | http://android.git.kernel.org/?p=platform/system/wlan/ti.git;a=summary |
08:29.48 | tmzt | ok |
08:29.52 | tmzt | ah |
08:29.57 | tmzt | using tiwlan driver |
08:30.05 | tpr | interresting git repo :) |
08:30.16 | tpr | i found it today |
08:30.25 | tmzt | yeah |
08:30.30 | tmzt | that's the newer one |
08:30.32 | tpr | http://android.git.kernel.org/ |
08:30.36 | tmzt | since last fall |
08:30.55 | tpr | kernel/lk.git(L)ittle (K)ernel bootloader |
08:33.13 | tpr | git clone git://android.git.kernel.org/platform/system/wlan/ti.git |
08:33.27 | tpr | i used the master branch |
08:33.35 | tpr | and its working with 2.6.25 |
08:33.48 | tpr | it works with many kernels |
08:35.48 | tpr | cd system/wlan/ti/sta_dk_4_0_4_32 |
08:35.48 | tpr | KERNEL_DIR=<path-to-kernel> make |
08:36.19 | tmzt | lk? |
08:36.26 | tmzt | what is that |
08:36.55 | *** join/#htc-linux onen|openBmap (n=quassel@vbo91-1-89-87-201-85.dsl.club-internet.fr) |
08:37.02 | tpr | http://android.git.kernel.org/?p=kernel/lk.git;a=summary |
08:37.33 | tmzt | yes, what is it |
08:37.39 | tpr | aboot |
08:37.41 | tpr | http://android.git.kernel.org/?p=kernel/lk.git;a=blob_plain;f=app/aboot/aboot.c;hb=HEAD |
08:37.42 | tmzt | can't really look right now |
08:37.51 | tmzt | interesting |
08:37.52 | tpr | void boot_linux(void *kernel, unsigned *tags, |
08:37.52 | tpr | const char *cmdline, unsigned machtype, |
08:37.52 | tpr | void *ramdisk, unsigned ramdisk_size) |
08:38.40 | tpr | yes |
08:38.49 | tpr | dont have time for that for the moment... |
08:38.53 | tmzt | ok |
08:39.01 | tpr | but i keep it in bookmarks; ) |
08:39.05 | tmzt | is it usable as a chainloder? |
08:39.16 | tmzt | interesting |
08:39.23 | tpr | there is also http://android.git.kernel.org/?p=platform/bootable/bootloader/legacy.git;a=summary |
08:39.24 | tmzt | better than legacy bootloader |
08:39.29 | tpr | bootloader reference code |
08:39.29 | tmzt | right |
08:39.41 | tmzt | do you know arm asm? |
08:42.22 | tpr | no, i cant tell that ;) |
08:42.24 | tmzt | don't happen to see any 2.6.31 kernel? |
08:42.27 | tpr | but now ive documentation |
08:42.30 | tmzt | huh? |
08:42.44 | tpr | msm7200 datasheet |
08:42.48 | tpr | and 7200a |
08:43.10 | tmzt | trying to fix my bootloader test code |
08:43.31 | tmzt | if I knew how to setup the stack I should be able to use c like google does |
08:43.38 | tmzt | but it's all asm now |
08:46.47 | tpr | asm or hexadecimal ? |
08:47.31 | tmzt | asm |
08:47.58 | tmzt | people.openezx.org/tmzt/green7.S and testbooter.S |
08:57.43 | tpr | yea |
08:58.03 | *** join/#htc-linux itchy8me (n=itchy8me@ip80-116-211-87.adsl2.static.versatel.nl) |
08:58.50 | tpr | you r searching for call ? |
08:59.01 | tpr | or onlt push/pop ? |
08:59.05 | tpr | only |
08:59.20 | tmzt | ? |
08:59.28 | tmzt | oh |
08:59.35 | tmzt | setting up the call stack |
08:59.46 | tmzt | but I would be happy to get green7.S working |
09:00.00 | tmzt | to get some feedback from screen or vibra |
09:00.33 | tpr | create a .c file |
09:00.43 | tpr | and use inline asm |
09:02.29 | tmzt | why? |
09:02.40 | tmzt | well |
09:02.55 | tmzt | I 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.26 | tpr | ./mach-msm/perf.c |
09:05.34 | tpr | asm volatile ( |
09:06.11 | tpr | there is asm in this file |
09:09.14 | tpr | Register 13 is typically the OS stack pointer |
09:09.40 | tpr | so its like esp in x86 |
09:10.07 | tpr | there is doc here : http://www.heyrick.co.uk/assembler/ |
09:12.23 | tpr | The new instructions are: (ARM7 / StrongARM extensions) |
09:12.23 | tpr | UMULL, UMLAL, SMULL, SMLAL. |
09:12.23 | tpr | LDRSB, LDRH, LDRSH, STRSB, STRH, STRSH. |
09:13.31 | tpr | register 13 is "\r13" in C |
09:14.07 | tpr | mmm |
09:15.38 | tpr | Unlike 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.17 | tmzt | nice |
09:17.34 | tmzt | what about periphrial port remap register? |
09:17.46 | tmzt | specifically on on msm7200a |
09:17.50 | tmzt | or 7201a |
09:17.51 | tpr | :) |
09:18.02 | tpr | check the file include/asm-arm/uaccess.h |
09:18.08 | tpr | there is macro for asm access |
09:18.14 | tpr | in c |
09:18.15 | tmzt | ok |
09:23.13 | tpr | there is another asm language as i can see |
09:23.16 | tpr | the APCS |
09:23.50 | tmzt | that's oabi I think |
09:24.06 | tpr | ARM Procedure Call Standard |
09:24.16 | tpr | http://www.heyrick.co.uk/assembler/apcsintro.html |
09:24.37 | tmzt | old abi |
09:24.45 | tmzt | not used in linux any more |
09:27.15 | tpr | was APCS-U |
09:27.20 | tpr | the 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.42 | tpr | but i dont understand what you need exactly |
09:29.28 | tpr | maybe that : http://www.heyrick.co.uk/assembler/pseudo.html |
09:29.33 | tpr | adr |
09:29.43 | tmzt | that code should work when booted and stripped from haret |
09:29.54 | tmzt | yeah, I have that |
09:34.38 | tpr | you need to backup registers in stack and restore them ? |
09:34.48 | tpr | like pusha/popa ? |
09:44.11 | LittleJ | can 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.16 | dzo | tpr: still around? |
10:18.57 | tpr | yes hi |
10:19.28 | tpr | trying to init bluetooth... |
10:19.46 | tpr | the driver is linked, and flashing led is working ;) |
10:19.46 | *** join/#htc-linux kvaster (n=kvaster@live.bn.by) |
10:19.50 | tpr | but |
10:19.58 | tpr | init gpio seems wrong... |
10:20.11 | tpr | hci is not detected |
10:20.51 | *** join/#htc-linux japanferd (n=japanfre@94-169-160-154.cable.ubr17.croy.blueyonder.co.uk) |
10:22.16 | dzo | hi, i see you made some kernel changes, could you push them to the ltg git. |
10:23.20 | tpr | i maybe need an account.... |
10:23.41 | dzo | go to the project page and request to join. |
10:23.58 | tpr | ok |
10:24.34 | dzo | http://projects.linuxtogo.org/projects/mobile-linux bottom right |
10:25.08 | tpr | login : tpruvot |
10:25.46 | tpr | made the request |
10:27.03 | dzo | ok, i accepted it, you should be good to go now. |
10:28.08 | tpr | ok hmm... is there a cert or something on this git ? |
10:30.30 | dzo | use ssh, e.g. git clone ssh"tpruvot@git.linuxtogo.org/home/groups/moble-linux/kernel.git htc-vogue |
10:30.46 | tpr | ok :) |
10:31.00 | tpr | i will make a new git clone for that on my system |
10:31.49 | dzo | use ssh-copy-id to avoid the password. |
10:32.44 | dzo | or you can just push your current repo, please make sure you don't break any of the other devices. |
10:33.16 | tpr | sure but... i'm testing other things... |
10:33.46 | tpr | git clone git://tpruvot@git.linuxtogo.org/home/groups/moble-linux/kernel.git htc-vogue |
10:33.55 | tpr | Initialized empty Git repository in /root/linuxtogo/htc-vogue/.git/ |
10:33.55 | tpr | fatal: Unable to look up tpruvot@git.linuxtogo.org (port 9418) (Name or service not known) |
10:35.03 | tpr | hmm maybe git@git.linuxtogo.org:tpruvot |
10:36.30 | dzo | should be ssh://tpruvot@git.linuxtogo........................... |
10:37.09 | tpr | argghh |
10:37.12 | tpr | Could not chdir to home directory /var/lib/gforge/chroot/home/users/tpruvot: No such file or directory |
10:37.12 | tpr | fatal: '/home/groups/moble-linux/kernel.git': unable to chdir or not a git archive |
10:40.56 | dzo | it doesn't seem to have created a home dir for you, strange. |
10:43.58 | dzo | perhaps it takes a while, try again later. |
10:44.27 | tpr | ok working |
10:44.55 | tpr | just have the warning : Could not chdir to home directory /var/lib/gforge/chroot/home/users/tpruvot |
10:45.02 | tpr | but downloading... |
10:46.01 | tpr | it could be a good idea to merge tiwlan module no ? |
10:46.20 | tpr | to have it directly in kernel... |
10:46.42 | dzo | perhaps, it needs the gpio changing for some devices. |
10:46.59 | dzo | we could make that a parameter or autodetected. |
10:47.29 | tpr | with a requieres in Kconfig |
10:51.55 | *** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net) |
10:54.15 | tpr | thanks |
10:54.35 | dzo | no problem, good luck. |
10:54.43 | tpr | =) |
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.57 | tpr | what is the msm_sdcc.msmsdcc_fmax=20000000 ? |
11:49.26 | tpr | we 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.34 | phh | tpr: no that's only sd controler |
11:56.45 | tpr | thanks |
11:56.46 | tids2k | phh . |
11:56.48 | tpr | :) |
11:57.33 | tpruvot | i just added a Kconfig option for azerty kaiser ;) |
11:57.37 | phh | tpruvot: i don't know the kaiser kernel, but in raph/diam branch it's just a kernel option |
11:57.56 | tpruvot | :) yea, not here, could be done |
11:57.58 | tpruvot | but... |
11:58.16 | tpruvot | not so usefull |
11:59.38 | phh | why do you ask then /o\ |
12:00.03 | tpruvot | if its the SD controller frequency |
12:00.17 | tpruvot | seems wifi is sdio too |
12:00.54 | phh | the kernel option is cpu frequency |
12:00.58 | phh | not sdcc frequency |
12:01.07 | tpruvot | ohh |
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.49 | tpruvot | is 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.15 | tmzt | wifi is sdio |
13:30.30 | tmzt | the sdcc min freq options were removed though I think |
13:31.59 | phh | groumpf, yesterday suspend (and staying suspended.) worked and resume took 10s. now it won't stay suspended but resume takes <1s. |
13:32.37 | tmzt | git bisect |
13:32.51 | phh | i didn't commit anything in the meantime. |
13:33.01 | phh | actually i think i haven't even rebuilt the kernel |
13:33.12 | tmzt | I see |
13:33.21 | tmzt | what did you change? |
13:33.27 | phh | i'd like to know. |
13:35.28 | phh | i get 0.2s sleeping for 1.5s to resume+suspend..... |
13:36.00 | phh | and all i know is that system get's awaken by "GPIO2" |
13:37.28 | tmzt | which is? |
13:37.53 | phh | http://htc-linux.org/wiki/index.php?title=Raphael_GPIO |
13:37.56 | phh | one of the bank 1. |
13:38.41 | phh | the only interrupt i get from powertop (in 15s) is gp_timer, whici is not on gpio. |
13:38.42 | tmzt | what's it connected to? |
13:38.52 | tmzt | what is the gpio-func settings? |
13:39.29 | phh | how do i know that ? |
13:41.00 | phh | and /proc/interrupts before/after doesn't give any change for gpios ... |
13:41.30 | phh | i might have to reread the doc. |
13:43.58 | phh | hu ? now it seems it's a nand irq /o\ |
13:45.31 | tmzt | read source |
13:45.42 | tmzt | interesting |
13:45.47 | tmzt | not gpio 2? |
13:47.13 | phh | you're right i should believe source not doc |
13:47.24 | phh | just have to find the dispatch thing mmm |
13:53.06 | phh | oh. i should read logs better, this irq doesn't wake up, it disable sleeping ... and as no module cares, it remains pending .. |
13:53.56 | tmzt | nand? |
13:54.02 | phh | yes |
13:54.16 | tmzt | probably not used |
13:54.35 | tmzt | but cr2 enabled it to read the wifi calibration |
14:00.54 | phh | [ 170.548217] active wake lock PowerManagerService |
14:00.55 | phh | funny. |
14:16.57 | *** join/#htc-linux FR^2 (i=frr@frquadrat.de) |
14:36.25 | tpruvot | beginning a lxr cross ref : http://epsy.ath.cx/lxr/source |
14:36.41 | tids2k | nice |
14:40.18 | phh | add linuxtogo's msm-2.6.27 |
14:42.58 | tpruvot | hmm :) i'm wrong... my 2.6.29 is 2.6.27 ;) |
14:43.03 | phh | ok |
14:43.03 | tpruvot | oups ;) |
14:43.27 | *** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl) |
14:43.33 | tpruvot | parsing in progress... |
14:45.46 | phh | what is this supposed to do ? a sort of big old diff between two branches ? |
14:45.53 | tpruvot | no |
14:46.01 | tpruvot | you can search |
14:46.04 | tpruvot | for constant etc |
14:46.16 | tpruvot | variables... and compare easyly branchezs |
14:46.22 | tpruvot | (when indexed....) |
14:46.28 | phh | ok |
14:46.41 | tpruvot | take a long time to do that... |
14:46.43 | phh | can you add non-git branches ? |
14:46.46 | tpruvot | sure |
14:46.57 | tpruvot | i dont use git feature for the moment |
14:47.01 | phh | the I7500's kernel can be useful |
14:47.44 | phh | ( http://img.kr.samsungmobile.com/images/opensource/download/OpenSource/GT-I7500_OpenSource.zip ) |
14:49.41 | tpruvot | ERREUR 404: Not Found. |
14:49.54 | phh | arf |
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.46 | tmzt | 20:54 < Bob_C_> Sure, if a VM section is mapped to address 0 |
15:24.12 | Gnutoo | hi,in fill_buffer in playwav2.c it seem that there is no sleep at all? is it normal? |
15:24.27 | Gnutoo | that is to say it fills the dsp buffer as fast as it can |
15:25.22 | tmzt | not sure |
15:25.32 | tmzt | is it it the same in playwav.c? |
15:27.32 | Gnutoo | I'll look |
15:29.31 | Gnutoo | seems so |
15:31.58 | Gnutoo | what I was looking was the period |
15:32.17 | Gnutoo | that is to say the frames number between 2 interupts |
15:32.49 | tmzt | oh |
15:33.00 | tmzt | and it doesn't sleep so there isn't one? |
15:33.46 | tmzt | seems playwav is for pre recorded playback |
15:34.03 | tmzt | no reason to support variable length streams or silence |
15:34.38 | tmzt | have you lookee at audioflinger? |
15:34.51 | Gnutoo | not a lot |
15:34.56 | Gnutoo | I'll look |
15:37.12 | Gnutoo | thanks for the advise |
15:42.25 | Gnutoo | mmm |
15:44.59 | Gnutoo | ok maybe I get it |
15:45.09 | Gnutoo | buffer size / buffer count = period |
15:45.11 | Gnutoo | but... |
15:45.26 | Gnutoo | but in alsa I bet buffer count = 4 |
15:45.31 | Gnutoo | and in android it's 2 |
15:45.39 | Gnutoo | (the minimum) |
15:45.55 | Gnutoo | and I bet alsa checks for the *4 |
15:45.57 | Gnutoo | strange.... |
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.16 | tpruvot | ok, http://epsy.ath.cx/lxr/source/arch/arm/mach-msm/?v=msm-2.6.27 |
16:29.22 | tpruvot | 2.6.27 indexed |
16:34.16 | *** join/#htc-linux ToAsT (n=Administ@115-106.96-97.tampabay.res.rr.com) |
16:34.59 | mdrobnak | Hi all. |
16:35.03 | phh | [ 429.167297] Rebooting in 3 seconds..<3>ARM9 has CRASHED |
16:35.04 | phh | \o/ |
16:35.19 | mdrobnak | dzo: Are you here? |
16:37.41 | ToAsT | im 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.05 | tmzt | are you toast? |
16:38.13 | tmzt | what did you ask last time |
16:38.26 | tmzt | phh: panic=0 |
16:38.38 | tmzt | how did you do that? |
16:38.47 | *** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net) |
16:38.57 | phh | tmzt: trying wifi after power collapse. |
16:39.04 | phh | what does panic=0 do ? |
16:39.11 | phh | kernel stays alive after kernel panic ? |
16:39.14 | tmzt | disable the panic reboot |
16:39.16 | tmzt | yeah |
16:39.19 | phh | cool |
16:39.34 | tmzt | that message shouldn't mean anything |
16:39.44 | ToAsT | tmzt: yep |
16:40.01 | ToAsT | anyhow would it work? |
16:40.23 | phh | ToAsT: why do you want to do that ? |
16:40.30 | tmzt | what build? |
16:40.54 | mdrobnak | Hey 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.59 | ToAsT | because 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.13 | ToAsT | 1.6 wifi |
16:41.13 | tmzt | ah |
16:41.17 | phh | ToAsT: you sure have the choice. |
16:41.21 | tmzt | what broke on diam500? |
16:41.34 | tmzt | also, how much ram do you have |
16:41.34 | ToAsT | mmc |
16:41.50 | tmzt | and can you provide cr2 with some dumps probably tomorrow |
16:41.56 | tmzt | I need smi layout |
16:42.10 | phh | ToAsT: it's frozen on mmc's detection ? |
16:43.09 | ToAsT | no it says waiting for sd card. with mtype 2040 and with 1805 it wont ven boot haret. it freezes |
16:43.27 | tmzt | what are those? |
16:43.35 | phh | try downclocking mmc |
16:43.36 | tmzt | it won't boot linux |
16:43.50 | phh | 1805 is diam100 afaik |
16:43.58 | tmzt | phh: it's a cdma device, shouldn't be using diam100 mtype |
16:44.05 | phh | i know. |
16:44.13 | tmzt | try raph800 |
16:44.22 | ToAsT | i know but i ws just tryin things out |
16:44.44 | phh | ToAsT: 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.13 | MadEchidna | ah ha that's more like it |
16:45.40 | MadEchidna | so, anyone running Android on HTC Kaiser? |
16:45.52 | MadEchidna | I've got the ION build from this thread on my AT&T Tilt http://forum.xda-developers.com/showthread.php?t=574510 |
16:46.25 | tpruvot | yes me |
16:46.29 | tmzt | the ril is bad |
16:46.51 | MadEchidna | tpruvot, what build do you use? |
16:47.02 | MadEchidna | ION works pretty well for me but ringtones seem to be broken |
16:47.05 | MadEchidna | I can't select one |
16:47.26 | tmzt | that might be sd problem |
16:47.30 | MadEchidna | is blasting Pandora on his Kaiser atm |
16:47.33 | tpruvot | same |
16:47.38 | tmzt | since the card is already mounted |
16:47.42 | tmzt | in android? |
16:47.44 | MadEchidna | I doubt it, I tried two different cards |
16:47.48 | ToAsT | no but the fixes that mrpippy made wont work on anything after commit ccc405498e03e49bd4dd78f1cd00c0cfcd7a2b39 |
16:47.48 | MadEchidna | yeah, in Android |
16:47.58 | polyrhythmic | MadEchidna the best ROM I've used on Kaiser is xROM |
16:48.04 | tmzt | how do you connect? |
16:48.06 | MadEchidna | link please ;) |
16:48.12 | tpruvot | http://github.com/tpruvot/android-initrd/zipball/master |
16:48.20 | tmzt | and that really belongs in #xda-devs |
16:48.24 | tpruvot | kernel for ion |
16:48.34 | tmzt | kernel for ion? |
16:48.36 | tmzt | ? |
16:48.39 | MadEchidna | is confused |
16:48.43 | MadEchidna | are you talking to me tmzt |
16:48.43 | tpruvot | kaiser+ion |
16:48.45 | tpruvot | http://tanguy.ath.cx/index.php?q=android_initrd |
16:48.50 | tmzt | also confused |
16:48.56 | tpruvot | build |
16:49.02 | MadEchidna | who is that link for tpruvot |
16:49.09 | tmzt | ion is magic |
16:49.16 | MadEchidna | yeah I know |
16:49.32 | MadEchidna | I'd like to try donut but the build I got from that thread doesn't work with my data for some reason |
16:49.35 | polyrhythmic | MadEchidna: you can try this ROM: http://vogue-hero.googlecode.com/files/system-xrom1.5r4c.sqsh |
16:49.36 | MadEchidna | even thought the settings are the same |
16:49.47 | polyrhythmic | Donut has hella problems on Kaiser, I would stay away from it for now if it doesn't work |
16:49.55 | MadEchidna | okay |
16:50.01 | polyrhythmic | I banged my head against the wall trying to figure out why and went back to xROM in the end |
16:50.03 | MadEchidna | also, should I just replace my current sqsh with that or what |
16:50.07 | phh | ToAsT: why PM ... ? |
16:50.10 | polyrhythmic | yes MadEchidna |
16:50.16 | MadEchidna | okay |
16:50.21 | ToAsT | sorry |
16:50.24 | MadEchidna | man I had the worst time with Android market yesterday |
16:50.27 | MadEchidna | wouldn't download anything |
16:50.29 | MadEchidna | works now though |
16:50.32 | phh | ToAsT: btw what are mrpippy's patch ? |
16:50.39 | MadEchidna | I actually bought DroidIRC :P |
16:50.48 | MadEchidna | oh, here's something amusing |
16:50.54 | polyrhythmic | I hear that's a good client |
16:51.03 | MadEchidna | I bought this Kaiser on Craigslist and payed extra for an 8 gig sd card right |
16:51.21 | MadEchidna | and when I was playing with android builds last night I somehow managed to slide it into the casing of my Eee PC |
16:51.23 | tmzt | ah, xrom is android? |
16:51.25 | MadEchidna | I have no idea where it went |
16:51.28 | *** join/#htc-linux rayman18 (i=opera@218.pool85-49-147.dynamic.orange.es) |
16:51.34 | MadEchidna | polyrhythmic, yes it is a great client |
16:51.36 | MadEchidna | worth every penny |
16:51.44 | mdrobnak | MadEchidna, Ouch. That sucks. |
16:51.44 | MadEchidna | the full desktop experience :) |
16:52.00 | MadEchidna | mdrobnak, fortunately I still have my 4 gig from my old phone ;) |
16:52.08 | mdrobnak | tmzt: Yeah, xROM is one of the newer builds, I like the Google Ion build much better. |
16:52.11 | MadEchidna | but I would like to figure out where my $40 investment went |
16:52.17 | mdrobnak | tmzt: err customized builds |
16:52.32 | MadEchidna | mdrobnak, I'm using google ion and I can't set ringtones |
16:52.35 | MadEchidna | which builds you use? |
16:52.39 | polyrhythmic | yeah the xROM has a good tradeoff of functionality, speed, and features |
16:52.44 | mdrobnak | MadEchidna, Doesn't the Eee PC have an SSD? |
16:52.51 | MadEchidna | the original model does |
16:52.53 | MadEchidna | there are many models |
16:53.03 | MadEchidna | mine has a SATA hard disk and atom processor |
16:53.06 | mdrobnak | MadEchidna, Oh. I was going to say to shake it until it falls out hehehe |
16:53.17 | MadEchidna | I don't understand why people still develop for the original Eee honestly |
16:53.29 | tmzt | mdrobnak: right |
16:53.30 | mdrobnak | MadEchidna, Do you have the "media" folder on your sd card? |
16:53.33 | MadEchidna | I could take some screws out I suppose |
16:53.43 | MadEchidna | mdrobnak, I don't know, I have to shut down my phone so I can look |
16:53.49 | tmzt | but he asked in #android and it seemed he was talking about an actual Ion |
16:54.11 | tmzt | eee is still a pc |
16:54.20 | mdrobnak | MadEchidna, Because ringtones didn't work on my Ion build until I downloaded that from the vogue-android site.. |
16:54.31 | mdrobnak | tmzt: ah. |
16:54.32 | tmzt | what would they be developing for it specifically for? |
16:54.37 | MadEchidna | tmzt: drivers and such |
16:54.49 | MadEchidna | some alt oses like AtheOS and Haiku target that specific sku |
16:54.57 | tmzt | sure |
16:55.02 | MadEchidna | or even Android for Eee |
16:55.03 | tmzt | because of the atlan |
16:55.07 | MadEchidna | it's sort of irritating to me |
16:55.17 | MadEchidna | because I go OH EEE VERSION awww never mind |
16:55.17 | tmzt | that was swetland originally |
16:55.39 | MadEchidna | <mdrobnak> MadEchidna, Because ringtones didn't work on my Ion build until I downloaded that from the vogue-android site.. |
16:55.46 | MadEchidna | could you give me a link to that please? |
16:55.52 | ToAsT | phh: those are his fixes. but they wont wor after the commit i posted |
16:55.54 | mdrobnak | Ok guys, I'm gonna need some help on my C code here..crashing during string comparison.. |
16:55.57 | mdrobnak | MadEchidna, Sure, one sec. |
16:56.10 | japanfred | anyone got the link to the Blackstone 1.6 ZIP for Android? |
16:56.11 | MadEchidna | but the consensus is that donut on kaiser is no go, eh? :( |
16:56.19 | japanfred | can't find it anywhere, lost my copy :-\ |
16:56.21 | tmzt | !strcmp !strncmp |
16:56.27 | mdrobnak | MadEchidna, 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.37 | polyrhythmic | donut either works on Kaiser or doesn't; there's no pattern we can find for WHY |
16:56.46 | polyrhythmic | polaris having the same problems |
16:56.54 | polyrhythmic | something about the RIL |
16:56.56 | MadEchidna | oh yeah I noticed while the kernel was booting it was asking me to unpack that file |
16:56.57 | tmzt | donut? |
16:56.57 | MadEchidna | silly me |
16:57.14 | MadEchidna | If I even ask about eclair am I going to make people upset :P |
16:57.43 | phh | MadEchidna: for eclair, at least wait the actual source code |
16:57.46 | mdrobnak | tmzt: Yeah I know that much about strin gcomparisons :) |
16:57.48 | polyrhythmic | well 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.54 | polyrhythmic | s just a long wait |
16:57.59 | MadEchidna | I bought my Kaiser used and the battery is totally trashed |
16:58.09 | MadEchidna | polyrhythmic, I heard that the G1 wasn't getting updates |
16:58.15 | MadEchidna | too old hardware or something |
16:58.18 | MadEchidna | if it is, great! |
16:58.22 | phh | lol |
16:58.29 | ToAsT | phh: did u check them out |
16:58.31 | MadEchidna | only reason I got kaiser instead of G1 is I have At&t |
16:58.39 | phh | ToAsT: url ? |
16:58.43 | MadEchidna | no way I'm forking over that kind of cash for a smartphone that I can't get 3g on |
16:59.23 | ToAsT | phh: http://forum.xda-developers.com/attachment.php?attachmentid=235532&d=1255061345 |
16:59.43 | ToAsT | phh: thats the patch |
16:59.59 | mdrobnak | Eek, I think I may have found one problem with my code..let me see if this fixes it.. |
17:00.11 | phh | ok so diam500 ~= diam100+CDMA.... |
17:00.24 | tmzt | zip gets unpacked after the kernel has booted |
17:00.43 | ToAsT | phh: http://forum.xda-developers.com/attachment.php?attachmentid=239395&d=1256158651 |
17:00.54 | ToAsT | phh: thats the config |
17:00.57 | MadEchidna | mdrobnak, please tell me about xrom |
17:01.02 | MadEchidna | I never heard of it before |
17:01.52 | ToAsT | phh: but yeah its kind of a dirty patch. but it works. more like a hack i guess |
17:01.56 | MadEchidna | oh cool, it uses ogg for ringtones |
17:02.06 | mdrobnak | MadEchidna, 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.43 | MadEchidna | hm |
17:02.54 | MadEchidna | so hey fellow Kaiser users, how's battery life |
17:03.01 | MadEchidna | this battery I have is trashed so it's hard to tell |
17:03.08 | MadEchidna | lasts like 2 hours in either os |
17:03.23 | mdrobnak | Ouch. Kaiser definitely lasts more then that in WinMo (have a friend with one) |
17:03.40 | polyrhythmic | I can get a couple days out of it in WinMo if I don't use too much data or GPS |
17:03.42 | MadEchidna | I already ordered a bigger battery on Amazon, but it won't be here for a bit |
17:03.46 | MadEchidna | what about Android though? |
17:03.50 | polyrhythmic | I can kill it with GPS and screen on in a hour or two |
17:03.58 | mdrobnak | http://pastebin.com/d3ea477b0 Ok here's my code that's crash crash crashing after the first iteration in the loop.. |
17:04.01 | ToAsT | phh: idk why the patch wont work on the new commits. i know alot has changed |
17:04.15 | MadEchidna | I would like to run Android full time, Winmo is horrible |
17:04.15 | polyrhythmic | Android I usually get about 7-8 hours, because data is on all the time |
17:04.18 | polyrhythmic | sometimes less |
17:04.18 | phh | ToAsT: i don't say any mmc related thing :/ |
17:04.25 | MadEchidna | polyrhythmic, that sounds fine! |
17:04.32 | MadEchidna | do you have the original battery? |
17:04.34 | polyrhythmic | standard battery |
17:04.37 | polyrhythmic | 1350mah |
17:04.40 | MadEchidna | I ordered a bigger one that makes the phone thicker |
17:04.45 | MadEchidna | so I should be in good shape |
17:04.54 | phh | s/say/see/ |
17:05.00 | tpruvot | xrom doesnt boot here |
17:05.06 | polyrhythmic | yeah android is hard on the battery, xROM is easy on the battery but some ROMs are worse |
17:05.07 | tpruvot | black screen |
17:05.19 | ToAsT | i was thinking thats why it uses diam100 |
17:05.26 | tmzt | phh: not exactly, diam500 is msm6501a |
17:05.28 | MadEchidna | I'm going to stick with ION if this media folder fixes my issue |
17:05.30 | MadEchidna | booting now |
17:05.41 | polyrhythmic | yeah you have to have ringtons in your /media folder |
17:05.52 | MadEchidna | I think it's really cool how you can run at a higher resolution than native and it looks okay |
17:05.53 | polyrhythmic | notification sounds in /notifications |
17:05.57 | MadEchidna | I tried native and it's way too tiny |
17:06.11 | phh | MadEchidna: just change lcd.density |
17:06.20 | MadEchidna | pardon? |
17:06.25 | MadEchidna | I have mine set at 160 atm |
17:06.41 | phh | the "tiny" thing can be fixed by changing lcd.density |
17:06.56 | MadEchidna | oh, so if it's running at native res I can still make things fit on screen sanely? |
17:07.04 | MadEchidna | what density do you reccomend |
17:07.12 | phh | it is meant to |
17:07.13 | phh | i don't know |
17:08.18 | MadEchidna | mmm ringtones |
17:08.21 | ToAsT | phh: is it possible to aply what u know and that fix to make a newer kernel that may work? |
17:08.35 | MadEchidna | thanks mdrobnak |
17:08.54 | mdrobnak | MadEchidna, No prob :-) |
17:08.57 | phh | ToAsT: no sorry, i know too little about cdma phones |
17:09.19 | phh | well if you have some time i can make some tries |
17:09.29 | ToAsT | sure |
17:11.06 | MadEchidna | okay I have another question, now that that's fixed |
17:11.12 | MadEchidna | my speaker phone is waaay too quiet |
17:11.16 | MadEchidna | not any louder than regualr |
17:11.19 | MadEchidna | *regular |
17:11.52 | tmzt | audiopara |
17:12.10 | MadEchidna | is that in the market or what |
17:12.26 | phh | tmzt: don't you think it's because of the speaker/headset thing ? (or something like, can't remember the exact names) |
17:12.47 | tmzt | could also be ril |
17:12.48 | *** join/#htc-linux kam187 (n=kam187@87-194-204-58.bethere.co.uk) |
17:13.02 | tmzt | yeah |
17:13.24 | ToAsT | phh: do u think the older commit is whats holding me back from wifi? |
17:13.26 | tmzt | read 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.46 | tmzt | but it's using the same path |
17:13.47 | phh | ToAsT: ho for wifi you can try to build it as is |
17:13.55 | tmzt | ToAsT: git bisect |
17:14.25 | phh | ToAsT: http://husson.hd.free.fr/automated-modules.tar |
17:14.34 | MadEchidna | anyone have any ideas for me, in english? :P |
17:14.42 | mdrobnak | LOL |
17:14.48 | phh | run 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.48 | mdrobnak | I was just about to ask the same question about my C code. |
17:15.08 | phh | mdrobnak: what about your C code ? |
17:15.34 | mdrobnak | phh: Any ideas on how to make it stop crashing on the string comparison? |
17:15.45 | mdrobnak | (See the pastebin from a few minutes ago) |
17:16.15 | MadEchidna | aaah what |
17:16.22 | MadEchidna | is anyone still talking about my speakerphone :P |
17:16.57 | phh | mdrobnak: line 91 ? |
17:17.11 | mdrobnak | phh: Yes., |
17:17.25 | phh | you have checked for null pointers first ? |
17:17.48 | phh | mdrobnak: btw, i have patches to make ril build for donut, should i push it somewhere ? |
17:18.31 | mdrobnak | phh: Github has a donut branch off the RIL. Not sure how to setup access for it.. |
17:18.47 | mdrobnak | phh: http://github.com/vilord/android-htc-ril |
17:18.49 | phh | ok, i'll create a github branch and ask for pull i think |
17:19.02 | phh | (and i can get data working with it !) |
17:19.06 | phh | (but still the DNS problems .) |
17:20.28 | mdrobnak | phh: 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.55 | phh | mdrobnak: this sleep's already in the ril |
17:21.02 | phh | anyway, opendns rox |
17:21.14 | mdrobnak | phh: 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.36 | mdrobnak | phh: 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.44 | phh | don't know at* functions |
17:22.22 | phh | mdrobnak: but are you sure this is needed for localisation anyway ? cellid is already reported somewhere else |
17:22.41 | phh | the NeighboringCellIds could make triangulation, but we don't really need it |
17:22.51 | mdrobnak | phh: That's exactly what it's for. |
17:22.53 | phh | (and i don't think AT+CREG does it) |
17:23.14 | mdrobnak | phh: No, you get multiple samples to figure out neighboring cells because the modem code sucks. |
17:23.43 | mdrobnak | We don't have a "show neighboring cells" like 90% of other phones have grr |
17:23.57 | mdrobnak | That would make the code super easy. |
17:24.02 | ToAsT | phh: and this may fix the wifi issue? or just make a compatable modules? |
17:24.15 | phh | ToAsT: the only wifi issue is having modules ... |
17:24.31 | ToAsT | oh |
17:24.39 | tmzt | didn'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.57 | mdrobnak | Oh, shit. I realized the problem. LOL |
17:26.34 | phh | mdrobnak: used cellid is already gotten in requestRegistrationState with the same AT+CREG command |
17:29.08 | mdrobnak | phh: I was comparing responseStr[i] which wasn't valid... I just changed it to responseStr. But it still crashes. |
17:29.09 | tmzt | there's an extended qualcomm unsol as well |
17:30.23 | mdrobnak | phh: But how can you re-use that data in the Neighboring cell id data? You only query 1 cell with the requestRegistrationState.. |
17:30.33 | mdrobnak | phh: You need like 3 cells. |
17:30.55 | phh | AT+CREG gets many cellids ? |
17:31.53 | phh | i thaught it answered only one |
17:32.27 | mdrobnak | Right. You need to do it multiple times |
17:32.41 | phh | mdrobnak: anyway, it uses cellid+estimated cellid's coverage, so having many cells only reduces possible area a bit |
17:33.14 | mdrobnak | phh: http://pastebin.com/d3f44ee52 |
17:33.32 | mdrobnak | That'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.59 | phh | debugging lines i bet ? :p |
17:34.07 | mdrobnak | yeah |
17:34.09 | mdrobnak | actually |
17:34.44 | mdrobnak | My string comparison is not working though. |
17:34.49 | tpruvot | ok :) first git push on htc-vogue kernel :) |
17:35.37 | tpruvot | added azerty option for kaiser, and begin work on rfkill bluetooth |
17:38.09 | phh | hu ? you haven't got rfkill yet ? |
17:41.01 | mdrobnak | Ah ha! |
17:41.04 | mdrobnak | I've figured out the problem. |
17:41.43 | tpruvot | got ? |
17:42.17 | phh | and i've got a new problem. |
17:42.26 | phh | wifi no longer works ... |
17:42.32 | mdrobnak | phh: Refresh the page for http://pastebin.com/d36fdda1f |
17:42.53 | *** join/#htc-linux leobaillard_ (n=leobaill@leobaillard.org) |
17:43.00 | phh | mdrobnak: what am i supposed to read |
17:43.07 | phh | (i'm not really used to radio logs) |
17:43.27 | mdrobnak | Look at what happens to the array values as time goes on.. |
17:43.45 | mdrobnak | All the lines that say D/RIL are of interest. |
17:44.01 | phh | 11-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.21 | mdrobnak | Exactly |
17:45.29 | mdrobnak | XXXX is my initialized string... |
17:45.37 | mdrobnak | Then it should be replaced with the value 4E35 in this case. |
17:45.41 | mdrobnak | But it's not. |
17:46.02 | mdrobnak | phh: Mind you, I wrote this code late last night.. lol |
17:46.02 | phh | can i see the code with debugging lines ? |
17:46.43 | mdrobnak | Ok, I see another problem. |
17:46.56 | mdrobnak | for (i=0; ((i<7 || samples <4 )&& err != 0);i++) { should have been for (i=0; ((i<7 && samples <4 )&& err != 0);i++) { |
17:47.15 | mdrobnak | Because I don't want more then 3 results. |
17:47.20 | mdrobnak | 3 results, or 6 tries is the idea. |
17:47.45 | kam187 | hmm can i add SMI as a memory bank that android can use? |
17:48.18 | mdrobnak | phh: Yeah, give me 2 minutes |
17:48.42 | phh | kam187: edit your board file, look at first bank init |
17:48.59 | phh | copy paste it with a 1 index instead of 0 and change base addr/size |
17:49.04 | phh | and increase nr_baks; |
17:49.27 | kam187 | hmm ok |
17:50.48 | *** join/#htc-linux toast (n=quassel@115-106.96-97.tampabay.res.rr.com) |
17:50.50 | kam187 | mi->nr_banks=1; |
17:50.50 | kam187 | mi->bank[0].start = PHYS_OFFSET; |
17:50.50 | kam187 | mi->bank[0].node = PHYS_TO_NID(PHYS_OFFSET); |
17:50.50 | kam187 | mi->bank[0].size = (101*1024*1024); |
17:51.08 | kam187 | that bit? I dont have that in my board file, but i'm trying to add it in setup.c |
17:51.21 | kam187 | which is the same thing |
17:51.40 | kam187 | they seem to ingicate the RAM with mem=109 |
17:51.46 | kam187 | and it gets added with arm_add_memory(start, size); |
17:53.23 | toast | phh: 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.40 | phh | toast: you have to set the kernel folder in build.sh |
17:53.55 | toast | i know and did |
17:54.09 | phh | which errors then ? |
17:54.51 | toast | build.sh: 8: pushd: not found |
17:55.03 | *** join/#htc-linux JoshuaL (n=JoshuaL@unaffiliated/joshual) |
17:55.04 | phh | ?!? |
17:55.08 | phh | what's your shell ?!? |
17:55.10 | toast | build.sh: 9: cannot open ../wireless.patch: No such file |
17:55.27 | phh | you ran init.sh in the automated-modules folder ? |
17:55.31 | phh | and build.sh too |
17:56.17 | toast | yes... i will errase everything and try again |
17:57.33 | toast | i took the init.sh and the build.sh out of the folder and put it in my kernel folder. is that wrong |
17:57.56 | phh | if you set paths correctly no |
17:58.11 | phh | but for the pushd, what's your shell |
17:58.19 | phh | not having pushd is really strange |
17:58.38 | toast | ubuntu |
17:58.59 | phh | that's not a shell. |
17:59.08 | phh | how do you run build.sh ? |
17:59.17 | tmzt | probably /bin/sh is ash |
17:59.36 | phh | erf ... |
17:59.41 | phh | bash build.sh. |
17:59.43 | toast | export PATH=~/diamond-dev/arm-2008q1/bin:$PATH |
18:00.07 | toast | sh build.sh |
18:00.20 | phh | yeah, don't use sh, use bash or zsh or whatever |
18:00.21 | phh | but not sh. |
18:00.32 | toast | ok. my bad |
18:00.34 | phh | well 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.49 | mdrobnak | ugh I hate pointers. |
18:01.58 | toast | ARNING: "lzo1x_decompress_safe" [/home/toast/diamond-dev/kernel/compcache-0.5.4/ramzswap.ko] undefined! |
18:01.58 | toast | WARNING: "lzo1x_1_compress" [/home/toast/diamond-dev/kernel/compcache-0.5.4/ramzswap.ko] undefined! |
18:02.19 | toast | thats my only errors now |
18:02.20 | phh | build lzo in your kernel. |
18:02.24 | phh | oh well |
18:02.26 | phh | you can forget it |
18:02.28 | phh | it's not wifi related |
18:03.13 | toast | phh: err.. that sux |
18:03.17 | kam187 | arm_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.23 | phh | toast: why ? |
18:03.25 | phh | kam187: ?!? |
18:03.29 | mdrobnak | Is 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.58 | toast | oh my bad. i took what u said wrong |
18:04.31 | tpruvot | mdrobnak: let me see... |
18:04.36 | phh | toast: hu ? |
18:04.45 | phh | <PROTECTED> |
18:04.45 | phh | <PROTECTED> |
18:04.45 | phh | <PROTECTED> |
18:04.45 | phh | <PROTECTED> |
18:04.48 | tmzt | toast: probably need a crypto thing |
18:04.48 | phh | is is supposed to be something like that |
18:04.51 | kam187 | phh: the htc booard inits do the bank setup in kernel fixup, to get around modifying setup.c |
18:05.06 | tmzt | because of the way codecs work in linux |
18:05.18 | mdrobnak | tpruvot, This line doesn't work: strcpy(responseStr, Location[i]); |
18:05.19 | kam187 | this is arm_add_memory |
18:05.19 | kam187 | size -= start & ~PAGE_MASK; |
18:05.19 | kam187 | bank = &meminfo.bank[meminfo.nr_banks++]; |
18:05.19 | kam187 | bank->start = PAGE_ALIGN(start); |
18:05.19 | kam187 | bank->size = size & PAGE_MASK; |
18:05.19 | kam187 | bank->node = PHYS_TO_NID(start); |
18:05.24 | kam187 | it's the same thing |
18:05.39 | tmzt | mdrobnak: huh? |
18:06.04 | tmzt | wow |
18:06.05 | tpruvot | char *strcpy(char *dest, const char *src); |
18:06.05 | tpruvot | char *strncpy(char *dest, const char *src, size_t n); |
18:06.18 | tmzt | device.exe crashed an keyled stopped working |
18:06.18 | toast | phh: now just take the module.....tar.gz and put it on the root of my card? |
18:06.18 | mdrobnak | Wait. |
18:06.20 | mdrobnak | It's dest first?! |
18:06.23 | phh | toast: yes |
18:06.26 | tpruvot | yes |
18:06.29 | phh | mdrobnak: yes. |
18:06.38 | mdrobnak | I swear ... |
18:06.41 | phh | lol |
18:06.45 | tpruvot | =p |
18:06.47 | toast | tmzt: crypyo thing? |
18:06.56 | tpruvot | http://linux.die.net/man/3/strcpy |
18:07.00 | tpruvot | for next ones ;) |
18:07.12 | tpruvot | i like the name of this site |
18:07.14 | mdrobnak | Ugh. Let me try that again then. |
18:07.32 | phh | tpruvot: i prefer man:strcpy in my konqueror :p |
18:07.45 | tpruvot | what i typed in chrome ;) |
18:08.12 | phh | man:strcpy doesn't need an internet connection :p |
18:08.37 | tpruvot | to paste its faster |
18:08.59 | tpruvot | ohh |
18:09.03 | tpruvot | ok i understund... |
18:09.10 | tpruvot | but i'm cabled like you |
18:09.17 | tpruvot | linked |
18:09.25 | *** join/#htc-linux makikvues (n=a@makikvues.sh.cvut.cz) |
18:09.31 | makikvues | hello |
18:09.39 | mdrobnak | tpruvot, Thanks! That helped a lot. Still not right, but MUCH better. |
18:09.47 | toast | ok 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.49 | mdrobnak | I swear I read it as src,dst last night.. |
18:10.05 | phh | toast: use Fur ? |
18:10.06 | makikvues | can somebody help me with haret? |
18:10.20 | phh | makikvues: ? |
18:10.27 | makikvues | hi phh |
18:10.29 | tmzt | or synce-pcp |
18:10.43 | kam187 | u guys seem cr2? |
18:10.50 | tpruvot | cant get it to work, the synce |
18:10.53 | phh | ~seen cr2 |
18:10.55 | apt | cr2 <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.56 | tpruvot | and now ive problems with adb |
18:11.12 | phh | makikvues: why PM ... ? |
18:11.16 | toast | i 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.07 | toast | idk... will bbe back |
18:12.15 | makikvues | i think it would be better but i can write here if you want |
18:12.44 | kam187 | phh: thanks |
18:12.50 | kam187 | so does anyone know how to disable the MPU on 7200A? |
18:12.56 | tmzt | what's the issue |
18:13.01 | phh | kam187: read datasheet ! |
18:13.02 | tmzt | kam187: never found it? |
18:13.16 | kam187 | its for the 7200, u think its the same? |
18:13.19 | phh | yes |
18:13.30 | kam187 | ok |
18:13.46 | kam187 | so its bit 0 of MPU register 0 |
18:13.49 | phh | <PROTECTED> |
18:13.59 | phh | that's maybe what you're looking for |
18:14.08 | kam187 | :) |
18:14.27 | phh | makikvues: i don't get why you want to PM ... |
18:14.39 | phh | if i go or can't answer you'll have to copy paste everything back to someone else |
18:14.48 | makikvues | ok |
18:14.54 | phh | kam187: #define MSM_AXIGS_PHYS 0xA8250000 |
18:15.21 | kam187 | cool |
18:15.35 | phh | does that match the datasheet ? |
18:15.45 | makikvues | so i don't know if haret produces right output |
18:15.51 | mdrobnak | Ok guys, I think I've narrowed it down a bit: http://pastebin.com/d3b9eeee5 |
18:16.01 | phh | makikvues: what do you mean with "right" ? |
18:16.09 | kam187 | phh: hmm i dont see an address for the register in the datasheet |
18:16.11 | makikvues | it would be better if i show you output from haret and then ask about it |
18:16.23 | tmzt | search for 'the mpu can be easily disabled' |
18:16.36 | tmzt | in logs |
18:16.39 | kam187 | ok |
18:16.57 | makikvues | when i type: watch gpios 1, output is something like that: |
18:17.14 | kam187 | 19:16 tmzt search for 'the mpu can be easily disabled' |
18:17.15 | kam187 | hahaha |
18:17.15 | makikvues | HaRET(2)# watch gpios 1 |
18:17.16 | makikvues | Beginning memory tracing. |
18:17.16 | makikvues | Watching GPIOS(00): Addr a9300000(@40e00000) |
18:17.16 | makikvues | ... |
18:17.23 | makikvues | Watching GPIOS(15): Addr a9300070(@40e00070) |
18:17.30 | makikvues | only to GPIOS(15) ... |
18:17.37 | tmzt | use pastebin.com |
18:18.04 | tmzt | you should also use haretconsole |
18:18.06 | makikvues | is this right? |
18:18.09 | phh | makikvues: 15 gpio banks seems fair. |
18:18.25 | phh | mdrobnak: RSSI are ints, why do you want to strcpy it ? |
18:18.33 | makikvues | isn't it to few? |
18:18.45 | makikvues | or i don't understand this? |
18:18.46 | tpruvot | itoa |
18:19.00 | phh | makikvues: it's gpio *banks*, you can set at most 255 GPIOs per bank |
18:19.07 | mdrobnak | phh: That could be a problem. |
18:19.15 | mdrobnak | phh: Not sure what I was thinking. |
18:19.16 | phh | so you can have up to 4080 gpios |
18:19.18 | phh | which seems fair |
18:19.20 | tmzt | makikvues: use haretconsole |
18:19.25 | makikvues | ok thanks, and so how can i watch gpio changes? |
18:19.34 | tpruvot | yep |
18:19.43 | tpruvot | http://www.handhelds.org/moin/moin.cgi/HaRET_20Documentation |
18:19.48 | phh | makikvues: the second argument of watch is the time to watch. |
18:19.48 | makikvues | i have read the documentation but its not clear for me |
18:19.49 | mdrobnak | phh: Just p_cellIds[i].rssi = RSSI[i][0]; should do it, right? |
18:20.02 | tmzt | what? |
18:20.03 | phh | mdrobnak: i assume so |
18:20.05 | makikvues | yes.. |
18:20.10 | tmzt | if it's already an int |
18:20.28 | mdrobnak | phh: No more warnrings from my function, thanks :) |
18:21.04 | mdrobnak | No crash! :-) |
18:21.04 | *** join/#htc-linux timebomb (n=tb@e177139237.adsl.alicedsl.de) |
18:21.11 | makikvues | and what's the difference between commands WATCH GPIOS x and WGPIO x ? |
18:21.19 | phh | makikvues: aliases. |
18:21.27 | phh | you know devs are lazy sometimes :p |
18:21.34 | makikvues | so no difference |
18:21.38 | makikvues | ok |
18:22.00 | makikvues | and now, how can i watch those max 255 GPIOS? |
18:22.19 | makikvues | when i typed watch gpios 1 |
18:22.37 | makikvues | only 2-3 gpios changed during 1 sec |
18:22.37 | phh | it does by default. |
18:22.46 | phh | that seems fair |
18:22.55 | phh | why would you want more gpio changes ? |
18:23.00 | tpruvot | argh first git push has locked :/// |
18:23.02 | makikvues | hmm |
18:23.09 | phh | tpruvot: linuxtogo ? |
18:23.13 | tpruvot | yep |
18:23.21 | phh | tpruvot: yeah broken for 2 weeks now. |
18:23.22 | tpruvot | first on ltg |
18:23.26 | makikvues | so it seems i don't understand this |
18:23.38 | tpruvot | how can dzo be able to push ? |
18:23.39 | makikvues | how can i for example get GPIO to usb pullup? |
18:24.04 | phh | makikvues: for instance on diam the only GPIO which is constantly called is vsync |
18:24.09 | phh | others are asynchronous events |
18:24.31 | phh | tpruvot: he pushed recently ? |
18:24.38 | tpruvot | 4 days ago |
18:24.43 | phh | strange |
18:24.47 | tpruvot | and gave me access this morning |
18:24.50 | makikvues | hmm ok |
18:24.56 | tpruvot | also ive this problem : Could not chdir to home directory /var/lib/gforge/chroot/home/users/tpruvot |
18:24.57 | makikvues | and another problem |
18:25.07 | *** join/#htc-linux ppman (n=mkern@pool-71-250-10-22.nwrknj.east.verizon.net) |
18:25.08 | phh | tpruvot: that's not a problem |
18:25.14 | tpruvot | ok |
18:25.20 | ppman | ~seen mdrobnak |
18:25.21 | apt | mdrobnak 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.33 | tpruvot | next time i'll diff before pushing |
18:25.35 | makikvues | i tried to ibit gpios 1; and the output from watch gpios 1 was the same as without ibit gpios 1 |
18:25.40 | mdrobnak | ppman: Right here lol |
18:25.46 | makikvues | is this ok? |
18:25.55 | ppman | figured from the <5m idle |
18:25.55 | phh | makikvues: depends if gpio1 changes or not ... |
18:26.15 | tpruvot | when i ssh to linuxtogo... i dont have "echo" |
18:26.21 | tpruvot | whatever i type |
18:26.31 | tpruvot | Ctrl+C also |
18:26.43 | phh | tpruvot: it isn't meant to give remote shell anyway |
18:27.00 | tpruvot | but i'm locked ;) |
18:27.17 | *** join/#htc-linux ToAsT (n=Administ@115-106.96-97.tampabay.res.rr.com) |
18:27.22 | makikvues | the command ibit gpios x isn't for "masking" gpios? |
18:27.34 | phh | makikvues: it disables polling for gpio X |
18:27.46 | ToAsT | ok... still unable to scan |
18:27.52 | phh | ToAsT: dmesg ? |
18:27.59 | phh | ToAsT: you have a calibration file ? |
18:28.11 | tpruvot | ok, kill works: p |
18:28.36 | tmzt | makikvues: are you using haretconsole? |
18:28.55 | ToAsT | i got one that was posted on the thread at xda. but no i still havent been able to generate one myself |
18:29.11 | phh | ToAsT: as long as you've got one something should happen anyway |
18:29.13 | phh | so dmesg !:p |
18:29.13 | makikvues | no |
18:29.22 | makikvues | tmzt: no |
18:29.27 | phh | dmesg -s 1000000 -c |
18:30.22 | ToAsT | trout wifi reset 0 |
18:30.37 | ToAsT | then trout wifireset1 |
18:30.55 | phh | yeah don't care about that |
18:31.05 | phh | hu wait |
18:31.12 | phh | mmm |
18:31.15 | phh | well might work anyway |
18:31.17 | phh | give full dmesg |
18:32.00 | kam187 | phh: where is writel defined? |
18:32.07 | phh | don't know |
18:32.11 | kam187 | ok :) |
18:32.30 | phh | anyway it's easy to do with haret |
18:32.51 | makikvues | tmzt: is there any difference between using haretconsole and not using it? |
18:33.04 | phh | makikvues: haretconsole's output is more readable |
18:33.31 | tpruvot | what is the linuxtogo .git/config url ? |
18:33.48 | tpruvot | maybe the fetch and push are not same |
18:34.13 | tpruvot | i used ssh://tpruvot@git.linuxtogo.org...../kernel.git |
18:34.32 | makikvues | i have some other question |
18:34.39 | ToAsT | phh: what am i looking for? |
18:34.47 | phh | ToAsT: why don't you just paste it ? |
18:34.55 | makikvues | command wgpio 5 produces something like: |
18:35.11 | makikvues | GPLR[76] changed to 1 |
18:35.16 | makikvues | GPLR[28] changed to 0 |
18:35.30 | ToAsT | cuz its on the phone. i cant get it to work with telnet or haretconsole |
18:35.53 | makikvues | so the output is different from watch gpios x |
18:36.04 | phh | ToAsT: dmesg -s 1000000 > /sdcard/dmesg |
18:36.10 | ToAsT | the print out always ends at go go go |
18:36.24 | makikvues | does that mean that these are different commands? |
18:36.28 | phh | reboot into wimo and copy \Internal storage\dmesg somewhere else |
18:36.39 | makikvues | when you said, wgpio is just alias.. |
18:36.55 | phh | makikvues: "wgpio" doesn't reset phone state |
18:37.01 | tmzt | makikvues: it won |
18:37.03 | phh | when you type it, the phone state changed, so did gpios |
18:37.26 | tmzt | makikvues: it won't decode the gpios without haretconsole |
18:37.37 | makikvues | tmzt: ok thanks |
18:37.38 | tmzt | which is at handhelds.org/~loconnor |
18:37.44 | tmzt | which is at handhelds.org/~koconnor |
18:37.45 | makikvues | tmzt: i'll give it another try |
18:38.30 | ToAsT | it sux i cant input numbers into the android shell. lol err |
18:38.30 | makikvues | do i need haret-w when i'm running hp ipaq 614 - pxa 270 ? |
18:38.35 | tmzt | what device? |
18:38.40 | tmzt | no |
18:38.45 | tmzt | just samsung |
18:39.23 | tmzt | well for dumping certain registers you do |
18:39.23 | phh | ToAsT: forget the -s 10000000 then |
18:39.34 | tmzt | sorry, that was gnuharet for samsung |
18:39.56 | ToAsT | phh: i gotta telnet into this damn thing |
18:40.02 | phh | ToAsT: adb doesn't work ? |
18:40.23 | ToAsT | no it never finds the device |
18:40.43 | makikvues | tmzt: ok thanks |
18:41.53 | ToAsT | is the initrd set up to use usbnet so i can telnet in? |
18:42.02 | phh | ToAsT: no |
18:43.15 | tpruvot | just type telnetd in the Terminal |
18:43.33 | ToAsT | if using adb is there some sort of driver needed to do it in linux |
18:43.42 | phh | no |
18:43.47 | tpruvot | and connect to your wifi ip |
18:43.49 | phh | just run adb as root |
18:44.00 | phh | tpruvot: he is trying to get wifi up you know ? |
18:44.05 | tpruvot | :p |
18:44.06 | tpruvot | no |
18:44.07 | ToAsT | tried |
18:44.11 | tmzt | no driver |
18:44.21 | tmzt | it's libusb |
18:44.34 | tpruvot | # ifconfig lo up |
18:44.34 | tpruvot | # ifconfig usb0 192.168.10.1 netmask 255.255.255.0 up |
18:44.34 | tpruvot | # route add default gw 192.168.10.100 usb0 |
18:44.34 | tpruvot | # telnetd -l /bin/sh |
18:45.15 | tpruvot | but need to set your host usb address |
18:45.24 | phh | and it needs board-htcdiamond.adb=0 |
18:47.43 | tpruvot | ok http://epsy.ath.cx/lxr/source/ just finished :p |
18:49.28 | tpruvot | was looking for that :) |
18:49.28 | tpruvot | no 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.47 | kam187 | phh: it crashes |
18:49.51 | kam187 | even 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.05 | kam187 | cr2! |
18:50.08 | kam187 | just the man |
18:50.09 | phh | kam187: if it's protected it's because AMSS use it ... |
18:50.40 | kam187 | cr2: sorry had to run yesterday.. here's the AMSS for the samsung http://www.megaupload.com/?d=6U49FWZ0 |
18:51.17 | mdrobnak | thinks his code is crap. |
18:51.28 | phh | mdrobnak: who cares ? :p |
18:51.36 | phh | people look at code only when it doesn't work |
18:52.20 | ToAsT | sorry |
18:52.34 | mdrobnak | phh: LOL |
18:52.45 | kam187 | cr2: 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.52 | ToAsT | ok back into linux |
18:54.24 | kam187 | and i tried to disable the MPU, but that also crashes. In fact even writing it back as 1 (enabled) crashes |
18:55.26 | cr2 | amss: ELF 32-bit LSB executable, ARM, version 1, statically linked, corrupted section header size |
18:55.30 | cr2 | hm. |
18:55.35 | tpruvot | ok, updated http://github.com/tpruvot/android-initrd |
18:55.45 | tpruvot | with good ramzswap module... |
18:55.46 | kam187 | its the AMSS file from the firmware |
18:55.49 | tpruvot | tx phh ;) |
18:55.50 | kam187 | so it probably has a container |
18:55.59 | cr2 | objdump -p amss |
18:56.15 | cr2 | looks good to me |
18:56.24 | kam187 | cool |
18:56.36 | phh | tpruvot: hu? why ? |
18:56.45 | tpruvot | your build script ;) |
18:56.53 | phh | oh |
18:56.54 | tpruvot | i had version 0.6.0 |
18:56.59 | kam187 | right at the end i see 00006E01 |
18:57.04 | tpruvot | which is no more compatible |
18:57.05 | cr2 | paddr 0x17a6a000 memsz 0x00001000 |
18:57.13 | kam187 | so i assume its loaded to 0x016e0000 |
18:57.17 | kam187 | oh |
18:57.20 | cr2 | <PROTECTED> |
18:57.49 | cr2 | paddr 0x00a24000 memsz 0x00006000 flags rw- |
18:58.12 | cr2 | <PROTECTED> |
18:58.27 | kam187 | so it is in upper EBI then :) |
18:58.34 | cr2 | <PROTECTED> |
18:58.35 | *** join/#htc-linux toi (n=toi@d54C2A96D.access.telenet.be) |
18:58.49 | cr2 | looks 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.09 | cr2 | http://htc-linux.org/wiki/index.php?title=RaphaelMemoryMap |
18:59.18 | kam187 | yeah i was looking at that |
19:01.06 | kam187 | so isnt there a huge part of the lower SMI64 bank thats unused? |
19:02.13 | cr2 | paddr 0x00b01000 memsz 0x01212bcc flags rwx |
19:02.39 | cr2 | 11+18~=31 |
19:02.55 | kam187 | oh so its full |
19:02.58 | cr2 | then 31-32 smem |
19:03.03 | MadEchidna | hey guys |
19:03.11 | *** join/#htc-linux gazab (n=gazab@c-2d85e555.04-117-6c6b7013.cust.bredbandsbolaget.se) |
19:03.17 | MadEchidna | do the HTC headphone adapters generally work on Android |
19:03.20 | cr2 | the 9th is probably oemsbl |
19:03.24 | MadEchidna | I might get one for my Kaiser |
19:03.34 | cr2 | kam187: do you have /dev/mem ? |
19:03.37 | kam187 | yeah |
19:03.45 | cr2 | does it work ? |
19:03.55 | kam187 | it only reads upper 32mb of SMI and EBI allocated to android |
19:04.06 | kam187 | so nothing over the 109mb or lower SMI |
19:04.14 | tpruvot | maybe for firmware update |
19:04.34 | kam187 | # devmem 0x02000000 |
19:04.34 | kam187 | devmem 0x02000000 |
19:04.34 | kam187 | 0xFFFFFFFF |
19:04.34 | kam187 | # devmem 0x01E00000 |
19:04.34 | kam187 | devmem 0x01E00000 |
19:04.35 | kam187 | [1] Bus error devmem 0x01E00000 |
19:04.37 | kam187 | # devmem 0x16d00000 |
19:04.39 | kam187 | devmem 0x16d00000 |
19:04.41 | kam187 | [1] Bus error devmem 0x16d00000 |
19:04.54 | cr2 | ok |
19:05.32 | cr2 | kam187: is the smem dumpable ? |
19:05.50 | kam187 | devmem 0x01F00000 |
19:05.50 | kam187 | 0x00000000 |
19:05.51 | kam187 | yep |
19:05.56 | toast | ok 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.02 | cr2 | do you have gps ? :) |
19:06.16 | kam187 | u mean GPS receiver in the phone? yeah? |
19:06.19 | kam187 | *yeah |
19:06.50 | cr2 | kam187: does dd work on /dev/mem ? |
19:07.00 | kam187 | i tried it and it didnt |
19:07.02 | kam187 | maybe i got it wrong |
19:07.38 | toast | phh: are u able to telnet or use adb? |
19:07.46 | kam187 | dd if=/dev/mem of=/sdcard/mem.bin bs=1024 |
19:07.48 | kam187 | like that? |
19:08.12 | cr2 | dd if=/dev/mem of=junk bs=4096 skip=$((0x01f00)) count=$((0x100)) |
19:08.25 | kam187 | cool |
19:08.50 | kam187 | # dd if=/dev/mem of=junk bs=4096 skip=$((0x01f00)) count=$((0x100)) |
19:08.50 | kam187 | dd if=/dev/mem of=junk bs=4096 skip=$((0x01f00)) count=$((0x100)) |
19:08.50 | kam187 | 0+0 records in |
19:08.50 | kam187 | 0+0 records out |
19:08.50 | kam187 | 0 bytes transferred in 0.003 secs (0 bytes/sec) |
19:08.52 | kam187 | :( |
19:09.11 | kam187 | .. /dev/mem: read error: Bad address |
19:09.12 | toast | can anyone help me with adb? |
19:09.46 | cr2 | kam187: hm. it's the same problem on all msm kernel |
19:09.56 | kam187 | ahh |
19:10.11 | toast | adb doensnt find my device |
19:10.27 | kam187 | so if i understand u right, the AMSS decompresses to the top of EBI and also all of the lower 31mb of SMI? |
19:10.48 | cr2 | but since devmem works, the androids fucked something in the driver |
19:11.03 | kam187 | yeah looks like it |
19:11.10 | cr2 | it's not compressed |
19:11.28 | kam187 | but its only ~18mb, why does it need 31mb of SMI too? |
19:11.29 | cr2 | the sections are loaded in smi and ebi1 |
19:11.33 | tmzt | toast: check lsusb |
19:11.41 | kam187 | two copies? |
19:12.05 | cr2 | not 31, but 21(+1) |
19:12.20 | toast | Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub |
19:12.20 | toast | Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub |
19:12.20 | toast | Bus 002 Device 004: ID 0bb4:0b2e High Tech Computer Corp. |
19:12.20 | toast | Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub |
19:12.23 | cr2 | why two copies ? just different elf sections |
19:12.58 | kam187 | yeah 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.02 | cr2 | if the virtual memory is fragmented ,you don't talk about 10 program copies. |
19:13.25 | cr2 | .data , .bss , whatever |
19:13.41 | toast | tmzt: is this my diamond? Bus 002 Device 004: ID 0bb4:0b2e High Tech Computer Corp. |
19:14.11 | cr2 | toast: looks like /dev/ttyUSB0 |
19:14.19 | mdrobnak | Google 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.25 | tmzt | that's probably wm |
19:14.35 | tmzt | you need to unplug and replug |
19:14.57 | cr2 | mdrobnak: your last NAT probably |
19:15.05 | toast | im havent booted haret yet |
19:15.15 | kam187 | paddr 0x17a6a000 memsz 0x00001000 4k |
19:15.15 | kam187 | paddr 0x00a00000 memsz 0x00020ea0 ~131k |
19:15.15 | kam187 | paddr 0x00a24000 memsz 0x00006000 24k flags rw- |
19:15.15 | kam187 | paddr 0x16d00000 memsz 0x00d45000 13.2Mb flags rwx |
19:15.15 | kam187 | paddr 0x17a45000 memsz 0x00024068 144k flags rw- 1600000 |
19:15.15 | kam187 | paddr 0x00b01000 memsz 0x01212bcc 18mb flags rwx |
19:15.21 | mdrobnak | cr2: No, in WinMo it actually figures out where I am using just network |
19:15.34 | cr2 | mdrobnak: googel is evil |
19:15.39 | mdrobnak | cr2: My location code sorta works, but it's messy as hell. |
19:15.46 | kam187 | so its using 13mb EBI1 + 18mb SMI64 |
19:16.23 | cr2 | kam187: so what. it needs some ram for MDSP, and so on. |
19:16.49 | tmzt | location? |
19:16.58 | kam187 | ok, so 13mb in EBI + 5mb ram it needs, so it takes 18mb there |
19:17.09 | kam187 | and i guess in SMI there is the bootloader which is about 10mb right? |
19:17.19 | cr2 | kam187: raph/diam also uses 13MB in EBI1. rhod/topa even more |
19:18.02 | kam187 | ok, so we can say the 18mb EBI it uses is not reclaimable |
19:18.05 | toast | <PROTECTED> |
19:18.12 | phh | toast: depends on the board-htcdiamond.adb flag but yes i can do both |
19:18.18 | cr2 | kam187: bootloader is irrelevant. the oemsbl takes 1 MB, the rest is APPSBL (maybe) and GPU0 |
19:18.29 | cr2 | some weird android 3D ram |
19:18.38 | kam187 | hmm, but GPU0 is in stacked memory? |
19:18.38 | cr2 | aka pmem |
19:18.50 | cr2 | look at the kernel source |
19:18.56 | cr2 | on g1 it is |
19:19.03 | toast | phh: so i need go and check that value?! |
19:19.05 | kam187 | yeah, i can see there is stacked SMI with GPU0 |
19:19.09 | phh | toast: you can set it. |
19:19.18 | *** join/#htc-linux chab7 (n=chab7@fibhost-67-206-132.fibernet.hu) |
19:19.39 | mdrobnak | If anyone could help with getting the location stuff working, that would be great : http://www.drobnak.com/ril-with-location.c |
19:19.39 | kam187 | then MDP, ADSP, CAMERA is in upper SMI64 |
19:19.52 | cr2 | looks like diam100 |
19:19.56 | kam187 | and GPU1 and FB is allocated by the kernel inside the 109mb available to android |
19:20.27 | cr2 | mdrobnak: can we patch raph100 with your 115MB layout ? |
19:20.37 | mdrobnak | cr2: I think so. |
19:20.48 | toast | phh: confused?!?! do i need to add it to the startup txt |
19:20.51 | mdrobnak | I put up a patch on my site for dzo the other day to commit. |
19:20.56 | phh | toast: to cmdline yes |
19:21.12 | cr2 | kam187: GPU0 in lower SMI is something that amss is expecting. because there is a pmem RPC |
19:21.29 | mdrobnak | cr2: Oops. Didn't make a patch. One sec. |
19:21.33 | kam187 | ok so there isnt anything we can do about that |
19:21.39 | cr2 | horrible undocumented mess, if you ask me ;) |
19:21.55 | kam187 | we could try to get about 2mb from lower SMI64 but its probably not worth the mess :p |
19:22.01 | cr2 | kam187: unless you give up in pmem |
19:22.14 | cr2 | but then you can say adnroid goodbye :) |
19:22.20 | kam187 | hehe |
19:22.28 | kam187 | ok so we have another problem :p |
19:22.44 | kam187 | We moved FB to upper SMI64 to save 1mb |
19:22.47 | kam187 | works fine |
19:22.57 | cr2 | yes, it's not a problem |
19:23.01 | kam187 | then we moved GPU1 to upper SMI64 too |
19:23.11 | kam187 | its ok, but the driver seems to expect it to be in EBI |
19:23.20 | cr2 | ok |
19:23.27 | kam187 | its looking in EBI and not SMI so 3D crashes :( |
19:23.33 | phh | kam187: so it's not ok ... |
19:23.47 | toast | phh: ok added this board-htcdiamond.adb |
19:23.59 | kam187 | D/EGL.oem ( 1497): SMI region at virtual=0x45cf0000, physical=0x100000, size=8388608 offset=0 |
19:23.59 | kam187 | D/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.59 | kam187 | D/EGL.oem ( 1497): REGS region at virtual=0x45bf0000, physical=0xa0000000, size=1048576, offset=0 |
19:24.05 | toast | phh: is that correct |
19:24.11 | cr2 | phh: do you boot with the patched clocks ? |
19:24.16 | phh | cr2: no |
19:24.29 | *** join/#htc-linux chab7 (n=chab7@fibhost-67-206-132.fibernet.hu) |
19:24.44 | cr2 | phh: it crashes ? |
19:24.50 | phh | that was my bad |
19:24.52 | phh | let me try it again |
19:24.54 | mdrobnak | cr2: http://www.drobnak.com/raph-115mb-pmem-debug.patch |
19:24.55 | cr2 | ok |
19:25.34 | kam187 | how do u get 115mb in raph? :p |
19:25.43 | phh | read the patch. |
19:26.04 | GNUtoo | hi http://pastebin.com/m71b2f161 bypasses the waiting mplayer ioctl...what do you think of it? |
19:26.09 | GNUtoo | still not working |
19:26.12 | GNUtoo | but still.... |
19:26.14 | cr2 | kam187: you can have up to 0x16d |
19:26.17 | mdrobnak | arrh. wait one sec |
19:26.31 | phh | kam187: EBI2. |
19:26.37 | kam187 | ahh, but we can't because the AMSS is loaded there :( |
19:26.58 | phh | kam187: hu ? AMSS takes the whole EBI2 ? |
19:27.09 | toast | phh: idk but that didnt work |
19:27.11 | cr2 | phh: ebi2 is nand |
19:27.14 | kam187 | we only have 128mb in our phone, only EBI1 |
19:27.22 | phh | cr2: hu ? |
19:27.28 | kam187 | oh yeah EBI2 is slow interface isnt it |
19:27.30 | phh | then why is there 2 banks ? |
19:27.42 | phh | oh it's commented |
19:27.43 | cr2 | both ebi1 |
19:27.53 | phh | ok |
19:27.56 | mdrobnak | Ok, the right patch is there now. |
19:27.57 | cr2 | just discontiguous |
19:28.44 | cr2 | mdrobnak: the smi size and such things may be stored in nand |
19:29.14 | cr2 | like gsensor calibration, ts calibration, wifi eeprom, ... |
19:29.56 | mdrobnak | cr2: True, they "parse engineering tags" to figure out such things in other ROMs. |
19:30.09 | mdrobnak | cr2: I guess Samsung might just do things differently. |
19:30.12 | cr2 | mdrobnak: maybe replace 115 with 128-EBI1_LOCKED ? |
19:31.14 | cr2 | mdrobnak: engineering tags are in nand anyway |
19:31.14 | mdrobnak | Anyway, gotta run for now. Back later. Hopefully someone can help me clean up my horrible C and loops./ |
19:31.39 | toast | phh: yeah adb not workin for me |
19:31.54 | phh | toast: what does dmesg on host says ? |
19:32.08 | phh | usb 2-1: new high speed USB device using ehci_hcd and address 70 |
19:32.08 | phh | usb 2-1: New USB device found, idVendor=0bb4, idProduct=0c02 |
19:32.08 | phh | usb 2-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0 |
19:32.08 | phh | usb 2-1: Product: MSM USB |
19:32.08 | phh | usb 2-1: Manufacturer: HTC |
19:32.08 | cr2 | this stupid ATAG mumbo-jumbo is simply ridiculous |
19:32.10 | phh | usb 2-1: configuration #1 chosen from 1 choice |
19:32.16 | phh | is there something like that ? |
19:33.04 | kam187 | cr2: thanks for the help :) We're gonna try to patch the driver so we can shift GPU1 |
19:33.55 | toast | [ 349.847726] usbcore: registered new interface driver rndis_host |
19:33.55 | toast | [ 349.867179] usbcore: registered new interface driver rndis_wlan |
19:33.55 | toast | [ 360.852055] eth1: no IPv6 routers present |
19:33.55 | toast | [ 1211.274975] usb 2-1: USB disconnect, address 4 |
19:33.55 | toast | [ 1211.279708] eth1: unregister 'rndis_host' usb-0000:00:13.0-1, RNDIS device |
19:33.57 | toast | [ 1216.632046] usb 1-1: new high speed USB device using ehci_hcd and address 18 |
19:33.59 | toast | [ 1216.744286] usb 1-1: device descriptor read/64, error -71 |
19:34.01 | toast | [ 1216.960080] usb 1-1: device descriptor read/64, error -71 |
19:34.03 | toast | [ 1217.176076] usb 1-1: new high speed USB device using ehci_hcd and address 19 |
19:34.05 | toast | [ 1217.288117] usb 1-1: device descriptor read/64, error -71 |
19:34.08 | toast | [ 1217.504083] usb 1-1: device descriptor read/64, error -71 |
19:34.10 | toast | [ 1217.720075] usb 1-1: new high speed USB device using ehci_hcd and address 20 |
19:34.12 | toast | [ 1218.128095] usb 1-1: device not accepting address 20, error -71 |
19:34.14 | toast | [ 1218.240070] usb 1-1: new high speed USB device using ehci_hcd and address 21 |
19:34.16 | toast | [ 1218.648082] usb 1-1: device not accepting address 21, error -71 |
19:34.19 | toast | [ 1218.648128] hub 1-0:1.0: unable to enumerate USB device on port 1 |
19:34.21 | toast | [ 1219.020587] usb 2-1: new full speed USB device using ohci_hcd and address 5 |
19:34.23 | toast | [ 1219.220550] usb 2-1: not running at top speed; connect to a high speed hub |
19:34.25 | toast | [ 1219.275846] usb 2-1: configuration #1 chosen from 1 choice |
19:34.28 | toast | [ 1219.394551] rndis_host 2-1:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47 |
19:34.30 | toast | [ 1219.418448] eth1: register 'rndis_host' at usb-0000:00:13.0-1, RNDIS device, 80:00:60:0f:e8:00 |
19:34.32 | toast | [ 1223.426605] plasma[3793]: segfault at 7fba0000003e ip 00007fba57e09570 sp 00007fff7d16f218 error 4 in plasma_applet_networkmanagement.so[7fba57df0000+4b000] |
19:34.34 | toast | [ 1229.592065] eth1: no IPv6 routers present |
19:34.36 | toast | [ 1564.375976] usb 2-1: USB disconnect, address 5 |
19:34.39 | toast | [ 1564.380736] eth1: unregister 'rndis_host' usb-0000:00:13.0-1, RNDIS device |
19:34.39 | phh | ... |
19:34.55 | toast | phh: ? |
19:35.06 | phh | that's "a bit" long. |
19:35.19 | toast | sorry |
19:36.31 | toast | phh: my phone is accually in android right now |
19:37.16 | phh | cr2: 460800 no longer works ... |
19:37.32 | phh | no improvements for 4M or 920600 |
19:37.32 | tmzt | in MFG? |
19:37.56 | cr2 | phh: but 115200 work ? |
19:38.06 | phh | yes |
19:38.06 | toast | phh: i select active sync mode on my phone when it hooks up usb |
19:38.13 | tmzt | toast: your kde doesn't seem to be compatible with multiple interfaces |
19:38.15 | cr2 | phh: impossible :) |
19:38.33 | phh | cr2: 460800 clock hasn't been changed ? |
19:38.37 | tmzt | cr2: smi size is in MFG? |
19:38.47 | phh | erf it's the same as 115200 |
19:38.49 | cr2 | phh: 115200 is using 460800 clock |
19:38.56 | toast | tmzt: yeah it crashed kdm |
19:38.56 | tmzt | must be as it's on cmdline for magic |
19:38.59 | phh | ooohhh |
19:39.01 | toast | kde |
19:39.02 | phh | wrong hciattach :D |
19:39.06 | cr2 | lol |
19:39.42 | phh | ok 460800 works :) |
19:39.50 | cr2 | 921600 ? |
19:40.14 | phh | seems to work :) |
19:40.22 | cr2 | 4mbit ? :) |
19:40.37 | phh | cr2: nice work :-) |
19:40.50 | cr2 | it was buggy hciattach then :( |
19:40.55 | phh | most likely yes |
19:40.58 | phh | life sucks. |
19:41.04 | phh | android sucks |
19:41.05 | cr2 | np |
19:41.20 | cr2 | btw, fm |
19:41.26 | toast | tmzt: is kde the problem? |
19:41.38 | phh | cr2: you have some script to test ? :) |
19:41.38 | cr2 | there is no subversion registry tag |
19:41.48 | phh | so it's a hci command |
19:42.08 | cr2 | version=2 means "load FM_on_2_1.bts" |
19:42.13 | cr2 | version=1 means "load FM_on_2_0.bts" |
19:42.28 | cr2 | everything else is a bug, no .bts is loaded |
19:43.27 | phh | so it's in registry ? |
19:44.03 | phh | but what happens when we hard reset ? |
19:44.07 | cr2 | yes |
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.38 | phh | what'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.40 | cr2 | wtf ? |
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.04 | mdrobnak | ah 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.05 | cr2 | lol |
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.06 | toast | crazy |
19:47.07 | phh | don'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.11 | tmzt | toast: 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.12 | cr2 | phh: so you need to load _2_1.bts |
19:47.12 | toast | tmzt: 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.17 | phh | cr2: what about FMInit ? |
19:47.17 | phh | and TIInit ? |
19:47.17 | *** join/#htc-linux miknix (n=miknix@81.193.85.131) |
19:47.17 | cr2 | phh: Fminit is not used |
19:47.17 | phh | strange |
19:47.17 | cr2 | FM_on.bts |
19:47.18 | cr2 | but we don't have it |
19:47.18 | toast | duh nework manager sorry |
19:47.37 | cr2 | TIInit has switch to 4Mbit as the first command |
19:48.02 | cr2 | but if you will extract the rest, you can create a big hcitool shell script |
19:48.14 | flyback | YOUR 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.38 | cr2 | kam187: i'd really like to see the smem dump after gps start |
19:50.15 | phh | hcitool cmd 0x3f 0x23a 0xfe 0x00 |
19:50.15 | phh | #ACTION_WAIT_EVENT : 5000 msec, 9 size, data = 0x04 0x0e 0x06 0x00 0x3a 0xfe 0x00 0x00 0x00 |
19:50.21 | phh | hcitool cmd 0x3f 0x23a 0xfe 0x00 |
19:50.21 | phh | < HCI Command: ogf 0x3f, ocf 0x023a, plen 2 |
19:50.21 | phh | <PROTECTED> |
19:50.21 | phh | > HCI Event: 0x0e plen 6 |
19:50.23 | phh | <PROTECTED> |
19:50.24 | cr2 | phh: there are some interrupt driven things though. i think rds messages are unsolicited too |
19:50.25 | phh | i bet i'm doing it wrong. |
19:50.43 | phh | cr2: through HCI ? |
19:50.48 | mdrobnak | Ok, now I'm outta the house. See yas |
19:51.24 | cr2 | phh: yes |
19:51.29 | phh | ok |
19:51.30 | cr2 | what are you doing wrong ? |
19:51.39 | phh | sending 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.15 | phh | cr2: what should the first command in fm_on_2_1.bts look like when translated to hcitool ? |
19:54.40 | cr2 | samsung has patched something in gps ;) |
19:54.56 | phh | anything useful for us ? |
19:56.01 | cr2 | # FM ON |
19:56.02 | cr2 | # ------------------------------------------------------------------ |
19:56.04 | cr2 | ACTION_SEND_COMMAND: ogf=0x3f ocf=0x137 -> 0x01 0x37 0xfd 0x01 -> payload -> 0x01 |
19:56.05 | cr2 | ACTION_WAIT_EVENT : 5000 msec, 7 size, data = 0x04 0x0e 0x04 0x00 0x37 0xfd 0x00 |
19:56.10 | cr2 | ACTION_WAIT_EVENT is not needed |
19:56.25 | cr2 | ACTION_SEND_COMMAND will be |
19:56.40 | cr2 | hcitool cmd 0x3f 0x137 0x01 |
19:57.03 | cr2 | i may patch the source this way |
19:57.36 | phh | i should discard the last byte ? |
19:58.43 | cr2 | <PROTECTED> |
19:59.46 | cr2 | HCITOOL: hcitool cmd 0x3f 0x137 0x01 |
19:59.47 | cr2 | HCITOOL: hcitool cmd 0x3f 0x23a |
20:00.38 | phh | ok that's what i get |
20:00.45 | phh | but i don't get correct wait_events |
20:01.10 | phh | maybe i have to call ti init |
20:01.21 | cr2 | ok |
20:02.40 | cr2 | try this one |
20:02.42 | cr2 | HCITOOL: hcitool cmd 0x3f 0x237 0x03 0x35 |
20:02.59 | cr2 | it'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.19 | toast_ | tmzt: nm gone |
20:04.32 | toast_ | tmzt: now what? |
20:06.50 | toast_ | tmzt: dmesg looks much cleaner now for sure |
20:08.13 | NexVision | cr2 u got any new images for me to try |
20:08.41 | *** join/#htc-linux rafyvitto (n=rafyvitt@24.54.253.34) |
20:08.51 | rafyvitto | hello guys |
20:09.15 | cr2 | NexVision: you have topa or rhod ? |
20:09.17 | rafyvitto | is there any channel for qsd linux kernel development? |
20:09.25 | NexVision | rhod |
20:09.38 | cr2 | rafyvitto: @android |
20:09.55 | cr2 | NexVision: hmm. it's more difficult |
20:10.08 | rafyvitto | woot thx, my acer f1 is arriving tomorrow =] |
20:10.14 | phh | cr2: i ran TIInit and FM_on, what should i do next ? |
20:10.43 | cr2 | phh: switch the sound ? |
20:10.48 | *** join/#htc-linux Reactor16 (i=Reactor1@93.182.132.139) |
20:10.50 | phh | sure... how ? |
20:11.07 | cr2 | there were 2 AT commands |
20:11.38 | toast_ | tmzt: it still doesnt show a device |
20:11.53 | cr2 | NexVision: do you have disp*dll somewhere around ? |
20:11.59 | phh | cr2: which is ... ? |
20:12.19 | cr2 | phh: can't find the hdd ;) |
20:12.25 | cr2 | will look directly |
20:13.34 | NexVision | i have disptools.dll |
20:13.42 | cr2 | AUDIOLOOPBACK, SetAUDIO 3 |
20:13.43 | kam187 | cr2: 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.58 | kam187 | Is that how you're 115mb raph patch works? you reclaim that 5mb? |
20:14.00 | phh | cr2: hu ? that's an AT command ? |
20:14.43 | cr2 | kam187: we have amss @0x173* |
20:14.55 | cr2 | phh: hmm |
20:15.00 | cr2 | NexVision: dcc ? |
20:15.02 | kam187 | oh its loaded at 173 default? |
20:15.16 | kam187 | i assume there's no way to relocate our AMSS? |
20:15.27 | tmzt | cr2: huh? there are no htc devices with qsd and android |
20:15.42 | tmzt | cr2: we need haret support anyway |
20:16.29 | kam187 | oh so another question. I tried to add 8mb of the SMI64 (upper part) as a second bank using arm_add_memory |
20:16.32 | kam187 | but the kernel crashes |
20:16.48 | cr2 | kam187: use fixup, like we do |
20:16.48 | kam187 | i can read it with devmem so i know its not protected |
20:17.10 | kam187 | samsung dont have fixup, they use mem=109 to pass the size over :-/ |
20:17.11 | cr2 | tmzt: for what ? |
20:17.26 | tmzt | for cortex-a8 |
20:17.37 | tmzt | as well as wm 6.5 maybe |
20:17.41 | cr2 | tmzt: ok. cpu docs ? |
20:17.55 | tmzt | from arm |
20:17.58 | Reactor16 | Hi All |
20:18.12 | cr2 | tmzt: does somebody have such a device ? |
20:18.24 | cr2 | NexVision: ok |
20:18.43 | tmzt | rafy is getting one |
20:18.54 | toast_ | tmzt: can u help me oru to busy |
20:19.12 | tmzt | with? |
20:19.15 | cr2 | phh: check AT smem buffer after starting the fmradio |
20:19.23 | tmzt | are you using FUNCTION ETHER? |
20:19.39 | tmzt | please dmesg -c and plug your device |
20:19.47 | rafyvitto | its an acer neotouch s200, i think android might jump start as soon as the acer liquid gets release and studied =] |
20:19.57 | tmzt | what? |
20:20.01 | tmzt | liquid |
20:20.01 | rafyvitto | the acer liquid is the android variant of the acer f1 |
20:20.07 | tmzt | ah |
20:20.07 | phh | cr2: groumpf |
20:20.09 | kam187 | cr2: 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.32 | tmzt | kam187: arm add memory may no longer work after a certain point |
20:20.44 | tmzt | you need to study hotplug |
20:20.54 | phh | cr2: can't you do that ? :D |
20:20.58 | phh | don't want to reboot |
20:21.03 | kam187 | oh |
20:21.12 | kam187 | so should i just make a 'fixup' instead? |
20:21.21 | tmzt | we've tried that |
20:21.38 | tmzt | you might try chainloader next |
20:22.07 | cr2 | phh: i need to reconfigure AP for that... |
20:22.25 | cr2 | phh: usb does not work. |
20:22.25 | tmzt | look at the .cmd files in arch/arm/boot |
20:22.35 | phh | cr2: give me the command then |
20:22.41 | tmzt | or arch/arm/boot/compressec |
20:22.44 | kam187 | cr2: how can i make the upper EBI (AMSS) part visible to devmem? |
20:23.06 | phh | cr2: i mean the address of at buffer |
20:23.10 | phh | or a way to get it. |
20:23.15 | cr2 | kam187: no idea |
20:23.15 | toast_ | [ 1939.754012] usb 2-1: USB disconnect, address 5 |
20:23.15 | toast_ | [ 1939.757773] usb0: unregister 'cdc_subset' usb-0000:00:13.0-1, Linux Device |
20:23.23 | cr2 | phh: wiki ? |
20:23.30 | kam187 | cr2: doesnt the MPU protect it from read? |
20:23.31 | phh | cr2: it's in memory map ? |
20:23.38 | cr2 | phh: yes |
20:23.54 | phh | ok |
20:23.55 | cr2 | kam187: yes |
20:23.59 | tmzt | to disable mpu before jumping to kernel |
20:24.28 | kam187 | but i can't disable it before the kernel, because i have no access to the bootloader :( |
20:24.29 | phh | cr2: DS cid=0, ATCMD TX SMD_BASE_ID ? |
20:24.35 | tmzt | wait |
20:24.37 | kam187 | I cant disable it _in_ the kernel? |
20:24.51 | cr2 | kam187: what's the point of destroying amss ?? |
20:24.52 | tmzt | only in early kernel |
20:24.58 | cr2 | phh: yes |
20:25.02 | tmzt | maybe in fixup |
20:25.08 | *** join/#htc-linux balans (n=barry@53546505.cable.casema.nl) |
20:25.19 | kam187 | cr2: i dont want to destroy it :) I want to see if the 5mb after the 13.2mb is usable |
20:25.22 | cr2 | kam187: disable mem= parsing |
20:25.39 | AstainZZZZZZ | cr2! |
20:25.41 | kam187 | cr2: ok so disable mem= and make a fixup? (for adding SMI bank) |
20:25.58 | cr2 | kam187: yes. |
20:26.04 | kam187 | cool will try that |
20:26.06 | phh | cr2: i don't understand wiki's table :/ |
20:26.13 | cr2 | kam187: but android may dislike it |
20:26.35 | kam187 | oh, has it ever been tried before? |
20:28.29 | cr2 | kam187: android crashes with discontiguous banks on raph100 |
20:28.36 | phh | cr2: is it 0x01f00000++0x1c210 ? |
20:28.54 | kam187 | cr2: ohh i see, that may be the problem i'm having :( |
20:30.11 | kam187 | i 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.43 | cr2 | +0x1c210 means 0x01f00000 + 0x1c210 |
20:31.56 | cr2 | and the first 0x14 bytes are control header |
20:32.11 | phh | alright |
20:33.17 | toast_ | should adb see my phone even when its still in wm? |
20:33.18 | cr2 | pwf myAT 0x01f1c224 0x2000 |
20:33.30 | cr2 | before and after fm |
20:34.21 | toast_ | anyone? |
20:35.23 | *** join/#htc-linux stickboy_ (n=anonymou@Bobby-PC.moore.clarkson.edu) |
20:36.28 | phh | cr2: don't know if it is of any help, but there are AGPS related AT commands |
20:36.54 | cr2 | it's the init |
20:37.33 | phh | +AT+CFUN? |
20:37.33 | phh | +AT+CSMS?;+CPMS? |
20:37.33 | phh | +AT+CFUN? |
20:37.33 | phh | +AT+CSMS?;+CPMS? |
20:37.36 | phh | it's one of those |
20:38.06 | phh | cr2: any idea ? |
20:38.07 | *** join/#htc-linux toast_ (n=quassel@115-106.96-97.tampabay.res.rr.com) |
20:38.24 | cr2 | no |
20:38.28 | cr2 | not these |
20:38.49 | cr2 | the audio switch is a WAV1: ioctl, so the code must be in wavedev.dll |
20:41.10 | phh | phh @ phh-desktop ~/fur % strings wavedev.dll|grep AT |
20:41.10 | phh | phh @ phh-desktop ~/fur % |
20:41.11 | phh | .. |
20:41.15 | cr2 | FM_SetAudioPath(2) |
20:41.39 | cr2 | FM_AUDIO_PATH_EARPHONE |
20:41.54 | cr2 | FM_SetAudioPath(1) |
20:42.54 | cr2 | from 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.01 | kam187 | PBUS_BASE = 0xA0E00000 |
20:51.08 | kam187 | Peripheral Bus MPU Registers |
20:51.08 | kam187 | These registers start at address 0x0040. |
20:51.08 | kam187 | 0x0400 PBUS_MPU_ENABLE |
20:51.41 | kam187 | does that mean writel(0,0xA0E00000+0x400); to disable MPU? |
20:52.07 | kam187 | the start at 0x0040 is a bit confusing :p |
20:53.25 | toast_ | so everyone was killed by a utility bot earlier |
20:57.48 | kam187 | what MSM is the raphael? |
20:58.55 | phh | cr2: i can't get it :( |
20:58.55 | *** join/#htc-linux leaigor (n=laigor@188.134.16.241) |
20:59.04 | kam187 | MSM7200? not 7200A right? |
21:03.32 | phh | cr2: 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.59 | toast_ | so can someone give me a hand at adb? |
21:06.34 | phh | if lsusb doesn't show MSM USB, it's most likely your kernel is way too hold |
21:07.41 | toast_ | isusb |
21:08.35 | cr2 | phh: at@startgps crashes arm9 too |
21:08.38 | toast_ | Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub |
21:08.38 | toast_ | Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub |
21:08.38 | toast_ | Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub |
21:08.41 | phh | cr2: oO |
21:08.52 | phh | cr2: what a stupid ARM9. |
21:10.06 | toast_ | phh: im guessing it looks that way? |
21:10.35 | phh | toast_: if you have only hubs then it doesn't work. |
21:12.36 | toast_ | phh: sorry Bus 002 Device 011: ID 0bb4:0b2e High Tech Computer Corp. |
21:13.11 | toast_ | phh: but nothing about msm usb |
21:13.19 | phh | well htc is ok |
21:13.31 | japanfred | can anyone get the contents of this for me please, http://rs496.rapidshare.com/files/292702787/default.txt |
21:14.10 | toast_ | do i need to add this to my udev rules? |
21:14.21 | phh | toast_: not if you ran adb as root |
21:15.07 | phh | toast_: when you launched adb as root, you checked that there was no adb daemon running as user right ? |
21:15.44 | toast_ | what is it killall adb? |
21:15.51 | phh | yes |
21:16.46 | toast_ | if i still gotta type sudo for some commands that means im not root. right? |
21:16.57 | phh | sudo is enough |
21:17.42 | toast_ | so... export PATH=$PATH:~/diamond-dev/android-sdk/tools |
21:17.52 | toast_ | then adb devices |
21:18.07 | phh | sudo adb devices .... |
21:18.08 | *** join/#htc-linux luminoso (n=lumos@av-217-129-139-239.netvisao.pt) |
21:20.21 | toast_ | phh: sudo: adb comand not found |
21:20.34 | phh | sudo -s then export then adb devices |
21:21.38 | phh | adb devices should say it needs to start some daemon |
21:22.05 | *** join/#htc-linux mes (n=mes@S0106000c417884fe.cc.shawcable.net) |
21:22.20 | toast_ | it does the list devices with nothing afterwards |
21:23.19 | phh | with board-htcdiamond.adb=1 ? |
21:24.20 | toast_ | ok i was in winmo sorry |
21:24.29 | phh | ..... |
21:24.55 | toast_ | i know u wanna stab me. sorry |
21:25.13 | cr2 | phh: ok, so the problem is clear. how to switch audio to fm |
21:27.31 | toast_ | phh: but yeah.. still nothing |
21:27.44 | toast_ | maybe its the kernel |
21:27.46 | phh | toast_: lsusb ? |
21:28.14 | toast_ | Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub |
21:28.14 | toast_ | Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub |
21:28.14 | toast_ | Bus 002 Device 012: ID 0bb4:0c02 High Tech Computer Corp. |
21:28.14 | toast_ | Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub |
21:28.43 | phh | dmesg ? |
21:28.47 | phh | (and don't flood here again. |
21:29.44 | toast_ | [ 5743.408109] usb 2-1: new full speed USB device using ohci_hcd and address 12 |
21:29.44 | toast_ | [ 5743.673133] usb 2-1: configuration #1 chosen from 1 choice |
21:30.23 | toast_ | [ 5743.036162] usb 1-1: device not accepting address 49, error -71 |
21:30.23 | toast_ | [ 5743.036211] hub 1-0:1.0: unable to enumerate USB device on port 1 |
21:30.40 | toast_ | also getting those |
21:33.03 | toast_ | is there any special place to put board-htcdiamond.adb=1? i put it right after the keyboard toggle, still inside the " |
21:33.32 | toast_ | could that be the problem? |
21:33.44 | phh | that's okay |
21:34.00 | phh | maybe usb wasn't implemented |
21:34.04 | toast_ | idk... im stumpt |
21:34.31 | phh | read the source. |
21:34.39 | phh | anyway you'd better get current branch work |
21:35.21 | toast_ | 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.03 | toast_ | wish more diam500 users would give this a shot |
21:36.47 | toast_ | thanx anyways, man |
21:39.08 | phh | toast_: use a recent kernel and get messages with ramconsole |
21:40.10 | toast_ | i never could even find out how to get ramconsole. is that like haretconsole or telnet |
21:40.36 | phh | ramconsole 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.23 | toast_ | and how do i access this |
21:41.45 | toast_ | just us haret console |
21:41.51 | toast_ | use |
21:42.06 | toast_ | ? |
21:42.41 | phh | in haretconsole type pwf '\Internal Storage\dmesg' 0x8000000 0x8000 |
21:43.04 | phh | 0x00800000 |
21:43.24 | *** join/#htc-linux Squarc1 (n=Squarc@82-217-32-29.cable.quicknet.nl) |
21:43.24 | phh | and read dmesg in your internal storage. |
21:45.12 | toast_ | 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.50 | phh | ? |
21:48.45 | phh | you do this pwf command *after* linux boot |
21:48.55 | phh | you'll get previous dmesg |
21:49.01 | toast_ | ok |
21:49.05 | phh | "instantly" (the time for pwf to run) |
21:49.36 | toast_ | i even if i cant get past the splash? |
21:49.46 | phh | yes |
21:49.52 | phh | which splash ? |
21:50.00 | toast_ | android |
21:50.16 | phh | lol that's way enoguh |
21:50.25 | toast_ | ok |
21:50.38 | phh | when android's splash shown you even can call adb logcat |
21:50.47 | phh | or adb shell dmesg |
21:51.30 | toast_ | ok |
21:52.05 | *** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821) |
21:52.24 | toast_ | just the latest from glemstorms site will do? |
21:52.48 | phh | yes |
21:54.54 | toast_ | like i said thanx for the help |
21:55.26 | toast_ | and all uve done |
22:02.13 | toast_ | phh: ok im using the one that came with the package. im at haret now |
22:02.36 | toast_ | so boot then run ur command? |
22:02.58 | phh | run the kernel once first yes |
22:03.48 | toast_ | all the way through and see what it does? |
22:04.05 | phh | wait until it freezes/reboot |
22:04.53 | phh | see if adb logcat/shell gives nothing |
22:05.13 | phh | and 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.02 | toast_ | it froze sayin pc_clk_disable:fixme! disabling a clock |
22:07.32 | phh | gives the full dmesg .. |
22:07.41 | toast_ | yes |
22:07.59 | cr2 | pdsm_get_pdapi_version |
22:08.17 | toast_ | doesnt have an ena bit: 24 |
22:08.58 | toast_ | soft reseting now |
22:12.49 | *** join/#htc-linux MethoS- (n=clemens@134.102.106.250) |
22:14.45 | cr2 | pdsm_get_parameters. oh |
22:17.10 | cr2 | hm. 89 is batt |
22:17.32 | cr2 | f2d105fa |
22:17.41 | kam187 | hmm now i'm really confused |
22:17.45 | cr2 | i'm wondring how do they create such versions |
22:17.54 | phh | cr2: that's a version number ? |
22:18.08 | kam187 | if GPU1 is allocated by kernel then its value becomes in the range 0xc0000000, which is 'virtual' kernel memory |
22:18.29 | cr2 | yeah. bizarre |
22:18.31 | toast_ | phh: now how do i read it? lots of chicken scratch |
22:18.47 | phh | toast_: it is supposed to be almost cleantext |
22:18.47 | kam187 | if i allocate it to a physical space i get an error from pmem saying it can't find the physical address |
22:18.56 | cr2 | phh: 612x amss |
22:19.04 | kam187 | i guess its trying to find the physicall address of 0x0380000 |
22:19.55 | toast_ | phh: it is till it says boot |
22:20.11 | phh | toast_: ? |
22:21.09 | toast_ | idk... and i dont wanna post it. its pretty long |
22:21.30 | phh | why don't post it ... ? |
22:22.15 | toast_ | ill erase the the data and try again |
22:22.38 | phh | ? |
22:22.47 | phh | is it only garbage or is there some text in it ? |
22:23.19 | toast_ | there is text in it. but 95% is garbage |
22:24.25 | phh | you're using latest glemsom's release right ? |
22:24.44 | toast_ | no. the one that came with the pack |
22:24.57 | phh | which pack ... ? |
22:25.07 | phh | page 500 ? |
22:25.19 | toast_ | 1.6 wifi. yes |
22:25.31 | phh | ok |
22:25.31 | toast_ | yes page 500 |
22:25.39 | phh | you're using diamond cdma mtype ? |
22:25.45 | toast_ | 2040 |
22:25.56 | toast_ | yep |
22:26.28 | phh | i thaught you didn't even get SD detection with it ? |
22:27.26 | toast_ | thats what i thought but it just crashed on the line i mentioned earlier |
22:27.41 | phh | then it didn't even get android's splashscreen |
22:27.47 | toast_ | no |
22:28.10 | toast_ | like i said ill get another image and try |
22:28.42 | phh | get 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.32 | cr2 | phh: touchscreen calibration is also in nand |
22:41.42 | phh | easily readable ? |
22:42.00 | phh | understandable i mean. |
22:42.33 | cr2 | no |
22:42.38 | cr2 | crc too |
22:42.46 | cr2 | tsc2003 again on rhod |
22:43.17 | cr2 | strange |
22:43.24 | cr2 | supports both |
22:46.50 | cr2 | fmaudio_enable |
22:48.06 | cr2 | updateaudiopath |
22:48.29 | toast_ | phh: can u believe it crashed in the same spot |
22:48.31 | cr2 | phh: it seems that we need to mess with ADIE/smem here |
22:48.44 | phh | what's that ? |
22:48.54 | phh | toast_: yes |
22:49.15 | toast_ | waiting to check the dmesg |
22:52.37 | toast_ | pwf '\Internal Storage\dmesg' 0x8000000 0x008000000 right? |
22:52.43 | cr2 | phh: then you need to mmutrace the audio area |
22:52.49 | phh | toast_: no |
22:53.04 | phh | pwf path 0x008000000 0x8000 |
22:53.06 | phh | cr2: arg |
22:53.32 | cr2 | phh: 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.45 | townkat | guys, what's left, only gps and camera? i heard wifi and bt work, well done ;) |
22:56.55 | phh | for what ? |
22:57.13 | toast_ | phh: am i suppose to be setting my ramsize in my default.txt to 0x008000000? |
22:57.16 | phh | raph/diam ? |
22:57.20 | townkat | yup |
22:57.26 | phh | toast_: no |
22:57.32 | toast_ | ok |
22:58.10 | cr2 | townkat: fm radio and tvout |
22:58.21 | phh | and cameras |
22:58.26 | townkat | gps works ? |
22:58.28 | toast_ | well its a bit more readable but still nothing real differant |
22:58.33 | cr2 | android is so lame that it does not support them ? :) |
22:58.35 | phh | townkat: no |
22:58.50 | phh | cr2: i can't get init code :'( |
22:58.51 | cr2 | fm and tv |
22:58.58 | cr2 | phh: strange |
22:59.06 | phh | it seems easy, but all i get is kernel panic |
22:59.13 | cr2 | phh: i'm for a standalone version |
22:59.19 | cr2 | kernel panic ? |
22:59.34 | phh | when detecting camera on i2c bus yes |
22:59.48 | toast_ | phh: this is what i put in pwf '\Internal Storage\dmesg' 0x008000000 0x8000 |
22:59.50 | phh | i no longer have this kernel so i can't say for sure |
22:59.53 | cr2 | hmm. |
23:00.04 | cr2 | you need power gpios, and also rpc clocks |
23:00.09 | phh | toast_: no, 0x008000000 is the addr of ramconsole, that's all |
23:00.17 | phh | cr2: and two vregs iirc |
23:00.41 | townkat | so: gps, fm, camera, tvout? |
23:00.50 | phh | usb host |
23:00.58 | townkat | :) |
23:01.01 | phh | working power management |
23:01.09 | toast_ | phh: u wanna try and read it? |
23:01.23 | phh | toast_: why not |
23:01.45 | toast_ | how u want me to get it to u |
23:02.03 | phh | phhusson@free.fr |
23:02.59 | townkat | is wifi working as it should? or it needs wm initialization or other tricks ? |
23:03.10 | townkat | i cant test, i have a blac |
23:03.17 | phh | townkat: android is still buggy, but wifi driver are ok |
23:04.17 | townkat | i read about calibration file, why is it needed in linux and not in wm ? |
23:04.33 | phh | it is needed in WM .... |
23:04.41 | phh | it's in the nand |
23:04.59 | townkat | hmm, then linux dont know how to read the nand ? |
23:05.39 | phh | we 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.25 | phh | so i prefered using "short use" releases with nand support, than support it in the every day build |
23:06.49 | toast_ | phh: sent |
23:06.51 | townkat | yup, i agree :) |
23:07.17 | phh | but i should do it cleaner |
23:07.24 | phh | toast_: wth ?!? |
23:08.11 | toast_ | thats was ur email right |
23:08.14 | townkat | i think he sent you the email |
23:08.28 | phh | yes yes |
23:08.30 | phh | i received it |
23:08.34 | phh | the "wth" if for the content. |
23:09.15 | toast_ | ?!?!?! |
23:09.17 | phh | you're doing it wrong. |
23:09.24 | phh | i don't know how, but wrong. |
23:09.24 | cr2 | b78, b44, b69, b5c |
23:10.12 | toast_ | phh: ~/diamond-dev/haretconsole$ python console 169.254.2.1 |
23:10.31 | cr2 | 0, 4, 1, 4 |
23:10.53 | toast_ | phh: then pwf '\Internal Storage\dmesg' 0x008000000 0x8000 |
23:11.22 | phh | ok there is a '0' too much |
23:11.29 | phh | 0x00800000 0x8000 |
23:11.47 | toast_ | shit!!!!! |
23:12.04 | phh | (too many '0' kill '0's) |
23:12.50 | toast_ | no since makes since |
23:13.06 | phh | you got a readable dmesg now ? |
23:13.24 | toast_ | hold up |
23:17.14 | cr2 | good night |
23:19.18 | toast_ | some what readable |
23:19.38 | toast_ | u can see what its talkin bout |
23:19.46 | phh | please send then |
23:22.07 | toast_ | done, sent, |
23:23.22 | toast_ | phh: i might need to do the whole thing over again |
23:23.39 | phh | ? |
23:23.58 | toast_ | there was still chicken scratch |
23:24.05 | toast_ | did u get it |
23:24.15 | phh | .... |
23:24.18 | phh | still not that. |
23:25.19 | phh | reboot into linux, soft reset and run pwf just after wince booted |
23:30.20 | toast_ | ok |
23:30.24 | toast_ | did it |
23:31.50 | phh | still no true text ? |
23:32.42 | toast_ | nope |
23:32.55 | toast_ | did u get the last one i sent |
23:33.13 | toast_ | or the second one |
23:33.21 | phh | i got two |
23:34.34 | toast_ | it shows error messages in it but its like the second one. with the random shit all over the place |
23:35.30 | phh | does it looks like linux's dmesg ? |
23:35.50 | toast_ | et ADC_MULTI_RESOLUTION = 10 Bits! |
23:35.50 | toast_ | <PROTECTED> |
23:35.50 | toast_ | <PROTECTED> |
23:36.17 | phh | yup, not related at all. |
23:37.07 | toast_ | RAM test is finished!! pin_test Parameter fail!! <Dword Boundry>...... Over the DDR size!! Pin fail....... OK....... Invalid cmd!... |
23:37.07 | toast_ | <PROTECTED> |
23:38.02 | phh | this 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.48 | toast_ | what sould i need to look for then. i guess its a norm for things to fail |
23:39.02 | phh | this isn't supposed to fail. |
23:39.49 | phh | time to go to sleep anyway |
23:40.44 | toast_ | dern... alright man thanx for the time and help |
23:42.37 | toast_ | i feel like it took all day to get nowhere |