IRC log for #htc-linux on 20120326

00:46.23*** join/#htc-linux NeoMatrixJR (~NeoMatrix@173-18-84-218.client.mchsi.com)
01:16.53*** join/#htc-linux gassedup (faxed@c-76-30-161-228.hsd1.tx.comcast.net)
01:24.53*** join/#htc-linux mitsutaka (~mitsutaka@219.143.36.82)
01:35.35*** join/#htc-linux hardwalker (~hardwalke@114-47-124-247.dynamic.hinet.net)
01:48.26*** join/#htc-linux Bry8Star (~Bry8Star@gateway/tor-sasl/bry8star)
01:51.40*** join/#htc-linux Bry8Star{EB (Bry8Star-@2607:f128:42:fb::2)
02:23.16*** join/#htc-linux jonpry (~jon@adsl-98-85-198-52.mco.bellsouth.net)
02:28.00*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
02:56.14*** join/#htc-linux jonpry (~jon@adsl-98-85-198-52.mco.bellsouth.net)
03:13.24*** join/#htc-linux jonpry (~jon@adsl-98-85-198-52.mco.bellsouth.net)
03:47.10*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
03:52.26*** join/#htc-linux swc|666 (~goldbond@Aircrack-NG/Friend)
03:58.41*** join/#htc-linux MacDrunk (~marper@201.165.119.167)
03:59.06*** part/#htc-linux MacDrunk (~marper@201.165.119.167)
04:47.58*** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
04:49.45*** join/#htc-linux Rob2223 (~Miranda@p4FFD1ABA.dip.t-dialin.net)
05:46.06*** join/#htc-linux G4y (~heaheahah@77.106.182.232)
05:52.26*** join/#htc-linux swc|666 (~goldbond@Aircrack-NG/Friend)
05:55.55*** join/#htc-linux kiozen (~kiozen@p578a42db.dip0.t-ipconnect.de)
06:46.48*** join/#htc-linux LordDeath (~LordDeath@cable-81-173-164-174.netcologne.de)
07:01.44*** join/#htc-linux swc|666 (~goldbond@Aircrack-NG/Friend)
07:23.10*** join/#htc-linux gauner1986 (~Miranda@ip-109-91-241-106.unitymediagroup.de)
07:35.24*** join/#htc-linux imark (~mark@client-86-25-171-204.bkl-bng-011.adsl.virginmedia.com)
08:34.42*** join/#htc-linux gauner1986 (~Miranda@ip-109-91-241-106.unitymediagroup.de)
09:12.08*** join/#htc-linux ychavan (ychavan@nat/redhat/x-wuxqnmybnowsueia)
09:30.50*** join/#htc-linux lamikr (lamikr@nat/nokia/x-pkrrqxcoxvjuxbtj)
09:32.50*** join/#htc-linux DuperMan (~Duper@89-139-52-254.bb.netvision.net.il)
10:00.53*** join/#htc-linux Arganis31 (c2a78c66@gateway/web/freenode/ip.194.167.140.102)
10:03.49*** join/#htc-linux Alex[sp3dev] (~alexander@178.76.204.11)
10:10.02*** join/#htc-linux MethoS- (~clemens@134.102.106.250)
10:28.11*** join/#htc-linux rajkosto (~rajkosto@2001:470:d76b:da7a:2922:5a4a:4e40:41da)
10:41.37*** join/#htc-linux khorben__ (~dont@mahce.defora.org)
11:04.44*** join/#htc-linux GNUtoo (~gnutoo@host155-102-dynamic.10-188-r.retail.telecomitalia.it)
11:10.54*** join/#htc-linux mitsutaka (~mitsutaka@219.143.36.82)
11:48.49*** join/#htc-linux yzhd (~yzhd@4.80-203-134.nextgentel.com)
12:58.21*** join/#htc-linux lamikr (lamikr@nat/nokia/x-qjiomruzpkdegplr)
12:58.41*** join/#htc-linux G4y (~heaheahah@160.8.202.84.customer.cdi.no)
13:02.35*** join/#htc-linux Alex[sp3dev] (~alexander@178.76.204.11)
13:27.39*** join/#htc-linux DuperMa (~Duper@85-250-209-7.bb.netvision.net.il)
13:40.58*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
13:56.09*** join/#htc-linux GNUtoo-desktop (~GNUtoo@host155-102-dynamic.10-188-r.retail.telecomitalia.it)
13:56.18*** join/#htc-linux GNUtoo-desktop (~GNUtoo@host155-102-dynamic.10-188-r.retail.telecomitalia.it)
14:02.26*** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
14:13.02*** join/#htc-linux helicopter88 (~helicopte@95.239.9.237)
14:28.16*** join/#htc-linux rpierce99_ (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
14:56.59detulejonpry, perhaps adding a check in smd_tty to make sure that tty_ldisc_ref doesn't return null -> this seems to be one way that part of the buffer can get lost no?
15:06.06*** join/#htc-linux kiozen (~kiozen@ppp-93-104-94-174.dynamic.mnet-online.de)
15:13.24jonprydetule, i'm pretty sure that the tty has some ldisc all the time
15:15.26detulethere's some comment in the header file that it might return null if the "ldisc is in flux" whatever that means
15:16.45jonpryi'm guessing that means in the process of changing
15:17.02jonpryhowever ril doesn't set any kind of ldisc
15:40.22*** join/#htc-linux DuperMa (~Duper@93-172-246-235.bb.netvision.net.il)
15:40.59*** join/#htc-linux DuperMan (~Duper@93-172-246-235.bb.netvision.net.il)
15:41.59*** join/#htc-linux DuperMan (~Duper@93-172-246-235.bb.netvision.net.il)
15:42.58*** join/#htc-linux DuperMan (~Duper@93-172-246-235.bb.netvision.net.il)
15:44.00*** join/#htc-linux DuperMan (~Duper@93-172-246-235.bb.netvision.net.il)
15:44.58*** join/#htc-linux DuperMan (~Duper@93-172-246-235.bb.netvision.net.il)
15:45.59*** join/#htc-linux DuperMan (~Duper@93-172-246-235.bb.netvision.net.il)
15:48.06*** join/#htc-linux DuperMan (~Duper@93-172-246-235.bb.netvision.net.il)
15:49.23*** join/#htc-linux DuperMa (~Duper@93-172-252-56.bb.netvision.net.il)
15:52.08*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
15:53.32*** join/#htc-linux DuperMan (~Duper@93-172-252-56.bb.netvision.net.il)
15:55.27*** join/#htc-linux DuperMan (~Duper@93-172-252-56.bb.netvision.net.il)
15:56.29*** join/#htc-linux DuperMan (~Duper@93-172-252-56.bb.netvision.net.il)
16:04.23*** join/#htc-linux DuperMan (~Duper@93-173-19-75.bb.netvision.net.il)
16:12.07detulei guess one thing you could do is restoring smd_tty to your original patch, see if it normalizes things...perhaps those memcopy's in smd.c are needed for whatever reason
16:32.52*** join/#htc-linux DuperMan (~Duper@46-116-24-39.bb.netvision.net.il)
16:41.43CptAJ[vlza]Asking this again for the early crowd: Trying to poll GPIOs on the whitestone according to wiki but getting nothing from haret. Can anyone help? or is there another way to get the GPIOs?
16:46.02Alex[sp3dev]IDA pro is your friend
16:47.27detuleor the trial version for 30 days :)
16:48.10Alex[sp3dev]the trial version is the nightmare
16:48.51CptAJ[vlza]this looks like its gonna be a nightmare either way -_-
16:48.56detulebut...it's free
16:49.06CptAJ[vlza]so what am I looking for? What do I need to disasemble?
16:52.56Alex[sp3dev]all the driver dlls. well, basically gpio watching in haret on msm is a bit complicated and i don't remember the commands
16:54.54jonprywhat are you trying to fix?
16:56.38CptAJ[vlza]everything, really. None of the buttons work, for starters.
16:57.16jonprythat could be microp
16:57.26CptAJ[vlza]I could try the topaz settings, see if they work but I wanted to do it right
16:58.58*** join/#htc-linux DuperMan (~Duper@46-116-24-39.bb.netvision.net.il)
16:59.23CptAJ[vlza]microp?
17:00.00jonpryits this little microcontroller attached to i2c that usually does buttons and lights
17:00.43CptAJ[vlza]so I should disassemble the driver for that then
17:01.16Alex[sp3dev]you can mmutrace the i2c writes
17:02.14Alex[sp3dev]http://forum.xda-developers.com/showthread.php?t=509493&page=117
17:03.15jonprysometimes some buttons are on microp and others are gpio so ymmv.
17:05.13jonpryat least 3 people have erased there microp by writing bad stuff to it
17:05.24jonprymyself included
17:06.49jonpry[microp]
17:06.59Alex[sp3dev][[microp]]
17:07.00unilinkyhttp://htc-linux.org/wiki/index.php?title=microp
17:07.30jonprywtf
17:08.35jonpry[[RaphaelMicroP]]
17:08.36unilinkyhttp://htc-linux.org/wiki/index.php?title=RaphaelMicroP
17:09.08*** join/#htc-linux paulk-desktop (~paulk@lib33-1-82-233-88-171.fbx.proxad.net)
17:10.43*** join/#htc-linux lewellyn (acquiescen@greenviolet/lewellyn)
17:12.51CptAJ[vlza]eeesh... gotta be careful then
17:15.59*** part/#htc-linux lewellyn (acquiescen@greenviolet/lewellyn)
17:22.00*** join/#htc-linux rob_w (~bob@ppp-88-217-90-4.dynamic.mnet-online.de)
17:22.01*** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029)
17:33.48*** join/#htc-linux swc|666 (~goldbond@Aircrack-NG/Friend)
17:48.19*** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com)
18:24.30*** join/#htc-linux Arganis31 (0206061d@gateway/web/freenode/ip.2.6.6.29)
18:27.15CptAJ[vlza]ok, mmutrace is working
18:34.47CptAJ[vlza]ugh addr2mod isn't -_-
18:34.59CptAJ[vlza]why can't things ever be easy?
18:35.49CptAJ[vlza]tells me "unable to create tool help snapshot"
18:45.03*** join/#htc-linux mastermerlin (~Adium@pD9E2E17A.dip.t-dialin.net)
18:52.28jonpryaddr2mod
18:52.30jonpry?
18:54.23CptAJ[vlza]its supposed to report the wince module that contains the instruction according to the wiki
18:55.54jonprydoes it even tell you what the PC was that caused the mmu fault?
18:56.22jonpryand its going to be stupid and just be the i2c driver
18:57.15CptAJ[vlza]I guess. But I dont even know what to do with the trace results. figured there might be some hint there XD
18:57.28*** join/#htc-linux simpson (77eb360e@gateway/web/freenode/ip.119.235.54.14)
18:57.40simpsonhai doods
18:58.26jonprywell you need to collect enough data so that you can correlate it with events
18:58.44jonprylike figure out what it written when menu button is pressed
18:59.09jonpryits possible to turn those dumps back into the real i2c data
18:59.43helicopter88simpson: how's leeza?
19:00.04*** join/#htc-linux ALoGeNo (~alogeno@74.Red-83-41-48.dynamicIP.rima-tde.net)
19:00.05simpsoncool, she is helping me reverse engineer spl
19:00.05*** join/#htc-linux ALoGeNo (~alogeno@unaffiliated/alogeno)
19:00.10*** join/#htc-linux swc|666 (~goldbond@Aircrack-NG/Friend)
19:00.19helicopter88what a nice daughter
19:00.22CptAJ[vlza]ah, right. I'm not looking for a GPIO anymore. You're right. I'm gonna look into the microp code in the kernel. see what it needs
19:06.09fakkerhow about maggie
19:06.55fakkerstill sucking on that damn pacifier?
19:07.09*** join/#htc-linux LordAllutoc (~K@nat100-255-205-109.tvoe.tv)
19:07.49*** part/#htc-linux LordAllutoc (~K@nat100-255-205-109.tvoe.tv)
19:13.09simpsonfakker kutte
19:15.35*** join/#htc-linux DuperMan (~Duper@46-116-24-39.bb.netvision.net.il)
19:18.14*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
19:54.11*** join/#htc-linux apt (~apt@rikers.org)
19:54.11*** topic/#htc-linux is Welcome to the HTC Linux project | Community portal & WiKi http://htc-linux.org | For IRC logs, HaRET & kernel mailing lists etc. see http://htc-linux.org/wiki/index.php?title=Contact | The htc-linux.org project is not affiliated with the HTC Corporation | This channel is for development purposes - Join #htc-linux-chat for offtopic
20:07.11*** join/#htc-linux detule (~detule@unaffiliated/d3tul3)
20:07.24*** join/#htc-linux DuperMan (~Duper@46-116-24-39.bb.netvision.net.il)
20:10.19detulejonpry, reverting that last smd patch (restoring to your original) seems to make a difference for a few gsm users...want to see if that normalizes things for you, here's the patch for easy application http://pastebin.com/jNeYQJzq
20:10.47detulecompiled http://dl.dropbox.com/u/38520332/3.2.11jonprys_tty_patch.tar.gz
20:12.47jonpry3.2.11?
20:13.07detulethat's what's in the autobuild
20:13.11jonprywow
20:13.20jonprylast night i got an sod
20:14.21detuleonly time i've gotten an sod has been usb related and that (i think) is a function of idle pc
20:20.04*** join/#htc-linux mastermerlin (~Adium@pD9E2E17A.dip.t-dialin.net)
20:21.35jonpryi'm not sure the results of this test are going to be helpful
20:25.42jonprywell it sort of works
20:25.57jonprybut time from call to ring has increased from 12 seconds to just over 30
20:26.49detuleer how would that be related?
20:27.13detuleyou mean you can see the CRINGs in the radio log but device doesn't ring, or no CRINGs at all?
20:28.15jonpryi'm not sure
20:28.28jonprymaybe i spoke too soon
20:29.16jonpryanyways this could all be 2 sides of the same coin. like my patch slows down smd traffic. and hyc's speeds it up
20:29.51detuleright
20:30.44jonpryi don't see anything wrong with this reverted patch
20:31.35detulei think all of smd_tty/smd needs an overhaul from the  new msm trees
20:31.52detule(though i looked and they still do memcpy)
20:31.56jonprynah our stuff is better
20:32.15jonprythey couldn't get smd to work with ppp and had to invent rmnet
20:34.03jonpryi fully support not using high speed hacks on the ril or gps channels
20:34.29detulehigh speed hacks?
20:34.42detuleoh
20:34.43detulegot it
20:34.55detuleso in that worker function differentiate based on tty->index or whatever
20:35.04detulewe're not reading the gps channel anyways
20:35.05jonpryyeah that should work
20:35.16jonprywe don't do smd27?
20:35.42detulei mean it's in there, but we get all our gps info via rpc
20:35.49jonpryic
20:36.20detuleyou should check out the xtra stuff
20:37.42jonpryworking good now?
20:38.19detuleyeah it's fine, i need to hunt down someone with amss5225 to try it out before i can send it to the ML
20:39.09jonprysuch diligence
20:40.01detulerpc is black box to me, i figure i shouldn't make assumptions with that
20:43.42detulebtw hyc reverted his own patch in the .27 tree in August so there may have been other problems with it
20:43.42jonpryif i could only find my patch
20:43.52detulewhich one?
20:44.05jonprysmd_tty ldisc stuff
20:45.25detuleaf8d799d52c8525189f6ae8efa4bce67a1b05218 in .39 branch
20:46.39jonprythanks
20:48.58jonpryhow do i view smd_tty.c from before that commit?
20:50.44detulegit checkout af8d799d52c8525189f6ae8efa4bce67a1b05218^ arch/arm/mach-msm/smd_tty.c
20:50.46detulemaybe
20:50.57jonprygit show af8d799d52c8525189f6ae8efa4bce67a1b05218~1:arch/arm/mach-msm/smd_tty.c
20:51.58detulefancy
21:04.20jonpryit compiled whatever it is
21:08.12jonprymight have the hotness
21:08.53jonpryhttp://pastebin.com/DdsWhsCw
21:14.03detulenice i think those queue delayed work are fine switch to queue work since it seems to me we are putting delay of zero
21:14.24jonpryexcept when we detect slab trouble
21:14.45jonprywhich is now a possibility since we are back to using tty_flip_buffer
21:15.13detuleoh i see
21:16.56detulei guess this should work unless that speed-up patch was breaking the data channell as well
21:17.12detulebut your device is the prime test subject it seems so you would know
21:17.36detule(btw make sure you don't have those slow_sim whatnots in startup just so we're not getting any false positives)
21:17.55jonpryit must be able to recover or something. because people have always gotten faster data with hyc patch
21:18.41detuleneed to ask him why he reverted it in the .27 tree
21:19.54jonpryit appears theoretically solid
21:20.55jonpryits impressive that we are able to download at such high speed that removing a memcpy of the packets increases performance
21:22.25detulepunch out time, later
21:28.06*** join/#htc-linux ccxCZ (~ccxCZ@new.webprojekty.cz)
21:40.21*** join/#htc-linux jonpry (~jon@unaffiliated/jonpry)
21:57.22*** join/#htc-linux mastermerlin (~Adium@pD9E2E17A.dip.t-dialin.net)
22:28.24*** join/#htc-linux furtardo (~mks@nat/yahoo/x-zfwoqyeysapmkdpy)
22:52.07*** join/#htc-linux jonpry (~jon@adsl-98-85-198-52.mco.bellsouth.net)
22:52.42CptAJ[vlza]found out why the touchscreen isnt working. the calibration routine is generating absurd values. gonna try with something more sensible
22:53.33Alex[sp3dev]1. add printk to touchscreen 2. get corner coordinates 3. hardcode into board file. problem solved
23:00.16CptAJ[vlza]oh I like that. Thats easy XD
23:00.26CptAJ[vlza]very unelegant but easy XD
23:02.49Alex[sp3dev]too much elegancy will lead to java. and trust me java sucks
23:52.11*** join/#htc-linux jonpry (~jon@adsl-98-85-198-52.mco.bellsouth.net)

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