IRC log for #htc-linux on 20070410

00:27.52*** join/#htc-linux kdag (n=aeroflot@84-74-29-80.dclient.hispeed.ch)
00:28.57kdagso, i try mkfs.ext2 or ext3 or vfat and all i get in dmesg is /dev/mmc/blk0: unknown paritition table
00:29.08kdagi try to create one via fdisk
00:29.19kdagbut it fails with the same error
00:29.51kdagwhat ese can i try to formate this SD card?
01:06.25*** join/#htc-linux Ro_En_PC (n=roen@p54a66f81.dip.t-dialin.net)
04:19.55*** join/#htc-linux kelly_ (n=kelly@ppp206-236.lns3.mel4.internode.on.net)
04:40.01*** join/#htc-linux eremias (n=fdsfs@ACB454B4.ipt.aol.com)
05:27.02*** join/#htc-linux Tjikkun (n=tjikkun@82-204-54-115.dsl.bbeyond.nl)
05:40.24*** join/#htc-linux _law_ (n=law@mail.stiftadmont.at)
05:48.45SniZ|worki hate ppc
05:52.14*** join/#htc-linux sadeness_ (n=LamersIn@nat2.rlan.ru)
06:03.43*** join/#htc-linux rob_w (n=rob_w@p549b9bb2.dip0.t-ipconnect.de)
06:05.29*** join/#htc-linux pleemans (n=peter@d5152D19B.access.telenet.be)
07:08.50*** join/#htc-linux tudenbart (n=willi@xdsl-213-196-252-178.netcologne.de)
07:25.58*** join/#htc-linux TripleDES (n=sergio@89.129.187.133)
07:41.36*** join/#htc-linux cyrill62 (n=cyrill62@ble59-5-82-233-205-36.fbx.proxad.net)
08:01.27*** join/#htc-linux Fossi (n=cmewes@195.177.48.115)
08:12.01*** join/#htc-linux SniZ|work_ (n=SniZ@leased-line-60-213.telecom.by)
08:15.07*** join/#htc-linux SniZ|work (n=SniZ@leased-line-60-213.telecom.by)
08:16.50*** join/#htc-linux SniZ|work (n=SniZ@leased-line-60-213.telecom.by)
09:02.20cr2Kevin2: need some minor haret features from you
09:30.55*** join/#htc-linux kdag (n=aeroflot@84-74-29-80.dclient.hispeed.ch)
09:36.34*** join/#htc-linux kdag (n=aeroflot@84-74-29-80.dclient.hispeed.ch)
09:51.05*** join/#htc-linux pancake (n=foo@acpl.adam.es)
09:56.55*** join/#htc-linux psokolovsky (n=psokolov@82.193.98.4)
10:03.13pancakehttp://forum.xda-developers.com/showthread.php?t=301770
10:10.32*** join/#htc-linux root1 (n=root@lun34-2-82-238-28-28.fbx.proxad.net)
10:16.25*** join/#htc-linux rob_w (n=rob_w@p549B9BB2.dip0.t-ipconnect.de)
10:52.25*** join/#htc-linux eremias (n=fdsfs@ACB34AF0.ipt.aol.com)
11:35.13*** join/#htc-linux root1 (n=root@lun34-2-82-238-28-28.fbx.proxad.net)
11:35.27root1hello
11:39.21*** join/#htc-linux eremias (n=fdsfs@ACB34AF0.ipt.aol.com)
11:42.16*** join/#htc-linux psokolovsky_ (n=psokolov@82.193.98.4)
11:48.32*** join/#htc-linux rob_w (n=rob_w@p549B9BB2.dip0.t-ipconnect.de)
11:56.02*** join/#htc-linux c4software (n=test@lns-bzn-47f-81-56-189-105.adsl.proxad.net)
11:56.11c4softwarehi
11:56.12c4software:)
11:57.14*** join/#htc-linux SniZ|work (n=SniZ@leased-line-60-213.telecom.by)
11:58.29*** join/#htc-linux c4software (n=test@lns-bzn-47f-81-56-189-105.adsl.proxad.net)
12:03.15*** part/#htc-linux c4software (n=test@lns-bzn-47f-81-56-189-105.adsl.proxad.net)
12:51.24Kevin2cr2: Still around?  Have you taken a look at the "l1trace" stuff?
12:51.52Kevin2cr2: Feel free to IM or email me when I'm not around.  I'm heading out to work in a moment.
12:54.00cr2Kevin2: hi
12:55.12cr2i'd like to have an "ALIAS" text parameter to ADDRWATCH,for naming the registers.
12:55.13Kevin2Hi
12:56.06Kevin2Makes sense.
12:56.26cr2it seems we will have very good progress with hermes soon.
12:56.47Kevin2Do you use haretconsole?  I was thinking of adding register decoding to it.  It could keep a list of the register locations, and the bit fields within the registers and then decode them on the fly.
12:57.26cr2yes, it will be very helpful.
12:57.48Kevin2cr2: Did you see the "l1trace" stuff?  It seems to be working okay in my tests.  It needs some pruning features, because the output can be too verbose.
12:58.02cr2i did gpio tracing yesterday, and the idea came to my mind.
12:58.19cr2have not tried l1trace yet.
12:59.13Kevin2I'll be back later.
12:59.36cr2ok.
13:02.09*** join/#htc-linux pleemans (n=peter@d5152D19B.access.telenet.be)
13:21.00*** join/#htc-linux rmoravci1 (n=rmoravci@158.193.83.136)
14:50.41*** join/#htc-linux BabelO (n=root@lun34-2-82-238-28-28.fbx.proxad.net)
14:52.32*** join/#htc-linux rob_w (n=rob_w@p549B9BB2.dip0.t-ipconnect.de)
15:01.33*** join/#htc-linux rmoravcik (n=rmoravci@pc-nbhcnceqpo8wov6n0m468h4u6ax6am4.users.student.utc.sk)
15:04.27*** join/#htc-linux kdag (n=aeroflot@84-74-29-80.dclient.hispeed.ch)
15:59.58*** join/#htc-linux goxboxlive (n=goxboxli@206.80-202-161.nextgentel.com)
17:09.46*** join/#htc-linux root (n=root@lun34-2-82-238-28-28.fbx.proxad.net)
17:10.06BabelOhi
17:10.52BabelOgoxboxlive: qvga theme doesn't customize my openmoko-dialer, it works only on title bar
17:12.45goxboxliveok
17:13.13goxboxliveBut i know that pH5 has a theme for qvga on his x11 image
17:13.25goxboxliveAsk him, maybe he has it only localy
17:13.43goxboxlivehttp://gnulinux.biz/files//Universal/pics/Xqt2/
17:27.35elliswayhi goxboxlive
17:27.36BabelOhttp://gnulinux.biz/files//Universal/pi . hlbot
17:27.57BabelOsorry, bad irc client for me :(
17:28.37elliswayhow do you start openmoko-messages/dialer in Xqt2
17:28.40elliswayi`m using the custom opie image
17:30.00BabelOhi ellisway
17:30.11BabelOyou have to export DISPLAY=:0
17:30.26BabelOstart Xqt
17:30.33goxboxliveellisway: First start Xqt2 -> Open console -> write: export DISPLAY=:0.0 -> write openmoko-mesagges & -> openmoko-dialer & )twice)
17:31.02goxboxlives/openmoko-mesagges/openmoko-messages/
17:31.10BabelOgoxboxlive: if you want to see Dialer directly you can start openmoko-dialer -s
17:31.34goxboxliverealy, how cool. How did you know that?
17:32.04BabelOopenmoko-dialer --help ;)
17:33.04goxboxliveohh realy ? man i should have known
17:33.04elliswayah the export
17:33.19elliswayshould have remembered seeing that in the logs
17:34.26goxboxlivei got my twin si today, so now i can have a sim in universal all the time.
17:34.33goxboxlives/si/sim/
17:34.34elliswaycoo
17:35.34BabelOhow it works if when you receive a call and two device are powered on ?
17:36.05goxboxlivethere is a master and slave function
17:36.26goxboxliveif i dont answer master in 20 sec it swithes over to slave phone.
17:38.43elliswayhmm
17:39.05elliswaystill getting gtk warning cant open display
17:40.48goxboxliveellisway: Are you opening it form opie-console?
17:40.48elliswayits coo
17:40.48elliswaymistyped the export
17:40.53goxboxliveok, so u have it running?
17:41.18goxboxliveBabelO: Yes now i c, openmoko-dialer -s works like a charm.
17:41.45elliswaywill let u no in 1 more min
17:43.34elliswaywell messages and dialer are both running
17:48.34goxboxlivecool
17:49.05goxboxliveNow cr2 has to guide me changing the htcuniversal sound driver so we can have the mic working.
17:50.23elliswayhmm i cant see al of the numbers of the keypad of openmoko dialer
17:51.02elliswayi can see the 123 456 with no problems
17:51.08goxboxlivehave it running, goi back to console and type: xrandr -o normal
17:51.39goxboxliveThe best way is to rotate the screen before starting Xqt2
17:51.59elliswayk
17:52.55goxboxliveI have also suplied xrandr (the roatete application for X) in the image
17:54.24elliswaycoo
17:54.41elliswaywell dialer is working outgoing
17:54.48goxboxlivealso incoming
17:55.02goxboxliveSoon we will have sms working too:-)
17:57.30elliswaycoo
17:57.39elliswayincoming and outgoing as u said
17:58.32elliswaygetting closer to being able to ditch windows mobile
17:58.51*** join/#htc-linux cyrill62 (n=cyrill62@ble59-5-82-233-205-36.fbx.proxad.net)
17:59.14goxboxlive:-) also history, finger wheel. Seems like everything is working as it should, beside "hang up" and "reject" buttons.
17:59.31elliswayhmm didn`t try reject
17:59.53elliswayhistory worked
18:00.00elliswaythe finger wheel hmm
18:00.14elliswayis that what comes up in the bottom left corner
18:00.38elliswayif so it doesn`t size correctly for me only see a fraction of the wheel itself
18:02.26goxboxliveif you have some calls in your log you can use the wheel to manouver between them
18:05.14elliswaythe function of the wheel work its scrolls up and down through the history just the icon for the wheel seems to be at 2 x the scale of every other button is that right ?
18:07.01elliswayok its te same as in the history-3.png so i`ll presume thats correct
18:08.18*** join/#htc-linux eremias (n=fdsfs@ACB5E7C9.ipt.aol.com)
18:09.58*** join/#htc-linux _law_ (n=_law_@213.173.86.202)
18:10.33goxboxlivei guess it is
18:10.58goxboxliveI'll try to create a icon  for it now.
18:11.04elliswayk
18:11.24elliswayas u said reject doesn`t function
18:12.15elliswayis there anyway to make te handset ring yet when there is a incoming call
18:14.28goxboxliveNo not now.
18:14.33goxboxlivei wish it was
18:15.53elliswayk
18:24.38elliswayhmm 1 thing i hae noticed with the current images
18:25.08elliswaywhen i reboot the handset using the reboot from the console when it gets back to wince the keyboard doesn`t seem to function
18:25.22*** join/#htc-linux BabelO (n=kvirc@lun34-2-82-238-28-28.fbx.proxad.net)
18:25.32elliswaynot every time
18:26.15elliswaybut definantly with the ramdisk after i reboot i`e had to use the reset button on the handset to get te keyboard back
18:31.17goxboxliveYes i have noticed it myself with the Touchscreen. I have to reset it again to have it working. Dont know it happends.
18:43.11BabelOgoxboxlive: are you here ?
18:45.11goxboxliveBabelO: I have been here the last year, so yes i am still here :-)
18:45.29BabelOok ;)
18:45.48BabelOdo you use 2.6.20-hh4 for universal ?
18:46.03BabelOis sound driver using Soc ?
18:46.16goxboxliveYes i have to becase tags above has non working TS
18:46.33goxboxliveNo we dont have it yet (arrest me if i am wrong cr2)
18:47.02BabelOok, got a compile problem with pxa-ssp
18:47.12goxboxliveI think that is the only missing thing to have Universal fully working
18:47.14goxboxliveok
18:49.17BabelOok can't compile magician sound module too, same error
18:51.16cr2hi
18:51.28cr2goxboxlive: do we have an initrd ?
18:53.31goxboxlivecr2: Yes i have one. The oone in the ramdisk cab
18:53.49goxboxliveBut it is a .12-xda one
18:54.09goxboxliveBut, it shoudl just be to install new updated modules
18:54.17cr2i think it does not matter.
18:54.24goxboxlivehow come?
18:54.40cr2don#t need modules
18:54.54goxboxliveThe ramdisk cab installer is about 14MB
18:54.55cr2can you point me to the gz file ?
18:55.30goxboxliveIt's not an gz file, it is in a cab file loacted at gnulinux.biz
18:55.41cr2i need a gz file :)
18:55.43goxboxliveI have deleted it i guess. I have it localy though
18:55.54goxboxliveBut you have yourself at jornada
18:56.04goxboxliveit's the "rd" file
18:56.18cr2yes.
18:56.40cr2jornada is sa1100
18:56.46goxboxlivecr2: Could you guide how to change the soundriver to have a working mic. Liek you said, just power up the mic at boot
18:56.54goxboxliveI want to try it out
18:57.03cr2hmm. actually should work.
18:57.06goxboxliveWich file should i look at?
18:57.17goxboxliveI want to try
18:57.22cr2do you know how to send the i2c commands ?
18:57.58BabelOhi cr2
18:58.10BabelOyou can use i2c-set command ;)
18:59.16goxboxliveI dont know how to, but i can try it out
18:59.23cr2do you know the syntax ?
18:59.31cr2i'm looking at the datasheet now.
18:59.38goxboxlivehave to build it first
19:00.09cr2actually you don't need the i2s codec at all for a mic.
19:00.15BabelOyes, goxboxlive you provide already it in some image
19:00.27cr2but the chip must be powered up.
19:00.37BabelOi2cset [-y] I2CBUS CHIP-ADDRESS DATA-ADDRESS VALUE
19:00.43cr2it can be a problem...
19:00.47cr2ok.
19:00.52cr2I2CBUS is 0
19:00.59cr2CHIP-ADDRESS is 0x12
19:01.16cr2DATA-ADDRESS is hmm. many of them.
19:01.34cr2VALUE is for the DATA-ADDRESS
19:01.50cr2ok, let's assume the chip is powered up.
19:02.31goxboxlivei2c is a part of wich debian package?
19:02.49cr2you want a builtin mic ?
19:02.51*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
19:03.48cr2well, let's first look how i2c/ak4641.c does the mic stuff.
19:03.55cr2better htcuniversal_ak4641.c
19:03.58goxboxlive?? what do you mean? I want the builtin mic to wrok while i am taliking in phone, not the headset mic
19:04.01cr2because we can patch it.
19:04.08goxboxlivegood
19:04.28cr2you can talk also using the headset mic.
19:05.07goxboxliveok, great
19:05.13goxboxliveeven bether
19:05.28cr2i have included all the registers in htcuniversal_ak4641.c . good.
19:06.09goxboxliveof course you have
19:08.30cr2hm. that will be painful.
19:09.01goxboxliveohhh
19:09.44cr2WRITE_MASK(ak->regs[R_MIC], R_MIC_MPWRI, R_MIC_MPWRI);
19:10.00cr2you need to read the R_MIC register
19:10.19cr2#define R_MIC           0x07
19:10.45cr2and add the R_MIC_MPWRI bit to it.
19:11.02cr2#define R_MIC_MPWRI     0x08
19:11.38cr2that applies poer to the internal mic.
19:12.05cr2hm. what about PMMIC ?
19:14.40cr2WRITE_MASK(ak->regs[R_PM1], R_PM1_PMMIC...
19:14.54cr2the MIC block needs to be pwered up first.
19:15.28cr2then powerup mono out PMMO
19:16.30cr2then switch BT/MIC to MIC
19:16.42cr2need to look for the switch name.
19:17.50cr2and then set the mono attenuators properly. if any...
19:18.05goxboxliveThis sounds like a job i am not able to do. Could you create a patch for all this?
19:18.14goxboxlivei thouht itw
19:18.28goxboxlivewas just some bit settings ( only one)
19:18.29cr2actually the I2S stuff is  completely irrelevant for the phone.
19:18.35goxboxliveok
19:19.43cr2is it ok that the sound out is only on the phone speaker ?
19:19.56goxboxliveyes of course
19:21.01cr2otherwise it is necessary to powerup the PMAUX
19:21.29cr2and do the switching in the mixer.
19:22.08cr2and apply power only to the headset, not the stereo speakers :)
19:22.36goxboxliveok
19:22.46cr2it seems i need to redraw the diagram in ak4641 datasheet. for our purposes.
19:23.30cr2we have 4 other phones with the same chipset, so it's wise to think about the general structure.
19:23.40goxboxliveyes of course
19:23.47cr2even 5 other phones.
19:25.42cr2the ATT boxes are not very helpful. and the switches are not named.
19:25.50cr2in the diagramm.
19:26.04goxboxliveok
19:28.19cr2hm. it seems that the driver logic will be relatively simple. if we forget about the digital sources/sinks.
19:28.26cr2PXA and BT.
19:29.38cr2then we even don't have stereo.
19:30.41goxboxliveok
19:32.51cr2we have 1 stereo mixer and 2(3) mono.
19:32.58*** join/#htc-linux tudenbart (n=willi@xdsl-213-196-226-181.netcologne.de)
19:36.22goxboxliveok
19:36.31goxboxliveis that good or bad?
19:40.53cr21 is easier
19:41.25*** join/#htc-linux rmoravci1 (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
19:42.11cr2i need to understand if (and how) the ATT blocks are controlled.
19:42.41goxboxliveok
20:04.34goxboxliveYes, now i have manage to let the phone hang up also. And also
20:04.46goxboxlivereject2 works now. YIHA
20:04.54elliswaycoo
20:04.57elliswaywell done m8
20:08.47goxboxlivecr2: When i have a active call DTMF is working. I can hear the tones in the speaker
20:28.53cr2the general diagramm misses some switches. but they are plotted later.
20:29.03goxboxlivei c
20:34.37cr2most tricky is to integrate the BT headphone.
20:35.25goxboxlivewe can do that later.
20:36.13cr2wow. there are 4 mic attenuators for the phone :) 2 with digital control.
20:36.48cr2<PROTECTED>
20:36.54goxboxliveis that good?
20:37.01cr2too much :)
20:37.46cr2probably it's better to leave them with the wince settings.
20:37.56goxboxliveok
20:38.37cr2MGAIN is already implemented.
20:39.01cr2we can check MOGN,
20:39.20cr2and there are ATTM and IPGA with digital control.
20:40.38goxboxlivesound like a overdeveloped sound device we have. DOes WinCe use all of it?
20:41.03cr2powerup PMMO, enable PSMO, switch on MICM
20:41.10cr2set MOGN
20:41.25cr2amd press the record button :)
20:41.52cr2then you'll be able to talk and record an the same time.
20:41.59goxboxliveok
20:42.40cr2we can make such a wild hack.
20:43.26cr2by changing the current sound record handler.
20:43.56goxboxliveok
20:44.04cr2it will waste some power.
20:44.09*** join/#htc-linux TripleDES (n=sergio@89.129.191.173)
20:44.46goxboxlivedoesnt mather its just for fun anyway. It's a good solution until someone write a sound mixer.
20:44.49cr2and we will then hook the "record sound" to the mic.
20:45.17cr2write into the openmoko.
20:46.23cr2how do you start sound recording now ?
20:46.44goxboxliveIt doesnt work in opie. so i am doing it form the shell.
20:47.03goxboxlivecat /dev/dsp > file.wav
20:48.33goxboxliveBut i havet tried it for i while though
20:49.10cr2ok.
20:50.29goxboxliveI tried it and it worked
20:51.13cr2ok, but it's too complex.
20:51.43cr2how does openmoko-dialer switches the mic ?
20:51.46goxboxlivewe dont need a to record a phone call now anyway. I can try it out now
20:52.08goxboxliveHave no idea cr2. I have have only consentrated on the AT commands
20:52.28*** join/#htc-linux TripleDES (n=sergio@89.129.204.30)
20:52.41cr2ok.
20:56.41goxboxliveI tried to record a phone call now, but it didnt work
20:59.21cr2of course it will not work now.
20:59.46goxboxliveok :-)
20:59.49cr2you record only the mic.
21:00.02*** join/#htc-linux TripleDE1 (n=sergio@89.129.148.181)
21:00.02cr2i.e. what _you_ are saying :)
21:00.22goxboxliveof course :-/
21:00.38cr2with the hack you'll need to do
21:00.52cr2cat /dev/dsp > /dev/null
21:01.09cr2to enable the mic -> phone connection :D
21:01.13goxboxlivewhen i receive make a call?
21:01.21cr2imagine that.
21:01.22cr2yes.
21:01.30cr2the phone rings ?
21:01.41goxboxliveno it doesnt
21:01.51cr2btw. who should play the ring ?
21:02.17goxboxlivedont know
21:02.37cr2where is it played ?
21:03.15cr2in the main speaker/headphone ?
21:03.31cr2the actual question is
21:03.42goxboxliveit doesent work now, I dont know in winve, but i think it is the main speakers (stereo)
21:03.49cr2if it is played by the phone, or we need to do it ourselves.
21:03.57goxboxliveYes and in the headphone if they are attached
21:04.21cr2yes, but where does it come from ?
21:04.30cr2is it just a wince wav ?
21:04.39goxboxliveyes it is a wav
21:04.42cr2of something coming from the phone ?
21:04.57*** join/#htc-linux rob_w (n=bob@p213.54.30.186.tisdip.tiscali.de)
21:05.02cr2rob_w: hi
21:05.02goxboxlivenow, it is a wav fike, because you can change ringtone
21:05.12cr2ok.
21:05.12goxboxlives/fike/file/
21:05.14rob_whi
21:05.30cr2rob_w: do you know something about UMTS/HSDPA ?
21:06.58rob_wnot tooo much
21:07.17rob_wi would need to read into them
21:07.26*** join/#htc-linux TripleDE2 (n=sergio@89.129.186.239)
21:07.45cr2i'm interested how the video call is working.
21:08.10cr2is it just a video over ip/ppp ?
21:08.41cr2so you setup the ppp link and just transmit the video frames.
21:08.43rob_wi bet it will have its own "magic " encoding but basicly yes , what else
21:09.18cr2it can be embedded in the protocol.
21:09.32cr2like the GSM data/FAX vs. GPRS.
21:10.11cr2you can use both for data transmission, but they are very different from each other.
21:11.05rob_wbut it also needs tobe inititated from the outside , for a incoming call
21:11.16cr2the reason i'm asking is that newest phones define 4 "virtual data circuits"
21:11.25cr21,2,3 and 9.
21:11.30cr2whatever that means.
21:11.34rob_wwhat
21:11.56cr2it may be described in some standard
21:12.15rob_wso that proves that some high genius consortium made up a freaky protocol for already existing functionality`S .. yet again
21:12.26cr2the data channel is split in 4 circuits.
21:12.39cr2yeah, but how do we know it ?
21:13.31rob_wwell as first step you only can read the specs
21:13.59rob_wuntil you get people to know which implemented those things already
21:13.59cr2:)
21:14.07cr2well, where do we find such people ?
21:17.20rob_wwell i hope openmoko fe could bring up some people from FIC which are familiar with them already.
21:17.45cr2ok.
21:20.39rob_wman i need to back port a i810 feature from the latest sources.. too bad the the last releases of this driver made some HUGE progress ...argh
21:36.11goxboxliveWell it's getting late. night
21:41.59rob_wsame here
23:30.19cr2Kevin2: i'm working on completely other things now, if you'll be here, let me know.
23:38.34Kevin2Hi cr2
23:41.45cr2Kevin2: i've done some useful things yesterday.
23:43.20Kevin2Coding or discovery?
23:43.37cr2discovery. coding is another thing.
23:43.53cr2i've documented the keyboard keycodes
23:44.16cr2it is a usual spi keyboard on spi0
23:44.34cr2with |0x80
23:44.40cr2like on blueangel.
23:44.49cr2even the pic controller is the same
23:45.51cr2then i've traced the gpios.
23:46.47cr2huh. can't find the page in the wiki.
23:47.36cr2strange.
23:47.48Kevin2Sounds great.  Is the ATI stuff still an unknown?
23:47.49cr2but i have a local list.
23:48.07cr2the ATI is 90% known.
23:48.36cr2btw, i have not found any SD power gpios.
23:49.13cr2so if you'll compile the lastest CVS, you can check if the SD works.
23:49.30cr2i have found the boardid+cpldid pins.
23:49.57cr2http://wiki.xda-developers.com/index.php?pagename=HermesGPIO
23:50.02cr2here at the bottom.
23:50.24cr2and here
23:50.27cr2http://wiki.xda-developers.com/index.php?pagename=Hermes_CPLD
23:51.05cr2the A and B banks in CPLD are normal gpios (it seems)
23:51.14cr2C is for acking the irq
23:51.24cr2D,E,F are inputs.
23:51.37Kevin2How do you know what the id pins are?  Disassembly?
23:51.48cr2don#t yet know the irq->pin relation.
23:51.51cr2where ?
23:52.02cr2gpio or CPLD ?
23:52.15cr2for boardid ? disassembly.
23:52.50cr2there is no other way.
23:53.50cr2sound is ak4641, it seems that the speaker power gpios are  known.
23:54.08cr2mic is controlled over i2c. also sound path switching.
23:54.09Kevin2addirqwatch p2v(0x4A000010) 0x4010 32 0     ;     addirqwatch p2v(0x560000a8) 0x0 32 0
23:54.21Kevin2will find irqs pretty quick
23:54.31cr2i guess it's the same as on the universal
23:54.33cr2ok.
23:55.05cr2if you can trace i2c, while calling,playing,etc. then we can check.
23:55.36cr2p2v(0x4A ?
23:55.51cr2CPLD is at (virt) 0xb4700000
23:55.54Kevin2When I last tried to trace i2c, I got _alot_ of data.
23:56.25cr2do you trace the bitshifting register ?
23:56.56Kevin2The only way to trace is to catch all reads/writes to the full 1Meg range that i2c is in.
23:57.09cr2ok.
23:57.40Kevin2p2v(0x4A000010) is the INTPND register.
23:57.54cr2for the power up/down gpios i need the gnu-haret commands ported.
23:58.03cr2you'll see only the chained irq.
23:58.21Kevin2p2v(0x560000a8) is for gpio irqs.
23:58.27cr21   0x0002   CPLD irq   EINT1
23:58.55cr2most gpio irqs are known. and i'
23:59.00cr2ll find the rest.
23:59.06Kevin2What's the address for the CPLD irq lines?  They can be added to addirqwatch also.
23:59.26cr2writes to bank C
23:59.42cr20xb4700000+0x4

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