IRC log for #htc-linux on 20090115

00:12.14NetRippercr2, this is what i have so far.. note the TO_BE_REMOVED define.. which contains testing stuff and things required to compile.. http://www.netripper.com/raphael/msm_ts2.c
00:16.09lupine_85NetRipper: looks cleaner :)
00:16.17lupine_85(well, if you ignore the #ifdefs ;) )
00:16.42NetRipper;)
00:17.44NetRipperhm
00:17.55NetRipperIRQF_SHARED doesnt work it seems ;)
00:17.57NetRippercouldn't allocate irq
00:19.51*** join/#htc-linux Czarnas (n=czarnas@imik.wip.pw.edu.pl)
00:23.38NetRipperhm, those max absx and max absy aren't 0-479, 0-639
00:24.43NetRipperthey're more like 132-847, 103-886
00:25.05NetRipperat least those are the raw values
00:25.06NetRipperi get
00:25.23NetRipperanyway, bedtime.. good night
00:28.29lupine_85yay, fso-illume-image seems to workish
00:36.12lupine_85ooh
00:36.17lupine_85illume is englightenment
00:36.18*** part/#htc-linux exco (n=exco@e181105080.adsl.alicedsl.de)
00:44.41lupine_85hah. sliding out the keyboard made enlightenment crash
00:54.48lupine_85but so so pretty
01:00.53*** join/#htc-linux lifegrasp (n=ckonkel@63.254.171.226)
01:12.31lupine_85humm, should I set the DPI in X correctly?
01:25.21*** part/#htc-linux p3t3r__ (n=peter@134.245.164.105)
01:26.46*** join/#htc-linux zycho_ (n=zycho@a89-182-29-133.net-htp.de)
01:28.34BHSPitLappylupine_85, in some cases it can mess up font rendering otherwise
01:32.07lupine_85BHSPitLappy: mm, E17 seems to deal with it by having scalingh
01:32.11lupine_85(so I turned that off :D)
01:32.15lupine_85it now lokoks mostly OK
01:33.12maejreproot@htcraphael:/media/mmcblk0p1# ./i2cdump -y -r 0x12-0x12 0 103 b
01:33.13maejrep<PROTECTED>
01:33.13maejrep10:       06
01:33.25maejrepnot sure if that's what I should expect ;o
01:35.26maejrephmm, but my module gets a different value: [  109.503879] Initialized keyboard: version 06.85.00
01:35.40maejrepguess the 85 is when reading 2 bytes
01:35.58maejrep(the 0 is just to make sure .. i'm not expecting a 3rd byte)
01:37.58*** join/#htc-linux kaze (n=kaze@pac33-1-82-235-251-34.fbx.proxad.net)
01:40.25tmztmaejrep: doesn't that use read command and the chip expects different command?
01:40.31tmztcommands
01:42.06maejrepi2cdump -r 0x12 103  <-- 103 is (0xce >> 1).  in this case, it's equivalent to sending to the controller:  0x1ce,0x12,0x1cf, and the 1 byte response we get back is the first byte of that "channel"
01:42.55maejrepI do get "8506" if I request w (word) values
01:43.34maejreproot@htcraphael:/media/mmcblk0p1# ./i2cdump -y -r 0x12-0x12 0 103 w
01:43.34maejrep<PROTECTED>
01:43.34maejrep10:           8506
01:44.19*** join/#htc-linux Tinyboom (n=nahh@108.84-49-166.nextgentel.com)
02:27.46lupine_85w00t to tangogps running on my raph - though gpsd doesn't seem to be working
02:27.59lupine_85project for tomorrow I think
02:28.27maejrepanyone know what branch hermes is in?
02:33.42*** join/#htc-linux Guimli (n=guimli@ecu69-1-82-231-127-213.fbx.proxad.net)
02:36.30*** join/#htc-linux kaze (n=kaze@pac33-1-82-235-251-34.fbx.proxad.net)
02:42.32maejrepjesus, i never thought it'd be this difficult to find a driver when I know exactly where it's supposed to be
02:51.23*** join/#htc-linux kaze (n=kaze@pac33-1-82-235-251-34.fbx.proxad.net)
02:54.44maejrepfinally found it
02:54.59maejrepand I'm pretty surprised by how similar some of the code is :x
03:35.44*** join/#htc-linux ALoGeNo (n=alogeno@unaffiliated/alogeno)
03:35.49ALoGeNohi
03:50.41maejrephi
04:13.34*** join/#htc-linux kaze (n=kaze@pac33-1-82-235-251-34.fbx.proxad.net)
04:21.55*** join/#htc-linux the_sys0p (n=the_sys0@cpe-75-85-249-111.bak.res.rr.com)
04:40.36maejrepalmost done with the keyboard driver ;x
04:48.11parmasterdrivers are the bitch of all of this
05:43.53*** join/#htc-linux kaze (n=kaze@pac33-1-82-235-251-34.fbx.proxad.net)
05:51.19*** join/#htc-linux goxboxlive (n=goxboxli@mail2.hjellnesconsult.no)
06:03.28tmztmaejrep: cool, it's working?
06:03.40maejrepyes and no
06:03.56maejrepthe driver works great now, but having some consistency issues with the data from i2c
06:04.20maejrepif I use i2cdump from command line, I get the data with no problems (afaict)
06:04.45maejrepbut the driver is always getting a -EIO error on the ce,10 read
06:05.02maejrepwhich is, of course, the only important one I'm concerned with :/
06:05.59maejrephttp://www.privatepaste.com/c10MiXduxX
06:09.53*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
06:14.47tmztyou have read function to read from channels?
06:15.05tmzt0x1ce,0x12,0x1cf
06:15.34tmztwhat driver are you looking for?
06:17.02maejrepwas looking for kevin2's spi keyboard driver, but I found it
06:17.33tmztis there a handshaking/signaling thing missing here?
06:19.26maejrepi don't know how..  all the others work just fine
06:19.35maejrepand i2cdump works fine
06:20.06maejrepand I've actually seen this print data from that address, as I hit keys
06:22.14tmzti2cdump waits until you press a key?
06:22.24maejrepno
06:22.35maejrepbut i2c keeps the data buffered
06:22.57maejrepso if I press a key, I can run i2cdump 3 times, and the first time I get the press event, 2nd time I get the release event, and 3rd time I get 00's
06:22.58tmztit there something that tells you how much data is available?
06:23.07maejrepno, I don't think so
06:23.23tmztbut you always get one byte or two depending on what you request?
06:23.39maejrepin the driver?
06:23.41maejrepor i2cdump?
06:23.56tmztI mean the protocol
06:24.10tmztcan you dump the actual writes/reads with i2cdump?
06:24.36maejrepi'd have to recompile the kernel and reboot it
06:24.43tmztSyntax: i2cget [-f] [-y] I2CBUS CHIP-ADDRESS [DATA-ADDRESS [MODE]]
06:24.43tmzt<PROTECTED>
06:24.43tmzt<PROTECTED>
06:24.43tmzt<PROTECTED>
06:24.45tmzt<PROTECTED>
06:24.51maejrepi2cdump doesn't show that (its not bus specific)
06:25.08maejreproot@htcraphael:/media/mmcblk0p1# ./i2cdump -y -r 0x10-0x11 0 103 w
06:25.09maejrep<PROTECTED>
06:25.09maejrep10: 0037 4000
06:25.09maejreproot@htcraphael:/media/mmcblk0p1# ./i2cdump -y -r 0x10-0x11 0 103 w
06:25.09maejrep<PROTECTED>
06:25.09maejrep10: 00b7 0000
06:25.11maejreproot@htcraphael:/media/mmcblk0p1# ./i2cdump -y -r 0x10-0x11 0 103 w
06:25.13maejrep<PROTECTED>
06:25.16maejrep10: 0000 0000
06:26.38tmztI mean can you try i2cget?
06:26.52tmzti2cdump was to dump the chip and figure out what was going on
06:27.00*** join/#htc-linux Balsat (n=kll@87.72.13.87)
06:27.31maejreproot@htcraphael:/media/mmcblk0p1# ./i2cget -y 0 0x67 0x10 w
06:27.31maejrep0x0037
06:27.31maejreproot@htcraphael:/media/mmcblk0p1# ./i2cget -y 0 0x67 0x10 w
06:27.31maejrep0x00b7
06:27.31maejreproot@htcraphael:/media/mmcblk0p1# ./i2cget -y 0 0x67 0x10 w
06:27.32maejrep0x0000
06:27.35maejrepsame
06:28.19maejrepI know I'm reading the correct addresses, because maybe 1% will actually work and show the expected values
06:28.35maejrepbut it's only the 10 address that's giving me problems
06:29.27maejrepand its caused by an error status in the i2c chip's status register
06:29.46tmztwhat else is in there?
06:29.52tmztthe status register
06:30.44maejreplike what?
06:31.09maejrepI don't know exactly what the status register is at the time of error
06:31.17tmztI mean what bits are set there when
06:31.30tmztwhat address is it?
06:31.32maejrepyeah, don't know that
06:31.50maejrepI'm adding a dump_status call to the -EIO line in the code
06:32.05maejrepbut even then I don't know that it's going to give me any information
06:32.14maejreps/any/any useful/
06:35.50tmzthttp://www.nongnu.org/avr-libc/user-manual/group__twi__demo.html
06:37.09tmzthttp://embedded.com/story/OEG20010718S0073
06:41.12maejrep[   87.452098] STATUS (0x000000c8): NAK FAIL 0xc0
06:41.13tmztthe first one might be similar to how the microp works
06:41.15maejrepand [   87.580541] STATUS (0x000063c8): MST ACT NAK FAIL 0xc0
06:42.10tmztso these are standard or where did you get those names?
06:42.53maejrepwhat names?
06:43.00maejrepMST ACT NAK FAIL ?
06:43.06maejrepthats from the i2c-msm bus driver
06:43.27maejrep<PROTECTED>
06:43.27maejrep<PROTECTED>
06:44.05maejrepand that's it, no more information
06:45.22*** join/#htc-linux Kuma (n=John@f054218032.adsl.alicedsl.de)
06:45.38*** join/#htc-linux imfloflo (n=imfloflo@cap31-6-88-180-73-121.fbx.proxad.net)
06:50.42tmztso the status register is on the msm chip (the host)?
06:50.50maejrepyes
06:50.50tmztI mean a status register on the chip itself
06:54.52*** join/#htc-linux kiozen (n=oeichler@p5492A1F2.dip0.t-ipconnect.de)
07:05.20tmzthow many bytes does the ce driver read on irq?
07:06.19*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
07:08.33maejrep[   26.806722] i2c: write: 000001ce
07:08.34maejrep[   26.811045] STATUS (0x0000a700): MST ACT
07:08.34maejrep[   26.817271] i2c: write: 00000210
07:08.34maejrep[   26.820069] STATUS (0x000000c8): NAK FAIL 0xc0
07:08.34maejrep[   26.831961] msm_i2c msm_i2c.0: Error during data xfer (-5)
07:08.34maejrep[   33.908959] i2c: write: 000001ce
07:08.36maejrep[   33.911665] STATUS (0x0000a700): MST ACT
07:08.38maejrep[   33.917890] i2c: write: 00000210
07:08.40maejrep[   33.920108] STATUS (0x00000000):
07:08.42maejrep[   33.946303] i2c: write: 000001cf
07:08.44maejrepmakes no sense :(
07:08.54maejrepone odd thing is the "210"
07:09.00tmztare you using the _read function in your driver now instead of _transfer?
07:09.07maejrepthe windows driver doesn't send the 0x200 bit
07:09.12maejrepno
07:09.19tmzt002.491 7803d940: streq  r2, [r5]       # b2300000 =00000200
07:09.25tmztfrom your dump
07:09.34maejrepyes, but that's on the read, not the write
07:09.46maejrep007.137 7803d720: str    r3, [r5]       # b2300000 =000001ce
07:09.46maejrep007.137 7803d790: str    r3, [r5]       # b2300000 =00000010
07:09.46maejrep007.137 7803d878: str    r3, [r5]       # b2300000 =000001cf
07:09.46maejrep007.137 7803d940: streq  r2, [r5]       # b2300000 =00000200
07:09.46maejrep007.137 7803d944: ldr    r3, [r3]       # b230000c==00000088
07:10.45tmztwhat does the conditional operation mean?
07:12.24maejrepwhat conditional operation?
07:12.41maejrepstreq?
07:14.16maejrephmm, with the debugging enabled, its now reading correctly in the module :|
07:14.36maejrep[  143.960256]    <<< 0xce, 0x10 -> b8 00
07:14.37maejrep[  143.965322]  :::   Scancode = 38; currently pressed: 0
07:14.37maejrep[  143.970256]        Input keycode = 51
07:15.06tmztI was wondering about the speed, started looking at the msm-i2c driver
07:15.41*** join/#htc-linux cr2 (n=cr2@ip-90-187-200-87.web.vodafone.de)
07:15.43maejrepseems like if its being slowed down, it works :o
07:17.53tmztdo you have the clock registered with the driver?
07:18.19tmzti2c_clk
07:18.33tmztdo we have that one in the raph clock driver?
07:20.08cr2hi
07:20.26*** join/#htc-linux pichurri (n=pichurri@users3.ilo.org)
07:20.43tmztprobe would have failed if it couldn't get the i2c_clk, and it looks like i2c clock is in the i2c memory block
07:20.46tmztcr2: hello
07:20.53cr2tmzt: i think currently the clk api includes only sd
07:21.12cr2and only in a hacked way
07:21.13kiozenjesus!, cr that early!?
07:21.31tmztwritel(clk_ctl, dev->base + I2C_CLK_CTL)
07:21.35cr2kiozen: before going to work :)
07:21.36tmztI think it's on the a11
07:22.02kiozenanyway, scary :)
07:22.05maejrepi2c works, so either its working with a gimp clock, or the clock is already setup correctly
07:22.13cr2tmzt: is it inside the clock api ?
07:22.22tmztwell you appear to be having timing errors
07:22.38tmztdrivers/i2c/busses/i2c-msm.c
07:23.31tmztclk = clk_get(&pdev->dev, "i2c_clk);
07:23.36cr2maejrep: still something to think about. it's easy to existing clock api
07:23.42tmztthen dev->clk = clk;
07:24.41cr2we will need the same for mddi and mdp soon
07:24.46tmztclk_enable and clk_disable
07:25.10tmztthat's all it appears to do with it, so theres a CKEN on the a9 but it's configued in the i2c block of a11?
07:25.55cr2kiozen: have you seen my comment on n560 ?
07:26.14tmztwho had the list of clock registers, a0,a4,b0,b4,etc.
07:26.15tmzt?
07:26.16cr2tmzt: it's all arm11 for us
07:26.49cr2i guess they are shared between arm9 and 11
07:27.10tmztcan we trace clock writes on haret or is this all going to be spl?
07:27.13tmzts/be/be in/
07:27.28cr2we can
07:27.33tmztis it disabled when keyboard is closed?
07:27.49cr2but it's already all documented
07:29.13cr2to operate i2c you need to enable the clock (with the right speed) and setup the alt gpios 3c and 3d (afair)
07:29.16maejrepkeyboard is not the only thing on i2c
07:29.57cr2camera(s),psoc too
07:30.10cr2what else ?
07:30.21maejrepnavi
07:30.41cr2psoc
07:31.10cr2accelerometer
07:31.26cr2is an i2c device too
07:32.53cr2g1 relies in certain parts on the oemsbl setup too
07:33.04cr2which is bad
07:34.26tmztcr2: what is streq?
07:34.46tmztI mean what does it test
07:35.09tmzt003.501 7803d940: streq  r2, [r5]       # b2300000 =00000200
07:37.25swetland_it stores IFF the Z flag is set
07:37.50tmzthey, working on keyboard driver with i2c to an atmel
07:37.55tmztmaejrep is writing it
07:38.32tmztthe clock has to be enabled with the clk api even though it's configured in the i2c block?
07:39.51tmzt01:56 < creamdog> hmm, https://dl-ssl.google.com/android/eclipse/ seems  to be down
07:39.53maejrepcr2: [   38.042424]    <<< 0xce, 0x12 -> 06 85
07:40.04maejrepis that the kind of response you would expect for the version?
07:40.06tmztthis has been the case for a least a week off and on it appears
07:40.32tmztsorry, should have been in #android
07:41.08maejreptmzt: with the debugging output it appears to be working correctly :/
07:41.25maejrep[   47.982376]    <<< 0xce, 0x10 -> 25 00
07:41.25maejrep[   47.987686]  :::   Scancode = 25; currently pressed: 1
07:41.25maejrep[   47.991033]        Input keycode = 47
07:41.26maejrep[   48.802468]    <<< 0xce, 0x10 -> a5 00
07:41.26*** join/#htc-linux Untouchab1e (n=Untoucha@82.147.51.146)
07:41.26maejrep[   48.810820]  :::   Scancode = 25; currently pressed: 0
07:41.26maejrep[   48.815642]        Input keycode = 47
07:41.33Untouchab1eGood morning :)
07:41.46*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
07:41.51cr2tmzt: we need to implement the lowlevel clock api. it's already done (more or less) for SD
07:41.59tmztswetland: the clock has to be enabled with the clk api even though it's configured in the i2c block?
07:42.44cr2maejrep: ok, i'll check how to decode the device id response
07:43.33cr2maejrep: can you create the stub psoc driver too ? and pick the dev id too ? (wiki)
07:43.45swetlandtmzt: I believe so
07:43.59cr2tmzt: clk api is only a software layer
07:45.14cr2tmzt: somebody needs to write into the lowlevel regs. g1 code does it in both ways: directly and through proc_comm
07:46.17swetlandI think the only time we hit the clock block directly is for the gptimer/pwm
07:46.54swetlandthough that's dead code for EVT devices
07:47.25tmztEVT?
07:47.37tmztsome manufacturing thing
07:47.48tmzt?
07:48.18tmzthave tried to follow the openmoko discussions but it didn't come immediately to mind
07:48.33cr2swetland: you have the pmic voltage setting api, but never use it on g1 ?
07:48.50swetlandEVT = engineering verification (first hw dev phase),  DVT = design verification (phase 2),  PVT = production verification (last phase)
07:48.55swetlandsdio driver uses it, no?
07:48.57tmztcr2: that sleep function you found used on wm, is that something else missing on g1?
07:49.43cr2tmzt: it's all in the undocumented cpu part
07:49.54swetlandthere were several hw revs in EVT and DVT, and there is still some code in the tree that deals with those older revisions
07:50.06tmztthe keyboard driver it seems
07:50.23tmztare all the keymaps at kernel level?
07:51.14swetlandwell yes and no
07:51.43maejreptmzt: I was able to login :)
07:51.47swetlandthere's a kernel keymap in the board file that maps row/col to linux keycode
07:52.01cr2swetland: the backlight is controlled through an external chip on raphael/diamond anyway.
07:52.19swetlandand on dream
07:52.56swetlandin earlier revs the bl controller was pwm based. in later revs it's step based (pulsing the control pin steps it through different states)
07:53.38swetlandbecause the pwm based controller needed clock frequencies higher than 32KHz to handle full range, so we couldn't power collapse + tcxo shutdown with the lcd on
07:53.53cr2ok
07:54.38cr2going to work now.
07:55.44tmztmaejrep: do you get similar success with udelay's?
07:56.02maejrepI already have mdelay()s in it
07:56.26tmztare you using i2c_transfer?
07:56.32maejrepyes
07:56.54tmztit would seem then the only delays that matter are in msm-i2c, if you are doing bulk read/writes
07:58.16maejrepbut the error happens during write
07:58.31maejrepwhich is the first step :|
07:59.07maejrepat least I think its on write
07:59.16maejrepI'll try i2c_master_send and recv
08:00.09maejrepoh right, that's why I wasn't using i2c_master_send/recv:  i'd have to switch between ce and cc, and i2c_master_* use the client->addr
08:01.01tmztwhy do you need both addresses?
08:01.14tmztI'm looking at the dump and see both address but I wonder why
08:03.31maejrepcc,50,1 is how you reset the irq
08:03.34maejrepso that's definitely required
08:03.41tmztah, right
08:03.42maejrepthe others are just setting backlights afaik
08:03.45maejrepanyway
08:04.01maejrepI just split up the i2c_transfer calls into 2 i2c_msg's, and put a 30ms delay between
08:04.04tmztdo you reset the irq immediately after receiving it?
08:04.04maejrepand it works now ;x
08:04.18tmztwithout debug?
08:04.34maejrepsome debugging, but very minimal
08:05.15maejrephttp://www.privatepaste.com/b91HO3sJiX
08:06.08maejrepchanged this:  r = i2c_transfer(client->adapter, msgs, 2);
08:06.19maejrepinto this:  r = i2c_transfer(client->adapter, msgs, 1);  mdelay(30);  r = i2c_transfer(client->adapter, msgs+1, 1);
08:06.24tmztwhat I'm asking is why you have to write to 50 multiple times in the isr
08:06.42maejrepjust one would suffice i'm sure
08:06.49maejrepI added the other one to see if it would help
08:06.54tmztwhat is 50 00 and 50 01
08:09.33maejrep:D
08:09.51tmztwell, I know you said enabled/disable the interrupt or something
08:09.53maejrep50,00 turns off notifications (stops the irq essentially, without disabling the irq)
08:10.03maejrepand 50,01 requests notifications
08:10.27tmztso you send 50 00 at the beginning of your irs and 50 01 at the end?
08:10.33tmzt/s/irs/isr/
08:10.50maejrepyes, but it doesn't matter -- i've removed the 50,00 and it still works
08:10.53tmzt/\\//
08:11.14maejrepso in its current state, its usable :D
08:11.35tmzts'\\'/'
08:11.41maejrephah even CTRL+C works
08:12.49tmztok, notifications are turned off by the chip after the first interrupt, which is why you didn't receive subsequent ones before?
08:13.00maejrepright
08:13.17maejrepso the 50,01 just resets the gpio27 line to high
08:13.22tmztand you have raph800 right, but this will probably work on raph100/500?
08:13.28tmztand maybe x1
08:13.52tmztdoes the level really change?
08:14.17maejrepthe gpio?  yes
08:14.33maejrepI was dumping the IN reg, and before it was always low after the first interrupt
08:14.49tmztand it went hight after 50,01?
08:14.51maejrepnow with the 50,1 in there, the IN reg goes high after that
08:15.06tmzts!hight!high!
08:15.30tmztok
08:15.50maejrepas for raph*, yes it should work, except the keymap will need to change
08:15.56maejrepwe already know raph110 is different
08:16.08tmztand you have the version check?
08:16.35maejrepit displays the version currently, doesn't check it yet
08:16.42*** join/#htc-linux Untouchab1e (n=Untoucha@82.147.51.146)
08:16.48maejrepgonna wait on cr2 to confirm that "6.85" is accurate
08:16.56maejrepor 8506
08:18.04maejrepi'll do some more cleanup tomorrow and have a patch ready
08:18.08*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
08:18.08maejrepneed sleep now
08:18.48maejrepwill also need to build it out for things like making shift and ctrl sticky
08:20.19tmztthat should be an input method in the window manager, not kernel I think
08:20.33tmztI wonder if there is a generic led ioctl for shift as well as caps
08:20.55maejrepwell, shift works if you hold it
08:21.13maejrepi guess accessibility controls to enable sticky keys would do fine ;p
08:21.25maejrephttp://www.privatepaste.com/91Cvq1Q6lh - current keymap for raph800
08:21.46tmztI would like to see something like this for evdev driver in the Xinput2 code
08:22.00tmztlike tslib is moving to, I need a d-pad mouse driver
08:22.26tmztif this kind of translation can be done in X and made generic
08:23.17*** join/#htc-linux _workkaze (n=kaze@ABordeaux-152-1-74-161.w86-196.abo.wanadoo.fr)
08:27.27*** join/#htc-linux Othello (i=Othello@gateway/tor/x-2a75a2781f01342d)
08:44.25*** join/#htc-linux daspsycho_work (n=TimJorda@213.155.79.202)
08:45.58*** join/#htc-linux kimhoon (n=kimhoon@s559116c1.adsl.wanadoo.nl)
09:06.03*** join/#htc-linux apt (i=ibot@rikers.org)
09:06.03*** topic/#htc-linux is HTC Linux Channel: Find logs at http://apt.rikers.org/%23htc-linux/ | please check http://handhelds.org/moin/moin.cgi/HTC_2dPhones | http://wiki.xda-developers.com/index.php?pagename=Xanadux | <cr2> let's define a common setup.
09:09.33*** join/#htc-linux radem205 (n=aaa@92-108-47-154.dynamic.upc.nl)
09:11.02*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
09:12.44*** join/#htc-linux nebi (n=nebi@170.ftth2.cust.fyrobs1.upps.se.borderlight.net)
09:31.22*** join/#htc-linux Rubberducky (n=Rubberdu@83.101.31.21)
09:31.42Rubberduckyhello
09:31.46Rubberduckyi've got a questuin
09:31.47Rubberduckyanyone here?
09:33.39tmztyeah, hi again
09:33.57Rubberduckyi now found out that packet injection with the acx100 is supported out of the box
09:34.01Rubberduckywith kernel version 2.6.24
09:34.10Rubberduckybut the hh one is 2.6.21
09:34.19Rubberduckyhow do i get 2.6.24 on my blueangel?
09:34.40tmztnot yet
09:34.44tmzthow is acx driver?
09:34.49Rubberduckydoesn't work..
09:35.03Rubberduckywhen i patch the HH acx drivers with the patch
09:35.04tmztyou can upgrade your mac80211 from a 2.6.24 MAYBE
09:35.13Rubberduckywhat?
09:35.22NetRippermaejrep, nice work :)
09:35.48Rubberducky?
09:35.55tmztcopy net/wireless/mac80211 from 2.6.24 into 2.6.21 but there is no gurantee this will work
09:36.35Rubberduckyand why is it so hard to have kernel version 2.6.24 on my BA?
09:36.44tmztdoes it have asic3?
09:37.04Rubberduckyand if i copied over the header files and the lib files to my phone, can i compile the acx patched ones on my phone?
09:37.07Rubberduckywhat is asic3?
09:38.00*** join/#htc-linux timebomb (n=tb@p5B3E6417.dip.t-dialin.net)
09:38.19Rubberducky?
09:39.08Rubberduckyhttp://www.handhelds.org/moin/moin.cgi/BlueAngel it says SD-MMC  (./)  There is no ASIC3 SDIO host support in the kernel
09:39.12Rubberduckyis that of any use?
09:40.43tmztif you want SD card at all
09:41.07Rubberduckyno i don't
09:41.10tmztit means we can't move to a newer kernel until that's fixed, there is a lot of focus on the msm devices right now
09:41.33tmztthen you need to port the board from hh kernel to 2.6.27+
09:41.44Rubberduckyhow?
09:41.45tmztuse magician.c in there as a guide
09:42.10Rubberduckywhere is magician c?
09:42.30Rubberduckywhat is magician.c
09:42.33tmztarch/arm/mach-pxa/
09:42.49Rubberduckyi've got no idea what you're talking about.. sorry
09:43.14tmztI would try copying the wireless stack first or using ieee80211-compat
09:43.23tmztok, look in arch/arm/mach-pxa in 2.6.21-hh20
09:43.28Rubberduckyand what is the most simple?
09:43.36Rubberduckytrying to get patched drivers on 2.6.21
09:43.37tmztyou should see a directory called htcblueangel
09:43.45Rubberduckyor getting a newer kernel on my phone?
09:47.11Rubberducky?
09:49.16Rubberduckywhen i make zImage i get these errors:
09:50.03Rubberduckypastebin.com/m274cdaab
09:51.56Rubberduckyfixable?
09:54.10Rubberducky???
09:55.10*** part/#htc-linux daspsycho_work (n=TimJorda@213.155.79.202)
09:56.59Rubberduckytmzt?
09:59.29tmztyeah, don't build _MEM and _CS at least
09:59.37tmztI don't know how you got this driver
10:00.19Rubberduckythat is the included driverin the kernel tree
10:00.21Rubberduckyin the acx folder
10:00.29Rubberduckyi just copied and applied the injection patch
10:00.58tmztyou have more than one version it appears, #acx100 is probably the place to ask about this but there is not often anyone there
10:01.20tmztalso, what patch? it appears to be creating files that were combined before, the mem and cs drivers at least
10:01.45Rubberduckyon the aircrack-ng acx100 page
10:02.01Rubberduckycan i manually edit the drivers for injection?
10:02.03Rubberduckyor is that too hard?
10:02.07Rubberduckyor impossible
10:02.08tmztvery hard
10:02.27tmztacx is a hard problem
10:03.33Rubberduckydamn
10:03.40Rubberduckyand the problem is the patch then?
10:03.44tmztthe modern acx driver is mac80211, which needs a newer kernel
10:03.49tmzturl?
10:05.21Rubberduckyhttp://www.aircrack-ng.org/doku.php?id=acx
10:05.28Rubberduckyi'm folowing the Driver installation thing
10:07.56tmztare you using both patches in order?
10:10.32Rubberduckyhttp://patches.aircrack-ng.org/acx-20070101.patch
10:10.39Rubberduckyonly that patch
10:10.47Rubberduckywhat the 2nd one?
10:10.56tmzthttp://acx100.sourceforge.net/wiki/Patch_2.6.22
10:10.59tmztin your page
10:11.16tmztstart over with the wget step
10:11.26tmztdon't use uname it won't work for cross-compiling
10:11.33lupine_85desires maejrep's code :D
10:11.39tmztapply both patches
10:11.43tmztin order
10:11.48tmztlupine_85: tommorow
10:11.55lupine_85yepyep :)
10:12.10tmzthow is raw ts?
10:12.11Rubberduckyi don't make the driver
10:12.15Rubberduckyi just patch it
10:12.16lupine_85you guys all be awesome :D
10:12.38Rubberduckythere is only 1 patch..
10:12.38tmztand copy it to the tree?
10:12.42Rubberduckyyes
10:12.48Rubberduckyi patch, copy to the tree
10:12.52tmztthere are two patches, the first is to make the driver work on 2.6.21
10:12.54Rubberduckyand then make make modules
10:12.57lupine_85raw ts = ts2? NetRipper's still WIPping it I think
10:12.58tmztread the page you linked
10:12.58Rubberduckyand make modules isntall
10:13.21tmztjust ... make modules
10:13.26Rubberduckyok
10:13.29lupine_85tmzt: angstrom
10:13.35lupine_85+ illume is beautiful
10:13.37Rubberduckyso i patch the HH drivers
10:13.40Rubberduckycopy to kernel tree
10:13.42Rubberduckymake modoles
10:13.44Rubberduckymodules
10:13.54Rubberduckyso i ever change the zImage file
10:13.59Rubberduckymake modules
10:14.01tmztthe keyboard crashing is weird
10:14.21Rubberduckycorrect?
10:14.40tmztare you sourcing the Kconfig?
10:14.49tmztdo you see the other patch now?
10:16.56Rubberduckywhat is sourcing kconifg?
10:17.00Rubberduckyyes i found the other patch
10:17.07Rubberduckyso first i patch for kernel 2.6.21
10:17.11Rubberduckyand then for injection
10:17.14tmztin net/wireless/Kconfig you source acx100/Kconfig
10:17.17Rubberduckythen copy to kernel tree
10:17.22tmztright
10:17.26Rubberduckywhat is 'sourcing'
10:17.36tmztread the file
10:17.39tmztyou'll see
10:18.07Rubberduckydrivers/net?
10:18.09tmztalso, htcblueangel will probably have some init code for the acx driver that won't work with yours, if it's the mem driver
10:18.16tmztdrivers/net/wireless
10:18.24Rubberduckydoes that mean it won't work?
10:18.34tmztfor now, but get it to compile
10:19.28Rubberduckyand i copy to /drivers/net/wireless/acx in kernel treE?
10:19.33tmztI could be wrong here, it might pick up the pdata/resources
10:19.36tmztyes
10:19.47tmztthen add source acx/Kconfig to drivers/net/wireless/Kconfig
10:19.51tmztsame as the other lines
10:21.43Rubberduckythere is a line source "drivers/net.../acx/Kconfig"
10:21.45Rubberduckyis that ok?
10:21.47Rubberduckyit's already there
10:21.50tmztyes
10:22.08tmztlupine_85: is the SW_ for keyboard slide implemented anywhere?
10:22.46tmztlupine_85: there should be a driver in drivers/input that can handle it, I would still like to know what broke e17
10:22.54tmztlupine_85: could it be vkeyb switch??
10:23.31tmztRubberducky: try building and paste the errors if any again
10:23.38Rubberduckyok
10:23.48tmztRubberducky: I will look then I need to go, you can paste other stuff to me later if you want to
10:24.09Rubberduckyok
10:24.13Rubberduckythanks anyway:D
10:25.00Rubberduckymake modules_install?
10:25.04tmztmake modules
10:25.11Rubberduckyno install?
10:25.14tmztno
10:25.15Rubberduckyand after that?
10:25.19Rubberduckywhat do i copy where?
10:25.31tmztnothing, just get the output
10:26.46Rubberduckyit worked:-)
10:26.47Rubberduckyand now?
10:26.57tmztmake modules_install make zImage copy to device
10:27.13tmztcopy /lib/modules/... to device /lib/modules
10:27.25tmztexcept you say you are not using sd, then you make a new initramfs
10:27.34Rubberduckyi use sd
10:27.41Rubberduckyi don't use sd
10:27.42Rubberduckywhen
10:27.45Rubberduckymy system is booted
10:27.48Rubberduckyas an as car
10:27.50Rubberduckyd
10:27.55Rubberduckybut my phone boot's the OS from sd
10:27.55tmztor, copy acx_*.ko
10:28.05tmztwhat is the last few lines of output anyway?
10:28.25Rubberduckybuilding modules, stage 2
10:28.30RubberduckyMODPOST 119 modules
10:28.36Rubberduckythat's the last one
10:28.37tmztit did work, great
10:28.44tmztwill be back later
10:28.53Rubberduckyand i copy liub modules from my kernel26 dir?
10:29.32Rubberduckydamn make zimage gives same error again...
10:30.50Rubberduckyi applied both patches
10:31.06Rubberduckymake modules worked perfectly
10:31.20Rubberduckymake zimage gives the errors again (see pastebin)
10:32.16*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
10:34.24*** join/#htc-linux Untouchab1e (n=Untoucha@82.147.51.146)
10:35.34Untouchab1eAnyone with a Diamond here?
10:37.02Untouchab1eI just need someone to verify that this: http://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=viewcategory&catid=5 Android build works
10:37.29Rubberducky?
10:38.01Untouchab1eWhat dont you understad?
10:38.06Untouchab1eunderstand*
10:38.50Rubberducky:p
10:38.54Rubberduckyno touch diamons
10:39.28Untouchab1eIf you dont have a Diamond, you cant help me :)
10:46.18*** join/#htc-linux kimhoon (n=kimhoon@s559116c1.adsl.wanadoo.nl)
10:46.30kimhooni've got a diamond
10:47.10Untouchab1eif you want to test, just let me know if it works :)
10:47.38kimhooncan you sent the link one more time :P
10:48.05Untouchab1ehttp://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=viewcategory&catid=5
10:48.13kimhoonthanks
11:12.14*** join/#htc-linux daspsycho_work (n=TimJorda@213.155.79.202)
11:18.40Rubberduckytzmt?
11:19.53Untouchab1ebrb
11:45.35lupine_85tmzt: dunno what E17 is doing. I shall investigate further tonight, possibly
11:46.07lupine_85I reckon I've found my mobile DE of choice, so I'd best fix it! :D
11:54.58lupine_85(mind you, not a huge lot of point looking into it in detail until I get my grubby hands on msm_ts2 and the keyboard driver ;) )
12:22.12*** join/#htc-linux metter (n=metter@243-38.0-85.cust.bluewin.ch)
12:23.52*** join/#htc-linux techie (n=blarg@ip24-250-216-85.ga.at.cox.net)
12:45.09*** join/#htc-linux dcordes (n=zsirc@ip-77-25-15-55.web.vodafone.de)
12:45.53dcordeslupine_85 glad to hear fso-image work well now
12:46.09dcordescab you make calls?
12:46.19dcordess/cab/can/
12:46.42lupine_85dcordes: dunno
12:46.51lupine_85I haven't done much with it yet
12:46.51dcordescan you try?
12:47.02lupine_85don't have a phone app installed AFAIK
12:47.17dcordesfso-image should have one
12:47.19lupine_85I'm happy to have a go with the AT modem(?) if you're willing to work me through it
12:47.27lupine_85I'm in fso-illume-image
12:47.32dcordesof course
12:47.39lupine_85which includes fso-image
12:47.45lupine_85what would it be called?
12:47.49dcordesdid you install frameworkd-devel ?
12:48.01dcordesI don't know
12:49.09lupine_85It is indeed framework-devel
12:49.17dcordesnice
12:49.28*** join/#htc-linux mrincred (n=wmirc_us@68-26-167-83.pools.spcsdns.net)
12:49.38dcordesin /etc/frameworkd.conf set the modem to qualcomm_msm
12:50.00*** join/#htc-linux Untouchab1e (n=Untoucha@82.147.51.146)
12:51.32dcordesalso set loglevel to DEBUG, log to file and set a log_destination = path
12:52.44Untouchab1eHi dcordes
12:52.46Untouchab1ehows it going?
12:53.13dcordesUntouchab1e good, you?
12:55.52lupine_85dcordes: OK, done, and frameworkd restarted
12:56.00lupine_85is doing this on the vkeyb :/
12:56.13dcordesstart it with frameworkd -s ogsmd -d
12:56.29dcordeswhy not using usb console?
12:56.42lupine_85I'm at work right now :D
12:56.58lupine_85lunch break
12:59.21lupine_85ok, it's runing
12:59.58Untouchab1eAll good here, thought I should take care of making running the Android builds you guys release as easy to get and run as possible
13:00.18Untouchab1eso that you guys dont have to worry about all the people who just wants to try Android
13:00.46dcordessounds like a god idea
13:01.21dcordeslupine_85 check the log
13:02.55Untouchab1eSo how is the progress going? any news?
13:04.15*** join/#htc-linux FANTASY (n=catwoman@217.118.82.1)
13:04.48FANTASY.
13:05.02FANTASYХай ол
13:05.16lupine_85finds the log looong
13:05.27Untouchab1ehah
13:05.42lupine_85keeps going DEBUG no plugin: factory function not found in module ....
13:06.00*** part/#htc-linux FANTASY (n=catwoman@217.118.82.1)
13:06.13Untouchab1eWhat are you working on?
13:06.56lupine_85me, right now? Getting Angstrom more functional
13:07.11Untouchab1ecool
13:07.13Untouchab1eany luck? hehe
13:08.07lupine_85*shrug*
13:08.13lupine_85I has enlightenment on my phone
13:08.20lupine_85what more can I ask for? :D
13:09.09dcordesit's niceinnit
13:09.12lupine_85:)
13:09.22lupine_85I've never used it on the desktop
13:09.22dcordesyou should check the shr-image
13:09.32lupine_85what's in that?
13:09.36dcordesbut they keep the shr metadata sperately
13:09.52dcordesI tried e17 on the beagle
13:10.55dcordesshr.bearstech.com
13:11.25dcordesit's the illume stuff with a lot of patches, a new dialer etc etc
13:12.32dcordesthe dialer (openmoko-dialer3) introduces frameworkd-glib though which doesn't have frameworkd-devel support
13:12.57Rubberduckytmzt?
13:13.55lupine_85ah
13:14.10dcordeslupine_85 idk why you get the debug errr
13:14.34dcordesdon't know the framewrkd conf from thetop of my head
13:14.54lupine_85well, it's missing files, half of them
13:15.21dcordesdid it install frameworkd-evel-config ?
13:15.30lupine_85not sure about tht
13:16.12lupine_85is being spammed by brightness stuff - .Device.Display doesn't exist
13:16.30dcordesclear skies here too
13:16.31lupine_85I shall play more when I have an actual computer for using
13:16.50dcordesyea I only have the kais and tethered laptop
13:17.23lupine_85it'd be fine if I had the keyboard driver ;)
13:17.40lupine_85(and net of some kind, of course)
13:17.44dcordesmaejrep[w]
13:17.54lupine_85yepyep. tonight the baby gets revealed D:
13:17.56lupine_85erm, :D
13:18.13lupine_85returns to writing his calendar application
13:18.19dcordesyou're fast with the vkeyb!!1
13:18.37lupine_85practice :)
13:33.45*** join/#htc-linux ALoGeNoff (n=alogeno@135.Red-81-35-93.dynamicIP.rima-tde.net)
13:45.10*** join/#htc-linux radem205 (n=aaa@e144118.upc-e.chello.nl)
14:01.34*** join/#htc-linux liberostelios (n=liberost@79.107.37.132)
14:01.53liberostelioshi
14:05.04radem205How is it going with the smd code?
14:07.54liberosteliosi guess there's noone here... :P
14:08.06liberosteliosi am really interested in helping this project
14:08.36liberosteliosand i know a few things about linux and programming.
14:08.37dcordesliberostelios kaiser?
14:08.45liberosteliosno, diamond
14:09.10liberosteliosmy username in xda-developers is stadicon
14:09.16dcordesok
14:09.25liberosteliosbut i don't post a lot, anyway :)
14:09.28dcordesyou got cdma diam?
14:09.37DJWillisdcordes: do you have the Kaiser pinmux handy?
14:09.54radem205dcordes: do you know if dzo made progress with the smd code?
14:10.18liberosteliosdon't know exactly the variation
14:10.23liberosteliosit's a vodafone diamond
14:10.33liberosteliosbut i guess it's just the typical...
14:11.27liberosteliosthe only "strange" i noticed is that haret doesn't not recognise my phone as "diamond" but as a "generic MSM7xxxA" device
14:33.08lupine_85liberostelios: UK voda?
14:33.37liberostelioswell, i am from greece and i bought it here
14:33.45liberosteliosbut i guess it's the same with the UK version
14:33.46lupine_85ah, fair enough
14:33.51lupine_85(UK is GSM)
14:34.01lupine_85dunno about greece :D
14:34.19liberosteliosGSM here too ;)
14:34.28liberosteliosand 3G etc.
14:34.43liberosteliosi can give you some information about firmwares etc. if you want...
14:34.46lupine_85DIAM100 then, I guess?
14:35.05liberosteliosyes, should be.
14:35.16liberosteliosbecause i don't get the problem with the messed up colors.
14:35.39lupine_85has a RAPH100 of awesome
14:36.40liberosteliosis there anything i can work with?
14:36.48liberosteliosi mean, testing or programing...
14:37.05liberosteliosi know a few things about linux and setting up a distro.
14:37.49lupine_85it's mostly pick something that annoys you, and make it a bit shinier, I think
14:38.02lupine_85feel free to work on getting the wifi running ;)
14:40.16lupine_85or pick your distro of choice and find something that doesn't work and make it work
14:40.31lupine_85will be doing that with angstrom/illume, he thinks
14:41.11*** join/#htc-linux mrincred (n=wmirc_us@174-144-92-3.pools.spcsdns.net)
14:48.42NetRipperlupine_85, do you have that illume X image somewhere? i'm anxious to see the eye-candy you're talking about
14:48.46NetRipper;)
14:49.13lupine_85I can upload it
14:49.41NetRipperif you could? :)
14:50.47lupine_85fso-illume-image-htcraphael.tar.gz                                                                                                               2%  816KB 164.2KB/s   03:51 ETA
14:51.57lupine_85it's from home which is all with the ADSL :/
14:52.04dcordeslupine_85 did you retry frameworkd?
14:52.22lupine_85nope, I've been writing a calendar application
14:52.23lupine_85:p
14:53.26dcordesthe mokos are planning opimd module for frameworkd
14:56.01NetRipperdcordes, lupine_85, updated git with some patches (http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.25)
14:56.15dcordescant click
14:56.25NetRippercopy/paste then ;)
14:56.54NetRipperlupine_85, latest zImage (of that git) can be found here: http://www.netripper.com/raphael/zImage-git-20090115-00 if you have some spare time, please test and let me know if it all works accordingly
14:57.15NetRipper(especially your pressure patch)
14:58.02*** join/#htc-linux metter (n=metter@243-38.0-85.cust.bluewin.ch)
14:58.38*** join/#htc-linux Balsat (n=kll@87.72.13.87)
14:59.56*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
14:59.57*** join/#htc-linux addman3333 (n=azachars@nat/sun/x-f4f0c229a03dbc36)
15:10.19*** join/#htc-linux milfadoodle (n=milfadoo@78-69-144-82-no19.tbcn.telia.com)
15:18.27*** join/#htc-linux GPFerror (n=gpferror@cpe-76-187-41-132.tx.res.rr.com)
15:20.13tmztRubberducky: ping works in the channel too
15:20.15*** join/#htc-linux piusvelte (n=chatzill@nat.philau.edu)
15:20.34tmztRubberducky: I think you need =M on the .config lines, the driver shouldn't affect zImage at all
15:20.59tmztRubberducky: and you have to use modules from the new kernel, make modules_install, then copy them from /lib/modules/... on the pc
15:22.29tmzthttp://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.25
15:23.35*** join/#htc-linux metter (n=metter@243-38.0-85.cust.bluewin.ch)
15:27.13tmztlupine_85: I hope to make it work without touchscreen also, I like illume very much
15:27.48tmztlupine_85: it will probably be this and android for me, depending on how good non-android webkit gets
15:28.04tmztlupine_85: and some ideas from the palm device which I was already thinking about
15:28.30tmztlupine_85: it might even be possible to make the pim database compatible with android's for people who want both
15:28.48lupine_85well, illume isn't ts-dependent
15:28.53lupine_85not even close
15:29.56lupine_85you can always get a USB mouse ;)
15:30.07lupine_85(or bluetooth, I guess)
15:30.08tmztbluetooth probably
15:30.10tmztyes
15:30.12lupine_85:D
15:30.32tmztI don't have usb host unless the transceiver supports it somehow and no way to power it
15:31.02tmzthow exactly do you open the menu from keyboard?
15:31.03lupine_85needs to remember to turn the x cursor off
15:31.21lupine_85dunno. I'm sure it must be keymappable
15:32.06tmztI have to get framework working first though, and that requires decoding a networking protocol between the applications processor and the baseband processor
15:32.13tmztover usb
15:38.08*** join/#htc-linux MethoS (n=lem@host-091-097-244-151.ewe-ip-backbone.de)
15:38.41*** join/#htc-linux slim_ (n=slim1@41.235.155.209)
15:41.49tmztslim_: hey
15:42.02slim_hello tmzt
15:42.06slim_hello all
15:42.58tmztlogs are at irclog.iclem.net, bit slow right now
15:44.01slim_that's good , i try to read in links that in topic
15:44.38tmztthose are a bit behind, the one I pasted is real-time mostly
15:44.42NetRipperlupine_85, would be nice if we would have multiple pressure levels.. so that you can drag the cursor around and press harder to make a click ;)
15:45.43lupine_85NetRipper: $someone said that the touchscreen doesn't actually support that
15:46.08lupine_85apparently the hardware doesn't report pressure at all, we just simulate it
15:46.27lupine_85(by assuming that if the button is 'down', then there's pressure)
15:46.39lupine_85I don't know if that's actually true or not though
15:47.11lupine_8522:58 < cr2> i think it can't measure pressure
15:47.11lupine_8522:58 < cr2> unlike tsc2046
15:47.11lupine_8522:59 < cr2> the ts on raph is not really great.
15:47.18slim_tmzt:  my question was , if i can convert windows mobile into linux mobile, and it seem it work
15:47.57tmztyeah, there is a program for windows mobile (ce) called HaRET which can boot into a linux kernel and replace ce in ram
15:48.11tmztthen you need a kernel with support for the device and drivers for it
15:49.21slim_any recommendation for htc model that i can do this modification with it ?
15:49.32tmztlupine_85: you don't have access to the raw plates?
15:49.54tmztcurrent devices are msm7x00A
15:50.20tmztthat would include raphael(Touch Pro), diamond, blackstone(HD), xperia x1
15:50.27lupine_85tmzt: I don't even know what that means :D
15:50.34tmztwiki.xda-developers.com
15:50.46lupine_85also: http://www.lupine.me.uk/fso-illume-image-htcraphael.tar.gz
15:50.50lupine_85NetRipper: you wanted that?
15:51.03tmztlupine_85: look at a tsc driver, I'm trying to find a good explaination of resistive touchscreens
15:53.21*** part/#htc-linux addman3333 (n=azachars@nat/sun/x-f4f0c229a03dbc36)
15:55.51NetRipperlupine_85, im not sure if cr2 actually checked out the windows touch driver to check for pressure.. but "i think" is relative :)
15:56.08NetRipperlupine_85, thanks :)
15:56.51NetRipperlupine_85 used as initrd or do i mount it? and if initrd, do you have a patched haret.exe that allows loading large images?
15:57.16tmztoh, cr2 said it doesn't report pressure, for some reason I though he said it was a tsc* chip
15:57.19dcordesNetRipper wiki has
15:57.24tmztbut this is all on the microp/psoc
15:57.31tmztso we get what they report
15:57.31lupine_85NetRipper: it's just a rootfs
15:57.54lupine_85I have a partitioned SD card
15:58.21lupine_85It's 40-odd MB so, with a 64MB RAM size, I doubt it'd be wise to mount it in RAM
15:58.31lupine_85if partitioned, it doesn't need an initrd
15:59.08*** join/#htc-linux goxboxlive (n=goxboxli@185.84-48-126.nextgentel.com)
16:00.55NetRipperdcordes, wiki has what?
16:01.28NetRipperlupine_85 ahh ok, that's all i needed to know :)
16:01.30dcordesmax initrd size patched haret
16:01.43*** join/#htc-linux mrincred (n=wmirc_us@174-144-92-3.pools.spcsdns.net)
16:01.47NetRipperdcordes, ah, thanks :)
16:15.23*** join/#htc-linux mrincred (n=wmirc_us@174-144-92-3.pools.spcsdns.net)
16:16.12*** join/#htc-linux MethoS- (n=lem@host-091-096-212-148.ewe-ip-backbone.de)
16:25.42maejrep[w]NetRipper: have you had a chance to trace your scancodes on raph100?
16:32.13NetRippermaejrep[w], can you tell me how?
16:33.00NetRipperif you provide a patch i can just printk every key?
16:33.05NetRipperor is there an easier way
16:33.19maejrep[w]mmutrace 0xb2300000 and 0xb230000c
16:33.32maejrep[w]yeah, the patch would print the scancodes as well
16:33.41maejrep[w]but I don't have it at work right now :x
16:33.46NetRipperok
16:33.52NetRipperi'll check it out tonight
16:33.57NetRipper(in a few hours)
16:34.29maejrep[w]also i2cdump et al would allow you to see it as well
16:34.41NetRipperlet me know if you have a stable patch, im anxious to see it :)
16:34.48maejrep[w]but that needs to be compiled and moved (i can upload my binaries tonight)
16:34.51NetRipperi'll do the haret way
16:34.54*** join/#htc-linux mrincred (n=wmirc_us@174-144-92-3.pools.spcsdns.net)
16:35.03NetRipperif it's not too confusing ;p
16:35.07maejrep[w]and i2cdump also requires i2c-dev be compiled in
16:35.12maejrep[w]you've seen my i2c traces right?
16:35.17NetRipperno
16:35.47maejrep[w]where it shows something like "b2300000 =000001ce" ".. =00000010" ".. =000001cf" etc
16:36.09tmzt8817Tbah5Q at privatepaste.com
16:36.20maejrep[w]the line imediately after the "1cf" line, which should be the first "b230000c==000000xx" line, has the scancode
16:36.21NetRipperok
16:37.11maejrep[w]http://www.privatepaste.com/8817Tbah5Q
16:37.22maejrep[w]so in that example, the scancode is at line 20
16:37.46NetRipperok
16:37.49maejrep[w]and the release is 0x80 | <same scancode>, seen at line 67
16:38.33NetRipper0x8 for press 0x80 for release
16:38.41*** join/#htc-linux cr2 (n=konversa@crpl6.physik.uni-wuppertal.de)
16:38.45NetRipper0x88 i mean
16:38.48NetRipperi see
16:38.53maejrep[w]0x8 is the scancode.  first one is a press, second one is release
16:38.58maejrep[w]the second one is 0x8 | 0x80
16:39.05NetRipperok
16:39.13NetRipper0x80 is the flag for release?
16:39.26maejrep[w]yup
16:39.28NetRipperok
16:39.34maejrep[w](same as kevin2's spi driver btw...)
16:39.54NetRipperi'll look at it in a few hours
16:40.02NetRipperi've updated git with some patches btw
16:40.08maejrep[w]which makes me think that we might be able to a) get this to work in spi mode .. i'm pretty sure the chip datasheet says it can be put into spi mode, and b) use his htc-spi-kbd driver
16:40.22NetRippernot yet added CDMA.. will do that soon as well
16:40.35tmztthe datasheet is for the microcontroller, not the firmware?
16:40.51tmztand this is using the dedictated i2c controller and is multi-slave?
16:41.00NetRippermost important is that msm_proc_comm_wince() is back as a seperate method, instead of intermixing it with the original msm_proc_comm
16:41.19NetRipperi gtg home now, bbl
16:41.42maejrep[w]yeah, cdma needs a different sd slot sense gpio, a different keyboard slider gpio, and a different default sdc id
16:41.50maejrep[w]also needs the rgb444 patch in msm_fb :P
16:41.57tmztdcordes: do you think that fso image would work on g1 (except X)?
16:41.59maejrep[w]tmzt: could be, I don't know much about that
16:42.17cr2maejrep[w]: i've looked at the psoc/microp ident part
16:42.46*** join/#htc-linux techie (n=blarg@ip24-250-216-85.ga.at.cox.net)
16:42.51cr2maejrep[w]: there are a lot of combinations, as always
16:42.56NetRippercr2, http://www.netripper.com/raphael/msm_ts2.c that's the driver i made so far.. take note of the TO_BE_REMOVED for an even cleaner implementation, but it's required for debugging and to make it compile
16:43.07NetRippercr2, if you have any hints on getting the irq to fire, let me know :)
16:43.13cr2can you read 0x12 & 0x20 blocks from i2c ?
16:43.19NetRippergtg!
16:43.28maejrep[w]cr2: so 8506 is not constant?
16:43.35maejrep[w]i can't right now cr2, at [w] :p
16:43.46cr2NetRipper: ok, i have some suggestion whatc to change in your driver
16:44.24cr2maejrep[w]: i'm also at [w]. you will need such capability for many things
16:44.28tmztcr2: can we read the raw plates?
16:44.50cr2maejrep[w]: the raph100 id is completely different algorithm
16:45.05cr2tmzt: only x/y
16:46.03cr2maejrep[w]: do you have a link to the proc_comm_wince source ?
16:46.22*** join/#htc-linux konsta (n=asds@host81-154-247-76.range81-154.btcentralplus.com)
16:46.34*** join/#htc-linux metter (n=metter@243-38.0-85.cust.bluewin.ch)
16:46.54cr2maejrep[w]: the raph800 voltages, and lcd init is very different. i'll try to write the docs, but then you'll need to write the code
16:48.27maejrep[w]ok
16:49.05cr2i have split the 100,800 and 500 gpio docs
16:49.27cr2please add the 800 pins that you know into wiki
16:49.53cr2dcordes: are you here ?
16:50.17maejrep[w]cool, ok
16:50.21*** join/#htc-linux tsdogs (n=tsdogs@net70-17.metalit.net)
16:50.27maejrep[w]I'd already done that for what I know for sure is different
16:50.41maejrep[w](sd sense, keyboard slider, and sdc3 pins)
16:50.56cr2ok, but i'll need the alt reg settings too.
16:51.08maejrep[w]how do I get that? :|
16:51.12cr2i guess you can't fill them.
16:51.28cr2the alt=3 for irq is not right
16:51.38cr2so the lower bits can't be for the alt function
16:52.00maejrep[w]that's going over my head :)
16:52.12cr2maybe swetland will tell us :)
16:52.23cr2ok, i'll do it myself
16:52.31tmzt12:32 < NetRipper> most important is that msm_proc_comm_wince() is back  as a seperate method, instead of intermixing it with  the original msm_proc_comm
16:52.41tmztnot maejrep*
16:52.52cr2actually we don't need to split the alt reg setting into parts
16:52.57tmztNetRipper apparently commited that
16:53.14cr2but it's a nice to have, to be compatible with g1
16:53.47cr2maejrep[w]: the proc_comm_wince implementation may be a bit wrong
16:53.48maejrep[w]What do you mean by alt reg setting?
16:54.11tmztcr2: have you dumped the whole TSSC?
16:54.23cr2maejrep[w]: gpio config values pull+altfunc+drvstr
16:54.35cr2tmzt: dumped ?
16:54.38maejrep[w]do we know where that can be found cr2 ?
16:54.43maejrep[w]ie, via dump
16:54.47tmztand can you explain those, been trying to figure out for a day
16:55.05tmztI mean with haret, dumped the whole tssc memory range
16:55.35cr2maejrep[w]: we know the pull+altfunc+drvstr value, but not the single components
16:55.45cr2maejrep[w]: don't mind, i'll fill the values
16:56.06cr2tmzt: it's not necessary
16:56.20tmztI mean for pressure, but we can use 0/1
16:56.25cr2tmzt: the driver should be amended to support the tssc init
16:56.40*** part/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
16:56.47cr2tmzt: the rest is some msm irqsetup problem
16:57.07tmztdo you know why the delay is needed in atmelkbd?
16:57.28cr2tmzt: there is no pressure measuremnt in the wince driver
16:57.28tmztthis is because of the slow microcontroller or a missing clock
16:57.46cr2tmzt: there are many delays in the wince driver too
16:58.01tmztmdelay(30)?
16:58.15cr2the clock is not not missing
16:58.32cr2but we should add the clock api interface for all known msm clocks
16:58.42tmztwell ok, but is it only set by wm before booting?
16:58.50cr2tmzt: the delay is a minor problem
16:58.59tmztsure
16:59.18cr2no. we can control all the known (documented in the wiki) clocks
16:59.23tmztwe get the real press/releases now, maejrep* said the ctrl+key worked
16:59.26tmzt?
16:59.38tmztckens also?
16:59.40cr2ctrl ?
16:59.57tmztcontrol key, ctrl-c, etc.
17:00.17cr2check the raphaelmemorymap page for MSM_CLK part
17:00.21cr2ok
17:00.22maejrep[w]yeah the driver works as expected currently
17:00.29maejrep[w]shift, caps, ctrl, etc also
17:00.46cr2good.
17:00.52tmztso you get real press/releases, I thought you said you didn't before
17:00.56cr2time to implement the backlight then
17:01.24cr2i have not booted linux on raph for a long time
17:01.41cr2becaouse of many burhing issues.
17:02.12cr2bbl
17:20.00*** join/#htc-linux mrincred (n=wmirc_us@174-144-92-3.pools.spcsdns.net)
17:27.29maejrep[w]hmm, delays in the wince driver?
17:27.37maejrep[w]strange that haret doesn't always show that delay
17:29.15*** join/#htc-linux Rogro82 (n=rogro82@s5591104d.adsl.wanadoo.nl)
17:30.16*** join/#htc-linux imfloflo (n=imfloflo@cap31-6-88-180-73-121.fbx.proxad.net)
17:46.33*** join/#htc-linux Armand (n=Armand@SantaYnez-11-116.resnet.ucsb.edu)
17:53.44*** join/#htc-linux joey_973 (n=IceChat7@ip55-83-208-87.adsl2.static.versatel.nl)
18:01.26*** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde)
18:17.08*** join/#htc-linux pichurri (n=pichurri@194.230.146.185)
18:24.59*** join/#htc-linux techie (n=blarg@ip24-250-216-85.ga.at.cox.net)
18:26.36*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87c0e3.pool.einsundeins.de)
18:30.16*** join/#htc-linux TrinityAlive (n=TrinityA@218.153.81-79.rev.gaoland.net)
18:31.34*** join/#htc-linux Balsat (n=kll@87.72.13.87)
18:31.34*** join/#htc-linux lpotter (n=ljp@58.173.176.153)
18:38.01*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
18:39.46*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
18:46.58dcordeslupine_85: can you make a tgz of one of your angstrom images which have configured and working raphael TS in X?
18:47.22dcordesalternatively paste ts relevant config/patching
18:48.06tmztdcordes: I think the ts2 was just pasted, there is a define to disable of code to be removed
18:48.51tmzthttp://www.netripper.com/raphael/msm_ts2.c
18:49.05tmztthis should work with tslib with the old instructions
18:50.14dcordesi.e. angstrom works ootb with that ts?
18:50.21NetRipperno no no
18:50.28NetRipperit's test code
18:50.31dcordess/angstrom/tslib/
18:50.44NetRipperand the tslib (pressure) patch has been committed in git now
18:51.09dcordesso git ts just works ootb tslib?
18:51.23NetRipperit should yes
18:51.29NetRipperuntested for now
18:51.34NetRipperhttp://www.netripper.com/raphael/zImage-git-20090115-00
18:51.36NetRipperis the binary
18:52.11dcordesain't got no raph
18:53.53tmztdcordes: yeah, what are you looking for then (and I should think sometimes)
18:54.38*** join/#htc-linux famast (n=amast@host-208-68-238-61.biznesshosting.net)
18:55.58*** join/#htc-linux mmarker (n=crichton@m3a5a36d0.tmodns.net)
18:56.41dcordestmzt: lost track about the raphael ts sitatuion. was wondering if we have a solution that works with tslib
18:57.28tmztdcordes: what we fixed where the driver flags like before, tslib works
18:57.55tmztdcordes: on kaiser, you should be able to use the android ts or raw tsc2007? with tslib
18:58.32tmztNetRipper: by testing you mean the driver not tslib right?
18:59.39NetRipperyes
18:59.40NetRipperthe driver
18:59.56tmztwho had a function driver for rndis/usbnet?
19:00.03tmztmaejrep[w]?
19:00.06NetRippergit does
19:00.11NetRipperandroid
19:00.17tmztltg?
19:00.22NetRipperltg?
19:00.27tmztlinuxtogo.org
19:00.28dcordeslinuxtogo
19:00.28NetRipperja
19:00.29NetRipperyes
19:00.31NetRipperi meant
19:00.38tmztwhich branch?
19:00.43NetRipperany
19:00.45NetRipperwell
19:00.47NetRippersec
19:00.54NetRipperraph one
19:01.01tmzthtc-msm?
19:01.04NetRipperyes
19:01.07NetRipperhtc-msm-2.6.25
19:01.14NetRippergit.android.com will have it too
19:01.18NetRippermaybe its more up to date
19:01.34tmztit will?
19:01.48tmztI thought someone here fixed it
19:01.54NetRipperhttp://android.git.kernel.org/?p=kernel/msm.git;a=tree;f=drivers/usb/function;h=24bfc0a4d349e860db6e5ddf3d16890f7d90e12b;hb=HEAD
19:01.58NetRipperoh
19:02.00NetRipperyes
19:02.07NetRipperbut it was just given different id's
19:02.19NetRipperi'll find the commit
19:04.21dcordesDJWillis: ping
19:04.33tmztltg's down?
19:05.56NetRipperit seems to
19:10.30*** join/#htc-linux cworth (n=cworth@olra.theworths.org)
19:13.54NetRippercr2, tell me your suggestions :)
19:15.39*** join/#htc-linux exco (n=exco@e181093134.adsl.alicedsl.de)
19:16.53tmztcworth: hey, logs at irclog.iclem.net
19:20.47*** join/#htc-linux AstainZZZZZZ (n=AstainHe@unaffiliated/astainhellbring)
19:21.31AstainZZZZZZhello
19:21.43tmzthi
19:21.55tmztyou have raph right?
19:22.20AstainHellbringyes
19:22.25AstainHellbringraph100 and raph800
19:23.27tmztmaejrep[w] has a working keyboard driver tested on 800, source is coming
19:23.50tmztshould work on 100 but needs to check the version information
19:23.57AstainHellbringnice!
19:24.17tmztcoming as in when cleaned up
19:25.16AstainHellbringthats awesome news
19:26.42maejrep[w]the driver should work, but what's going to be different is keymap
19:27.06AstainHellbringwhy different maejrep?
19:27.22maejrep[w]AstainHellbring: if you have time to go through collecting scancodes in haret, and updating the wiki, that'll make it easier to make the different keymaps
19:27.33maejrep[w]AstainHellbring: because the devices' keyboards are laid out differently? ;)
19:27.56AstainHellbringnope same layout
19:28.11tmzthow do you dump the version information?
19:28.21tmztfuze is the one that's different
19:28.35maejrep[w]are you sure the layout is the same?
19:28.38AstainHellbringyah fuze is diff fuze is raph110
19:28.39maejrep[w]I thought raph800 was different
19:28.47maejrep[w]does raph100 have the numbers on top row?
19:29.00maejrep[w]tmzt: with i2cdump
19:29.14AstainHellbringmaejrep yes 100 has numbers on top row
19:29.48tmztmaejrep[w]: do we have keymap for fuze?
19:30.07AstainHellbringmaejrep its practically the same keyboard from 100 to 800
19:30.27AstainHellbringthe FN commands on it are even the same
19:31.03maejrep[w]tmzt: yeah its already on the wiki
19:31.09maejrep[w]AstainHellbring: ah ok
19:31.23maejrep[w]anyone know if 500 is different then?
19:31.55AstainHellbringyes 500 is VERY different
19:32.12AstainHellbringnasty bastardized machine
19:32.13tmztcould even be matrix?
19:33.31tmztwas it tekk or parmaster who has one?
19:34.03maejrep[w]AstainHellbring: if you want to spot check a few keys though and have time, you can do:  addlist mmutrace 0xb2300000  and addlist mmutrace 0xb230000c, ibit the irqs you don't want, then wirq and press a key
19:34.12*** join/#htc-linux cr2 (n=cr2@ip-77-24-47-184.web.vodafone.de)
19:34.15maejrep[w]will look like: http://www.privatepaste.com/8817Tbah5Q
19:35.00maejrep[w]lines 20 and 67 have the scancodes (67 shows it masked with the key-release bit of 0x80, but line 20 is the actual scancode)
19:36.34AstainHellbringok I can do that
19:38.26NetRippermaejrep[w], i added keymap for raph100 to wiki
19:38.57NetRipperdo you also need to know the fn variant of a key?
19:39.27NetRippercould add it with like (..) behind it
19:40.05AstainHellbringif we need someone to do the raph500 I got a guy that can
19:40.28*** join/#htc-linux NexVision (n=nunya@97.66.39.252)
19:41.01NetRipperwell
19:41.08NetRipperi just mmutrace 0xb230000c
19:41.13NetRippernot the other address
19:41.21NetRipperthen i do wirq 5 seconds
19:41.26NetRipperwhen i press a key
19:41.34NetRipperthe first line has the keypress
19:41.40NetRipperthe scancode
19:41.52NetRipperthen i restart wirq 5 for the next key ;)
19:46.26AstainHellbringmaejrep[w] based on that do you still need me to do scancodes?
19:47.02NexVision6850 just came in
19:47.39NexVisiongotta do receiving then i can test or play with whatever u need
19:48.13AstainHellbringpoints at NexVision he the guy with raph500...
19:48.31StarLitehows android on the raph series doing?
19:48.53StarLitekeyboard working I read
19:48.54StarLite?
19:50.24tmztwhich raph?
19:54.38pichurrij0b0, hey, you there?
19:58.31AstainHellbringmaejrep you built a zImage with the keyboard driver?
20:00.48NetRipperAstainHellbring, on wiki the raph100, 110 and 800 layouts are there.. raph500 still missing.. so i think it's still needed
20:00.51NetRipper:)
20:01.21StarLitewhich is the X1?
20:01.32AstainHellbringNetRipper can you walk NexVision through how to do the raph500 layout?
20:01.45tmztxperia, sony
20:02.11NetRipperAstainHellbring, sure
20:02.12StarLiteyeh, I know :P
20:02.13NetRipperNexVision, you here?
20:02.21StarLitebut which raph model is that?
20:02.29AstainHellbringStarLite x1 is not a raph
20:02.30tmztit's not
20:02.39StarLiteaha
20:02.41StarLiteok :)
20:02.54tmztbut it should be similar keyboard controller which is what I'm hoping to find with a haret trace
20:02.54j0b0hi pichurri yes i am
20:03.10StarLitewhat with all the diff raph layouts then? diff country layouts?
20:03.24StarLiteor provider versions?
20:03.29NetRipperStarLite, its per operator
20:03.39NetRippersome providers think some layouts are more handy
20:03.43StarLiteso branded versions then :)
20:04.09AstainHellbringStarLite the models are gsm raph(100) att gsm raph(fuze 110) US verizon CDMA raph(500) and US CDMA raph(800)
20:04.40pichurrij0b0, how are you? :)
20:05.22j0b0fine tyvm. just playing around. yourself?
20:05.45pichurrij0b0, :), good, thanx! so, I was playing with the writel on the htc_fb_console, and it changes stuff, any ideas on the data being pushed?
20:06.24pichurrij0b0, also I saw the code from 2.6.27 and it changes a bit, specially on how the memory addresses are feed to the function...
20:08.48pichurrij0b0, by the way, android 1.0 works on blackstone, as I think tmzt said from looking at the spl, mmc drivers worked!
20:08.50pichurri:)
20:09.03j0b0i think the code in htc_fb_console was borrowed from msm_fb or mddi
20:09.32NetRipperhtc_fb_console is the very minimum, without any initialization, to get a console..
20:09.56NetRipperdruidu made that.. he basically only took the mda update function from mddi
20:09.56pichurrij0b0, true, thats where it changed on 2.6.27...have you seen druidu? tried to send him an email but it bounced...
20:10.15NetRipperdruidu is busy on exams i last heard
20:10.23NetRipperhe'll be back in a month or so probably
20:10.37pichurriNetRipper, the output is the same to the fb_msm output
20:10.58pichurriNetRipper, and as it is simpler, I'm working on that
20:10.59NetRipperpichurri, the htc_fb_console is also corrupted?
20:11.07NetRipperright
20:11.10pichurriNetRipper, yep, in exactly the same way
20:11.14NetRipperok
20:11.55pichurriNetRipper, but, when I change the screen resolution and physical fb address the output changes completely...which makes me wonder why
20:11.59pichurri:p
20:12.34NetRipperyou can get the correct physical address using haret
20:13.13*** join/#htc-linux Zinbolic (n=Zy@84.238.80.215)
20:13.33j0b0pichurri if you get results by modifying htc_console you probably want to move that over to mdp_dma_to_mddi
20:14.11pichurrithat is the idea
20:14.42*** join/#htc-linux Mullins (n=bw@89.204.227.183)
20:14.46NetRipperthey first have to be _good_ results
20:14.46NetRipper;)
20:15.09j0b0yes. good point. not just any old result
20:15.26NetRipperit's odd though
20:15.39NetRipperharet is telling me a different physical address then used in htc_fb_console
20:15.46*** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
20:15.49pichurrireally?
20:15.52pichurriwhich?
20:16.27pichurriNetRipper, also, there is an offset which I still don't understand...
20:16.37NetRipperhtc_fb_console says base 0x16800000 + offset 0x0006a000 (=0x1686a000), haret tells me 0x1666a000
20:17.07pichurriNetRipper, do you know why there is an offset?
20:18.20NetRipperit's probably because you cannot map more specific addresses
20:22.14NetRipperyou can check what haret tells you, using this command: print %08x VRAM
20:22.22NetRipperthen use that as physical
20:22.32NetRipperor well, apply the same principle of base + offset
20:25.06NetRipperpichurri, do you have a picture of the screen?
20:25.25NetRipperis the screwed up text going from top left to lower right, or top right to lower left?
20:25.38pichurrihttp://www.gavero.com/pichurri/blackstone/images/corrupted_output_2008-12-28_1_small.jpg
20:26.01NetRipperhm that's hard to see
20:26.02NetRipperlol
20:26.07pichurriNetRipper, hahaha
20:26.19NetRipperoh you got the blackstone
20:26.21pichurriNetRipper, its half moved to the right I think
20:26.25pichurriyeah
20:26.38pichurrithere are two panels?
20:26.47NetRipperwhat happens if you dont correct resolution at all?
20:27.03NetRipperi.e. keep it 480x640 isntead of 480x800
20:27.38NetRipperhm it does look like it's too crowded though
20:28.39NetRipperperhaps the screen has 24bpp or 32bpp
20:28.40maejrep[w]<NetRipper> do you also need to know the fn variant of a key? <-- no its the same
20:28.40maejrep[w]<NetRipper> do you also need to know the fn variant of a key?
20:28.48maejrep[w]er, sorry for the double paste
20:29.04maejrep[w]my assumption is the Fn key will act more like L_META or so
20:29.13NetRippermaejrep[w], you mean like.. the ! is always on top of the 1?
20:29.18pichurriNetRipper, http://www.gavero.com/pichurri/blackstone/images/corrupted_output_2008-12-28_1.jpg has more resolution...
20:29.20maejrep[w]so it will be controlled by Xkb config, etc
20:29.30NetRippermaejrep[w], ah ok
20:29.43NetRippermaejrep[w], you dont actually process fn's in your driver
20:29.53NetRipperyou just tell linux that the fn was pressed
20:29.53maejrep[w]NetRipper: i mean, Fn is one scancode.  '1' is another scancode.  But Fn,1 is just the combination of the two key presses
20:29.58maejrep[w]right
20:30.01NetRipperalright
20:30.03NetRippergot it
20:30.03maejrep[w]I'm 90% sure :x
20:30.15maejrep[w]I don't recall if I tested holding Fn+another key
20:30.15NetRipperyou better be! arrr
20:30.15NetRipper;)
20:30.19maejrep[w];D
20:30.49maejrep[w]if you did, and you noticed a different scancode, that would be something else I have to look into, but if anything it might just modify the other ce,10 byte, or the ce,11 bytes
20:31.19NetRipperok
20:32.04NetRippercolors are also screwed
20:33.01NexVisionOK INVENTORY ALL RECEIVED
20:33.05NexVisionsorry bout caps
20:33.14NexVisionwho needed me to do what on vzw raph
20:33.14NetRipperinventory?
20:33.18NetRipperah
20:33.27NetRipperNexVision, fire up haret and connect to it ;)
20:33.36NexVisiongot a link
20:33.42NexVisionbeen along time sine i messed with it
20:33.45NexVisionbeen using g1
20:33.49NetRipperemm, sec
20:34.29NetRipperwww.netripper.nl/raphael/haret.exe
20:34.38NetRipperstart it on the raph
20:35.02NetRipperlisten for connections, then connect to it (port 9999)
20:36.04NexVisiondoing setup now
20:36.10NetRipperok
20:36.41maejrep[w]NetRipper: are you serious? :|  raph100 is really off by one on some of those?
20:36.45maejrep[w]that's a pita :P
20:36.51NetRippermaejrep[w], yes, lol
20:36.54NetRipperit's unfortunate
20:37.01maejrep[w]:(
20:37.11NetRipperi lol'ed too when i saw it
20:37.24maejrep[w]wow
20:38.10*** join/#htc-linux orux (n=jose@89.130.46.3)
20:38.30maejrep[w]that's gonna be a c.f. in teh code :P
20:39.07NetRipperwhy? just make a table for each model ;)
20:39.27NetRipperthough
20:39.28maejrep[w]right, but we only have mach types for RAPH and RAPH_CDMA :p
20:39.32NetRipperwe have no way to detect 110 yet
20:39.37NetRippernor 500
20:39.37maejrep[w]kind of
20:39.41NetRipperwe do?
20:39.47maejrep[w]110 is very different in terms of hardware isn't it?  as in like memory size
20:39.51maejrep[w]or is that raph500?
20:39.59NetRippermight be 110 yes
20:40.05NetRipperi recall something similar
20:40.16maejrep[w]we need a better way to determine actual model at runtime
20:40.28cr2wtf is raph110 ?
20:40.29maejrep[w]smem has the model number doesn't it?
20:40.32NetRippercr2, fuze
20:40.33maejrep[w]cr2: at&t fuze
20:40.51NetRippercr2, dont tell me you thought it was a typo all this time
20:40.52NetRipper;)
20:41.10maejrep[w]problem is raph500 is cdma also, but not very similar to raph800
20:41.17AstainHellbring500 is diff in mem sizes but 110 is same as 100
20:41.21maejrep[w]and raph110 is gsm but very different from raph100
20:41.23cr2maejrep[w]: you have implemented the vreg_level function ?
20:41.27NetRipperAstainHellbring, ah
20:41.29maejrep[w]I don't think so?
20:41.49NetRippercr2, you said you had hints for the msm_ts driver
20:41.51maejrep[w]we need a trac system setup to assign tickets ;)
20:41.54pichurrij0b0, have you tried changing colors on htc_fb_console?
20:42.07cr2maejrep[w]: *data1 and *data2 look strange
20:42.40cr2maejrep[w]: from what i can see in wince, it's more *in and *ot
20:42.41maejrep[w]cr2: I followed vogue mostly
20:42.45pichurrij0b0, its easier...and could be helpful for testing with raph800...
20:42.48cr2yes, i know
20:43.04maejrep[w]smem shows "?" next to DATA2 and DATA_RESULT2
20:43.09maejrep[w]on the wiki that is
20:43.13maejrep[w]so it may not be correct
20:43.16cr2but on a 2 parameter call like vreg_level it's very important
20:43.29j0b0pichurri i changed the color packing settings in msm_fb
20:43.34cr2afaik vogue implements only void and 1 param calls
20:43.36maejrep[w]so how would we do 2 parameters if it's not DATA1 and DATA2?
20:43.52cr2wince api is different
20:43.57j0b0that works for the internal functions
20:44.01j0b0that draw and blit
20:44.03cr2and you just have reused the g1 api
20:44.04maejrep[w]I've only seen proc comm chatter for 1 param calls
20:44.05*** join/#htc-linux Xime (n=xime@bankize.net)
20:44.06j0b0but not for android
20:44.17j0b0also, that is the wrong way round i'm afraid
20:44.21maejrep[w]and it uses the "DATA1" and "DATA_RESULT1" registers, haven't seen anything touch DATA2 or RESULT2
20:44.35maejrep[w]so I'm not sure that it's correct myself
20:44.36NexVisionran it and told it to listen for network and its just spinning\
20:44.38NetRipperj0b0, do you know how to change 16bpp to i.e. 24bpp?
20:44.39cr2maejrep[w]: i'm pretty sure that you had 0x1a in your logs
20:44.57NetRipperNexVision, yes, you have to telnet to it, port 9999
20:45.03cr2maejrep[w]: it's something to ask dzo
20:45.03j0b0i tries to draw 444 in the fb so that it show up correct, but it should make the 565 show up properly
20:45.04maejrep[w]cr2: for sd maybe?
20:45.12pichurriNetRipper, there is code for that on fbgrab.c
20:45.16maejrep[w]no, that was 0x15 and 16
20:45.30maejrep[w]I don't think I saw 0x1a, but I can check my haret logs when I get home
20:45.31j0b0you can influence the format to which the frame buffer gets dma's
20:45.36j0b0with the flags in mdp
20:45.49maejrep[w]oh, maybe I saw 1a on initializing camera
20:45.57maejrep[w]shrugs
20:45.57cr2maejrep[w]: i have not tracked the wince implementation up to the end, but from the api point of view it makes more sense
20:46.09cr2yes, probably
20:46.14maejrep[w]more sense for what?  one input, one output?
20:46.20cr2yes
20:46.21maejrep[w]instead of 2 inputs which get modified for 2 outputs?
20:46.51cr2and the 0x100|0x15 means (0x1) the number of parameters
20:46.54maejrep[w]^ that's how g1 does it, so you may be right, i might have messed up by letting trout code influence it
20:47.03NetRipperj0b0, yes, but before that, the driver sets up the framebuffer in a specific way... maybe that layout is wrong already.. it sets it up as 16bpp.. maybe the panel wants 24bpp
20:47.13maejrep[w]ah, not just "has data"?
20:47.22j0b0pichurri did you test the effects of MSB vs. LSB alignment, tight vs. loose packing,
20:47.37maejrep[w]I saw it happened when there was data, but again never saw it with 2 data params, so don't know what that looks like
20:47.54j0b0NetRipper is that the mdp init code you mean?
20:47.57cr2maejrep[w]: i will write down the structs used by void, 1par and 2par calls
20:48.03maejrep[w]cool
20:48.04pichurrij0b0, nop...thats dma2_cfg?
20:48.09maejrep[w]you're going off oem_misc.dll ?
20:48.22cr2maejrep[w]: not only.
20:48.26maejrep[w]ah k
20:48.27pichurrij0b0, I've commented all the dma2_cfg, it changes nothing...
20:48.37cr2maejrep[w]: the same api is reimplemented inside the wince kernel
20:48.42j0b0i found that playing with those flags gives weirdness
20:48.43maejrep[w]ah
20:48.51maejrep[w]that's odd, and yet not at all surprising :P
20:48.55NetRipperj0b0, no, in the console_update()
20:48.57cr2which has more weird calls, marked ? in wiki
20:49.01maejrep[w]lol
20:49.04pichurrij0b0, ok, testing
20:49.35j0b0:) thats basically the same as in mdp_dma_to_mddi
20:49.42cr2maejrep[w]: the input struct looks like
20:49.44maejrep[w]cr2: while you're here, 1) the restart_reason is different from trout, right?  trout uses 776655aa i think.  i saw you mentioned what it should be for us, but I don't know where that is now .. do you remember?
20:49.46j0b0yes, i played with those, but not there
20:50.19oruxhello pichurri,
20:50.28maejrep[w]and 2) which cmd is for soft-reset?  Is that 0x22 "reset arm9" or 0x8e "notify arm9 reboot" ?
20:50.37*** join/#htc-linux timebomb (n=tb@e176099190.adsl.alicedsl.de)
20:50.38cr2struct { int8_t cmd; int8_t npar; int16_t dummy; int32_t par1; ...
20:50.43NetRippermaejrep[w], neither.. i tried btoh ;)
20:50.49maejrep[w]:X
20:51.00maejrep[w]NetRipper: one of them might work with the correct restart_reason
20:51.02j0b0in mpd_init, it pushes the 'mdp_csc_table', which is some kind of init code i have no clue how to decipher
20:51.07NetRippermaejrep[w], that might be true
20:51.11cr2sizeof() is usually 8, but for some calls it's bigger
20:51.17pichurriorux, hey there!!!
20:51.23pichurriorux, any progress?
20:51.37oruxpichurri, i am playing with dma_cfg flags
20:52.02cr2maejrep[w]: there are many such A2M ascii "reasons". something to be put into wiki too :)
20:52.15maejrep[w]orly
20:52.28maejrep[w]each one means something different?
20:52.43cr2maejrep[w]: it's work in progress, i don't have it with me now
20:52.56maejrep[w]np
20:53.00pichurriorux, did you see what NetRipper said about physical address on haret and the hardcoded?
20:53.12NetRippermy god @ forum: "thank's...is there a date for the release?"
20:53.12cr2hmm. need 32bit linux on the usb first ;)
20:53.32cr2lol
20:53.34maejrep[w]heh
20:54.16oruxpichurri, dma2_cfg is the same that wince uses
20:54.35oruxi think dma2_cfg is good
20:54.39cr2maejrep[w]: raph800 looks more smart than raph100 in microP area
20:55.02cr2maejrep[w]: it can id the LED part, and the KEY part
20:55.13cr2maejrep[w]: raph100 only the KEY part
20:55.24cr2and the id methods are different
20:55.30maejrep[w]:x
20:55.54maejrep[w]as in, determine a revision number of some sort?  or identify what kind of LED/KEY it is?
20:55.56cr2so it'd be different _probe() / _init() functions
20:56.05cr2revision
20:56.14cr2for the firmware
20:56.17maejrep[w]I noticed in HSPL there's a "MicroP KEY" version and "MicroP LED" version
20:56.18oruxpichurri, y can dump some mdp registers from haret
20:56.30cr2maejrep[w]: exactly
20:56.41cr2maejrep[w]: i have it more of less decoded
20:56.59maejrep[w]cool, but you're saying raph100 can't report the id for LED?
20:57.02pichurriorux, how which?
20:57.02cr2maejrep[w]: btw, you'd use the right i2c ids
20:57.02maejrep[w]id/revision
20:57.11pichurriorux, sorry, first timer! :p
20:57.20maejrep[w]i'd use the right i2c ids for what?
20:57.33cr2c4/2 for psoc, cc/2 and ce/2 for microP
20:57.45cr2the i2c ids are 7bit
20:57.53maejrep[w]right
20:58.00cr2and shifted left to leave space for the write bit
20:58.02maejrep[w]as in, they're correct on each?
20:58.09cr2left
20:58.09maejrep[w]yup, read bit*
20:58.25NexVisionnetripper when i tell it to listen it pops up and tells me cant bind socket
20:58.33NexVisionrebooted twice
20:58.35cr2you take the id, shift it left, so the LSB is free for rw
20:58.38NexVisionand telnet cant connect
20:58.48maejrep[w]cr2: yeah I have all that working
20:58.56NetRipperNexVision, telnet to port 9999
20:59.02cr2maejrep[w]: so you don't really need 0xcc>>1 to id the chip
20:59.02maejrep[w]but i2c-msm takes care of the shifting
20:59.05NetRipperNexVision, connect the phone via activesync
20:59.18NetRipperNexVision, then "telnet 169.254.2.1 9999"
20:59.19maejrep[w]cr2: I do have to send 0x66 and 0x67 for it to use cc and ce
20:59.24NexVisionC:\Documents and Settings\Administrator>telnet 169.254.2.1 port9999
20:59.24NexVisionConnecting To 169.254.2.1...Could not open connection to the host, on port port9
20:59.24NexVision999: Connect failed
20:59.25oruxfor example, MDP_DMA_CONFIG   (MSM_MDP_BASE + 0x10180) is at 0xaa210180
20:59.29cr2maejrep[w]: the "real" i2c id for navi is 0x62
20:59.33maejrep[w]the "real" id is 66 and 67
20:59.34NetRipperNexVision, dont add the word "port"
20:59.36maejrep[w]and yes 62
20:59.39NexVisionk
20:59.59maejrep[w]which is why I have to either a) use 0x62,66,67, or b) use ce>>1, etc
21:00.12maejrep[w]I've been doing ce>>1 because it's more clear which one it is
21:00.13NetRipperNexVision, the "busy" icon on the phone just means that it is waiting for the connection
21:00.16NetRipper:)
21:00.18maejrep[w]since the wiki is showing ce,cc,c4, etc
21:00.20oruxpichurri, with haret: pdump 0xaa210180 0x4
21:00.25cr2maejrep[w]: it's the msm implementation issue. from the point of of the protocol the ids at 62,66, and 67
21:00.27NexVisionok im in
21:00.38maejrep[w]yes I understand that :)
21:00.40NetRipperNexVision, ok, open up http://wiki.xda-developers.com/index.php?pagename=RaphaelKeyboard
21:00.46maejrep[w]and that's what I'm sending for i2c_client->addr
21:00.47NetRipperNexVision, you have an xda account?
21:00.54NexVisionyeah
21:00.57cr2maejrep[w]: wiki shows it because of the mmutrace and wince code
21:00.59NexVisionim on the wiki
21:00.59maejrep[w]I'm just shifting it so that visually in the code I can tell which one it is easily
21:01.00NetRipperok then at the bottom, click edit
21:01.08cr2ok
21:01.20pichurriorux, you think that the places where writel writes, are correct?
21:01.23NexVisionok
21:01.26NetRipperNexVision, you're going to add a column there, __RAPH500__, i guess you'll figure out how that works
21:01.29maejrep[w]If you think we should use the real IDs and maybe define macros, that would probably be just as easy to work with
21:01.35NetRipperNexVision, back to your telnet session
21:01.42cr2maejrep[w]: i had the htc_i2c_ids table in the wiki
21:01.45NetRipperNexVision, type "clearvar gpios"
21:01.49oruxpichurri, i think yes
21:01.55NetRipperNexVision, then "addlist mmutrace 0xb230000c"
21:02.00cr2maejrep[w]: and this table has only "real" ids
21:02.13*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)
21:02.15maejrep[w]gotcha
21:02.16*** join/#htc-linux Untouchab1e (n=Untoucha@82.147.51.146)
21:02.19Untouchab1eGood evening
21:02.25NetRipperevening Untouchab1e
21:02.36NetRipperUntouchab1e, nice job responding to many on the forum :)
21:02.47NexVisionk
21:02.51oruxpichurri, the dumped values from haret are the same that htc_console writes
21:02.56NexVisionim at a 3rd prompt now
21:02.59NetRipperNexVision, ok
21:03.00Untouchab1ehehe, thank you
21:03.10NetRipperNexVision, open the keyboard on the phone
21:03.12Untouchab1eI consider myself quite available, hehe
21:03.21NexVisionk
21:03.44oruxthe problem is with the registers from mdp that htc_console dont write :)
21:03.48cr2http://wiki.xda-developers.com/index.php?pagename=HTC_I2C_IDs
21:03.49NetRipperNexVision, in haret type "wirq 5"... it'll listen on the irqs for 5 seconds... then press a key (i.e. top left, i worked my way top left to bottom right)..
21:04.01pichurriorux, I got :
21:04.02pichurriaa210180 | 0032616a                            | ja2.
21:04.07maejrep[w]ahh yes I did see that cr2
21:04.23oruxand there are a lot on mdp_hw.h
21:04.38NexVisionwhere in haret
21:04.46NetRipperin the console
21:04.49NetRippertelnet
21:04.51oruxpichurri, ok
21:04.53cr2NetRipper: can we create a SDIO controller usage table for different devices ?
21:05.01NetRippercr2, yes i still have that on my todo
21:05.04NexVisionahh ok
21:05.04pichurriorux, that is the value pushed in writel(dma2_cfg, MDP_DMA_CONFIG); ?
21:05.21NexVision4th now
21:05.21oruxpichurri, yes
21:05.47Untouchab1eNetRipper, may I ask what you are currently working on?
21:05.59cr2NetRipper: can you explain me why does the wifi not work on raph ?
21:06.03NetRipperNexVision, you'll get output like this: http://netripper.pastebin.com/d15b9b34
21:06.24NetRippercr2, err, you tell me?
21:06.37NetRippercr2, the kernel does not have the driver, does it?
21:06.44NetRipperthought it was closed source
21:06.52NexVisionhttp://netripper.pastebin.com/m1569bc31
21:06.57NexVisionthats what i got
21:07.07cr2NetRipper: it's not included into the git, but the source is available
21:07.18cr2probably because it's bulky
21:07.28cr2git = kernel git
21:07.39NetRipperNexVision, hm
21:08.23cr2NetRipper: i have some comments after looking in the clk api implementation
21:08.27NetRipperNexVision, do "addlist mmutrace 0xb2300000"
21:08.53NetRippercr2, shoot
21:08.56cr2NetRipper: the _enable and _disable bits are probably wrong
21:09.12cr2you need to manipulate these bits, sure
21:09.23cr2but they are not enable/disable bits
21:09.27NexVisiondone
21:09.40cr2because the mddi and i2c clocks do not have these bits set
21:09.49oruxpichurri, i am playing now with the spl. disassembling and debugging it (learning how all hardware are initialized)
21:09.55NetRipperNexVision, do a wirq 5 again, and press a key
21:10.19NetRipper(a key on the phone)
21:10.28cr2NetRipper: and it's a very bad idea to hardcode the plain gpio numbers
21:10.37NetRippercan you put the output on pastebin again NexVision ?
21:10.50NetRippercr2, you mean the ones in the boardfile?
21:10.56cr2NetRipper: like g1 ;) let's create some raphael.h, and #define the gpios
21:11.06pichurrihow do you debug?
21:11.07cr2not only in the board file
21:11.13NexVisionhttp://netripper.pastebin.com/m716434a7
21:11.13pichurriorux,  how do you debug?
21:11.17maejrep[w]that's a good idea ;o
21:11.22cr2the famous gpio 94 for vsync comes to mind
21:11.23NexVisionbrb got customers ill let u know when im back
21:11.25Untouchab1eIf the WiFi Driver is closed source, that means we have to make our own then, ro?
21:11.26Untouchab1epr*
21:11.28Untouchab1eright*
21:11.35maejrep[w]especially since the gpio's vary so much between device versions
21:11.41cr2Untouchab1e: it's _not_ closed source
21:11.55*** join/#htc-linux LanceHaig (n=lanceh@foresight/member/lhaig)
21:11.59oruxpichurri, with axd
21:12.03pichurriorux, do you go just looking at the assembly?
21:12.15cr2maejrep[w]: keep in mind that you need to rewrite a good chunk of the mddi stuff anyway :D
21:12.16oruxpichurri, and ida
21:12.48cr2the wifi driver is GPL
21:13.09*** part/#htc-linux LanceHaig (n=lanceh@foresight/member/lhaig)
21:13.11cr2but don't ask me how it's compiled and interfaced to the kernel
21:13.19NetRipperNexVision, wow, i realiase the telnet way sucks ;)
21:13.28cr2it was not obvious for me after looking at the source
21:13.36AstainHellbringNetRipper whats a better way than the telnet way?
21:13.50maejrep[w]haretconsole.py
21:13.59NetRipperAstainHellbring, using haret console
21:14.17lupine_85allo
21:14.29AstainHellbringahh right
21:14.51cr2maejrep[w]: what driver sre you going to write next ? :-)
21:15.01maejrep[w]haha
21:15.05maejrep[w]navi was on my mind ;x
21:15.12maejrep[w]but I still can't quite figure out what the registers mean
21:15.16maejrep[w]*bytes?
21:15.24cr2led / backlight ?
21:15.31maejrep[w]no, cap sense
21:15.33maejrep[w]http://wiki.xda-developers.com/index.php?pagename=Raphael_Navi
21:15.43NetRipperoi, let him first finish up keyboard
21:15.44NetRipperplease
21:15.44NetRipper:P
21:15.47maejrep[w]haha
21:15.50*** join/#htc-linux mrincred (n=wmirc_us@174-144-92-3.pools.spcsdns.net)
21:16.05cr2maejrep[w]: the reg0 and reg1 are used for the id
21:16.21cr2these are tables sized 0x12 and 0x20
21:16.52cr2so prepare to deal with multibyte ops
21:16.57cr2read and write
21:17.44cr2NetRipper: btw, do you have a platform_device for the msm_touchscreeen ?
21:18.16cr2NetRipper: and the A81* area may need some name in the header
21:18.35cr2maejrep[w]: do you have TVout ?
21:18.39NetRipperNexVision, it's going to be annoying this way.. but you can recognize the scancode this way... start from the top of the output, find two subsequent (ldr) lines, the first line of that group must have a value (second-last column), the second line of that group must have 0 again
21:18.45maejrep[w]cr2: no
21:18.53NetRipperNexVision, in your last paste, line 22 has the scancode (0x8)
21:19.01cr2NetRipper: do you have TVout ?
21:19.11maejrep[w]cr2: reg0 and reg1 for what?
21:19.18maejrep[w]the navi?
21:19.23cr2maejrep[w]: for navi aka psoc
21:19.31NetRippercr2, i dont have the tvout cable
21:19.33maejrep[w]oh
21:19.45maejrep[w]the cap touch sensor ?
21:20.01cr2maejrep[w]: hmm, the luminosity sensor must be somewhere around too
21:20.08cr2yes
21:20.28*** join/#htc-linux pichurri_ (n=pichurri@194.230.146.33)
21:20.37maejrep[w]I've seen the luminosity sensor i think
21:20.42maejrep[w]i think its on the 0x30 chip, no?
21:20.44pichurri_orux, I don't think it is the init code...
21:20.50maejrep[w]along with accelerometer?
21:20.59cr2maejrep[w]: 0x30 ?
21:21.03cr2no
21:21.07maejrep[w]err
21:21.11maejrep[w]30>>1 whatever that is
21:21.12lupine_85maejrep[w]: I can set up a trac if you want one
21:21.12maejrep[w]heh
21:21.14cr2accelerometer is 0x30 ?
21:21.16pichurri_orux, have you seen htc_fb_console? without initialization it tries to write to the fb mem and send commands to the panel...
21:21.27maejrep[w]yes, for me
21:21.33NetRipperNexVision, a better way would be if you install python 2.x, then get haretconsole and use that ;) unless you dont mind having to look carefully
21:21.34cr2seems like 0x18 to me
21:21.50NetRipperi gtg for a little while, bbl
21:21.50cr2ok, never mind
21:21.57pichurri_orux, I think we have 2 problems, fb address and perhaps a missing command to send to the panel
21:22.32NetRippercr2, please list any hints regarding the touchscreen irq.. or update wiki, or list something in my pm.. :) and no i dont have it as platform_device... may look into that later
21:22.34oruxi think fb adress is not problem,
21:22.40NetRippergtg
21:22.53cr2maejrep[w]: do we know the cam ids ?
21:23.00maejrep[w]lupine_85: I use trac all the time, and I think its a good way to keep people on task, but it sometimes feels like an obligation, which obviously no one here wants to feel "obligated" to do any of this
21:23.11maejrep[w]I'd probably use it if you set it up, but I can't speak for everyone else
21:23.14pichurri_orux, "<NetRipper> htc_fb_console says base 0x16800000 + offset 0x0006a000 (=0x1686a000), haret tells me 0x1666a000"
21:23.15oruxpichurri, perhaps mddi code
21:23.25maejrep[w]cr2: I think so, I took a haret trace while initializing the cam
21:23.38maejrep[w]odd thing though, is that virtually all of the i2c chatter was *write*, not read
21:23.42cr2maejrep[w]: raph100 has 2
21:23.43pichurri_orux, NetRipper has a raph100 and it outputs correctly with htc_fb_console...
21:23.44maejrep[w]I don't understand why that would be the case
21:23.47maejrep[w]oh right
21:23.52maejrep[w]cr2: raph800 only has the main cam
21:24.19cr2maejrep[w]: the data comes in to the CAM alt gpios
21:24.23maejrep[w]cr2: should it be gettin the image data from i2c as well, or somewhere else?
21:24.24oruxpichurri, i think this is not from blackstone, haret say: 0x16044800
21:24.26maejrep[w]oh really?
21:24.36cr2maejrep[w]: what you see is the control channel
21:24.40maejrep[w]i see
21:24.44cr2which is mainly writes to the chip
21:24.53maejrep[w]it also turns on the accelerometer when turning on the camera :)  probably to stabilize
21:25.11cr2hmm, interesting
21:25.18maejrep[w]do we need to decode that control api also? :p
21:25.18oruxpichrri, if you write from this adress (in wince) it is dump to screen
21:25.38cr2maejrep[w]: it depends on your cam
21:25.41lupine_85finishes the backscroll
21:25.43maejrep[w]oh great!
21:25.44maejrep[w]:P
21:25.56cr2maejrep[w]: tha cam in raph100 is the same as in g1
21:26.10cr2do we have a driver source ?
21:26.16lupine_85maejrep[w]: if people are wont to use it, I'd be happy to stick it up. if it'd just be you... perhaps less point :p
21:26.21maejrep[w]yeah, its in our branch already
21:26.27pichurri_NetRipper, could you test if dumping the memory from 0x1686a000 dumps the screen...? :P, plz
21:26.40maejrep[w]lupine_85: sure
21:27.07maejrep[w]check with NetRipper and other contributors i guess
21:27.23maejrep[w]cr2 probably doesn't have time to deal with trac ;p
21:27.35lupine_85hehe
21:27.45Untouchab1eI just tried out the package i put together on a DIAM100 just now. For some reason, the display is in landscape mode when booting Android (so is the virtual keyboard)
21:27.46AstainHellbringwow so camera support for raph100 sounds like htc made it easy there?
21:28.08maejrep[w]cr2: i think the main cam in raph800 is the same as well, but on a different i2c chip id
21:28.25cr2maejrep[w]: ???
21:28.29BalsatUntouchable : try with mtype=1805
21:28.34lupine_85mm, would be nice to have the camera aussi :)
21:28.34cr2diffrent chips
21:28.39maejrep[w]er
21:28.46maejrep[w]by chip ID I mean i2c_client->addr
21:28.49Untouchab1eah, ok.. have mtype 1910 atm
21:28.53maejrep[w](0x62, 0x66, 067)
21:28.59cr2maejrep[w]: unlikely
21:29.06maejrep[w]I saw it with my own eyes ;)
21:29.11maejrep[w]look in board-trout.c
21:29.24cr2which one ?
21:29.26maejrep[w]they use 0xce>>1 I think, which is our keyboard
21:29.33NetRipperUntouchab1e, for diamond you haev to keep mtype 1805
21:29.34maejrep[w]the driver is mt...something
21:29.41cr2hehe
21:29.43j0b0Untouchab1e if you have mtype 1910 the kernels thinks youre a raph and listens to the keyboard slider gpi
21:29.52j0b0which is always high on a diam
21:30.03oruxpichurri, if you change 0x16800000 in htc_console, and uses 0x1600000 (plus offset 44800), the result, on screen, is the same!
21:30.14cr2maejrep[w]: ok, many chips let you pick an i2c id
21:30.16lupine_85reclones the kernel
21:30.17maejrep[w]anyway, the chip ID they use for it matches up with one of our chip IDs, but in our phone that chip id is for a different purpose, not the camera
21:30.20maejrep[w]right
21:30.41cr2maejrep[w]: which id did you trace for the cam ?
21:30.58maejrep[w]I can't trace just an id, can only trace i2c reads and writes
21:31.02maejrep[w]so it captures everything
21:31.18Untouchab1ethanks for the tip
21:31.18maejrep[w]but I'd have to check my logs to know which chip id it was
21:31.31cr2yes, but i2c id is the most used byte
21:31.32maejrep[w]I *think* it was 0x116  (16>>1)
21:32.01cr2ok, something to check in the cif.dll
21:32.13cr2maybe i knew it, but forgot now :)
21:32.27lupine_85maejrep[w]: did you get all the raph100 scancodes you need?
21:32.37maejrep[w]I think so, NetRipper updated the wiki
21:32.46cr2i've also checked the qtv.dll, but didn't find the tv encoder area...
21:33.07lupine_85commit! commit! commit! :)
21:33.10maejrep[w]and I guess NexVision was working on getting raph500
21:33.29lupine_85(/givez0r test images :D)
21:33.32maejrep[w]lupine_85: heh, it's at home ;p  plus i want to try to clean it up some..
21:33.57maejrep[w]there's also the issue of the clamshell
21:34.08maejrep[w]in wince, they only enable the keyboard when clamshell is open
21:34.15maejrep[w]so we need to find the best way to implement that
21:34.22Untouchab1ewith set mtype 1805, It just goes to "Booting Linux", and stops when the loading bar is full
21:34.30maejrep[w]I think it definitely needs to come out of board-htcraphael-keypad, because its *not* related to the keypad/navi keys
21:34.48maejrep[w]Untouchab1e: that means the mtype is wrong, or the kernel doesn't support that mtype
21:34.59BalsatTry with the zImage i postet on xda
21:35.12Untouchab1eBalsat said that it should be mtype 1805
21:35.49Untouchab1eI think the zImage should work just fine, but its probably just the default.txt there is something wrong with
21:35.51maejrep[w]so I'll probably implement the clamshell the same way as it is now in keypad, but put it in the keyboard driver, which should only be used by raphael devices
21:35.58j0b0maejrep the whole keypad thing need to come out of board keypad, or some i2c stuff need to move in, because it still cant tell home from send and back from end
21:36.00BalsatDepends on the kernel build
21:36.01maejrep[w]and also make it enable/disable the keyboard
21:36.16cr2maejrep[w]: what about the keyboard leds ? do you trace them ?
21:36.42maejrep[w]cr2: kind of..  on the raph keyboard wiki page you can see my best guess of what happens with each
21:36.50maejrep[w]though I've been ignoring 0xcc for the time being
21:36.57BalsatI'dont think jobo use the mtype=1805 on he's build
21:37.16maejrep[w]I don't know what they are acutally doing, and it seems the 0xcc values change pretty much all the time, so I don't know what they are supposed to be
21:37.21cr2maejrep[w]: don't forget to #ifdef ANDROID all the weird code :)
21:37.28maejrep[w]which weird code?
21:37.35oruxpichurri_, i ve to go. I will try to learn more about mddi. I think is the key
21:37.36Untouchab1eaah
21:37.42Untouchab1eil, try your zimage then
21:37.48pichurri_orux, ok, me too
21:37.48pichurri_!
21:37.52pichurri_orux,  night!
21:37.57cr2like calibrtion data in the kernel
21:38.02j0b0Balsat my recent kernels recognize mtype 1805
21:38.10j0b0ever since i last updated my git
21:38.11maejrep[w]what kind of calibration data? :X
21:38.21maejrep[w]like disabling the kyeboard on clamshell close, etc?
21:38.42oruxpichurri_, where are you from?
21:38.59cr2the keyboard reampping and modifiers are treated by 'loadkeys' for me :)
21:38.59pichurri_orux, :) Colombia! you?
21:39.11pichurri_orux, but I'm living in switzerland
21:39.14lupine_85mm, raph100 sucks power running illume just now :D
21:39.16oruxspain
21:39.26cr2and enabling/ disabling the keyboard when some other events happen is a userspace issue too
21:39.43maejrep[w]cr2: remapping as in I shouldn't have separate keymaps?
21:39.49lupine_85I left it running E17 to show it off at work and it died in, like, 3 hours
21:40.01BalsatJobo : ok that god to know, but strange it wont run on the diam100 then
21:40.11cr2maejrep[w]: as long as it is not a separate keycode, yes
21:40.12maejrep[w]lupine_85: there's no power management code active yet
21:40.24maejrep[w]cr2: each key is different
21:40.27lupine_85Is there any way to pull *just* the htc-msm-2.6.25 branch from linuxtogo ?
21:40.34maejrep[w]so R on raph800 might be E on raph100
21:40.39maejrep[w](same scancode)
21:41.03maejrep[w]that shouldn't be configured in pdata?
21:41.05cr2maejrep[w]: does fn-X send two scancodes ?
21:41.14maejrep[w]fn is its own keycode (like ALT key)
21:41.16cr2probably
21:41.16pichurri_orux, I think that xmoo is in spain or is from spain...
21:41.16Untouchab1eBalsat, your zImage seems promising.. booting up in a minute
21:41.24oruxpichurri_, my english is bad, so we can meet in an spanish room :)
21:41.25cr2ok
21:41.33maejrep[w]so +Fn, then press other keys, -Fn
21:41.36pichurri_orux, ok!
21:41.38maejrep[w]it would be handled by OS I think
21:41.42maejrep[w]er, but userland
21:41.47maejrep[w]by* >:|
21:41.58cr2+fn is like caps ?
21:41.59BalsatUT : let me know if it work
21:42.03maejrep[w]no
21:42.09pichurri_orux, but I think is good for everybody to chat on english, like for the logs and stuff that others can find useful...
21:42.14maejrep[w]its a press/release
21:42.20cr2ok
21:42.22maejrep[w]unless i build in sticky bits for it
21:42.30maejrep[w]like halibut has done
21:42.32oruxpichurri_, yes, of course, for me too
21:42.34cr2hehe
21:42.35maejrep[w]er, maybe that was kaiser
21:42.42cr2keep the kernel simple
21:42.50maejrep[w]one of them holds sticky bits for caps, fn, shift, etc
21:42.54pichurri_orux, I might go to barcelona on a month...jajaja
21:43.07cr2android != unix
21:43.15maejrep[w]but I don't think android has something built in for that does it?
21:43.33oruxpichurri_, i ve my home near
21:43.33maejrep[w]with X11 and a WM you could use accessibility Sticky Keys to emulate it
21:43.36cr2don't know
21:43.44maejrep[w]but I don't know if android will let us do that easily
21:43.50oruxpichurri_, well, bye
21:44.06pichurri_orux, cya
21:44.07cr2wehn the kernelissues are solved, i'd like to check qtopia
21:44.44cr2maejrep[w]: btw, you have added the weird offsets for SMD channels ?
21:44.51cr2into wiki
21:45.00maejrep[w]cr2: at some point you're gonna have to explain how you think the keyboard (and eventually navi/keypad) should work :)  I'm not a kernel hacker, though i've been a linux user for almost 10 years
21:45.11maejrep[w]cr2: yes, with "**" notes by them
21:45.14j0b0maejrep does it take care of the fn and caps leds itself or does the driver have to set and clear those
21:45.20maejrep[w]and an added column to indicate its for MSM7500
21:45.31pichurri_night everybody!
21:45.32maejrep[w]j0b0: separate driver does that
21:45.35maejrep[w]not keyboard driver
21:45.53cr2maejrep[w]: are they  correct for raph ?
21:45.59maejrep[w]yep
21:46.07maejrep[w]well, raph800
21:46.12maejrep[w]and they match vogue-smd.c
21:46.18cr2maejrep[w]: there must be a better way to calculate the offsets
21:46.21maejrep[w]which is also MSM7500 right?
21:46.31cr2no
21:46.38cr2you have 7500A
21:46.39AstainHellbringyes vogue is msm7500 but raph800 is MSM7501a
21:46.41maejrep[w]right
21:46.44maejrep[w]yes
21:46.47maejrep[w]I understand that :)
21:46.55maejrep[w]I meant 750x(x)
21:47.03maejrep[w]the 75 vs 72 was all I was pointing out
21:47.05j0b0so this separate driver tracks or accesses some kind of sticky bits
21:47.07AstainHellbringahh ok
21:47.10cr2kaiser has different offsets
21:47.18maejrep[w]:|
21:47.19cr2from tita/vogue
21:47.42cr2well, i'm thinking what to do nexrt
21:47.46lupine_85votes for no sticky bits
21:47.56lupine_85it's an actual keyboard. you can press two keys at a time
21:48.02maejrep[w]yep
21:48.05maejrep[w]and it works too :P
21:48.08maejrep[w]Ctrl+C
21:48.18lupine_85sticky bits are a dirty hack for onscreen keyboards
21:48.23maejrep[w]that pissed me off about pocketpotty on my mogul :P
21:48.33lupine_85pocketpotty? ;)
21:48.38maejrep[w]lol
21:48.40lupine_85enjoys ctrl+c
21:48.46maejrep[w]putty ;p
21:49.39maejrep[w]cr2: how far off is kaiser's offset?
21:50.00maejrep[w]we could try scanning the 0xfc000 area until we find something that looks right :x
21:50.38cr2maejrep[w]: they are completely different
21:50.58cr2maejrep[w]: there must be some sane way how wince keeps track of these
21:51.02maejrep[w]and different from raph100 too?
21:51.11cr2i guess they are done by ioremap() or so
21:51.12maejrep[w]well, its probably just built into the driver :x
21:51.31cr2unfortunately it's different from the g1 too. it seems
21:51.42cr2no, they are not built-in
21:51.59cr2maejrep[w]: btw, have you ever dumped the wince dmes area in haret ?
21:52.18cr2s/dmes/dmesg/
21:52.18maejrep[w]i tried, there was nothing there
21:52.21maejrep[w]mostly all 0
21:52.26cr2nothing ??
21:52.26maejrep[w]or all ff
21:52.28maejrep[w]nope
21:52.39maejrep[w]could be at a different offset
21:52.45cr2it'd be a nice ascii log
21:52.52cr2hmm. maybe
21:53.09maejrep[w]but i don't think I can dump the entire memory space :)
21:53.14maejrep[w]to look for it
21:53.19cr2run 'dump mmu'
21:53.39maejrep[w]would it be a 1M area?
21:53.41cr2it'd be at the top of the 0x10000000 bank somewhere
21:53.45Untouchab1eBalsat, your image worked perfectly.. Posting it now
21:53.53maejrep[w]ok i'll check that when I get home
21:54.01cr2maejrep[w]: you have 256MB ?
21:54.04cr2ok
21:54.05maejrep[w]is it possible they would disable or shadow that?
21:54.14cr2unlikely
21:54.16maejrep[w]256 or 512?
21:54.19XDso any development on andriod on raph400
21:54.20maejrep[w]i forget
21:54.25maejrep[w]wtf is raph400?
21:54.26maejrep[w]omfg
21:54.38maejrep[w]they need to stop making new raphs!!
21:54.39cr2XD: same question
21:54.40maejrep[w]:P
21:54.48XDlol
21:54.59XDit's vzw raph
21:55.01lupine_85raph500 with a slipped finger?
21:55.07XDerr
21:55.19cr2XD: dump the spl
21:55.21maejrep[w]ohh
21:55.23maejrep[w]lol ok :p
21:55.43maejrep[w]cr2: 512MB ROM, 288MB RAM
21:55.44BalsatUT : that's nice
21:56.09cr2maejrep[w]: 288=256+32 ?
21:56.17AstainHellbringyes cr2
21:56.48cr2i think raph100 was 256+64 ? but 32 is eaten by arm9
21:57.11maejrep[w]could be?
21:57.16AstainHellbringas far as I recall both have same mem setup
21:57.21maejrep[w]i think so too
21:57.30cr2ok
21:57.34Untouchab1eThere is another thing we should do... Considering the Raph and Diamond are VGA devices, the notification area is nearly impossible to pull down with the finger, as the resolution is much higher than on the G1, meaning the area in where we can actually get a hold of the curtain is smaller
21:57.51Untouchab1eso if we could somehow increase the size of the grabbable area
21:57.56Untouchab1eif you get my meaning
21:58.19cr2androod kernel still can't support discontg mem ?
21:58.32maejrep[w]via iomap?
21:58.38maejrep[w]what would you want to be discontiguous?
21:58.58cr2256=128@10000000 + 128@20000000
21:59.30cr2the rest is stacked mem
21:59.38cr2not used by the kernel itself
21:59.53cr2afair, we run with 64 or 96 now
22:00.00maejrep[w]i use 96
22:00.07cr2ok
22:00.27AstainHellbringso whats the max amount we can in theory run with based on that cr2?
22:00.42maejrep[w]that 96 is only for the kernel, right?
22:00.48maejrep[w]apps can still use the remaining memory?
22:00.48cr2288 if you are crazy :)
22:00.53cr2no
22:01.03maejrep[w]we can only use 96 mb in total?
22:01.09maejrep[w]so the rest is just wasted? D:
22:01.16cr2you can ioremap, but it's not for the apps
22:01.21cr2yeah
22:01.30maejrep[w]that's lame :P
22:01.48cr2tell that to g1 people
22:01.54maejrep[w]:|
22:02.08maejrep[w]whats the point of having ram that can't be used? :P
22:02.23cr2i still don't get it why g1 is not raph100
22:02.23mrincred96 on diam500 too?
22:02.34*** join/#htc-linux nebi (n=nebi@170.ftth2.cust.fyrobs1.upps.se.borderlight.net)
22:03.14cr2maejrep[w]: that'll put g1 in bad light 8)
22:03.16maejrep[w]no probably 64 on raph/diam500
22:03.23j0b0ould it be possible to mount the other memory bank as a block device
22:03.37NetRipperuse it as swap
22:03.37NetRipper:)
22:03.43j0b0exactly
22:03.43maejrep[w]haha
22:03.51maejrep[w]that sounds so odd :P
22:03.51Untouchab1eNetRipper, did you see my observation?
22:03.53tmztcr2: what?
22:03.53Untouchab1eread*
22:03.54cr2j0b0: yes, but it's still silly
22:03.56NetRipperUntouchab1e, no
22:04.05Untouchab1e[22:57] <Untouchab1e> There is another thing we should do... Considering the Raph and Diamond are VGA devices, the notification area is nearly impossible to pull down with the finger, as the resolution is much higher than on the G1, meaning the area in where we can actually get a hold of the curtain is smaller
22:04.05Untouchab1e[22:57] <Untouchab1e> so if we could somehow increase the size of the grabbable area
22:04.06Untouchab1e[22:57] <Untouchab1e> if you get my meaning
22:04.07j0b0it is silly
22:04.16j0b0it was just a thought on how to actually use the ram
22:04.17j0b0as ram
22:04.22maejrep[w]mount a memory bank as a block device in order to use as swap memory which is normally bad but in this case would be normal
22:04.23cr2i had discontig mem on jornada820 working 8 years ago
22:04.42StarLitewhat reso does the G1 have btw?
22:04.47tmztyeah some ezx uses it
22:04.48StarLiteI thought it had vga as well?
22:04.51Untouchab1eIt doesnt
22:04.53NetRipperUntouchab1e, i guess it should be relatively easy.. for someone that has the android build environment setup
22:04.54cr2don't ask me why it's fucked on msm
22:05.12tmztcr2: why do you say it should be raph100?
22:05.13j0b0320x480
22:05.13cr2StarLite: half vga
22:05.18StarLitehmzz
22:05.21StarLite:(
22:05.22Untouchab1e320x480, yeah
22:05.28StarLiteI thought it had a better screen :(
22:05.36Untouchab1eHeh, the G1 isnt really good hardware wise..
22:05.39tmztbut capac psudo-multitouch
22:05.53Untouchab1eI have one right here (the ADP1), and the build quality is nowhere near the Touch Pro
22:05.54maejrep[w]yeah the capacitive touch screen is nice ;/
22:05.57tmzts/psudo/pseudo/
22:05.58lupine_85<3s raph hardware
22:06.05Untouchab1eyeah, thats the best thing about it (besides running Android)
22:06.06lupine_85the X1 didnt' speak to me either
22:06.06*** join/#htc-linux yoyey1 (n=yoann@lns-bzn-49f-81-56-185-87.adsl.proxad.net)
22:06.23cr2maejrep[w]: raph has capacitive touchscreen too :)
22:06.39tmztit does? not just the navi?
22:06.50Untouchab1ehehe, the Raph has a resistive touch screen im afraid
22:06.56Untouchab1ebut the navi, as you said, is capactive
22:06.59j0b0just the navi
22:07.04cr2tmzt: which all the money to burn@google they could have done android for raph, instead of g1
22:07.12Untouchab1ehas been thinking about how to replace it with a capactive screen :)
22:07.17tmztwe can get palm pre commands from it
22:07.19tmztmaybe
22:07.40tmzttop half of ipod touch
22:08.52Untouchab1eA Touch Pro with a capactive touch screen and Android would probably be the perfect phone for me ^^
22:08.54cr2has anybody tried to compile the wifi driver ?
22:09.28cr2Untouchab1e: that's why i'm surprised. even the normal touchscreen will suffice
22:09.39Untouchab1ewhat do you mean surprised?
22:10.13cr2Untouchab1e: that android was developed for g1
22:11.30cr2if they really wanted to beat wince to death, raph and blackstone would have been a better choice
22:11.45lupine_85cr2: where is it?
22:11.58Untouchab1eI know..
22:11.59cr2hehe, and the lame apple phone too ;)
22:12.28tmztcr2: someone is building acx100 for ba, could that work on msm?
22:12.28Untouchab1eive been talking to my brother, who works in Google and discussed why they launched Google's newborn pride, Android, on such a poorly-made handset
22:12.30cr2is there linux for 3G ?
22:12.40StarLiteTouch HD with Tp keyboard , capa screen (800x640) and Android would be perfect for me
22:12.52StarLiteI'd pay €500 for it next to my plan
22:13.04tmztcr2: for what?
22:13.07StarLiteI would REALLY want such a phone :P
22:13.12cr2StarLite: well, the main problem is the epson mddi config
22:13.21StarLite?
22:13.35cr2otherwise the HD is very similar to raph hardware-wise
22:13.39lupine_85StarLite: I wouldn't. I'd pay £100 for it, and then only if I could scrape android off ;)
22:13.41Untouchab1eHehe, StarLite, according to rumours of leaked HTC-info, a Touch HD "Pro" of sorts is going to be released soon. Possibly featuring ANdroid ^^
22:14.15cr2Untouchab1e: i find HD too big
22:14.29StarLitehehe Untouchab1e :P
22:14.40StarLitethose rumours better start to be official stuff then :P
22:14.50StarLiteor i'll be buying me an X1 or a TP :P
22:14.53cr2Untouchab1e: i also have athena, which is really big :)
22:15.03cr2but i don't use it as a phone
22:15.04maejrep[w]cr2: yeah but the navi cap sensor a) is all controlled onboard, so the data you get back is specific to the various areas of the navi, and b) isn't the full screen :D
22:15.21Untouchab1eI agree with the HD being slightly too big, but the Touch Pro suits me better
22:15.37cr2maejrep[w]: i'm more concerned why the the raph TS so lame
22:15.40AstainHellbringStarLite you may wanna wait to buy a phone
22:15.43maejrep[w]lol
22:15.51cr2is it really a wince fault, or the hw problem
22:16.03Untouchab1espeaking of the Touch Pro.. Is it possible that we would be able to make the navi work the same way i Android as in WinMo?
22:16.04*** join/#htc-linux gladiac (n=gladiac@milliways.cynapses.org)
22:16.07AstainHellbringStarLite new phones from htc will be tegra
22:16.16maejrep[w]Untouchab1e: in what sense?
22:16.20gladiacHi
22:16.29gladiacping QLandkarteGT :)
22:16.31cr2Untouchab1e: why not ? it's the same hw
22:16.51maejrep[w]we would probably make it an event input with axes, like a joystick
22:16.54cr2gladiac: availabe for arm ?
22:17.10StarLitewhen will they be released tho AstainHellbring?
22:17.12maejrep[w]and then the input driver can do whatever we want with that
22:17.16gladiacI'm looking for Oliver
22:17.18StarLitemy Hermes won;t last another 2 months im afraid
22:17.24*** join/#htc-linux MethoS (n=lem@host-091-096-212-148.ewe-ip-backbone.de)
22:17.31maejrep[w]ie, when left_area's y coordinate is in the to half, make a left button press act as Home :p
22:17.33gladiaccr2: QLandkarteM, yep
22:17.35cr2gladiac: too late
22:17.40maejrep[w]s/to half/top half/
22:17.48*** join/#htc-linux addman3333 (n=azachars@nat/sun/x-49e19c8a591cdd3c)
22:17.57StarLitethose phones from the leaked pics on that forum prolly wont be released for like 6 months im afraid
22:18.05Untouchab1eWould we also be able to make it light up on notifcations, etc?
22:18.24cr2light up ?
22:18.27maejrep[w]yes
22:18.32maejrep[w]but that's the LED control
22:18.34Untouchab1eI have no idea how that is handled in WinMo, so thats why I am asking if it would be possible in an Android port
22:18.34maejrep[w]not the navi
22:18.59cr2Untouchab1e: everything that the hw can, can be added to the software
22:19.01maejrep[w]the navi has 4 LEDs around the center "ring" which can be various luminosity
22:19.14XDso whats a good backup prog
22:19.16XDfor apps
22:19.20Untouchab1eSo it shoulndt be that big a problem getting te LED working then
22:19.33XDand contacts
22:19.44cr2Untouchab1e: once we have a working driver
22:19.45maejrep[w]no it shouldn't be
22:19.48Untouchab1eCool
22:19.49maejrep[w]^ what he said
22:20.09*** join/#htc-linux RZK333 (n=rzk@daemonet.ru)
22:20.35Untouchab1eBtw, I have uploaded a new package consisting of Balsats zImage for the Diamond. Could anyone just quickly test it and confirm it works? Have made a mess on the forums already :)
22:20.35Untouchab1ehttp://connect-utb.com/index.php?option=com_jdownloads&Itemid=58&task=viewcategory&catid=5
22:20.36maejrep[w]the way WM does the ring LED is it varies the brightness of each of the 4 LEDs to make it "breathe" from bottom to top, go in a ring like an Xbox, etc
22:20.38Untouchab1e(brb)
22:20.42maejrep[w]so we can control it to do the same thing
22:20.52Untouchab1emaejrep, would have been awesome
22:21.02maejrep[w]would have been?
22:21.07maejrep[w]if what?
22:21.13Untouchab1ethe G1's old fashioned green led just cant compete
22:21.27Untouchab1eWould be awesome if we got the LED working in Android as it does in WinMo
22:21.28maejrep[w]ah you mean if they made raph the g1? ;p
22:21.30cr2hehe
22:21.47maejrep[w]I don't see why we can't ..  in fact we can make it do all sorts of things that the windows driver doesn't do
22:21.48cr2i have 7 color leds on nc10
22:22.04StarLiteI think most people would rather have working calling functionality first tho Untouchab1e ;)
22:22.08StarLitebut I agree
22:22.08Untouchab1ehaha, off course
22:22.13maejrep[w]that's funny
22:22.16StarLitethe led thing is nice on the TP
22:22.29cr2has somebody tried the rpc/sound ?
22:22.30maejrep[w]I'm thinking first getting actual hardware to work :p  then will work on smd (calling) :p
22:22.34Untouchab1eGot to make a phonecall, brb.. If somone with a DIAM100 could just test the package i linked to and confirm it works, I would be greatfull (so that I know it works when people on teh forums are having problems)
22:22.36maejrep[w]not i
22:23.19cr2maejrep[w]: it's too high-level for me
22:23.27maejrep[w]what is?
22:23.35maejrep[w]smd?
22:23.35cr2rpc
22:23.37maejrep[w]oh
22:23.48cr2smd layout should be fixed properly
22:23.58cr2and proc_comm_dex
22:24.00cr2and clk api
22:24.12maejrep[w]yes, but it needs to basically mix the vogue code with our code so that it works on both raph100 and raph800 :/
22:24.17cr2everything that g1 has broken ;)
22:24.18maejrep[w]not as easy as it sounds (for me)
22:24.40cr2maejrep[w]: hardcoded offsets are  bad
22:24.53maejrep[w]agreed, but what do you propose? :P
22:24.59maejrep[w]I don't think it can be detected
22:25.14maejrep[w]unless we probe different areas to see if it might be correct
22:25.21cr2it can be disassembled
22:25.32maejrep[w]what can?
22:25.42cr2it's very easy to probe, actually
22:25.48maejrep[w]if the arm9 is looking at that address, that's what we have to use, no?
22:26.00cr2because each area start with a typical header
22:26.02maejrep[w]what, search for "CSQ" in smem? :D
22:26.05maejrep[w]not on raph800 :|
22:26.14*** part/#htc-linux yoyey1 (n=yoann@lns-bzn-49f-81-56-185-87.adsl.proxad.net)
22:26.17maejrep[w]raph800 does not have a header for smd0
22:26.33maejrep[w]raph800's smd is just like vogue's
22:26.44AstainHellbringbbiab time to go home
22:26.56cr2header!= text
22:27.05maejrep[w]I know
22:27.25maejrep[w]but the header only contains head and tail offsets from within the AT RX/TX buffers
22:27.30maejrep[w]not the actual location of that buffer
22:27.32cr2it's the flags+2pointers
22:27.44maejrep[w]not on raph800 :X afaik
22:27.48cr2flags are easy to detect
22:27.56cr2it is
22:27.56maejrep[w]I only saw head and tail offsets
22:28.08cr2that's how we looked for them oin kaiser
22:28.23maejrep[w]hmm, what does the flag look like?
22:28.47cr20x20000000 after the empty space
22:28.51cr2usually.
22:29.06maejrep[w]basically I'm wanting to make smd.c do its probing like usual, and only look for the weird buffers if smd0 isn't auto detected by header
22:29.17cr2dump the 0x1f area
22:29.33maejrep[w]i have
22:29.40*** join/#htc-linux yoyey1 (n=yoann@lns-bzn-49f-81-56-185-87.adsl.proxad.net)
22:30.01cr2there must be some array at a fixed place, where these offsets are stored
22:30.20cr2like it's on g1
22:30.38maejrep[w]k i'll dig deeper on that
22:30.41cr2but with a different layout probably
22:31.14maejrep[w]it's kind of weird cause vogue doesn't probe and allocate it, it only allocates the struct on _open
22:31.14cr2it'd all be in the 0x1f area
22:31.30*** join/#htc-linux Xime (n=xime@bankize.net)
22:31.31*** part/#htc-linux yoyey1 (n=yoann@lns-bzn-49f-81-56-185-87.adsl.proxad.net)
22:31.37maejrep[w]will definitely try to find an elegant way to probe it if we can
22:31.47cr2vogue is a very clever hack
22:31.54maejrep[w]i was just under the impression that it couldn't be probed because its just not easy to identify programmatically
22:31.54cr2but still a hack
22:32.04maejrep[w]its definitely easy to spot visually
22:32.09maejrep[w]but that's not what counts :)
22:32.16cr2yeah
22:32.30maejrep[w]but yeah I agree probing it would be the best way
22:32.51maejrep[w]and only if smd0 is not found during the current probe, since that works currently on raph100 :p
22:33.17cr2since they are ioremaped, there must be the offset array...
22:33.40cr2and the SMD channel names are stored at the 0x1f beginning
22:33.45maejrep[w]you don't think the WM kernel or smem driver just has them hard coded?
22:33.49maejrep[w]it hard codes everything else :P
22:33.52cr2with some bnary data behind
22:34.01*** part/#htc-linux gladiac (n=gladiac@milliways.cynapses.org)
22:34.02maejrep[w]yes, I saw that, but again that doesn't exist for raph800 or vogue :x
22:34.13cr2no, because i've looked at smd.dll
22:34.14maejrep[w]it finds other channels, but not SMD0 (which raph100 calls "DS")
22:35.02cr2strange
22:38.02cr2where is the tiacx source ?
22:40.00lupine_8529896 lupine    20   0  437m 277m 156m R   97 13.9   0:46.18 git-rev-list
22:40.14lupine_85git is insane
22:42.30*** join/#htc-linux Rogro82 (n=rogro82@s5591104d.adsl.wanadoo.nl)
22:44.12Untouchab1eback
22:47.17lupine_85wonders if dcores, tmzt, netripper, j0b0, cr2, etc would like a trac
22:51.15*** part/#htc-linux famast (n=amast@host-208-68-238-61.biznesshosting.net)
22:57.00lupine_85I guess I should take that as a no? :p
23:04.32maejrep[w]lupine_85: i don't think any of them are active :p
23:05.33lupine_85they've been highlighted now, so no excuse :D
23:05.44lupine_85(when they get back)
23:06.57cr2maejrep[w]: http://wiki.xda-developers.com/index.php?pagename=MSM_VREG
23:07.20cr2G1 VREGs
23:08.09cr2now you can see the masks
23:10.06cr2the only thing i'd like to know is the voltage units
23:11.37*** join/#htc-linux zycho (n=zycho@a89-182-29-133.net-htp.de)
23:11.48maejrep[w]cr2: does that mask have to be OR'ed with the existing value?  I'd assume not since proc comm doesn't really give us access to current values
23:11.50cr2because raph800 uses different voltages and sources for the lcd
23:12.18cr2the mask is a parameter
23:12.37cr2aT LEAST FOr the vreg_switch
23:12.57cr2need to check more for the vreg_level
23:13.12maejrep[w]right, so we only need to pass the single parameter, not ORed with anything
23:13.23maejrep[w]can we combine two calls into one by ORing the values?
23:14.57cr2don't think so
23:15.26cr2you can also check your traced values
23:15.27maejrep[w]k, I don't think the camera or SD do that
23:15.31maejrep[w]right
23:15.41maejrep[w]camera sends two separate commands
23:15.50cr2we need some more crossreferences between the pages
23:16.12*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
23:16.19maejrep[w]like a [TOC] :p
23:16.48cr2there are some really strange things there
23:16.52maejrep[w]so cr2 you think these are ready to be used?  or are there any bugs or unexpected results we might see?
23:17.06cr2the gp6 aka BT is used to power the SD :)
23:17.18maejrep[w]o.0
23:17.31maejrep[w]and mmc powers wifi iirc
23:17.33cr2and mmc for wifi
23:17.36cr2on g1
23:17.36maejrep[w]:p
23:17.53cr2but on titan the mmc is used for SD
23:17.55cr2no wifi
23:18.48cr2it probably depends on the controller port
23:19.10cr2that's why i need such SD controller usage table
23:19.33maejrep[w]what do you want me to try first?  :p  ie, do we need to setup the sd card to use it?  it works currently, but is that only because its already setup from windows?
23:19.36cr2maejrep[w]: i've done my best, and it looks good for me. but ymmv
23:20.05cr2sd works on raph ?
23:20.11maejrep[w]yes
23:20.15maejrep[w]sd card that is
23:20.18cr2strange :)
23:20.25maejrep[w]why strange?
23:20.36cr2the sd clock setup is so convoluted
23:20.56maejrep[w]it works with lavender's patch to sdcc
23:21.29cr2that should be done properly some time
23:21.49maejrep[w]i can give it a shot but last time I touched the sdcc code, it blew up :)
23:21.51cr2it should be the sane clock api, not the hardcoded table
23:22.08cr2what else can we check ?
23:24.56cr2you can't check lcd, because you have different values
23:25.32maejrep[w]wifi? :P
23:25.43cr2why not :)
23:25.46AstainHellbringphone?
23:25.53cr2remove the power
23:26.19cr2you can't check powerup, because we don't have the driver
23:26.44cr2for wifi
23:27.05cr2and there is no port matrix
23:27.28maejrep[w]so what would I see if I remove power?
23:27.31maejrep[w]you mean in linux right?
23:27.48maejrep[w]wouldn't want to send random proc comm commands in windows ;)
23:27.52cr2hmm
23:28.15cr2lcd will be the best
23:28.25maejrep[w]to power it off?
23:28.32cr2but i don't have your values on the list
23:28.33maejrep[w]but won't work on 800, right?
23:28.49maejrep[w]can I just trace turning lcd on and off?
23:28.56maejrep[w]didn't I already add that to the pcom page?
23:28.59cr2try to disable the 'a'
23:29.07cr2hmm
23:29.25maejrep[w]<PROTECTED>
23:29.26maejrep[w]<PROTECTED>
23:29.34maejrep[w]I added one of those I think
23:29.36maejrep[w]not sure which
23:29.51cr2which wince ids are that ?
23:30.04maejrep[w]0x15, 0x16 ?
23:30.07maejrep[w]pcom
23:30.30cr20x4000 is SYNT
23:30.58cr20x400000 is AUX2 aka gp5
23:31.15maejrep[w]i think thats what i get when turning off the lcd
23:32.20cr2'a' and 8
23:32.47cr2raph100 has 'a' 'b' and 4
23:33.37cr2so send the kill to a and 8 (your masks)
23:34.52lupine_85win 2
23:41.51maejrep[w]cr2: so you mean in linux, send 'a' and 8 to the vreg_off command, and see if it turns off the display?
23:50.48cr2yes
23:51.05maejrep[w]k i'll add that to my todo list :P
23:51.33lupine_85fails generically at creating a git:// repo
23:52.05maejrep[w]i've never touched git except to checkout ;x
23:52.29lupine_85linuxtogo git is so slow
23:52.34lupine_85I can't cope :D
23:52.42lupine_85so I shall has my own
23:52.57*** join/#htc-linux Balsat (n=kll@87.72.13.87)
23:53.12lupine_85(need it for the autobuilding anyway, might as well export it via git://)
23:54.19cr2lupine_85: where is the tiacx source ?
23:54.33lupine_85I don't know
23:55.01maejrep[w]http://acx100.sourceforge.net/
23:55.02maejrep[w]:D
23:55.22maejrep[w]going home
23:56.08lupine_85woo :)
23:56.45lupine_85humm, still with the broken
23:57.23cr2not this one ?
23:58.08lupine_85(git://)

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