IRC log for #htc-linux on 20090709

00:27.31*** join/#htc-linux stickboy (n=anonymou@ool-457e4101.dyn.optonline.net)
02:12.23*** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
02:40.34*** join/#htc-linux methril|work (n=Methril@213.27.233.98)
02:56.23*** join/#htc-linux darkstar62 (n=darkstar@97-126-107-190.tukw.qwest.net)
03:08.31*** join/#htc-linux mrmoku|a` (n=mrmoku@ppp-93-104-34-49.dynamic.mnet-online.de)
03:24.58*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)
04:17.56*** join/#htc-linux goxboxlive (n=jrs@mail2.hjellnesconsult.no)
04:25.46*** join/#htc-linux Shinto (n=John@78.48.115.66)
05:08.59*** join/#htc-linux droid001 (n=mc@79.220.228.45)
05:55.03*** join/#htc-linux stickboy (n=anonymou@ool-457e4101.dyn.optonline.net)
06:30.10*** join/#htc-linux Howler_ (n=wwolfe@99-188-39-169.lightspeed.iplsin.sbcglobal.net)
06:33.12*** join/#htc-linux kiozen (n=oeichler@p54921485.dip0.t-ipconnect.de)
06:47.41*** join/#htc-linux ionblue (n=ionblue@213-127-09.netrunf.cytanet.com.cy)
07:33.55Aivhello
07:35.41Aivwhat does is mean "lid" or "lid switch" ? this i optical pad (D-PAD) ?
07:36.51tcccpo.O
07:37.02tcccpAiv: I'd suspect it's the lid of a notebook
07:37.52Aivok but i dont know what does it mean 'lid' :)
07:38.10tcccpWe're talking about...notebooks aren't we?
07:38.55Aivhtc raphael have lid switch
07:39.30tcccpThey can be folded?
07:40.02Aivhmm, yes
07:40.35Aivthis is something connected with folding?
07:40.37tcccpok, in this case I think the lid switch tells acpi that it has been folded
07:40.54tcccpWith Gentoo You can program default.sh what to do in such a case
07:42.43Aivok, so in this case what does it mean "keyboard slider" ? i thought lid was a keyboard slider.
07:42.59tcccpuum...well..
07:43.08tcccpMaybe I should have a picture of that ~phone
07:43.34tcccpMy Sharp Zaurus SL-5500G has a hidden keyboard you can slide out
07:43.42Aivin gpio 38 (http://htc-linux.org/wiki/index.php?title=Raphael_GPIO) thay use "keyboard slider" but in sourcecode i can fine two different names slider and lid
07:44.11Aivhttp://www.phonewreck.com/wiki/index.php?title=HTC_Touch_Pro
07:44.32Aivthis names comes from htc raphael ^^
07:44.53tcccpNow I'm confused
07:45.20tcccpCan you somehow have some debugging code in your acpi scripts that tell exactly what it sees if you slide out/in the keyb?
07:45.34Aivw8 phone ;]
07:51.07*** join/#htc-linux ptitjes_ (n=didier@gov91-1-82-234-90-22.fbx.proxad.net)
07:57.21*** join/#htc-linux rodpod (n=rod@74-133-38-196.dhcp.insightbb.com)
08:00.02tmzttcccp: acpi?
08:00.09tmzthello again
08:00.50tcccpacpi...apm...
08:01.08tcccpI sometimes forget that embedded devices use not to have acpi
08:01.21tmzt5500 has a slide out keyboard
08:01.22tmzt?
08:01.34tmztI thought the cover slides
08:01.53tcccpErrrm....
08:02.00tcccpRight %)
08:02.14tcccpI should use it more often
08:02.46tmzthaven't used it in years
08:02.50Aivre
08:02.51tmztjust remeber
08:03.09tmztwhat is "re"?
08:03.21tmztok, lid switch is a generic name
08:03.23tcccpI've spent the night doing some other stuff than sleeping
08:03.27tmztit's the slider
08:03.28tcccpre is a latin prefix
08:03.39tmztyes
08:03.46Aivtmzt AFAIK someling like: i'm back
08:03.53tmztbut why do you keep saying it
08:03.54tmztok
08:04.29Aivok so slider and lid is the same ?
08:04.31tmztSW is the input device type for switches
08:04.33tmztyes
08:06.02Aivok i'm asking because slider in kovsky working on keyboard gpio. in raphael there is special gpio for slider.
08:07.01tmztkeyboard gpio?
08:07.51Aivmicrop-keyboard workin on one gpio/irq
08:07.52*** join/#htc-linux Echo31 (n=echo31@alt84-1-78-229-96-50.fbx.proxad.net)
08:08.14tmztmaybe it's handled by ksc
08:08.24tmztyeah
08:08.32tmztthis something new
08:08.40tmztthis is something new
08:09.09tmztif every key and slider trigger that gpio it must be an event
08:09.42tmztremoe the request_irq and just ignore it for now
08:10.12tmztit will need to be a new microp client driver I think
08:10.20Aivhmm i will check with cat /dev/input/event2 (keyboard events) is there is something when i open keyboard
08:11.07tmztok
08:11.13tmzttry that
08:11.14Aivraphael have optical pad?
08:11.25tmztno
08:11.28tmztnavi
08:11.50tmztyou and xsacha need to work on that
08:12.13Aivwhat is difference?
08:13.05tmztnavi is capac. surface
08:13.11tmztwith buttons
08:13.28tmztdoes optical trigger the same gpio?
08:14.03tmztcan you tell me the version numbers when you boot the phone in bootloader?
08:14.17Aivyes, i have special one for d-pad (optical pad)
08:14.40tmztwhat's it called?
08:14.40Aivhmm what version numbers? from haret?
08:14.45tmztno
08:14.55Aivw8 i will connect phone to haretconsole
08:15.04tmztreboot phone
08:15.16tmztlike you are going to flash
08:15.46Aivaa, ok but i never do that and i dont know key combination
08:16.02tmztlook it up
08:16.42Aivwhen i move finger on d-pad i have in console:
08:16.42Aiv001.944 GPIOS in2: in2-0(224)=0
08:16.42Aiv002.179 GPIOS in2: in2-0(224)=1
08:17.14tmztyou need to trace i2c
08:17.27tmztit's not easy
08:18.15Aivcould you give me some information how can i do that, or where/what i need to search for?
08:18.29tmztsearch the logs
08:18.50tmztmicrop i2c etc.
08:18.56Aivok
08:18.59tmztand maejrep
08:20.25Aivwhat is default key combination for flashing ?
08:20.49tmztcamera
08:21.01*** join/#htc-linux MethoS (n=clemens@host-091-097-240-154.ewe-ip-backbone.de)
08:21.04tmztbut se could be different
08:21.17Aivjust hold it down when phone boots?
08:21.25tmztyes
08:21.39tmztcheck though
08:21.58tmztdon't want you to hard reset or anything
08:24.20Aivcamera don't working
08:24.25Aivi will check at xda forum
08:29.43AivImage version: 1.03.925.11
08:29.46Aivthis one?
08:30.27tmztthe microp versions
08:30.37tmztraph reports them in spl
08:32.12Aivthis is version from spl, there is no other numbers
08:32.49Aivjust clieck next 2 times, and before "Update" button i have only this version
08:33.54tmzton the phone
08:33.58tmztnot ruu
08:34.14Aivk, i don't key combination
08:34.16Aivsearching again
08:37.13Aivhave it !
08:37.17AivKOVS110
08:37.26AivSPL-0.72.0000
08:37.32AivMicroP1-787
08:37.36AivMicroP2-707
08:37.56*** join/#htc-linux g55 (n=g55@rgnb-5d87c7a8.pool.einsundeins.de)
08:38.01tmztok
08:38.18tmztyou need to talk to cmonex
08:38.39tmztshe knows this thing pretty well I think
08:38.41*** join/#htc-linux KindofBlue (n=KindofBl@rgnb-5d87c7a8.pool.einsundeins.de)
08:38.42*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
08:38.50tmztSquarc: not yet
08:39.07tmztcr2 is on vacation now
08:39.28Aivtmzt ok, i will ask cmonex
08:50.26Aivtmzt thx for help, it's time to go to work right now
08:51.25AivYesterday i was working on patch for microp-keyboard to switch keymap when u hold down KEY_FN or KEY_LEFTALT
08:51.52Aivi thing this is a good solution for my keyboard
08:53.09tmztkernel keymap would be better
08:54.38Aivi dont know how to do this, but i will check ;]
08:55.10Aivbtw cat /dev/.../eventX (keyboard event) is not responding when i use slider
08:55.51tmztok
09:00.17Aivabout keymaps: you talking about keymap translation file used by loadkeys ?
09:00.27Aivor keymap in kernel source ?
09:01.17tmztloadkeys
09:02.31Aivk, so that was my last question till 17:00 CET ;]
09:02.37Aivths for help
09:03.35*** join/#htc-linux tuxhero (n=tuxhero@58.68.74.83)
09:08.11tuxherotmzt: hi
09:09.11tmzthello
09:21.42*** join/#htc-linux Captnoord (n=Captnoor@145.74.181.155)
09:34.23*** join/#htc-linux ptitjes_ (n=didier@gov91-1-82-234-90-22.fbx.proxad.net)
09:47.39*** join/#htc-linux MethoS- (n=clemens@host-091-097-241-087.ewe-ip-backbone.de)
09:55.09*** part/#htc-linux droid001 (n=mc@79.220.228.45)
10:02.10*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
10:17.10*** join/#htc-linux g55 (n=g55@rgnb-5d87c7a8.pool.einsundeins.de) [NETSPLIT VICTIM]
10:17.10*** join/#htc-linux Shinto (n=John@78.48.115.66) [NETSPLIT VICTIM]
10:17.10*** join/#htc-linux madCoder- (n=madcoder@c-71-225-60-178.hsd1.pa.comcast.net) [NETSPLIT VICTIM]
10:17.10*** join/#htc-linux nrirclog (n=nrirclog@netripper.com) [NETSPLIT VICTIM]
10:17.10*** join/#htc-linux descention (n=Descenti@acm.pct.edu) [NETSPLIT VICTIM]
10:17.10*** join/#htc-linux Dinde (i=kayser@sur-internet.net) [NETSPLIT VICTIM]
10:17.10*** join/#htc-linux Dindon (i=Euroserv@193.27.79.0) [NETSPLIT VICTIM]
10:17.10*** join/#htc-linux Perkka (n=perkka@ua-83-227-207-92.cust.bredbandsbolaget.se) [NETSPLIT VICTIM]
10:17.21*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl) [NETSPLIT VICTIM]
10:17.21*** join/#htc-linux Captnoord (n=Captnoor@145.74.181.155) [NETSPLIT VICTIM]
10:17.21*** join/#htc-linux tuxhero (n=tuxhero@58.68.74.83) [NETSPLIT VICTIM]
10:17.21*** join/#htc-linux rodpod (n=rod@74-133-38-196.dhcp.insightbb.com) [NETSPLIT VICTIM]
10:17.21*** join/#htc-linux mrmoku|away (n=mrmoku@ppp-93-104-34-49.dynamic.mnet-online.de)
10:17.22*** join/#htc-linux methril|work (n=Methril@213.27.233.98)
10:17.22*** join/#htc-linux Guest48782 (n=fnord@24-151-90-116.static.nwtn.ct.charter.com) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux kri5 (n=kri5@cowdy.vlmc.org) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux ecze (n=ecze@eczema.ecze.com) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux jensen (n=jensen@3905ds1-ksa.0.fullrate.dk) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux dream_kill (n=nospam@89.131.127.37) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux Amaranth (n=travis@ubuntu/member/Amaranth) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux Aiv (n=aiv@office.mdsoftware.pl) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux Miek (n=mike@unaffiliated/mikechml) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux SOG (n=IamSOG@218.20.221.105) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux |Jason8| (i=JayAte@server1.tiltshellz.org) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux furtardo (n=mks@nat/yahoo/x-e8d9e89d4c24b80e) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux rzk_ (n=rzk@daemonet.ru) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux infernix (i=nix@unaffiliated/infernix) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux marex (n=marex@thor.hackndev.com)
10:17.22*** join/#htc-linux NetRipper (n=netrippe@netripper.nl) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux parmaster (i=par@dipole.idlepattern.com)
10:17.22*** join/#htc-linux Dunedan (n=dunedan@phoenitydawn.de) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux cmonex (n=xy6091@tuhre5zz6u.adsl.datanet.hu) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux toer (i=tore@179.81-166-86.customer.lyse.net) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux tcccp (i=hey@2001:470:c926:666:666:666:666:666) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux the_sys0p (n=the_sys0@cpe-67-49-192-228.bak.res.rr.com) [NETSPLIT VICTIM]
10:17.22*** join/#htc-linux UnknownArtists (n=unknown@84.19.198.72) [NETSPLIT VICTIM]
10:17.23*** join/#htc-linux Funklord (n=cow@c-e1d571d5.014-46-73746f28.cust.bredbandsbolaget.se) [NETSPLIT VICTIM]
10:17.23*** join/#htc-linux toi (n=pleemans@d5153128F.access.telenet.be)
10:17.23*** join/#htc-linux tmzt (n=tmzt@adsl-99-164-52-98.dsl.akrnoh.sbcglobal.net)
10:17.23*** join/#htc-linux Red_Devil (n=red@lounge.datux.nl) [NETSPLIT VICTIM]
10:17.23*** join/#htc-linux shoragan (n=shoragan@debian/developer/shoragan) [NETSPLIT VICTIM]
10:17.39*** join/#htc-linux ChanServ (ChanServ@services.)
10:17.39*** join/#htc-linux MethoS- (n=clemens@host-091-097-241-087.ewe-ip-backbone.de) [NETSPLIT VICTIM]
10:17.39*** join/#htc-linux kiozen (n=oeichler@p54921485.dip0.t-ipconnect.de) [NETSPLIT VICTIM]
10:17.39*** join/#htc-linux IceBone (n=IceBone@89-212-106-54.dynamic.dsl.t-2.net) [NETSPLIT VICTIM]
10:17.39*** join/#htc-linux Tinyboom (n=nahh@214.80-202-154.nextgentel.com) [NETSPLIT VICTIM]
10:17.39*** join/#htc-linux Kevin2 (n=Kevin2@207-237-194-161.c3-0.avec-ubr2.nyr-avec.ny.cable.rcn.com) [NETSPLIT VICTIM]
10:17.39*** join/#htc-linux j0b0 (n=jobo@5ED40048.cable.ziggo.nl) [NETSPLIT VICTIM]
10:17.39*** mode/#htc-linux [+o ChanServ] by irc.freenode.net
10:18.15*** join/#htc-linux DJWillis (i=djwillis@82.46.19.72)
10:21.27*** join/#htc-linux MLM (n=mlvdmeid@5ED0BCBD.cable.ziggo.nl)
10:21.42*** join/#htc-linux mickey|ICE277 (n=M@92.116.195.85)
10:29.48*** join/#htc-linux ChanServ (ChanServ@services.)
10:29.48*** join/#htc-linux MethoS- (n=clemens@host-091-097-241-087.ewe-ip-backbone.de) [NETSPLIT VICTIM]
10:29.48*** join/#htc-linux kiozen (n=oeichler@p54921485.dip0.t-ipconnect.de) [NETSPLIT VICTIM]
10:29.48*** join/#htc-linux IceBone (n=IceBone@89-212-106-54.dynamic.dsl.t-2.net) [NETSPLIT VICTIM]
10:29.48*** join/#htc-linux Tinyboom (n=nahh@214.80-202-154.nextgentel.com)
10:29.48*** join/#htc-linux Kevin2 (n=Kevin2@207-237-194-161.c3-0.avec-ubr2.nyr-avec.ny.cable.rcn.com) [NETSPLIT VICTIM]
10:29.48*** join/#htc-linux j0b0 (n=jobo@5ED40048.cable.ziggo.nl) [NETSPLIT VICTIM]
10:29.48*** mode/#htc-linux [+o ChanServ] by irc.freenode.net
10:50.37*** join/#htc-linux mickey|ICE277 (n=M@92.116.195.85)
11:15.29*** part/#htc-linux Captnoord (n=Captnoor@145.74.181.155)
11:19.56*** join/#htc-linux KindofBlue (n=KindofBl@93.135.199.168)
11:26.28*** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
11:58.01*** join/#htc-linux ionblue (n=ionblue@213-127-09.netrunf.cytanet.com.cy)
11:58.04*** join/#htc-linux mickey|train (n=M@92.117.186.90)
12:02.26*** join/#htc-linux goxboxlive (n=goxboxli@170.84-48-184.nextgentel.com)
12:04.31*** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
12:59.15*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)
13:03.03*** join/#htc-linux solerant-dc (n=kamikaze@adsl-99-174-146-158.dsl.hstntx.sbcglobal.net)
13:09.08*** join/#htc-linux m0zzie_ (n=m0zzie@203-206-130-101.perm.iinet.net.au)
13:31.38*** join/#htc-linux mickeyl (i=mickey@openmoko/coreteam/mickey)
13:46.39*** join/#htc-linux MethoS-- (n=clemens@dyndsl-085-016-161-211.ewe-ip-backbone.de)
13:47.00*** join/#htc-linux ionblue (n=ionblue@213-127-09.netrunf.cytanet.com.cy)
13:49.32*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
14:17.16*** join/#htc-linux bookix (n=boucques@d54C570C3.access.telenet.be)
14:32.55*** join/#htc-linux sdt555 (n=titus@147.145.40.44)
14:50.39*** join/#htc-linux ALF (n=ALF@194.78.178.242)
14:50.50*** part/#htc-linux sdt555 (n=titus@147.145.40.44)
14:51.22*** join/#htc-linux Captnoord (n=Captnoor@145.74.181.155)
14:51.27*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
14:52.37AstainHellbringmorning
14:53.04Aivhi
14:53.10Captnoordyo
14:53.17CaptnoordAiv how ya doing?
14:53.38AivCaptnoord i just working on keymap for my phone
14:53.56Captnoordand finished?
14:53.57Captnoordor
14:54.01Captnoordneed to rework it
14:54.39Aivpatch for driver is done, no i'm start editing keymap for "loadkeys" program
14:54.48Captnoordnice nice nice
14:54.49Captnoord:D
14:55.04Captnoordgj
14:55.12Captnoord1 week.... and then I will be finished
14:55.20CaptnoordI extended my schedual
14:55.23Captnoordwith 1 week
14:55.27Aivbut at last i can write something under linux without magnifying glass ;]
14:55.35Captnoordhehehehehehehe
14:55.37Captnoordthats nice
14:55.52Aivrealy, something (at 2-3 AM) i used bg magnifying glass to read dmesg ;]
14:55.53Captnoordevery bit of progress is something
14:56.01Captnoordhehe
14:56.06Aivbecause i dont have any write access to dump it and read under pc
14:56.16CaptnoordI see
14:56.39Captnoordyea... everything starts very limited and your happy that you can print to the screen
14:56.44Captnoordno matter how small it is
14:56.52Aivyea
14:57.35CaptnoordI wish I could finish this school stuff because I am really tired of this. Thank god I had a relatively good productive day.
14:58.31Aivhehe, yeasturday i stayed at home and work on kernel
14:58.38Captnoordnah I can't
14:58.45Aiv;]
14:58.51CaptnoordI wish cr2 would be happy if I would do something like that
14:59.31Captnoordhehe
14:59.32Aivdo u know who can push commits on htc-msm branch ?
14:59.47Captnoordcouldn't tmzt?
15:00.16Captnoordsoooo tired of waiting
15:00.17Captnoordhttp://pastebin.com/mac69eae
15:00.17Aivin few days i will have first version of my xperia patch
15:00.18Captnoord:S
15:00.24Captnoordcongratulations
15:00.52CaptnoordI received 4 G of ram yesterday for my laptop
15:00.58Captnoordand its the best thing I have bought for a long time
15:01.01Aiv;]
15:01.04Captnoordeven as it was so cheap
15:01.14Captnoordless swapping stuff
15:01.26Captnoordcurses windows
15:01.28*** join/#htc-linux miknix_ghost (n=miknix@81.193.90.200)
15:01.30Aivi bought my laptop 3 months ago so i have 4gb inside
15:01.38Captnoordmine is 2 years old
15:01.41Aivon my pc i have 8
15:01.46Aivand 5tb hdd ;]
15:01.49Captnoordhehe
15:02.03Captnoordnah I bought this laptop as a desktop replacement
15:02.11Captnoordas it serves its purpose well
15:02.55Captnoordif only I could take a break.....
15:02.56Captnoordnah
15:02.58Captnoord1 week
15:03.01Captnoordand then
15:03.05CaptnoordI can clean my room
15:03.15Captnoordand will do some work on the rpc stuff
15:03.20Aiv;]
15:03.51Aivomg, i have nano on my phone ;]
15:04.13Captnoordhehe.....
15:04.43Captnoord10 minutes I will head for the train
15:04.44Captnoord:D
15:04.47Aivtoday evening i will have my camera and make some photos ;]
15:04.53Captnoordhehe
15:05.03Captnoordplease do so... i'm interested :D
15:05.26Captnoordbtw I love the way phone company's are moving towards opensource
15:05.27Captnoord:D
15:05.36Captnoordnot far anough yet
15:05.36Captnoordbut
15:05.38Captnoordits a start
15:07.11Aiveveryday life is linux for me (among other things i'm linux administrator) so when i got next device with linux - couldn't be better ;]
15:07.41Captnoordyup
15:07.54Captnoordnah i'm a generic guy trapped in a world between windows and linux
15:07.55Captnoord:S
15:08.55Aivparadoxically i dont have linux only machine at home ;]
15:09.15Aivi'm working on windows (pc and lap)
15:10.58Captnoordhehe
15:11.18Captnoordanalyse time is big on this one:S
15:11.42Captnoord4 minutes remaining and I will pause it
15:14.41*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87cdf7.pool.einsundeins.de)
15:15.58Captnoordtalk to ya later
15:16.29Aivk
15:21.30*** join/#htc-linux LanceHaig (n=lanceh@foresight/member/lhaig)
15:27.26*** join/#htc-linux JuNu_KN (n=chatzill@84.154.163.229)
15:35.41*** join/#htc-linux Echo31 (n=echo31@alt84-1-78-229-96-50.fbx.proxad.net)
15:39.05*** join/#htc-linux raheem (n=Raheem@212.102.4.237)
16:39.23*** join/#htc-linux Squarc (n=Squarc@145.81.0.31)
16:57.55*** join/#htc-linux Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
17:00.53*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)
17:05.03*** part/#htc-linux DrGhoul (i=ghoul@gateway/shell/blinkenshell.org/x-2a925735ef4c5428)
17:10.07*** join/#htc-linux jaSOnGg (n=IamSOG@202.105.77.6)
17:14.01LanceHaigHas anyone had issues with sound on the kaiser Tytan II running the android 1.5 image ?
17:26.14AivCaptnoord wb
17:26.56AivCaptnoord i just found irq event when i open keyboard
17:30.36*** join/#htc-linux ionblue (n=ionblue@93.109.79.34)
17:41.37*** join/#htc-linux AstainZZZZZZ (n=AstainHe@unaffiliated/astainhellbring)
17:50.38*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
17:55.32*** join/#htc-linux stefan_schmidt (n=stefan@p5B036E9E.dip.t-dialin.net)
17:56.28AstainHellbringhows it going in here?
18:04.08CaptnoordAiv maybe to suspend the keyboard driver
18:04.47Aivi'm now learning how to read and use irq
18:04.57Aivwe will see what is there in 5 minutes
18:06.58*** join/#htc-linux MLM (n=mlvdmeid@meide.xs4all.nl)
18:14.07Aivehh 3 boots, 3 crached ;[
18:14.52Aivsometimes fb, sometimes calibrating delay loop, sometimes initrd ;[
18:20.06Captnoordre
18:20.09Aivol yea, i found it
18:20.13Captnoordand thats related to your changes?
18:20.14Captnoordgood
18:20.35Aivwhen clammshell is open i have \x00\x80\x00\x00\x00\x00
18:20.49Aivwhen i closed \x00\x00\x00\x00\x00\x00
18:21.10Captnoordhehe thats a nice one
18:21.11Captnoord:D
18:21.24Captnoordyou get that irq 2x
18:21.27Captnoordonce when you open it
18:21.32Captnoordand once when you close it?
18:22.33Aivyes
18:22.52Aivmicrop-ksc.c:
18:22.52Aiv//TODO: Find out what channel 0x11 is for
18:22.53Aivmicropksc_read(client, MICROP_KSC_ID_MODIFIER, buffer2, 2);
18:23.05Aivthis is for my clamshell ;]
18:23.25Aivbut author didn't know that and ignore buffer after this reading
18:23.44Captnoordbut... I don't think that irq is only used for the clambshell
18:23.49Captnoordas you have more flags
18:23.52Captnoordlike 31 left
18:24.11Aivi have one irq for whole keyboard and clammshell
18:24.17CaptnoordI see
18:24.21Captnoordperfect
18:24.30Aivfirst 8 bits is key, second is clamshell status
18:25.07Aivs/bits/bytes/
18:25.09Aiv;]
18:25.38Captnoordhehe
18:26.37Captnoordi'm so tired of waiting on this simulation..... it really is happy with my memory upgrade....
18:26.48Captnoordas total simulation time per frequency is down to 6 hours
18:26.49Captnoord:(
18:26.54Captnoordstill a lot
18:26.55AstainHellbringouch 6 hours
18:27.17Captnoordyup
18:28.22Captnoordand I think there are 8 frequencies if it doesn't have to calculate resonance frequencies.... which I don't think so because the first order resonance frequency is on 0.03 Ghz
18:28.22Captnoordand my simulation runs from 0.3 gh to 3 ghz
18:28.43Captnoordso about 3e order......
18:28.48Captnoord0.3 * 3 = 0.9
18:28.52Captnoordnope
18:28.54Captnoordi'm wrong
18:28.55Captnoordits even better
18:28.56Captnoord:D
18:29.02Captnoord0.3 / 0.03
18:29.03Captnoord10
18:29.04Captnoordnice
18:31.08Aivmaybe this is stupid question but i will try ;] :
18:31.17Aivthis is char initializing: char buffer[8] = "\0\0\0\0\0\0\0\0";
18:31.39Aivhow can i write \0\0\0\0\0\0\0\0 to buffer in code?
18:32.49Aivbuffer="\0\0\0\0\0\0\0\0" not working, because this is a array
18:33.01Captnoord?
18:33.18Captnoordlong long buffer = 0;
18:33.29Captnoord(const char*)&buffer
18:33.48Captnoordor what do you mean?
18:34.09Aivi will show you the code
18:34.10Aivmicropksc_read(client, MICROP_KSC_ID_SCANCODE, buffer, 2);
18:34.10Aivkey = buffer[0] & MICROP_KSC_SCANCODE_MASK;
18:34.10Aivisdown = (buffer[0] & MICROP_KSC_RELEASED_BIT) == 0;
18:34.10Aiv//TODO: Find out what channel 0x11 is for
18:34.10Aivmicropksc_read(client, MICROP_KSC_ID_MODIFIER, buffer, 2);
18:34.22Aivin second reading buffer have values from first reading
18:34.25Aivi need to clear it
18:34.34Aivfill it with 8x\0
18:34.37Captnoordhehe
18:34.38Captnoordmemset?
18:34.45Captnoordbut you can also typecast it
18:34.59Aivmemset, that's it
18:35.00Captnoord((long long)buffer) = 0;
18:35.02Captnoordor something
18:35.04Aivwhat i'm looking for
18:35.10Captnoordmemset isn't as fast as you think
18:35.17Captnoordusing the stack is usualy faster
18:35.25Captnoordits faster if you just simply would do
18:35.29Captnoordbuffer[0] = 0;
18:35.33Aivok, so i will use typecast
18:35.37Captnoordor
18:35.59Captnoordas its 32 bits.... and that would result in 2x a mov of a 32 bits register
18:36.01Aivi don't whant to write: buffer[0] = 0; buffer[1] = 0; buffer[2] = 0; ... ;]
18:36.04Captnoordhehe
18:36.05CaptnoordI know
18:36.13Aivs/whant/want/
18:36.40Captnoordhehe
18:37.10Captnoord(*(( long long* )buffer)) = 0;
18:37.14Captnoordits something like that I think
18:37.23Captnoordas buffer is a char * buffer
18:37.31Captnoordtypecast it to long long
18:37.34Captnoordas I hope it 8 bytes
18:37.36CaptnoordI dono
18:37.39Captnoordits diff per platform
18:37.56Aivbeautiful syntax ;] i just love C
18:38.11Captnoordhehe
18:38.19Captnoordits evil.... i'm sure there are some nicer ways
18:38.26Captnoordyou can also typecast it to a structure
18:38.29Captnoordand use that
18:38.35CaptnoordI dono what is cleaner
18:38.51CaptnoordI usualy try to keep things clean and easy to read
18:39.23Aivok for test i will use (*(( long long* )buffer)) = 0;, if clammshell works i will find better way
18:39.55Aivmaybe author will patch his driver himself ;]
18:39.59Captnoordhheeheh
18:40.01Captnoordlets hope so
18:40.02Captnoord:P
18:40.39Aivi he will se my code, we have 100% that he will do ;]
18:41.01Captnoordhehe
18:41.09Captnoordbrb gonna play some overlord 2
18:41.33Captnoordfirst game I liked in a long time
18:41.50Aivhf
18:49.01*** join/#htc-linux tossy (n=tossy@80.125.173.91)
19:09.47*** join/#htc-linux dcordes (n=luke@unaffiliated/dcordes)
19:30.11*** join/#htc-linux StarLite (n=nnscript@s55916ca6.adsl.wanadoo.nl)
19:43.56*** join/#htc-linux droid001 (n=mc@p4FDCE42D.dip.t-dialin.net)
19:47.09*** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
19:57.22*** join/#htc-linux [2]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
20:00.04*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
20:06.26*** join/#htc-linux ptitjes (n=didier@gov91-1-82-234-90-22.fbx.proxad.net)
20:17.10tmztAiv: cool, so you need to add that modifier to pdata somehow
20:17.28tmztmaejrep[w]: madco: have a minute?
20:18.13tmztbut forget about irq, it's not a gpio, let the i2c chip driver handle it
20:18.38Aivtmzt pleas tell me, you are reffer to with message ? ;]
20:19.08Aivs/reffer/refer/
20:20.40tmztmessage?
20:20.55tmztthe clamshell
20:21.05Aivaa clamshell
20:21.08Aivi just done
20:21.10tmztif it's a bit in the modifier on ksc
20:21.19Aivi made patch for microp-ksc
20:21.27Aiv//TODO: Find out what channel 0x11 is for
20:21.27Aivmicropksc_read(client, MICROP_KSC_ID_MODIFIER, buffer, 2);
20:21.27Aivclamshell = (buffer[1] & MICROP_KSC_RELEASED_BIT) == 0;
20:21.33Aivlast line
20:21.53tmztI mean don't trap the irq yourself
20:21.59Aivautor read only first byte to convert it to keycode and isdown
20:22.26Aivnow i know, i'm still learning :)
20:22.36tmztwe need to keep ksc generic, that's why I said add it to pdata
20:22.47tmztyou shouldn't need the whole buffer
20:23.02tmztjust read the byte you actually use
20:23.06tmztclear it
20:23.10tmztand write it back
20:23.29tmztactually, just test the bit you actually use
20:23.37Aivhmm give mi a sec
20:23.45tmztreport to userspace as SW_LID
20:23.46Aivmicrok-ksc read data from irq
20:23.56*** join/#htc-linux ali1234 (n=al@robotfuzz.co.uk)
20:24.01tmztinput_report_key
20:24.07tmztno it doesn't
20:24.25tmztit reads from i2c when the i2c host driver gets irq
20:24.39tmztinput_report_switch sorry
20:24.42Aivyep
20:25.13tmztyou don't need to do anything with the irq
20:25.26Aivw8 w8 w8 ;]
20:25.30tmztthe same as maejrep checks is-down
20:25.38Aivi'm thing slowly right now
20:25.42tmztyou check lidswitch bit
20:26.14Aivmicrop-keypad get onyl key value from microp-key
20:26.43Aivso how can i check bit value at microp-keypad?
20:26.51tmztyou really need to write microp-switch or -gpio driver
20:27.13tmztfind the i2c byte address of the status byte you need
20:27.27tmztI think maejrep calls them channels
20:27.28Aivbut my slider is integrated with keyboard, so i need to write other driver?
20:27.42tmztfor now just add it to keypad
20:27.48tmztso you can see how
20:28.35Aivi know that u want to keep microp-ksc generic, but author of this driver didn't know what he read
20:28.39tmztthere should be two bits
20:28.43Aivbecause other phones have special gpio for slider
20:28.49Aivmy phone dosen't
20:29.06Aiv"//TODO: Find out what channel 0x11 is for" this is comment from this driver
20:29.29tmztone is to tell you the slider has changed, the other should tell you the value
20:29.32tmztyes, I know
20:29.38tmztwe can do that later
20:29.57tmztbut you don't need to read the whole buffer
20:30.09tmztjust the byte with your bit/bits in it
20:30.29Aivok i understand that
20:30.43Aivso where i need to place my code? "clamshell = (buffer[1] & MICROP_KSC_RELEASED_BIT) == 0;"
20:30.59Aivautohr read buffer and don't return it anywhere
20:31.30tmzthe reads the hole buffer?
20:31.54tmztyou only clear bits you read
20:32.06tmztyou don't clear the buffer
20:32.07Aivyes, he read this and just do nothing
20:32.46Aivi do not change anything in buffer
20:32.50*** join/#htc-linux ewasx (n=armin@2-157.surfsnel.dsl.internl.net)
20:32.58Aivw8 maybe i will show u something
20:33.02*** part/#htc-linux LanceHaig (n=lanceh@foresight/member/lhaig)
20:34.16Aivtmzt u will found there last commit with this patch
20:38.46Aivtmzt so what u thing? i realy want to help :)
20:39.49tmztI don't think clamshell belongs in read scancode
20:40.07tmztbut that means ksc need to be re architected a bit
20:40.25tmztI would like to know exactly what maejrep means by channels
20:40.58tmztthe buffer is there because you have to read two bytes from the i2c chip (ksc)
20:41.07Aivok, so atm i'm not doing this wrong ? ;]
20:41.30tmztmaejrep didn't care about the other channels
20:41.36tmztwell, I'm not sure
20:41.54Aivwe need to ask maejrep
20:42.10tmztyeah
20:43.01tmztare you sure there isn't a status bit for this
20:43.14tmztor is the keycode 0 or something
20:43.28*** join/#htc-linux MethoS- (n=clemens@host-091-097-242-170.ewe-ip-backbone.de)
20:44.01Aivi starts from reading bytes from irq
20:44.11Aivwhen i open phone onyl this byte is changed
20:44.39tmzt"reading bytes from irq"
20:44.45tmztwhat does that mean
20:45.08tmztdoes the bit remain set as long as the keyboard is open?
20:45.41Aivnow exactly, i just read buffer before & operation
20:45.51Aivand when i open/close keyboard only this value was changed
20:45.54tmztwhat happens when you close it?
20:46.06tmztand you have to clear it?
20:46.12Aivwhen i open second byte if 0x80, when i close is 0x00
20:46.30tmztit's always set when you open and unset when you close?
20:46.34tmztok
20:46.45tmztand the keycode is always 0?
20:46.49tmztand is down is unset
20:46.50Aivfrom haret i know there now diffrent between keyboard buttons and openging/closing
20:47.16Aivyes, allways
20:47.20tmztok
20:47.25*** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
20:47.27Aivw8 w8
20:47.31Aivkeyboard it's now zero
20:47.37tmztso if isdown is unset then report SW LID
20:47.40tmzt?
20:47.46Aivnow allway because keycode is reader from 1 byte
20:47.57Aivi read slider status from 2 byte
20:48.30tmztnot always? is that what you mean
20:48.39Aivsw_lid is reported from microp_keypad
20:48.49tmztyeah
20:48.50Aivi skipp this option atm
20:48.58Aivi only set : micropklt_set_kbd_state(!clamshell);
20:49.10tmztwhich sets the keylight?
20:49.11tmztok
20:49.33tmztit shouldn't be exported like that
20:49.37tmztbut whatever
20:50.39Aivi'm not C programmer, i programming in many other languages, but C is'nt my strong point ;]
20:52.04Aivabout my optical joystick, i talked with cmonex
20:52.36tmztwhere?
20:52.57Aivi done have mutch experience with asm at arm so i need to forget about my joystick atm\
20:53.07tmztasm?
20:53.14Aivassambler
20:53.18tmztyes
20:53.20tmztwhy
20:53.29Aivcmonex told me, i need to disasm dll and rewrite it
20:53.32tmztshe wants you to disasm something?
20:53.39tmztah
20:53.53tmztI was hoping she would tell you bus and address
20:54.06Aivbut there is one strange thing
20:54.06tmztand we would just trace it with haret
20:54.38tmztxsa: find anything on you optical sensor?
20:55.06Aivwhen i connect gpio of joystick to code responsible for clamshell at raphael
20:55.21Aivand touch my joystick once, i got "clamshell closed" ;]
20:55.46tmztwell, that's one part
20:56.27Aivmaybe that is a sign to debug this code better
20:56.35tmztno
20:56.47tmztthat means you found the gpio for the sensor
20:57.07Aivi found gpio in haret, 100% correctly
20:57.07tmztbut you have to read something from i2c/spi or something else
20:57.16tmzteach time it triggers
20:57.16cmonextmzt : no, I did not deal with the OJ before.
20:57.20cmonexonly with keyboard
20:57.28tmztok
20:58.11tmztis the a status bit to say the clamshell has changed?
20:59.19tmztimports on the joystick driver would tell you what bus it's on, right?
20:59.23tmzteveb strings
21:00.15Aivw8 8 will open dll in IDA
21:04.24*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
21:04.40*** join/#htc-linux Squarc1 (n=Squarc@82-217-32-29.cable.quicknet.nl)
21:05.24*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
21:10.36Aivtmzt https://privatepaste.com/02B9V9V9nG
21:10.48Aivhere are import from OJDrv
21:12.56tmztwhich driver?
21:13.01tmztlooks like the wrong one
21:13.22Aivhmm
21:13.29tmztthere must be a lower level driver
21:13.45tmztthat only reads from another device, based on imports
21:13.53Aivhmm, cmonex any idea with one will be?
21:15.41Aivhow can i found correct dll ?
21:17.19cmonexaiv : ojdrv.dll
21:17.22cmonexbut i already told you
21:17.26cmonexalso check oem misc.dll
21:17.34cmonexagain i already said so :)
21:17.47*** join/#htc-linux WigglerAway (n=WigglerA@92-235-224-158.cable.ubr12.stav.blueyonder.co.uk)
21:17.53cmonexor wait, i see the exact question now
21:17.54tmzthe looked at that
21:18.01cmonexthen look at the other driver i suggested
21:18.04tmztit only imports wfmo and read
21:18.13Aivchecking oem...
21:18.16cmonexreally
21:18.16cmonexsomething is fucked then,
21:18.16cmonexmy ojdrv does more than that
21:18.29cmonex<tmzt> imports on the joystick driver would tell you what bus it's on
21:18.32cmonexwhat do you mean by this?
21:18.42tmzti2c I hope
21:19.11tmztI mean if it had the i2c functions I would assume it was i2c
21:19.22tmztif its in oemmisc that doesn't help much
21:19.36Aivhttps://privatepaste.com/191bl4k8Iz - OEM_misc.dll
21:20.01tmztthere's too many devices in that driver
21:20.11tmztfor us to know for sure
21:21.19cmonextmzt:
21:21.24cmonexit uses microp
21:21.29cmonexso i'll assume i2c too
21:21.38cmonexbut i see what you mean
21:21.58tmztwhich microp chip?
21:22.13cmonexgood q :)
21:22.18tmzthow can he get to boot loader
21:22.20cmonex<PROTECTED>
21:22.21tmztI try :)
21:22.27cmonexthose imports are standard api, useless for proper RE
21:22.35cmonexof course some of it will be interesting, such as:
21:22.47cmonex000000001001603C 179  DeviceIoControl           COREDLL
21:22.54cmonex000000001001604C 492  CreateThread              COREDLL
21:23.03cmonex0000000010016088 628  InterruptDone             COREDLL 000000001001608C 627  InterruptInitialize       COREDLL
21:23.06tmztah yes
21:23.07cmonex0000000010016044 557  KernelIoControl           COREDLL
21:23.10cmonexsee where these apis are called
21:23.20tmztkerneliocontrol?
21:23.21Aivi copy only import because tmzt told " imports on the joystick driver would tell you what bus it's on" :)
21:23.24cmonex00000000100160D0 498  WaitForMultipleObjects    COREDLL 0000000010016040 497  WaitForSingleObject       COREDLL
21:23.25cmonexthat too
21:23.33cmonexmhm some RIL, but not needed now
21:23.45tmztyeah, the low level driver
21:23.46cmonexyeah aiv i didnt get that one until he mentioned he meant i2c driver imports
21:23.48tmztril?
21:23.54cmonextmzt : oem misc is as low level as you can get
21:24.00cmonexI remember reversing some parts of it
21:24.07tmztthen why no i2c stuff?
21:24.14cmonexcoz maybe it uses i2c directly?
21:24.18tmztyeah
21:24.19tmztok
21:24.20cmonexthose i2c exports jsut make the job easier
21:24.32cmonexanyway just assumption - will have to check actual code
21:24.46tmztit's just more work for us
21:24.59tmztI wanted to try the easiest route first
21:25.40tmztwe will probably end up tracing i2c with haret like maejrep did for ksc/klt
21:25.52tmztanyway, bootloader key combination?
21:26.10Aivpower and volumedown
21:26.13tmztdoes spl list the microp chips and version on x1
21:26.36tmztsame as raph500
21:26.36tmztinteresting
21:26.40tmztcamera was probably not gpio then
21:26.44Aivonly version
21:26.52tmztwhich chips?
21:27.50tmztok, you need to get the i2c read/write address for msm
21:27.51AivMicroP1-787 and MicroP2-707
21:27.57tmztright
21:28.13tmztcmonex: any idea what p1 and p2 are/do?
21:28.47tmztklt is navi on raph, I would guess ojoy is there
21:29.17tmztbut the keys are on ksc
21:29.23tmztinteresting
21:30.40Aivhow cen i get this r/w address from msm?
21:30.50cmonextmzt : yes i told aiv that maejrep did that
21:30.53cmonexI just didnt remember it was maejrep
21:30.59Captnoordre
21:31.05cmonextmzt: yes spl lists microp's
21:31.20cmonexand when i had old microp, the leds didnt work and the keyboard was being funny
21:31.22cmonexand the joystick also didnt work
21:31.26tmztAiv: header in linux
21:31.45tmztok, thanks
21:31.45cmonexthen i flashed 787/707
21:31.45cmonexand all fine
21:31.48cmonexAiv : which address?
21:31.59tmztmy raph500 ksc is going bad again
21:31.59cmonexah nvm i see
21:32.09cmonexksc?
21:32.19tmztprogressive, but slower then the last one
21:32.28tmztksc - keyscan controller
21:32.43tmztklt - navi and lights
21:34.07tmztAiv: if it's on klt we can just dump something in the navi driver
21:34.30tmztand forget haret, probably
21:34.46cmonexok
21:34.59tmztI thought there might be another chip/address just for ojoy
21:35.53Aivi'm lost. what i can do to make some progress?
21:36.43tmztcmonex: my phone was replaced, after about a week I got the same problem, keyboard will die and power off (screen off) will fix it. after a while power off will not fix it and reboot is needed.  the last one finally died completely
21:37.30tmztAiv: add a bunch of debugging to the navi driver, change irq in i2c-board-info, renable navi
21:37.47tmztjust dump all the registers currently being read
21:38.01tmzthopefully you will find meaningful data there
21:38.17tmztI guess the joystick is relative though
21:38.30tmztdisasm might still be needed to see how it works
21:38.42cmonextmzt : raph500?
21:38.56tmztyes
21:38.58cmonexmaybe linux is fucking it up :P
21:39.04Aivhehe
21:39.08cmonex:)
21:39.26tmzthaven't booted it on this one
21:39.39tmztI've been using putty
21:40.15cmonexoh
21:40.33tmztit's arefurbished one I think, that had the same problem as mine
21:40.49tmztI think the microp was flashed wrong
21:41.12tmztthe other one should the same symptoms in linux
21:42.03tmztbut eventually other i2c stuff started going wrong, accel would switch randomly
21:42.09tmztlights would flash
21:42.17tmzton navi
22:08.01*** join/#htc-linux Jareeta (n=ahailes@VINEGAR-POT.MIT.EDU)
22:10.11tcccpvinegar-pot?
22:10.15tcccphehehe
22:11.19Jareeta:D
22:11.49Jareetaanyone available to help me with sound issues on my HTC kaiser with Android?
22:12.24JareetaI can make calls and hear the person on the other end, but they can't hear me
22:12.30Jareetaand the mic works fine in WM
22:13.45tmztno, I thought dzo had that working
22:14.16tmztif not it's something that requires more research and doesn't work yet
22:14.23Jareetait *should* be working.  I'm trying to figure out why it's not working for me
22:15.45tmztwhere did you see it should be working?
22:15.58tmztwhat image?
22:16.27Jareetahttp://wiki.xda-developers.com/index.php?pagename=HTC_Kaiser%2FAndroid says it should be working
22:16.41tmztok
22:16.43tmztwhat image?
22:17.18Jareetagot it from here: http://ratedo.com/android/
22:17.52Jareeta(is that what you were asking?)
22:20.36tmztyeah
22:20.42tmztdoes dzo's work?
22:23.42JareetaI'll try, and get back to you
22:45.25*** join/#htc-linux WigglerAway (n=WigglerA@92-235-224-158.cable.ubr12.stav.blueyonder.co.uk)
23:06.41*** join/#htc-linux ali1234 (n=al@robotfuzz.co.uk)
23:12.45*** join/#htc-linux gcsimon (n=brenneck@p54AC49BD.dip.t-dialin.net)
23:41.24*** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)

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