00:40.11 | *** join/#htc-linux JTRipper (n=jtripper@p54B1E3C9.dip.t-dialin.net) |
00:42.34 | *** join/#htc-linux booba (n=booba@81.56.252.135) |
00:59.06 | *** join/#htc-linux g3gg0_ (n=g3gg0@ppp-82-135-89-167.dynamic.mnet-online.de) |
07:20.32 | *** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com) |
08:06.12 | *** join/#htc-linux rob_w (n=bob@p85.212.181.243.tisdip.tiscali.de) |
08:11.20 | *** join/#htc-linux psokolovsky_ (n=psokolov@ip.85.202.124.214.dyn.sub-9.broadband.voliacable.com) |
09:56.30 | *** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt) |
09:56.30 | *** topic/#htc-linux is HTC LINUX ! check also -> http://handhelds.org/moin/moin.cgi/HTC_2dPhones | http://wiki.xda-developers.com/index.php?pagename=BlueangelResearch | http://gnulinux.biz/files/ LOGS: at http://ibot.rikers.org/%23htc-linux/ |
10:19.03 | *** join/#htc-linux psokolovsky (n=psokolov@236.usernat.ip.net.ua) |
10:39.56 | *** join/#htc-linux LunohoD (n=alex@e180073184.adsl.alicedsl.de) |
13:01.48 | *** join/#htc-linux WizMaui (n=WizMaui@62.112.90.179) |
13:37.54 | *** join/#htc-linux JTRipper86 (n=jtripper@p54B1F31D.dip.t-dialin.net) |
14:03.33 | WizMaui | is the BRF6150 bluetooth chip from ti supported under linux? |
14:05.27 | psokolovsky | sure |
14:06.02 | WizMaui | because i think the htc wizard uses this chip... |
14:06.55 | psokolovsky | hx4700 uses it too an many others. http://handhelds.org/moin/moin.cgi/HandheldHardwareXref |
14:07.53 | WizMaui | sounds very interesting...i will see if i can incorporate this into the linwizard project |
14:09.16 | psokolovsky | WizMaui, pls add hw you know to that page ;-) |
14:09.32 | WizMaui | no problem ;) |
14:49.12 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
15:11.52 | *** join/#htc-linux asylumed (n=insanity@196.211.28.91) |
16:06.56 | lilliput | have you seen the openbsd 4.0 with the armish support ?? |
16:07.19 | *** join/#htc-linux lamikr|lap (n=chatzill@dyn244-90.adsl.spy.dnainternet.fi) |
16:11.52 | psokolovsky | lilliput, so, wazzup? openbsd had arm support all the time? so what? |
16:12.58 | lilliput | xscale is now supported not only arm (at least I though so) |
16:13.59 | psokolovsky | i saw xscale support year ago in their cvs |
16:14.36 | psokolovsky | some time ago they had more optimized memmpy(), etc, but that's not longer true afaik, etc, etc |
16:15.33 | psokolovsky | anyway, what use of xscale support? linux supported it all the time? to they support all rhose unknown asic's we bang heads against? |
16:15.53 | lilliput | though it was about the library preload to reduce the application load time |
16:16.07 | WizMaui | i would rather appreciate if someone supported htc's omap boards ;) |
16:16.52 | JTRipper | me2 |
16:17.50 | lilliput | I'm really tired of the windows mobile on the universal I use time to time the linux version but waiting for phone/gprs functions for a daily use |
16:22.47 | lilliput | I'm just switching from a linux debian to a openbsd on wrap and I saw that's why I though it was worth telling you |
16:25.00 | *** join/#htc-linux psokolovsky_ (n=psokolov@ip.85.202.124.214.dyn.sub-9.broadband.voliacable.com) |
16:33.31 | JTRipper | http://seattlepi.nwsource.com/business/290936_msftnovell02ww.html |
16:33.40 | JTRipper | i think i'm going crazy |
16:42.06 | lilliput | not a surprise from novell but it is from the other one |
16:45.53 | *** join/#htc-linux florian (n=fuchs@87.193.63.98) |
16:48.34 | florian | hi all |
16:50.04 | lamikr|lap | florian hi |
17:02.24 | *** join/#htc-linux rob_w (n=bob@p85.212.181.243.tisdip.tiscali.de) |
17:03.08 | *** join/#htc-linux rob__w (n=bob@p85.212.181.243.tisdip.tiscali.de) |
17:03.56 | *** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com) |
17:13.04 | *** join/#htc-linux cr2 (n=konversa@crpl22.physik.uni-wuppertal.de) |
17:17.45 | goxboxlive | hi cr2 |
17:17.57 | goxboxlive | Have you been on vacation again ? |
17:19.28 | cr2 | you say. i was writing a scientific proposal bettling for money ;-) |
17:19.51 | cr2 | fsck such vacations. |
17:20.54 | goxboxlive | :-) i c, well, are you finished with the writing and ready to go back to some unpaid worek again? |
17:21.21 | cr2 | yes :D |
17:22.45 | goxboxlive | good. What's the plan? I have maaged to get some "noice" in the speakers. |
17:23.31 | goxboxlive | Not understamable sound, but some "sparkling" when they get activated. |
17:23.37 | cr2 | last i have tried the sound, it had problems with i2c. |
17:23.47 | goxboxlive | well, i dont anymore. |
17:24.11 | goxboxlive | I nour defconfig file there where some missing modules selected, but i have figured that out now. |
17:24.22 | cr2 | does the mixer produce something visible in the 'dmesg' |
17:24.31 | cr2 | output ? |
17:24.43 | goxboxlive | yes |
17:24.51 | cr2 | what ? |
17:25.00 | goxboxlive | i can boot linux and do seom test if you like. |
17:26.02 | cr2 | ok. |
17:28.51 | goxboxlive | cr2: This is during boot: |
17:28.53 | goxboxlive | <6>I2C: i2c-0: PXA I2C adapter |
17:28.53 | goxboxlive | <5>snd_htcuniversal_audio_set_codec_reset: 1 |
17:28.53 | goxboxlive | <5>snd_htcuniversal_audio_set_codec_reset: 0 |
17:28.53 | goxboxlive | <6>PXA2xx i2Sound: HTC Universal Audio activated |
17:30.00 | cr2 | od -x /dev/dsp ? |
17:30.31 | goxboxlive | root@htcuniversal:~$ od -x /dev/dsp |
17:30.31 | goxboxlive | od: /dev/dsp: Input/output error |
17:31.04 | goxboxlive | I'll get thos error when i also do 'cat /soundfile > /dev/dsp' |
17:32.38 | goxboxlive | The souncard is working on hx4700, i have aksed some guys at #OE to test. |
17:32.53 | cr2 | ok, then we need to compare the code. |
17:33.39 | cr2 | the apache and sable (and others) also need this driver, so we'd think about avoiding the #ifdef spaghetti. |
17:34.01 | goxboxlive | But so you know. The sparking is also when i have plugged in a headset. So the headphone jack is working like the main speakers are. |
17:34.10 | goxboxlive | ok |
17:35.05 | cr2 | it means that the power is applied or switched off. |
17:35.20 | cr2 | the gpios are correct, and we know that. |
17:35.34 | goxboxlive | yes, since it worked in the .12 kernel. |
17:47.07 | cr2 | there is a massive hh.org CVS kernel update. do you know what it is ? |
17:47.49 | goxboxlive | since when? They have moved over to hh2 |
17:48.09 | goxboxlive | There are also something about movin the buttons over to asic3 or soemthing. |
17:48.11 | psokolovsky | Hi folks! ;-) |
17:48.21 | goxboxlive | Maybe psokolovsky should inform you |
17:48.25 | psokolovsky | cleaning up crap ;-) |
17:48.31 | goxboxlive | well here he is |
17:48.44 | psokolovsky | yeah, we should seriously plan 2.6.18 upgrade |
17:49.21 | cr2 | hi psokolovsky |
17:49.50 | psokolovsky | hi Oleg! |
17:49.51 | psokolovsky | cr2, you known the most hot question of the week? |
17:49.55 | cr2 | you have written the asic3_owm driver afaik. |
17:49.57 | cr2 | ? |
17:50.06 | cr2 | which one ? |
17:50.29 | psokolovsky | cr2, it is - what's your email! |
17:50.34 | psokolovsky | ;-) |
17:50.46 | psokolovsky | people keep asking, not only me ;-) |
17:50.58 | psokolovsky | lkcl wondered too |
17:51.19 | cr2 | i'll send you an e-mail. |
17:51.27 | psokolovsky | cr2, thanks ;-) |
17:51.48 | psokolovsky | kernel-discuss stil doesn't work, and there's soem stuff to cc: you |
17:52.07 | cr2 | i'll try to subscribe there. |
17:52.20 | psokolovsky | nice! |
17:55.46 | *** join/#htc-linux g3gg0_ (n=g3gg0@ppp-82-135-82-173.dynamic.mnet-online.de) |
18:08.32 | *** join/#htc-linux lkcl (n=lkcl@host81-155-14-65.range81-155.btcentralplus.com) |
18:11.24 | cr2 | psokolovsky: there is a sound/arm/pxa-ak4641.c driver, but it is not used or referenced anywhere. is it just some redunadant junk ? |
18:11.49 | psokolovsky | cr2: hmmm. what hx4700 uses? |
18:13.04 | psokolovsky | but worth checking everything, of course |
18:13.19 | psokolovsky | so far, I'm cleaninging up what diff -u gives, not -uN |
18:14.18 | cr2 | it uses pxa2xx-i2sound.c |
18:14.35 | cr2 | among others. it is also not perfect. |
18:15.00 | cr2 | #if CONFIG_MACH_H4700 |
18:15.04 | cr2 | <PROTECTED> |
18:15.06 | psokolovsky | iirc, ak4641 is chip used in hx4700 |
18:15.08 | cr2 | <PROTECTED> |
18:15.09 | psokolovsky | or close |
18:15.12 | cr2 | <PROTECTED> |
18:15.16 | cr2 | #endif |
18:15.20 | cr2 | #if CONFIG_MACH_HTCUNIVERSAL |
18:15.20 | cr2 | <PROTECTED> |
18:15.20 | cr2 | <PROTECTED> |
18:15.20 | cr2 | <PROTECTED> |
18:15.21 | cr2 | #endif |
18:15.41 | psokolovsky | if that's in pxa2xx-i2sound.c, it sucks ;-( |
18:16.06 | psokolovsky | but we have ASoC in queue anyway... |
18:16.21 | cr2 | this code should probably go into .activate function. |
18:16.35 | cr2 | but i'm not quite sure about the init sequence. |
18:17.13 | psokolovsky | I guess, it's place in machine handler. I'm not too much familair with sound too, though |
18:17.18 | cr2 | so this sound code is a mess now ;) |
18:17.21 | cr2 | me too. |
18:17.57 | cr2 | i have just copied the hx4700 code over in .12 and it 'just worked'. |
18:19.49 | goxboxlive | cr2: What do you mean with "just worked"? |
18:20.49 | *** join/#htc-linux WizMaui_ (n=WizMaui@62.112.90.179) |
18:20.57 | cr2 | goxboxlive: it worked for me without completely understanding what's going under the hood there. |
18:22.39 | goxboxlive | ok |
18:48.56 | *** join/#htc-linux lkcl (n=lkcl@host81-155-14-65.range81-155.btcentralplus.com) |
18:49.05 | lkcl | allo darlins |
18:55.46 | lkcl | huh. you're all asleep! |
18:57.47 | goxboxlive | no where not, just deeply consentrated (or however it is spelled) |
18:58.00 | Kevin2 | Hi |
18:58.29 | goxboxlive | cr2: How do i activate automatic rotation? You told me that his where deactivated in the kernel, i want it back. |
18:59.08 | goxboxlive | hi Kevin2: Do you have a new Haret version where the reboot stuff works now? |
19:00.09 | lkcl | deeply concentrated. what... like persil automatic washing powder?? |
19:00.23 | goxboxlive | yes something like that |
19:00.33 | Kevin2 | goxboxlive: As far as I know, it works already. I'm not sure why the kernel doesn't come up.. It could be haret, but it might also be the kernel. |
19:00.45 | goxboxlive | Kevin2 Ok |
19:00.48 | lkcl | careful dude i'm drinking concentrated fruit juice and i'm right in front of my computer |
19:00.57 | lkcl | don't make me laugh okay? :) |
19:00.59 | Kevin2 | goxboxlive: Oh the linux reboot stuff. Yes, I fixed that. |
19:01.21 | goxboxlive | lklc: I am drinking a beer, with a 2 month child and a wife beside me |
19:02.51 | lkcl | hurrah! _and_ programming, too. my small baby is in the other room, only 4 weeks. wheee! |
19:17.06 | *** join/#htc-linux florian_ (n=fuchs@87-193-10-207.ipool.celox.de) |
19:18.36 | *** join/#htc-linux asylume1 (n=insanity@196.211.116.2) |
19:18.38 | *** part/#htc-linux asylume1 (n=insanity@196.211.116.2) |
19:18.46 | *** join/#htc-linux asylume1 (n=insanity@196.211.116.2) |
19:28.07 | lkcl | is cr2 awake? |
19:28.26 | lkcl | am trying to get bluetooth working: want your best guess on where the EGPIO is, dude! |
19:28.52 | cr2 | hi guys, i'm back. |
19:29.09 | lkcl | hallo back |
19:29.15 | cr2 | lkcl: have you found the SD RO asic3 gpio ? |
19:29.41 | lkcl | no but i am guessing it's either inverted or there isn't one. i just ... ignored it, and it worked :) |
19:29.50 | cr2 | goxboxlive: the "buttons" are commented out in the kernel, clamshell cover is one of them. |
19:30.11 | lkcl | i'm looking for the EGPIO base address so i can try bluetooth. |
19:30.13 | goxboxlive | ok, what isthe name of the file? |
19:30.28 | lkcl | i've located the egpio pin, the 3v3 thing, the power, the reset ... |
19:30.29 | cr2 | lkcl: if the "standard" asic3 RO detecttion does not work, it should be done in a different way. |
19:31.02 | cr2 | lkcl: on blueangel it is an asic3 gpio. |
19:31.17 | lkcl | well, i am guessing it might be inverted - like a lot of the sable thingies. |
19:31.31 | cr2 | lkcl: BT needs power, reset lines. |
19:31.50 | cr2 | you can seee them with "btctl *" haret commands. |
19:32.21 | lkcl | i found them all. |
19:32.28 | cr2 | lkcl: when you trace with "wasic3gpio", do you see any different activity to SD RO and SD RW ? |
19:32.37 | lkcl | http://wiki.xda-developers.com/index.php?pagename=SableBluetooth |
19:32.48 | cr2 | ok. |
19:32.50 | lkcl | i haven't a clue on how to make an sdcard read-only |
19:33.00 | lkcl | not gonna worry about it right now. |
19:33.05 | lkcl | wanna get bluetooth working! |
19:33.13 | cr2 | Kevin2: did you add CPU suspend/resume to apache ? |
19:33.15 | lkcl | how did you track down the EGPIO on the universal? |
19:33.21 | cr2 | lkcl: you have miniSD ? |
19:33.27 | lkcl | yep. miniSD. |
19:33.36 | lkcl | #define HTCUNIVERSAL_EGPIO_BASE PXA_CS2_PHYS+0x02000000 |
19:33.38 | cr2 | lkcl: EGPIO or ASIC3 gpio ? |
19:33.50 | lkcl | EGPIO |
19:33.53 | cr2 | lkcl: are you sure you have egpio ? do you have a CPLD ? |
19:33.58 | lkcl | yep. |
19:34.17 | lkcl | unknown: LC404ZC 75MN6 A602RR10 - right next to ASIC3 (probably a lattice cpld for clock distribution) |
19:34.18 | cr2 | ok. |
19:34.27 | lkcl | in here: http://wiki.xda-developers.com/index.php?pagename=Ipaq6915 |
19:34.29 | cr2 | should be xilinx. |
19:35.03 | lkcl | manufacturer is lattice. |
19:35.28 | cr2 | EGPIO6 : 3v3 enable |
19:35.33 | cr2 | i think it's a fake. |
19:35.35 | lkcl | yep - that's it. |
19:35.37 | lkcl | ha ha :) |
19:35.57 | lkcl | ok i try without it... |
19:35.59 | cr2 | i think i have mapped CKEN as egpio for your device in haret ;) |
19:36.06 | cr2 | what is CKEN6 ? |
19:36.22 | lkcl | burble? |
19:36.54 | lkcl | who me? |
19:37.09 | cr2 | i'll look myself. |
19:37.22 | cr2 | lkcl: can you confirm ACX100 here http://wiki.xda-developers.com/index.php?pagename=ipaq6915MemoryMap |
19:37.31 | cr2 | i don't see any place for EGPIO. |
19:37.59 | lkcl | when we first checked it was an acx100 |
19:38.13 | lkcl | 1st container |
19:38.13 | lkcl | wlan: TI ACX100 includes TNETW 1100B ZHH (TNETW1100BZHH C E 65AC9CT), MAXIM MAX2820 (MAXIM MAX2820 ETM615 NN7N1LQ) and i2c eeprom: 2408 WP (near the TNETW and MAX2820) |
19:38.13 | lkcl | (same as on HTC_Universal |
19:38.52 | lkcl | ok. let's try bluetooth! hmm... how am i supposed to test this... |
19:38.54 | cr2 | no, the mapping. |
19:39.29 | lkcl | you mean in the memory map page, http://wiki.xda-developers.com/index.php?pagename=ipaq6915MemoryMap |
19:39.29 | cr2 | bluetooth ? forget about egpio and adaprt the universal_bt driver. |
19:39.53 | cr2 | lkcl: yes. with "wi" command, when wifi is active. |
19:40.10 | lkcl | yeh that's what i'm doing. i've managed to get it compiled - i've also commented out the egpio code in PXA_UART_CFG_POST_STARTUP and SHUTDOWN |
19:40.20 | cr2 | set trace 0xab000000 |
19:40.23 | cr2 | ok. |
19:40.32 | lkcl | ah ok. will do that later. |
19:41.05 | lkcl | any suggestions on how to user-space test my shiny new htcsable_bt.c? |
19:41.06 | lkcl | :) |
19:41.36 | cr2 | it will write the TI FW version into syslog. |
19:41.49 | cr2 | or run the "hciattach" manually . |
19:41.57 | cr2 | <PROTECTED> |
19:44.30 | lkcl | ah ok. |
19:44.37 | lkcl | brb i got guests. yes am on ffuart. |
19:44.45 | lkcl | talk to me - i'll be back. |
19:45.10 | lkcl | intermittently |
19:46.18 | cr2 | i have looked at your trace. |
19:46.38 | cr2 | EGPIO6 is CKEN6 == FFUART, so forget about EGPIO. |
19:48.57 | goxboxlive | cr2: If we dont know how to fix the sound yet, how about fixing the resume, and maybe the power modules so we can at least use the universal daily as a PDA. I would even used it as a work tool. |
19:51.14 | cr2 | i'll to the following: mask gpio34/35/39 and run "btctl *" while running "wasic3gpio" |
19:52.06 | cr2 | goxboxlive: where is the asic3_owm driver psokolovsky has posted some time ago? i have done massive disasm on battery.dll, so i can verify the necessary steps. |
19:52.33 | cr2 | we need to get the OWM monitor first, them we can move to the charging gpios. |
19:52.39 | lkcl | ok! |
19:53.29 | cr2 | lkcl: i'm surprised that you BT irq is not an irq ?? maybe you can fix the SableASIC3 page ? |
19:53.48 | lkcl | eek! forgot about that... |
19:54.35 | goxboxlive | i have searched for it, but i cant find it. I guess psokolovsky is the right man to ask again. |
19:54.45 | cr2 | btctl 20 |
19:54.48 | cr2 | is power off |
19:54.55 | cr2 | btctl 21 |
19:54.57 | cr2 | or 22 |
19:55.00 | cr2 | is power on. |
19:55.07 | goxboxlive | maybe he has included it in the asic3_base |
19:55.18 | psokolovsky | cr2, goxboxlive: I'm not the right man to ask about w1, after all ;-) ask pH5 better |
19:55.42 | cr2 | psokolovsky: which driver should be responsible to the asic3 clocks ? |
19:56.00 | psokolovsky | all what I did is posted a driver I once hacked together. it never really worked for me, or somebody else |
19:56.03 | cr2 | s/ to the/ for the/ |
19:56.08 | *** join/#htc-linux ekkobell1 (n=michi@p54A3F5FD.dip.t-dialin.net) |
19:56.14 | cr2 | too much beer today ;) |
19:56.25 | lkcl | cr2: well there _is_ an asic3 line going up/down - gpiob4... |
19:56.26 | ekkobell1 | hi guys .. i just started playing with my wizard ... but while compiling with buildroot it tells me that the file .../busybox/Rules.mak is missing ... what is this file for and how can i get it ?? |
19:56.27 | psokolovsky | cr2, _base, apparently. |
19:56.28 | goxboxlive | :-) |
19:56.59 | psokolovsky | cr2, but: we don't have full-fledged clock management there |
19:57.45 | lkcl | rats i booted up the wrong sd card. |
19:57.52 | cr2 | ok. |
19:57.54 | lkcl | doesn't have bt tools etc. on it. |
19:58.23 | cr2 | ekkobell1: you have omap ? then i don't know. |
19:59.14 | cr2 | lkcl: do you have the RO switch on miniSD ? imho, microSD does not have it at all. |
19:59.22 | ekkobell1 | jap |
19:59.22 | lkcl | no, no switch. |
19:59.43 | cr2 | lkcl: then you can't have "ro" at all ;) |
19:59.55 | lkcl | hurrah! :) |
20:00.20 | cr2 | but we need to fix the asic3_mmc driver somehow. |
20:01.07 | lkcl | yeh. at the moment the driver tries to detect read-only - all the time - and on the sable, read-only is set permanently on, and it's a lie |
20:01.22 | psokolovsky | cr2: that's what I have email for |
20:01.40 | psokolovsky | lkcl: you're reachable as lkcl@hh.org? |
20:01.46 | cr2 | lkcl: there is a problem on the BA too, but you have an asic3 gpio for it. |
20:02.31 | cr2 | i don't know why htc used a gpio on BA, on all other devices the asic3_mmc works as expected. |
20:02.39 | psokolovsky | cr2, you're ok with the email address you sent me to go cc: to ML? |
20:02.55 | cr2 | psokolovsky: yes. |
20:03.26 | psokolovsky | lkcl, ^ ?? |
20:03.39 | cr2 | maybe somebody with himalaya can provide more info too. |
20:04.21 | lkcl | sorry folks |
20:04.43 | lkcl | i'm lkcl@lkcl.net |
20:04.56 | psokolovsky | cr2, lkcl: check your mail in some time pls |
20:05.04 | lkcl | and i have a himalaya, but not here (it's in holland). i'll have it some time next month. |
20:05.11 | lkcl | what?? i have mail?? |
20:05.12 | psokolovsky | lkcl, sorry, too late ;-) hope @hh.orh forwards correctly ;-) |
20:05.43 | lkcl | yep - i set forwarding. hurrah! |
20:06.02 | lkcl | gotta go pretend to look after guests... backinamo... |
20:13.14 | lkcl | ok. |
20:26.32 | lkcl | haven't got your email psokolovsky - but then again i have greylisting in place. |
20:27.49 | psokolovsky | lkcl, forwarded to .net. likely, all @hh mail dead |
21:04.00 | *** join/#htc-linux JuNuKN (n=JuNuKN@X4e7b.x.pppool.de) |
21:19.25 | *** join/#htc-linux asylumed (n=insanity@196.211.28.91) |
21:19.27 | *** part/#htc-linux asylumed (n=insanity@196.211.28.91) |
21:19.31 | *** join/#htc-linux asylumed (n=insanity@196.211.28.91) |
21:20.57 | cr2 | asylumed: hi. what is the blueangel status ? |
21:21.15 | asylumed | suspends properly now it seems :) |
21:21.29 | asylumed | but overall... needs lots more work... |
21:21.29 | cr2 | resumes ? |
21:21.32 | asylumed | ya |
21:21.55 | cr2 | what about wifi ? i have not seen any activity on pcmcia0/1 . |
21:22.07 | asylumed | *sigh* looking at that now actually... |
21:22.12 | lkcl | including screen, cr2. which is great news. the only thing left is sound, and it'll be a working phone. |
21:22.17 | asylumed | still a bit confused about how it's supposed to work... |
21:22.34 | asylumed | hehe... yeah... screen too :) |
21:22.50 | asylumed | just need anyone with another boardid to test it too... |
21:23.06 | cr2 | asylumed: i have 0x5 |
21:23.30 | cr2 | but i'd like to have the zimage with initramfs with modules. |
21:23.31 | asylumed | kief |
21:23.52 | cr2 | it's too much pain to copy the modules. |
21:23.59 | asylumed | hmmm.... booting off of an sd card i am... |
21:24.15 | cr2 | we can even link this zimage with haret. |
21:25.04 | asylumed | which pda's wireless setup is most similar to the blueangel's? |
21:25.13 | cr2 | update module code -> compile-> insert/mount SD in the cardreader -> make install_modules -> umount -> reboot. very painful. |
21:25.36 | cr2 | don't know. we need to find the memory address space used. |
21:25.37 | asylumed | i have an old patch here of rob_w's which get's as far as detecting the chipset... |
21:26.06 | cr2 | you can only detect the chipset if you know where it is located in the address space. |
21:26.24 | cr2 | and it does not look like pcmcia. for some reason. |
21:27.43 | lkcl | psokolovsky: got the email. |
21:27.46 | cr2 | the only bruteforce idea i have left, is to disassemble the tiacwln.dll from ba. |
21:28.11 | cr2 | do you have it somewhere close ? |
21:28.21 | asylumed | ? |
21:28.29 | asylumed | my blueangel? |
21:28.39 | asylumed | yes... |
21:28.41 | cr2 | is the tiacwln.dll readable in \windows ? |
21:29.00 | cr2 | you is it necessary to decode the rom ? |
21:29.00 | asylumed | hmmm... hold on... the complication is i've flashed it with wm5 |
21:29.17 | cr2 | huh? you can boot from wm5 on ba ? |
21:29.35 | asylumed | yeah... mem=128M does the trick :) |
21:29.36 | cr2 | then take testwm5.exe and dump the stuff. |
21:29.49 | asylumed | where can i find it? |
21:29.52 | cr2 | ah. ok. |
21:30.06 | cr2 | lkcl: where is the testwm5.exe compiled binary ? |
21:30.23 | cr2 | i didn't have time to include this code in haret ;) |
21:30.40 | cr2 | testwm5_132.rar |
21:31.47 | asylumed | k, got it... |
21:41.53 | asylumed | doing a fair amount of dumping it is... |
21:41.59 | asylumed | what am i looking for? |
21:42.20 | asylumed | tiacwln.dll? |
21:43.11 | cr2 | yes. |
21:46.31 | asylumed | how do i get it too you? |
21:47.22 | *** join/#htc-linux WizMaui (n=WizMaui@62.112.90.179) |
21:48.59 | cr2 | put it somewhere. |
21:49.45 | cr2 | hmm. i should add this code to haret. |
21:52.52 | lkcl | testwm5.exe ? |
21:52.55 | lkcl | 1mo... |
21:53.31 | lkcl | http://hands.com/~lkcl/TestWM5.exe |
21:55.26 | asylumed | http://asylumed.za.net/tiacxwln.dll |
21:58.57 | cr2 | ok. |
21:59.18 | cr2 | lkcl: what about your touchscreen ? does it work? |
22:00.49 | lkcl | yep! |
22:01.03 | lkcl | i even got opie working - right up to the point where it asked me for my language settings. |
22:01.21 | lkcl | so the calibration worked fine - but then it went pear-shaped from there. |
22:01.23 | lkcl | very odd. |
22:02.43 | lkcl | so - erm, what am i doing about this bluetooth thing, then? |
22:02.56 | lkcl | i ain't seen a printk( KERN_NOTICE "htcsable configure bluetooth: %d\n", state ); yet |
22:03.06 | cr2 | you have used *_ts. driver. it does not work for me (the calibration is broken) i use the *_ts2. driver. |
22:03.13 | lkcl | i ran htiattach |
22:03.16 | lkcl | hciattach |
22:03.17 | cr2 | modprobe htcsable_bt ? |
22:03.19 | lkcl | ah bollocks |
22:03.31 | lkcl | it's precompiled in |
22:03.46 | cr2 | let me look at it. |
22:03.53 | cr2 | at the source. |
22:03.54 | lkcl | ack. |
22:04.30 | lkcl | ok it's checked in. |
22:05.39 | lkcl | i must need to run some command to get this running, right? |
22:05.53 | lkcl | i done this: hciattach /dev/ttyS0 any 921600 |
22:06.35 | *** join/#htc-linux ekkobelli (n=michi@p54A3E0BA.dip.t-dialin.net) |
22:06.40 | *** part/#htc-linux ekkobelli (n=michi@p54A3E0BA.dip.t-dialin.net) |
22:06.41 | *** join/#htc-linux ekkobelli (n=michi@p54A3E0BA.dip.t-dialin.net) |
22:07.41 | cr2 | forget about 921600 now |
22:07.47 | cr2 | run with 115200 |
22:07.54 | lkcl | _nuts_ forgot to add it in htcsable.c :) |
22:07.57 | lkcl | ack. |
22:09.26 | cr2 | lkcl: right. |
22:11.33 | lkcl | 1sec... |
22:12.04 | Kevin2 | psokolovsky: Where did you get gx.lib from? |
22:12.25 | psokolovsky | Kevin2, Hi! from somewhere ;-) |
22:12.56 | Kevin2 | I'd like to generate the ".lib" files from ".def" files. Unfortunately, I'm not entirely sure what to put in the .def file. |
22:12.56 | psokolovsky | Kevin2, problems with migrating it to GCC? |
22:13.12 | lkcl | compiled... |
22:14.02 | cr2 | Kevin2: gx is obsolete. |
22:14.13 | Kevin2 | cr2: Do you understand the .def file format? What is the "@0" stuff for? |
22:14.43 | cr2 | @N is not really necessary. it's an "ordinal". |
22:14.44 | psokolovsky | Kevin2, the issue, it appears that gx functions are msvc++ mangaled. that complecates stuff |
22:15.05 | cr2 | 1. it is not necessary |
22:15.10 | lkcl | btw, cr2: if ever you upgrade to 2.6.17, you'll find that the universal initrd doesn't work: devfs is no longer supported, it's all udev now. |
22:15.14 | cr2 | 2. use dlopen() |
22:15.54 | psokolovsky | Kevin2, if you're really stumbled on it, just comment out and move on, I'll have look at it later |
22:15.58 | cr2 | lkcl: initrd is obsolete ;) |
22:16.22 | cr2 | you should move to initramfs, if you really need it. |
22:16.55 | psokolovsky | cr2: lol for both "obsoletes". "obsolete" stuff is cool ;-) |
22:17.06 | lkcl | ok! i got some debug messages |
22:17.19 | lkcl | htcsable configure bluetooth: 0 |
22:17.19 | lkcl | htcsable configure bluetooth: 1 |
22:17.19 | lkcl | htcsable configure bluetooth: 2 |
22:17.19 | lkcl | htcsable configure bluetooth: 3 |
22:17.19 | lkcl | htcsable configure bluetooth: 0 |
22:17.20 | lkcl | htcsable configure bluetooth: 1 |
22:17.28 | lkcl | ok - now what :) |
22:17.29 | cr2 | Kevin2: the gx.dll used the ExtEscape (named FB0:) in my code. |
22:17.55 | cr2 | so you just create problems for yourself following some m$ crappy code. |
22:18.18 | goxboxlive | Kevin2: What was the line again in the default.txt when tryin to boot linux after a softreset ( the one i replace boot2 with) |
22:18.45 | psokolovsky | cr2: you miss the fact that that mainline haret must support even wince 2.0 devices ;-) |
22:19.06 | cr2 | psokolovsky: 2.0 does not have gx.dll |
22:19.30 | cr2 | gx.dll is crap, and it uses the same ExtEscape() function. i stand for it :) |
22:19.40 | lkcl | hciconfig |
22:19.40 | lkcl | hci0: Type: UART |
22:19.40 | lkcl | <PROTECTED> |
22:19.40 | lkcl | <PROTECTED> |
22:19.40 | lkcl | <PROTECTED> |
22:19.40 | Kevin2 | goxboxlive: resumeintoboot |
22:19.41 | lkcl | <PROTECTED> |
22:19.43 | lkcl | COOL! |
22:19.55 | lkcl | xxxxing cool! |
22:20.05 | lkcl | ok - ermm.... _now_ what? :) |
22:20.09 | cr2 | lkcl: is your linux BT addr the same as wince ? |
22:20.12 | psokolovsky | cr2, that worries me. someone should investigate how to support them. in the meantime, haret at least supports pocket2002+. |
22:20.15 | goxboxlive | thx |
22:20.33 | lkcl | cr2: haven't a clue |
22:21.01 | cr2 | psokolovsky: there is no "standard" way to access the framebuffer for wince <3.0 |
22:21.08 | cr2 | it is all device dependent. |
22:21.11 | lkcl | etc/init.d # hciconfig hci0 features |
22:21.11 | lkcl | hciconfig hci0 features |
22:21.11 | lkcl | hci0: Type: UART |
22:21.11 | lkcl | <PROTECTED> |
22:21.11 | lkcl | <PROTECTED> |
22:21.12 | lkcl | <PROTECTED> |
22:21.14 | lkcl | <PROTECTED> |
22:21.16 | lkcl | <PROTECTED> |
22:21.18 | lkcl | <PROTECTED> |
22:21.20 | lkcl | <PROTECTED> |
22:21.22 | lkcl | <PROTECTED> |
22:21.24 | lkcl | <PROTECTED> |
22:21.26 | lkcl | <PROTECTED> |
22:21.28 | lkcl | <PROTECTED> |
22:21.34 | lkcl | oooo |
22:21.41 | cr2 | lkcl: do you have another BT device ? |
22:21.49 | cr2 | then run 'hcitool scan' |
22:23.07 | lkcl | somewhere.... *thinks*... |
22:23.16 | lkcl | where's me phone... |
22:23.59 | lkcl | wheeee.... |
22:24.04 | cr2 | psokolovsky: mainline haret does not support wince <3.0 That |
22:24.13 | lkcl | canning ... |
22:24.13 | lkcl | <PROTECTED> |
22:24.18 | lkcl | AH HAAHAHAHAHAHHAAAAA |
22:24.23 | cr2 | 's why there is sa1100 haret version for wince 2.11 |
22:24.51 | cr2 | lkcl: i have different bt addresses on the universal in linux and wince. |
22:25.51 | psokolovsky | cr2, gnu-haret supports even less ;-P . you guys regressed lotsa stuff there ;-). If it's not obvious why I speak up for gx.dll: ExtEscape *does not* work on ppc2003 qvga devices I have here. |
22:26.38 | psokolovsky | cr2, there's a requirement for mainline haret to support *everything*. so, any obsolete crap is precious ;-) |
22:27.12 | lkcl | i don't care! it works - i'm well-happy |
22:27.22 | lkcl | /etc/init.d # hcitool scan |
22:27.22 | lkcl | hcitool scan |
22:27.22 | lkcl | Scanning ... |
22:27.22 | lkcl | <PROTECTED> |
22:27.23 | lkcl | <PROTECTED> |
22:27.23 | lkcl | <PROTECTED> |
22:27.53 | psokolovsky | god, when I will get to do bluetooth on my h4000... ;'-( |
22:28.36 | cr2 | psokolovsky: "ExtEscape *does not* work on ppc2003" which device is that ? |
22:28.59 | psokolovsky | cr2, h3900 & h4000 |
22:29.33 | cr2 | ret0=ExtEscape(hdc, GETGXINFO, 0, NULL, sizeof(GXDeviceInfo), (char*) &rfb); |
22:29.49 | cr2 | i have disassembled the gx.dll to check. |
22:30.07 | cr2 | this code is taken from betaplayer (now tcpmp) |
22:30.17 | lkcl | sorry, psokolovsky! this device is incredibly similar to the h4700, universal and the beetles. all i'm doing is joining up the dots! |
22:30.42 | psokolovsky | I bet the same for h4000, just find time to dig in BT stuff at all... |
22:31.13 | psokolovsky | cr2, dunno, that's what I saw - no logo, func dumps NULL |
22:33.05 | cr2 | strange. |
22:33.58 | psokolovsky | yep |
22:34.08 | psokolovsky | worth a revisit, of course |
22:35.52 | cr2 | lkcl: we need to find out what is the purpose of "BT irq". it is the same puzzle on all htc phones. |
22:36.34 | lkcl | ah. joy. |
22:36.49 | cr2 | lkcl: can you check wifi now ? it's not much more difficult than bt, i guess. |
22:36.56 | lkcl | notification of incoming thingy? |
22:36.58 | lkcl | sure - why not? :) |
22:37.35 | cr2 | unfortunately the wifi on/off code is commented out in gnu-haret. |
22:37.46 | cr2 | because i don't have a serial cable ;) |
22:38.34 | lkcl | ah - i do! |
22:38.37 | lkcl | i got one! |
22:39.01 | lkcl | ok. what am i doing, then? why would i need a serial cable? |
22:39.08 | Kevin2 | psokolovsky: The AllocPhysMem call was only added in wince 4.0. That call dramatically improves the code for several functions. |
22:39.31 | Kevin2 | I don't think it is realistic to try and support all the old versions of wince in the same branch that new features are added. |
22:39.39 | lkcl | ok - so we have acx loaded... |
22:39.49 | lkcl | oh, duh. yes - of course. i get it. sillee mee. |
22:40.08 | cr2 | but check the 'set trace 0xab000000' first. |
22:40.14 | lkcl | ack. |
22:40.25 | psokolovsky | Kevin2, it would be nice to try. what wouldbe the problems? it's even c++, so have few implementations for the same inteface/whatever |
22:40.26 | cr2 | because you'll have probelms with controlling haret over wifi :) |
22:40.30 | lkcl | aww, you mean i have to switch back to wince _already_?? *sigh*... |
22:40.34 | lkcl | duh. yeh. |
22:42.19 | Kevin2 | psokolovsky: Implementing AllocPhysMem without OS support is non-trivial. Rewriting code to not need physically continuous memory would require a lot of effort and would make maintenance significantly harder. |
22:42.21 | psokolovsky | cr2, did you have a look at 2.6.18 already? |
22:43.18 | psokolovsky | Kevin2, well, I mean, let's have "boot1" and "boot2" as the first aim. I don't call to writing our own AllocPhysMem(). let's just keep old boot method around. |
22:43.19 | lkcl | 1sec folks gotta keep an eye on mum n baby - both of them are asleep.... |
22:44.19 | cr2 | psokolovsky: no. i'm more concerned about getting the hardware details right. |
22:45.06 | psokolovsky | yep, cool. somebody just need to handle chase after mainline too ;-) |
22:45.23 | psokolovsky | too bad pH5 is not online |
22:45.51 | psokolovsky | anyway, I assume noone forward-ported asic3_base yet, and I don't duplicate effort... |
22:46.11 | cr2 | don't think so. |
22:47.25 | Kevin2 | psokolovsky: Would that work? If haret.cpp references AllocPhysMem, will it even run on old PDAs? (Wouldn't the dynamic linker complain?) |
22:48.06 | cr2 | Kevin2: you'll get some stupid wince popup. |
22:48.47 | psokolovsky | Kevin2, hm, hardly. but we can use LoadLibrary() as cr2 suggests |
22:53.45 | lkcl | ok have a baby-sitter. |
22:55.14 | lkcl | okie.... done the set trace 0xab00 0000 |
22:55.18 | lkcl | ... now what? :) |
22:55.38 | lkcl | what happens now? |
22:57.28 | lkcl | HELP VARS shows something about wi |
22:57.46 | cr2 | lkcl: read http://www.handhelds.org/moin/moin.cgi/ApachePhoneTrace |
22:58.05 | cr2 | you need to mask some annoying interrupts. |
22:58.10 | cr2 | and then run "wi" |
22:58.21 | lkcl | oops... |
22:58.24 | lkcl | i just typed wi 30 |
22:58.41 | cr2 | set ii(7) 1 # OS timers |
22:58.41 | lkcl | what, like irq 7, for example? |
22:58.45 | cr2 | set ii(10) 1 # GPIOx |
22:58.45 | cr2 | set ii(49) 1 # GPIO 15 |
22:58.46 | cr2 | set ii(17) 1 # lcd |
22:58.46 | cr2 | set ii(25) 1 # DMA (sound) |
22:58.46 | cr2 | set trace 0xae100000 |
22:58.46 | cr2 | wi 10 |
22:59.12 | cr2 | this one you need to adjust for the ASIC3 chained irq: set ii(49) 1 # GPIO 15 |
22:59.17 | lkcl | ack |
22:59.55 | lkcl | irq 43 (gpio 9) occurs a _lot_ |
23:00.51 | lkcl | _lots_ of irq 43s |
23:01.02 | cr2 | it is probably asic3gpio. |
23:01.06 | cr2 | irq |
23:01.51 | cr2 | <PROTECTED> |
23:02.59 | lkcl | irq30 (RTC) :) |
23:03.07 | cr2 | too. |
23:03.10 | lkcl | one per second. |
23:03.49 | lkcl | ok - done. now what? |
23:05.22 | lkcl | <PROTECTED> |
23:05.32 | lkcl | in http://wiki.xda-developers.com/index.php?pagename=ipaq6915MemoryMap |
23:05.49 | lkcl | did you mean set trace 0xab000000 instead? |
23:07.02 | cr2 | yes. |
23:07.31 | cr2 | while wifi is running. |
23:11.51 | lkcl | ack |
23:12.33 | lkcl | ok... nothing on-screen... 0xab100000 |
23:12.37 | lkcl | ? |
23:13.00 | cr2 | you run haret over wifi ? |
23:13.15 | lkcl | yep |
23:13.18 | lkcl | i do. |
23:13.19 | cr2 | ok. |
23:13.24 | cr2 | ac200000 ? |
23:13.27 | lkcl | he he |
23:13.32 | cr2 | ad200000 ? |
23:13.39 | cr2 | try pcmcia. |
23:13.51 | cr2 | not a good sign. |
23:13.59 | lkcl | nuffnk |
23:14.24 | lkcl | nope |
23:14.34 | cr2 | i'm also puzzled where is your phone data going. |
23:15.00 | cr2 | hmm. |
23:15.17 | lkcl | he he me too i'm looking forward to finging out. |
23:15.37 | cr2 | you can try to dig in the wince registry. |
23:15.39 | lkcl | theres no response from gps either |
23:15.43 | lkcl | ahhhh joy. |
23:15.57 | cr2 | and then ida pro, of course :) |
23:16.14 | lkcl | hey been meaning to talk toyou about that |
23:16.16 | lkcl | if i |
23:16.31 | cr2 | i wonder what is the purpose of asic3 ssp, too. |
23:16.42 | lkcl | let you ssh / x-forward into my laptop would you be willing to try finding stuff? |
23:17.00 | psokolovsky | cr2: h4300 kbd is on it |
23:17.01 | cr2 | i can send you the rsa_id.pub |
23:17.17 | psokolovsky | if you mean "can be at all" ;-) |
23:17.18 | lkcl | i give you an account on my my machine. ack ok. |
23:17.36 | lkcl | it gonna be a bit iffy... :) |
23:17.59 | lkcl | involving ssh -R and all that... |
23:18.02 | cr2 | psokolovsky: it's the same spi keyboard on the blueangel. but sable/beetles use the pxa keyboard, that's the puzzle. |
23:19.26 | lkcl | memory tracing is phys or virt? |
23:19.40 | cr2 | set trace ? virt |
23:19.49 | lamikr|lap | hi cr2, just read from lkcl's message from h6915 :-) |
23:19.51 | lkcl | yeh set trace |
23:20.07 | cr2 | hi lamikr |
23:20.39 | cr2 | the "pcmcia" acx100 is not really easy, it seems. |
23:23.59 | psokolovsky | what's hard with pcmcia? detects but doesn't work? |
23:31.23 | lkcl | clues/suggestions on set tracemask anyone? |
23:33.39 | lkcl | ok what about sound? |
23:34.02 | lkcl | brb |
23:34.09 | Kevin2 | lkcl: set tracemask allows you to watch a range of memory addresses. |
23:34.46 | Kevin2 | If you just want to watch one address, don't set it. If you want to watch a whole memory area, set it to the bitmap mask of the address accesses to ignore. |
23:36.21 | cr2 | lkcl: set tracemask 0xffff |
23:36.55 | cr2 | lkcl: for sound you need to trace the asic3 gpios. then you'll have the same problem as universal :) |
23:43.18 | lkcl | hurrah! |
23:50.09 | psokolovsky | cr2, you know, the more I think about static asic irq base the more I like it... ;-I |
23:50.47 | lkcl | woss universal prob? |
23:51.11 | cr2 | psokolovsky: :D |
23:51.19 | cr2 | lkcl: it does not work. |
23:51.26 | lkcl | greeeat! |
23:51.46 | cr2 | but the hx4700 works, and it's the same driver, just with other gpios. |
23:52.00 | lkcl | hmmmm worth me tryinn then |
23:52.54 | cr2 | create the htcsable_audio from hx4700_audio |
23:53.41 | lkcl | ak4641 yes? |
23:54.09 | lkcl | yep |
23:56.59 | cr2 | 1000f1c4: e3a00024 mov r0, #36 ; 0x24 |
23:56.59 | cr2 | 1000f1c8: eb0000ae bl 0x1000f488 |
23:56.59 | cr2 | 1000f1cc: e59f3074 ldr r3, [pc, #116] ; 0x1000f248 |
23:56.59 | cr2 | 1000f1d0: e1530000 cmp r3, r0 |
23:57.10 | cr2 | this is the acx100 check. |
23:57.30 | cr2 | 1000f248: 01030505 |
23:57.45 | psokolovsky | cr2, the code which allocates irq block is not in mainline. I'm currently struggling to port it to 2.6.18. If we want to submit it to mainline, we'll get that usual cute question: "Why the hell you need *that*?". And I don't have technical answer on my hands ;-I |
23:57.49 | cr2 | TI TW1100B Silicon Revision Register : 0x%x (default value: 0x1030505) |
23:58.44 | cr2 | psokolovsky: is there a general irq demux driver in the mainline ? |
23:59.21 | lkcl | what device this in, cr2? univ or hw6915? |
23:59.40 | cr2 | the sa1111 should be handled somehow, and it's the similar "asic". |
23:59.51 | psokolovsky | cr2: hmm. cannot say exactly. but 2.6.18 introduces generic irq subsystem, so what now was in "arm/", now in "linux/" (scoured up of course) |