irclog2html for #htc-linux on 20061104

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.33WizMauiis the BRF6150 bluetooth chip from ti supported under linux?
14:05.27psokolovskysure
14:06.02WizMauibecause i think the htc wizard uses this chip...
14:06.55psokolovskyhx4700 uses it too an many others. http://handhelds.org/moin/moin.cgi/HandheldHardwareXref
14:07.53WizMauisounds very interesting...i will see if i can incorporate this into the linwizard project
14:09.16psokolovskyWizMaui, pls add hw you know to that page ;-)
14:09.32WizMauino 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.56lilliputhave 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.52psokolovskylilliput, so, wazzup? openbsd had arm support all the time? so what?
16:12.58lilliputxscale is now supported  not only arm (at least I though so)
16:13.59psokolovskyi saw xscale support year ago in their cvs
16:14.36psokolovskysome time ago they had more optimized memmpy(), etc, but that's not longer true afaik, etc, etc
16:15.33psokolovskyanyway, 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.53lilliputthough it was about the library preload to reduce the application load time
16:16.07WizMauii would rather appreciate if someone supported htc's omap boards ;)
16:16.52JTRipperme2
16:17.50lilliputI'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.47lilliputI'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.31JTRipperhttp://seattlepi.nwsource.com/business/290936_msftnovell02ww.html
16:33.40JTRipperi think i'm going crazy
16:42.06lilliputnot 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.34florianhi all
16:50.04lamikr|lapflorian 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.45goxboxlivehi cr2
17:17.57goxboxliveHave you been on vacation again ?
17:19.28cr2you say. i was writing a scientific proposal bettling for money  ;-)
17:19.51cr2fsck such vacations.
17:20.54goxboxlive:-) i c, well, are you finished with the writing and ready to go back to some unpaid worek again?
17:21.21cr2yes :D
17:22.45goxboxlivegood. What's the plan? I have maaged to get some "noice" in the speakers.
17:23.31goxboxliveNot understamable sound, but some "sparkling" when they get activated.
17:23.37cr2last i have tried the sound, it had problems with i2c.
17:23.47goxboxlivewell, i dont anymore.
17:24.11goxboxliveI nour defconfig file there where some missing modules selected, but i have figured that out now.
17:24.22cr2does the mixer produce something visible in the 'dmesg'
17:24.31cr2output ?
17:24.43goxboxliveyes
17:24.51cr2what ?
17:25.00goxboxlivei can boot linux and do seom test if you like.
17:26.02cr2ok.
17:28.51goxboxlivecr2: This is during boot:
17:28.53goxboxlive<6>I2C: i2c-0: PXA I2C adapter
17:28.53goxboxlive<5>snd_htcuniversal_audio_set_codec_reset: 1
17:28.53goxboxlive<5>snd_htcuniversal_audio_set_codec_reset: 0
17:28.53goxboxlive<6>PXA2xx i2Sound: HTC Universal Audio activated
17:30.00cr2od -x /dev/dsp ?
17:30.31goxboxliveroot@htcuniversal:~$ od -x /dev/dsp
17:30.31goxboxliveod: /dev/dsp: Input/output error
17:31.04goxboxliveI'll get thos error when i also do 'cat /soundfile > /dev/dsp'
17:32.38goxboxliveThe souncard is working on hx4700, i have aksed some guys at #OE to test.
17:32.53cr2ok, then we need to compare the code.
17:33.39cr2the apache and sable (and others) also need this driver, so we'd think about avoiding the #ifdef spaghetti.
17:34.01goxboxliveBut 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.10goxboxliveok
17:35.05cr2it means that the power is applied or switched off.
17:35.20cr2the gpios are correct, and we know that.
17:35.34goxboxliveyes, since it worked in the .12 kernel.
17:47.07cr2there is a massive hh.org CVS kernel update. do you know what it is ?
17:47.49goxboxlivesince when? They have moved over to hh2
17:48.09goxboxliveThere are also something about movin the buttons over to asic3 or soemthing.
17:48.11psokolovskyHi folks! ;-)
17:48.21goxboxliveMaybe psokolovsky should inform you
17:48.25psokolovskycleaning up crap ;-)
17:48.31goxboxlivewell here he is
17:48.44psokolovskyyeah, we should seriously plan 2.6.18 upgrade
17:49.21cr2hi psokolovsky
17:49.50psokolovskyhi Oleg!
17:49.51psokolovskycr2, you known the most hot question of the week?
17:49.55cr2you have written the asic3_owm driver afaik.
17:49.57cr2?
17:50.06cr2which one ?
17:50.29psokolovskycr2, it is - what's your email!
17:50.34psokolovsky;-)
17:50.46psokolovskypeople keep asking, not only me ;-)
17:50.58psokolovskylkcl wondered too
17:51.19cr2i'll send you an e-mail.
17:51.27psokolovskycr2, thanks ;-)
17:51.48psokolovskykernel-discuss stil doesn't work, and there's soem stuff to cc: you
17:52.07cr2i'll try to subscribe there.
17:52.20psokolovskynice!
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.24cr2psokolovsky: 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.49psokolovskycr2: hmmm. what hx4700 uses?
18:13.04psokolovskybut worth checking everything, of course
18:13.19psokolovskyso far, I'm cleaninging up what diff -u gives, not -uN
18:14.18cr2it uses pxa2xx-i2sound.c
18:14.35cr2among others. it is also not perfect.
18:15.00cr2#if CONFIG_MACH_H4700
18:15.04cr2<PROTECTED>
18:15.06psokolovskyiirc, ak4641 is chip used in hx4700
18:15.08cr2<PROTECTED>
18:15.09psokolovskyor close
18:15.12cr2<PROTECTED>
18:15.16cr2#endif
18:15.20cr2#if CONFIG_MACH_HTCUNIVERSAL
18:15.20cr2<PROTECTED>
18:15.20cr2<PROTECTED>
18:15.20cr2<PROTECTED>
18:15.21cr2#endif
18:15.41psokolovskyif that's in pxa2xx-i2sound.c, it sucks ;-(
18:16.06psokolovskybut we have ASoC in queue anyway...
18:16.21cr2this code should probably go into .activate function.
18:16.35cr2but i'm not quite sure about the init sequence.
18:17.13psokolovskyI guess, it's place in machine handler. I'm not too much familair with sound too, though
18:17.18cr2so this sound code is a mess now ;)
18:17.21cr2me too.
18:17.57cr2i have just copied the hx4700 code over in .12 and it 'just worked'.
18:19.49goxboxlivecr2: What do you mean with "just worked"?
18:20.49*** join/#htc-linux WizMaui_ (n=WizMaui@62.112.90.179)
18:20.57cr2goxboxlive: it worked for me without completely understanding what's going under the hood there.
18:22.39goxboxliveok
18:48.56*** join/#htc-linux lkcl (n=lkcl@host81-155-14-65.range81-155.btcentralplus.com)
18:49.05lkclallo darlins
18:55.46lkclhuh.  you're all asleep!
18:57.47goxboxliveno where not, just deeply consentrated (or however it is spelled)
18:58.00Kevin2Hi
18:58.29goxboxlivecr2: How do i activate automatic rotation? You told me that his where deactivated in the kernel, i want it back.
18:59.08goxboxlivehi Kevin2: Do you have a new Haret version where the reboot stuff works now?
19:00.09lkcldeeply concentrated.  what... like persil automatic washing powder??
19:00.23goxboxliveyes something like that
19:00.33Kevin2goxboxlive: 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.45goxboxliveKevin2 Ok
19:00.48lkclcareful dude i'm drinking concentrated fruit juice and i'm right in front of my computer
19:00.57lkcldon't make me laugh okay? :)
19:00.59Kevin2goxboxlive: Oh the linux reboot stuff.  Yes, I fixed that.
19:01.21goxboxlivelklc: I am drinking a beer, with a 2 month child and a wife beside me
19:02.51lkclhurrah!  _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.07lkclis cr2 awake?
19:28.26lkclam trying to get bluetooth working: want your best guess on where the EGPIO is, dude!
19:28.52cr2hi guys, i'm back.
19:29.09lkclhallo back
19:29.15cr2lkcl: have you found the SD RO asic3 gpio ?
19:29.41lkclno but i am guessing it's either inverted or there isn't one.  i just ... ignored it, and it worked :)
19:29.50cr2goxboxlive: the "buttons" are commented out in the kernel, clamshell cover is one of them.
19:30.11lkcli'm looking for the EGPIO base address so i can try bluetooth.
19:30.13goxboxliveok, what isthe name of the file?
19:30.28lkcli've located the egpio pin, the 3v3 thing, the power, the reset ...
19:30.29cr2lkcl: if the "standard" asic3 RO detecttion does not work, it should be done in a different way.
19:31.02cr2lkcl: on blueangel it is an asic3 gpio.
19:31.17lkclwell, i am guessing it might be inverted - like a lot of the sable thingies.
19:31.31cr2lkcl: BT needs power, reset lines.
19:31.50cr2you can seee them with "btctl *" haret commands.
19:32.21lkcli found them all.
19:32.28cr2lkcl: when you trace with "wasic3gpio", do you see any different activity to SD RO and SD RW ?
19:32.37lkclhttp://wiki.xda-developers.com/index.php?pagename=SableBluetooth
19:32.48cr2ok.
19:32.50lkcli haven't a clue on how to make an sdcard read-only
19:33.00lkclnot gonna worry about it right now.
19:33.05lkclwanna get bluetooth working!
19:33.13cr2Kevin2: did you add CPU suspend/resume to apache ?
19:33.15lkclhow did you track down the EGPIO on the universal?
19:33.21cr2lkcl: you have miniSD ?
19:33.27lkclyep.  miniSD.
19:33.36lkcl#define HTCUNIVERSAL_EGPIO_BASE PXA_CS2_PHYS+0x02000000
19:33.38cr2lkcl: EGPIO or ASIC3 gpio ?
19:33.50lkclEGPIO
19:33.53cr2lkcl: are you sure you have egpio ? do you have a CPLD ?
19:33.58lkclyep.
19:34.17lkclunknown: LC404ZC 75MN6 A602RR10 - right next to ASIC3 (probably a lattice cpld for clock distribution)
19:34.18cr2ok.
19:34.27lkclin here: http://wiki.xda-developers.com/index.php?pagename=Ipaq6915
19:34.29cr2should be xilinx.
19:35.03lkclmanufacturer is lattice.
19:35.28cr2EGPIO6 : 3v3 enable
19:35.33cr2i think it's a fake.
19:35.35lkclyep - that's it.
19:35.37lkclha ha :)
19:35.57lkclok i try without it...
19:35.59cr2i think i have mapped CKEN as egpio for your device in haret ;)
19:36.06cr2what is CKEN6 ?
19:36.22lkclburble?
19:36.54lkclwho me?
19:37.09cr2i'll look myself.
19:37.22cr2lkcl: can you confirm ACX100 here http://wiki.xda-developers.com/index.php?pagename=ipaq6915MemoryMap
19:37.31cr2i don't see any place for EGPIO.
19:37.59lkclwhen we first checked it was an acx100
19:38.13lkcl1st container
19:38.13lkclwlan: 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.13lkcl(same as on HTC_Universal
19:38.52lkclok.  let's try bluetooth!  hmm... how am i supposed to test this...
19:38.54cr2no, the mapping.
19:39.29lkclyou mean in the memory map page, http://wiki.xda-developers.com/index.php?pagename=ipaq6915MemoryMap
19:39.29cr2bluetooth ? forget about egpio and adaprt the universal_bt driver.
19:39.53cr2lkcl: yes. with "wi" command, when wifi is active.
19:40.10lkclyeh 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.20cr2set trace 0xab000000
19:40.23cr2ok.
19:40.32lkclah ok. will do that later.
19:41.05lkclany suggestions on how to user-space test my shiny new htcsable_bt.c?
19:41.06lkcl:)
19:41.36cr2it will write the TI FW version into syslog.
19:41.49cr2or run the "hciattach" manually .
19:41.57cr2<PROTECTED>
19:44.30lkclah ok.
19:44.37lkclbrb i got guests.  yes am on ffuart.
19:44.45lkcltalk to me - i'll be back.
19:45.10lkclintermittently
19:46.18cr2i have looked at your trace.
19:46.38cr2EGPIO6 is CKEN6 == FFUART, so forget about EGPIO.
19:48.57goxboxlivecr2: 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.14cr2i'll to the following: mask gpio34/35/39 and run "btctl *" while running "wasic3gpio"
19:52.06cr2goxboxlive: 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.33cr2we need to get the OWM monitor first, them we can move to the charging gpios.
19:52.39lkclok!
19:53.29cr2lkcl: i'm surprised that you BT irq is not an irq ?? maybe you can fix the SableASIC3 page ?
19:53.48lkcleek!  forgot about that...
19:54.35goxboxlivei have searched for it, but i cant find it. I guess psokolovsky is the right man to ask again.
19:54.45cr2btctl 20
19:54.48cr2is power off
19:54.55cr2btctl 21
19:54.57cr2or 22
19:55.00cr2is power on.
19:55.07goxboxlivemaybe he has included it in the asic3_base
19:55.18psokolovskycr2, goxboxlive: I'm not the right man to ask about w1, after all ;-) ask pH5 better
19:55.42cr2psokolovsky: which driver should be responsible to the asic3 clocks ?
19:56.00psokolovskyall what I did is posted a driver I once hacked together. it never really worked for me, or somebody else
19:56.03cr2s/ to the/ for the/
19:56.08*** join/#htc-linux ekkobell1 (n=michi@p54A3F5FD.dip.t-dialin.net)
19:56.14cr2too much beer today ;)
19:56.25lkclcr2: well there _is_ an asic3 line going up/down - gpiob4...
19:56.26ekkobell1hi 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.27psokolovskycr2, _base, apparently.
19:56.28goxboxlive:-)
19:56.59psokolovskycr2, but: we don't have full-fledged clock management there
19:57.45lkclrats i booted up the wrong sd card.
19:57.52cr2ok.
19:57.54lkcldoesn't have bt tools etc. on it.
19:58.23cr2ekkobell1: you have omap ? then i don't know.
19:59.14cr2lkcl: do you have the RO switch on miniSD ? imho, microSD does not have it at all.
19:59.22ekkobell1jap
19:59.22lkclno, no switch.
19:59.43cr2lkcl: then you can't have "ro" at all ;)
19:59.55lkclhurrah! :)
20:00.20cr2but we need to fix the asic3_mmc driver somehow.
20:01.07lkclyeh.  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.22psokolovskycr2: that's what I have email for
20:01.40psokolovskylkcl: you're reachable as lkcl@hh.org?
20:01.46cr2lkcl: there is a problem on the BA too, but you have an asic3 gpio for it.
20:02.31cr2i don't know why htc used a gpio on BA, on all other devices the asic3_mmc works as expected.
20:02.39psokolovskycr2, you're ok with the email address you sent me to go cc: to ML?
20:02.55cr2psokolovsky: yes.
20:03.26psokolovskylkcl, ^ ??
20:03.39cr2maybe somebody with himalaya can provide more info too.
20:04.21lkclsorry folks
20:04.43lkcli'm lkcl@lkcl.net
20:04.56psokolovskycr2, lkcl: check your mail in some time pls
20:05.04lkcland i have a himalaya, but not here (it's in holland).  i'll have it some time next month.
20:05.11lkclwhat?? i have mail??
20:05.12psokolovskylkcl, sorry, too late ;-) hope @hh.orh forwards correctly ;-)
20:05.43lkclyep - i set forwarding.  hurrah!
20:06.02lkclgotta go pretend to look after guests... backinamo...
20:13.14lkclok.
20:26.32lkclhaven't got your email psokolovsky - but then again i have greylisting in place.
20:27.49psokolovskylkcl, 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.57cr2asylumed: hi. what is the blueangel status ?
21:21.15asylumedsuspends properly now it seems :)
21:21.29asylumedbut overall... needs lots more work...
21:21.29cr2resumes ?
21:21.32asylumedya
21:21.55cr2what about wifi ? i have not seen any activity on pcmcia0/1 .
21:22.07asylumed*sigh* looking at that now actually...
21:22.12lkclincluding screen, cr2.  which is great news.  the only thing left is sound, and it'll be a working phone.
21:22.17asylumedstill a bit confused about how it's supposed to work...
21:22.34asylumedhehe... yeah... screen too :)
21:22.50asylumedjust need anyone with another boardid to test it too...
21:23.06cr2asylumed: i have 0x5
21:23.30cr2but i'd like to have the zimage with initramfs with modules.
21:23.31asylumedkief
21:23.52cr2it's too much pain to copy the modules.
21:23.59asylumedhmmm.... booting off of an sd card i am...
21:24.15cr2we can even link this zimage with haret.
21:25.04asylumedwhich pda's wireless setup is most similar to the blueangel's?
21:25.13cr2update module code -> compile-> insert/mount SD in the cardreader -> make install_modules -> umount -> reboot. very painful.
21:25.36cr2don't know. we need to find the memory address space used.
21:25.37asylumedi have an old patch here of rob_w's which get's as far as detecting the chipset...
21:26.06cr2you can only detect the chipset if you know where it is located in the address space.
21:26.24cr2and it does not look like pcmcia. for some reason.
21:27.43lkclpsokolovsky: got the email.
21:27.46cr2the only bruteforce idea i have left, is to disassemble the tiacwln.dll from ba.
21:28.11cr2do you have it somewhere close ?
21:28.21asylumed?
21:28.29asylumedmy blueangel?
21:28.39asylumedyes...
21:28.41cr2is the tiacwln.dll readable in \windows ?
21:29.00cr2you is it necessary to decode the rom ?
21:29.00asylumedhmmm... hold on... the complication is i've flashed it with wm5
21:29.17cr2huh? you can boot from wm5 on ba ?
21:29.35asylumedyeah... mem=128M does the trick :)
21:29.36cr2then take testwm5.exe and dump the stuff.
21:29.49asylumedwhere can i find it?
21:29.52cr2ah. ok.
21:30.06cr2lkcl: where is the testwm5.exe compiled binary ?
21:30.23cr2i didn't have time to include this code in haret ;)
21:30.40cr2testwm5_132.rar
21:31.47asylumedk, got it...
21:41.53asylumeddoing a fair amount of dumping it is...
21:41.59asylumedwhat am i looking for?
21:42.20asylumedtiacwln.dll?
21:43.11cr2yes.
21:46.31asylumedhow do i get it too you?
21:47.22*** join/#htc-linux WizMaui (n=WizMaui@62.112.90.179)
21:48.59cr2put it somewhere.
21:49.45cr2hmm. i should add this code to haret.
21:52.52lkcltestwm5.exe ?
21:52.55lkcl1mo...
21:53.31lkclhttp://hands.com/~lkcl/TestWM5.exe
21:55.26asylumedhttp://asylumed.za.net/tiacxwln.dll
21:58.57cr2ok.
21:59.18cr2lkcl: what about your touchscreen ? does it work?
22:00.49lkclyep!
22:01.03lkcli even got opie working - right up to the point where it asked me for my language settings.
22:01.21lkclso the calibration worked fine - but then it went pear-shaped from there.
22:01.23lkclvery odd.
22:02.43lkclso - erm, what am i doing about this bluetooth thing, then?
22:02.56lkcli ain't seen a  printk( KERN_NOTICE "htcsable configure bluetooth: %d\n", state ); yet
22:03.06cr2you have used *_ts. driver. it does not work for me (the calibration is broken) i use the *_ts2. driver.
22:03.13lkcli ran htiattach
22:03.16lkclhciattach
22:03.17cr2modprobe htcsable_bt ?
22:03.19lkclah bollocks
22:03.31lkclit's precompiled in
22:03.46cr2let me look at it.
22:03.53cr2at the source.
22:03.54lkclack.
22:04.30lkclok it's checked in.
22:05.39lkcli must need to run some command to get this running, right?
22:05.53lkcli 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.41cr2forget about 921600 now
22:07.47cr2run with 115200
22:07.54lkcl_nuts_ forgot to add it in htcsable.c :)
22:07.57lkclack.
22:09.26cr2lkcl: right.
22:11.33lkcl1sec...
22:12.04Kevin2psokolovsky: Where did you get gx.lib from?
22:12.25psokolovskyKevin2, Hi! from somewhere ;-)
22:12.56Kevin2I'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.56psokolovskyKevin2, problems with migrating it to GCC?
22:13.12lkclcompiled...
22:14.02cr2Kevin2: gx is obsolete.
22:14.13Kevin2cr2: Do you understand the .def file format?  What is the "@0" stuff for?
22:14.43cr2@N is not really necessary. it's an "ordinal".
22:14.44psokolovskyKevin2, the issue, it appears that gx functions are msvc++ mangaled. that complecates stuff
22:15.05cr21. it is not necessary
22:15.10lkclbtw, 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.14cr22. use dlopen()
22:15.54psokolovskyKevin2, if you're really stumbled on it, just comment out and move on, I'll have look at it later
22:15.58cr2lkcl: initrd is obsolete ;)
22:16.22cr2you should move to initramfs, if you really need it.
22:16.55psokolovskycr2: lol for both "obsoletes". "obsolete" stuff is cool ;-)
22:17.06lkclok!  i got some debug messages
22:17.19lkclhtcsable configure bluetooth: 0
22:17.19lkclhtcsable configure bluetooth: 1
22:17.19lkclhtcsable configure bluetooth: 2
22:17.19lkclhtcsable configure bluetooth: 3
22:17.19lkclhtcsable configure bluetooth: 0
22:17.20lkclhtcsable configure bluetooth: 1
22:17.28lkclok - now what :)
22:17.29cr2Kevin2: the gx.dll used the ExtEscape (named FB0:) in my code.
22:17.55cr2so you just create problems for yourself following some m$ crappy code.
22:18.18goxboxliveKevin2: 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.45psokolovskycr2: you miss the fact that that mainline haret must support even wince 2.0 devices ;-)
22:19.06cr2psokolovsky: 2.0 does not have gx.dll
22:19.30cr2gx.dll is crap, and it uses the same ExtEscape() function. i stand for it :)
22:19.40lkclhciconfig
22:19.40lkclhci0:   Type: UART
22:19.40lkcl<PROTECTED>
22:19.40lkcl<PROTECTED>
22:19.40lkcl<PROTECTED>
22:19.40Kevin2goxboxlive: resumeintoboot
22:19.41lkcl<PROTECTED>
22:19.43lkclCOOL!
22:19.55lkclxxxxing cool!
22:20.05lkclok - ermm.... _now_ what? :)
22:20.09cr2lkcl: is your linux BT addr the same as wince ?
22:20.12psokolovskycr2, that worries me. someone should investigate how to support them. in the meantime, haret at least supports pocket2002+.
22:20.15goxboxlivethx
22:20.33lkclcr2: haven't a clue
22:21.01cr2psokolovsky: there is no "standard" way to access the framebuffer for wince <3.0
22:21.08cr2it is all device dependent.
22:21.11lkcletc/init.d # hciconfig hci0 features
22:21.11lkclhciconfig hci0 features
22:21.11lkclhci0:   Type: UART
22:21.11lkcl<PROTECTED>
22:21.11lkcl<PROTECTED>
22:21.12lkcl<PROTECTED>
22:21.14lkcl<PROTECTED>
22:21.16lkcl<PROTECTED>
22:21.18lkcl<PROTECTED>
22:21.20lkcl<PROTECTED>
22:21.22lkcl<PROTECTED>
22:21.24lkcl<PROTECTED>
22:21.26lkcl<PROTECTED>
22:21.28lkcl<PROTECTED>
22:21.34lkcloooo
22:21.41cr2lkcl: do you have another BT device ?
22:21.49cr2then run 'hcitool scan'
22:23.07lkclsomewhere.... *thinks*...
22:23.16lkclwhere's me phone...
22:23.59lkclwheeee....
22:24.04cr2psokolovsky: mainline haret does not support wince <3.0 That
22:24.13lkclcanning ...
22:24.13lkcl<PROTECTED>
22:24.18lkclAH HAAHAHAHAHAHHAAAAA
22:24.23cr2's why there is sa1100 haret version for wince 2.11
22:24.51cr2lkcl: i have different bt addresses on the universal in linux and wince.
22:25.51psokolovskycr2, 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.38psokolovskycr2, there's a requirement for mainline haret to support *everything*. so, any obsolete crap is precious ;-)
22:27.12lkcli don't care!  it works - i'm well-happy
22:27.22lkcl/etc/init.d # hcitool scan
22:27.22lkclhcitool scan
22:27.22lkclScanning ...
22:27.22lkcl<PROTECTED>
22:27.23lkcl<PROTECTED>
22:27.23lkcl<PROTECTED>
22:27.53psokolovskygod, when I will get to do bluetooth on my h4000... ;'-(
22:28.36cr2psokolovsky: "ExtEscape *does not* work on ppc2003" which device is that ?
22:28.59psokolovskycr2, h3900 & h4000
22:29.33cr2ret0=ExtEscape(hdc, GETGXINFO, 0, NULL, sizeof(GXDeviceInfo), (char*) &rfb);
22:29.49cr2i have disassembled the gx.dll to check.
22:30.07cr2this code is taken from betaplayer (now tcpmp)
22:30.17lkclsorry, psokolovsky!  this device is incredibly similar to the h4700, universal and the beetles.  all i'm doing is joining up the dots!
22:30.42psokolovskyI bet the same for h4000, just find time to dig in BT stuff at all...
22:31.13psokolovskycr2, dunno, that's what I saw - no logo, func dumps NULL
22:33.05cr2strange.
22:33.58psokolovskyyep
22:34.08psokolovskyworth a revisit, of course
22:35.52cr2lkcl: we need to find out what is the purpose of "BT irq". it is the same puzzle on all htc phones.
22:36.34lkclah.  joy.
22:36.49cr2lkcl: can you check wifi now ? it's not much more difficult than bt, i guess.
22:36.56lkclnotification of incoming thingy?
22:36.58lkclsure - why not? :)
22:37.35cr2unfortunately the wifi on/off code is commented out in gnu-haret.
22:37.46cr2because i don't have a serial cable ;)
22:38.34lkclah - i do!
22:38.37lkcli got one!
22:39.01lkclok.  what am i doing, then?  why would i need a serial cable?
22:39.08Kevin2psokolovsky: The AllocPhysMem call was only added in wince 4.0.  That call dramatically improves the code for several functions.
22:39.31Kevin2I 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.39lkclok - so we have acx loaded...
22:39.49lkcloh, duh.  yes - of course.  i get it.  sillee mee.
22:40.08cr2but check the 'set trace 0xab000000' first.
22:40.14lkclack.
22:40.25psokolovskyKevin2, 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.26cr2because you'll have probelms with controlling haret over wifi :)
22:40.30lkclaww, you mean i have to switch back to wince _already_?? *sigh*...
22:40.34lkclduh.  yeh.
22:42.19Kevin2psokolovsky: 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.21psokolovskycr2, did you have a look at 2.6.18 already?
22:43.18psokolovskyKevin2, 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.19lkcl1sec folks gotta keep an eye on mum n baby - both of them are asleep....
22:44.19cr2psokolovsky: no. i'm more concerned about getting the hardware details right.
22:45.06psokolovskyyep, cool. somebody just need to handle chase after mainline too ;-)
22:45.23psokolovskytoo bad pH5 is not online
22:45.51psokolovskyanyway, I assume noone forward-ported asic3_base yet, and I don't duplicate effort...
22:46.11cr2don't think so.
22:47.25Kevin2psokolovsky: Would that work?  If haret.cpp references AllocPhysMem, will it even run on old PDAs?  (Wouldn't the dynamic linker complain?)
22:48.06cr2Kevin2: you'll get some stupid wince popup.
22:48.47psokolovskyKevin2, hm, hardly. but we can use LoadLibrary() as cr2 suggests
22:53.45lkclok have a baby-sitter.
22:55.14lkclokie.... done the set trace 0xab00 0000
22:55.18lkcl... now what? :)
22:55.38lkclwhat happens now?
22:57.28lkclHELP VARS shows something about wi
22:57.46cr2lkcl: read http://www.handhelds.org/moin/moin.cgi/ApachePhoneTrace
22:58.05cr2you need to mask some annoying interrupts.
22:58.10cr2and then run "wi"
22:58.21lkcloops...
22:58.24lkcli just typed wi 30
22:58.41cr2set ii(7) 1  # OS timers
22:58.41lkclwhat, like irq 7, for example?
22:58.45cr2set ii(10) 1 # GPIOx
22:58.45cr2set ii(49) 1 # GPIO 15
22:58.46cr2set ii(17) 1 # lcd
22:58.46cr2set ii(25) 1 # DMA (sound)
22:58.46cr2set trace 0xae100000
22:58.46cr2wi 10
22:59.12cr2this one you need to adjust for the ASIC3 chained irq: set ii(49) 1 # GPIO 15
22:59.17lkclack
22:59.55lkclirq 43 (gpio 9) occurs a _lot_
23:00.51lkcl_lots_ of irq 43s
23:01.02cr2it is probably asic3gpio.
23:01.06cr2irq
23:01.51cr2<PROTECTED>
23:02.59lkclirq30 (RTC) :)
23:03.07cr2too.
23:03.10lkclone per second.
23:03.49lkclok - done.  now what?
23:05.22lkcl<PROTECTED>
23:05.32lkclin http://wiki.xda-developers.com/index.php?pagename=ipaq6915MemoryMap
23:05.49lkcldid you mean set trace 0xab000000 instead?
23:07.02cr2yes.
23:07.31cr2while wifi is running.
23:11.51lkclack
23:12.33lkclok... nothing on-screen... 0xab100000
23:12.37lkcl?
23:13.00cr2you run haret over wifi ?
23:13.15lkclyep
23:13.18lkcli do.
23:13.19cr2ok.
23:13.24cr2ac200000 ?
23:13.27lkclhe he
23:13.32cr2ad200000 ?
23:13.39cr2try pcmcia.
23:13.51cr2not a good sign.
23:13.59lkclnuffnk
23:14.24lkclnope
23:14.34cr2i'm also puzzled where is your phone data going.
23:15.00cr2hmm.
23:15.17lkclhe he me too i'm looking forward to finging out.
23:15.37cr2you can try to dig in the wince registry.
23:15.39lkcltheres no response from gps either
23:15.43lkclahhhh joy.
23:15.57cr2and then ida pro, of course :)
23:16.14lkclhey been meaning to talk toyou about that
23:16.16lkclif i
23:16.31cr2i wonder what is the purpose of asic3 ssp, too.
23:16.42lkcllet you ssh / x-forward into my laptop would you be willing to try finding stuff?
23:17.00psokolovskycr2: h4300 kbd is on it
23:17.01cr2i can send you the rsa_id.pub
23:17.17psokolovskyif you mean "can be at all" ;-)
23:17.18lkcli give you an account on my my machine. ack ok.
23:17.36lkclit gonna be a bit iffy... :)
23:17.59lkclinvolving ssh -R and all that...
23:18.02cr2psokolovsky: it's the same spi keyboard on the blueangel. but sable/beetles use the pxa keyboard, that's the puzzle.
23:19.26lkclmemory tracing is phys or virt?
23:19.40cr2set trace ? virt
23:19.49lamikr|laphi cr2, just read from lkcl's message from h6915 :-)
23:19.51lkclyeh set trace
23:20.07cr2hi lamikr
23:20.39cr2the "pcmcia" acx100 is not really easy, it seems.
23:23.59psokolovskywhat's hard with pcmcia? detects but doesn't work?
23:31.23lkclclues/suggestions on set tracemask anyone?
23:33.39lkclok what about sound?
23:34.02lkclbrb
23:34.09Kevin2lkcl: set tracemask allows you to watch a range of memory addresses.
23:34.46Kevin2If 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.21cr2lkcl: set tracemask 0xffff
23:36.55cr2lkcl: for sound you need to trace the asic3 gpios. then you'll have the same problem as universal :)
23:43.18lkclhurrah!
23:50.09psokolovskycr2, you know, the more I think about static asic irq base the more I like it... ;-I
23:50.47lkclwoss universal prob?
23:51.11cr2psokolovsky: :D
23:51.19cr2lkcl: it does not work.
23:51.26lkclgreeeat!
23:51.46cr2but the hx4700 works, and it's the same driver, just with other gpios.
23:52.00lkclhmmmm worth me tryinn then
23:52.54cr2create the htcsable_audio from hx4700_audio
23:53.41lkclak4641 yes?
23:54.09lkclyep
23:56.59cr21000f1c4:       e3a00024        mov     r0, #36 ; 0x24
23:56.59cr21000f1c8:       eb0000ae        bl      0x1000f488
23:56.59cr21000f1cc:       e59f3074        ldr     r3, [pc, #116]  ; 0x1000f248
23:56.59cr21000f1d0:       e1530000        cmp     r3, r0
23:57.10cr2this is the acx100 check.
23:57.30cr21000f248:       01030505
23:57.45psokolovskycr2, 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.49cr2TI TW1100B Silicon Revision Register : 0x%x (default value: 0x1030505)
23:58.44cr2psokolovsky: is there a general irq demux driver in the mainline ?
23:59.21lkclwhat device this in, cr2?  univ or hw6915?
23:59.40cr2the sa1111 should be handled somehow, and it's the similar "asic".
23:59.51psokolovskycr2: 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)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.