IRC log for #htc-linux on 20090216

00:00.09cr2and you are (in theory) free to set the divisors to produce it
00:00.23cr2so we will put 0xa00
00:00.52cr2but if the frequency is not 100kHz, it's a good idea to printk a warning in the syslog
00:00.52maejrepso if it were to expect some other frequency (like 12MHz),then 0xa00 would be wrong?
00:01.03cr212MHz can't be
00:01.05maejrepwell, then we have a lot of clock-specific code
00:01.07cr2but 400kHz
00:01.18maejrepwell you get my point :p
00:01.22cr2so we will set 100kHz anyway
00:01.37captnoordlol got telnet console
00:01.42maejrepbut that could break the driver, if it's assuming 400kHz and getting 100?
00:01.43captnoordbut whut can I do with it
00:01.58cr2looking at the maze of the htc code it's "a lot of clock-specific code"
00:02.03maejreplol
00:02.04maejrep:/
00:02.11maejrepfair enough ;)
00:02.19cr2maejrep: let's hope it will not happen
00:02.23maejrepbut i'd rather have that clock-specific code be in a lookup table
00:02.26cr2for i2c it's not a problem
00:02.34cr2but fot the uart2DM it will be
00:02.42cr2i know how to set 115200 only
00:02.46maejrepuartDM uses md/ns doesn't it?
00:02.53cr2but it will certainly want to set 4Mbit
00:02.56cr2yes.
00:03.05cr2but the base clock is not known.
00:03.13maejrepso can't it just use the frequency table?
00:03.17cr2i need to find the place where wince sets  4itMb
00:03.29cr2if it's RPC code, then tough shit.
00:03.29oruxplease, could anyone tell me the value in 0xaa200000 register (MDP_SYNC_CONFIG_0) in a raph model?
00:03.46cr2we need then some better idea how to control the clocks
00:04.49*** join/#htc-linux Beef (n=beef@unaffiliated/beef)
00:05.06maejreporux: does it matter what model?  ie, 800/100
00:05.26cr2maejrep: 800 is better for him
00:05.35orux800 better
00:05.46cr2becaue it's epson
00:05.59cr2orux: but you have a different resolution anyway
00:06.27oruxyes, i want to play with #define MDDI_PMDH_CLK_RATE
00:06.39maejrephow large is that reg?
00:06.45*** join/#htc-linux Beef (n=beef@modemcable173.233-37-24.mc.videotron.ca)
00:06.52orux1 word
00:07.02cr2maejrep: pd 0xaa200000 4
00:07.03maejrepaa200000 | a4f00e07 ffcfffff ffcfffff 01180195 | ................
00:07.15oruxok thanks!!
00:07.33cr2orux: which value do you have ?
00:07.48oruxaa200000 | c9700a7b
00:07.58cr2ok
00:08.13cr2orux: the piclock is known ?
00:08.22cr2s/pic/pixc/
00:08.39oruxone moment ...
00:10.40maejrepcr2: is writing 0xa00 into the ns reg "enabling it", or "setting frequency"?  or both
00:12.08cr2probably both
00:12.19captnoorda = 10
00:12.24cr2but it's difficult to say without the docs
00:12.25captnoord8 + 2
00:12.31captnoord1000
00:12.32captnoordand
00:12.37captnoord0010
00:12.48captnoordand if you set only 8
00:13.04captnoordor only 2
00:13.58oruxI am playing with: MDP_SYNC_CONFIG_0: 15:0-->This scale value to be programmed is the ratio of the core MDP clock frequency to LCD panel frequency divided by the no. of rows (lines) in the LCD panel. For example, if the MDP clock is 133 MHz and the LCD is 176 lines (rows) and 220 pixels (columns) at 60 Hz, then the value to be programmed is 133 * 10^6 / (60 * 176) = 12594
00:14.32cr2NetRipper: we need to find out why you need to mess with the MDP irq bits
00:15.30captnoordcr2 for what?
00:15.38captnoordthe touchscreen or something else
00:17.23cr2captnoord: MDP
00:17.56cr2maejrep:  clk = clk_get(&pdev->dev, "mdp_clk");
00:18.04cr2maejrep: can be done now :)
00:18.14captnoordpersonaly I think the whole setting / reseting of bits is a bit messy
00:18.26cr2clk_enable(clk);
00:18.54cr2orux: but what is the core MDP clock ?
00:20.04cr2for e07 and a7b
00:20.35oruxThis clock syncronizes mdp and mddi
00:21.03maejrepcr2: what was preventing it previously?
00:22.25cr2maejrep: the bit was not known.
00:24.09maejrepah, 0x200 now?
00:24.26cr2yes
00:24.31captnoord:D
00:25.29maejrepcr2: how about offset?
00:26.59cr2maejrep: it's only enabled. no offset...
00:27.02maejrepor is it only a clkena bit, no register?
00:27.07cr2yes
00:27.26cr2also in the g1 code, there is no set frequebcy
00:27.41cr2only enable/disable
00:28.38cr2NetRipper: prepare to blow your raph, when maejrep will be ready :)
00:29.06maejrepblow it? :p
00:29.10captnoordblows at his raph
00:29.11cr2lol
00:29.26maejrepsounds dangerous
00:29.49cr2no, we just need to test it step by step
00:30.21cr2you said that a41 for pmdh does not work for you
00:30.33maejrepand grp_clk is also enabit-only?
00:30.35maejrepno md/ns?
00:30.37cr2while it is a41 everywhere in wince
00:30.41maejrepright
00:30.53cr2grp_clk must have Ns
00:31.04maejrepah i see it
00:31.07maejrephmm
00:31.12cr2| grp_clk    | ?     | 0xa80 ? | ?       | ?
00:31.15maejrep<PROTECTED>
00:31.15maejrep<PROTECTED>
00:31.25cr2but i need to do some more research here.
00:31.26maejrepso, 0x80 is only a 1 or 0?
00:31.34maejrepso i should leave it out for now?
00:31.51cr2don't use it for now.
00:32.09cr2hmm. where is the 115200 line for the uart2DM ?
00:32.37maejrep<PROTECTED>
00:32.37maejrep<PROTECTED>
00:32.38maejrep?
00:33.25cr2no
00:33.36cr2these values are dumped, and are wrong.
00:33.44cr2like for the sd
00:33.54*** join/#htc-linux ClashTheBunny (i=4c783441@gateway/web/ajax/mibbit.com/x-a2f75385f77c49fa)
00:34.17maejrepwell, it would just use whatever frequency is set for it, right?
00:35.09cr2[Mi Feb 4 2009] [01:31:01] <cr2>        MD=0x2ff37 NS=0xff390b59 M=r1=0x2 N=r2=0xc8 d=r3=0x64 s0=r4=0x3 s1=r5=0x2 s2=r6=0x1 s3=r7=0xb (-0xa)
00:37.36cr2115200,2,0xc8,0x64,3,2,1,1
00:37.40oruxgood night all; tomorrow I will fight with mdp clock!!
00:37.47cr2ok
00:38.00cr2maejrep: 115200,2,0xc8,0x64,3,2,1,1
00:38.11*** part/#htc-linux orux (n=jose@89.130.46.3)
00:38.34maejrepbut that's a baud rate, not a frequency, right?
00:39.00cr2hmm. what does g1 code request ?
00:39.05maejrepno idea
00:39.49maejrepwhere would that be?
00:40.10cr2msm_serial_hs.c
00:41.20cr2225         /* Set up the MREG/NREG/DREG/MNDREG */
00:41.21cr2226         ret = clk_set_rate(msm_uport->clk, uport->uartclk);
00:41.37cr2but it's for the uart ?
00:42.17cr2<PROTECTED>
00:42.17maejrepwhere is uartclk set?
00:42.18cr2322                 msm_hs_write(uport, UARTDM_CSR_ADDR, 0xcc);
00:43.28tmztbps*16 if > 460800
00:43.42tmztor 7372800
00:44.05cr2it'S the datamover, not the uart clock
00:44.37cr2msm_uport->clk = clk_get(&pdev->dev, "uartdm_clk");
00:46.03cr2hm on shutdown
00:46.06cr2clk_enable(msm_uport->clk);
00:46.21cr2a bug ?
00:46.26maejrepshould be disable?
00:46.43cr2clk_disable(msm_uport->clk);  /* to balance local clk_enable() */
00:46.49cr2comes later
00:47.11cr2but no set frequency...
00:47.36tmztline 1364
00:47.39tmztyes
00:48.11cr2msm_port->clk = clk_get(&pdev->dev, "uart_clk");
00:48.16cr2tmzt: where ?
00:48.26cr2uart_clk is a different clock
00:48.43tmztcr2: same thing you found I think
00:48.49cr2g1 is evil ;)
00:48.52cr2<PROTECTED>
00:49.09cr2hardcoded gpios everywhere ;)
00:50.34tmztno msm_port in msm_serial_hs.c, what file is that in?
00:51.20cr2maejrep: put some dummy for the imem_clk too.
00:51.38cr2as in: do nothing
00:52.29cr2g1 uses uart3 -> extusb
00:52.39cr2#if !defined(CONFIG_MSM_SERIAL_DEBUGGER) && !defined(CONFIG_TROUT_H2W)
00:52.41cr2698         &msm_device_uart3,
00:52.42cr2699
00:53.23cr2hmm
00:53.26cr2static struct msm_serial_hs_platform_data msm_uart_dm1_pdata = {
00:53.28cr2855         .wakeup_irq = MSM_GPIO_TO_INT(45),
00:53.29cr2856
00:53.37cr2why is it hardcoded then ??
00:54.03maejrepheh
00:55.25cr2ok. so uart1 and uart1dm for bt
00:55.40cr2maejrep: we have uart2 and uart2dm ?
00:55.53cr2maejrep: since uart1 is used for debugging.
00:56.03cr2and uart2dm is 100% sure
00:56.17tmztdoes 7372800 mean something?
00:56.19maejrepi have the clock data in the table... if that's what you're asking
00:56.43tmztis that passed to amss to disable uartdm_clk or something when the baud rate is low enough?
00:57.19captnoord0x708000
00:57.26cr2NetRipper has only uart1 in his setup
00:57.51captnoord0b11100001000000000000000
00:57.53captnoordnn all
00:57.55captnoordhave fun
00:58.05cr2tmzt: no. the uart is controlled directly
00:58.18cr2hmm. 2:00 already
00:59.11cr2maejrep: ok, think about adding uart1 as the debug port (not really ready now) and the uart2/DM for the bt.
00:59.16cr2good night :)
01:03.09maejrepI still don't know what I was supposed to do now :p
02:01.45AstainHellbringlol maejrep I suggest getting data text and voice working but thats just me ;)
02:02.04maejrepwhy would you want those?
02:02.13maejrepit's not like its a phone or something...
02:02.33AstainHellbringlol
02:06.42*** join/#htc-linux br1ck_ (n=br1ck@xdslcn054.osnanet.de)
02:15.48maejrepcr2: here's something I was expecting...  the detected panel id changed! :(
02:15.50maejrep[    9.621751] htcraphael_mddi_epson_client_init: write(300,0); read(300) => 3000
02:15.50maejrep[    9.702348] htcraphael_mddi_epson_client_init: write(30c,3000); read(324) => 3800
02:15.50maejrep[    9.782548] htcraphael_mddi_epson_client_init: adjusted panel id = 3
02:16.16maejrepused to be 0x2___
02:16.29maejrepand the panel is still unhappy :p
02:16.42maejrepgot some pictures, but I don't have a card reader handy, so will have to get it another time
02:16.56maejrepi wonder if fbgrab would work ;)
02:17.26tmztdmesg?
02:19.02maejrep?
02:19.31maejrepcr2/NetRipper: also, not sure what it means, but got this in dmesg:
02:19.32maejrep[   10.740312] ulpi: write 0x40 to 0x31
02:19.32maejrep[   10.740526] ulpi: write 0x1d to 0x0d
02:19.32maejrep[   10.740678] ulpi: write 0x1d to 0x10
02:19.48maejrepno problems with USB though.. ether works, charge detect works, etc
02:23.15tmztwasn't thinking
02:23.28tmztyou meant how the display was corrupted not the text it printed
02:28.56maejrepyeah, the display is corrupted.  the above was from dmesg, via ssh
02:48.00*** join/#htc-linux Othello (i=Othello@gateway/tor/x-789641d6976145d9)
03:44.28*** join/#htc-linux BHSPitMonkey (n=stephen@unaffiliated/bhspitmonkey)
03:46.54maejrepNICTOKL4 - (provider: Open Kernel Labs) built on Dec 20 2007 17:30:29 using gcc version 3.4.4.
03:47.41*** join/#htc-linux infernix (n=nix@spirit.infernix.net)
03:52.46tmztmaejrep: where do you see that?
03:52.50tmztin amss?
03:54.45maejrepyeah
03:54.49maejrepi think it was oemsbl
03:55.03maejrepalready closed it, forgot which one that was in
03:55.38tmztmakes sense if it's l4 based
04:16.47*** join/#htc-linux Timbo_ (i=user@wireless-128-62-125-148.public.utexas.edu)
04:16.55*** part/#htc-linux Timbo_ (i=user@wireless-128-62-125-148.public.utexas.edu)
05:12.43*** join/#htc-linux Tinyboom (n=nahh@112.80-202-155.nextgentel.com)
05:16.31*** join/#htc-linux goxboxlive (n=goxboxli@mail2.hjellnesconsult.no)
06:24.19*** join/#htc-linux rob_w (n=bob@p549BF15B.dip.t-dialin.net)
06:25.08*** join/#htc-linux osnr (n=osnr@ool-4351a8e6.dyn.optonline.net)
07:00.02*** join/#htc-linux kiozen (n=oeichler@p5492267F.dip0.t-ipconnect.de)
07:01.10*** join/#htc-linux pleemans (n=toi@116.54-246-81.adsl-static.isp.belgacom.be)
07:20.50maejreptakes a long time to analyze amss ;x
07:24.38*** join/#htc-linux kiozen (n=oeichler@p5492267F.dip0.t-ipconnect.de)
07:32.37*** join/#htc-linux kiozen (n=oeichler@p5492267F.dip0.t-ipconnect.de)
07:59.43*** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
08:01.38*** join/#htc-linux opennandra (n=opennand@80.122.179.98)
08:01.47*** join/#htc-linux Pure4Real (n=pure4rea@89-97-140-219.ip17.fastwebnet.it)
08:09.45*** join/#htc-linux _7lima (n=7lima@88-134-243-232-dynip.superkabel.de)
08:22.31*** join/#htc-linux nebi (n=nebi@170.ftth2.cust.fyrobs1.upps.se.borderlight.net)
08:35.53*** join/#htc-linux Timbo_ (n=Timbo@cpe-67-9-132-146.austin.res.rr.com)
08:37.46Pure4Realdzo: kernel builds now end with a segmentation fault:
08:37.48Pure4Realinit/calibrate.c:172: internal compiler error: Segmentation fault
09:12.27*** join/#htc-linux myxor (n=myxor@pdbn-4d089ee8.pool.mediaWays.net)
09:12.31maejrep2+ hours... still analyzing :/
09:16.05Pure4Realwhat are you analyzing?
09:20.33maejrepraph amss :p
09:23.31*** join/#htc-linux cr2 (n=konversa@crpl6.physik.uni-wuppertal.de)
09:23.46*** join/#htc-linux timebomb (n=tb@e176097120.adsl.alicedsl.de)
09:24.08cr2maejrep: i waited 3 days:)
09:24.18maejrepD:
09:24.35cr2maejrep: which version do you have ?
09:24.41cr2because i was not very happy with the result.
09:24.47maejrepfrom Hermann_C_SPRINT_WWE_1.03.651.4_RS1.03.15F_SPCS_1.53_0909_PRL60613_Ship.exe
09:24.57cr2no, the ida
09:25.11maejrep5.2
09:25.18cr2ok
09:25.45cr2mine is outdated
09:26.16cr2we don't need the dsp segments
09:26.55cr2imho, the rpc parser is most interesting.
09:27.06cr2maybe the dex clock
09:27.28maejrepand nice to have a full list of AT commands too, just for curiosity's sake :p
09:27.42cr2ok, that one too.
09:27.45*** join/#htc-linux methril (n=Methril@213.27.233.98)
09:27.57cr2but you can see most of it with 'strings'
09:28.01maejrepyup
09:28.27cr2fieldtest.exe for linux :)
09:28.42maejrep:o
09:29.03cr2is only the at*3G* parser
09:30.28cr2let me know about the progress :) bbl
09:31.14Pure4Realwonders why every mp3 in his RHCP album only plays half-way
09:31.50Pure4Reali have the original cd ofc. for people concerned about legal issues ;)
09:33.00*** join/#htc-linux dcordes-x1 (n=drcordes@ip-77-24-204-96.web.vodafone.de)
09:33.08dcordes-x1hi
09:33.41dcordes-x1maejrep maejrep do you know a good howto for ida?
09:34.11dcordes-x1want to play with what is so vital for the device analysis
09:35.09maejrepnot really..  I kinda picked it up a little bit at a time, and I still don't know very much
09:35.21maejrepI used http://forum.revskills.de/viewtopic.php?f=13&t=62 for extracting amss
09:35.51maejrepfor dll's, you just set processor to ARM and load it
09:35.55*** join/#htc-linux Abracadabra (n=aaabraca@62-244-191-249.cust.exponential-e.net)
09:36.06maejrepfor asm instructions, I use QRC0001H_rvct_v2.1_arm.pdf
09:36.29dcordes-x1does that come with ida?
09:36.37maejrepno
09:37.18maejrepits 2nd result on a google search though
09:38.06dcordes-x1nvm I must get the program first. looking forward to trying i2c on x1 whe I'm home. did you get your hands on the wifi tools?
09:38.38maejrephaven't tried
09:39.43*** join/#htc-linux captnoord (i=914ab7cc@gateway/web/ajax/mibbit.com/x-2d772ef4a9676951)
09:39.59captnoordgood morning .... damn its early
09:40.29dcordes-x1moinmoin. where?
09:40.38captnoordholland
09:41.58Pure4Realhere in italy aswell ;)
09:42.47captnoordgroet Pure4Real "mogeu"
09:42.54*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
09:42.56Pure4Realmogguh
09:45.51dcordes-x1hello marex
09:46.18Pure4Realwhahah, you guys heard of "the obama deception" ?
09:46.38captnoord?
09:46.53dcordes-x1marex how are the palm pdas?
09:46.55Pure4Realthe guy hasnt even start properly yet or there are already conspiracy theory
09:47.21captnoordlol
09:48.09Pure4Realhttp://www.wacholland.org/nl/content/trailer-obama-deception
09:49.32marexdcordes-x1, hi, see www.hackndev.com for yourself ;)
09:49.37*** join/#htc-linux balsat (n=balsat@87.72.13.87)
09:57.01*** join/#htc-linux Marajin_ (n=marajin@87-194-102-189.bethere.co.uk)
09:58.31*** join/#htc-linux Abracadabra (n=aaabraca@62-244-191-249.cust.exponential-e.net)
10:07.36*** join/#htc-linux mib_mnetb8mr (i=dce33011@gateway/web/ajax/mibbit.com/x-94c174649a1c637f)
10:08.09mib_mnetb8mrHello everybody...
10:08.17captnoordmorning
10:08.45mib_mnetb8mrgood afternoon
10:10.51*** part/#htc-linux mib_mnetb8mr (i=dce33011@gateway/web/ajax/mibbit.com/x-94c174649a1c637f)
10:11.30captnoordlol
10:19.27*** join/#htc-linux td001 (n=td001@host243-84-dynamic.58-82-r.retail.telecomitalia.it)
10:19.30td001hello
10:19.48captnoordhello
10:20.09*** join/#htc-linux konsta (n=asds@host81-157-60-163.range81-157.btcentralplus.com)
10:28.23*** join/#htc-linux captnoord (i=914ab7cc@gateway/web/ajax/mibbit.com/x-70cb6558db9102b9)
10:32.19*** join/#htc-linux Shinto (n=John@g227165228.adsl.alicedsl.de)
11:00.33*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
11:08.26*** join/#htc-linux Abracadabra (n=aaabraca@62-244-191-249.cust.exponential-e.net)
11:45.21*** join/#htc-linux j0b0 (n=jobo@5ED40048.cable.ziggo.nl)
11:50.58balsatWTF.. After a incoming call in android with kernel.27 the TS work!... strange
11:51.37balsatAnd sow does the keyboard
11:54.18balsatAlso i have changed the input0 to input1 in the msm_ts.c
11:54.52balsatBut it did not work at first, only after a incoming call
11:57.16*** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde)
12:01.44maejrepbalsat: what device?
12:01.55balsatDiam100
12:02.10maejrepinteresting
12:08.11*** join/#htc-linux liba2k (n=liba2k@194.90.149.193)
12:15.42*** join/#htc-linux captnoord (i=914ab4e8@gateway/web/ajax/mibbit.com/x-860d92b4f1e10af8)
12:26.52balsatHmmm i thing the keyboard or the navipad is fucking up the TS... after about a minut with touching the keyb and scrooling the navi the TS work
12:27.55captnoordts?
12:28.04balsatTouch screen
12:28.10captnoordthe thing is
12:28.15captnoordin the .25 branch its all ok
12:28.18captnoordin the .27 branch
12:28.26captnoordit looks like every pixel is touched
12:28.31captnoordin android
12:28.42captnoordand when you hit the TS
12:28.54captnoordit disables / borkes
12:29.34balsatif you look at /system/bin/getevent you will se the output is correct
12:30.20balsatI thing the TS driver is ok in kernel.27, but some other driver is fucking it up!
12:31.04balsatI thing it is the Navi pad driver!?
12:31.35balsatI will try to disable it in the Makefile
12:40.22captnoordyup
12:40.30captnoordwas going todo that
12:40.32captnoordsomehow
12:40.33captnoordbut
12:40.35captnoordschool now
12:40.49balsatThe navi pad is NOT causing the error
12:41.40captnoordI have no clue
12:41.58captnoordIm just searching
12:43.39*** join/#htc-linux zycho (n=zycho@a89-183-88-253.net-htp.de)
12:44.25captnoordthe way I see it
12:44.29captnoordeverything works correctly
12:44.30captnoordbut
12:44.35captnoordandroid gets the wrong message
12:45.03balsatNope it is working
12:45.12*** join/#htc-linux Untouchab1e (n=Untoucha@82.147.51.146)
12:45.16captnoord?
12:45.18captnoordexplain
12:45.29captnoordhmmm
12:45.37captnoordwhen I read the diff of the botch branches
12:45.47captnoordthere are some changes into the makefile
12:45.54captnoordregarding some drivers enabled
12:46.14balsatIf you press the keys and navi pad, after a wile the TS work
12:46.15Untouchab1eAnyone other than me fear that HTC will only be releasing high-end WinMo phones (such as the Touch Pro2, which looks awesome btw), and just plasticy low-end Android phones?
12:46.27Untouchab1ehow awesome woulndt it be if we got the TP2 with Android!
12:46.41captnoordlol
12:47.51Untouchab1econsidering the leaked "G2" pics shows a white plastic phone with no qwerty-keyboard, I guess we shoulndt have our hopes up :(
12:50.20captnoordlol
12:50.26captnoordI don't look at the future that much
12:51.39Untouchab1ewell, you should
12:51.48Untouchab1econsidering Android's future holds lots of exiting developments
12:51.51captnoordbecause?
12:53.51Untouchab1eSuch as Cupcake
12:54.06Untouchab1eor more importantly, which phones will be running Android in 2009
12:55.53captnoordif we have to believe nvidia lots
12:56.07Untouchab1e? huh
12:56.12captnoordhttp://www.engadget.com/2009/02/16/nvidias-tegra-jumps-on-the-android-bandwagon/
12:56.21captnoordhttp://tweakers.net/nieuws/58465/nvidia-android-streeft-in-2012-windows-mobile-voorbij.html
12:56.24captnoorddutch article
12:56.39Untouchab1eive read those (at least the first one)
12:57.11Untouchab1emy point was just that MWC started today, and it will be exiting to see how Android fits in
12:57.55captnoordits a dynamic enviroment
12:57.58captnoordit will addapt
13:12.21balsatAfter a couple of test, i'm sure that the TS on kernel.27 is working... make a call to your phone and the TS will work after 2-3 rings.
13:13.11captnoordok.....
13:13.13captnoordwhat is the problem then?
13:13.30balsatHave no clue
13:13.38captnoordlol
13:14.48balsathave to look into the Android source
13:15.35balsatSee what android is running on incoming call
13:17.53Untouchab1eBalsat, do we have Android booting and running properly on .27 now?
13:20.58*** join/#htc-linux td001 (n=td001@host243-84-dynamic.58-82-r.retail.telecomitalia.it)
13:26.02captnoordI guess not
13:31.04balsatUntouchab1e: The .27 kernel boots just fine, but there is trouble with the TS driver, TS will only work if Android recive a call ;>)
13:31.22captnoordlol
13:31.37captnoordso in some way the android stuff isn't setup correctly?
13:31.49captnoordand is forced todo so when it recieves a call?
13:32.00captnoordis assuming mode
13:32.17balsatMabye, or some bad interrupts?
13:32.47captnoordso like you sayd
13:32.56captnoordlook in the android code for the call stuff
13:39.05captnoordor ask my girl to call me everyday at 8:00
13:39.25balsatlol
13:39.44captnoordcan't you simulate a call?
13:51.15*** join/#htc-linux td001 (n=td001@host243-84-dynamic.58-82-r.retail.telecomitalia.it)
14:12.00*** join/#htc-linux Clash (i=4c783441@gateway/web/ajax/mibbit.com/x-b713b4e98f9a0237)
14:20.12*** join/#htc-linux myxor (n=myxor@pdbn-4d089ef3.pool.mediaWays.net)
14:26.51*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
14:26.51*** join/#htc-linux TrXtR (n=administ@dsl-242-52-87.telkomadsl.co.za)
14:27.55*** join/#htc-linux PoohbaLT (n=BlkPoohb@c-69-141-71-249.hsd1.nj.comcast.net)
14:29.15*** join/#htc-linux glyph (n=glyph@c-76-118-176-150.hsd1.ma.comcast.net)
14:30.24*** join/#htc-linux liba2k (n=liba2k@194.90.149.193)
14:31.06glyphgood morning
14:31.26glyphI have been playing with the files on http://www.slackthebox.com/android/
14:31.41glyph(which work perfectly and are awesome, thank you so much whoever put them up there)
14:31.53captnoord:D
14:32.01captnoordwasn't me
14:32.10glyphbut I also noticed the screenshot on this page: http://wiki.xda-developers.com/index.php?pagename=Xanadux
14:32.15glyphseems to show a phone running a GTK application
14:32.46glyphI do some python/gtk development and I would love to be able to run some of those apps on my phone
14:33.28*** join/#htc-linux captnoord (i=914ab4e8@gateway/web/ajax/mibbit.com/x-8a880b578a7d554a)
14:33.30glyphis there a non-android flavor of Linux which works okay on HTC phones, specifically the Kaiser / AT&T Tilt?  I imagine it would have been in development longer
14:35.26*** join/#htc-linux td001 (n=td001@host243-84-dynamic.58-82-r.retail.telecomitalia.it)
14:41.44AstainHellbringmorning
14:42.57Pure4Realglyph: you're looking for opie / gpe
14:43.05Pure4Realit's based on gtk
14:43.16Pure4Realone or both, dont remember
14:43.38Pure4Realand ängstrom is another linux distro you might get running on the kaiser
14:44.06glyphI think I'm looking for gpe
14:44.11Pure4Realthe most important part in development for the kaiser at the moment is the kernel
14:44.21Pure4Realbasic functionality is there
14:44.27glyphPure4Real: based on what I've seem from the latest android builds, the kernel is in really good shape
14:44.37Pure4Realbut bt / gps / wifi is not working yet
14:45.30Pure4Realpower collapse still needs some tweaking i guess
14:45.40glyphPure4Real: I have tried to help out with those things, but my poor user-land developer brain cannot quite get into embedded kernel hacking
14:45.41Pure4Realand 3g is not completely stable
14:45.47Pure4Realhehe
14:45.53Pure4Realsame here
14:46.05Pure4Reali have in no way enough programming experience for it
14:46.13Pure4Realso i just leave it to the pro s
14:46.13glyph(for what it's worth, I think I *could* get into it if there were _any_ documentation _at all_, grumble grumble)
14:46.34Pure4Reali found some documentation about kernel development
14:47.33Pure4Realand the people here in the channel are willing to help out
14:47.33Pure4Realas far as i know
14:47.33glyphPure4Real: I've written a few kernel things, but for desktops, running in vmware, with a nice simple non-cross-compiler toolchain :)
14:47.33Pure4Realfor me, i just dont have the time
14:47.33glyphanyway I'm not here to complain about that stuff, I think by the time I have any idea how to write a wifi driver someone else who knows what they're doing will have finished one
14:47.36Pure4Realhehe probably
14:47.52Pure4Realdzo and the crew work at an incredible rate
14:48.03glyphI am just trying to understand enough of what http://www.slackthebox.com/android/ and other similar pages contain to tweak the images slightly; I'd very much like to build and install Python
14:48.55glyphso, angstrom, you say
14:49.04glyphhttp://www.angstrom-distribution.org/releases/2007.12/images/ is not very clear to me :)
14:49.48Pure4Realthere's a special kaiser tweaked image somewhere if i remember correctly
14:49.58Pure4Realhang on, i'll try to find it
14:50.43glyphPure4Real: if you don't mind, could you tell me how I would go about finding it?
14:52.17Pure4Realthere were some posts in the android for kaiser thread about angstrom
14:53.02TrXtRI also tried android on my kaiser today. Something I noticed was the openGL ES demo's working... do they use software? or is that hardware acceleration at work?
14:53.17Pure4Realhttp://linuxtogo.org/~lgorris/builds/OE/htckaiser/
14:53.27Pure4Realyou can find angstrom images there
14:53.58Pure4Realand then you'd need to make gpe run on that
14:54.30glyphPure4Real: thanks
14:54.33glyphhmm
14:54.39glyphI notice those all say "console" :)
14:54.41glyphno X11 images
14:55.04Pure4Realone dir up you can find one x image
14:55.26Pure4Realbut its old
14:55.42Pure4Realand i dont know which processor it was built for
14:56.17*** join/#htc-linux td001 (n=td001@host243-84-dynamic.58-82-r.retail.telecomitalia.it)
14:57.13Pure4Reali think angstrom has some package manager able to download prebuilt packages
14:57.16Pure4Realnot sure
14:59.56*** join/#htc-linux Untouchab1e (n=Untoucha@82.147.51.146)
15:00.34*** join/#htc-linux captnoord (i=914ab672@gateway/web/ajax/mibbit.com/x-5d43edc1b99ef4a5)
15:04.23Pure4Realthere are packages on the angstrom homepage
15:16.36Pure4Realyou have more chance getting opie running as it doesnt need xserver
15:18.32*** join/#htc-linux td001 (n=td001@host243-84-dynamic.58-82-r.retail.telecomitalia.it)
15:21.24*** join/#htc-linux d-snp (n=d-snp@smurfer.student.utwente.nl)
15:33.01*** join/#htc-linux Othello (i=Othello@gateway/tor/x-09e9440adbcf6d4c)
15:36.37*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
16:10.45*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
16:15.23*** join/#htc-linux metter (n=metter@108-139.62-81.cust.bluewin.ch)
16:49.24*** join/#htc-linux GPFerror (n=gpferror@cpe-76-187-41-132.tx.res.rr.com)
16:53.13*** join/#htc-linux dcordes_ (n=zsirc@ip-77-24-216-106.web.vodafone.de)
16:53.25dcordes_glyph hi
16:53.45glyphdcordes: hi!
16:53.55dcordes_glyph I can help you with your userland problms
16:53.56tmztPure4Real: you would have to fix qws the same way
16:54.35glyphdcordes: iirc you were the one who helped me before when I had kernel problems ;)
16:54.36glyphthanks
16:54.45glyphI have one other question too
16:55.03glyphwhy is the jog wheel disabled on the kaiser?
16:55.14dcordes_Pure4Real gps is virtually working. you onlyneed to edit smd code to add the ro channel with the correct address
16:55.39Pure4Realah
16:55.45Pure4Realthat's good news :)
16:56.05tmztTrXtR: do you have libhgl from a g1 installed?
16:56.15dcordes_glyph I'm no real kernel hacker but know some things about the msm kernl. so probably that was me
16:56.31Pure4Reali was actually thinking that, although i like the way android looks, i would prefer something like gpe
16:56.33dcordes_pure4 it was working in the paste
16:56.38glyphdcordes: I saw it in a changelog entry
16:56.51dcordes_in the very early kernel
16:57.51dcordes_glyph I'll bb in a few. stick around here we can get anice x11 image
16:57.55dcordes_with gpe
16:58.25glyphdcordes: I am online from my phone at the moment so I won't be much help
16:58.32glyphbut I will be around ;)
16:58.56glyph(thank you so much, you guys are all awesome)
17:00.45Pure4Realhehe cool
17:01.29Pure4Realpasses a beer to dcordes for his trouble
17:02.36glyphthere is something I might be able to help with
17:03.19glyphall these forum posts are *really* confusing to navigate
17:03.49glyphmaybe i could set up a website explaining how to put various android images on various phones
17:03.58glyphwith no extraneous commentary
17:07.11*** join/#htc-linux liba2k (n=liba2k@194.90.149.193)
17:07.36*** join/#htc-linux zycho_ (n=zycho@a89-183-88-253.net-htp.de)
17:09.12*** part/#htc-linux Timbo_ (n=Timbo@cpe-67-9-132-146.austin.res.rr.com)
17:15.16NetRippercr2, i have no desire to blow my raphael
17:15.44NetRippermaejrep, those ulpi_write's are the usb init, so it's good :)
17:16.03*** join/#htc-linux AstainZZZZZZ (n=AstainHe@unaffiliated/astainhellbring)
17:18.19*** join/#htc-linux opennandra (n=opennand@afrodita.advanet.sk)
17:26.54*** join/#htc-linux metter_ (n=metter@108-139.62-81.cust.bluewin.ch)
17:27.44*** join/#htc-linux captnoord (i=5147a47b@gateway/web/ajax/mibbit.com/x-757b90c1d3fb89d1)
17:27.58*** join/#htc-linux Guillaume_ (n=guillaum@nsg93-6-82-246-132-225.fbx.proxad.net)
17:37.06dcordes_glyph do you have openembedded?
17:38.24glyphno, what's that?
17:47.04captnoordhmmmm
17:47.08captnoordtired
17:47.28*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87dd1d.pool.einsundeins.de)
17:48.04*** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
17:49.28TemujinCan anyone direct me to info on editing/creating the system.img for kaiser android?
17:50.07captnoordthe system img?
17:50.40captnoordyou can mount it
17:51.00captnoordI have to ungzip mine
17:51.03captnoordand rezip it
17:51.23captnoordfile-roller?
17:53.46tmztTemujin: were did you get that from?
18:02.07*** join/#htc-linux lutzik (n=none@ool-18b95302.dyn.optonline.net)
18:14.30captnoordhmmm
18:14.38captnoordI wonder if its just the config stuff
18:14.43captnoordit changed quite a lot
18:34.51*** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes)
18:37.55*** join/#htc-linux xutywx (n=pawel@195.205.38.95)
18:42.05*** join/#htc-linux myxor (n=myxor@pdbn-4d089a62.pool.mediaWays.net)
18:42.37*** join/#htc-linux Fjodor (n=sune@0x5551eec2.adsl.cybercity.dk)
18:44.24dcordes_glyph: http://www.angstrom-distribution.org/building-angstrom
18:47.59glyphdcordes: ooh
18:48.40*** join/#htc-linux captnoord (i=5147a47b@gateway/web/ajax/mibbit.com/x-7e75966c59210c50)
18:49.14glyphdcordes: OK, I will set that up on my desktop computer as soon as I am back
18:49.18xutywxis host-usb driver for pxa270 written? how to use it?
18:50.02dcordes_glyph: it's a must if you are doing embedded userspace
18:53.17dcordes_glyph: if we tune things a bit for kaiser we can have OE autobuilding nice X images
18:53.38tmztxutywx: yes, there are some flags that have to be set on pdata for it
18:53.48glyphdcordes: that would be excellent
18:53.53tmztdo you have a modem connected to usb host?
18:54.31xutywxi dont know - im trying to run host to use usb-mouse or sth
18:54.47glyphyou wouldn't happen to have nice packages lying around for Python, would you?  I remember from some work I did with xscale that cross-compilation of python is a real bear
18:54.58tmztoh, that would be the otg port and you need a transceiver for it to work
18:55.03xutywxi have founvd /drivers/usb/host/ohci-pxa27x.h
18:55.25xutywxon wm it works so... :P
18:55.45tmztit does? you have an actual usb A port or some kind of adapter?
18:56.23xutywxyes
18:56.40xutywxi can connet nearly everyting through the adapter ;p
18:57.15tmztit's powered?
18:57.33xutywxyes but only 100mA 0 its 1.1 host
18:58.06tmztI don't know which port that would be then, I think you need to dump some registers with haret to start
18:58.37tmztthat ohci-pxa27x should have the UP3OCR address, can you paste that #define?
18:59.06xutywxhmm but driver should handle all drivers - and when i connect sth it would be visible wouldnt it?
18:59.33tmztonly if the port is enabled
18:59.53xutywxonly portnum is defined
19:05.40tmztnot sure what you mean
19:06.26xutywxpid.pl/ohci-pxa27x.c
19:06.57tmztright
19:07.16xutywxwow - tsc2003 registered^^
19:07.26xutywxbut i dont know if it is working
19:07.27xutywxmoment
19:07.36tmztgit-grep UP3OCR
19:08.17xutywxi dont use git
19:08.28xutywx*im not using git
19:08.35xutywxor sth like that ;P
19:08.43tmztwhat are you using?
19:09.17xutywxgoogle for finding and hdd for storage ;P
19:09.26tmztwhat?
19:09.31tmztare you building the kernel
19:09.37tmztanyway grep -r then
19:09.39dcordes_dzo: is it expected that shutdown -h works properly in htc-vogue head but shutdown -r not? (I get the system maintainance thingy after reboot)
19:10.38dcordes_glyph: it's all one command in OE
19:10.50*** join/#htc-linux lutzik (n=none@ool-18b95302.dyn.optonline.net)
19:11.18dcordes_glyph: the entire phone api in openmoko is using python so the latest py* versions are always present in Oe
19:12.24dcordes_glyph: http://angstrom-distribution.org/repo has the prebuilt packages available you can get via opkg install in all angstrom images
19:20.55dcordes_I can't view http://wiki.xda-developers.com/index.php?pagename=KaiserMemoryMap
19:23.14glyphdcordes_: excellent
19:29.38*** join/#htc-linux lutzik (n=none@ool-18b95302.dyn.optonline.net)
19:31.04glyphhahaha!
19:31.16glyphhttp://www.angstrom-distribution.org/repo/?pkgname=python-divmodaxiom
19:31.20glyphmy software is apparently in that repo
19:33.29*** join/#htc-linux methril|laptop (n=methril@169.73.220.87.dynamic.jazztel.es)
19:39.35*** join/#htc-linux myxor (n=myxor@pdbn-4d089a62.pool.mediaWays.net)
19:47.31*** join/#htc-linux MethoS (n=lem@host-091-097-240-090.ewe-ip-backbone.de)
19:49.55*** join/#htc-linux captnoord (i=5147a47b@gateway/web/ajax/mibbit.com/x-ff4933d2a38ce899)
19:53.22*** join/#htc-linux goxboxlive (n=goxboxli@185.84-48-126.nextgentel.com)
20:01.55*** join/#htc-linux captnoord (i=5147a47b@gateway/web/ajax/mibbit.com/x-403a56e2ab4a1b6e)
20:03.56*** join/#htc-linux lutzik (n=none@ool-18b95302.dyn.optonline.net)
20:04.14*** join/#htc-linux the_sys0p (n=the_sys0@cpe-67-49-210-229.bak.res.rr.com)
20:05.45*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
20:24.01*** join/#htc-linux lutzik (n=none@ool-18b95302.dyn.optonline.net)
20:29.40*** join/#htc-linux xweber (n=xweber@pD9562ECD.dip0.t-ipconnect.de)
20:30.39*** join/#htc-linux nebi (n=nebi@170.ftth2.cust.fyrobs1.upps.se.borderlight.net)
20:38.54*** join/#htc-linux wdslbr (n=wdslbr@dslb-088-069-199-126.pools.arcor-ip.net)
20:40.50*** join/#htc-linux timebomb (n=tb@e176097120.adsl.alicedsl.de)
20:45.19*** join/#htc-linux MethoS- (n=lem@host-091-096-209-040.ewe-ip-backbone.de)
20:45.33*** join/#htc-linux Xime (n=xime@bankize.net)
20:48.08*** join/#htc-linux Gnutoo (n=gnutoo@host221-133-dynamic.31-79-r.retail.telecomitalia.it)
20:48.34*** join/#htc-linux captnoord (i=5147a47b@gateway/web/ajax/mibbit.com/x-ef76cdd7e5951a76)
20:48.44NetRipperoh god
20:48.55NetRipperthe touch pro 2 and the diamond 2 got announced
20:49.12AstainZZZZZZyep
20:49.15AstainZZZZZZand they are nasty
20:49.19NetRipperthey are equipping it with a msm7200a instead of 7201a
20:49.47AstainZZZZZZthey are?
20:49.47captnoordgreets NetRipper
20:50.12NetRipperaccording to a dutch site, yes
20:50.20AstainZZZZZZwierd
20:50.36NetRipperhi captnoord
20:50.43NetRipperhttp://www.htc.com/www/press.aspx?id=83956
20:50.46NetRipperthe press release doesnt say thouhg
20:51.17AstainZZZZZZguess time will tell come this summer
20:51.25NetRipperhere's where it says msm7200a http://tweakers.net/nieuws/58471/htc-kondigt-touch-pro2-en-diamond2-aan.html
20:51.34NetRippermaybe they just mean the 7200a series
20:53.36NetRippernice high res pics/renders
20:53.36NetRipper:)
20:53.51Pure4Realwas just looking at the new ts code for kaiser... is it correct that the amount of pressure you put on the ts matters?
20:54.17NetRipperearly summer
21:10.01DJWillisNetRipper: a more ugly keyboard'ed version of the touch HD ;-), joy
21:10.29NetRipperi'd have bought the HD over the touch pro if it had a keyboard; )
21:10.58AstainZZZZZZwants 10 key pad on it instead of that layout
21:11.15captnoordNetRipper: I talked to ( can't remember who ) this morning, and he sayd that if you make a call to your raphael the TS works
21:11.31NetRipperlol, it does?
21:11.36NetRipperthat's awesome, yet weird
21:11.45captnoordI didn't test it myself
21:11.49captnoordbut I can now
21:11.51captnoordif you want
21:11.54captnoordalso
21:11.54NetRippersure
21:12.00NetRipperelse i'll try it in an hour or so
21:12.00captnoordI've read the diff I made
21:12.10captnoordi'm  kinda bussy atm....
21:12.18NetRipperyea same here
21:12.19captnoordand there are some major changes in the config file
21:12.31NetRipperyou mean between .25 and .27?
21:12.34captnoordmy idea is that its possible some other driver is fucking things up
21:12.35captnoordyup
21:12.38NetRipperyes i noticed indeed
21:12.46NetRipperbut i have tried re-enabling power management
21:12.48NetRipperand some other stuff
21:12.52NetRipperbut it didnt help
21:13.05captnoordit maybe "swallows" the notifications
21:13.16NetRipperhad high hopes for it as power management was mentioned a lot together with touchscreen problems in android
21:13.26captnoordhmmm
21:13.48captnoordthe (can't remember who) guy, sayd that the code was good
21:14.00NetRipperaround what time?
21:14.01captnoordjust that something else was messing it up
21:14.09balsatTS work with the .27 kernel if you got a incoming call ;>)
21:14.10captnoordjust search for my name
21:14.18captnoordbalsat
21:14.19captnoordyup
21:14.20NetRipperah ok
21:14.31captnoordmy mind is like a leak basket atm
21:14.33captnoord:(
21:14.34NetRipperbalsat, lol how'd you figure that out? accidentally? :P
21:15.17NetRipperit's like a reversed murphy's law
21:15.37captnoord?
21:15.39balsatYes my girl call me, normal that will piss me off, but today it was ok
21:15.49NetRipperhaha
21:15.51NetRippernice
21:16.59captnoordNetRipper you really should do that diff to
21:17.05captnoordand search for the config stuff
21:17.28captnoordI think that if you double check that ( with your knowlage of devices ) I think you will find what it is
21:17.30NetRipperyes i already noticed the config and acted on it but it didnt help (so far)
21:17.40NetRipperbut incoming call is a good lead
21:17.57NetRipperit's traceable, especially if its reproduceable
21:18.05NetRipperperhaps it starts a process
21:18.12NetRipperor triggers a specific event
21:18.33NetRipperprobably wont have much time tonight
21:18.38NetRipperbut will look into it of course :)
21:18.55NetRippertoo bad im on a new project @ work as of today
21:19.00NetRipperso no toying during work time either anymore
21:19.00NetRipper;)
21:19.07captnoordhehe.....
21:19.09captnoordthey wish
21:19.13*** join/#htc-linux cmonexaway (n=xy6091@w6w0nxgn3x.adsl.datanet.hu)
21:25.58*** join/#htc-linux Dereka (n=Dereka@87.117.3.97)
21:36.36*** part/#htc-linux Dereka (n=Dereka@87.117.3.97)
21:51.23*** join/#htc-linux XD (i=t3st1fy@ircop.com)
22:13.02*** join/#htc-linux bomberik (n=max@host-78-14-224-164.cust-adsl.tiscali.it)
22:13.10bomberikhi
22:13.17Pure4Realhi
22:18.02*** join/#htc-linux cr2 (n=cr2@ip-77-24-105-80.web.vodafone.de)
22:18.26bomberikI have a smartphone with s3c2440 chip. It use s3c2410 framebuffer controller. Is it possible find hclk with haret? otherwise how do I calculate it or find it?
22:24.26cr2bomberik: you need to know the base tcx0 clock frequency
22:24.47cr2and dump the divisors for PCLK, HCLK & others.
22:48.46*** join/#htc-linux oliwan (n=ollie@client-86-25-188-109.bsh-bng-012.adsl.virginmedia.net)
22:49.12dcordes_hm we need to readd the egpio keys for kaiser
22:49.32oliwanhey. does anyone know where htcdiamond_defconfig has gon from .27?
22:50.00captnoordhuh
22:50.06captnoordnot present?
22:50.15captnoordarch/arm/config
22:50.16captnoord?
22:50.22oliwannot in repo .27
22:50.27captnoordhuh
22:50.31captnoordlemme check
22:50.31captnoord:S
22:50.35oliwancheers
22:51.04captnoordhmmm
22:51.05captnoordits merged
22:51.13captnoordI think
22:51.14captnoord:S
22:51.15dcordes_oliwan: try the htcraphael one and enable your machine in the .config or using menuconfig
22:51.18captnoordcan't remember
22:51.28dcordes_all 4 are enabled by default
22:51.42captnoordlol
22:51.50captnoordmaybe thats the reason for the TS thingy
22:51.51captnoord:P
22:51.54captnoordbrb
22:51.57dcordes_shrugs
22:51.58captnoordneed to reboot
22:52.00oliwanworx with raph but TS doesnt work
22:52.23NetRipperoliwan, you dont need htcdiamond_defconfig anymore, just use htcraphael one
22:52.47NetRipperand use the proper diamond mtype
22:53.17NetRipperoliwan, what do you mean, TS doesn't work? at all or just in android?
22:53.45oliwannetripper: thanks, i built a kernel but the touchscreen doesnt work properly. mtype 1805 rite?
22:53.51NetRipperyes
22:53.58NetRipperoliwan, does virtual keyboard work?
22:53.59dcordes_egpios are not used at all in htc-vogue kernel??
22:54.11oliwanyeah virtual kb is fine
22:54.17NetRipperoliwan, so, then touchscreen works, just not in android
22:54.23NetRipperbe clear :P
22:54.48oliwansori man, i assume it needs different calibration data yes?
22:55.08NetRipperno there's an issue with ts in android on .27 kernel
22:55.11*** join/#htc-linux captnoord (i=5147a47b@gateway/web/ajax/mibbit.com/x-da5ea6f0f13ed319)
22:55.16captnoordre
22:55.29captnoordyou mean by just writing "make" in the dir
22:55.29captnoord?
22:55.33NetRipperit's not related to the ts driver, but something else.. not sure what yet.. seems that when you receive an incoming call on android.. the ts suddenly starts workign :)
22:56.10cr2NetRipper: ts init still missing ?
22:56.13oliwansweet. i'll giv it a try
22:56.41NetRippercr2, yes, but current ts problems are unrelated to the TS android problems
22:56.47NetRipperi mean
22:56.51cr2ok
22:56.51NetRipperunrelated to a missing init
22:56.53NetRipper:)
22:57.23captnoordplease how to select the thingy then?
22:57.28captnoordas in
22:57.31captnoordphone model
22:57.34NetRippercr2, balsat found that when android is booted... and an incoming phone call is received.. the touchscreen suddenly starts responding properly
22:57.44NetRippercaptnoord, what do you mean?
22:57.54captnoordatm like the guys sayd
22:58.01captnoordall the 4 platforms are enabled by default
22:58.05NetRipperyes
22:58.07NetRippermachines
22:58.09captnoordhow to select a single platform
22:58.09NetRippernot platforms
22:58.11captnoordyup
22:58.13captnoordnrm
22:58.15captnoordmodels
22:58.16cr2NetRipper: finished http://wiki.xda-developers.com/index.php?pagename=MSM_TVOUT
22:58.16captnoorddevices
22:58.18captnoordthingys
22:58.24dcordes_"do {} while (0)" that does nothing?
22:58.33captnoordnope
22:58.34NetRippercaptnoord, the mtype in the default.txt of haret defines which machine
22:58.42captnoordI see
22:58.48captnoordslaps himself
22:58.52NetRipperdcordes_, no, it's commenly used in #define's to allow a statement to finish with ; (semi-colon)
22:58.53captnoordI don't know about about his
22:58.55captnoordthis*
22:59.08captnoordalso used in C
22:59.19captnoordto make sure that threading stuff are'nt messed up
22:59.20NetRipper#define's are a part fo c
22:59.21NetRipper:)
22:59.41NetRippererrr, how can that help in threading?
22:59.49captnoordNetRipper so #define henk(x) { blablabla; }
22:59.57captnoordbecause within the scope
23:00.04captnoordit makes sure
23:00.10captnoordthat the memory is allocated in the frame
23:00.14captnoordbut
23:00.19captnoordI don't know for sure
23:00.42captnoordalso.....
23:00.46dcordes_NetRipper: in vogue-smd.c it's used to make D(x...) which are the debug symbols contain nothing I think
23:00.48NetRipperlocal variables are not subject to threading issues
23:00.56captnoorddoing the do while trick simply for defines is kinda useless
23:01.15NetRipperdcordes_, it's probably do {} while (0) when disabled, and something else when enabled
23:01.39captnoordbut its a personal thingy...
23:01.53NetRipperlike #ifndef DEBUG \n #define DEBUG do {} while (0) \n #endif
23:01.59NetRipperso that you have empty DEBUG(...) stuff
23:02.02dcordes_NetRipper: yes
23:02.12captnoordhmmmm
23:02.28dcordes_what I sad
23:02.29NetRipperif you would just do like #define DEBUG 0, then all existing DEBUG() calls in the code would cause a compile error
23:02.34dcordes_said
23:02.51NetRipperso they stub it with a do while
23:03.49*** part/#htc-linux oliwan (n=ollie@client-86-25-188-109.bsh-bng-012.adsl.virginmedia.net)
23:05.50captnoord#define DEBUG //
23:05.50captnoordanyone?
23:05.50captnoordbut what the hell do I know about coding
23:06.32NetRipperprobably used as prefix for some lines
23:06.33maejrepcaptnoord: if ( 0 ) DEBUG("foo"); else while(1);
23:06.58NetRipperwhile (1) is not good practise
23:06.58NetRipper:P
23:07.08maejreppfft
23:07.43maejrepanyway, was merely pointing out why #define DEBUG // would not work
23:07.54NetRipperwell it could work in a different way
23:07.59NetRipperi.e.
23:08.08NetRipperDEBUG printk(KERN_INFO "test\n");
23:08.17NetRipperif DEBUG is not defined, the printk is printed
23:08.22NetRipperif DEBUG is defined as //, that line is commented out
23:08.51maejrepif DEBUG is not defined, you get an error :P
23:08.57NetRipperdefined empty then ;)
23:09.05maejrepbut anyway, that's not really the intention
23:09.12*** join/#htc-linux toer_ (i=tore@179.81-166-86.customer.lyse.net)
23:09.14maejrepit's meant to allow the debug call to be used as any other function
23:09.20maejrepwell, kind of
23:09.30maejrepie, you can't do: if (DEBUG("foo"))
23:09.41NetRipperwell we dont know where he got that line from
23:09.44NetRipperindeed you cant
23:10.25maejrepso, amss finished analyzing while I was sleeping
23:10.34maejrepand I still haven't had a chance to find anything useful yet
23:10.50maejrepand now, time for food
23:10.58cr2maejrep: why are the tvout ioctls linked to youtube ??
23:11.07NetRipperhehe ok have a good dinner
23:11.30maejrepyoutube?
23:12.01maejrepmaybe you can only use tvout for watching videos? only in the youtube app?
23:12.02captnoord#ifdef _DEBUG #define henk(x) printf(x) #else #define henk(x) //
23:12.02captnoord?
23:12.02captnoordi'm not stupid guys
23:12.02captnoordI know
23:12.02captnoordlets focus on the linux
23:12.03captnoordnot on how people think
23:12.14cr2maejrep: yeah. dumb.
23:12.19maejrepholy burst
23:12.36NetRippercaptnoord, no that doesnt work
23:12.50cr2maejrep: done http://wiki.xda-developers.com/index.php?pagename=MSM_TVOUT
23:13.00NetRipper#ifdef _DEBUG #define henk(x) printf(x) #else #define henk(x) do {} while (0)
23:13.05NetRipper#endif
23:13.46NetRippercaptnoord, your solution would only work if it's the only command on the whole line.. but if used inside another statement
23:14.17maejrepwhich is why I used the example I did ^ (if/else on one line)
23:14.28NetRipperyes
23:15.08maejrepwhat brought this up anyway? :p
23:15.15NetRipperdon't know
23:15.31captnoordshuts up
23:15.32NetRipperthink we ought to blame dcordes
23:15.41NetRipperhe started about #define's ;p
23:17.02maejrep/join #define
23:24.11cr2maejrep: tv cable detect is dex call ?
23:24.50cr2maejrep: i guess that with the pm_vid_en rpc it will work.
23:25.02cr2don't know if the MDP needs some changes though.
23:25.20cr2there is some tvout status MDP register
23:25.40dcordes_lupine_85: did you do the msmfb_refresh_thread for raph?
23:26.02NetRipperdcordes_, i added it
23:26.11*** join/#htc-linux Othello (i=Othello@gateway/tor/x-e354382d487f6b5e)
23:26.34lupine_85dcordes_: wasn't me :D
23:27.18dcordes_I wonder if there is a better way. some said it's a bad thing to do and drains a bit of performance
23:27.22lupine_85wonders how access to the cellular radio is going
23:27.26dcordes_we use the same kind of thing for the kais
23:27.46NetRipperdcordes_, the proper way is to create a new X driver, instead of using 'fbdev' for X
23:29.17dcordes_yea, putting the stuff that zygote uses. iirc tmzt proposed that, too. the question is, who can do it?
23:29.23dcordes_I can't
23:29.26NetRipperme neither
23:30.23NetRipperbtw i partially took this kernel_thread code from kais.. i just forgot to add proper credits :x
23:30.47NetRipperand moved it to msmfb instead of the touchscreen driver (which is a VERY weird place in kaiser tree :P)
23:31.06*** join/#htc-linux distortional (i=5218706b@gateway/web/ajax/mibbit.com/x-ec16b4e4ba0746ab)
23:31.13dcordes_indeed. was dwaradzyn's idea initially
23:31.36dcordes_I copy the way you put it with the kernel config for htc-vogue
23:32.03NetRipperi guess it was easiest for the hack to copy/paste stuff, as there was already a thread in the touchscreen driver he copy/pasted
23:32.06NetRipper;)
23:32.28glyphAstainHellbring: "nasty" how?
23:32.37glyphwhoops, looking at scrollback :-\
23:32.46NetRipperheh
23:36.51*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
23:37.00dcordes_I wonder if an xserver-xmsm bring other advantages
23:38.47NetRipperwe don't have to write a whole xserver variant
23:38.56NetRipperjust the driver
23:39.36NetRipperlike you have fbdev/nv/ati etc
23:40.06cr2i think it's easier to write the accelerated blt for fbdev
23:40.19cr2and similar functions.
23:41.01cr2dcordes_: what about bt ?
23:41.54dcordes_cr2: blt? I don't know about bt. maybe dzo tried it
23:43.59cr2dcordes_: there are also some 3d rotation helpers, but i doubt that they are of any use for X
23:45.44dcordes_what about tuxracer
23:45.52cr2lol
23:47.09dcordes_cr2: what about the non-A bluetooth doku situation? do we have any mysteries left there?
23:49.40cr2don't know.

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