00:00.49 | Rogro82 | the previous kernels i had couldnt extract the gz images and would hang half way... now i dont have any problems anymore... you also have those poblems dcordes? |
00:01.02 | dcordes | cya rolk |
00:01.23 | dcordes | Rogro82: sounds like you fixed it |
00:01.42 | dcordes | I can try my luck getting smd to work in your tree |
00:02.02 | Rogro82 | the vogue mmc seems different from the one we are using |
00:02.21 | dcordes | yea |
00:02.39 | dcordes | you mean the hardware or the msm_sdcc code? |
00:03.22 | Rogro82 | code... also had to change and include the calls to sdc2 because of the difference in sdc (1 vs 2) |
00:04.13 | Rogro82 | and i used the htc vogue board code and just implemented all polaris stuff in it... |
00:04.29 | dcordes | ok did you try ti1251? |
00:04.44 | Rogro82 | til251? |
00:05.00 | *** join/#htc-linux ALoGeNo (n=QUAKEIII@153.Red-81-37-222.dynamicIP.rima-tde.net) |
00:06.22 | Rogro82 | <--- absolutely no linux/android knowledge before i started 2 weeks ago... so sometimes i still need to look a lot of stuff up :) |
00:06.50 | Rogro82 | most of the time im doin winblows development |
00:07.57 | dcordes | interesting :) |
00:08.17 | dcordes | it's the wifi in all new htcs and name of kernel driver for it |
00:09.47 | Rogro82 | k... no dont know if its setup... ill check the config file |
00:10.02 | dcordes | it's not present in the vogue tree |
00:10.16 | dcordes | but in the g1 kernel |
00:10.58 | dcordes | actually google keeps it in a seperate git because it's so huge, but the android-msm-htc-2.6.25 branch has the init code et al |
00:11.27 | Rogro82 | ah k... ill download the g1 kernel once more to take a look at it |
00:11.38 | dcordes | but specific to the trout (g1) so we need to modify clock and irqs |
00:12.50 | dcordes | Rogro82: you tried sound? |
00:13.37 | Rogro82 | no... i also think ill need to include the kaiser/polaris adsp code etc |
00:14.47 | Rogro82 | didnt had a lot of time for fixing... just trying to make it run at first |
00:15.11 | dcordes | http://linuxtogo.org/~lgorris/diffs/g1-diff-18-11-08.diff I think this has some audio bits for kaiser(polaris) |
00:15.51 | Rogro82 | ill try if it patches |
00:16.23 | dcordes | it's for android-msm-htc-2.6.25 |
00:16.38 | dcordes | but kaiser doesn't boot there, don't know why |
00:17.02 | dcordes | basically a clean rebase of the .25 kaiser patches in the wild |
00:18.58 | Rogro82 | k ill merge it by hand to morrow and see if it works... ill first try to get the kaiser smd code to work |
00:19.35 | dcordes | you might use the kaiser-smd.c from that diff, it's way better I think |
00:19.39 | dcordes | (if it works) |
00:20.50 | dcordes | baz from the forum wrote it, the same guy who initially ported sd to the kais/pola |
00:20.58 | Rogro82 | ill take a look at it... |
00:21.25 | Rogro82 | problem with dzo's code is that everything has been merged together |
00:21.56 | Rogro82 | so its hard to make one thing work without breaking another |
00:23.59 | dcordes | ok downloading the zip |
00:24.09 | dcordes | what's your timezone? |
00:26.12 | Rogro82 | gmt+1 the netherlands |
00:27.30 | dcordes | ok just curious. I'm in .de |
00:28.26 | Rogro82 | ah k... so also 1:30? |
00:28.58 | dcordes | yep |
00:29.34 | dcordes | you work with wince professionally? |
00:30.17 | Rogro82 | no... just hobby |
00:30.36 | Rogro82 | normally c# mostly internet and business applications |
00:31.13 | Rogro82 | but i like learning new stuff.... so my phone is out of order most of the time :) |
00:31.43 | dcordes | awesome you went 1337 kernel hacking in a week |
00:32.08 | dcordes | and fixed the most critical problem |
00:32.52 | Rogro82 | at times i thought i was at a dead end but then i just restarted.... restarted... |
00:33.23 | Rogro82 | have been doing a lot of winmo reverse engineering lately so not all new to the driver related stuff |
00:34.13 | Rogro82 | i can now rebuild all dll's from assembly i get from ida... change the things i want and then recompile it :) |
00:34.43 | dcordes | how about wifi clocks :p |
00:35.03 | Rogro82 | nope... no knowledge.... for now :P |
00:35.46 | Rogro82 | christmas is kicking so enough time hey :) |
00:36.24 | dcordes | ho ho ho |
00:36.40 | Rogro82 | so what do you do for a living? |
00:36.44 | dcordes | ok diffing |
00:37.37 | dcordes | I'm a professional janitor |
00:37.39 | Rogro82 | the smd is only called from the pm isnt it? |
00:37.58 | dcordes | pm? |
00:38.21 | Rogro82 | kaiser/vogue-pm code |
00:38.45 | dcordes | on the kaiser it's just built-in driver |
00:38.59 | dcordes | vogue-pm needs it though because it uses proc comm |
00:39.05 | dcordes | and proc comm depends on smd |
00:39.23 | dcordes | hm that's a yea probably ^^ |
00:41.16 | Rogro82 | :) |
00:43.58 | Rogro82 | k need a lil bit of time to get it hooked in... |
00:44.26 | dcordes | Rogro82: if you are updating your local stuff make sure you fetch in the titan commit in htc-vogue |
00:47.20 | Rogro82 | k i will |
00:47.50 | Rogro82 | i want to make it so that the kaiser/polaris code can be used next to the vogues code i guess |
00:49.14 | Rogro82 | k lets see if the smd code is working... |
00:49.27 | Rogro82 | yup looks like it |
00:49.28 | Rogro82 | :) |
00:50.16 | Rogro82 | k im off to bed now |
00:50.39 | Rogro82 | will catch you later i hope :) bye bye |
00:50.57 | dcordes | good night |
00:51.05 | Rogro82 | night |
01:25.50 | *** part/#htc-linux balsat (n=kll@87.72.13.87) |
01:41.36 | *** join/#htc-linux fnord (n=fnord@24-151-90-116.static.nwtn.ct.charter.com) |
02:06.58 | maejrep | tmzt_, ok, gonna try the kaiser row/cols now (hmm, is it strange that I wanted to say "kaiser rolls"? :) |
02:14.36 | tekkdrone | it make me think of von kaiser, the old NES punchout character, mustache wiggle and all |
02:14.41 | tekkdrone | makes* |
02:39.34 | tmzt_ | <PROTECTED> |
02:41.22 | maejrep | hi |
02:41.38 | maejrep | so I'm just trying the gpios, right? I don't need to copy all the kaiser-keypad code just yet? |
02:44.53 | maejrep | well, the result is the same |
02:45.55 | maejrep | the key numbers are different, but it still only registers the front keys, not the keyboard |
02:51.32 | *** join/#htc-linux chavonbravo (n=cb@fl-71-1-235-8.dhcp.embarqhsd.net) |
02:53.17 | maejrep | what can I do to extend haret's support so I can see what is actually happening when pressing a key? |
02:53.36 | maejrep | I have the source, and have already compiled it, so that's not an issue |
02:54.01 | *** join/#htc-linux br1ck_ (n=br1ck@xdslcx098.osnanet.de) |
03:06.26 | *** join/#htc-linux holycow (n=rtaylor@S01060016b6b53675.vf.shawcable.net) |
03:20.08 | *** join/#htc-linux era- (n=im@pool-64-223-226-185.port.east.verizon.net) |
03:51.20 | tmzt_ | maejrep: what commands are you using in haret? |
03:51.33 | maejrep | for what? |
03:51.54 | tmzt_ | tracing gpios |
03:52.05 | maejrep | watch gpios 10 |
03:52.39 | maejrep | right now i'm trying to port board-kaiser-keypad to see if it gets any further |
03:53.13 | maejrep | only reason I didn't want to mess with it before is because it doesn't use gpio_event |
03:53.47 | tmzt_ | we need to see how scanning is enabled |
03:54.03 | tmzt_ | does kaiser scan in the driver? |
03:54.16 | maejrep | in kaiser, on open, it hooks INT_KEYSENSE |
03:54.30 | maejrep | (on open as in, when the keyboard slider is opened) |
03:54.40 | maejrep | then on close, it releases the irq |
03:56.21 | maejrep | the kaiser keyboard seems to do a lot of work to get the key events |
03:56.38 | maejrep | could be that its the only way to do it, but for some reason I get the feeling this could be done a cleaner way |
03:57.29 | tmzt_ | ok, titan is the same way |
03:57.41 | maejrep | really? |
03:57.51 | maejrep | i thought titan used htc-egpio in the vogue branch |
03:57.59 | tmzt_ | I think we just hace to find how to enable hw scanning |
03:58.58 | maejrep | http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=commitdiff;h=febeb3476fb6f047d9bd987ceeaa61d2c053fce8 - board-titan-keypad.c |
03:58.58 | maejrep | oh |
03:58.58 | maejrep | heh nevermind :P |
04:10.27 | tmzt_ | it looks like event_matrix polls too |
04:15.42 | maejrep | ok well it compiles :p lets see if it breaks anything |
04:17.37 | maejrep | hmm, so it creates input0 as the keypad |
04:18.43 | maejrep | hah |
04:18.53 | tmzt_ | ok |
04:19.14 | maejrep | well, using the GPIOS defined in kaiser, it detects a bunch of random keys but only when pressing the front keypad, not the keyboard |
04:19.32 | maejrep | it thinks the slider is open even though it's not (and doesn't react to actually opening/closing it) |
04:19.51 | maejrep | and when pressing keys on the front pad, it turns on the camera flash LED :x |
04:19.58 | maejrep | (its really bright...) |
04:20.29 | maejrep | # dmesg | grep raphael_kbd |
04:20.29 | maejrep | [ 4.624699] input: raphael_kbd as /class/input/input0 |
04:20.30 | maejrep | [ 4.720091] raphael_kbd: Open!!! |
04:20.40 | maejrep | so that "Open!!!" is part of init |
04:20.45 | maejrep | for some reason |
04:23.14 | *** join/#htc-linux Othello (i=Othello@gateway/tor/x-97c4adcb93908582) |
04:26.24 | tmzt_ | maejrep: part of driver init? |
04:27.11 | maejrep | it appears so.. it assumed it was open as soon as it was initialized, but it wasn't open |
04:27.30 | maejrep | not sure where to tell it how to actually check if its open or not |
04:48.53 | tmzt_ | cat /dev/input/eveb |
04:48.59 | tmzt_ | cat /dev/input/event0 |
04:50.50 | *** join/#htc-linux iratsu (n=iratsu@modemcable018.234-59-74.mc.videotron.ca) |
04:51.39 | maejrep | to see what it does when open/close? |
04:51.58 | maejrep | my comment was more about how to tell the code what to look for |
04:52.11 | maejrep | I've already captured the gpio on slider open/close |
04:52.40 | maejrep | but I don't see how the input device knows what is "open" and what is "close" |
04:55.43 | tmzt_ | good |
04:55.55 | maejrep | ? |
04:56.31 | tmzt_ | all drivers (basically) are opened either when reading from the device, or for something like the input layer, when the kernel needs it |
04:56.44 | tmzt_ | good that you found the slide SW |
04:57.20 | maejrep | oh so they're talking about just opening the device, not actually opening the slider |
04:57.25 | maejrep | :x |
04:57.26 | tmzt_ | this open has nothing to do with the slide |
04:57.31 | tmzt_ | right |
04:57.41 | maejrep | yeah, i'm not thinking |
04:59.33 | maejrep | # cat /dev/input/event0 |
04:59.33 | maejrep | cat: can't open '/dev/input/event0': Invalid argument |
05:00.22 | maejrep | i feel like i'm just poking around blindly now |
05:00.22 | maejrep | lol |
05:00.41 | maejrep | like maybe if I tried every possible gpio matrix combination, I'll find something |
05:03.36 | *** join/#htc-linux ImCoKeMaN (n=imcokema@pool-98-111-118-30.hrbgpa.fios.verizon.net) |
05:10.51 | *** join/#htc-linux era| (n=im@64.223.226.185) |
05:28.14 | maejrep | tmzt_, is it possible to watch for egpios in haret? |
05:29.02 | tmzt_ | in pxa it is |
05:29.44 | maejrep | ok, in haretconsole/regs_misc.py I see: |
05:29.45 | maejrep | # HTC Apache specific registers |
05:29.45 | maejrep | Regs_Apache = regs_pxa.Regs_pxa27x.copy() |
05:29.46 | maejrep | Regs_Apache.update(getEGPIOdefs(0x0a000000, 3)) |
05:29.46 | maejrep | memalias.RegsList['Apache'] = Regs_Apache |
05:30.05 | maejrep | would I be able to just add to that, to add raph egpios support? |
05:30.23 | maejrep | (there's more to the file, for various devices) |
05:30.46 | tmzt_ | look in linux, trout to see where egpio chip is |
05:31.09 | tmzt_ | I think you can just addlist gpios addresses |
05:35.59 | Marajin | yo |
05:36.16 | Marajin | whoa, my net connection must be feeling stable in this cold weather |
05:47.11 | maejrep | tmzt_, so its possible that haret just isn't watching the GPIO addresses that the keyboard is triggering? |
05:47.29 | tmzt_ | yes |
05:48.54 | maejrep | ok, so the log shows "Watching GPIO(00)" through "..(14)" |
05:49.10 | tmzt_ | those are banks |
05:49.17 | maejrep | ah |
05:49.47 | tmzt_ | each bit is a gpio input/output or alt function selection |
05:56.29 | maejrep | so it should already be watching for everything that's on the wiki then, right? |
05:57.02 | tmzt_ | everything on the ms chip itself |
05:57.34 | maejrep | hmm, so why wouldn't it catch the keyboard then? |
05:57.51 | tmzt_ | msm |
05:57.57 | tmzt_ | everything on the msm chip itself |
05:57.59 | maejrep | sorry, I must be really annoying :( |
05:58.05 | tmzt_ | no |
05:58.41 | tmzt_ | I just don't know the answer for msm |
05:58.59 | tmzt_ | I guess its in the kernel thorugh, the header files |
05:58.59 | maejrep | isn't kaiser msm? |
05:59.04 | tmzt_ | yes |
05:59.15 | tmzt_ | but their are other chips in there |
05:59.24 | tmzt_ | same as raph |
05:59.28 | maejrep | I see |
06:01.44 | AstainHellbring | grrr stupid forum.xda is down again |
06:01.49 | AstainHellbring | whats the site for the vogue files? |
06:01.52 | maejrep | is there any significance to it triggering INT_GPIO_GROUP2 on pressing a key? |
06:02.00 | maejrep | http://cs-alb-pc3.massey.ac.nz/vogue ? |
06:02.08 | AstainHellbring | yah that one thx |
06:03.01 | tmzt_ | maejrep: I don't know |
06:03.12 | tmzt_ | all keys? |
06:03.32 | maejrep | yeah it always triggers that interrupt when pressing any key on the slide out keyboard |
06:03.41 | tmzt_ | ok |
06:03.50 | maejrep | but nothing in GPIOS |
06:04.04 | tmzt_ | where do you get that? |
06:04.38 | maejrep | haret |
06:04.47 | maejrep | wirqs and watch gpios |
06:05.11 | maejrep | wirqs reports GPIO2, which is 33 |
06:05.18 | tmzt_ | INT_GPIO_GROUP2 |
06:05.24 | maejrep | and that's in the code as 33 |
06:05.39 | maejrep | #define INT_GPIO_GROUP2 (32 + 1) |
06:06.26 | tmzt_ | ok |
06:06.37 | tmzt_ | we need to trace spi |
06:11.29 | maejrep | so how do I do that? :x |
06:12.28 | tmzt_ | working on it |
06:12.50 | tmzt_ | trace writes/reads for spi registers |
06:15.18 | AstainHellbring | dcores you around? |
06:16.01 | tmzt_ | dcordes: |
06:17.59 | maejrep | would the spi registers be in the kernel somewhere? |
06:18.35 | maejrep | I see: board-trout-panel.c:#define SPI_BLOCK_BASE 0x120000 |
06:18.42 | maejrep | but nothing in board-htcraphael |
06:20.11 | AstainHellbring | yah that one sorry dcordes you around? booted titan with kernel from vogue git |
06:20.58 | tmzt_ | does keyboard work? |
06:21.08 | tmzt_ | and buttons on the side? |
06:23.04 | AstainHellbring | keyboard yes |
06:23.18 | AstainHellbring | seems like buttons too |
06:25.09 | tmzt_ | good |
06:28.09 | *** join/#htc-linux tekkdrone_ (n=tekkdron@72.183.115.231) |
06:28.21 | tekkdrone | oops |
06:28.33 | tmzt_ | ssitx ssirx |
06:28.41 | tmzt_ | maejrep: |
06:28.56 | tmzt_ | add mmutrace those addresses |
06:29.04 | tmzt_ | SSITX SSIRX |
06:29.05 | maejrep | from board-trout? |
06:29.13 | tmzt_ | -panel.c |
06:29.17 | tmzt_ | yes |
06:29.19 | *** join/#htc-linux chavonbravo (n=cb@fl-71-1-235-8.dhcp.embarqhsd.net) |
06:29.22 | maejrep | er right |
06:29.49 | tmzt_ | then wirq 10 and press qwerty keys |
06:31.00 | *** join/#htc-linux lama (n=lama@netbsd.pl) |
06:32.31 | maejrep | hmm |
06:32.34 | maejrep | Warning! Tracing non-section mapping (00100000) not well supported |
06:32.34 | maejrep | If you really want to do this, run 'set permissivemmutrace 1' and retry |
06:32.43 | maejrep | are those physical addresses in the code? |
06:33.41 | maejrep | p2v() on them didn't show anything during wirq |
06:33.54 | tmzt_ | hold on |
06:34.30 | *** join/#htc-linux Magorium (i=Othello@gateway/tor/x-7ea3c05350f1073a) |
06:34.34 | maejrep | and with permissivemmutrace 1, also didn't get anything |
06:34.51 | tmzt_ | the address is wrong |
06:35.08 | tmzt_ | there is a base somewhere |
06:36.05 | maejrep | to add to #define SPI_BLOCK_BASE 0x120000 ? |
06:36.23 | tmzt_ | yes |
06:37.15 | AstainHellbring | tmzt_ or maejrep is there anything you wanted me to do with this raph800 or raph100 to help you guys out? |
06:37.32 | tmzt_ | bitwise or actually |
06:37.43 | maejrep | right |
06:37.50 | tmzt_ | AstainHellbring: do you know how to trace on msm? |
06:38.10 | AstainHellbring | no but I have plenty of time tonight if you wanna walk me though anything? |
06:40.35 | tmzt_ | NetRipper: ping |
06:48.17 | maejrep | anything that might be on the memory map? |
06:48.21 | maejrep | I don't see SSI or SPI |
06:52.27 | tmzt_ | maejrep: we need the additional gpios |
06:53.06 | maejrep | :/ |
06:53.14 | maejrep | what can I do? |
06:53.25 | maejrep | b2e00000 a9300000 1 MSM_GPIO2, DEX'd |
06:55.56 | tmzt_ | show gpios |
06:56.29 | maejrep | http://privatepaste.com/970e0tXz3e |
07:05.14 | tmzt_ | can you git-grep MSM_GPIO1_BASE |
07:07.32 | maejrep | arch/arm/mach-msm/gpio_hw.h:#define GPIO1_REG(off) (MSM_GPIO1_BASE + 0x800 + (off)) |
07:07.32 | maejrep | include/asm-arm/arch-msm/msm_iomap.h:#define MSM_GPIO1_BASE 0xE0007000 |
07:08.54 | tmzt_ | ok also GPIO2 GPIO1A GPIO2A |
07:09.08 | maejrep | arch/arm/mach-msm/gpio_hw.h:#define GPIO2_REG(off) (MSM_GPIO2_BASE + 0xC00 + (off)) |
07:09.09 | maejrep | include/asm-arm/arch-msm/msm_iomap.h:#define MSM_GPIO2_BASE 0xE0008000 |
07:09.19 | tmzt_ | just the iomap |
07:09.35 | maejrep | no GPIO1A or GPIO2A |
07:10.32 | tmzt_ | dump mmu 2 0xe0008000 |
07:10.40 | tmzt_ | dump mmu 2 0xe0007000 |
07:11.00 | tmzt_ | see if they are 0x92... |
07:11.21 | maejrep | nothing was listed under 7000 |
07:11.28 | maejrep | <PROTECTED> |
07:11.28 | maejrep | <PROTECTED> |
07:11.28 | maejrep | ----------+----------+---------------+---------------------- |
07:11.28 | maejrep | <PROTECTED> |
07:12.45 | tmzt_ | ok |
07:12.54 | tmzt_ | gpio1a amd |
07:13.13 | tmzt_ | gpio1a and 2a are in msm_iomap.h |
07:13.23 | tmzt_ | on htc-msm-2.6.25 ltg |
07:13.54 | tmzt_ | dump mmu 2 0xa9007000 |
07:14.14 | maejrep | <PROTECTED> |
07:14.14 | maejrep | <PROTECTED> |
07:14.14 | maejrep | ----------+----------+---------------+---------------------- |
07:14.14 | maejrep | 93100000 | a9000000 | 1MB section | AP=1 T=2 |
07:14.14 | maejrep | b3100000 | a9000000 | 1MB section | AP=1 T=2 |
07:14.54 | tmzt_ | 93? |
07:15.09 | maejrep | not far off from the existing gpios |
07:15.37 | maejrep | but 1MB is pretty large |
07:15.52 | tmzt_ | addlist gpios 0x93007000 |
07:16.14 | tmzt_ | then watch gpios 10 |
07:16.30 | maejrep | yikes |
07:16.35 | tmzt_ | addlist gpios 0x93107000 |
07:16.35 | maejrep | Terminating haret due to unhandled exception (pc=80029a28) |
07:16.35 | maejrep | heh |
07:16.42 | tmzt_ | addlist gpios 0x93107000 |
07:16.44 | tmzt_ | sorry |
07:18.36 | maejrep | hmm, yeah happened again |
07:19.29 | *** join/#htc-linux pleemans (n=toi@116.54-246-81.adsl-static.isp.belgacom.be) |
07:22.32 | tmzt_ | AstainHellbring: have you dumped the imgfs or have a kitchen zip? |
07:28.56 | AstainHellbring | yes I do |
07:29.01 | tmzt_ | cool |
07:29.18 | tmzt_ | can you strings or CFF explorer the keyboard driver? |
07:29.19 | maejrep | :| |
07:29.44 | AstainHellbring | CFF explorer? |
07:29.47 | tmzt_ | just looking to see if its spi or not |
07:29.57 | tmzt_ | something cmonex suggested |
07:30.07 | tmzt_ | like nm but works on pe |
07:31.01 | AstainHellbring | do you know which one would be the keyboard driver? |
07:32.38 | tmzt_ | no you have to check the registry on the phone |
07:32.51 | AstainHellbring | know where I would check? |
07:33.22 | tmzt_ | MKLM Drvers Builtin |
07:33.33 | tmzt_ | HKLM Drivers Builtin |
07:33.40 | AstainHellbring | ok |
07:34.29 | AstainHellbring | guessing its keypad? |
07:34.40 | tmzt_ | yeah |
07:35.00 | tmzt_ | get the Dll name |
07:35.06 | AstainHellbring | keypad.dll |
07:35.15 | tmzt_ | of course |
07:36.19 | AstainHellbring | what did you want me to open it with? |
07:36.30 | maejrep | this is interesting: |
07:36.34 | maejrep | 008.932 IRQS IRQ1: GPIO2(33)=1 |
07:36.34 | maejrep | 008.932 TRACES in1: in1-11(203)=0 @~8001d730 |
07:36.34 | maejrep | 008.932 TRACES in1: in1-11(203)=1 @~78042ab8 |
07:36.50 | maejrep | 007.162 IRQS IRQ1: GPIO2(33)=1 |
07:36.51 | maejrep | 007.162 TRACES in1: in1-11(203)=0 @~8001d730 |
07:36.51 | maejrep | 007.162 TRACES in1: in1-11(203)=1 @~78042ab8 |
07:37.01 | maejrep | looks like it follows every GPIO2 irq |
07:37.06 | tmzt_ | strings |
07:37.14 | AstainHellbring | strings? |
07:37.23 | tmzt_ | cs for spi? |
07:37.31 | tmzt_ | AstainHellbring: in bin utils |
07:37.34 | tmzt_ | AstainHellbring: in binutils |
07:37.40 | maejrep | AstainHellbring, strings <file.dll> | grep .. |
07:37.50 | maejrep | tmzt_, was that to me? |
07:37.55 | AstainHellbring | ahh load it up on my linux piece |
07:38.09 | tmzt_ | maejrep: cs, yes |
07:38.23 | maejrep | I don't know what you mean by cs |
07:38.31 | tmzt_ | AstainHellbring: sure or cygwin |
07:38.38 | tmzt_ | maejrep: chip select |
07:38.50 | maejrep | oh |
07:39.59 | maejrep | 1-11 is in the wiki as "irq (Y) wakeup, Ukey" |
07:40.42 | AstainHellbring | what do I want to search for? |
07:40.57 | tmzt_ | SPI I2C |
07:41.24 | tmzt_ | we need dll imports so cegcc objdump or CFF explorer |
07:41.43 | tmzt_ | runs in wine |
07:42.25 | tmzt_ | maejrep: I don't know what cr2 meant by that |
07:43.28 | AstainHellbring | getting CFF explorer now |
07:45.34 | AstainHellbring | looks like its just dependant on COREDLL.DLL |
07:45.42 | tmzt_ | maejrep: does dump gpios do anything? |
07:45.54 | tmzt_ | AstainHellbring: oh, probably matrix then |
07:46.15 | maejrep | which means we're back to where we started? heh :( |
07:46.17 | AstainHellbring | resource editor has some string tables |
07:46.30 | tmzt_ | ok |
07:46.59 | maejrep | "no dumper gpios available" |
07:47.19 | tmzt_ | AstainHellbring: anything interesting? |
07:48.31 | AstainHellbring | dunno lots of lang:number items like first is 1029 - [lang:1028] followed with an offset and some other stuff... |
07:51.44 | tekkdrone | huh, apache's earpiece is straight hardware, an AT command and I can hear myself from my wife's phone |
07:52.02 | tekkdrone | almost toooo easy |
07:52.19 | tekkdrone | bet the mic's a bitch |
07:54.00 | *** join/#htc-linux rmoravcik (n=rmoravci@adsl-dyn39.78-98-100.t-com.sk) |
07:58.25 | *** join/#htc-linux goxboxlive (n=goxboxli@24.84-48-212.nextgentel.com) |
07:59.46 | maejrep | busparent=0x1ad2f50, busname=BuiltInPhase1_0_20_0, Hnd=0x329a80, |
08:01.53 | tmzt_ | in registry? |
08:02.10 | tmzt_ | forgot soemthing |
08:02.40 | tmzt_ | those values after @ |
08:02.57 | tmzt_ | print addr2mod( each of those ) |
08:03.14 | tmzt_ | lsmod and see where the write occured, what dll |
08:04.39 | maejrep | HaRET(10)# addr2mod 0x8001d730 |
08:04.39 | maejrep | Unable to create tool help snapshot |
08:04.39 | maejrep | HaRET(11)# addr2mod 0x78042ab8 |
08:04.39 | maejrep | Unable to create tool help snapshot |
08:05.39 | tmzt_ | ah toohelp is broken |
08:05.50 | tmzt_ | AstainHellbring: do you have its utils? |
08:08.10 | AstainHellbring | I think so... |
08:09.13 | tmzt_ | ok there is a program in there |
08:10.17 | AstainHellbring | ok? |
08:10.17 | *** join/#htc-linux myxor (n=myxor@pdbn-4d089eab.pool.mediaWays.net) |
08:10.30 | tmzt_ | dumpmod maybe |
08:11.12 | tmzt_ | we need the loaded address of keypad.dll |
08:11.47 | tmzt_ | and I guess you are going to have to trace this too as it might be different |
08:12.37 | AstainHellbring | hmm I have dump.exe |
08:12.47 | *** join/#htc-linux kkaze_wor (n=kaze@ABordeaux-152-1-3-244.w82-125.abo.wanadoo.fr) |
08:12.58 | tmzt_ | what else? |
08:13.01 | AstainHellbring | memdump, pchmod, pmemdump, |
08:13.33 | AstainHellbring | good handful of others too |
08:13.51 | tmzt_ | might be dump |
08:15.12 | maejrep | http://wiki.xda-developers.com/index.php?pagename=XdaUtils |
08:16.01 | tmzt_ | itsutils |
08:16.38 | maejrep | that's what this is ;x |
08:17.00 | tmzt_ | what command to show the loaded modules? |
08:17.09 | maejrep | i only see pmemmap |
08:17.34 | tmzt_ | pps |
08:19.33 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d87c14e.pool.einsundeins.de) |
08:21.00 | AstainHellbring | uhm? |
08:21.14 | tmzt_ | pps.exe |
08:21.26 | tmzt_ | list prcoesses and threads |
08:21.30 | AstainHellbring | seems to hang..? |
08:22.24 | tmzt_ | no error? |
08:22.38 | tmzt_ | is activesync connected? |
08:22.58 | tmzt_ | can you broswe mobile devices? |
08:23.48 | AstainHellbring | ha ha ha damn my brain went stupid there phone is plugged into wall charger atm... |
08:23.59 | AstainHellbring | ok fixed that now |
08:24.44 | tmzt_ | ah |
08:27.22 | *** join/#htc-linux pishuri (n=pishuri@194.230.146.98) |
08:27.35 | AstainHellbring | ok new error cant copy it to phone rebooting it now and trying again |
08:27.57 | tmzt_ | yeah |
08:28.33 | tmzt_ | message about security or file in use? |
08:28.48 | AstainHellbring | yah that one |
08:29.08 | tmzt_ | which phone? |
08:29.40 | AstainHellbring | 095c028a 2 2e000000 0.0 0.0 1921024 SIPGT_app.exe |
08:29.40 | AstainHellbring | 0ea86482 43 0c000000 0.0 0.4 5334422 gwes.exe 30 |
08:29.40 | AstainHellbring | 0febcfc2 199 06000000 0.0 1.6 9739670 device.exe |
08:29.40 | AstainHellbring | 0feed4ca 10 04000000 0.0 0.0 25870336 filesys.exe |
08:29.40 | AstainHellbring | 0feff002 2 c2000000 0.0 0.0 3872150 NK.EXE |
08:29.40 | AstainHellbring | 29cea5d2 13 2a000000 0.0 0.0 6622614 manila.exe |
08:29.42 | AstainHellbring | 4ca89916 14 24000000 0.0 0.0 1294336 repllog.exe AppRunAfterTimeChange |
08:29.44 | AstainHellbring | 4cb9231a 5 18000000 0.0 0.0 139264 SAPSettings.exe 99 |
08:29.46 | AstainHellbring | 4e697e0a 121 14000000 0.0 5.1 5955584 services.exe 60 |
08:29.48 | AstainHellbring | 69cd1782 11 1a000000 0.0 19.1 1015808 rapiclnt -drndis_peer |
08:29.50 | AstainHellbring | 6c9be57e 8 0a000000 0.0 0.0 1114112 tmail.exe -RunInBKG |
08:29.52 | AstainHellbring | 8c9be28a 3 1e000000 0.0 0.0 860160 callcalendar.exe |
08:29.54 | AstainHellbring | acb2bcc6 13 1c000000 0.0 0.0 10694656 cprog.exe -n |
08:29.56 | AstainHellbring | acb34466 15 12000000 0.0 0.0 569344 connmgr.exe 70 |
08:29.58 | AstainHellbring | af1f2e12 28 0e000000 0.0 13.3 2392064 shell32.exe 50 |
08:30.00 | AstainHellbring | c9c58ca2 3 28000000 0.0 0.4 1630208 Gyrator2.exe |
08:30.02 | AstainHellbring | ccb83dde 5 10000000 0.0 0.0 1589248 QuickGPS.exe cradle |
08:30.04 | AstainHellbring | ceb6adc6 1 08000000 0.0 0.0 221184 Powerexe.exe |
08:30.06 | AstainHellbring | ecad30ce 1 20000000 0.0 0.0 77824 poutlook.exe |
08:30.08 | AstainHellbring | ee36634e 9 16000000 0.0 0.0 1108374 Biotouch.exe |
08:30.10 | AstainHellbring | <PROTECTED> |
08:30.12 | AstainHellbring | first attempt was on raph800 this report was on raph100 |
08:31.09 | AstainHellbring | ok still no dice on raph800 |
08:32.49 | tmzt_ | AstainHellbring: thats ok |
08:33.06 | tmzt_ | AstainHellbring: what are the options on pps? |
08:33.13 | tmzt_ | to dump dlls |
08:33.28 | AstainHellbring | (C) 2003-2008 Willem jan Hengeveld itsme@xs4all.nl |
08:33.29 | AstainHellbring | Usage: pps [options] |
08:33.29 | AstainHellbring | <PROTECTED> |
08:33.30 | AstainHellbring | <PROTECTED> |
08:33.30 | AstainHellbring | <PROTECTED> |
08:33.30 | AstainHellbring | <PROTECTED> |
08:33.31 | AstainHellbring | <PROTECTED> |
08:33.33 | AstainHellbring | <PROTECTED> |
08:33.35 | AstainHellbring | <PROTECTED> |
08:33.37 | AstainHellbring | <PROTECTED> |
08:34.54 | tmzt_ | pps -m -n device.exe |
08:37.14 | AstainHellbring | ok for fun I did it with a -t and got this: http://pastebin.com/m7fbd5181 and the -m -n device.exe got: http://pastebin.com/m232527bf |
08:38.40 | tmzt_ | can you paste the keypad.dll here |
08:41.18 | tmzt_ | ah |
08:41.23 | AstainHellbring | http://www.filedropper.com/keypad |
08:41.48 | AstainHellbring | ah? |
08:41.54 | tmzt_ | pps -m -n services.exe |
08:42.00 | tmzt_ | just the keypad line |
08:42.08 | tmzt_ | no keypad.dll in there |
08:42.44 | AstainHellbring | 789b0000 keypad.dll |
08:43.03 | tmzt_ | in services.exe? |
08:43.11 | tmzt_ | thats it then |
08:43.23 | AstainHellbring | yep thats what it reported |
08:43.56 | tmzt_ | maejrep: what did you addlist mmutraces before, check haretlog |
08:44.27 | tmzt_ | <PROTECTED> |
08:45.04 | tmzt_ | <PROTECTED> |
08:45.48 | *** join/#htc-linux pishuri_ (n=pishuri@194.230.146.206) |
08:46.14 | tmzt_ | is there a led that turns on when you press a key |
08:46.20 | tmzt_ | or only fn shift |
08:46.46 | AstainHellbring | only fn shift and caps turn on the leds for me |
08:48.17 | tmzt_ | ok |
08:48.42 | tmzt_ | its reading anyway I think |
08:49.58 | tmzt_ | AstainHellbring: |
08:50.21 | tmzt_ | maejrep: what did you do to get that TRACES line? |
08:50.42 | tmzt_ | AstainHellbring: I need you to do the same on raph100 |
08:51.20 | AstainHellbring | tmzt_ that was all done on raph100 the raph800 is not cooperating atm |
08:51.34 | tmzt_ | right |
08:51.44 | tmzt_ | I mean the haret trace |
08:51.55 | AstainHellbring | ahh ok |
08:52.21 | tmzt_ | or just pps -m |
08:52.44 | tmzt_ | and see what is at 78042ab8 |
08:53.34 | AstainHellbring | that one doesnt exist on the pps -m |
08:53.51 | AstainHellbring | on pps -m 789b0000 keypad.dll |
08:53.58 | tmzt_ | it will be a range |
08:54.14 | tmzt_ | the number before keypad.dll |
08:55.57 | AstainHellbring | the closest number before the 789b is 788d0000 pttservice.dll |
08:56.21 | tmzt_ | makes no sense |
08:56.22 | AstainHellbring | directly about keypad.dll in output is: 789e0000 largetitlebar.dll |
08:56.22 | AstainHellbring | 02f43000 swmgmtservice.dll |
08:56.23 | tmzt_ | ok |
08:57.05 | tmzt_ | and see what is at 78042ab8 + |
08:57.07 | AstainHellbring | this is entire output of the -m http://pastebin.com/m5139206f |
08:58.22 | AstainHellbring | 78050000 oem_misc.dll |
08:58.30 | tmzt_ | 7807 is tnet |
08:58.40 | tmzt_ | ok |
09:00.04 | tmzt_ | yours is different |
09:00.26 | tmzt_ | adssprtossvccore |
09:00.35 | tmzt_ | we need to do the trace |
09:00.44 | AstainHellbring | ok? |
09:01.03 | tmzt_ | do you have python on windows? |
09:01.19 | AstainHellbring | not currently |
09:01.30 | tmzt_ | lets try telnet then |
09:01.48 | tmzt_ | start haret and telnet to 9999 on device ip |
09:02.01 | tmzt_ | start haret listen to network |
09:03.07 | *** join/#htc-linux br1ck (n=br1ck@xdslcx098.osnanet.de) |
09:03.28 | tmzt_ | hi |
09:06.04 | AstainHellbring | hmm well putty doesnt like that one installing vistas telnet client now |
09:06.31 | tmzt_ | pick telnet and change port |
09:06.33 | tmzt_ | oh |
09:06.34 | tmzt_ | ok |
09:07.01 | AstainHellbring | yah I did that with putty and it just auto closed after I said connect... |
09:07.26 | tmzt_ | it does that sometimes |
09:07.35 | tmzt_ | vista has telnet? |
09:07.58 | AstainHellbring | yes if you tell it to install its just not included in the default installed tools |
09:08.17 | *** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo) |
09:11.30 | *** join/#htc-linux rl2000 (n=rl2000@0x573b8b62.hhnqu1.dynamic.dsl.tele.dk) |
09:13.05 | rl2000 | Hi all |
09:13.13 | rl2000 | What happened to xda-dev? |
09:17.01 | AstainHellbring | hmm tmzt_ getting a failed to connect on that |
09:22.00 | *** join/#htc-linux kimhoon (n=kimhoon@s559116c1.adsl.wanadoo.nl) |
09:25.39 | tmzt_ | AstainHellbring: is it listening? |
09:26.20 | AstainHellbring | yes |
09:28.11 | tmzt_ | you can ping it? |
09:30.16 | AstainHellbring | yes |
09:34.41 | AstainHellbring | ha got it I'm an idiot again ok I'm in harey |
09:34.44 | AstainHellbring | *haret |
09:36.00 | AstainHellbring | I was doing the laptops IP and not the Touch Pro's IP for the wm adapter |
09:42.28 | AstainHellbring | tmzt_ so now that I'm in haret what I do? |
09:51.14 | tmzt_ | watch gpios 20 |
09:51.24 | tmzt_ | press qwerty keys |
09:52.19 | AstainHellbring | k? |
09:58.19 | *** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring) |
09:59.03 | AstainHellbring | 018670: mem GPIOS(9) 92f00840=00000038 (00000004) |
09:59.05 | AstainHellbring | 018671: mem GPIOS(9) 92f00840=0000003c (00000004) |
09:59.07 | AstainHellbring | 018772: mem GPIOS(7) 92f00838=01f0000c (00060000) |
09:59.09 | AstainHellbring | 018774: mem GPIOS(7) 92f00838=01f6000c (00060000) |
09:59.11 | AstainHellbring | 019685: mem GPIOS(9) 92f00840=0000003c (00000004) |
09:59.13 | AstainHellbring | 019699: mem GPIOS(9) 92f00840=00000038 (00000004) |
09:59.15 | AstainHellbring | 019700: mem GPIOS(9) 92f00840=0000003c (00000004) |
09:59.17 | AstainHellbring | 019835: mem GPIOS(9) 92f00840=00000038 (00000004) |
09:59.19 | AstainHellbring | 019839: mem GPIOS(9) 92f00840=0000003c (00000004) |
09:59.21 | AstainHellbring | 019991: mem GPIOS(9) 92f00840=00000038 (00000004) |
09:59.23 | AstainHellbring | 019992: mem GPIOS(9) 92f00840=0000003c (00000004) |
09:59.25 | AstainHellbring | that was toward the end of list |
10:01.08 | tmzt_ | you need haretconsole then |
10:01.19 | AstainHellbring | ok? |
10:01.22 | tmzt_ | and python |
10:01.41 | AstainHellbring | ok |
10:02.56 | AstainHellbring | ok I will get those and python on my laptop here and check back in tomorrow time for me to get a little sleep... 3am here and gotta get my son back to sleep too |
10:04.15 | tmzt_ | ok |
10:30.11 | *** join/#htc-linux balsat (n=kll@87.72.13.87) |
10:30.22 | *** join/#htc-linux timebomb (n=tb@p5B3E3F10.dip.t-dialin.net) |
10:42.15 | *** join/#htc-linux timebomb (n=tb@p5B3E3F10.dip.t-dialin.net) |
10:55.53 | *** join/#htc-linux xutywx (n=xutywx@195.205.38.92) |
11:05.57 | *** join/#htc-linux NAiL (n=repvik@nslu2-linux/repvik) |
11:27.18 | *** join/#htc-linux Magorium (i=Othello@gateway/tor/x-01cff911bda754fb) |
12:02.35 | *** join/#htc-linux EA2 (n=chipper@cpe-024-074-138-191.carolina.res.rr.com) |
12:16.04 | xutywx | hi for all ;) Any suggestions about g900? |
12:21.08 | *** join/#htc-linux goxboxlive (n=goxboxli@24.84-48-212.nextgentel.com) |
12:48.12 | lupine_85 | 'yay', I have my f700 back :/ |
12:48.20 | lupine_85 | oh well, xperia tomorrow :) |
13:02.38 | *** join/#htc-linux drasar (n=maik@77.93.211.13-msol.msol.cz) |
13:05.43 | NetRipper | tmzt_, sorry, im not around much lately |
13:10.44 | NetRipper | tmzt_, sd card / clocks are still priority, keyboard would be nice too though ;) |
13:10.55 | NetRipper | gtg again |
13:20.33 | rl2000 | Man... I'm still at work... I so want to go home! |
13:21.44 | drasar | tmzt_: Are you here? |
13:24.27 | tmzt_ | drasar: yeah |
13:25.20 | tmzt_ | xutywx: we have the usb gpio now we need to copy some code from another device in kernel26 to make it work |
13:25.33 | tmzt_ | xutywx: this will tell use if the kernel is booting at least |
13:26.09 | drasar | tmzt_: I have tried both w100 and pxa fb in 2.6.27.10 vanilla but without success on hima |
13:26.38 | xutywx | ok ;) i'm waiting for instructions ;) |
13:28.06 | tmzt_ | gpio 40 inverted |
13:28.34 | xutywx | not gpio1 40 inverted ? |
13:29.10 | xutywx | for example - in handhelds.org wiki there are as i remember 4"gpios" what are they for? |
13:29.25 | drasar | tmzt_: But my experience is that CONFIG_MACH_HIMALAYA_LCD is needed in 2.6.21-hh20 to be framebuffer working |
13:30.13 | xutywx | http://www.handhelds.org/moin/moin.cgi/ToshibaG900 |
13:30.15 | tmzt_ | no, that's the gplr1 which is a register |
13:30.25 | xutywx | ok ;) |
13:30.40 | drasar | tmzt_: So it is probably necessary to implement it to get framebuffer working in 2.6.27.10 |
13:30.51 | xutywx | add it? |
13:31.01 | tmzt_ | add it where? |
13:31.04 | tmzt_ | hold on |
13:31.11 | tmzt_ | drasar: what does that do? |
13:31.24 | xutywx | .config |
13:32.34 | tmzt_ | xutywx: no, you have to add it to g900.c, but I think we are going to replace that file |
13:32.40 | tmzt_ | xutywx: there is nothing in it |
13:32.48 | drasar | tmzt_: Nothing. Haret prints a few lines and that's all. No lines from kernel output. |
13:33.08 | tmzt_ | drasar: what does it do in hh20? |
13:33.45 | tmzt_ | its w100fb? |
13:34.00 | drasar | tmzt_: With or without CONFIG_MACH_HIMALAYA_LCD? |
13:35.55 | tmzt_ | drasar: for somet reason himalaya_lcd.o does not build without it, this makes no sense but that's how it is now |
13:36.36 | tmzt_ | xutywx: we are either going to use apache or blueangel it looks like |
13:36.40 | drasar | tmzt_: When I use CONFIG_FB_W100 and CONFIG_MACH_HIMALAYA_LCD in hh20, it works fine. When I use just CONFIG_FB_W100, it is do nothing. |
13:36.53 | tmzt_ | drasar: it's a bug |
13:38.22 | drasar | tmzt_: So it should be working without CONFIG_MACH_HIMALAYA_LCD? |
13:39.06 | tmzt_ | drasar: it should be, look at Makefile in arch/arm/mach-pxa/htchimalaya |
13:42.06 | tmzt_ | drasar: we don't need that option on 2.2.27 anyway |
13:42.23 | tmzt_ | drasar: just CONFIG_FB_W100 which should be select'ed |
13:43.11 | drasar | tmzt_: In arch/arm/mach-pxa/htchimalaya/ is himalaya_lcd.o and in kernel image I can see some strings from it. So it is compiled in kernel. |
13:43.17 | xutywx | nice but i use 2.6 kernel... |
13:43.49 | xutywx | 2.6.21-hh20 exactly |
13:44.03 | xutywx | as makefile tells |
13:44.16 | tmzt_ | xutywx: yeah, that was to drasar |
13:44.29 | xutywx | ok |
13:44.44 | tmzt_ | xutywx: I am looking at blueangel and apache to see what code you need |
13:45.13 | drasar | tmzt_: Makefile contains line: obj-$(CONFIG_MACH_HIMALAYA_LCD) += himalaya_lcd.o |
13:45.34 | tmzt_ | drasar: it is fine on hh20, but you don't need it on newer kernel |
13:46.04 | tmzt_ | drasar: the options just control what Kbuild does with Makefile, unless #ifdef is used in a .c file |
13:46.20 | drasar | tmzt_: ok, so what should I do now? |
13:46.58 | *** join/#htc-linux Magorium (i=Othello@gateway/tor/x-c6a3047c364c6039) |
13:47.06 | tmzt_ | drasar: just use FB_W100, don't use HIMALAYA_LCD |
13:47.42 | xutywx | ill come back in 10-20minutes |
13:48.56 | drasar | tmzt_: ok, but with FB_W100 it stops on Haret output. Could be wrong anything else? |
13:50.18 | drasar | tmzt_: Or is any reason, why 2.6.27.10 from kernel.org shouldn't boot on hima? |
13:51.01 | tmzt_ | drasar: are you using the hh20 implementation of hima in 2.6.27 ? |
13:54.08 | drasar | tmzt_: No. I have vanilla kernel from kernel.org without any modification |
13:54.40 | tmzt_ | drasar: you have to build a board file |
13:54.56 | tmzt_ | drasar: I would start with magician.c depending on how much of the pxa soc you use |
13:57.02 | *** join/#htc-linux rolk (n=rolk@ip5457417f.direct-adsl.nl) |
13:57.56 | *** join/#htc-linux myxor (n=myxor@pdbn-4d089eab.pool.mediaWays.net) |
14:01.09 | *** join/#htc-linux pishuri (n=pishuri@194.230.146.158) |
14:01.43 | drasar | tmzt_: With "board file" do you mean himalaya.c in my case? |
14:02.07 | tmzt_ | drasar: yes, that's what I mean by board file |
14:02.11 | tmzt_ | drasar: what are you using now? |
14:05.00 | tmzt_ | drasar: we can use the direct register writes from himalaya.c (hh20) |
14:06.57 | drasar | tmzt_: MACH_PALMTX. Probably bad choice, right? |
14:07.08 | tmzt_ | you need one with asic3 |
14:07.33 | *** join/#htc-linux tekkdrone (n=tekkdron@72.183.115.231) |
14:08.31 | tekkdrone | tmzt_: brainnnzzzz |
14:08.39 | xutywx | i'm back ;) |
14:08.52 | tekkdrone | hello there xut :) |
14:09.03 | tmzt_ | tekkdrone: I'm here actually |
14:09.17 | tekkdrone | tmzt_: oddly enough you always are |
14:09.19 | *** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes) |
14:09.21 | tekkdrone | :) |
14:09.37 | tekkdrone | I thought _I_ kept horrible hours |
14:10.26 | tekkdrone | tmzt_ I was looking to pick your brain a bit about pxa uarts if you've got a couple min :) |
14:10.35 | tmzt_ | ok |
14:10.44 | tmzt_ | working on three machines right now |
14:11.36 | dcordes | hi what are you guys trying with titan? |
14:12.16 | tekkdrone | I don't understand why I can only write to my ffuart during unsolicited csq's, If I write to it with an echo, the serial transmit function occurs, |
14:12.53 | dcordes | tekkdrone: what's the device again? |
14:13.02 | tekkdrone | but int22 doesn't get raised, however, if I shoot it out to the recvr right after a CSQ, int 22 gets raised and the message makes it to the modem |
14:13.07 | tmzt_ | xutywx: copy all of the udc stuff from htcapache/htcapache.c |
14:13.08 | tekkdrone | dcordes: apache |
14:13.32 | dcordes | isn't that similar to blueangel? |
14:13.34 | tmzt_ | xutywx: everything from **** USB client controller **** |
14:13.47 | drasar | tmzt_: So should I try to use MACH_MAGICIAN with FB_W100? |
14:13.53 | tekkdrone | somewhat, apache's really it's own beast |
14:13.55 | tmzt_ | to *** MINI-SD CARD **** |
14:14.14 | tmzt_ | drasar: no, it doesn't have asic3. one of the ipaq's is probably best |
14:14.36 | tmzt_ | drasar: you can try that though if you just want to get W100 to work |
14:14.36 | dcordes | tekkdrone: maybe you need to do what settihtc does on the blueangel |
14:14.51 | tekkdrone | I've got voice and data working manually from a terminal (can hear calls but not speak yet) but currently using the workaround of timing my AT commands against incoming CSQ's |
14:15.03 | tmzt_ | tekkdrone: sorry, I don't know enough about that to answer |
14:15.34 | tmzt_ | .. |
14:15.40 | tmzt_ | xutywx: everything from **** USB client controller **** |
14:15.47 | tmzt_ | xutywx: to *** MINI-SD CARD **** |
14:15.52 | tekkdrone | tmzt_ no problem My searches have yielded little as well |
14:16.03 | tekkdrone | dcordes: what does settihtc handle? |
14:16.11 | xutywx | hmm... but where is it? |
14:16.22 | tmzt_ | xutywx: copy that to your g900.c, |
14:16.28 | dcordes | what's the AlGe url again? |
14:16.36 | tmzt_ | xutywx: in arch/arm/mach-pxa/htcapache/htcapache.c |
14:16.40 | tmzt_ | dcordes: what? |
14:17.11 | tmzt_ | xutywx: in kernel26 |
14:17.38 | dcordes | tmzt_: http://www.algepop.net/users/alge/angstrom-ba/images/htcblueangel/ |
14:17.57 | tmzt_ | dcordes: he needs tihtc in the .config then |
14:18.38 | dcordes | don't know if he needs it at all |
14:18.43 | dcordes | tekkdrone: http://www.algepop.net/users/alge/angstrom-ba/settihtc-0.1.tar.gz |
14:18.59 | drasar | tmzt_: But is seems that magician uses ASIC3. I am confused with it :) |
14:19.15 | dcordes | <PROTECTED> |
14:19.16 | dcordes | <PROTECTED> |
14:19.34 | xutywx | ok - done |
14:19.36 | tmzt_ | dcordes: right but that only works with the kernel driver |
14:19.43 | dcordes | drasar: did you get a reply from hh poeple? |
14:19.47 | tmzt_ | dcordes: that ldisc gets set on the serial port |
14:20.40 | xutywx | this too?? :pxa_set_udc_info(&htcapache_udc_mach_info); |
14:20.55 | tmzt_ | xutywx: yes |
14:21.00 | tmzt_ | xutywx: add that to your _init |
14:21.13 | tekkdrone | dcordes: thank you, I grabbed and will check that out shortly |
14:21.17 | xutywx | my init is empty.. is it ok? |
14:21.28 | tekkdrone | for the record, I can confirm apache's ttyS0 is the AT interface for ALL at commands, ttyUSB0 is the modem interface, ttyUSB1 is the diag port, most of which Kevin had determined/guessed about already |
14:21.30 | tmzt_ | add that, yes its ok |
14:21.39 | drasar | tmzt_: Sorry, it is PASIC3 LED/DS1WM chip |
14:21.43 | xutywx | sould i chane &htcapache to something else? |
14:22.06 | tmzt_ | drasar: let's get the W100 working then, copy most of the iomap from himalays.c in kernel26 |
14:22.13 | tmzt_ | drasar: hh20 |
14:22.41 | xutywx | oh i see... there is a struct.... htc apache.. ;) |
14:24.27 | tmzt_ | xutywx: what struct? |
14:24.37 | drasar | dcordes: I didn't write them yet ;) I'll do it soon |
14:25.09 | xutywx | not important... i asked about pxa_set_udc_info(&htcapache_udc_mach_info); parameter, but i didnt notice a struct static struct pxa2xx_udc_mach_info htcapache_udc_mach_info = { |
14:25.09 | xutywx | .udc_command = udc_command, |
14:25.09 | xutywx | }; |
14:25.46 | tmzt_ | xutywx: copy all between those two comments |
14:26.12 | xutywx | i ve done it |
14:26.17 | *** join/#htc-linux myxor^ (n=myxor@pdbn-4d089081.pool.mediaWays.net) |
14:27.04 | maejrep | tmzt_, sorry, i went to sleep ;x |
14:27.11 | maejrep | I did: joinlist TRACES GPIOS |
14:27.13 | tmzt_ | maejrep: I should have |
14:27.14 | maejrep | then wirq 10 |
14:27.34 | maejrep | after setting up ibits as needed |
14:27.42 | tmzt_ | maejrep: ah, that make sense I will tell AstainHellbring |
14:27.51 | tmzt_ | cool |
14:28.30 | tmzt_ | we need to run pps.exe -m from itsutils which needs windows |
14:28.40 | tmzt_ | if you can't do it AstainHellbring will do it tonight |
14:28.57 | tmzt_ | it needs to be on the same machine as the trace though |
14:29.01 | maejrep | yeah I don't have windows |
14:29.19 | maejrep | if a VM is good enough I can try it in virtualbox later tonight |
14:29.36 | tmzt_ | NetRipper was here for a minute earlier, he is more familiar with msm that most |
14:29.46 | tmzt_ | if usb host works yes |
14:30.25 | maejrep | i've used activesync with it before (as long as advanced networking is turned off -- when turned on it crashes the host machine) |
14:30.53 | *** join/#htc-linux EA2 (n=chipper@cpe-024-074-138-191.carolina.res.rr.com) |
14:30.58 | tmzt_ | well ok, ppp should work if rapi does |
14:31.05 | Kensan | dcordes: hey there |
14:31.10 | tmzt_ | rapi should work if ppp does |
14:31.29 | Kensan | dcordes: I just kicked off the image build but it'll be a while until it's finished. |
14:33.59 | dcordes | Kensan: hi. could you include an ssh server that allows ssh -X ? |
14:36.24 | dcordes | openssh-server instead of dropbear would do |
14:39.19 | Kensan | dcordes: ok |
14:39.52 | xutywx | i dont know what sould i do now ;/ |
14:41.31 | *** join/#htc-linux sleepr (n=sleepr@c-9ddce355.03-113-73766c10.cust.bredbandsbolaget.se) |
14:42.59 | sleepr | any news on porting android for the htc touch pro? |
14:45.25 | tmzt_ | sleepr: we are working on linux for touch pro now |
14:45.33 | sleepr | awsome! |
14:45.36 | tmzt_ | sleepr: that will allow android to work as well |
14:45.47 | *** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo) |
14:45.48 | sleepr | ok :) |
14:46.08 | sleepr | im spamming f5 at the wiki page for the raphael, but its last updated the 5th :/ |
14:46.54 | tmzt_ | there is a thread also on forums |
14:47.46 | tmzt_ | drasar: do you see what I mean about iomap ? |
14:49.03 | sleepr | http://forum.xda-developers.com/showthread.php?t=402002 is that the one? :) |
14:50.20 | sleepr | i want to make sure im reading the right thread so i can download it as soon as you guys makes it available :) |
14:51.29 | tmzt_ | sleepr: there is no mmc card support so android 1.0 won't work yet although jobo is stripping it down to boot with haret |
14:51.31 | *** join/#htc-linux pishuri (n=pishuri@194.230.146.166) |
14:53.10 | sleepr | so basicly, with android 1.0 there will be phone support? calls, gprs etc? |
14:53.35 | tmzt_ | that should already work with 0.8 and dzo ril, dcordes do you know? |
14:54.19 | sleepr | nope sorry :) |
14:55.07 | drasar | tmzt_: Sorry, I have been away |
14:55.28 | tmzt_ | dcordes: do you know? |
14:55.42 | tmzt_ | dcordes: do you know if 0.8 and dzo ril work on touch pro |
14:56.54 | *** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo) |
14:59.27 | sleepr | i saw android 1.0 is working on the touch, does anyone know if there's full phone support? |
14:59.44 | sleepr | bluetooth, wlan etc |
15:00.04 | tmzt_ | no bluetooth wifi that I know of |
15:00.10 | sleepr | oh ok |
15:00.27 | sleepr | hope they're able to solve that too :) |
15:00.33 | tmzt_ | phone should work but you need the mmc card or jobos version |
15:00.56 | tmzt_ | we are trying to get the keyboard now but the onscreen keyboard (camera key) should be working |
15:01.06 | tmzt_ | do you have CDMA or GSM version? |
15:01.12 | sleepr | gsm |
15:01.16 | Moobyfr | phone works ? mic is functional ? :) |
15:01.29 | sleepr | i tried to download the 0.8 version, but the onscreen keyboard just flickers alot |
15:02.03 | tmzt_ | I think that's fixed |
15:02.44 | sleepr | thats good, because taht was really annoying :) |
15:04.37 | tmzt_ | it might only be in git source now or not commited yet |
15:05.07 | sleepr | btw, did google release the source yet? or are you guys still trying to port the sdk? |
15:05.21 | tmzt_ | yes, source was released about a month ago |
15:05.33 | tmzt_ | android.git.kernel.org |
15:07.32 | xutywx | i must change actual rom in my g900... as i configure it work will continue ;) |
15:08.04 | tmzt_ | xutywx: windows rom? |
15:08.27 | xutywx | yes |
15:08.33 | tmzt_ | ok |
15:08.49 | xutywx | by globalbus - nice tweaker :P |
15:08.52 | tmzt_ | drasar: do you see what I mean about iomap ? |
15:18.54 | drasar | tmzt_: Not exactly. What should I use from himalaya.c? |
15:19.13 | tmzt_ | the begining part with the assignments toregisters |
15:19.35 | dcordes | tmzt_: no ril can work on raph?00 and diamond because you can only receive from smd0. tx is broken. |
15:19.48 | dcordes | (with the trout smd code) |
15:19.50 | tmzt_ | dcordes: oh, ok |
15:20.00 | dcordes | I don't know where' |
15:20.02 | tmzt_ | does NetRipper's or any other work? |
15:20.07 | dcordes | where the offsets are for fifos |
15:20.28 | dcordes | NetRipper's or any other what? |
15:20.39 | tmzt_ | drasar: the beginning part with the iomap_init and assignments to registers for W100 |
15:21.12 | tmzt_ | dcordes: sorry, I thought you meant trout smd was one and NetRipper's was another |
15:21.18 | tmzt_ | dcordes: confused |
15:24.01 | *** join/#htc-linux globalbus (n=j-filips@77-253-125-175.adsl.inetia.pl) |
15:24.35 | tmzt_ | dcordes: also, was differentiating between kernel code and userspace (ril), but that doesn't make sense in this case |
15:25.58 | dcordes | I don't know of any patches to trout smd that would fix it the AT send. the original trout smd code is what is used for raph100 raph800 and diamond in htc-msm-2.6.25 now |
15:26.38 | tmzt_ | ok |
15:27.01 | tmzt_ | this is because of amss difference? |
15:27.19 | dcordes | I think so |
15:28.13 | dcordes | htcvenus' (xperia x1) AMSS seems closer to trout AMSS because smd0 is fully accessible there |
15:29.06 | dcordes | somebody made a call on it using the htc-msm-2.6.25 kernel (with trout smd) and the 0.8 android ramdisk |
15:29.09 | dcordes | initrd |
15:29.18 | *** join/#htc-linux Czarnas (n=czarnas@imik.wip.pw.edu.pl) |
15:30.40 | Czarnas | xutywx, as You said, i'm here :) |
15:30.54 | tmzt_ | Czarnas: oleg? |
15:30.54 | dcordes | I would like to test the frameworkd on venus |
15:31.07 | xutywx | heh - but i'm now cooking new windows rom ;) |
15:31.12 | dcordes | hi Czarnas |
15:31.22 | Czarnas | hi |
15:31.23 | *** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfc036.pool.einsundeins.de) |
15:31.30 | Czarnas | xutywx, ooo! |
15:31.35 | globalbus | hmm now i'm patching this rom xD |
15:31.37 | Czarnas | you can check something for me :] |
15:32.12 | Czarnas | xutywx, after you flash, connect toshi via AS and synchronize |
15:32.13 | xutywx | who? |
15:32.18 | Czarnas | you |
15:32.20 | Czarnas | :D |
15:32.20 | xutywx | oks ;) |
15:32.23 | tmzt_ | do you guys know oleg? |
15:33.30 | drasar | tmzt_: So I have copy himalaya_map_io() function |
15:33.58 | tmzt_ | drasar: ok, see if w100 will work then |
15:34.54 | dcordes | tmzt_: http://forum.xda-developers.com/showpost.php?p=3071359&postcount=1154 |
15:35.07 | drasar | tmzt_: But I don't know which assignments are to registers for W100 |
15:35.33 | tmzt_ | the comments suggest everything not in #if 0 is |
15:37.10 | tmzt_ | dcordes: what is that? |
15:37.32 | dcordes | lavender.t testing at write |
15:37.52 | tmzt_ | ok |
15:38.17 | Czarnas | globalbus, what exactly are u patching? |
15:38.48 | tmzt_ | Czarnas: are you working on linux for g900 or windows? |
15:38.49 | globalbus | notes, startup script, kbdfix |
15:39.14 | Czarnas | tmzt_, yyy, dunno what you have on mind |
15:40.01 | tmzt_ | xutywx is working on updating oleg's g900 linux support |
15:40.26 | Czarnas | i know it :) |
15:40.37 | Czarnas | i'll try to help him |
15:41.45 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
15:42.03 | drasar | tmzt_: So himalaya_map_io() is everything that should I copy? |
15:42.18 | tmzt_ | yes |
15:42.43 | tmzt_ | the new w100 might have more init and I'm not sure what it all does but let's try that for now |
15:45.42 | *** join/#htc-linux pishuri (n=pishuri@194.230.146.166) |
15:49.06 | *** join/#htc-linux Miek (n=mike@unaffiliated/mikechml) |
15:49.39 | drasar | tmzt_: And what about MACHINE_START(HIMALAYA, "HTC Himalaya")? |
15:50.36 | tmzt_ | drasar: you want that but use the new style |
15:52.21 | tmzt_ | drasar: ok, not sure what you asked |
15:55.08 | drasar | tmzt_: Should I copy "MACHINE_START(HIMALAYA, "HTC Himalaya") |
15:55.08 | drasar | /* MAINTAINER("Xanadux.org")*/ |
15:55.08 | drasar | .phys_io = 0x40000000, |
15:55.08 | drasar | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, |
15:55.08 | drasar | .boot_params = 0xa0000100, |
15:55.09 | drasar | .map_io = himalaya_map_io, |
15:55.11 | drasar | .init_irq = himalaya_init_irq, |
15:55.13 | drasar | .timer = &pxa_timer, |
15:55.15 | drasar | .init_machine = himalaya_init, |
15:55.17 | drasar | MACHINE_END" and leave there just .map_io = himalaya_map_io? |
15:55.19 | Czarnas | drasar use nopaste.org!!! |
15:56.07 | tmzt_ | drasar: I mean the new way for .io_pg_offst, I don't know if _map_io is still used but you can check other machines |
15:57.14 | tmzt_ | drasar: forget that comment for .io_pg_offst, it looks ok |
15:57.23 | tmzt_ | drasar: forget my comment for .io_pg_offst, it looks ok |
15:59.26 | drasar | Czarnas: Sorry, I didn't know about nopaste.org |
15:59.39 | Czarnas | ok, remeber for future :) |
16:00.46 | drasar | Czarnas: ok ;) |
16:03.09 | drasar | tmzt_: Need I .init_machine there? |
16:03.44 | tmzt_ | yes, you need a init_machine |
16:07.06 | drasar | tmzt_: Is it all right? http://www.nopaste.org/p/aYQ4Hra08 |
16:09.26 | tmzt_ | drasar: comment out the platform_add_devices |
16:10.30 | Czarnas | globalbus, problem with AS is also confirmed by xutywx |
16:10.42 | drasar | tmzt_: ok, I leave init function empty |
16:11.28 | tmzt_ | drasar: yeah, I don't think we have to init the fb driver or anything |
16:11.52 | tmzt_ | drasar: can you check drivers/video/w100fb.c and see if it platform device registers in module init? |
16:12.25 | toer | lo |
16:13.22 | xutywx | now i can test more ;) |
16:13.32 | xutywx | what should i do next? |
16:14.28 | tmzt_ | xutywx: what #include's do you have? |
16:14.42 | tmzt_ | xutywx: copy the udc related ones from htcapache.c |
16:14.49 | xutywx | ok |
16:15.12 | globalbus | ok, in next release AS "will" be work |
16:15.18 | xutywx | can includes be doubled? |
16:15.31 | tmzt_ | they can but there is no reason to |
16:15.39 | Czarnas | globalbus, thx buddy |
16:15.57 | xutywx | that;s a reason - i am too lazy to look at them |
16:15.59 | drasar | tmzt_: There is "platform_driver_register(&w100fb_driver)" in w100fb_init() |
16:16.25 | xutywx | #include "../../../../drivers/net/wireless/acx/acx_hw.h" // acx_hardware_data |
16:16.31 | xutywx | copy it too? |
16:16.57 | tmzt_ | no |
16:17.00 | xutywx | ok |
16:17.07 | drasar | tmzt_: Is it what do you mean? |
16:17.24 | xutywx | what now? |
16:17.35 | xutywx | #include <asm/arch/htcapache-gpio.h> // GPIO_NR_HTCAPACHE_* |
16:17.36 | xutywx | ?? |
16:17.41 | tmzt_ | drasar: hold on |
16:18.17 | tmzt_ | drasar: yeah, try it |
16:19.47 | drasar | tmzt_: ok. And need I any extra "selects" in Kconfig? |
16:20.01 | sleepr | i have a swedish touch pro, gsm version, with swedish letters.. will they be supported with android? :-) |
16:20.12 | tmzt_ | not right now, just set CONFIG_FB_W100=y in .config |
16:20.27 | tmzt_ | sleepr: the keyboard does not work at all right now |
16:20.29 | drasar | tmzt_: ok |
16:20.46 | tmzt_ | sleepr: there is a soft keyboard in the kernel and one coming in the next android |
16:21.07 | tmzt_ | sleepr: the phone does not work yet on touch pro |
16:21.20 | sleepr | well im thinking in the future :) |
16:22.07 | tmzt_ | sure, when the keyboard works it will be possible to load a linux keymap for your key layout |
16:22.20 | tmzt_ | assuming the keys are physically the same |
16:22.31 | tmzt_ | I don't know how android does it |
16:22.43 | xutywx | ok - what now? |
16:23.17 | tmzt_ | xutywx: paste it on nopaste.org |
16:23.32 | xutywx | ok |
16:23.58 | xutywx | http://wklej.org/id/31121/ |
16:24.06 | xutywx | that's better for me ;) |
16:24.21 | tmzt_ | fine |
16:25.13 | tmzt_ | xutywx: ok, you didn't need all that but it's ok |
16:25.19 | tmzt_ | xutywx: compile and test |
16:25.22 | xutywx | ok |
16:25.35 | xutywx | you mean: make |
16:25.43 | xutywx | boot ant test usb? |
16:25.57 | xutywx | *and |
16:26.28 | *** join/#htc-linux pishuri (n=pishuri@194.230.146.209) |
16:27.04 | sleepr | is it possible to run a terminal in android? :) |
16:28.30 | tmzt_ | xutywx: yes |
16:28.45 | tmzt_ | sleepr: like what kind of terminal? |
16:29.54 | sleepr | like a linux terminal to get under the skin of android gui :-p |
16:30.15 | tmzt_ | sleepr: you really have to choose with init= on cmd line |
16:30.30 | xutywx | like before |
16:31.27 | xutywx | error with usb ;/ |
16:31.59 | tmzt_ | xutywx: did you change the detect gpio? |
16:32.09 | xutywx | what and where? |
16:32.35 | xutywx | gpio_set_value(GPIO_NR_HTCAPACHE_USB_PUEN, 1); |
16:32.37 | xutywx | ? |
16:32.57 | tmzt_ | xutywx: we need more code |
16:33.13 | xutywx | so made it ;) |
16:33.31 | tmzt_ | you don't have the irq handler |
16:33.58 | xutywx | moment |
16:34.59 | xutywx | http://wklej.org/id/31127/ |
16:35.01 | xutywx | look here |
16:35.41 | xutywx | but... active sync was running |
16:40.00 | drasar | tmzt_: Need I to call pxa_init_irq() in himalaya_init_irq()? |
16:40.16 | tmzt_ | drasar: just use pxa_init_irq instead |
16:40.29 | tmzt_ | drasar: but you definately have to call pxa_init_irq |
16:40.49 | tmzt_ | drasar: either in the machine_start block or the hima_init_irq() function |
16:42.10 | drasar | tmzt_: yes, but I receive "error: too few arguments to function 'pxa_init_irq'" |
16:42.43 | tmzt_ | drasar: you're going to have to git-grep that, but I think it's in mach-pxa devices.c |
16:46.26 | tmzt_ | xutywx: sorry, the code is just not in htcapache.c |
16:47.48 | *** join/#htc-linux tsdogs (n=tsdogs@net70-17.metalit.net) |
16:47.49 | *** join/#htc-linux chavonbravo (n=cb@fl-71-1-235-8.dhcp.embarqhsd.net) |
16:48.15 | *** join/#htc-linux FireSlash (n=FireSlas@rrcs-96-11-129-63.central.biz.rr.com) |
16:48.24 | drasar | tmzt_: I have found next functions http://www.nopaste.org/p/aHgiBo6nV |
16:48.39 | drasar | tmzt_: Can I use one of them? |
16:49.05 | tmzt_ | pxa27x_init_irq() |
16:49.06 | *** join/#htc-linux czarnas (n=czarnas@imik.wip.pw.edu.pl) |
16:49.48 | drasar | tmzt_: ok |
16:50.26 | xutywx | nice :P |
16:50.39 | xutywx | but i hevent got a backup ;/ |
16:50.42 | tmzt_ | .detect_gpio = {&pxagpio_device.dev, GPIO_NR_BLUEANGEL_USB_DETECT_N}, .detect_gpio_negative = 1, |
16:50.55 | tmzt_ | two lines |
16:51.00 | xutywx | ill try to edit it from mind |
16:51.09 | xutywx | where i should look for good file? |
16:51.15 | tmzt_ | what? |
16:51.27 | xutywx | <tmzt_> xutywx: sorry, the code is just not in htcapache.c |
16:51.40 | tmzt_ | I just pasted it |
16:51.45 | tmzt_ | add that to _udc_info |
16:51.53 | xutywx | ok |
16:52.04 | tmzt_ | change the GPIO_NR_BLUEANGEL_USB_DETECT_N to yours |
16:52.20 | tmzt_ | add the #define for it at the beginning |
16:52.41 | xutywx | .detect_gpio = {&pxagpio_device.dev, GPIO_NR_BLUEANGEL_USB_DETECT_N}, .detect_gpio_negative = 1, |
16:52.43 | xutywx | this? |
16:53.22 | xutywx | could you paste good version? |
16:53.27 | xutywx | of all the file? |
16:53.50 | tmzt_ | gpio 40 inverted |
16:54.27 | tmzt_ | that looks right |
16:54.33 | tmzt_ | you can paste your file |
16:54.43 | xutywx | i dont understand ;P |
16:55.02 | xutywx | plase change the code i have pasted lately ok? |
16:55.11 | tmzt_ | add a #define GPIO40_G900_USB_DETECT_N to the top of the file |
16:55.34 | tmzt_ | the change GPIO_NR_BLUEANGEL_USB_DETECT_N to GPIO40_G900_USB_DETECT_N |
17:02.43 | *** join/#htc-linux chab7 (n=kvirc@212.92.4.114) |
17:06.05 | drasar | tmzt_: So I have tried it, but it hangs on Haret's "Jumping to kernel..." |
17:06.30 | drasar | tmzt_: Still the same issue |
17:06.42 | tmzt_ | drasar: does the w100fb register itself? |
17:07.24 | drasar | tmzt_: How can I recognize it? |
17:07.41 | tmzt_ | 11:20 < tmzt_> cmonex: is it possible to use X1 radio on raph100? |
17:07.42 | tmzt_ | 11:24 < cmonex> sure |
17:07.42 | tmzt_ | 11:24 < cmonex> but i'd recommend blackstone radio |
17:07.42 | tmzt_ | 11:24 < cmonex> that's newer |
17:07.42 | tmzt_ | 11:24 < cmonex> 1.09.25 v 1.06.25 from x1 |
17:07.44 | tmzt_ | 11:24 < cmonex> btw i flashed 1.09 on x1 |
17:07.47 | tmzt_ | 11:24 < cmonex> works a lot better than 1.06 |
17:07.49 | tmzt_ | 11:25 < cmonex> (1.09 is the "blackstone radio", to make it clear) |
17:07.52 | tmzt_ | 11:25 < cmonex> (because only blackstone has it officially so far.) |
17:07.56 | tmzt_ | dcordes: can we try this with the trout smd? |
17:08.06 | AstainHellbring | hey guys what version of python is needed for haretconsole? |
17:08.29 | tmzt_ | drasar: check the module init line and see if it registers |
17:08.37 | *** join/#htc-linux LunohoD_ (n=alex@e180077208.adsl.alicedsl.de) |
17:09.39 | tmzt_ | AstainHellbring: probably 2.4 or 2.5 |
17:09.44 | xutywx | <tmzt_> .detect_gpio = {&pxagpio_device.dev, GPIO_NR_BLUEANGEL_USB_DETECT_N}, .detect_gpio_negative = 1, |
17:09.44 | xutywx | <tmzt_> two lines |
17:09.48 | xutywx | what two lines? |
17:09.50 | tmzt_ | 2.5 is best |
17:09.57 | tmzt_ | xutywx: I mean that should be two lines |
17:10.33 | xutywx | but why they're finishing by comma? |
17:10.36 | AstainHellbring | 2.6 ok? |
17:10.42 | tmzt_ | should be |
17:10.52 | tmzt_ | xutywx: they are fields in a struct |
17:10.59 | drasar | tmzt_: Where can I check it? During boot I can't see any line |
17:11.27 | tmzt_ | check the source |
17:11.34 | tmzt_ | drivers/video/w100fb.c |
17:11.49 | xutywx | what shout be the value of GPIO40_G900_USB_DETECT_N? |
17:12.09 | xutywx | *should ;) |
17:12.10 | tmzt_ | 40 |
17:12.44 | xutywx | http://wklej.org/id/31144/ |
17:12.50 | xutywx | it should look like this? |
17:13.26 | tmzt_ | drasar: does pxa_map_io exist? |
17:13.53 | tmzt_ | drasar: also, check that you are using the HIMA mtype (arm/tools/mach-types) |
17:14.16 | tmzt_ | don't do these for now because one of them turns the screen to mush */ |
17:14.17 | tmzt_ | /* reason: the ATI chip gets reset / LCD gets disconnected: |
17:14.17 | tmzt_ | <PROTECTED> |
17:14.17 | tmzt_ | GPCR0 = 0xFF00FFFF; |
17:14.31 | tmzt_ | if you are not getting white screen the kernel is probably not booting at all |
17:16.20 | drasar | tmzt_: I have uploaded that file. Could you check it please? http://www.stud.fit.vutbr.cz/~xmichl07/temp/himalaya/w100fb.c |
17:19.02 | xutywx | 68 line - ive forgot to delete that line ;/ |
17:19.05 | *** join/#htc-linux czarnas (n=czarnas@imik.wip.pw.edu.pl) |
17:23.35 | tmzt_ | module_init(w100fb_init); |
17:23.42 | tmzt_ | int __devinit w100fb_init(void) |
17:23.42 | tmzt_ | { return platform_driver_register(&w100fb_driver); |
17:23.42 | tmzt_ | } |
17:23.44 | tmzt_ | yes |
17:24.50 | tmzt_ | drasar: check the io resources in g900.c |
17:24.58 | tmzt_ | drasar: sorry |
17:25.00 | *** join/#htc-linux Traveler3 (n=traveler@s5591104d.adsl.wanadoo.nl) |
17:25.08 | tmzt_ | drasar: himalaya |
17:25.35 | xutywx | something is wrong with that struct |
17:25.45 | xutywx | where exactly sould i paste it? |
17:27.38 | tmzt_ | how many lines? |
17:28.00 | xutywx | ? |
17:28.19 | tmzt_ | how many lines or text |
17:28.37 | xutywx | http://wklej.org/id/31151/ |
17:28.57 | xutywx | error os in 83 |
17:29.11 | xutywx | *is |
17:29.25 | xutywx | and 84 |
17:29.37 | tmzt_ | paste the error here |
17:29.54 | xutywx | arch/arm/mach-pxa/g900/g900.c:83: error: unknown field detect_gpio specified in initializer |
17:29.54 | xutywx | arch/arm/mach-pxa/g900/g900.c:83: warning: braces around scalar initializer |
17:29.54 | xutywx | arch/arm/mach-pxa/g900/g900.c:83: warning: (near initialization for g900_udc_mach_info.gpio_vbus) |
17:29.54 | xutywx | arch/arm/mach-pxa/g900/g900.c:83: warning: initialization makes integer from pointer without a cast |
17:29.54 | xutywx | arch/arm/mach-pxa/g900/g900.c:83: error: initializer element is not computable at load time |
17:29.55 | xutywx | arch/arm/mach-pxa/g900/g900.c:83: error: (near initialization for g900_udc_mach_info.gpio_vbus) |
17:29.57 | xutywx | arch/arm/mach-pxa/g900/g900.c:83: warning: excess elements in scalar initializer |
17:29.59 | xutywx | arch/arm/mach-pxa/g900/g900.c:83: warning: (near initialization for g900_udc_mach_info.gpio_vbus) |
17:30.01 | xutywx | arch/arm/mach-pxa/g900/g900.c:84: error: unknown field detect_gpio_negative specified in initializer |
17:30.44 | tmzt_ | xutywx: look up pxa2xx_udc_mach_info |
17:31.09 | xutywx | for what? |
17:31.52 | tmzt_ | to find out which fields should be in there |
17:32.03 | *** join/#htc-linux rogro82 (n=rogro82@s5591104d.adsl.wanadoo.nl) |
17:32.11 | tmzt_ | rogro82: hey |
17:32.15 | rogro82 | hiya |
17:32.27 | tmzt_ | rogro82: do you know how to trace a driver in ce? |
17:32.35 | rogro82 | ida |
17:33.11 | rogro82 | what driver do you want to look at? |
17:33.44 | drasar | tmzt_: What should I check on that resources? |
17:34.41 | AstainHellbring | tmzt_ where best place to download haretconsole? |
17:35.10 | tmzt_ | hh.org/~koconnor/haret/ |
17:36.32 | tmzt_ | static struct resource himalaya_fb_resources[] = { |
17:36.33 | tmzt_ | [0] = { |
17:36.33 | tmzt_ | .start= HIMALAYA_ATI_W3220_PHYS, |
17:36.33 | tmzt_ | .end= HIMALAYA_ATI_W3220_PHYS + 0x00ffffff, |
17:36.33 | tmzt_ | .flags= IORESOURCE_MEM, |
17:36.35 | tmzt_ | }, |
17:36.38 | tmzt_ | }; |
17:36.40 | tmzt_ | static struct platform_device himalaya_fb_device = { |
17:36.43 | tmzt_ | .name= "w100fb", |
17:36.45 | tmzt_ | .id= -1, |
17:36.48 | tmzt_ | .dev= { |
17:36.50 | tmzt_ | .platform_data = &himalaya_fb_info, |
17:36.53 | tmzt_ | }, |
17:36.56 | tmzt_ | .num_resources= ARRAY_SIZE( himalaya_fb_resources ), |
17:36.58 | tmzt_ | .resource= himalaya_fb_resources, |
17:37.01 | tmzt_ | }; |
17:37.03 | tmzt_ | drasar: |
17:37.06 | tmzt_ | drasar: are you using himalaya_lcd.c ? |
17:37.23 | drasar | tmzt_: My current himalaya.c is http://www.nopaste.org/p/a91RCbcFw |
17:38.10 | drasar | tmzt_: No, himalaya_lcd isn't in vanilla |
17:38.16 | tmzt_ | drasar: add the himalaya_fb.c and add himalaya_fb.o to obj-CONFIG_MACH_HIMALAYA |
17:38.37 | tmzt_ | it's too long for the main board I think |
17:38.57 | tmzt_ | which board do you have? |
17:39.24 | tmzt_ | drasar: I see, there was no pdata and the w100fb was returning -ENODEV (but we could not see it) |
17:39.36 | xutywx | i dont know ;/ |
17:40.11 | tmzt_ | xutywx: know what? |
17:40.32 | xutywx | how shoud pxa2xx_udc_mach_info struct look |
17:40.50 | tmzt_ | you have to read the header |
17:41.00 | xutywx | what header? |
17:41.28 | drasar | tmzt_: Where can I find taht file himalaya_fb.c? |
17:41.33 | tmzt_ | are you using git or cvs? |
17:41.35 | tmzt_ | xutywx: |
17:41.52 | tmzt_ | drasar: in kernel26 hh.org |
17:42.08 | xutywx | i downloaded from cvs yesterday all to hd and thats all |
17:42.31 | tmzt_ | the grep -r pxa2xx_udc_mach_info |
17:42.33 | drasar | tmzt_: I haven't got any there |
17:42.37 | tmzt_ | then grep -r pxa2xx_udc_mach_info . |
17:42.50 | *** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be) |
17:42.55 | tmzt_ | drasar: copy it over |
17:42.59 | xutywx | moment |
17:43.02 | tmzt_ | drasar: fix the includes |
17:43.52 | tmzt_ | drasar: forget the asic3 and boardid detection, hardcode it for yours for right now |
17:44.13 | tmzt_ | drasar: if you have to, boot the old kernel and check the boardid |
17:44.39 | drasar | tmzt_: yes, but I can't find any himalaya_fb.c file in hh20 kernel |
17:44.58 | drasar | tmzt_: just himalaya_lcd.c |
17:45.03 | tmzt_ | http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/arch/arm/mach-pxa/htchimalaya/himalaya_lcd.c?rev=1.20&content-type=text/x-cvsweb-markup |
17:45.06 | tmzt_ | yes, sorry |
17:47.58 | xutywx | http://wklej.org/id/31158/ |
17:48.38 | tmzt_ | ./include/asm-arm/mach/udc_pxa2xx.h:struct pxa2xx_udc_mach_info { |
17:49.00 | xutywx | yeah - i just noticed it |
17:49.42 | xutywx | struct pxa2xx_udc_mach_info { |
17:49.42 | xutywx | <PROTECTED> |
17:49.42 | xutywx | <PROTECTED> |
17:49.42 | xutywx | #definePXA2XX_UDC_CMD_CONNECT0/* let host see us */ |
17:49.42 | xutywx | #definePXA2XX_UDC_CMD_DISCONNECT1/* so host won't see us */ |
17:49.43 | xutywx | /* Boards following the design guidelines in the developer's manual, |
17:49.45 | xutywx | <PROTECTED> |
17:49.47 | xutywx | <PROTECTED> |
17:49.49 | xutywx | <PROTECTED> |
17:49.51 | xutywx | <PROTECTED> |
17:49.53 | xutywx | u16gpio_vbus;/* high == vbus present */ |
17:49.57 | xutywx | u16gpio_pullup;/* high == pullup activated */ |
17:49.59 | xutywx | }; |
17:51.52 | xutywx | i think that usb is the wrong way ;/ we should try to get the framebuffer to work ;/ maybe using /dev/nvram or something ;/ |
17:52.06 | xutywx | but i'm tired for today |
17:53.02 | tmzt_ | nvram? |
17:53.27 | xutywx | in g900 there is nvidia goforce 5500 chip |
17:53.36 | xutywx | kernel seems to support this |
17:53.42 | tmzt_ | nvram is non-volatile ram |
17:54.35 | xutywx | ^^ i thought that is like in windows... one of nvidia drivers calls that :P |
17:55.28 | tmzt_ | the existing support only allows using it as a dumb framebuffer with a memory address and size |
17:55.53 | xutywx | what can we do with that? |
17:56.11 | tmzt_ | console |
17:56.58 | xutywx | shouldnt we add some options in haret to use this device as frame buffer? |
17:57.00 | tmzt_ | what does haret have to do with it? |
17:57.17 | tmzt_ | we could have an early fb like druidu on diamond |
17:57.25 | xutywx | somewhere i saw a console=/dev/something |
17:57.34 | tmzt_ | we can also check with haret to see if we can write to the fb |
17:57.51 | tmzt_ | that requires the fb to work first unless you have a serial cable |
17:58.08 | xutywx | ;/ i dont have a serial cable |
17:58.18 | xutywx | like most people i think |
17:58.35 | tmzt_ | we are using usb to see if the kernel works at all |
17:59.06 | xutywx | but it isnt working ;/ |
17:59.26 | tmzt_ | we can work on it later |
17:59.28 | xutywx | can you build kernel wich is 100% workin teoretically? |
17:59.45 | tmzt_ | without framebuffer you won't see it working but you can |
17:59.58 | tmzt_ | unless I missunderstand you |
18:00.31 | xutywx | im a n00b in topics like that, but i am telling what i think ;) |
18:00.51 | tmzt_ | theoretically? |
18:01.50 | xutywx | on paper / potentially |
18:02.37 | drasar | tmzt_: ok, and how can I solve these errors? http://www.nopaste.org/p/a4CD5XLObb |
18:05.29 | drasar | tmzt_: Himalaya board ID 0x4 |
18:06.35 | pishuri | hello there... |
18:07.18 | pishuri | I'm trying to run android/angstrom on my htc blackstone |
18:08.20 | pishuri | I've managed to start it, using the diamond's/raphael's haret/zImage, but the screen doesn't show correctly |
18:08.25 | pishuri | so I recompiled haret |
18:08.32 | pishuri | I downloaded the latest |
18:08.36 | pishuri | and I have the same thing |
18:09.02 | pishuri | screen is screwed, like old monitors with bad sync values on linux... |
18:09.10 | pishuri | the interesting part |
18:09.33 | pishuri | is that if I put a Sleep(200) on linboot.cpp |
18:09.45 | pishuri | before the mmu_trampoline |
18:11.04 | pishuri | the messages from haret show correctly, but it hangs there. If I remove the Sleep(200), I can see linux booting, but with illegible letters |
18:11.17 | pishuri | any ideas? |
18:11.32 | tmzt_ | it's proabably not haret but linux |
18:11.54 | tmzt_ | blackstone mddi/lcd is not supported yet, it needs work |
18:13.14 | tmzt_ | drasar: first, disable all the asic3 stuff |
18:13.42 | tmzt_ | drasar: second, find those defines and add them to your .c file |
18:15.00 | pishuri | well |
18:15.11 | pishuri | can you guide me a bit, |
18:15.27 | pishuri | on haret? |
18:15.31 | pishuri | or linux kernel |
18:18.04 | pishuri | tmzt: you know how can I find details of the mddi/lcd? |
18:18.24 | tmzt_ | no, you need to ask NetRipper and he is not here right now |
18:20.57 | drasar | tmzt_: functions like himalaya_lcd_set_power() I don't need, right? |
18:22.27 | *** join/#htc-linux TripleQ (n=joost@ip49-198-173-82.adsl2.static.versatel.nl) |
18:26.43 | *** join/#htc-linux LunohoD (n=alex@e180077208.adsl.alicedsl.de) |
18:34.45 | *** join/#htc-linux LunohoD_ (n=alex@e180077208.adsl.alicedsl.de) |
18:35.27 | xutywx | look at the g900_defconfig - it seems to be fine, but a bit large... it has gadget support alredy... try to biuld it? |
18:45.06 | *** join/#htc-linux DasFx (n=John@5354790B.cable.casema.nl) |
18:46.18 | tmzt_ | xutywx: it won't work unless the vbus detect results in PUEN |
18:46.56 | tmzt_ | drasar: not really, but they shouldn't hurt either |
18:47.04 | xutywx | i dont know what does it mean |
18:50.22 | drasar | tmzt_: The last error that I have "error: too few arguments to function 'lcd_device_register'" |
18:51.02 | xutywx | sonething like here: 18:17.03cr2we only need to find the PUEN gpio to autoreset the UDC. |
18:52.01 | drasar | tmzt_: I have find out, that there is new second argument "struct device *parent", but I don't know what to put there |
18:52.52 | *** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo) |
18:54.07 | drasar | tmzt_: http://www.stud.fit.vutbr.cz/~xmichl07/temp/himalaya/lcd.c |
18:55.18 | *** join/#htc-linux rolk (n=rolk@ip5457417f.direct-adsl.nl) |
18:56.14 | xutywx | look at htcuniversal_udc.c can we get something from there? |
18:57.25 | *** join/#htc-linux infernixx (n=nix@unaffiliated/infernix) |
19:10.47 | tmzt_ | xutywx: yes |
19:11.02 | tmzt_ | xutywx: on the first one, the second maybe |
19:11.49 | xutywx | nice ;) but arent those drivers for specific controler? |
19:12.08 | xutywx | ill be back in 20 minutes sorry |
19:12.14 | tmzt_ | drasar: not sure about that |
19:14.33 | *** join/#htc-linux TripleQ (n=joost@ip49-198-173-82.adsl2.static.versatel.nl) |
19:21.28 | rolk | dcordes: I've merged the szsoftware and dwaradzyn patches into the latest commit in the linuxtogo android-htc-msm-2.6.25 branch. This lets me build a zImage that boots successfully on a Polaris, using the angstrom initrd. |
19:21.39 | xutywx | im back |
19:21.53 | xutywx | what does: gpio_set_value(GPIO_NR_HTCAPACHE_USB_PUEN, 1); do? |
19:22.26 | rolk | dcordes: The sd card is somewhat more stable, I've just created a 20MB file on partition 3 on my SD card (ext2 fs) and copied that from there to partition 2 (ext2 fs). WOrked like a charm. |
19:27.18 | *** join/#htc-linux Xime (n=xime@dag94-3-82-233-170-230.fbx.proxad.net) |
19:27.20 | *** join/#htc-linux TrinityDied (i=TrinityD@212-198-148-149.rev.numericable.fr) |
19:27.35 | TrinityDied | :JOIN XDA6DEVS |
19:30.05 | *** join/#htc-linux joostvs (n=joost@mail.mac3park.nl) |
19:35.36 | drasar | tmzt_: So still no success :( |
19:41.10 | drasar | tmzt_: I have put copy of my files at http://www.stud.fit.vutbr.cz/~xmichl07/temp/himalaya/himalaya.c and http://www.stud.fit.vutbr.cz/~xmichl07/temp/himalaya/himalaya_lcd.c. Can you check it please? |
19:46.25 | drasar | tmzt_: I'll be away a few hours |
19:52.20 | xutywx | how to get actual gpio state? |
19:54.27 | *** join/#htc-linux TrinityDied (i=TrinityD@212-198-148-149.rev.numericable.fr) |
19:54.45 | *** part/#htc-linux TrinityDied (i=TrinityD@212-198-148-149.rev.numericable.fr) |
20:03.26 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d87c14e.pool.einsundeins.de) |
20:03.47 | rolk | dcordes: That git-g1-18-11-08.diff does not do it for me on my Polaris. I'm not sure what is wrong. |
20:05.04 | xutywx | does anybody know how to get actual state of gpios pin?<------>return (GET_HTCUNIVERSAL_GPIO(USB_DET) != 0); like this but on g900 |
20:05.06 | balsat | Someone know were to get the angstrom 2.6.25 initrd for the HTC Diamond? |
20:05.24 | balsat | ups 2.6.23 |
20:06.51 | balsat | Or know how to get "binderdev" running on 2.6.25 |
20:15.33 | *** join/#htc-linux chavonbravo (n=cb@166.194.101.134) |
20:16.54 | *** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfc036.pool.einsundeins.de) |
20:19.15 | xutywx | what is gpio1 41 responsible for? http://www.handhelds.org/moin/moin.cgi/ToshibaG900 |
20:26.43 | *** join/#htc-linux meshuga (i=meshuga@c-76-121-5-179.hsd1.wa.comcast.net) |
20:50.18 | xutywx | if somebody wants to get the code g900.c call me, but it is not working... i have no more time on next 4-5 days probably to work on it....sorry and goodbye |
20:52.31 | *** part/#htc-linux globalbus (n=j-filips@77-253-125-175.adsl.inetia.pl) |
21:02.05 | *** join/#htc-linux timebomb (n=tb@e176119123.adsl.alicedsl.de) |
21:12.43 | *** join/#htc-linux chavonbravo (n=cb@166.194.101.134) |
21:15.01 | *** join/#htc-linux chabonbravo (n=cb@166.194.101.134) |
21:20.13 | *** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfc036.pool.einsundeins.de) |
21:20.29 | *** join/#htc-linux ImCoKeMaN (n=imcokema@pool-98-111-118-30.hrbgpa.fios.verizon.net) |
22:02.00 | *** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbf86fb.pool.einsundeins.de) |
22:03.10 | dcordes | rolk: ok, did you read the log? |
22:03.45 | *** join/#htc-linux kimhoon (n=kimhoon@s559116c1.adsl.wanadoo.nl) |
22:03.58 | dcordes | rolk: msm7200 SD seems to be very stable with htc-vogue msm_sdcc |
22:12.49 | *** join/#htc-linux mrmg (n=mrmg@spc1-bror4-0-0-cust383.asfd.broadband.ntl.com) |
22:36.12 | *** join/#htc-linux br1ck (n=br1ck@xdslcx098.osnanet.de) |
22:38.54 | *** join/#htc-linux cybergonz (n=cybergon@ACaen-257-1-50-43.w90-17.abo.wanadoo.fr) |
22:39.54 | *** join/#htc-linux cybergonz (n=cybergon@ACaen-257-1-50-43.w90-17.abo.wanadoo.fr) |
23:11.27 | *** join/#htc-linux ptl (n=patola@201.82.70.87) |
23:30.54 | *** join/#htc-linux nebi_ (n=nebi@c-d0ed70d5.02-145-7570701.cust.bredbandsbolaget.se) |
23:31.43 | *** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring) |
23:50.56 | *** join/#htc-linux Untouchable (n=Untoucha@77.16.101.92.tmi.telenormobil.no) |
23:51.02 | Untouchable | hi |
23:51.51 | *** join/#htc-linux LunohoD_ (n=alex@e180068221.adsl.alicedsl.de) |
23:53.30 | Untouchable | :) |
23:54.34 | Untouchable | Any recent progress on the Raph? heard someone managed to get SD working once, but noone else has gotten it working |