IRC log for #htc-linux on 20090630

00:57.02*** join/#htc-linux BHSPitMonkey (n=stephen@unaffiliated/bhspitmonkey)
02:26.43*** join/#htc-linux LTxda (n=anon@unaffiliated/ltxda)
02:45.11*** join/#htc-linux droid001 (n=mc@p4FDCF98A.dip.t-dialin.net)
03:08.26*** join/#htc-linux mrmoku|a` (n=mrmoku@ppp-93-104-97-177.dynamic.mnet-online.de)
04:10.22*** join/#htc-linux Moku (n=John@78.48.7.86)
04:11.54*** join/#htc-linux goxboxlive (n=jrs@mail2.hjellnesconsult.no)
04:36.30*** join/#htc-linux droid0011 (n=mc@p4FDCC66B.dip.t-dialin.net)
05:05.44*** join/#htc-linux Gigawatts (n=chatzill@136.176.112.38)
05:24.49*** join/#htc-linux TheSarge (n=thesarge@c-67-166-81-143.hsd1.or.comcast.net)
05:25.03TheSargeWhatup
05:25.27TheSargeAnyone here?
05:25.59TheSargeYo
05:27.24*** join/#htc-linux dedet (n=dedet@121.101.188.42)
05:33.01tmztyah, how are things?
05:33.35TheSargeGood
05:33.39TheSargeYou?
05:34.19tmztgood
05:35.54xsacha-tvm good thx
05:36.26tmztstill watching broken tv?
05:37.32xsacha-tv:(
05:37.44xsacha-tvlistening.. audio, no pic
05:38.41Gigawattsthats quite sad
05:40.16xsacha-tvthis is crazy stupid: http://www.blogcdn.com/www.engadget.com/media/2009/02/charger_unification_europe.jpg
05:40.26xsacha-tvthey need a standard gr
05:44.48xsacha-tvmicro-usb standard coming..
05:46.12*** join/#htc-linux pleemans (n=toi@mailhost.infoco.be)
05:48.57*** join/#htc-linux pe7er (n=Adium@f053194247.adsl.alicedsl.de)
05:54.45*** join/#htc-linux cr2 (n=cr2@ip-90-186-221-225.web.vodafone.de)
05:55.30cr2morning
06:04.08*** join/#htc-linux cr2_ (n=cr2@ip-90-186-16-167.web.vodafone.de)
06:09.15*** join/#htc-linux TheSarge (n=thesarge@c-67-166-81-143.hsd1.or.comcast.net)
06:10.01*** part/#htc-linux TheSarge (n=thesarge@c-67-166-81-143.hsd1.or.comcast.net)
06:10.58tmztusb/microusb or the smart charger?
06:11.06tmztgot disconnected
06:13.43*** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
06:18.49cr2_hi tmzt
06:19.10tmzthello
06:19.16tmztnot really awake yet
06:19.33*** join/#htc-linux kiozen (n=oeichler@p549214C2.dip0.t-ipconnect.de)
06:20.08cr2_need to do something about adsp
06:20.19*** join/#htc-linux kiozen (n=oeichler@p549214C2.dip0.t-ipconnect.de)
06:20.49cr2_and to write the msm_snd ioctl program
06:21.03tmztok
06:21.21tmztI tried something like that but didn't get anywhere
06:40.42*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
06:50.53xsacha-tvtmzt: i got source code of wolfson's windows ce battery driver
06:51.13xsacha-tvit doesnt matter the zylonite_battdrvr.dll at all because it uses ac97 and ioctl to communicate instead of i2c
06:51.29xsacha-tvbut i believe i could use wolson's chip to measure battery anyway (i have 2 options)
06:52.23xsacha-tvthe chip has 4 AUX to measure voltage but only AUX_1 seems to be enabled (by winmo, it's a register setting) and it always reports the same value: 3681 (3.681V?)
06:53.52xsacha-tvthe thing is wolfson's battery driver is fully opensource and i dont even know which chip my device is intended to use for battery measurements and i doubt there is a driver for it :\
06:57.16tmztinteresting
06:57.32tmztI think volatge should be largely constant
06:58.08tmztdoes it have w1 or other interface?
06:58.16tmztto the battery
07:02.20*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
07:18.46xsacha-tvhavent seen w1 mentioned anywhere
07:19.06xsacha-tvthe battery driver seems to think charge depends on voltage.. max voltage being about 3800-3900 and min voltage being about 3100
07:19.39xsacha-tvit thinks the charge is linear from about 3500-3800 and then it is a curve from 3500 to 100 (quickly reducing voltage)
07:20.54xsacha-tvi see I2S mentione, AC97 and IOCTL
07:21.09xsacha-tvfor the driver that comes with zylonite though, only I2C is used
07:21.17xsacha-tv(comes with my phone i mean)
07:23.34xsacha-tvobviously it's talking to a different chip
07:28.53xsacha-tvyeah well: I2C, AC97, IOCTL but no W1
07:28.58xsacha-tvI2S***
07:30.04xsacha-tvthere is also a power management chip that comes includes with our gsm chip.. i might look at it
07:30.43xsacha-tvQDSP4000 is the modem (inside a msm6280)
07:31.52xsacha-tvit's a chip that seems to do everything (usb, gps, gsm, SD, SDIO, keypad, audio, power, camera, graphics, video) but im pretty sure it is used solely for GSM
07:40.01*** join/#htc-linux pe7er (n=Adium@f053194247.adsl.alicedsl.de)
07:54.16*** join/#htc-linux tuxhero (n=tuxhero@58.68.74.85)
07:55.21*** join/#htc-linux BabelO_ (n=fcr@82.238.28.28)
08:01.12tuxherotmzt i had ported 2.6.27 to 2.6.29 after setting RPC Versions to 0 i got audiomanager working and some welcome type of messages after that kernel stop responding. In 2.6.27 kernel audio manager is stopping at  804 line of smd_rpcrouter.c it's msm_rpc_write function
08:02.33tuxherofrom smd_rpcrouter.c comments /* TODO: fragmentation for large writes */  i think our rpc needs that
08:02.53*** part/#htc-linux tuxhero (n=tuxhero@58.68.74.85)
08:21.01*** join/#htc-linux nebi (n=nebi@217.142.147.19)
08:26.13*** join/#htc-linux MethoS (n=clemens@host-091-096-215-205.ewe-ip-backbone.de)
08:37.31*** join/#htc-linux jim_p (n=Miranda@alc112.alcatel.be)
08:38.06*** join/#htc-linux stoked (n=t808490@174.6.56.53)
09:09.29*** part/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)
09:45.18xsacha-tvhey anyone know about the status of HTC Hermes?
09:45.23xsacha-tvis battery working?
09:53.33*** join/#htc-linux KindofBlue (n=KindofBl@rgnb-5d87cc4a.pool.einsundeins.de)
09:56.32*** join/#htc-linux dcordes-kais (n=dcordes-@ip-90-186-171-180.web.vodafone.de)
09:56.37dcordes-kaishello
10:08.00*** join/#htc-linux jim_p (n=Miranda@alc112.alcatel.be)
10:23.45*** join/#htc-linux jim_p (n=Miranda@alc112.alcatel.be)
10:53.33*** join/#htc-linux fnord (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
11:11.32*** join/#htc-linux guest55555 (n=stephan@rgnb-5d87cc4a.pool.einsundeins.de)
11:22.01xsacha-tvthe voltage does change: <7>power_supply battery: prop VOLTAGE_NOW=3688
11:31.28xsacha-tvhey if my desktop says it is still connected to my phone via usb when im in linux.. is it really connected?
11:31.43xsacha-tvit disconnects when i reboot/take out battery
11:31.59xsacha-tv(or take out cord)
12:08.19*** join/#htc-linux pleemans (n=toi@mailhost.infoco.be)
12:24.58*** join/#htc-linux stephan1 (n=stephan@rgnb-5d87c4c6.pool.einsundeins.de)
12:34.37*** join/#htc-linux stephan2 (n=stephan@rgnb-5d87d311.pool.einsundeins.de)
12:37.50*** join/#htc-linux KindofBlue (n=KindofBl@rgnb-5d87d311.pool.einsundeins.de)
12:38.15*** join/#htc-linux JuNu_KN (n=chatzill@95.113.17.94)
12:59.55*** join/#htc-linux KindofBlue (n=KindofBl@rgnb-5d87cb37.pool.einsundeins.de)
12:59.57*** join/#htc-linux stephan2 (n=stephan@rgnb-5d87cb37.pool.einsundeins.de)
13:00.28*** part/#htc-linux KindofBlue (n=KindofBl@rgnb-5d87cb37.pool.einsundeins.de)
13:05.26*** join/#htc-linux Guest55555 (n=Guest555@rgnb-5d87cb37.pool.einsundeins.de)
13:09.58*** join/#htc-linux KindofBlue (n=KindofBl@rgnb-5d87cb37.pool.einsundeins.de)
13:20.43*** part/#htc-linux pe7er (n=Adium@f053194247.adsl.alicedsl.de)
13:26.01*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
13:36.51*** join/#htc-linux mugsie (n=Administ@unaffiliated/mugsie)
13:46.28*** join/#htc-linux BabelO_ (n=fcr@unaffiliated/babelo)
13:46.40*** join/#htc-linux darkstar62 (n=darkstar@m2b0e36d0.tmodns.net)
14:04.05*** join/#htc-linux Gigawatts (n=chatzill@mactop.st.bradley.edu)
14:06.52*** join/#htc-linux goxboxlive (n=goxboxli@140.84-48-184.nextgentel.com)
14:12.54*** join/#htc-linux jim_p (n=Miranda@alc112.alcatel.be)
14:13.49*** join/#htc-linux sdt555 (n=titus@147.145.40.44)
14:22.02*** join/#htc-linux m0zzie_ (n=m0zzie@60-241-53-34.static.tpgi.com.au)
14:26.34*** join/#htc-linux pleemans (n=toi@mailhost.infoco.be)
14:27.31*** part/#htc-linux sdt555 (n=titus@147.145.40.44)
14:27.48*** join/#htc-linux Squarc (n=Squarc@145.81.0.139)
14:32.47*** join/#htc-linux g55 (n=g55@rgnb-5d87cb37.pool.einsundeins.de)
14:41.17*** join/#htc-linux g55 (n=g55@rgnb-5d87cb37.pool.einsundeins.de)
14:43.00*** join/#htc-linux pe7er (n=Adium@78.53.194.247)
14:44.10*** join/#htc-linux m0zzie_ (n=m0zzie@60-241-53-34.static.tpgi.com.au)
15:02.50*** join/#htc-linux pleemans (n=toi@mailhost.infoco.be)
15:03.06*** join/#htc-linux m0zzie_ (n=m0zzie@60-241-53-34.static.tpgi.com.au)
15:05.35*** join/#htc-linux darkstar62 (n=darkstar@m130e36d0.tmodns.net)
15:10.50*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87c2f3.pool.einsundeins.de)
15:16.32*** join/#htc-linux darkstar62 (n=darkstar@m6c0e36d0.tmodns.net)
15:34.49*** join/#htc-linux Shinto (n=John@g227224054.adsl.alicedsl.de)
15:39.12*** join/#htc-linux nebi (n=nebi@217.142.147.19)
15:50.22*** join/#htc-linux vts (n=vts@88-117-93-50.adsl.highway.telekom.at)
15:53.44*** join/#htc-linux DJW|Home (i=djwillis@82-46-19-72.cable.ubr02.bath.blueyonder.co.uk)
15:56.15*** part/#htc-linux vts (n=vts@88-117-93-50.adsl.highway.telekom.at)
16:02.54*** join/#htc-linux vts (n=vts@88-117-93-50.adsl.highway.telekom.at)
16:02.57*** part/#htc-linux vts (n=vts@88-117-93-50.adsl.highway.telekom.at)
16:05.50*** join/#htc-linux BabelO__ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
16:10.40*** join/#htc-linux Squarc (n=Squarc@145.81.0.139)
16:19.26*** join/#htc-linux Squarc (n=Squarc@145.81.0.139)
16:19.39*** part/#htc-linux mugsie (n=Administ@unaffiliated/mugsie)
16:20.29*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
16:23.18*** join/#htc-linux Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
16:24.30Captnoordwaves around
16:24.54*** join/#htc-linux chab7 (n=kvirc@fibhost-67-206-132.fibernet.bacs-net.hu)
16:34.24*** join/#htc-linux pH5 (n=ph5@e178203122.adsl.alicedsl.de)
16:38.50*** join/#htc-linux Squarc (n=Squarc@145.81.0.139)
16:38.59*** join/#htc-linux dante__ (n=chatzill@host176-48-static.15-79-b.business.telecomitalia.it)
16:51.10*** join/#htc-linux Echo31 (n=olivier@mir31-4-82-240-194-54.fbx.proxad.net)
16:51.40Echo31Hi all
16:58.09*** join/#htc-linux Echo31 (n=olivier@mir31-4-82-240-194-54.fbx.proxad.net)
17:00.31*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
17:07.40*** join/#htc-linux Echo31_ (n=olivier@mir31-4-82-240-194-54.fbx.proxad.net)
17:11.07*** join/#htc-linux Echo31 (n=olivier@mir31-4-82-240-194-54.fbx.proxad.net)
17:12.17Echo31Hi pH5
17:14.15pH5hej Echo31
17:16.26Echo31pH5: no idea for initializing clpd1
17:21.17*** join/#htc-linux onen|openBmap (n=quassel@mry91-1-89-87-198-158.dsl.club-internet.fr)
17:22.47Echo31pH5: the cpld1 .direction can it have other values different of HTC_EGPIO_INPUT and HTC_EGPIO_OUPUT (i.e. 0x01ff) ?
17:23.19pH5yes
17:25.17Echo31pH5: Can you (or cr2) ensure the correct value of .direction =HTC_EGPIO_INPUT or HTC_EGPIO_OUPUT for cpld1?
17:27.44Echo31pH5: How to find the value. direction ?
17:30.11pH5Echo31: as explained in the kerneldoc comments, it's a bitfield (0 in, 1 out). http://www.htc-linux.org/wiki/index.php?title=CPLD1 tells you what to choose.
17:39.50*** join/#htc-linux StarLite (n=nnscript@s55916ca6.adsl.wanadoo.nl)
17:51.36*** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)
17:52.09tmztwhy is that driver so low-level anyway? bitmasks?
17:53.56Echo31pH5: from  http://www.htc-linux.org/wiki/index.php?title=CPLD1, for Bpin+2 bytes , why not +1 byte. The CPLD1 registers size are 8 bits ?
17:54.44*** join/#htc-linux vts (n=vts@62-47-205-176.adsl.highway.telekom.at)
17:57.55*** join/#htc-linux LTxda (n=anon@unaffiliated/ltxda)
17:57.56pH5tmzt: it was written before configuration list parsers became en vogue
17:58.06tmztah
17:58.09tmztno gpio-api?
17:58.11pH5Echo31: obviously, register width is 8 bits, but the spacing is 16.
17:58.23pH5tmzt: this is the driver which provides the gpio api
17:58.28pH5for htc cplds
17:58.39tmztso gpio_set_direction works?
17:59.06pH5yes/no. htc egpios are fixed direction. so gpio_set_direction either does nothing or fails.
17:59.32tmztok
17:59.37tmztthat makes sense
17:59.59tmztyou're describing the hardware rather than configuring it
18:01.08pH5tmzt: that's right. maybe I should put a sentence to that effect in the documentation for that .direction field.
18:03.53Echo31ph5: i find . the correct value are
18:03.53Echo31<PROTECTED>
18:03.53Echo31.bus_width    = 8,
18:04.41Echo31pH5: The spacing is 8
18:06.49*** join/#htc-linux xero (n=IceChat7@70.90.206.16)
18:08.47*** join/#htc-linux LTxda (n=anon@unaffiliated/ltxda)
18:09.01Echo31pH5: now cpld1 and cpld2 are initialized
18:13.34*** join/#htc-linux cr2 (n=cr2@ip-77-25-149-80.web.vodafone.de)
18:13.43cr2hi
18:13.53Echo31cr2: hi
18:14.15cr2hi Echo31
18:14.23cr2tmzt: need some help from you
18:14.46Echo31cr2 :  now cpld1 and cpld2 are initialized
18:15.02pH5Echo31: the wiki says CPLD1 spacing is 16
18:15.05pH5hi cr2
18:15.14cr2hi pH5
18:15.35cr2Echo31: you don't need to init them. afaik
18:15.43Echo31ph5 cr2: With 8, cpld1 works
18:16.02cr2with 8 ?
18:16.44pH5I don't believe that.
18:16.52Echo31cr2: cpld1 register size is 8 bits ans the spacing 8 bits
18:17.31cr2Echo31: the registers have 16bit spacing
18:17.40cr2ldrh/strh
18:18.01cr2but only lower 8bit are used
18:19.33Echo31cr2: i don't know, find the code http://fr.pastebin.ca/1479806
18:20.24tmztcr2: ok
18:20.47cr2pH5: do we need to pack gpio space ?  .gpio_base = NR_BUILTIN_GPIO + 64
18:21.58cr2tmzt: can you play 1. .wav 2. mp3 3. .wma 4. .wmv ? and after each step dump the smem ?
18:22.09tmzton wm?
18:22.15tmztI guess I can try
18:22.30tmztcan you give me the commands?
18:22.32pH5cr2: you should, for clarity. but it's not strictly necessary as long as you stay blow 256 in total.
18:23.01cr2ok
18:23.58*** join/#htc-linux mugsie1 (n=Administ@86-45-11-136-dynamic.b-ras2.prp.dublin.eircom.net)
18:24.08cr2tmzt: pwf smem-X 0x01f00000 0x100000 , where X is the dump name, like wav,mp3,wma
18:24.23Echo31cr2: i think , also we can put less , gpio_base=8*7 is enough
18:24.27tmztok
18:24.29cr2tmzt: we need to try to expose all adsp modules
18:24.42*** part/#htc-linux mugsie1 (n=Administ@86-45-11-136-dynamic.b-ras2.prp.dublin.eircom.net)
18:24.57cr2tmzt: this will be 6150 amss for you, and 5200 for me
18:25.06Echo31cr2: gpio_base=NR_BUILTIN_GPIO + 56
18:25.13tmztyes, ok
18:25.32cr2Echo31: try to init the cpld1 with the "as is" wince values
18:25.46cr2Echo31: i think we are missing something really minor.
18:26.17cr2tmzt: you may guees from the module list what other options are possible
18:27.00tmztif I can get rndis working, just upgraded to karmic last week
18:27.12tmztmodule list?
18:28.16*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
18:28.18*** join/#htc-linux droid001 (n=mc@p4FDCCF6B.dip.t-dialin.net)
18:29.05*** join/#htc-linux stickboy (n=anonymou@ool-457e4101.dyn.optonline.net)
18:31.40cr2typedef enum {
18:31.50cr2qdsp_module_type;
18:32.07cr228         QDSP_MODULE_AUDIO_DEC_MP3,
18:32.09cr229         QDSP_MODULE_AUDIO_DEC_AAC,
18:32.10cr230         QDSP_MODULE_AUDIO_DEC_WMA,
18:32.15cr2do you have .aac ?
18:32.48cr241         QDSP_MODULE_VIDEOENCTASK,
18:33.03cr253         QDSP_MODULE_QCAMTASK,
18:33.15tmztok
18:33.23cr245         QDSP_MODULE_VIDEO_AMR,
18:33.38Echo31cr2: what are "as is" wince values ?
18:34.09cr2Echo31: .initial_values from 'pd 0x08000000 0x14'
18:34.34Echo31cr2: ok
18:34.48cr2Echo31: you can certainly drop the LEDs from this list
18:39.04Echo31cr2: i find
18:39.04Echo3108000000 | 0000000c 00d00012 00fe0000 000a0021 | ............!...
18:39.04Echo3108000010 | 00000000
18:41.20cr2c,0,12,d,0,fe,21,(a),0
18:47.51Echo31cr2:  your values and with Hpin init= 0xa , cpld1 works
18:49.11*** join/#htc-linux pe7er (n=Adium@pD9E6C49A.dip.t-dialin.net)
18:49.25cr2Echo31: "a" is not for H
18:49.34cr2H should be 0
18:49.54cr2Echo31: let's try to reduce the number of set pins now.
18:50.12cr2it's obviously an init problem, not the driver itself
18:50.27Echo31cr2: what is (a) ?
18:50.48cr2th value for the "hole" register
18:51.34cr2there is a hole between G and H, the +0xe register
18:52.08cr2tmzt: do you have a bt headset ?
18:53.01Echo31cr2: A= c  B=0 C=12  D=d  E nothing   F=fe  G=21  H=0 ?
18:53.26tmztI do, but not with me
18:53.54cr2tmzt: ok
18:54.25tmztdumping all of smem?
18:54.29cr2Echo31: you have dropped the "input" regs ?
18:54.58cr2tmzt: the rpccall fifos, if the size makes you nervous :)
18:55.07*** join/#htc-linux ecze (n=ecze@eczema.ecze.com)
18:56.50tmztwhat are you looking for in here?
18:57.07tmztit's 64k lines
18:57.24cr2not lines, the rpc calls
18:57.36tmztwhere do they start?
18:58.24cr2od -A x -t x4 -w16 -j $((0x10198)) -N $((0x2048))
18:58.42cr2it must be in the wiki
18:58.59tmzt518 lines, I can paste that
18:59.19cr2ok
19:00.08cr2rpccall location is not documented for raph800 ;)
19:00.50tmzthttps://privatepaste.com/1f1TfnBGb5
19:04.43cr2tmzt: 02000000 0a000030
19:04.51cr2then
19:05.01tmzt-j -N?
19:05.07cr200000000 01000000
19:05.20*** join/#htc-linux ecze (n=ecze@eczema.ecze.com)
19:05.27cr2this is RPC PROG=a, VERS=0, FUNC=1
19:05.46tmztdid changing func help?
19:06.16Echo31cr2: You want remove  E , F init_value, G init_value or E,F,G ?
19:06.16cr21,1,2,4
19:06.27cr2Echo31: yes
19:06.39cr2Echo31: nothing should change
19:07.21cr2tmzt: ADSPRTOSATOM  0x3000000a   adsp_*
19:07.42cr21,4  adsp_rtos_app_to_modem (got_it=1,cmd=1,proc_id=2,module=4)
19:08.01cr2that looks familiar
19:08.10cr2tmzt: what did you play ?
19:08.28cr2filetype
19:08.31tmztwma from MUSIC
19:08.35tmztsample
19:08.46cr2module=4
19:09.08cr2<PROTECTED>
19:09.37cr2is it right ?
19:09.47tmztWindows Media Audio 9.2
19:10.05tmzt96 kbps, stereo 1-pass CBR
19:10.26tmztI'm not sure it was still playing though
19:10.34tmztsince the pwf took so long
19:10.59Echo31cr2: i removed E,F and G: cpld1 works
19:11.00cr22,5  snd_set_volume_modem_reset (dev=d,method=1,vol=5,cb,data)
19:11.05cr2it was mine
19:11.13tmztyou found that in mine?
19:11.37cr2tmzt: yours is d,0,2
19:12.07cr2i think in g1 code method=0 is hardcoeded ?
19:12.15tmztdev,method,vol?
19:12.24cr2i think 0 is voice
19:12.26cr2yes
19:12.29Echo31cr2: Why you want remove the input registers ?
19:13.04cr2Echo31: because it's the wince state. let's look for other unsuspicious bits
19:13.32cr2tmzt: '0xd' is the device in the SND list
19:13.35tmzt0 is voice? do we know what method is for?
19:13.37tmztoh
19:13.41tmztwhich endpoint?
19:14.07cr2on g1 ?
19:14.08*** part/#htc-linux vts (n=vts@62-47-205-176.adsl.highway.telekom.at)
19:14.19cr2BH M100
19:14.55cr21,5  snd_set_device_modem_reset (dev=1,ear_mute=1,mic_mute=1,cb,data)
19:14.59cr2this is ok for you too
19:15.16cr21 is speaker
19:15.27cr2don't know why volume uses 'd'
19:15.43tmztnot using bluetooth, no idea
19:15.45cr2dev=1 is speaker
19:15.52tmztunless it's different on cdma
19:15.53cr2tmzt: the same here
19:16.27tmztstill lost
19:16.31Echo31cr2: Perhaps, i understand incorrectly. I dropped  the 3 whole registers
19:16.52tmztmaybe the devices are different on volume
19:16.58cr2uh,0x1c  pm_mic_set_volt
19:17.06tmztbias?
19:17.23cr2not completely documented in wiki yet.
19:17.51cr2Echo31: that's ok. let's try to remove further bits. what do you have left ?
19:19.33Echo31cr2: I removed the 3 whole registers : E F G
19:19.37cr23c=5, 2c=?
19:19.57cr2Echo31: it's ok. i mean the set bit in other ouput banks
19:20.06cr23c-2c=10
19:20.18cr210/4=4
19:20.23cr22c=1
19:20.49cr2editing wiki
19:21.21cr2tmzt:  pm_mic_set_volt(0) for you
19:22.02tmztthe mic is not being used
19:22.44cr2see d,1,5 for you too
19:23.06cr20,0,0for reset
19:23.19Echo31cr2: you want that i remove step by step the output registers?
19:23.21tmztwhat can I do with this?
19:24.06cr2i see pm_mic_set_volt(1)
19:24.09cr2Echo31: wait
19:27.01cr2tmzt: found 13
19:27.12cr2=audmgr
19:27.32tmztendpoint?
19:27.43cr21,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)
19:27.47cr2you have
19:28.12tmzttry mp3 or wav now?
19:28.17tmztshould codec change?
19:28.30tmztwe have the kernel side of audmgr for g1 right?
19:28.38cr21,0,9,5,4,1,9,a0d67f01
19:28.57cr2yes, it's all in the g1 code
19:29.14cr2the same as mine.
19:29.40cr2codec=4
19:30.07cr22,1  audmgr_disable_client_apps (0)
19:30.21cr2the same for you
19:31.28tmztwhat is codec=4 then?
19:31.33tmzthow can we do pcm?
19:31.53cr2check g1 code
19:32.02cr2it's all guesswork now
19:32.05cr21,4  adsp_rtos_app_to_modem (got_it=1,cmd=1,proc_id=2,module=4)
19:32.06*** join/#htc-linux MEDIA-CENTRE (n=chatzill@cpc1-blac6-0-0-cust618.manc.cable.ntl.com)
19:32.37cr21,2,2,4
19:32.46tmztprocess id?
19:32.51cr2so, cmd=2 now
19:32.54MEDIA-CENTREhi all
19:33.15bally3lol
19:33.53tmzthello
19:35.17cr27,1  clk_regime_sec_enable
19:35.32cr20x28 for you
19:35.39tmzt0x28,1?
19:35.44bally3can anyone tell me how long it should take for the new datastore image to extract?
19:35.51cr21 is 1 param
19:35.59tmzthow big is the source?
19:35.59tmztand what device?
19:36.00cr2clk_regime_sec_enable(0x28)
19:36.06cr2don't know
19:36.10*** join/#htc-linux KindofBlue (n=KindofBl@rgnb-5d874933.pool.einsundeins.de)
19:36.10cr2did you enable cam ?
19:36.32bally3polaris, i believe 128mb with the new initrd.gz
19:36.37cr20x33
19:36.49cr2also in my list
19:37.12cr20x29
19:37.30*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
19:37.50cr20x26,1  clk_regime_sec_sel_vfe_src (0/1)
19:38.13tmztah, you're getting these from the wiki?
19:38.14cr2tmzt: it's probably the initial setup
19:38.35tmztok
19:39.14cr2clk_regime_sec_disable
19:39.53tmztdoes playsound work?
19:40.55cr2it hangs
19:41.13tmztoh
19:41.14cr2and it needs msm_snd device selection ioctl support
19:41.24tmztI mean in haret
19:41.32cr2can you play .mp3 ?
19:41.33tmztyeah
19:41.38tmztyeah, let me do that
19:41.41cr2no
19:41.45tmztdo you have the addresses to dump?
19:42.03cr2because the filename is hardcoded 'chord.wav' ?
19:42.12cr2it's not avalibale on wince6.1
19:42.16tmztok
19:42.28cr2we need to patch playsound and add 1 param =name
19:42.30tmztI can copy the alsa ones to \windows
19:43.06cr2play mp3 and wav
19:43.31cr2and record
19:43.44cr2to/from with headset
19:44.48cr2Echo31: what is c on A ?
19:44.59cr2c=8+4
19:45.30cr2GPIOA6   0x0040   FIR pwr1 related
19:45.32cr2GPIOA7   0x0080   cam related(orr,bic) msleep10
19:45.39cr2Echo31: replace c by 0
19:46.02cr2FIR pwr1 is weird
19:46.54tmztwhy?
19:47.11tmztdon't have headset here, wired or bt
19:47.12cr2tmzt: you have only dev=1,1,1 and dev=0,0,0 for sound
19:47.25cr2tmzt: ok, play .mp3
19:47.46cr2then we will check audmgr and adsp
19:47.52cr2dcordes: hi
19:52.24dcordeshi
19:53.04cr2dcordes: i have some patchez that want to be committe
19:53.16dcordeshand it over
19:53.26cr2but i need to mount hdd first
19:53.28dcordesI'll add it once food was obtained
19:53.45tmztboth amss version?
19:53.48*** join/#htc-linux pe7er (n=Adium@pD9E6C49A.dip.t-dialin.net)
19:54.45cr2tmzt: SND, and 64MHz for PCLK, like g1 says.
19:57.15tmztok
19:57.22tmztplaying mp3
19:57.33tmztwhat is the new od command you want me to run?
19:58.22cr2the same
19:58.44cr2just some neu calls will appear
19:59.06tmztok
20:00.17tmzthttps://privatepaste.com/47xibVI2m6BBBAAA
20:00.29tmzt#smem-mp3
20:01.32*** join/#htc-linux ecze (n=ecze@eczema.ecze.com)
20:01.48*** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
20:06.48*** join/#htc-linux ImCoKeMaN (n=imcokema@pool-173-67-180-143.hrbgpa.fios.verizon.net)
20:07.36*** join/#htc-linux Squarc (n=Squarc@145.81.0.139)
20:08.10cr2tmzt: d,1,4 ?
20:08.19cr2lowered the volume ß
20:08.41tmztyeah
20:08.43tmztss?
20:09.21*** join/#htc-linux KindofBlue (n=KindofBl@rgnb-5d874a57.pool.einsundeins.de)
20:09.28cr2missed the shift
20:09.47cr2the log is spammed iwth d,1,4 - called 5 times
20:11.18*** join/#htc-linux ecze (n=ecze@eczema.ecze.com)
20:11.38cr2aha
20:11.47cr21,2,2,2 for adsp
20:12.01cr2adsp_rtos_app_to_modem (got_it=1,cmd=1,proc_id=2,module=4)
20:12.10cr2so cmd=2 for module=2
20:15.37*** join/#htc-linux Squarc (n=Squarc@145.81.0.139)
20:18.35cr21,0,9,2,3,1,9,ptr
20:18.52cr2audmgr_enable_client_apps (one=1,tx_rat=0,rx_rat=9,def_meth=5,codec=4,snd_meth=1,cb=9,data=80d57a01)
20:19.23cr2def_method=3,codec=3
20:20.30cr2<PROTECTED>
20:20.49cr2adsp_rtos_app_to_modem (got_it=1,cmd=1,proc_id=2,module=4)
20:21.02cr2cmd=0, module=2
20:21.23cr21,1,2,2
20:21.38cr2cmd=1,module=2
20:21.56tmztshould I try making a call?
20:22.52cr2audmgr_disable_client_apps (0)
20:22.55cr2can be also 1
20:23.05cr2tmzt: let me finish with this one
20:23.12tmztok
20:23.29tmztI hope this makes sense to you :) I have no idea
20:26.18cr21,2,2,4
20:27.48cr2ok
20:28.00cr2tmzt: can you record some sound ?
20:28.24cr2then we will try to decode a call
20:28.38tmztok
20:28.46tmztwith onenote?
20:28.59cr2does not matter how
20:29.17cr2voice note is ok
20:31.33*** join/#htc-linux bally3 (n=chatzill@cpc1-blac6-0-0-cust618.manc.cable.ntl.com)
20:35.27*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
20:36.23tmzthttps://privatepaste.com/28mVj3gm6l
20:45.41dcordescr2: got the drive?
20:46.03cr2yes, but want to finish looking at the rpcs now
20:51.26*** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
20:51.26cr2audmgr_enable_client_apps (one=1,tx_rat=0,rx_rat=9,def_meth=5,codec=4,snd_meth=1,cb=9,data=80d57a01)
20:52.00cr21,8,0,4,4,1,9,ptr
20:52.35cr2def_meth=4, codec=4
20:53.28cr2adsp_rtos_app_to_modem (got_it=1,cmd=1,proc_id=2,module=4)
20:53.29cr21,1,2,c
20:53.41cr2module=c
20:54.22cr2<PROTECTED>
20:54.27cr2looks bad
20:54.41cr2d=  QDSP_MODULE_AUDRECTASK,
20:54.48cr2hmm.
20:55.08cr2b=QDSP_MODULE_HOSTPCM,
20:55.36cr21,1,2,d
20:55.49cr2e=QDSP_MODULE_AUDPREPROCTASK,
20:55.57cr2looks like shift by one here
20:57.11cr21,2,2,d
20:57.30cr21,2,2,c
20:58.14tmztdidn't do any dtmf
20:58.32tmztit did take longer to get the dump than it should have
20:58.37tmztso I hope it was still in the queue
21:00.22cr2it seems something came into the 6210 version, and shifted the SNDREC modules by one. i think i'll edit that.
21:00.33cr2tmzt: let's try the phone call
21:00.40tmztyeah, google has some git entries about that
21:00.45cr2dcordes: it seems that one more patch is pending.
21:00.47tmztone codec was added
21:00.59tmztok
21:01.01tmztcool
21:03.48tmztthe sound is distorted on call, how is that possible?
21:04.06cr2don't know
21:04.15tmztsounds ok now
21:04.25cr2QDSP_MODULE_JPEGTASK
21:04.36cr2may take a photo here :)
21:06.00cr2tmzt: i think it'd be better to write thr rpc parser.
21:06.20tmztyeah
21:06.57cr2to go through the dumps
21:07.13tmzthttps://privatepaste.com/fb1X4RTjBG
21:07.18tmzt#smem-call
21:09.10dcordeshow do you dump rpc?
21:09.36dcordescr2: which radio version do you have on raphael?
21:10.07cr2dcordes: we dmp rpccall tx fifo
21:10.16cr2in smem
21:10.22cr2dcordes: 52XX
21:10.32cr2dcordes: and 6150 on raph800
21:10.45cr252XX -> 5200
21:12.23cr2tmzt: we may do snd quick and dirty like dzo has done on kaiser
21:12.35cr2msm_snd
21:13.29tmztyeah, I already had some basic patches for that (htc-hw)
21:13.37dcordescr2: 01f10198 ?
21:13.46dcordesis the smem layout on your two raphs equal?
21:13.53dzohi cr2, so do you have working audio on raph now.
21:14.11cr2dzo: no. just found a shift in the module list
21:14.31cr2dzo: and we don't have the userspace code to control the /dev/msm_snd ioctls
21:14.58cr2dcordes: at least they are very close.
21:15.38Treibholzcan somebody confirm, that it is not possible to read the battery in a HTC Universal?
21:16.15cr2Treibholz: it's ds27xx, and it has a w1 driver
21:16.37Treibholzcr2: /proc/apm says -1%
21:16.51dcordesTreibholz: which kernel do you run?
21:17.05cr2tmzt: d,0,2 for snd volume
21:17.18Treibholz2.6.21-hh20
21:17.37dcordescr2: can't we pick up the ioctl code for sound from the android git?
21:17.45dcordesor is it binary
21:18.00Treibholzthe build from titchy-linux. My own crash all the time...
21:18.20cr2dcordes: it's binary
21:18.24Treibholzalthough the only thing I changed was adding the tun-module.
21:18.33cr2Treibholz: start porting to 2.6.30
21:18.49cr2Echo31: are you already sleeping ?
21:19.32dcordesboos
21:19.43dcordesguess we will need them for non android phone
21:20.32dcordesis it easy to record all the ioctls via smem dump or so? or is it too complex
21:20.55Echo31cr2: no; i see onthe display some errors egpio
21:21.28cr2dcordes: the ioctls are in the kernel already, we just need the userspace code to use them.
21:21.51cr2dcordes: like the playwav does with msm_pcm_*
21:22.08cr2Echo31: it's another issue, let's finish with the initial values
21:22.12Treibholzcr2: are the handheld-patches not needed anymore?
21:22.39Echo31cr2: ok
21:22.47cr2Treibholz: the old "stable" kernel is 2.6.21-hh20
21:23.09dcordesok
21:23.23cr2Treibholz: if you want to do a newer kernel, it should be 2.6.30, everyhting else is just waste of time and effort
21:24.00*** join/#htc-linux leaigor (n=laigor@188.134.36.14)
21:24.02Treibholzhandhelds.org looks pretty abbandoned...
21:24.29*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
21:24.34high-rezNeato just got my beagleboard
21:24.54Echo31cr2: i implement usb ohci to plug a keyboard
21:24.58cr2Treibholz: it works, and further development does not make much sense
21:25.14cr2Echo31: ok
21:25.44cr21,8,0,4,4,1,9,ptr
21:25.53Treibholzok, I try...
21:26.03cr21,1,2,c
21:26.45cr2Treibholz: further development of 2.6.21-hh20
21:26.53cr21,1,2,d
21:27.04*** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
21:29.28cr2tmzt: that's all
21:29.48cr2dzo: what QDSP modules are used by vogue/kaiser ?
21:30.04cr2i see 2,4,d,c here on raph
21:30.55cr2AUDPLAY0TASK, AUDPPTASK and AUDRECTASK, AUDPREPROCTASK (shifted by one, probably)
21:31.52dzoi'll just check...
21:32.05cr2thanks
21:33.04cr2we can also check what g1 uses
21:37.56dzoyes, the same, i haven't used AUDRECTASK or AUDPREPROCTASK since i haven't implemented audio in.
21:39.41dzoactually i don't think AUDPLAY0TASK is used, it's all done with PPTASK.
21:40.09cr2ok
21:40.29cr2jpeg & vfe can wait ;)
21:40.56cr2dcordes: still here ? i'll write a patch now.
21:41.06*** join/#htc-linux Moku (n=John@f049066152.adsl.alicedsl.de)
21:41.46cr2tmzt: it seems that i must modify playwav
21:41.58dzoI see, PLAY0 is used for mp3 and PP for pcm, vogue only has pcm working.
21:42.26tmztwhat is PPTASK?
21:42.28cr2dzo: ok, that sounds reasonable.
21:43.00cr2dzo: i dont see a dedicated DEC_MP3 or DEC_WMA being used at all.
21:43.13tmztrouting and pcm will be enough, we ned some kind of front end for mp3 to be useful anyway
21:43.13dzoI can't get other tasks to work because I don't know the queue numbers and wince does't use them.
21:44.08cr2hehe. adsp rewrite sounds like a major pita ;)
21:44.45cr2tmzt: well, routing is done by msm_snd
21:45.07cr2tmzt: maybe i'd look again if android uses msm_snd somewhere.
21:45.19dzoyes, whats with all those changing queue numbers. It's not exactly simple...
21:45.42*** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
21:46.04dzoI don't use msm_snd, it's just the audio routing.
21:46.40cr2yes, that's what i call quick and dirty :)
21:46.46tmztwhich is done through sysfs? how can we get that working?
21:47.10cr2dzo: do you get any progress with bt ?
21:47.43tmztdzo: when we get this working do you want to collaborate on the bootloader stuff?
21:48.25dcordescr2: yea
21:48.58dzotmzt: sure, i've had some ideas.
21:49.15dzogot to go now, bye.
21:49.27tmztok
21:50.20dzocr2: no bt progress, i might look at it again this week.
21:50.29cr2ok
21:51.30cr2dzo: i got some problem with sourcing  clock from modem. the patch is in git
21:53.10cr2dcordes: compiling and testing
21:53.39*** join/#htc-linux stickboy (n=anonymou@198.105.46.21)
21:59.19*** join/#htc-linux Echo31_ (n=olivier@mir31-4-82-240-194-54.fbx.proxad.net)
22:02.16*** join/#htc-linux Echo31 (n=olivier@mir31-4-82-240-194-54.fbx.proxad.net)
22:04.04cr2playwav -rec /tmp/junk.wav
22:04.07cr2hangs
22:04.21cr2but there is no ARM9 is CRAHSED anymore
22:04.39*** join/#htc-linux pe7er (n=Adium@f053194247.adsl.alicedsl.de)
22:04.56Echo31cr2: bye
22:05.04cr2and it registers the right ADSP modules PREPROCTASK and AUDRECTASK
22:05.11cr2Echo31: good night
22:05.21*** join/#htc-linux [1]Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl)
22:05.36Echo31cr2: see you soon
22:08.58cr2dcordes: doing ifup usb0 manually
22:12.04cr2playwav starts with audiomgr, and hangs
22:12.27*** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes)
22:12.41cr2i think it wants the snd_set_device_modem_reset (dev=1,ear_mute=1,mic_mute=1,..)
22:12.46cr2being called first
22:13.01cr2dcordes_: ?
22:13.25dcordes_cr2: !
22:14.03dcordes_reconnect
22:14.16tmzthangs? what does strace say?
22:14.22cr2dcordes_: got some progress, but the sound still needs the router.
22:14.31cr2tmzt: the machine hangs
22:14.49cr2tmzt: the last dmesg on the LCD is calling rpc 30000013:
22:14.53cr2which is audmgr
22:15.06cr2maybe snd_set_device_modem_reset
22:15.16tmztyou think arm11 hangs?
22:15.22cr2is called '*modem_reset' for a good reason
22:15.43cr2yes, probably because the audmgr rpc does something strange
22:15.44tmztbut ce calls it?
22:15.55cr2yes
22:16.09cr2it's the audio routing message
22:16.42cr2we need to fix this part now.
22:16.52cr2and recheck the audmgr parameters.
22:19.45[1]Captnoordre
22:20.05[1]Captnoordkicks Captnoord
22:21.42cr2dcordes_: creating the ptch
22:22.03dcordes_ok
22:23.54cr2dcordes_: https://privatepaste.com/b5JD1vqrsq
22:24.14cr2dcordes_: there seems to be some problem with the clock-wince.c
22:24.56cr2let me know if it applies cleanly
22:31.13*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
22:33.20*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
22:39.33dcordes_cr2: some rejects are present
22:40.01*** join/#htc-linux TheSarge (n=thesarge@c-67-166-81-143.hsd1.or.comcast.net)
22:40.05dcordes_board-htcraphael-rfkill.c board-htcraphael.c clock-wince.c
22:40.28TheSargeThis sucks irssi works but won't connect
22:40.36TheSargeJust hangs
22:40.49tmzt'/dis
22:40.57tmzt'/server irc.freenode.org
22:41.01TheSargeI can use colloquy
22:41.23cr2haha
22:41.28cr2http://blog.copilotlive.net/?p=492
22:41.39cr2i had it on a780
22:41.49cr2preinstalled
22:41.56TheSargeIm on an iPod touch
22:42.39dcordes_cr2: can you believe it ? it's only 99$
22:43.21TheSargeAnyone tried the pre yet or the pro?
22:43.51dcordes_the google business plan is awesome really. if you see it from their pov
22:44.33cr2dcordes_: copilot on a780 was a qtopia2 app
22:46.22cr2dcordes_: yeah, peddling reasonable software on clearly substandard hardware. WTF hvga ?
22:46.22dcordes_TheSarge: I'm looking forward to the palm gsm hardware
22:47.04cr2dcordes_: it seems i have forgot to sync with the latest git, so some files are messed a bit.
22:47.26TheSargeI just hope the new os is nothing like palm os
22:48.00dcordes_cr2: I mean the way to make money with linux
22:48.19dcordes_it's perfect
22:48.36cr2dcordes_: with services. it's not really new.
22:49.01cr2just the very powerful position of google.
22:50.18*** join/#htc-linux pe7er (n=Adium@f053194247.adsl.alicedsl.de)
22:51.01*** join/#htc-linux stoked (n=t808490@174.6.56.53)
22:56.02*** join/#htc-linux BHSPitMonkey (n=stephen@unaffiliated/bhspitmonkey)
22:57.08cr2seems to be using the same map format http://forum.xda-developers.com/showthread.php?t=530702&highlight=linux&page=3
23:00.05dcordes_cr2: what do you mean?
23:00.23cr2dcordes_: like a780
23:03.58cr2dcordes_: they say $35
23:05.53dcordes_I see you're referring to post #29
23:08.01cr2it's still not very useful without being able to create your own maps from OSM
23:08.25cr2God bless the people who have broken the garmin map format :)
23:08.34tmztit doesn't look like it's java
23:08.39tmztit could be
23:09.07tmztwith the limited ndk it would be possible to wrap a c library doing the drawing, but not the fastest way to do things
23:09.32dcordes_cr2: what do you mean, creating own maps from OSM?
23:09.43cr2dcordes_: for this program
23:10.18cr2eerybody can create garmin maps from OSM
23:10.58cr2?
23:11.09cr2"Also note that on Android, the sound files should be in ogg vorbis rather than simple wav."
23:12.06cr2lol
23:12.17cr2"I'm amazed at how fast the 'viewfinder' is. Just another example of how bad windows holds back the hardware on this phone."
23:12.47tmztvfe?
23:13.24dcordes_are you citing xda?
23:14.03cr2yes
23:14.19cr2vfe=video fron end = camera
23:24.01dcordes_good night
23:26.08cr2tmzt: i think it should be easy to modify this code
23:26.14cr2int pcm_play(unsigned rate, unsigned channels,
23:26.15cr2<PROTECTED>
23:26.17cr2<PROTECTED>
23:26.18cr2{
23:26.28cr2for msm_snd
23:26.45*** join/#htc-linux LTxda (n=anon@unaffiliated/ltxda)
23:27.22cr2and set the speaker as an output
23:28.00tmztgood
23:30.12tmztjust call an ioctl?
23:30.50cr2#include <linux/msm_audio.h>
23:31.13cr261 struct msm_snd_device_config {
23:31.14cr262         uint32_t device;
23:31.16cr263         uint32_t ear_mute;
23:31.17cr264         uint32_t mic_mute;
23:31.19cr265 };
23:31.21cr2open /dev/msm_snd
23:31.46cr2use the 1,1,1 settings
23:31.52cr2and send the SND_SET_DEVICE ioctl
23:31.57tmztdo we even know what process to strace on g1?
23:32.08tmztyeah, I think I've tried that but I had the wrong func
23:32.10tmztor something
23:32.15cr2no, but it's not important
23:32.18tmztdo you have a pullable git yet?
23:32.19cr2we know what wince does
23:32.28cr2no
23:32.33tmztI mean with the devices
23:32.54cr2locally ?
23:33.12tmzt?
23:33.20cr2btw, you can also call SND_GET_NUM_ENDPOINTS first
23:33.26tmztI want to be able to build it
23:33.42cr2and then go though the list with SND_GET_ENDPOINT
23:33.56tmztok
23:34.01cr2and in the end SND_SET_VOLUME
23:34.02tmztbut it's already in dmesg
23:34.16cr2in the kernel
23:34.42cr2SND_SET_VOLUME on wince uses 'd' as device for some reason.
23:35.02cr2btw,  #define SND_METHOD_VOICE 0
23:36.01cr2what can be method=1 ?
23:36.44tmztwhat do you mean?
23:36.49tmztwe found 1 and 2 right?
23:36.57cr21 and 0
23:37.17cr2d,1,4
23:37.20cr2d1,5
23:37.23cr2d,1,5
23:37.45cr2d,0,2
23:38.50cr2i need t add that to wiki
23:39.32cr21 is "music" and 0 is "voice" ?
23:39.47tmztok
23:39.50tmztthat may be
23:40.06cr2i hate undocumented binary interfaces
23:40.13cr2smells like windows ;)
23:41.06cr2ok, need to sleep now.
23:43.44*** join/#htc-linux cr2 (n=cr2@ip-77-25-149-80.web.vodafone.de)
23:44.04cr2tmzt: http://forum.xda-developers.com/showthread.php?p=3812870
23:44.22cr2static status_t set_volume_rpc(uint32_t device,
23:44.24cr2<PROTECTED>
23:44.25cr2<PROTECTED>
23:44.30cr2where does this come from ?
23:44.39tmztready to test git/zImage if you have one
23:45.07tmztaurora?
23:45.10tmzt2.6.29?
23:45.34cr2<PROTECTED>
23:45.35cr2<PROTECTED>
23:45.37cr2<PROTECTED>
23:45.38cr2<PROTECTED>
23:45.40cr2<PROTECTED>
23:45.45tmztwow, that's what we've been looking for?
23:45.46Kevin2cr2: Hi.  Any thoughts on moving haret to ltg.org?
23:46.20cr2Kevin2: completely overloaded with other things :(
23:47.08cr2<PROTECTED>
23:47.10cr2<PROTECTED>
23:47.11cr2<PROTECTED>
23:47.13cr2<PROTECTED>
23:47.23cr2tmzt: where are these constants defined ?
23:47.52tmzthttp://www.google.com/url?sa=t&source=web&ct=res&cd=3&url=http%3A%2F%2Fandroid.git.kernel.org%2F%3Fp%3Dplatform%2Fhardware%2Fmsm7k.git%3Ba%3Dcommitdiff%3Bh%3D0cd7561637a1eaa61ab618e1d9fb4f4300669b7d&ei=HaRKSoLyF4LONY7XkLMK&usg=AFQjCNEi8jCme8Wk1S2BLLu8hnXRLbsW5A&sig2=EzJC-md21x-XA_nksCx3aA
23:48.02tmztmsm7k
23:48.04tcccpo.O
23:48.12cr2tmzt: just cut'n paste
23:48.22tmztyeah, it ... it
23:48.38tmztandroid.git.kernel.org
23:48.40tmztmsm7k
23:48.40cr2tmzt: from xda-dev
23:49.05tmztit's gone?
23:49.09cr2<PROTECTED>
23:49.11cr2<PROTECTED>
23:49.12cr2<PROTECTED>
23:49.14cr2<PROTECTED>
23:49.15cr2<PROTECTED>
23:49.21Kevin2cr2: Okay.  I setup the repo (git clone git://git.linuxtogo.org/home/groups/haret/haret.git).  When you have time, you can join the project, and then you'll have write access.
23:49.33cr2Kevin2: ok
23:49.39cr2<PROTECTED>
23:49.41cr2<PROTECTED>
23:49.42cr2<PROTECTED>
23:49.44cr2<PROTECTED>
23:50.03cr2<PROTECTED>
23:50.04cr2<PROTECTED>
23:50.06cr2<PROTECTED>
23:50.08cr2<PROTECTED>
23:50.09cr2<PROTECTED>
23:50.11cr2<PROTECTED>
23:50.12cr2tmzt: that's all
23:50.19tmztwe have libhardware source for 7k?
23:50.36cr2i'm not an android expert
23:50.47tmzthttp://android.git.kernel.org/?p=platform/hardware/msm7k.git;a=blob;f=libaudio/AudioHardware.cpp;h=b8b8566aacabacd0230739cb342db5e8a6ffc47e;hb=donut
23:50.58tmztit's not in the synced repo
23:51.37tmztstill needs acoustic
23:52.14tmztok
23:52.38cr2only for set_acoustic_parameters
23:52.47tmztyeah
23:52.49cr2but they are already in sram
23:52.59tmztwhich we no how to do if we need to
23:53.02tmztknow
23:53.14cr2in principle, yes
23:53.16tmztnot on cdma I think, it least I only got static after loading it
23:53.34cr2it's some dex call + parsing AudioPara*.csv
23:53.50tmztyeah
23:54.09tmztbut it's easier to just convert to c, I already wrote some python to do it
23:54.38cr2where is SND_DEVICE_HANDSET defined ?
23:55.01cr2i guess you can merge this part into audiowav now.
23:55.53tmztcamera also :)
23:56.14cr2msm72xx_enable_audpp is needed for BT PCM
23:56.19cr2closed source
23:56.38tmztweird cpp stuff, friends classes, etc.
23:57.18tmztI guess it's in acoustic
23:58.07cr2we can disassemble it, if really needed.
23:58.29cr2but it's not critical
23:59.40tmztI mean it appears those constants are really function calls to a closed so
23:59.43*** join/#htc-linux pboyd04 (n=pboyd04@cpe-66-68-38-161.austin.res.rr.com)
23:59.47tmztlook at the .h

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