IRC log for #htc-linux on 20081219

00:05.29tmzt_the matrix key layout, don't think that can be configured in userspace
00:17.58*** join/#htc-linux nashpa (n=dliviu@dliviu.plus.com)
00:35.26*** join/#htc-linux BHSPitLappy (n=BHSPitLa@unaffiliated/bhspitmonkey)
02:28.07*** join/#htc-linux br1ck (n=br1ck@xdslch239.osnanet.de)
02:57.41*** join/#htc-linux br1ck_ (n=br1ck@xdslcx202.osnanet.de)
02:59.22*** join/#htc-linux |404NotFound| (n=seraphim@unaffiliated/httperror/bot/httperrors)
03:02.46maejreplavender-t, awesome work :)
03:10.01*** part/#htc-linux exco (n=exco@e181085066.adsl.alicedsl.de)
03:12.12*** join/#htc-linux woodson (n=CDP@c-76-101-90-149.hsd1.fl.comcast.net)
03:18.01*** join/#htc-linux exco (n=exco@e181085066.adsl.alicedsl.de)
03:21.17maejrepso, maybe a dumb question, but i thought CDMA modem doesn't work like GSM does (i.e., AT commands)
03:21.40maejrepyeah, dumb question...
03:21.42maejrepignore me
03:22.08maejrepi wonder what the chances are that the mmc is different in raph800 :P
03:23.46tmzt_maejrep: where is the sd on the raph800?
03:23.53maejrepphysically?
03:23.56tmzt_yes
03:24.00maejrepunder the back cover
03:24.07tmzt_but not under the battery?
03:24.13maejrepright, you dont have to remove the batter
03:24.18tmzt_ok
03:24.37maejrepits right above (towards back of phone, when face down) the vol down button
03:25.11tmzt_I just looked at one but couldn't take the cover off, so I was wondering where it was
03:25.28maejrepdidn't know how, or weren't allowed?
03:26.58maejrephmm, so clock-7x00.c is used in place of clock-7x00a.c?
03:27.42tmzt_it was in a metal cage at the store
03:27.46maejrepah
03:29.16tmzt_also suprised the diam isn't much thinner than the raph
03:30.25maejrepthe keyboard really only takes about 1/4 inch
03:33.01tmzt_have you gotten used to the opera browser, zooming/panning or whatever?
03:34.46maejreppanning yeah
03:34.59maejrepbut its kind of a pain that i norder to read anything at all, i always have to zoom in after each page load
03:35.13maejrep192.168.0.203 for the host right?
03:35.31tmzt_what is the device? just the same subnet
03:35.55maejrepyeah you're right .. I thought the initrd had something built into that that was expecting the host to be some ip
03:36.40maejrepdd: can't open '/dev/mmcblk0': No such file or directory
03:36.42maejrep:(
03:37.02tmzt_does it detect mmc0 ?
03:37.35maejrepyeah
03:37.43maejrep[    1.490183] mmc0: Qualcomm MSM SDCC at 0x00000000e1001000 irq 26,0 dma 8
03:37.44maejrep[    1.500427] mmc0: 4 bit data mode enabled
03:37.44maejrep[    1.508026] mmc0: MMC clock 2640000 -> 18480000 Hz, PCLK 66000000 Hz
03:37.44maejrep[    1.510183] mmc0: Slot eject status = 0
03:37.44maejrep[    1.520061] mmc0: Power save feature enable = 0
03:37.44maejrep[    1.527598] mmc0: DM non-cached buffer at ffc03000, dma_addr 0x15bc9000
03:37.46maejrep[    1.530335] mmc0: DM cmd busaddr 364679168, cmdptr busaddr 364679936
03:37.48maejrep[    1.540122] mmc0: Polling status mode enabled
03:38.14tmzt_and the card?
03:38.17maejrepshould i be able to just create a block device with mknod?
03:38.27tmzt_check /sys/block/
03:38.39maejreploop0->7
03:39.00tmzt_and /proc/devices shows mmcblk ?
03:39.22maejrepBlock devices:
03:39.22maejrep<PROTECTED>
03:39.22maejrep179 mmc
03:39.55maejrepso could i mknod with 179,1 ;o?
03:40.03tmzt_ok, the drivers are loaded?
03:40.12tmzt_<PROTECTED>
03:41.08maejrepall I did was apply the patch and compile, didn't change anything else
03:42.12maejrepdd: can't open '/dev/mmcblk0': No such device or address
03:42.12maejrep(after mknod)
03:42.13tmzt_does the card itself appear in dmesg?
03:42.24tmzt_also, /sys/bus/mmc/devices/
03:44.05maejrep# ls /sys/bus/mmc/devices
03:44.05maejrep# ls /sys/bus/mmc/drivers
03:44.05maejrepmmcblk
03:44.10maejrepI don't see anything about the card in dmesg
03:44.37maejrepbut also not exactly sure how it would be displayed
03:44.39tmzt_the patch has debugging for the clocks?
03:44.41maejrepI see:
03:44.44maejrep[    1.411312] clk_get sdc2_pclk
03:44.45maejrep[    1.419033] clk_get_rate 22:66000000
03:44.45maejrep[    1.420061] clk_get sdc2_clk
03:44.45maejrep[    1.430122] clk_set_rate 21:2640000
03:44.45maejrep[    1.440549] set_sdcc_host_clock 4000000, 2640000
03:45.31maejrep# ls /sys/bus/mmc/drivers_probe -l
03:45.31maejrep--w-------    1 0        0            4096 Jan  1 00:11 /sys/bus/mmc/drivers_probe
03:45.32maejrep# ls /sys/bus/mmc/drivers_autoprobe -l
03:45.32maejrep-rw-r--r--    1 0        0            4096 Jan  1 00:11 /sys/bus/mmc/drivers_autoprobe
03:45.32maejrep# cat /sys/bus/mmc/drivers_autoprobe
03:45.32maejrep1
03:45.57maejrephmm, this patch wouldn't fix rtc0, right?
03:47.56tmzt_you wouldn't know if the diam movinand is one fat32 partition, would you?
03:48.05tmzt_hold on, reading the thread
03:48.19maejrepyes i think so
03:48.32maejrep# dd if=/dev/mmcblk0 count=1 | hd
03:48.33maejrep00000050  20 20 46 41 54 33 32 20  20 20 00 00 00 00 00 00  |  FAT32   ......|
03:48.38maejrep# mount /dev/mmcblk0 /mnt
03:48.46maejrep(from lavender-t's post)
03:48.51tmzt_not even partitoned
03:49.17tmzt_I don't see where that is, do you have a link (and for the patch)?
03:51.54maejrephttp://forum.xda-developers.com/showpost.php?p=3058732&postcount=1128
03:52.05maejrephttp://forum.xda-developers.com/showpost.php?p=3060104&postcount=1136
04:01.51tmzt_maejrep: is the patch supposed to work for raph?
04:02.05maejrephaven't heard
04:02.25maejrep# tail -f /sys/kernel/debug/mmc0/ios
04:02.25maejrepclock:          0 Hz
04:02.25maejrepvdd:            0 (invalid)
04:02.25maejrepbus mode:       1 (open drain)
04:02.26maejrepchip select:    0 (don't care)
04:02.28maejreppower mode:     0 (off)
04:02.30maejrepbus width:      0 (1 bits)
04:02.32maejreptiming spec:    0 (legacy)
04:03.04maejrep# tail -f /sys/kernel/debug/msmsdcc/mmc0
04:03.04maejrepSTAT: 00000000 00000000 00000000
04:03.14maejrepdoesn't sound promising ;o
04:04.20maejrep# tail -f clk_enable/sdc1_clk
04:04.20maejrep0
04:04.20maejrep# tail -f clk_enable/sdc1_pclk
04:04.20maejrep1
04:05.20tmzt_he might not be setting the clk through the mmc layer
04:05.37maejrep# cat clk_rate/sdc1_clk
04:05.37maejrep4294967274
04:05.41maejrepthat looks like -1 :p
04:05.57tmzt_are you using fmin/fmax on cmdline?
04:05.59maejrep# cat clk_rate/sdc2_clk
04:05.59maejrep2640000
04:06.01maejrepno
04:06.06maejrepshould I?
04:06.25tmzt_-static unsigned int msmsdcc_fmin = 144000;
04:06.25tmzt_-static unsigned int msmsdcc_fmax = 20000000;
04:06.25tmzt_+static unsigned int msmsdcc_fmin = 2640000;
04:06.25tmzt_+static unsigned int msmsdcc_fmax = 18480000;
04:06.28tmzt_no
04:07.21maejrepI did see that he's only enabling 2 in the code, probably explains the -1 for sdc1
04:07.38tmzt_your's is on sdc1 ?
04:07.45tmzt_sdc2 is wifi?
04:08.05maejrepI have no idea
04:08.09tmzt_lavender-t: are you here?
04:08.12maejrephow can I find out? :p
04:09.31maejrepfor a programmer (even the occasional kernel driver or hack), I really feel dumb when I start looking at all this :)
04:10.27tmzt_I don't know, but I think the clocks are different for 1 and 2 (different registers)
04:11.00*** join/#htc-linux exco (n=exco@e181104124.adsl.alicedsl.de)
04:12.01maejrepso i'd probably have to trace accessing the sd in WM or something?
04:13.01tmzt_how many sdcc instances are in htcraphael.c ?
04:14.04maejrepinstances as in what?
04:14.15maejrephow many times its called?
04:14.30maejrep<PROTECTED>
04:14.30maejrep<PROTECTED>
04:14.30maejrep<PROTECTED>
04:14.30maejrep<PROTECTED>
04:14.38*** part/#htc-linux exco (n=exco@e181104124.adsl.alicedsl.de)
04:14.44maejrep(theres a comment on the 2nd line there ..)
04:14.55maejrepso it only adds 2
04:15.15maejrepthe patch changed that from a 1 to a 2
04:17.37tmzt_the comment was from halibut source
04:17.46maejrepright
04:17.58maejrepwas just pointing out that my client didn't show the "/*..." line because of hte / :)
04:18.04tmzt_I thought it would try commands and timeout if the clock was not right, do you see that in dmesg
04:18.08tmzt_(or, can you paste it)
04:18.48maejrepno, I don't see anything like that
04:18.50maejrepbut will paste
04:19.06maejrephttp://www.privatepaste.com/aefSuIt8wg
04:21.25tmzt_slot eject status?
04:21.39tmzt_the function returns 1?
04:21.43maejrepnot sure how to interpret that ..  does eject status = 0 mean it's not ejected?
04:22.08tmzt_could be different for movinand
04:22.17tmzt_halibut had it return 0
04:23.00tmzt_can you try that? don't think it will fix the clocks but it might at least detect it
04:23.05maejrep<PROTECTED>
04:23.05maejrep<PROTECTED>
04:23.09maejrepit returns 1
04:23.14maejrepso eject = ! status (0)
04:23.27tmzt_we need to look at mmc host code then
04:23.31tmzt_mmc core
04:23.44maejrepthat's msm_sdcc.c
04:23.48tmzt_it doesn't detect a card at all
04:24.05tmzt_what function?
04:24.14maejrepmsmsdcc_check_status
04:26.19maejrepwhat would it look like if it detected a card?
04:27.22tmzt_you don't get Slot status changed: ?
04:27.46maejrep# dmesg | grep -i slot
04:27.46maejrep[    1.510183] mmc0: Slot eject status = 0
04:28.01tmzt_<PROTECTED>
04:28.21maejrepthat's the only line with "slot" ^
04:30.13maejrepis debugfs/mmc0/ios indicative of something?
04:39.06*** join/#htc-linux PoohbaLT (n=Poohba@c-98-235-66-242.hsd1.nj.comcast.net)
04:39.26maejrephmm
04:39.45maejrepthese are new lines that I didn't see in my first dmesg:
04:39.46maejrep[    8.339463] # clk_get_rate 19:-22
04:39.46maejrep[  520.799490] clk_get_rate 20:66000000
04:39.46maejrep[  527.291711] clk_get_rate 21:2640000
04:39.56maejrep(didn't see because they were ~9 minutes after booting
04:40.07maejrep-22 seems strange
04:40.42tmzt_the clk isn't used? look in the clock.h and find which clock it is
04:41.34maejrepwhich click 19 is ?
04:42.10maejrepclock*
04:42.46tmzt_yes
04:43.53tmzt_<PROTECTED>
04:44.11tmzt_match those to the values from SDC2, I think
04:44.22tmzt_we need to ask lavender-t
04:44.55maejrepcould try setting his 2 back to 1
04:44.58maejrepshrugs
04:45.26tmzt_can you try return 0 in that detect function?
04:45.59maejrephalibut_sdcc_slot_status
04:46.48tmzt_yes
04:48.25tmzt_can you also add a printk to msm_sdcc msmsdcc_check_status at the beginning?
04:51.55maejrep[    1.500427] mmc0: Slot eject status = 1
04:52.04maejrepsorry, i'd already recompiled .. will do that on next run
04:52.25maejrep[    1.480091] mmc0: Qualcomm MSM SDCC at 0x00000000e1000000 irq 24,0 dma -1
04:52.25maejrep[    1.490183] mmc0: 4 bit data mode enabled
04:52.25maejrep[    1.497690] mmc0: MMC clock 2640000 -> 18480000 Hz, PCLK 66000000 Hz
04:52.25maejrep[    1.500427] mmc0: Slot eject status = 1
04:52.25maejrep[    1.510061] mmc0: Power save feature enable = 0
04:52.27maejrep[    1.517568] mmc0: PIO transfer enabled
04:52.29maejrep[    1.520183] mmc0: Polling status mode enabled
04:52.31maejreplooks different
04:52.42maejrepno status change though
04:53.02maejrepand no mmcblk0
04:53.35tmzt_different after that?
04:55.11maejrepafter what?
04:55.23maejrepsorry, i meant the PIO transfer enabled is different
04:55.33maejrepbefore I got:
04:55.38maejrep#
04:55.38maejrep[ 1.527598] mmc0: DM non-cached buffer at ffc03000, dma_addr 0x15bc9000
04:55.38maejrep#
04:55.39maejrep[ 1.530335] mmc0: DM cmd busaddr 364679168, cmdptr busaddr 364679936
04:56.38maejrepbut i'm sure that's just the difference between sdc1 and sdc2
04:57.27maejrepprintk what exactly?
04:57.33maejrepjust that I entered the function?
05:00.00tmzt_yes
05:00.33*** join/#htc-linux datachaos (n=datachao@201.22.220.166.adsl.gvt.net.br)
05:04.38*** join/#htc-linux ALoGeNo (n=QUAKEIII@unaffiliated/alogeno)
05:05.06maejrep[    9.250034] halibut_sdcc_slot_status : 293
05:05.06maejrep[    9.550034] halibut_sdcc_slot_status : 293
05:05.06maejrep[    9.840003] halibut_sdcc_slot_status : 293
05:05.09maejrep(repeatedly)
05:05.33maejrep[    1.550305] mmc0: Slot eject status = 1
05:05.33maejrep[    1.557873] mmc0: Power save feature enable = 0
05:05.34maejrep[    1.560030] mmc0: DM non-cached buffer at ffc03000, dma_addr 0x15bc9000
05:05.34maejrep[    1.570183] mmc0: DM cmd busaddr 364679168, cmdptr busaddr 364679936
05:05.34maejrep[    1.580061] mmc0: Polling status mode enabled
05:05.53maejrepnothing about status change (since its always returning a static value, i wouldn't expect it to ever change)
05:15.11tmzt_maejrep: do you see the printk? it looks like it has to report the change somewhere but I haven't found it yet
05:18.03maejrepit would only report a change if slot_status returns something different than it's already seen before
05:18.15maejrepits always returning 0 or always returning 1, so it would never report a change
05:18.40maejrepunless i'm understanding the "change" wrong
05:18.50tmzt_ok, but how does it get the status to begin with?
05:18.59maejrepthere is no status
05:19.00tmzt_remember, that function is not supposed to be static
05:19.16maejrepstatic unsigned int halibut_sdcc_slot_status(struct device *dev)
05:19.16maejrep{
05:19.17maejrep<PROTECTED>
05:19.17maejrep<PROTECTED>
05:19.17maejrep<PROTECTED>
05:19.17maejrep<PROTECTED>
05:20.25maejrepnice, memory map is in google cache: http://74.125.45.132/search?hl=en&safe=off&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=x0X&q=cache%3Ahttp%3A%2F%2Fwiki.xda-developers.com%2Findex.php%3Fpagename%3DRaphaelMemoryMap&btnG=Search
05:22.18maejrepwould i be able to get the clock data from haret, to see if it's different from what is being used in this patch?
05:24.21maejreppdump 0xa86000a0 0x20
05:34.00tmzt_maejrep: if you have multiple sdcc's enabled, why is only mmc0 in dmesg?
05:34.20maejrepisn't mmc0 the controller (not the card/slot)?
05:34.30tmzt_yes, that's what I mean
05:35.08tmzt_that's what I'm trying to find, if the _add_sdcc's registers controllers or slots
05:35.52maejrepslots I would think..  but i have no idea
05:40.12maejrepand what do you mean by multiple sdcc's enabled?
05:40.24tmzt_multiple add_sdcc's
05:40.26maejrepit only calls add_sdcc for "2"
05:40.35tmzt_yours does?
05:40.37maejrepthe other 3 function calls are inside of a comment
05:40.58tmzt_reenable 1
05:41.01maejrep-> /* TODO: Enable these once we have support for the SDC mux
05:41.01maejrep<PROTECTED>
05:41.01maejrep<PROTECTED>
05:41.01maejrep<PROTECTED>
05:41.01maejrep<PROTECTED>
05:41.02tmzt_disable 2
05:41.25maejrepI tried that in the last run, and that was when it said "PIO transfer enabled" instead of "DM ..." in dmesg
05:41.52tmzt_I think DM is data mover and the commands are to the data mover
05:41.53maejrepbut I also did the return 0 change at the same time ..  I'll try it again with return 1
05:42.14tmzt_ok, you still don't get the printk or the changed message?
05:42.16maejrepor should I try enabling both 1 and 2? (comment indicates that may not work?)
05:42.23maejrepI get hte printk multiple times
05:42.30maejrep<maejrep> [    9.250034] halibut_sdcc_slot_status : 293
05:42.30maejrep<maejrep> [    9.550034] halibut_sdcc_slot_status : 293
05:42.30maejrep<maejrep> [    9.840003] halibut_sdcc_slot_status : 293
05:42.49tmzt_that's the one you added?
05:42.50maejrep293 is just the line number
05:42.53tmzt_ok
05:43.01maejrepadded what?
05:43.09tmzt_printk
05:43.15maejrepyeah, that was it ^
05:43.30maejrepand its called about 3x per second it seems
05:44.35maejrepso should I try it again with add_sdcc 1?
05:45.03tmzt_yes
05:45.04maejrepand leave the status returning 1? (when i tried it with add_sdcc 1 before, I also changed the return to 0)
05:45.18tmzt_it should only trigger on an irq which we don't have
05:45.34tmzt_I still can't find what host->eject means
05:47.10maejrepI think it's just slot status (1 = empty, 0 = card in slot)
05:47.30maejrep<maejrep>         status = host->plat->status(mmc_dev(host->mmc));
05:47.30maejrep<maejrep>         host->eject = !status;
05:47.46maejrepso because my status function always returns 1, status is always 1, and eject is always 0
05:47.52tmzt_right, but where is that checked?
05:48.03maejrepwhere is eject checked?
05:48.15tmzt_can you git-grep ->status I've tried the gitweb one
05:48.54maejrepfor status or eject?
05:49.01tmzt_eject
05:50.04maejrepdrivers/mmc/host/msm_sdcc.c:    if (host->eject) {
05:50.04maejrepdrivers/mmc/host/msm_sdcc.c:    host->eject = !status;
05:50.04maejrepdrivers/mmc/host/msm_sdcc.c:            host->eject = !host->oldstat;
05:50.04maejrepdrivers/mmc/host/msm_sdcc.c:           host->eject);
05:50.04maejrepdrivers/mmc/host/tifm_sd.c:     if (host->eject) {
05:50.05maejrepdrivers/mmc/host/tifm_sd.c:     host->eject = 1;
05:50.07maejrepdrivers/mmc/host/tifm_sd.c:             host->eject = 1;
05:51.44tmzt_right, but where is it in core?
05:54.47maejrepcurrent dmesg: http://www.privatepaste.com/bc1DDkoBpW
05:57.42lavender-thello maejrep.
05:57.48maejrep:D
05:58.04lavender-tstill having problem with the mmc ?
05:58.10maejrepyeah, on raph800
05:58.16tmzt_<@SanMehat> tmzt_: if status == 0 then the card is ejected
05:58.20lavender-ti know that raph is a little different
05:58.26maejrepah
05:58.29lavender-tnetripper also found problems
05:59.00maejrepany way i can help debug/track it down?
05:59.11lavender-tcould you do me a favor: set CONFIG_MMC_DEBUG=y in .config and rebuild the kernel
05:59.13maejrepraph800 very well may be quite different from raph100 even
05:59.28lavender-tthat'd generate more debug spills
05:59.50maejrepbuilding now
05:59.57lavender-tcool :)
06:00.27tmzt_maejrep: you are not in #android?
06:00.34maejrepnot currently
06:00.37maejrepI could be (?)
06:01.07tmzt_yeah
06:01.59lavender-tthanks very much tmzt for supporting :)
06:02.08maejrepyes :)
06:02.18maejrepseems tmzt_ is the only one active when I am ;p
06:02.22*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
06:02.32lavender-tabout the ejecting state, i hardcoded it to not ejected for now :)
06:03.01tmzt_the logs are gone
06:04.24maejrepand you saw that I switched back to sdcc_add(1 ?
06:04.33maejrepshould I leave that at 2 as in your patch?
06:06.02lavender-tin diamond it is sdc2. but i dont really know what's there in raph800
06:06.27maejrepany quick way to find out? :p  haret perhaps?
06:06.47*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
06:07.27lavender-twhen i see the log i think there will be some clues .
06:07.38tmzt_lavender-t: did you find the other clocks?
06:07.56lavender-thm i dont know what registers to check in haret yet ... :(
06:08.05lavender-ttmzt: not yet.
06:08.19lavender-ti just worked other way around.
06:09.07tmzt_San said there is no sd mux on trout (g1)
06:09.08lavender-ti assume the freq divider is the same for diamond using the clock-7x00.c file from vogue.
06:09.43maejrepgreat, my usb hub is hung in IO
06:10.20lavender-tpossibly. i havent checked yet. i found trout had too much stuff that i was not sure whether to include or not.
06:10.46maejrepgotta reboot in order to copy my kernel >:(
06:10.49maejrepbbiaf
06:11.07lavender-tah happened again :(
06:13.28*** join/#htc-linux goxboxlive (n=goxboxli@mail2.hjellnesconsult.no)
06:13.36*** join/#htc-linux maejrep (n=madcoder@c-71-225-238-170.hsd1.pa.comcast.net)
06:14.55maejrepok booting now
06:14.59maejreplots of debug info
06:16.47lavender-tcould you post the logs somewhere ?
06:17.35maejrephmm, ether isn't working now for some reason
06:17.44maejrepthe interface comes up, but won't connect
06:17.56lavender-t:(
06:18.35lavender-toh did you see multiple usb ethernet intfs ?
06:19.00tmzt_why is that, NetRipper's code has that?
06:19.22lavender-tif so try the other interface.
06:19.47maejrepon my host yes, i have usb0 and usb1
06:20.10maejrepi'm trying to use usb1, which has worked in the past ( just used bash history to bring up the interface the way I had previously..)
06:20.40maejrepalso just tried switching from 192.168.0.206/24 to 192.168.2.206/24 and still won't do anything
06:20.41lavender-tyeah usb1's always working fine for me.
06:20.57tmzt_maejrep: you changed the address on the fs, right?
06:21.31maejrepi did the first time i tried it, yes
06:21.36maejrepand just tried again doing the same thing
06:21.44maejrepbut earlier tonight i've been doing:
06:22.02maejrepifconfig usb1 192.168.0.202 netmask 255.255.255.0
06:22.03maejreproute add -host 192.168.0.206 dev usb1
06:22.10maejrepand then ping and telnet work fine
06:22.17maejrepnot now for some reason
06:22.21maejrepwill try rebooting i guess
06:22.28tmzt_you also have auto usb0 in /etc/network/interfaces ?
06:22.37tmzt_or just bring it up on the device
06:22.38maejrepon the phone?  yes
06:22.52maejrepon my desktop i bring it up manually
06:23.24lavender-tso neither usb0 nor 1 works now ?
06:23.31tmzt_lsusb -v -v
06:23.42maejreplsusb showed the alcor device
06:23.47maejrepi've already rebooted now
06:24.00maejrepwill check once linux boots up on the phone again
06:24.02tmzt_rebooted the phone?
06:24.06maejrepyes
06:24.13tmzt_ok
06:25.24maejrep# ping 192.168.0.206
06:25.24maejrepPING 192.168.0.206 (192.168.0.206) 56(84) bytes of data.
06:25.24maejrepFrom 192.168.0.202 icmp_seq=2 Destination Host Unreachable
06:26.01maejrepand same with usb0 :/
06:26.14lavender-tseems the usb transport is broken now ... :(
06:26.18tmzt_ifconfig usb0 on the phone
06:26.40tmzt_could be, it doesn't detect usb0 and usb1 on the pc?
06:26.58maejrepthe pc detects both, yes
06:27.10maejrepand ifconfig on the phone shows usb0 is up and running
06:27.42tmzt_ip address?
06:27.51maejrep192.160.0.206
06:27.58maejreper, 192.168.0.206
06:28.08maejrepshows RX and TX bytes = 0
06:28.19maejrepon desktop also
06:28.25tmzt_it should rx even if the ip is wrong, I think
06:28.27maejreplet me check something else
06:28.42maejrepdammit
06:28.45maejreproot      4340  0.0  0.0  17668  1100 ?        D    01:12   0:00 hald-addon-storage: polling /dev/sdc (every 2 sec)
06:28.45maejreproot      4342  0.0  0.0  17668  1100 ?        D    01:12   0:00 hald-addon-storage: polling /dev/sdd (every 2 sec)
06:28.45maejreproot      4344  0.0  0.0  17668  1100 ?        D    01:12   0:00 hald-addon-storage: polling /dev/sde (every 2 sec)
06:28.45maejreproot      4346  0.0  0.0  17668  1100 ?        D    01:12   0:00 hald-addon-storage: polling /dev/sdf (every 2 sec)
06:28.53maejrepusb in uninterruptible sleep again
06:28.55maejrep>:|
06:29.30tmzt_oh
06:29.48maejrepwhat a pain in the ass...  i have to reboot again
06:31.49*** join/#htc-linux balsat (n=kll@87.72.13.87)
06:32.21*** join/#htc-linux maejrep (n=madcoder@c-71-225-238-170.hsd1.pa.comcast.net)
06:33.05maejrepguess that external sata hdd enclosure I got in the wootoff is trash
06:34.32maejreplavender-t:  dmesg: http://privatepaste.com/d38YP0o2PG
06:35.48maejrepso all the commands are timing out
06:35.56maejrepthats the same thing NetRipper saw, right?
06:40.30*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
06:42.12lavender-thm .. the sd might be in sdc0 looks like
06:42.22lavender-tcould you try sd0 ?
06:42.32lavender-talso in mach-msm/common.c
06:43.27lavender-tstatic struct resource msm_sdc1_resources[] = {
06:43.55lavender-tuncomment the #if 0 ...
06:44.12maejrepwhere would I set sdc0 ?
06:44.13lavender-toh here i mean sdc1 from the code ...
06:44.16maejrepin the sdcc_add call?
06:45.05lavender-tyeah in board-htcraphael.c,
06:45.06maejrepso sdcc_add(1 ?
06:45.26lavender-tmsm_add_sdcc(1,
06:45.28lavender-tyeah
06:46.13maejrepok, i have a dmesg from when i tried that earlier (though without debugging)
06:46.30maejrepthe main difference was:
06:46.31maejrep<maejrep> [    1.560030] mmc0: DM non-cached buffer at ffc03000, dma_addr 0x15bc9000
06:46.31maejrep<maejrep> [    1.570183] mmc0: DM cmd busaddr 364679168, cmdptr busaddr 364679936
06:46.44maejrep(with add_sdcc 2)
06:46.53maejrepand: <maejrep> [    1.517568] mmc0: PIO transfer enabled
06:46.58maejrepfor add 1
06:47.10maejrepi'll try it with debugging as well though
06:50.52lavender-tthat's b/c the DMA resources were turned off for sdc1
06:51.15lavender-tby uncommenting common.c the DMA is enabled
06:51.27maejrepso you expect that?
06:51.35maejrepstill getting timeouts btw
06:52.10maejrephttp://privatepaste.com/4c88xDi4wD
06:52.22lavender-tcool. i'll take a look.
06:54.06lavender-thm ... looks the same :(
06:55.22lavender-tlet me see if there is a way to find out the sdc# ...
06:57.00dcordeshi all
06:57.01lavender-tif raph800 uses sdc3 or 4, then the clock code needs some changes too ... :(
06:57.27tmzt_hi, dcordes
06:57.49lavender-thi dcordes
07:00.00maejrep:x
07:00.32lavender-twhat's happening to the memory map pages in the wiki ?
07:00.58lavender-traphael and kaiser are all blank now :(
07:01.23maejrephttp://74.125.45.132/search?hl=en&safe=off&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=daZ&q=cache%3Ahttp%3A%2F%2Fwiki.xda-developers.com%2Findex.php%3Fpagename%3DRaphaelMemoryMap&btnG=Search
07:02.31lavender-toh that's nice
07:09.54*** join/#htc-linux Tinyboom (n=nahh@178.80-202-153.nextgentel.com)
07:14.56lavender-thm sorry maejrep, i've got no clues now.
07:15.12maejrepk
07:16.38tmzt_lavender-t: how did you find the clocks for sdc2? I see what you said about vogue clocks (dividers)
07:17.41lavender-toh yeah. so i assumed they have the same divider. then diamond's main freq is 528MHz which is 1.32 time that of the vogue
07:18.17tmzt_you are still setting the clocks with proc_comm?
07:18.51lavender-tso i changed the f_min/f_max in the msm_sdcc.c to have it take the different frequencies
07:18.59lavender-tno. i'm using the CLK_CTL registers directly
07:19.21lavender-tthat the reason i need the A0/A4 stuff.
07:19.36tmzt_a0/a4 are for sdc2 only?
07:19.49lavender-ta0/a4 are for sd1
07:20.02lavender-tsdc2 is a8/ac
07:20.10lavender-tand so forth
07:21.45lavender-tso the whole sd clock stuff here is for now just a guessing game.
07:22.03lavender-tno datasheet :(
07:23.49maejrepso by changing it to add_sdcc 1, would i need to use something else?
07:24.41lavender-tno nothing special. the clock-7x00.c covers sdc1 and sdc2
07:24.58lavender-tbut for sdc3/4 there will be more code.
07:25.04maejrepah
07:26.10lavender-tthis one i mostly directly used the code from vogue
07:26.30lavender-tjust added sd2. (it was sd1 only)
07:27.04lavender-tagree the code was not very well written ;)
07:27.32lavender-tjust wish to try out first if it really works.
07:27.57*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
07:30.05*** join/#htc-linux kiozen (n=oeichler@p5492A189.dip0.t-ipconnect.de)
07:47.41tmzt_lavender-t: do you know of anyway to set those values through proc_comm? swetland from google is saying that's the prefferred way
07:52.12*** join/#htc-linux ionstorm (n=ion@ip68-228-225-247.ph.ph.cox.net)
07:54.34lavender-tyeah i agree
07:54.52lavender-tif we can get the proc_comm working that'd be all natural
07:55.12tmzt_does the proc_comm api involve setting those dividers too, or is it just the frequency?
07:55.31lavender-tbut the thing is proc_comm stucks at waiting for commands forever
07:55.36tmzt_(assuming trout amss 6525? is similar enough)
07:59.43lavender-tpossibly. haret from wince could have negative impact.
08:00.03tmzt_what happens with proc_comm commands?
08:00.59lavender-tevery msm_proc_comm() call stuck at proc_comm_wait_for()
08:01.11lavender-twaiting for the command completion
08:01.24*** join/#htc-linux kkaze_wor (n=kaze@ABordeaux-152-1-35-247.w83-193.abo.wanadoo.fr)
08:01.37lavender-tif you have the code, the first wait (PCOM_READY) always passed.
08:01.40tmzt_no proc_comm commands work? is this a smd issue?
08:02.04lavender-tbut then command is written to the smem, the 2nd wait PCMD_CMD_DONE
08:02.13lavender-talways stuck there forever.
08:02.31lavender-thm .. not sure.
08:02.46lavender-ti'm not really familiar with the proc_comm mechanism
08:02.56tmzt_I'm not either
08:02.58lavender-tso i gave up on that.
08:03.15tmzt_dzo and cr2_ worked on that, someone else finished making it linux-like or whatever
08:03.52tmzt_you can check the logs here though as I'm not sure of that
08:04.05lavender-ti remember was told that cr2 suggested abandon proc_comm for diam raph :)
08:04.38tmzt_yeah, we could probably find the clock register values then
08:04.55tmzt_I think NetRipper tried tracing with haret (or maejrep)
08:04.55lavender-talso dzo's vogue doesnt have proc_comm
08:05.23tmzt_I thought he just implemented it differently
08:05.29lavender-tthe clock-7x00.c was copied from the vogue branch
08:06.00lavender-tin the makefile proc_comm.c isnt even compiled.
08:07.20tmzt_did you see anything relevant in maejrep dmesg's?
08:07.42lavender-tno.
08:07.55lavender-tthe clock was probably still not correct for raph800
08:08.12tmzt_what does that mean?
08:08.28tmzt_what could be different or you mean a difference in msm7500?
08:09.00lavender-ti mean the sd clock settings in CLK_CTL registers
08:10.39tmzt_right, are you saying there is a differnce in msm7500 in those registers?
08:10.56tmzt_or that different ones are used
08:11.10tmzt_different clocks are used for the sd card slot
08:12.05tmzt_lavender-t: should we get netriper to try this first?
08:12.14lavender-ti assumed they are the same for 7201a and 7500
08:12.46lavender-tbut diamond uses a different main freq to drive the clock
08:12.56lavender-ti think. :)
08:13.10tmzt_so you mean you need to calculate the dividers differently?
08:13.20lavender-tdiam is 528MHz, vogue/kaiser is 400MHz
08:13.21tmzt_swetland referred to pll0
08:13.41lavender-t??
08:14.41tmzt_hold on
08:15.11lavender-ti can switch to #android if you guys are there.
08:15.21swetlandis in various places
08:16.07lavender-thm .. i'm still getting use to irc ... ;)
08:16.15swetlandmy suspicion is they'd use pll0 since you don't always want to use the high speed plls if you don't have to and pll0 will always have to be on if the arm9 is on
08:16.35swetlandtcxo is 19.2MHz so it's too slow for the high end on sd
08:17.14lavender-toh ok ...
08:17.30swetlandthe cpu clock can be divided down from several different plls
08:17.52swetlandbut most peripherals tend to use tcxo or pll0 (since they're always on and if you *only* use them you're saving power)
08:19.09lavender-tso the CLK_CTL registers controls the divider of the freq fed in which is provided by pll0 ?
08:20.37swetlandI believe pll0 is 245760 (based on: http://android.git.kernel.org/?p=kernel/msm.git;a=blob;f=arch/arm/mach-msm/acpuclock.c;h=6ea137be23e8dbb5086f4fec42267b32d557b6f9;hb=android-msm-2.6.27)
08:20.44lavender-tfrom the memory map it says to be sdc1 clock 0xa0/0xa4, etc.
08:21.06lavender-tok let me check that.
08:21.18swetlandor maybe that was the wrong divisor
08:22.30swetlandno that's right
08:23.06swetlandpll1 768MHz, pll2 1056MHz
08:24.48lavender-tok i'll look into these plls.
08:25.31lavender-tbtw, i wonder if you know how these CLK_CTL + 0xa0/0xa4 registers are supposed to be set ?
08:25.52swetlandI'm not sure I'm actually allowed to talk about the clock control block
08:26.10tmzt_do the proc_comm's also use the dividers?
08:26.11maejrepall hail nda
08:26.24swetland(and would have to dig through the databooks in any case -- don't know the details off the top of my head either way)
08:26.25tmzt_or do they set the frequency and let amss figure it out
08:26.34swetlandthe proc comm api just takes frequencies
08:27.14lavender-ti had quite some headache about proc_comm too
08:27.26swetlandproc comm is going to be a pain if you're hacking on winmo devices
08:27.38swetlandas a bunch of the calls we use for linux were added specifically for linux
08:27.51tmzt_it seems they have ONRPC.dll interestinly, I thought that was something google did
08:27.51swetlandand I have no idea if/when they'll find their way into the builds of amss used for winmo
08:27.54lavender-toh :(
08:28.14*** join/#htc-linux dsr_ro (i=dsr@89.39.110.83)
08:28.35swetlandI *think* qualcomm intends for their to eventually be a single codebase and for it all to be unified, but I really don't discuss non-linux support with them ever
08:28.41lavender-tso the proc_comm docs are confidential, i guess ... :(
08:29.24tmzt_(trying to ask questions that the source can answer but familiarity with the source can make clearer)
08:29.31lavender-tif haret can be made to undo the WM stuff it would be great
08:29.34swetlandI'm not aware of any non-marketing docs from qualcomm that are available without an nda
08:31.00swetlandour agreement allows us to write GPL drivers for a goodly number of peripherals and distribute that code, so we do that
08:31.11lavender-tic. the problem for me is that i still cant venture my phone the flash a new boot loader for android
08:31.54lavender-tso i have to rely on haret until the build is in a reasonable good condition.
08:32.00swetlandnods
08:33.48lavender-tok i'll look into the plls first and see. thanks very much for your help swetland
08:33.53lavender-tand tmzt :)
08:34.09swetlandgood luck
08:34.22lavender-tthanks !
08:34.42swetlandit's fun watching you guys pick apart this stuff.  I kinda have to watch at a distance, since I work for a company with relationships with both Qualcomm and HTC ^^
08:35.37*** join/#htc-linux kilian_ (n=kilian@92.66.94.81)
08:35.44maejrepmust suck when you have the answers and can't give them ;)
08:36.01lavender-tyeah i understand. :)
08:36.34swetlandoften I don't even have the answers.  the bootloader and radio firmware are mostly black boxes to us.  I just complain to HTC or QCT if I need them to work differently
08:38.20*** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
08:42.11dcordesswetland, hi
08:43.31*** join/#htc-linux ionstorm (n=ion@ip68-228-225-247.ph.ph.cox.net)
08:44.02dcordesswetland, on the trout, how do you set the audio in/out devices (speaker or handset) for phone calls?
08:44.13dcordesproc_comm?
08:45.52swetlandrpc
08:47.42dcordesswetland, ok. on the kaiser when you dial without setting anything, you get the speaker
08:49.41dcordesswetland, are the actual commands in the trout kernel or is that in the ril?
08:52.51swetlandhttp://android.git.kernel.org/?p=kernel/msm.git;a=blob;f=arch/arm/mach-msm/qdsp5/snd.c;h=8d8b3dbef8306b59a5ff903e14e26f3cd97120b8;hb=android-msm-htc-2.6.25
08:53.05swetlandis the kernel driver that handles passing routing commands to the modem via rpc
08:53.43swetlandin android, audio routing is requested through the platform audio apis / audioflinger
08:53.55swetlandI don't believe the RIL has any direct involvement
08:54.13dcordesok so I might look it up
08:54.35dcordesthanks
08:54.36dcordesbbl
08:54.44swetlandcalls it a night
08:54.47swetlandhappy hacking, folks
08:55.08lavender-tgood night swetland.
09:40.05NetRipperlavender-t, cr2 put the formulas for A0 and A4 on irc last night
09:41.24NetRipperlavender-t, 22:32 at http://irclog.iclem.net/?chan=htc-linux&day=18
09:42.01NetRipperlavender-t, do you know how to calculate "actual_freq"?
09:43.31*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
09:47.08lavender-toh cool. i'll look for that ...
09:50.46lavender-toh man, looks fabulous !!
09:59.45tmzt_dcordes: I think dzo just did it that way to make it simpler
10:09.48jeansebhello i got a oops with htc blue angel (self build gpe image)
10:09.52jeansebanywhere to send them ?
10:13.28tmzt_OOPS is a kernel thing, so it would help to know what zImage you are using?
10:14.48tmzt_jeanseb:
10:16.03jeansebtmzt_, i use a self compile one (bitbake gpe-image) from oe source for angstrom  distrib
10:16.32tmzt_hh.org kernel then
10:16.41jeansebkernel is 2.6.21-hh20-r23-htcblueangel
10:18.30tmzt_I don't know where to send them or who is even working on hh20 or blueangel with that kernel
10:18.55tmzt_there where some lists on handhelds.org and now maybe on linuxtogo.org
10:20.13jeansebok thks looking at  linuxtogo.org
10:21.58tmzt_sure, if you have specific questions someone here can try to answer them
10:22.37tmzt_you might also ask on #oe or #openembedded if the question is about OE/Angstrom
10:22.53tmzt_(don't know which channel it is)
10:23.05jeansebjoin #oe
10:23.20jeansebok
10:54.43*** join/#htc-linux jeanseb (n=jeanseb@gazypan.dyndns.org)
11:28.51*** join/#htc-linux Pit- (n=shark@bidou.eu)
11:31.18*** join/#htc-linux tsdogs (n=tsdogs@net70-17.metalit.net)
11:34.35*** part/#htc-linux Pit- (n=shark@bidou.eu)
11:53.05*** join/#htc-linux Tinyboom (n=nahh@178.80-202-153.nextgentel.com)
12:05.39*** join/#htc-linux kiozen (n=oeichler@p5492A189.dip0.t-ipconnect.de)
12:08.39*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
12:40.33*** join/#htc-linux Uncle_CM (i=Uncle@gateway/tor/x-b480c0726ba5cabc)
12:47.47*** join/#htc-linux LunohoD_ (n=alex@e180076132.adsl.alicedsl.de)
13:34.05*** join/#htc-linux rl2000 (n=rl2000@0x573b8b62.hhnqu1.dynamic.dsl.tele.dk)
13:39.00*** join/#htc-linux ionstorm (n=ion@ip68-228-225-247.ph.ph.cox.net)
14:44.41*** join/#htc-linux EA2 (n=chipper@cpe-024-074-138-191.carolina.res.rr.com)
15:05.17*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87ef2a.pool.einsundeins.de)
15:14.18*** join/#htc-linux Xime (n=xime@dag94-3-82-233-170-230.fbx.proxad.net)
15:19.03*** join/#htc-linux toer (i=tore@179.81-166-86.customer.lyse.net)
15:23.08*** join/#htc-linux exco (n=exco@e181104124.adsl.alicedsl.de)
15:51.08*** part/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
15:51.20*** join/#htc-linux pishuri (n=pishuri@users3.ilo.org)
16:15.14*** join/#htc-linux toer (i=tore@179.81-166-86.customer.lyse.net)
16:16.04*** join/#htc-linux kiozen_ (n=oeichler@rgnb-5d87cb10.pool.einsundeins.de)
16:17.50*** join/#htc-linux toer_ (i=tore@179.81-166-86.customer.lyse.net)
16:27.05*** join/#htc-linux paulproteus (n=paulprot@2002:db69:2513:0:0:0:0:1)
17:07.54*** join/#htc-linux LunohoD_ (n=alex@e180073177.adsl.alicedsl.de)
17:12.56*** join/#htc-linux DusHmaniac (n=not@cp1055556-a.landg1.lb.home.nl)
17:12.57*** join/#htc-linux kiozen_ (n=oeichler@rgnb-5d87cfbb.pool.einsundeins.de)
17:14.29*** join/#htc-linux kiozen__ (n=oeichler@rgnb-5d87ecb4.pool.einsundeins.de)
17:21.40*** join/#htc-linux bertramt (n=chatzill@63.246.89.17)
17:26.02*** join/#htc-linux fnord__ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
17:29.20*** join/#htc-linux Tinyboom (n=nahh@178.80-202-153.nextgentel.com)
17:39.09*** join/#htc-linux Uncle_CM (i=Uncle@gateway/tor/x-61fe54c3eb597bc3)
17:50.44*** join/#htc-linux fn0rd (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
17:56.51*** part/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
18:00.04*** join/#htc-linux Othello (i=Othello@gateway/tor/x-d5d715e57ab2fac4)
18:01.57*** join/#htc-linux paulproteus (n=paulprot@2002:db69:2513:0:0:0:0:1)
18:24.16*** join/#htc-linux orux (n=jose@89.130.46.3)
18:27.33*** join/#htc-linux Xime (n=xime@dag94-3-82-233-170-230.fbx.proxad.net)
18:28.31*** join/#htc-linux [D3-2]Xime (n=xime@dag94-3-82-233-170-230.fbx.proxad.net)
18:49.33*** join/#htc-linux hollo (n=hollo@3e6b025d.rev.stofanet.dk)
18:51.31*** join/#htc-linux goxboxlive (n=goxboxli@24.84-48-212.nextgentel.com)
19:09.16*** join/#htc-linux zsircusr1 (n=dcordes@ip-90-186-24-143.web.vodafone.de)
19:09.53zsircusr1any raph mmc news?
19:21.11*** join/#htc-linux goxboxlive (n=goxboxli@24.84-48-212.nextgentel.com)
19:23.01*** join/#htc-linux jeanseb (n=jeanseb@gazypan.dyndns.org)
19:25.33*** join/#htc-linux chab7 (n=kvirc@212.92.4.114)
19:59.19*** join/#htc-linux Kuma (n=John@f048004117.adsl.alicedsl.de)
20:00.15*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87c64a.pool.einsundeins.de)
21:12.26*** join/#htc-linux TrinityDied (n=TrinityD@212-198-144-81.rev.numericable.fr)
21:29.18*** join/#htc-linux nebi (n=nebi@c-d0ed70d5.02-145-7570701.cust.bredbandsbolaget.se)
21:35.22dcordesdrops a pin
21:36.36*** join/#htc-linux thejigsaw (n=4d1d4d12@67.159.35.76)
21:36.42Kensanhears it touch the floor
21:44.06*** join/#htc-linux dante__ (n=dante@151.80.81.80)
22:00.18NetRipperwaits until someone steps onto it
22:02.44dcordesNetRipper, raph800 at works?
22:04.57NetRipperi haven't posted instructions on the forum yet
22:05.15NetRipperi'll do that somewhere tonight
22:06.47*** join/#htc-linux kiozen_ (n=oeichler@rgnb-5d87c931.pool.einsundeins.de)
22:06.58NetRipperi heard you dont even have a sim card on cmda
22:07.39dcordesyea
22:07.46*** join/#htc-linux Uncle_CM (i=Uncle@gateway/tor/x-f07ea6964d24d993)
22:08.43tmzt_cdma uses an ESN which is registered with the carrier
22:10.12NetRipperlike a network IMEI?
22:12.18tmzt_yes, ESN is like IMEI, the ESN is given to the network and put in their database, then the phone can register using that ESN and MIN (phone number)
22:12.36NetRipperah
22:12.51NetRipperso no easily switching to a new phone
22:13.04tmzt_no
22:13.32tmzt_you have to call and give another esn for another phone and it has to be one the support (usually one they sold)
22:33.01toerlo
22:46.33tmzt_wasabi: which phone did you get?
22:46.44wasabiandroid dev phone
22:46.56tmzt_I thought that came with root access
22:47.12tmzt_have you looked into openchange.org ?
22:49.04*** join/#htc-linux BHSPitLappy (n=BHSPitLa@unaffiliated/bhspitmonkey)
22:49.27wasabidunno what that's aout
22:49.45tmzt_exchange client with samba 4
22:49.51wasabior how it relates to a phone
22:50.22tmzt_it runs on linux can be compiled for arm (probably, maybe needs a little work)
22:51.15wasabinot really related to activesync at all.
22:51.18tmzt_I think one of the features is an imap proxy so that might be all that's needed for android, but it really needs an evolution or evolution-data-server compatible mail program
22:51.21wasabithis is a mapi implementation
22:51.22tmzt_activesync?
22:51.32tmzt_what are you trying to do?
22:51.37wasabiyeah. exchange phone stuff is 'activesync'. it's http-based
22:51.46wasabiJust get email/calendar/contacts on phone.
22:51.54tmzt_look at synce.sf.net sync-engine
22:52.01tmzt_from outlook?
22:52.05wasabithat's desktop stuff.
22:52.07wasabino server stuff.
22:52.16wasabilike iphones, and windows mobile devices. push mail.
22:52.22wasabiand blackberries.
22:52.25wasabiand all the others.
22:52.34tmzt_it's an airsync implementation/state machine
22:53.11wasabiyeah, so not really what i'm looking for. i don't know anybody who uses desktop active sync from work anymore.
22:53.19wasabieverybody uses over the air push stuff
22:53.47tmzt_I'm saying it implements the airsync http protocol, whether it can be used as a server or not I don't know
22:53.55wasabiwhat is airsync?
22:54.24tmzt_I don't know of any way to use a self-signed certificate with a wm5 phone so I never tried it with anything other than an rndis connection (and bluetooth pan)
22:54.48tmzt_airsync is the microsoft protocol for activesync over HTTP
22:55.39tmzt_does aku3 push use a sms message?
22:55.47wasabialu3?
22:55.48wasabiaku
22:55.56tmzt_wm5 update that added push-mail
22:55.59wasabino.
22:56.04*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
22:56.14wasabiover the air active sync has been supported much longer than 5.
22:56.19wasabiit's just HTTP. phone keeps a socket open for a poll.
22:56.35wasabiBasically issuse a blocking HTTP request that waits forever.
22:56.53wasabiI think back in vs 4 or something they did a txt message to initiate push.
22:56.57tmzt_ok, sync-engine implements the server side of the protocol in python and basically describes the protocol
22:57.04wasabihmm. well that's interesting.
22:57.35wasabiso i guess that's what needs to be written then. a calendar and contact client that uses it.
22:58.18tmzt_I guess so, I don't know how android stores the data or if it can be accessed from an authorized (privledged) application
22:58.25tmzt_but it seems funmobil? does
22:58.29wasabiwhat data?
22:58.37tmzt_contacts/calendar
22:58.46wasabioh. got me. i think it's all service-based.
22:58.58wasabias in, there are calendar and contact services... of which you can have more than one.
22:59.17wasabiso you don't access teh data. you just write a new app that exposes more.
22:59.47tmzt_ok, so it would be an airsync client that serves as a provider (a bit like a MAPI provider)?
23:00.08wasabiI'd leave mapi out of the discussion. it just confuses things.
23:00.18wasabiI think it exposes an interface with something similar to getContacts()
23:00.41wasabiWhere IContact or whatever defines common info
23:00.53wasabiSo you'd write an app that syncs in the background.
23:01.03wasabiit's own data store. it's own contact list.
23:01.07wasabibut other apps would have access to them
23:02.02tmzt_using sqlite?
23:02.03wasabime->bar =)
23:02.07wasabiyeah. probably.
23:02.12wasabiit's all javay
23:02.18wasabiso it's all wrapped. you don't write native apps.
23:02.21wasabiyou're not even allowed to
23:02.32wasabiwithout rooting the phone and stuff.
23:02.48wasabibut the onlyway to integrate with any of the important services is with the proper java-like API
23:03.20tmzt_right, with the storage apis android provides, what I meant by sqlite
23:04.26wasabii found a real great imap client. k9. it's a fixup of the built in one.
23:04.37wasabiruns really quick
23:04.52tmzt_but still no contacts/calendars
23:05.11tmzt_does push (idle) work with exchange?
23:05.32wasabiYes.
23:05.37wasabiOh you mean IMAP
23:05.41wasabino the imap client doesn't do IDLE
23:05.47tmzt_k9 doesn't?
23:05.49wasabiI sent a message to the dev telling him to add it
23:05.52wasabinope
23:06.20wasabithe ui works really nice. pops up quick, requests the top 25 messages at a time.
23:06.29wasabiso it doesn't freeze up
23:06.42wasabiit's faster than evolution. =9
23:12.09*** join/#htc-linux Moku (n=John@f048004117.adsl.alicedsl.de)
23:53.51*** join/#htc-linux miknix (n=miknix@81.193.80.227)

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