IRC log for #htc-linux on 20090706

00:02.20*** join/#htc-linux rafyvitto (n=rafyvitt@24.54.253.34)
00:04.18rafyvittoheys guys, i got a question how hard will it be to decompile the hero rom and recompile it back to htc-msm kernel? to try making it boot on a touch pro lol
00:09.18*** join/#htc-linux solerant-dc (n=kamikaze@adsl-99-153-107-129.dsl.hstntx.sbcglobal.net)
00:31.34tmztrafyvitto: you shouldn't have to recompile it
00:32.16tmztyou need to be very careful with mtd though, but if it's not getting the partitions from anywhere it shouldn't be a problem
00:33.46tmztyou'll probably need to use a version of libhardware based on libhardware_legacy but I'm not sure about that
00:33.55tmztwithout gl it's not going to very fast though
00:34.11rafyvittohmmm ic
00:34.43rafyvittoguess il have to read up, and see if i can make it boot
00:36.05tmztyou need to convert the initrd from boot.img and repack that (try the repacking howto on android wiki)
00:36.14tmztunpacking and repacking should find it
00:36.33tmztchange it to mount system from an e2image on your card
00:38.18rafyvittoil start tomorrow, see if i can get anything done
00:38.39rafyvittothis is going to be intresting lol
00:39.32rafyvittoshould i try the latest beta rom or not?
00:40.09tmztyeah
00:40.15tmztthe other one has problems
00:40.28rafyvittoyes the latest one has only one issue
00:40.30rafyvittothe wifi
00:41.13tmztI was working with someone to debug that
00:41.25tmztdo you know what kernel version latest hero rom is?
00:42.10rafyvittohmmm i have no clue is it not the android 2.6.27?
00:42.39rafyvittoor 2.6.29 lol  have no clue
00:43.15tmztthat's what I need to know
00:44.27rafyvittodoes it matter if i use a g1 hero port? or should i get the htc hero rom??
00:51.05tmztI don't think it matters
00:51.11tmztthe userland parts should be the same
00:51.21tmztand you need to replace the kernel anyway
00:51.32rafyvittoyeh though so
00:51.50rafyvittodamn i want to start working on it right now but im off to work in a bit
01:00.22*** join/#htc-linux azeey (n=addisu@c-98-223-225-123.hsd1.in.comcast.net)
01:03.34*** part/#htc-linux azeey (n=addisu@c-98-223-225-123.hsd1.in.comcast.net)
01:08.12*** join/#htc-linux BHSPitMonkey (n=stephen@unaffiliated/bhspitmonkey)
01:13.40madCoder-tmzt: so my tp died this weekend (won't charge, won't turn on) :\
01:14.13madCoder-I'd been using the Google Ion from I/O, and that service just ended a few days ago
01:14.48madCoder-tried going to a sprint store to get the tp replaced (I pay $7/mo for TEP insurance), and they couldn't replace it, and couldn't give me a Palm Pre, which was my next choice
01:15.24madCoder-so I went back to the Ion and activated a line of service with Tmo :(
01:15.37madCoder-I hate their network, but Sprint is just retarded
01:18.44tmztwow
01:19.17tmztcr2 is close on the sound issue
01:22.00darkstar62what platforms?
01:22.22tmztraph100 (gsm touch pro)
01:22.34tmzthe doesn't have it actually playing yet
01:22.36darkstar62ah, probably not something I can use then
01:22.38darkstar62I see
01:23.19tmzton hermes?
01:23.27rafyvittocya guys of to work gl all
01:25.35Amaranthis any of this code getting submitted to the various kernel subsystem maintainers?
01:25.48Amaranththe alsa guys are always happy to get support for another codec
01:27.22darkstar62tmzt: herald
01:34.04tmzthttp://www.wired.com/epicenter/2009/06/pure-play-iphone-app-startups-attract-100-million-in-vc-bucks/
01:34.09tmztah, right
01:34.14tmztno this doesn't really help
01:34.20tmztAmaranth: which code?
01:34.46Amaranthtmzt: sound support
01:34.55Amaranthor any of the rest of it, really
01:50.49tmztfor which device I mean
01:50.57tmzton the msm chips it's very different, so far
01:51.14tmztthe code we have from google does not use alsa at all, even ASoC
01:51.41tmztalthough it appears we have actual buffers in the smem (shared ram) that should be compatible with alsa
01:51.56tmztwe also need to be able to support mp3 and other codecs natively
01:52.04tmztif we want to use the dsp to decode those
01:52.16tmztas far as I know, alsa doesn't currently support that
01:54.32tmztxsacha-tv: don't know if this helps you, http://article.gmane.org/gmane.linux.ports.arm.kernel/61299
01:54.45tmztoh, worry
01:54.51tmztthat's not new support, just another board
01:55.41xsacha-tvk by the way we have touchscreen more responsive now, perhaps even better than it was on winmo
01:55.48tmztgood
01:56.06xsacha-tvsonique identified an xscale optimisation and reduces requirement for pen up detect
01:56.27xsacha-tvmaybe should send it to wolfson micro
01:56.57xsacha-tvsince zylonite is a pxa only board and we're using zylonite-wm97xx.c (from wolfson), they should be using xscale stuff :P
02:05.59*** join/#htc-linux Amaranth (n=travis@74-221-34-123.longlines.com)
02:13.07*** join/#htc-linux Gigawatts (n=chatzill@136.176.112.38)
02:32.23*** join/#htc-linux xsacha (n=sacha@203-214-116-29.dyn.iinet.net.au)
02:53.08Kevin2tmzt: Hi
02:53.55tmzthey
02:54.19tmztwe had some questions aerlier but they seem to be worked out
02:55.06tmztcr2 said there's an issue with virt to virt mappings as well
02:57.14Kevin2Okay.  I don't think haret does anything with the virt->virt mapping (if you're referring to the new arm9 stuff).
02:59.10tmztyeah
02:59.32tmztwe need to be able to trace smem better
03:09.06*** join/#htc-linux mrmoku|a` (n=mrmoku@ppp-93-104-96-148.dynamic.mnet-online.de)
03:29.04*** join/#htc-linux Gnutoo (n=gnutoo@host91-163-dynamic.51-79-r.retail.telecomitalia.it)
03:29.22*** part/#htc-linux Gnutoo (n=gnutoo@host91-163-dynamic.51-79-r.retail.telecomitalia.it)
03:39.27*** join/#htc-linux xsacha-tv (n=sacha@203-214-116-29.dyn.iinet.net.au)
03:49.58*** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)
03:51.21*** join/#htc-linux solerant-dc (n=kamikaze@99.153.107.129)
03:53.31*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
04:24.38*** join/#htc-linux Moku (n=John@g228210160.adsl.alicedsl.de)
04:29.02AstainHellbringmadCoder- you around?
04:54.57*** join/#htc-linux droid0011 (n=mc@p4FDCE017.dip.t-dialin.net)
05:10.55*** join/#htc-linux timebomb (n=tb@e179195218.adsl.alicedsl.de)
05:35.02*** join/#htc-linux |Jason8| (n=JayAte@znc.tiltshellz.org)
05:36.11*** join/#htc-linux TommyBres (n=TommyBre@unaffiliated/tommybres)
05:36.20TommyBreshayy
05:55.05*** join/#htc-linux xsacha-tv (n=sacha@203-214-116-29.dyn.iinet.net.au)
06:08.17Aivtmzt "keyboard/slider what do you mean?" when i open keyboard, phone use gpio which is used to buttons on keyboard
06:09.27Aivtmzt so i can't just check value od eg. gpio nr 38 to determinate status (open/closed) of phone
06:17.23*** join/#htc-linux pleemans (n=toi@d51A49C45.access.telenet.be)
06:30.38*** join/#htc-linux kiozen (n=oeichler@p549217BB.dip0.t-ipconnect.de)
06:45.01tmztso you have to change the alt function after detecting gpio?
06:45.53tmztI thought dcordes said kovs worked
06:46.05tmztwith raph kernel
07:00.08*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
07:32.39*** join/#htc-linux pleemans_ (n=toi@d51A49C45.access.telenet.be)
07:37.43*** join/#htc-linux KindofBlue (n=KindofBl@rgnb-5d87c0c3.pool.einsundeins.de)
07:42.31*** join/#htc-linux furtardo (n=mks@nat/yahoo/x-a6676a82018bd5d0)
07:46.58*** join/#htc-linux g55 (n=g55@rgnb-5d87c0c3.pool.einsundeins.de)
07:47.04*** join/#htc-linux DuoMaxwell (n=DuoMaxwe@c-98-231-145-158.hsd1.md.comcast.net)
07:53.51*** join/#htc-linux goxboxlive (n=goxboxli@170.84-48-184.nextgentel.com)
08:07.42*** join/#htc-linux furtardo (n=mks@nat/yahoo/x-ed6d83f1964333b2)
08:09.43*** join/#htc-linux KindofBlue (n=KindofBl@rgnb-5d87ce95.pool.einsundeins.de)
08:51.20*** join/#htc-linux dzo_ (n=dzo@mail.marginz.co.nz)
09:15.25*** join/#htc-linux dzo (n=dzo@mail.marginz.co.nz)
09:29.39*** join/#htc-linux MethoS (n=clemens@dyndsl-085-016-165-250.ewe-ip-backbone.de)
09:37.23*** join/#htc-linux dzo_ (n=dzo@mail.marginz.co.nz)
09:42.37*** join/#htc-linux ptitjes (n=didier@93.2.7.23)
09:57.56*** join/#htc-linux sacha_ (n=sacha@203-214-116-29.dyn.iinet.net.au)
10:06.54*** join/#htc-linux Captnoord (n=Captnoor@145.74.183.165)
10:39.05*** join/#htc-linux infernix (i=nix@unaffiliated/infernix)
10:42.38*** join/#htc-linux Amaranth_ (n=travis@ubuntu/member/Amaranth)
11:19.01*** join/#htc-linux marex (n=marex@thor.hackndev.com)
11:21.58*** part/#htc-linux Captnoord (n=Captnoor@145.74.183.165)
12:17.18*** join/#htc-linux fnord_ (n=fnord@24.151.90.116)
12:44.51*** join/#htc-linux MethoS (n=clemens@85.16.165.250)
12:49.02*** part/#htc-linux droid0011 (n=mc@p4FDCE017.dip.t-dialin.net)
12:53.16*** join/#htc-linux solerant-dc (n=kamikaze@adsl-99-148-254-99.dsl.hstntx.sbcglobal.net)
13:02.54*** join/#htc-linux solerant-dc (n=kamikaze@adsl-99-148-254-99.dsl.hstntx.sbcglobal.net)
13:08.22*** join/#htc-linux MethoS- (n=clemens@host-091-096-213-111.ewe-ip-backbone.de)
13:56.33*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
13:58.57AstainHellbringhi! and morning!
14:07.32*** join/#htc-linux sdt555 (n=titus@147.145.40.44)
14:12.57*** part/#htc-linux sdt555 (n=titus@147.145.40.44)
15:35.39*** join/#htc-linux dcordes (n=luke@unaffiliated/dcordes)
15:41.29*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
15:42.13Aivre
15:45.18dcordeshello my friend
15:47.43Aivhelo dcordes
15:47.55Aivi just back from work, and start to develop :)
15:48.29Aivraph driver for keyboard works for x1?
15:51.31dcordesit doesn't for me
15:52.25Aivok, so i have good target :)
15:53.06Aivdid u try to rotate screen to correct position?
15:53.49Aivmy screen is 180 degrees rotated
16:07.25*** join/#htc-linux onen|openBmap (n=quassel@mry91-1-89-87-198-158.dsl.club-internet.fr)
16:09.41dcordesAiv, wondering the same
16:10.44AstainHellbringwhats new?
16:15.50dcordeshey AstainHellbring not much from my side
16:17.20AstainHellbringdcordes what phones you working on android with atm?
16:18.17*** join/#htc-linux azeey (n=addisu@c-98-223-225-123.hsd1.in.comcast.net)
16:27.41*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87d0aa.pool.einsundeins.de)
16:30.21dcordesAstainHellbring, I don't do android really
16:30.33dcordeslooking at kovsky again
16:31.07AstainHellbringahh right straight linux
16:32.53dcordesAiv, did you find new gpios?
16:34.19dcordesAiv, I tried putting sd detect gpio but it won't work
16:34.32dcordesI had it working once but I have zero patches saved
16:34.46dcordesshould have uploaded them to ~lgorris
16:47.04Aivaiv i don'f found new one
16:47.11Aivbut i have debug tool for gpios under my linux
16:47.24Aivand i'm working now on new input device for keyboard
16:47.33Aivand other buttons
16:48.37Aivsd reader will be nice, but it's not indispensable at the moment
16:52.29*** join/#htc-linux hollo (n=hollo@3e6b7b2c.rev.stofanet.dk)
16:52.44*** join/#htc-linux ccube (n=ccube@ssh.ccube.de)
17:15.48*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)
17:29.34*** join/#htc-linux cr2 (n=cr2@ip-77-25-144-246.web.vodafone.de)
17:31.46cr2hi
17:42.44*** join/#htc-linux MLM (n=mlvdmeid@5ED0BCBD.cable.ziggo.nl)
17:55.47Aivmtype in haret configuration is used only by haret, or i passed to kernel in runtime for kernel config?
17:58.04*** join/#htc-linux tuxhero (n=tuxhero@122.175.81.199)
17:58.14tuxheroHi cr2
17:59.43tuxherocr2 any new on adsp????
18:10.52*** join/#htc-linux droid001 (n=mc@p4FDCE017.dip.t-dialin.net)
18:15.00*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
18:24.09*** join/#htc-linux pH5 (n=ph5@92.116.209.77)
18:32.41*** join/#htc-linux Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
18:39.29*** join/#htc-linux Echo31 (n=olivier@mir31-4-82-240-194-54.fbx.proxad.net)
18:40.08Echo31hi all
18:41.07*** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
18:52.57*** join/#htc-linux docc (n=docc@static.88-198-83-83.clients.your-server.de)
18:55.04docchello, i have got a diam300, can someone help me how to flip the touchscreen?
19:06.23*** join/#htc-linux Balsat (n=Balsat@cust-IP-32.data.3.dk)
19:10.02*** join/#htc-linux calamari (n=calamari@ip70-162-184-81.ph.ph.cox.net)
19:10.10calamarihi
19:17.30*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
19:20.23tmztdocc: what do you mean?
19:20.42doccmy toucscreen is inversed when moving the stylus
19:20.59docctop down but i don't find anything helpful ...
19:21.49tmztAiv: mtype tells the kernel what hardware you have
19:23.37*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
19:23.49tmztdocc: you have the wrong msmsts line in default.txt
19:23.58tmztwhich one are you using? for 100 or 800?
19:24.47tmztso kovs doesn't use ksc for keyboard?
19:25.30cr2tuxhero: you have stopped trolling and want to do some real work ?
19:25.46cr2tmzt: i've ported the kaiser gps driver for raph
19:26.29cr2tmzt: they do some really ugly things (because of android), but it should work
19:26.53tmzttuxhero: would you be willing to help build an android repo for upstream kernels? we need to replace libhardware
19:26.55cr2ugly things = reading nmea  from /dev/smd27 _inside_ the kernel and parsing nmea ;)
19:27.18tmztok
19:27.28tuxherocr2 & tmzt: Yes
19:28.02cr2tuxhero: enable all possible adsp debug messages and try to play a sound.
19:28.18cr2we need to know where it will hang.
19:28.31tuxherook
19:29.42cr2i'll try gps and bt now.
19:29.46tuxherowith playwav from android repo or you said you modded it
19:30.11cr2playwav2.c is more advanced, because it also selects the source
19:30.19cr2do you have a link ?
19:30.25tuxherono
19:30.34cr2ok, i'll pastebin it.
19:30.54cr2dcordes wanted to add it to an initrd
19:32.04AstainHellbringhiya cr2
19:33.19tuxherocr2 one thing is for sure you defs in adsp_5200.c are perfect
19:33.38cr2tuxhero: yea, i've picked them from wince .dll
19:33.43cr2tuxhero: https://privatepaste.com/7f1ZoLpUNP
19:33.53cr2hi AstainHellbring
19:34.36tuxheroi checked it wince src and they matched perfectly
19:35.35dcordestuxhero, where are the 2.6.29 patches?
19:35.58cr2dcordes: you want to create the 2.6.29 branch ?
19:36.08dcordescr2, I prepared one yesterday
19:36.31tuxherotmzt has link for patch file
19:36.50tmztyeah, hold on
19:37.22tmzthttp://rapidshare.com/files/251614506/patch.diff.tar.gz.html
19:37.27cr2it's going to be a pita to unify raph/diam and blac
19:37.33tmztbut replacing ARCH MSM won't work
19:37.39AstainHellbringso saw some checkins that what I think it says audio is working?
19:37.43cr2because of the g1 code structure.
19:38.01tmztjust don't let the symbols overlap
19:38.06cr2AstainHellbring: not yet
19:38.50tuxherodon't worry about i will structure it for all the devices.
19:38.58cr2ok
19:39.34cr2tuxhero: the problem is that there are many small annoying differences here and there.
19:40.02cr2for example, we need adsp_6150.c for the cdma* people
19:40.20dcordestmzt, the link will not work for me
19:40.26cr2and it's very different in its structure to 5200 and 6210
19:40.33*** join/#htc-linux Zy (n=zy@0x57390b26.hbnqu1.dynamic.dsl.tele.dk)
19:41.32cr2tuxhero: and then there is gpio alt config, and different pmic vregs one needs to enable for different devices.
19:42.22tuxheroya i understand i think we do it with simple macros
19:42.32tmzttuxhero: why did you remove ARCH MSM?
19:42.40cr2dcordes: dzo has fixed the adsp tables, and can record audio now.
19:42.50dcordesawesome
19:43.05cr2dcordes: and there is kaiser gps now
19:43.13dcordesI've seen that
19:43.17tmztand why did you make certain things dependent on MSM ANDROID that also work on our phones?
19:43.17cr2dcordes: i've even ported it to raph
19:43.57tuxheroI did't remove ARCH MSM i add MSM_WINCE & MSM_ANDROID they both depend on ARCH MSM
19:44.05tmztcr2: what android/wince differences are there outside of amss?
19:44.12cr2tuxhero: the kernel should be able to work without android
19:44.16dcordesgsp was working in the stone age barry carter kaiser revisions already (when it was on during boot) :)
19:44.21tmztcan we abstract mfp and gpiolib somehow?
19:44.55dcordestuxhero, I don't think it's a good idea
19:44.56tuxherobuilding board code need that because we can have proc_comm & proc_comm_wince together
19:45.15tuxherosame with clock and clock-wince
19:45.44cr2tuxhero: what for ?
19:45.45dcordescr2, http://linuxtogo.org/~lgorris/initrd-angstrom-2009-07-06 this should have /usr/bin/playwav*
19:45.52tmztthis is why I'm wondering if we should use the android 2.6.29 at all, instead starting with baseline trout support in upstream patches for pavel and swetland
19:46.03cr2dcordes: ifup usb0 too  ?
19:46.09tuxheroif some one selected G1 board & RAP board
19:46.15dcordesauto usb0 yes
19:46.15tuxherobuild will break
19:46.39tmztadd the abstractions we need for wince and submit to lakml
19:46.45cr2tuxhero: it can be avoided in the Kconfig
19:47.01tmztwe'll at least get some discussion on the list
19:47.02tuxherohow?
19:47.20dcordestmzt, that will be good
19:47.39cr2tuxhero: let's debug audio first. i think it's more important today
19:47.44tuxheroya
19:49.14*** join/#htc-linux Aiv (n=aiv@office.mdsoftware.pl)
19:49.15Aivre
19:49.28*** join/#htc-linux MethoS (n=clemens@host-091-096-213-111.ewe-ip-backbone.de)
19:50.00tmzthttp://article.gmane.org/gmane.linux.ports.arm.kernel/61879
19:50.10tmztxs: is this your chip?
19:50.13dcordestuxhero, does blackstone work in htc-msm-2.6.27 HEAD ?
19:51.18*** join/#htc-linux MethoS (n=clemens@host-091-096-213-111.ewe-ip-backbone.de)
19:55.36Aivanyone have gpios for blackstone?
19:56.21dcordes~seen pichurri
19:56.23aptpichurri <n=pichurri@users3.ilo.org> was last seen on IRC in channel #htc-linux, 131d 4h 15m 9s ago, saying: 'Marajin, saw the pics on the wiki? now a port to the latest version of 2.6.27 of the diamond is being developed...meaning sd support...etc'.
19:57.32tmztI seem to remeber him here more recently
19:57.58Aivi got patch from pichurri, but there is now list of gpios (like in raphael or kovsky)
19:58.06cr2131/3=40
19:58.20dcordesAiv, the pichurri patch is in git
19:58.48Aivi know, i use panel from blackstone in my kovsky patch
19:59.13Aivnvm, i will search in source what they have
19:59.21dcordesAiv, http://www.htc-linux.org/wiki/index.php?title=Raphael_GPIO check the blac100 column
20:00.37Aivoo
20:00.38Aivthx !
20:01.51cr2dcordes: it needs to be extended. i've just picked the values easily indentifiable in the spl
20:02.42dcordesAiv, so the blac100 column is only 'preliminary'
20:02.54tuxheroG-Sensor in Raphael and Blackstone same?
20:03.26cr2tuxhero: i think so
20:03.46cr2tuxhero: but i didn't look at the blac100 dlls, only at the spl
20:03.56*** join/#htc-linux timebomb (n=tb@e179195218.adsl.alicedsl.de)
20:04.51cr2dcordes: downloading your initrd
20:05.10dcordestuxhero, did you see the question?
20:05.32tuxherowhich one?
20:06.13dcordesthe one which has 'does blackstone work in htc-msm-2.6.27 HEAD' ?
20:06.33tuxheroyes it works
20:09.05cr2tuxhero: does umts/gprs work for you ?
20:09.12tuxherono
20:09.29cr2you have smd7 ?
20:09.41tuxheroyes
20:09.42cr2the AT works ?
20:09.47tuxheroyes
20:10.08cr2gprs does not work in android , or at all ?
20:10.14tuxherobut in android grps is not working
20:10.31cr2yes, it's the same on raph
20:10.45cr2but if you configure it manually, it works on raph
20:10.57cr2and i guess on diam and blac too
20:11.22cr2i think it's because of ppp vs qmi
20:11.38cr2but dzo has solved this problem somehow for vogue
20:11.54tuxherono i try configuring manually also but it's not working
20:12.06cr2hmm. strange.
20:12.19cr2we need somebody with diam, to check
20:12.41cr2tuxhero: do your smd channels look the same as the wiki raph ?
20:12.53tuxheroyes
20:13.06cr2ok
20:13.41tuxheroi think we need /dev folder list from some android mobile
20:14.06cr2there are many such postings
20:14.15cr2search for msm_snd on google
20:14.37cr2i wish somebody has dumped smem on g1/g2 ;)
20:14.51cr2ok, i've build linload
20:15.36tuxheroi think for that you need to write some kernel module from user space linux wont allow any direct mem access
20:16.23cr2<PROTECTED>
20:17.26tuxheroya  seen it but i think we can write kernel module and load it as they have access to shell
20:17.53cr2yes, that's an option too
20:20.53*** join/#htc-linux MethoS (n=clemens@host-091-096-213-111.ewe-ip-backbone.de)
20:22.58*** join/#htc-linux MethoS (n=clemens@host-091-096-213-111.ewe-ip-backbone.de)
20:23.38tuxherocr2 if you don't mind i want to ask one question
20:24.25cr2yes
20:24.44cr2dcordes: your initramfs booted
20:24.57cr2dcordes: and cdc_ether works
20:25.16*** join/#htc-linux Amaranth (n=travis@ubuntu/member/Amaranth)
20:25.39tuxherowhat's the internet speed you having?
20:25.58cr2300K
20:26.07tuxherook
20:26.10cr2=umts
20:26.54*** join/#htc-linux leaigor (n=laigor@188.134.36.14)
20:26.58cr2hm. how do i test gps now ?
20:27.21cr2i need some ugly userspace program like playwav, that will call gps ioctls ;)
20:27.45cr2dzo must have some code for that...
20:28.36tmzt?
20:28.56tmztdoes the new driver dump nmea to smd27?
20:29.22cr2hm. with DMA1 the BT still hangs ;)
20:29.33cr2tmzt: it reads from smd27
20:30.06cr2tmzt: but you need to kick some rpcs , with ioctls
20:30.09*** join/#htc-linux g55 (n=g55@rgnb-5d87ce95.pool.einsundeins.de)
20:30.21cr2tmzt: if you'll change it to /sysfs that'll be nice.
20:30.35cr2hmm. again a timeout in setup_irq()
20:31.38cr2msm_hs_startup,request_irq,setup_irq
20:31.54Aivi thing i break something i vkeyb. when i press for ex. 'o' i got 'รณ'. some ideas ? ;]
20:32.05Aivs/i/in/
20:32.09cr2with the BT power enabled, the DMA becomes unhappy
20:32.25cr2it may be the wrong speed clk setting ;)
20:33.59*** join/#htc-linux stickboy (n=anonymou@198.105.46.21)
20:34.13*** join/#htc-linux MethoS (n=clemens@host-091-096-213-111.ewe-ip-backbone.de)
20:34.46cr2tmzt: dzo has his own libgps.so ?
20:36.52cr2<PROTECTED>
20:36.53cr2<PROTECTED>
20:36.55cr2<PROTECTED>
20:36.56cr2<PROTECTED>
20:36.58cr2<PROTECTED>
20:36.59cr2<PROTECTED>
20:37.24cr2<PROTECTED>
20:37.26cr2<PROTECTED>
20:37.27cr2<PROTECTED>
20:38.08*** join/#htc-linux MethoS (n=clemens@host-091-096-213-111.ewe-ip-backbone.de)
20:40.40*** join/#htc-linux MethoS (n=clemens@host-091-096-213-111.ewe-ip-backbone.de)
20:40.41cr2root@htcraphael:/sys/class/misc/vogue_gps# ls -als
20:40.43cr2<PROTECTED>
20:40.44cr2<PROTECTED>
20:40.46cr2<PROTECTED>
20:40.47cr2<PROTECTED>
20:41.41cr2root@htcraphael:/sys/class/misc/vogue_gps# ls -als /dev/vogue_gps
20:41.42cr2<PROTECTED>
20:44.28*** join/#htc-linux DrGhoul (i=ghoul@gateway/shell/blinkenshell.org/x-2a925735ef4c5428)
20:44.44cr2editing playwav2.c for startgps.c
20:51.39cr2wow
20:51.53cr2a lot of oops()
20:52.54cr2[  707.941445] [<c0032544>] (msm_rpc_register_server+0x0/0x98) from [<c003ee2c>]
20:52.56cr2<PROTECTED>
20:52.57cr2[  707.961007]  r7:d79e7960 r6:0000003a r5:d79e7960 r4:00000000
20:52.59cr2[  707.980599] [<c003ee0c>] (vogue_gps_open+0x0/0xdc) from [<c014ba80>] (misc_op
20:53.00cr2en+0x200/0x2e0)
20:56.45cr2dcordes: sleeping ?
20:59.11*** join/#htc-linux ccube (n=ccube@ssh.ccube.de)
21:01.17cr2hmm.
21:02.08cr2ERROR: no local ept for cid d620a740
21:02.30cr2rr_write: rejecting unexpected reply
21:03.00cr2sorr<
21:03.15Captnoordlots of oops are usualy good if you know what went wrong
21:03.26cr2ERROR: no local ept for cid 0feb8f4a
21:03.34CaptnoordCID is client id?
21:03.35cr2Captnoord: oops was easily fixed
21:03.44cr2now it hangs
21:03.44Captnoordrpc client id
21:04.05cr2the number 0feb8f4a i've already seen somewhere...
21:04.22cr2the d620a740 is ok
21:05.05*** join/#htc-linux infernix (i=nix@unaffiliated/infernix)
21:05.25*** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
21:06.04[1]Captnoordkills isp
21:06.31[1]Captnoordthey openly admitted they used old and cheap stuff in there adsl centrals
21:06.44cr2[RR] - ver=1 type=1 src=0:00000001 crx=0 siz=488 dst=1:0feb8f4a
21:06.49cr2error
21:07.39cr2[RR] - ver=1 type=1 src=0:00000001 crx=0 siz=104 dst=1:0feb8f4a
21:07.46cr2error
21:07.51cr2so:
21:07.56*** join/#htc-linux [2]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
21:08.06cr2[RR] - ver=1 type=1 src=0:00000001 crx=0 siz=488 dst=1:0feb8f4a
21:08.08cr2ERROR: no local ept for cid 0feb8f4a
21:08.13cr2[RR] - ver=1 type=1 src=0:00000001 crx=0 siz=104 dst=1:0feb8f4a
21:08.19cr2ERROR: no local ept for cid 0feb8f4a
21:08.22cr2PITA
21:08.30cr2typing off the lcd ;)
21:09.02cr2seems to be pretty straightforward though
21:09.24[2]Captnoordregarding the info you got from those bootloaders?
21:09.35cr2the ARM9 sends some messages to the (local) cid 0feb8f4a, but we don't have anything there
21:09.45[2]Captnoordhmmm I see
21:11.24cr2the oops was here -> msm_rpc_register_server(NULL, RPC_GPS_CB_PROG, 0);
21:11.35cr2so i commented it out
21:12.22*** join/#htc-linux MethoS (n=clemens@host-091-096-213-111.ewe-ip-backbone.de)
21:15.52*** join/#htc-linux rafyvitto (n=rafyvitt@24.54.253.34)
21:17.20*** join/#htc-linux TommyBres (n=TommyBre@unaffiliated/tommybres)
21:18.37*** join/#htc-linux ccube_ (n=ccube@ssh.ccube.de)
21:19.19*** part/#htc-linux azeey (n=addisu@c-98-223-225-123.hsd1.in.comcast.net)
21:20.52[2]Captnoordso can we assume that 0feb8f4a is the cid of the gps
21:20.53[2]Captnoordor
21:20.57[2]Captnoordisn't that really clear
21:25.08cr2LOL
21:25.14cr2ARM9 has CRASHED
21:25.14dcordescr2, not totally
21:25.27Captnoordcr2 congratulations lol
21:25.58tmztprogress?
21:26.11cr2the rpc did something, but i can't see the log, because of the oops
21:26.21cr2tmzt: yeah, a bit.
21:26.40cr2tmzt: need somebody who undertsands rpc better
21:26.58dcordescr2, exctract initrd on sd partition to catch log?
21:27.12dcordesor mount sd and write log there only
21:27.30cr2smem console as dzo suggested is better
21:27.49cr2i'll try again
21:27.53Aivit's possible that mtype from haret config impact with linux (vkeyb looks different, and dmesg too) ?
21:28.05cr2there was a second, where is could type 'dmesg'
21:28.19cr2or even: ./startgps; dmesg
21:28.37*** join/#htc-linux Balsat (n=Balsat@cust-IP-1.data.3.dk)
21:28.50cr2hi Balsat
21:28.51tmztwould userland rpc work better?
21:29.13cr2tmzt: i've sure it's some trivial mistake on my side
21:29.26dcordesAiv, yes if you check the config you see there's cdma and gsm version of raphael and diamond. they select different gpio configs
21:29.31tmztI mean than ioctl or sysfs entry for starting gps
21:29.44dcordesAiv, see the board file for ... specific tweeks or so
21:29.49tmztI don't know, I would really like to see smd27 work like any other gps serial device
21:29.50cr2dzo has simplified the rpc api for amss4* so i need to revert some changes
21:29.57tmztit should be enough to start reading from it
21:30.00Aivdcordes ok, but runtime checking based on mtype declarated in haret?
21:30.12tmztif that means we need custom (pdata) triggers on open we can do that
21:30.20cr2tmzt: yes, but it need a kernel thread kicking an rpc
21:30.23dcordesAiv, kernel knows which machine you run from haret mtype
21:30.41tmztso we start one? like usb or whatever does?
21:30.50tmztit shows up in ps at least
21:31.05Aivdcordes ok, thx i have strange problems with kernel right now ;[
21:31.27cr2tmzt: i've written a simple startgps program that just calls GPS_START ioctl on /dev/vogue_gps
21:31.38dcordesAiv, so if you wanna try if different -say raphael cdma- mtype has better working gpio boot with 2039 mtype
21:31.42cr2then you shoud be able to read from /dev/smd27
21:32.09tmztcdma, why?
21:32.16tmztok
21:32.22dcordestmzt, gpio config
21:32.28tmztshould I pull the git kernel then?
21:32.44Aivdcordes ok, now i understand why we could include two different configurations in kernel, and only one will be used
21:32.49dcordesAiv, we might try the gps program from cr2 too
21:32.57tmztthey should all be usable at the same time
21:33.12tmztyou should be able to activate all MSM machines in .config without an issue
21:33.19tmztthat's not the case now with blak though
21:33.26cr2dcordes: i suggest to add startgps to initrd, and commit the patches. they are buggy, but at least it's a good starting point.
21:33.36tmztcr2: what do you think about working from upstream with the patches on lakml?
21:33.42cr2BT is buggy too
21:33.44dcordesAiv, yes - we should probably add a machine for the kovsky. or maybe we share black
21:33.48tmztcr2: it would mean not having andorid support at first
21:33.52cr2tmzt: too early
21:34.04dcordescr2, good better semi working progress public than none
21:34.12tmztok, how are we going to abstract wince cleanly on 2.6.29?
21:34.29cr2dcordes: yeah. at leat it does not worsen anything
21:34.34dcordesAiv, I have registered a htckovsky machine 2006
21:34.38tmztdcordes: blackstone is too different, no keyboard for one
21:34.46cr2if you don't touch /dev/vogue_gps nothing crashes.
21:34.53tmztse might register it themselves though, before rachel
21:35.02tmztok
21:35.04tmztsorry
21:35.20tmztoh, you meant board file?
21:35.23cr2dcordes: ok, add nmea.c and nmea.h from the recent vogue branch first
21:35.35Aivdcordes i use 2006 too, but i have strange problem on haret,mtypem,kernel
21:35.35cr2dcordes: it's very ugly, but still better than nothing
21:35.36dcordestmzt, right sorry
21:35.58Aivdcordes i this my version of haret is not working correctly
21:36.17tmzterror: Untracked working tree file 'arch/arm/mach-msm/qdsp5/adsp_5200.c' would be overwritten by merge.
21:36.26Aivs/this/use/
21:36.40Aivnvm :)
21:36.57dcordesif you set 2006 you need to use htckovsky in the kernel ..
21:37.00tmztok, fast forward
21:37.23dcordestmzt, do you have git access?
21:37.29tmztpush? no
21:37.32dcordesyea
21:37.42tmztI need to subscribe to the list here and lakml
21:37.48tmzthopefully gmail can handle those :)
21:38.06dcordesyes one of us needs to ping the list
21:38.14dcordes:(
21:38.23cr2dcordes: https://privatepaste.com/d41eiQKYE8
21:38.28cr2dcordes: startgps
21:38.51tmztcan you paste the link for playwav2 as well?
21:39.22cr2tmzt: https://privatepaste.com/7f1ZoLpUNP
21:41.12tmztok
21:41.27tmztI should be able to build these natively on my giz image
21:42.31cr2ok, i got the dmesg before crahs :)
21:43.53Captnoord:D
21:44.08cr2gps crash https://privatepaste.com/5ck1oOUjzm
21:44.24cr2[  110.746712] rr_write: rejecting unexpected reply
21:44.26cr2not nice
21:44.36cr2[  140.830361] gps_enable:157 -110
21:44.58cr2[  125.760354] gps_enable:144 -110
21:47.00dcordeshttp://linuxtogo.org/~lgorris/misc/startgps 8dabd1bdc87b86c6e37234744035566c  startgps
21:47.55dcordeshttp://linuxtogo.org/~lgorris/initrd-angstrom-2009-07-06-01 with startgps and playwav*
21:48.07tmztbinaries?
21:48.11dcordesyes
21:48.37cr2<PROTECTED>
21:48.38cr2<PROTECTED>
21:48.40cr2<PROTECTED>
21:48.41tmztplaywav2?
21:48.42cr2<PROTECTED>
21:48.43cr2<PROTECTED>
21:48.44cr2<PROTECTED>
21:48.46cr2<PROTECTED>
21:48.48cr2this was the first failed call
21:49.09dcordestmzt, I also placed the sources in misc folder
21:49.18tmztok
21:50.03dcordesthey're build with arm-angstrom-linux-gnueabi
21:50.12*** join/#htc-linux hollo (n=hollo@3e6b7b2c.rev.stofanet.dk)
21:50.19tmztstatic?
21:50.31cr2it's the initial rpc call
21:50.40cr2strange
21:51.50CaptnoordI kinda read here that in some situations when the gps is initialised it gets a modem reset event
21:52.05cr2#define ETIMEDOUT       110     /* Connection timed out */
21:52.12dcordestmzt, dynamically I guess
21:52.20tmztok, that might not work
21:52.25tmztI'll just build them from source
21:52.31cr2Captnoord: hmm. that's true
21:52.32tmztor use your angstrom initrd
21:52.36tmztwhat's the ip?
21:53.01dcordes192.168.0.202
21:53.07tmztok
21:53.18dcordesAiv, btw, how do you get usbnet working on the kovsky?
21:53.25cr2Captnoord: it should then wait for modem
21:53.34cr2tmzt: the old good zaurus ip
21:53.40tmztsure
21:53.41Captnoordi'm reading trough gpsdriver.dll
21:53.58tmztnever really used usbnet with zaurus
21:54.04tmztused wifi
21:54.07dcordesAiv, I figured you must set usb to network mode in wince but had not much luck: usb0 appears for a short time and is then unregistered again
21:54.25cr2tmzt: yeah, the cf wifi
21:54.28Aivdcordes i dont know :) on my vmachine is not working, on on my server is working fine
21:54.28dcordessomebody knows such usb0 problem from other msm7xxxA ?
21:54.31tmztit's not initing it properly I guess
21:54.39tmzttry not advanced mode
21:54.50dcordestmzt, ok didn't try that
21:55.14tmztusbnet works on kais now right?
21:55.22cr2dcordes: what should we do with gps patches ?
21:55.40dcordestmzt, didn't use usbnet on akita either. only cf and plenty usb wifi devices
21:56.03dcordestmzt, I still have a cf card which never worked for me I got in replacement for my old one
21:56.17tmztprism?
21:56.38tmztI've had two ambicom cards
21:56.42Aivdcordes when i boot kernel with usb connected to windows, usb works fine but sometimes got kernel hang up
21:56.42dcordeswant me to add the nmea.c and nmea.h without modification first?
21:56.57dcordestmzt, no wlags modules??
21:56.59Aivdcordes without usb connected, in 90% times, usb not working
21:57.00dcordestmzt, hermes I think
21:57.08tmztwlags?
21:57.14dcordesthat's the module name no clue
21:57.24tmztnever heard of it
21:57.43tmzthermes should work with hostap now
21:58.03cr2dcordes: yes
21:58.08dcordesI should try that before I sell the poor akita
21:58.14cr2dcordes: i think we will remove them later
21:58.18dcordesstill like it
21:58.36cr2[  110.739876] [RPC] READ on ept d620a6e0 (28 bytes)
21:58.38cr2[  110.746712] rr_write: rejecting unexpected reply
21:58.53cr2hmm, i'd like to know what was in this reply
21:59.14dcordesI have a total kovsky tree right now
21:59.21tmztI wonder if wince is just different
21:59.28tmztdifferent rpcrouter protocol
21:59.39tmztcan you dump the packets/addresses?
21:59.42cr2tmzt: unlikely
22:00.12cr2i think it should be possible
22:01.03tmztit's just a networking protocol, like switching or whatever?
22:01.17tmztit makes sense if we think of it like that
22:01.17cr2like ppp
22:01.31cr2hehe, tcpdump
22:01.33tmztexcept no point-to-point
22:01.37tmztnot
22:01.52tmztbut something is listening on a special address
22:01.53cr2ept to ept
22:02.08cr2it's broadcast
22:02.16tmztright, but it's not like there's only two devices on the link
22:02.17dcordes<PROTECTED>
22:02.28tmztwe have multiple endpoint, they have multiple endpoints
22:02.40tmztbut the router also has an endpoint (address)
22:02.46cr2its like sockets
22:02.54cr2ip+port
22:03.06tmztyes, which the rfc's call a multiplex
22:03.22tmztthe tcp multiplex, or the udp multiplex
22:03.39Captnoordcr2 I see some ppp references in the gpsdriver.dll
22:03.49cr2they could have used ip, instead of rpc ;)
22:04.00tmztsure, or ethernet
22:04.02tmztlike rmnet
22:04.07tmztthat would have been interesting
22:04.13cr2Captnoord: it's for grabbing the xtra.bin i think
22:04.29tmztdo we have any idea what the gsm radios use on DATA5 and DATA6?
22:05.29*** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
22:05.37[1]Captnoordfor agps stuff
22:05.56cr2tmzt: no
22:06.23tmztI think the rmnet stuff might be in amss but not activated
22:06.25cr2i think that the xtra links go over rpc
22:06.36cr2tmzt: who knows
22:06.47cr2dcordes: git diff https://privatepaste.com/0beb2l4bkA
22:06.52tmztsince we don't have qmi we can't bring up the link
22:07.12tmztbut g1 uses 5 and 6 for rmnet
22:07.18tmztand we have them in the smd table
22:07.39tmztshould I try dcordes's initrd?
22:07.46cr2tmzt: i'm quite happy that ppp works already
22:07.58dcordescr2, got board-htcraphael-gps.c ?
22:08.05cr2tmzt: the sound will not work for you
22:08.07tmztit works ok for gsm devices?
22:08.13tmztyeah, true
22:08.15cr2dcordes: yes, will pastebin now
22:08.16tmztgps?
22:08.26dcordescr2,
22:08.31dcordespushed the nmea already
22:09.47cr2board-htcraphael-gps.c:  support for RAPH100 (AMSS 5200) MSM7201A GPS
22:09.56cr2https://privatepaste.com/e8zPvVO7Kf
22:10.02dcordesAiv, did you try with raphael cdma mtype?
22:10.08cr2it is buggy, but contains a lot of useful information
22:10.32cr2tmzt: you don't have smd27
22:10.46tmztyeah
22:10.53tmztI thought this was the rpc driver
22:10.57tmztfor gps
22:11.00cr2tmzt: so you may look at the original vogue gps driver
22:11.23cr2tmzt: and add the rpc numbers from  board-htcraphael-gps.c
22:11.24tmztalright, I'm just going to do what I can to help you guys get audio on raph100
22:11.28tmztwe can work from there
22:11.39cr2tmzt: the most important data in  board-htcraphael-gps.c: are the rpc numbers.
22:11.46cr2all the rest is just a hack
22:12.05cr2rpc numbers, functions and the call parameters
22:12.42cr2dcordes: vogue_gps.h needs to be in arch/arm/mach-msm/
22:13.26dcordesok
22:13.36cr2tmzt: you may comment out all the smd27 wizardry, and try the rpc part
22:13.47tmztok
22:14.39*** join/#htc-linux dcordes_ (n=luke@unaffiliated/dcordes)
22:16.05Aivhmm, i have realy strange problem. vkeyb is not working correctly, so i back to full working kernel, with testes haret and haret config and it's not working like 2 days ago
22:17.02dcordes_cr2, Hunk #2 FAILED at 325.
22:17.03Aivit's possible that something was changed in phone, and i have those problems?
22:17.09dcordes_cr2, where is vogue_gps.h
22:17.20tmztnot following
22:17.23dcordes_Aiv, I doubt it in case of vkeyb
22:17.46cr2tmzt: it's interesting that the pdsm_init times out. maybe i'll just increase the delay.
22:17.56cr2dcordes_: pasting
22:18.54cr2dcordes_: vogue_gps.h https://privatepaste.com/999lwwTUyW
22:19.09*** join/#htc-linux ccube_ (n=ccube@ssh.ccube.de)
22:19.11cr2dcordes_: which hunk ? board-htcraphael.c ?
22:19.35dcordes_yes
22:19.47cr2it's a trivial patch
22:19.56tmztpdsm?
22:20.01tmztthis is gps stuff?
22:20.03cr2you can apply it manually
22:20.10cr2tmzt: yes
22:20.15tmztwhat about rr message, did that happen again?
22:20.18dcordes_cr2, added it
22:20.33Aivdcordes it occurred to me that last changed element is evbug module, maybe there is a problem
22:20.38cr2tmzt: which one ?
22:20.53dcordes_Aiv, sorry what's that evbug?
22:20.53tmztrr_write: unexpected response
22:20.59dcordes_Aiv, like evtest?
22:21.02tmztno
22:21.08tmztevbug is the event debugger
22:21.10cr2[23:58] <cr2> [  110.739876] [RPC] READ on ept d620a6e0 (28 bytes)
22:21.11cr2[23:58] <cr2> [  11
22:21.18tmztit prints too much in dmesg
22:21.28cr2[23:58] <cr2> [  110.739876] [RPC] READ on ept d620a6e0 (28 bytes)
22:21.29cr2[23:58] <cr2> [  110.746712] rr_write: rejecting unexpected reply
22:21.29tmztdisable it in .config
22:21.34dcordes_ok
22:21.47cr2tmzt: i'd like even more
22:21.53tmztfrom which?
22:21.57cr2the read packets for exampel
22:22.00tmztI meant evbug
22:22.01tmztyes
22:22.05Aivdcordes_ yes, this is module for evdev debugging
22:22.21tmztevbug does that on my desktop also, so I disabled it in blacklist
22:24.04dcordes_cr2, pushed
22:25.50*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)
22:26.52tmztarch/arm/mach-msm/board-trout-panel.o:(.data+0x734): multiple definition of `toshiba_client_data'
22:26.55tmztwith defconfig
22:27.04tmztarch/arm/mach-msm/board-htcraphael-panel.o:(.data+0x500): first defined here
22:27.04tmztmsm_defconfig
22:27.04tmztoh
22:27.04tmztarch/arm/mach-msm/board-trout-panel.o:(.data+0x554): multiple definition of `mddi_pdata'
22:27.05tmztsorry
22:27.17tmzttrying htcraphael_defconfig
22:28.23cr2[   84.860329] rr_write: rejecting unexpected reply
22:28.24cr2[   84.867928] kernel BUG at mm/slab.c:590!
22:28.30cr2wtf trout ?
22:28.59cr2[   84.860329] rr_write: rejecting unexpected reply
22:29.00cr2[   84.867928] kernel BUG at mm/slab.c:590!
22:29.15tmztI had msm_defconfig
22:29.59cr2ARM9 has CRASHED
22:30.01dcordes_cr2, allocation problem?
22:30.23cr2but now the rpcs look better
22:30.48cr2dcordes_: may be some race condition because of too long delay i've added
22:31.07cr2this is the only unhealthy message
22:31.11cr2[00:21] <cr2> [23:58] <cr2> [  110.739876] [RPC] READ on ept d620a6e0 (28 bytes)
22:31.12cr2[00:21] <cr2> [23:58] <cr2> [  110.746712] rr_write: rejecting unexpected reply
22:33.22cr2tmzt: how do i enable pr_info() for adsp ?
22:35.21dcordes_cr2, raphael kernel builds fine with the commits
22:35.34tuxherocr2: in audmgr_enable  msm_rpc_setup_req(&msg.hdr, AUDMGR_PROG, AUDMGR_VERS,AUDMGR_ENABLE_CLIENT) is the problem
22:36.18cr2tuxhero: which one ?
22:36.43tuxheroLinux 261 of audmgr.c
22:36.49tuxherosorry line 261
22:37.48Captnoordpdsm proc offset: 0x3000005B
22:38.00cr2<PROTECTED>
22:38.01cr2<PROTECTED>
22:38.03cr2?
22:38.13cr2what does wiki say...
22:39.04cr2audmgr_enable_client_apps (one=1,tx_rat=0,rx_rat=9,def_meth=5,codec=4,snd_meth=1,cb=9,data=80d57a01
22:39.06CaptnoordI think thats dummy data
22:39.31cr2Captnoord: wince data is different
22:39.51Captnoordk
22:40.41tuxheroactual AUDMGR_CB_PROG is never used in any of the code but some how it's getting called :(
22:41.11tuxherowhen it get called ARM9 is crashing
22:41.11tmztwhat do you mean not used in code? kernel or amss
22:41.19tuxherokernel
22:42.01tuxherogrep -r AUDMGR_CB_PROG * results in nothing except audmgr.h
22:42.57tuxherois this def #define AUDMGR_ENABLE_CLIENT 2 correct????
22:43.20cr2AUDMGR  0x30000013   audmgr_*
22:43.21cr21,8 audmgr_enable_client_apps (one=1,tx_rat=0,rx_rat=9,def_meth=5,codec=4,snd_meth=1,cb=9,data=80d57a01)
22:43.23cr22,1 audmgr_disable_client_apps (0/1)
22:43.40cr2there are some enums in audmgr.h ...
22:44.17cr2tuxhero: hehe. it's wrong
22:44.31tuxhero????
22:44.35cr2#define AUDMGR_ENABLE_CLIENT                    2
22:44.39cr2#define AUDMGR_DISABLE_CLIENT                   3
22:44.39cr2should be 1 and 2
22:44.50cr2[00:42] <cr2> 1,8 audmgr_enable_client_apps (one=1,tx_rat=0,rx_rat=9,def_meth=5,codec=4,snd_meth=1,cb=9,data=80d57a01)
22:44.51cr2[00:42] <cr2> 2,1 audmgr_disable_client_apps (0/1)
22:44.58cr21 is audmgr_enable_client_apps
22:45.06cr22 is audmgr_disable_client_apps
22:45.08cr2so
22:45.14cr2#define AUDMGR_ENABLE_CLIENT  1
22:45.21cr2#define AUDMGR_DISABLE_CLIENT  2
22:45.29cr2good catch :)
22:45.31tuxherowhat about rest of the defs?
22:45.39cr2not used in wince
22:45.44Captnoordhmm I think thats one hell of a crasher... because when you send disable client with all the extra info....
22:46.09cr2let's check vogue
22:46.38Aivit's time for me, cu
22:46.44Captnoord3 is suspend event cr2
22:46.58Captnoordcheck audmgr_suspend_event_rsp_apps
22:47.06Aivdcordes_ can u archive gps code for me ? i will check this tomorow
22:47.17dcordes_Aiv, what you mean?
22:47.22dcordes_archive
22:47.25cr2tuxhero: shift them all by one
22:47.37cr2tuxhero: it's probably an enum too
22:48.02cr2androids are evil
22:48.18cr2they have modified a lot of contants in enums
22:48.34Aivdcordes_ save source, apps from #
22:48.45cr2Captnoord: which dll ?
22:49.00dcordes_Aiv, git pull
22:49.02Captnoordremote_apis_clnt.dll
22:49.04*** join/#htc-linux BHSPitMonkey (n=stephen@unaffiliated/bhspitmonkey)
22:49.07Aivdcordes_ i dont have time right now to save it, i need to go now
22:49.23tuxheroi changed them to 1 & 2 now i passed more stages i will change them all n let you know
22:49.28dcordes_Aiv, me too unless I want work to think I'm undead
22:49.34Captnoordthose other enums you just sayd
22:49.37Captnoordabout the 1 and the 2
22:49.43Captnoordbeeing enable and disable
22:49.50Captnoordare also pressent in the dll
22:49.58cr2Captnoord: ok
22:50.00Aivdcordes_ :), this code is on git?
22:50.24cr2Captnoord: yes, i've actually checked only those that were seen in rpccall fifos
22:50.29Aiv26 min ago
22:50.29Aivhtc-msm-2.6.27
22:50.32Aivok, nvm :)
22:50.42cr2Captnoord: and suspend was not one of them
22:51.00cr2tuxhero: hoping for the working sound now :)
22:51.02Captnoordcr2: I finaly see a bit of a structure and a logic in the asm
22:51.09cr2lol
22:51.11Captnoordis crossing fingers for the sound
22:51.29Captnoordcr2: I mean I can read it.. and understand what it does....
22:51.43rafyvittoil crossing mines to lol
22:51.47tuxherogive me 2 more min i will confirm that
22:51.54cr2:)
22:52.14cr2Captnoord: i'll check the other numbers
22:52.23dcordes_Aiv, yes. see the log http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.27
22:53.33cr2Captnoord: yeah, only 3 values
22:53.59cr2i've commented out others
22:54.05cr2let's see if it compiles
22:54.50cr2yes
22:54.55tuxherocr2: we now it's stopping at asdp: module 'AUDPPTASK` enable time out
22:55.00dcordes_cr2, did you sync with git? I hope I added no skew
22:55.26cr2=4 ?
22:55.43cr2dcordes_: i'll check
22:56.20cr2tuxhero: ok, i'm looking there
22:57.19tuxheroaudmgr is happy but adsp seem to be very sad :(
22:57.29cr2<PROTECTED>
22:57.31cr2<PROTECTED>
22:57.32cr2<PROTECTED>
22:57.34cr2<PROTECTED>
22:57.35cr2<PROTECTED>
22:57.37cr2<PROTECTED>
22:58.11cr2<PROTECTED>
22:58.12cr2<PROTECTED>
22:58.18cr2it's the result of this one
22:59.03cr21,4  adsp_rtos_app_to_modem (got_it=1,cmd=1/0,proc_id=2,module=4/21/16/20/1f)
22:59.44cr2module=4 is AUDPPTASK afair
23:00.35cr2module->id ?
23:01.27cr2tuxhero: do you have the latest git ? #define RPC_ADSP_RTOS_APP_TO_MODEM_PROC 1    ?
23:02.02tuxheroyes
23:02.08cr2ok
23:02.23cr2proc_id=2  RPC_ADSP_RTOS_PROC_APPS = 2
23:02.44cr2RPC_ADSP_RTOS_CMD_ENABLE=1
23:02.59cr2RPC_ADSP_RTOS_CMD_REGISTER_APP=0
23:03.15cr2RPC_ADSP_RTOS_CMD_DISABLE=2 <- did not see this one
23:03.41tuxheroone min
23:04.12tuxheroyes
23:05.07cr2<PROTECTED>
23:05.08cr2<PROTECTED>
23:05.10cr2<PROTECTED>
23:05.11cr2<PROTECTED>
23:05.14cr21,cmd,2,module
23:05.23cr2that looks ok
23:05.39tuxherook i will try it
23:05.43cr2but the adsp still times out for some reason
23:07.11tuxheroi have this defs i will cross check them ones
23:07.25cr2ADSP_STATE_*
23:11.18Captnoordadsp clock?
23:11.35cr2Captnoord: where is it enabled ?
23:11.43Captnoordin the dll?
23:11.48cr2Captnoord: we don't have it in clock-wince.c
23:11.56cr2no, in the g1 code
23:12.22cr2wh enables the adsp clock. and how.
23:12.48cr2<PROTECTED>
23:13.23cr2(adsp_info.module[i].clk_name
23:15.27cr2static struct adsp_module_info module_info[] = {
23:15.28cr2<PROTECTED>
23:15.58Captnoordyou already had
23:16.00Captnoord#define RPC_ADSP_RTOS_APP_TO_MODEM_PROC 1
23:16.04Captnoordinstead of 2
23:16.22cr2struct msm_adsp_module {
23:16.31cr2<PROTECTED>
23:16.46cr2where is it filled ?
23:17.05Captnoordadsp.h
23:17.32cr2it's the difinition
23:17.41tuxherocr2 can you check smem dll
23:18.07Captnoordthat its 1 you can see in the same dll
23:18.16*** join/#htc-linux |Jason8|| (i=JayAte@server1.tiltshellz.org)
23:18.26CaptnoordMOV     R3, #1
23:18.26CaptnoordMOV     R2, #0
23:18.26CaptnoordMOV     R1, #0x3000000A
23:18.27CaptnoordLDR     R0, [SP,#0x48+var_24]
23:18.27CaptnoordBL      xdr_call_msg_start
23:18.28cr2no, i mean the clk
23:18.38Captnoordk
23:18.47cr2Captnoord: yes, that's how i added the names to wiki
23:18.54Captnoordgood....
23:18.57Captnoordwhat do you mean?
23:19.24cr2who fills/defines the *clk in adsp_info
23:19.55CaptnoordI dono
23:20.27tuxheroi think it's not need as many g1 modules are also left blank.
23:20.35CaptnoordI think the code its filled in adsp.c
23:20.39Captnoordstructure*
23:20.53Captnoordor
23:20.54Captnoordint adsp_init_info(struct adsp_info *info)
23:20.56cr2tuxhero: yes, it's filled only for adsp_6225.c
23:21.06Captnoordin adsp_5200.c and stuff
23:21.23cr2so it's not the clk
23:21.40tuxherowe need to find RPC_ADSP_RTOS_CMD_ENABLE def
23:21.52Captnoordlemme check a bit more
23:21.56cr2=1
23:22.26cr2QDSP_MODULE(AUDPPTASK, NULL, 0, NULL, NULL),
23:22.34cr2does not need clk
23:24.08Captnoorditds trough module = find_adsp_module_by_name(&adsp_info, name);
23:24.15Captnoordk
23:26.15cr2i'll look at raw data
23:26.40*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
23:26.49Captnoord#define ADSP_CLK2   /* ADSP clock */
23:26.52*** join/#htc-linux BHSPitMonkey (n=stephen@unaffiliated/bhspitmonkey)
23:26.59Captnoordswitch_ADSP_CLK = 0x22
23:27.13cr20a000030 00000000 01000000 00000000 00000000 00000000 00000000 01000000 02000000 02000000 04000000
23:27.25Captnoord0x3000000a
23:27.25cr21,2,2,4
23:27.42cr2after the SND rpcs
23:27.50Captnoordhmmm
23:27.50cr2set-device and set-volume
23:27.50Captnoordk
23:28.40rafyvittoadsp is bad like michael jackson
23:28.46cr2so it starts with cmd=2=disable ?
23:29.19cr2hm. it's probably the end
23:29.23Captnoordlemme search the offset
23:29.27Captnoordas its not conclusive
23:29.39cr2didn't add other values to wiki
23:29.47cr2must be in the log
23:29.50Captnoordthat offset
23:29.51Captnoordadsp_rtos_app_to_modem
23:29.52Captnoordist hat
23:29.54Captnoordthat
23:30.02Captnoordnot set-volume
23:30.04Captnoordor
23:30.06Captnoordset-device
23:30.17Captnoord0x30000000a = adsp_rtos_app_to_modem
23:30.21Captnoordstuff
23:30.29CaptnoordI think
23:30.32Captnoordvolume is
23:30.42Captnoord#0x30000002
23:30.49Captnoordand set voltume would be cmd 2
23:31.08tuxherobut set volume is passing fine
23:31.12cr22,2,12,
23:31.14Captnoordand 2 enums are send...
23:31.15cr2err
23:31.20cr22.2.13.a
23:31.31Captnoordk
23:31.39Captnoordcr2
23:31.45Captnoordyou have to reverse the bytes
23:31.53cr201000000 01000000 02000000 04000000
23:31.53Captnoord0a000030 = 3000000a
23:32.00Captnoord1 1 2 4
23:32.02cr21,1,2,4
23:32.29cr2checking 13=audmgr
23:32.58cr201000000 00000000 09000000 05000000 04000000 01000000 09000000 80d57a01
23:33.16cr21,0,9,5,4,1,9,80d57a01
23:33.26Captnoord01a75d80
23:33.35cr2yes
23:34.05Captnoordthat offset isn't pressent in the dll I am searching...
23:34.07cr2then 1.1.2.4 for ADSP AUDPPTASK, CMD=ENABLE
23:35.27cr2tuxhero: can you replace the audmgr values with these 0x9, 0x01a75d80?
23:35.41tuxherook
23:36.21Captnoord017ad580
23:36.48Captnoord01a75d80 <- not that one
23:37.10cr2017ad580
23:37.14Captnoord80d57a01 = 017ad580 :P
23:37.16cr2yes
23:37.29Captnoordits getting late I should hit my bed
23:37.30Captnoord:P
23:37.52tuxherowhich one should i replace
23:37.54tuxhero??
23:38.30cr2<PROTECTED>
23:38.32cr2<PROTECTED>
23:38.43cr2the 0x11111111 -> 09
23:38.45cr2the 0x11111111 -> 0x9
23:39.14dzohi cr2
23:39.15cr20x11223344 -> 0x017ad580
23:39.19cr2hi dzo
23:39.27cr2dzo: got 2 problems :)
23:39.44dzofor vogue i had to change the adsp irq to get it to work, there are 2.
23:39.59cr2dzo: the adsp does not want to accept init cmd.
23:40.02cr2hmm.
23:40.26cr2#define INT_ADSP INT_ADSP_A9_A11
23:40.33*** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
23:40.38cr2need to check my haret logs
23:41.05dzovogue uses, INT_ADSP_A11
23:42.10dzodoes the adsp accept the message or does it say bad queue?
23:42.23Captnoordhmmm not to ruen the party
23:42.24Captnoordbut
23:42.31Captnoord#define INT_ADSP_A9_A11      23
23:42.32Captnoord23
23:42.33cr2dzo: it times out
23:42.33Captnoordand
23:42.40Captnoordwoeps
23:42.41Captnoordsorry
23:42.43cr2(22, "ADSP_A11"), (23, "ADSP_A11_A9"),
23:42.44Captnoordits getting late
23:43.13tuxheroCaptnoord: what time at your place now???
23:43.26Captnoordway to late
23:43.27dzoI don't know what the 2 irqs are for, just that 22 works for me and not 23.
23:43.29Captnoord1:43
23:43.37tuxherohere 5:13AM
23:43.38cr2014.596     IRQS     IRQ0: ADSP_A11(22)=1
23:43.38Captnoordas in terrible late
23:43.43cr2dzo: :D
23:43.58cr2tuxhero: change the irq
23:44.12dzoglad to help,..
23:44.15tuxherook
23:44.19cr2dzo: thanks :)
23:44.21IceBoneWhy does android get more and more unstable the more I boot it? :(
23:45.08tuxheroINT_ADSP_A11         22
23:45.28cr2#define INT_ADSP INT_ADSP_A9_A11
23:45.34cr2replace with
23:45.39cr2#define INT_ADSP INT_ADSP_A11
23:45.52*** join/#htc-linux darkstar62 (n=darkstar@97-126-107-190.tukw.qwest.net)
23:46.50cr2dzo: i've backported the kaiser gps driver, but there were some problems because or the different rpc api ;)
23:47.03cr2s/or /of /
23:49.22tuxherocr2: same problem
23:49.35cr2ok
23:50.02cr2still a bugfix
23:50.16Captnoordcr2 isn't that a callback thingy?
23:50.22Captnoordshouldn't it be a callback
23:50.28Captnoord01:34] <cr2> then 1.1.2.4 for ADSP AUDPPTASK, CMD=ENABLE
23:50.36Captnoordif its a task
23:50.57tuxheroi think it a callback only
23:50.57cr2you send this rpc to adsp
23:51.05Captnoordhmmm k
23:53.41cr2CLOCK("adsp_clk",       ADSP_CLK,       NULL, 0),
23:53.48cr2do we preserve it ?
23:54.49Captnoordit works trough those enums I thnk
23:55.13cr2yes, the last value =0 means 'do not touch'
23:56.14*** join/#htc-linux stickboy (n=anonymou@ool-457e4101.dyn.optonline.net)
23:57.05cr2<PROTECTED>
23:57.06cr2<PROTECTED>
23:57.08cr2<PROTECTED>
23:57.20cr2i have seen the first value somewhere in the adsp*dll
23:57.37cr2don't know about the second and third
23:58.21Captnoordyea seems to be related to some kind of lock I thnk
23:58.29Captnoordnope
23:58.32Captnoordits after the lock

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