IRC log for #htc-linux on 20090614

00:04.37cr2tmzt: falling asleep now
00:08.42cr2tmzt: who calls msm_audio_path() ?
00:09.11cr2tmzt: anyway, these 2 (3-hello) patches need to be added to git.
00:09.35cr2and the BT power needs to be done in some same way.
00:09.39cr2good night
00:21.32*** join/#htc-linux melgurth (n=melgurth@aeek216.neoplus.adsl.tpnet.pl)
00:35.45*** part/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)
01:48.52*** join/#htc-linux Chicago (n=Chicago@c-98-223-72-235.hsd1.in.comcast.net)
01:58.43*** join/#htc-linux Funklord (n=cow@c-e5d171d5.014-46-73746f28.cust.bredbandsbolaget.se)
02:16.20*** join/#htc-linux l33tlinuxh4x0r (n=user@adsl-144-166-112.rmo.bellsouth.net)
03:09.37*** join/#htc-linux mrmoku|away (n=mrmoku@ppp-93-104-114-116.dynamic.mnet-online.de)
03:22.01*** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821)
03:25.24*** join/#htc-linux IamSOG (n=IamSOG@218.19.124.241)
04:03.13*** join/#htc-linux l33tlinuxh4x0r (n=user@adsl-144-166-112.rmo.bellsouth.net)
04:29.23*** join/#htc-linux droid0011 (n=mc@p4FDCF2B0.dip.t-dialin.net)
04:49.46*** join/#htc-linux PoohbaLT (n=BlkPoohb@c-69-141-71-249.hsd1.nj.comcast.net)
05:01.40*** join/#htc-linux wooj (n=wooj@unaffiliated/wooj)
05:18.06*** join/#htc-linux l33tlinuxh4x0r (n=user@adsl-144-166-112.rmo.bellsouth.net)
05:18.28*** part/#htc-linux l33tlinuxh4x0r (n=user@adsl-144-166-112.rmo.bellsouth.net)
06:36.24*** join/#htc-linux cr2 (n=cr2@ip-77-25-155-24.web.vodafone.de)
06:37.16cr2morning
07:10.19*** join/#htc-linux onen|openBmap (n=onen@mry91-1-89-87-198-158.dsl.club-internet.fr)
07:15.52*** join/#htc-linux Moku (n=John@f048131134.adsl.alicedsl.de)
07:32.07*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
07:35.46*** join/#htc-linux htc-linux (i=844407ea@gateway/web/ajax/mibbit.com/x-8a27baaba915553d)
07:50.53high-rezSo I built the kernel and started it with harest...  It starst then gets to "console handover: boot [htc_fb0] -> real [tty0] and hands
07:50.59high-rezs/hands/hang
08:00.01*** join/#htc-linux MLM (n=mlvdmeid@meide.xs4all.nl)
08:18.07*** join/#htc-linux par_ (i=par@dipole.idlepattern.com)
08:40.23*** join/#htc-linux nebi (n=nebi@217.142.147.19)
08:40.46*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
09:02.06*** join/#htc-linux dream_kill (n=nospam@89.131.127.37)
09:07.05*** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net)
09:07.48*** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net)
09:14.17*** join/#htc-linux zycho (n=zycho@88.70.242.216)
09:36.49*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
09:37.26dcordeshi all
09:41.02dcordeswe should hop on the g1 lkml discussion
09:41.32tcccpo.O
09:42.05dcordestcccp: talks about upstreaming the google branches
09:42.14tcccpah, m'kay
09:42.24dcordeswe should introduce htc-linux patches there early
09:56.50tmzthello dcordes
09:57.00dcordeshi
09:57.30*** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl)
10:00.50dcordestmzt: cr2 mentioned three patches. do you know where those can be found?
10:06.21tmztandroid git is all I know about
10:08.25tmzt2.6.29
10:28.12*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
10:42.48*** join/#htc-linux sxe (n=sxe@ip-62-143-98-186.unitymediagroup.de)
10:53.29*** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes)
10:55.55*** join/#htc-linux Miek (n=mike@unaffiliated/mikechml)
11:28.39*** join/#htc-linux MLM (n=mlvdmeid@meide.xs4all.nl)
11:40.06*** join/#htc-linux wooj (n=wooj@unaffiliated/wooj)
12:22.28*** join/#htc-linux melgurth (n=melgurth@aeki1.neoplus.adsl.tpnet.pl)
12:26.15woojIs there a website for android on the htc besides the xda forum posts?
12:44.40*** join/#htc-linux timebomb (n=tb@e177141152.adsl.alicedsl.de)
13:02.42tmztmelgurth: ping
13:02.54tmztste: ping
13:03.33tmztwooj: androidonhtc.com is one as well as connect-utb.com
13:03.56*** join/#htc-linux Echo31 (n=olivier@mir31-4-82-240-194-54.fbx.proxad.net)
13:04.47melgurthping?
13:05.16tmztlike hello
13:05.54melgurthahh. hello - irc is kind of mystery to me ;)
13:06.01woojtmzt, tyvm
13:06.24tmztanyway, stefen_schmidt is working with omnia and doing some of the research
13:07.22tmztwe think it's very similar to i780 and it should be possible to support them in the same kernel and possibly board file
13:07.29woojtmzt, one thing I found interesting today, I tried to get my cellphone radio working in Android, and it was squaking about SIM cards not being compatible with the network, yet I have a CDMA phone
13:07.42tmztI think he found sascha's git but not sure
13:08.04tmztwooj: not sure, don't think dzo ril does that
13:09.16melgurthsascha found, that kernel need's to have patches from android git, so I've pulled git from android-kernel and modified some i780 specyfic things
13:09.36melgurthnow, I just need some android files for testing
13:09.38woojcool
13:10.08melgurthand this is most complicated
13:10.55melgurthI've read tons of articles about booting android, and all I get is "segmentation fault" :P
13:11.46tmztwhich sascha tried to strace
13:12.11melgurthyes
13:12.20*** join/#htc-linux rzk_ (n=rzk@daemonet.ru)
13:15.50melgurthI know that everyone try to run android, but I'm not so-in-love, I wish to have some good console distribution first... to see how things working
13:16.29tmztok, form armv5 I would suggest you try the gizzard-e17 at tinderbox.dev.gentoo.org/embedded/images
13:17.05melgurthgento :D my favourite distro
13:23.42tmztmelgurth: no, that's form armv6
13:23.45tmztfor
13:24.13tmztis gizard-e17 still there?
13:24.25tmztif not try the linwizard folder
13:24.34tmzt../linwizard
13:24.57*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)
13:25.11melgurthok found gizard-e17-20090512.tar.bz22009-May-13 18:25:2643.5M
13:25.41tmztok
13:25.58tmztthat should have fso as well
13:26.09tmztbut the phone doesn't work yet anyway
13:26.23tmztwhat we really need to know is the dpram address
13:38.55*** join/#htc-linux domi007-htcuni (i=domi007@pool-7856.adsl.interware.hu)
13:39.16domi007-htcunihello
13:48.40tmzthello
13:50.21*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87c3c0.pool.einsundeins.de)
13:51.47domi007-htcuninobody has any information about the possible new kernel release (2.6.31)?
13:54.54*** join/#htc-linux melgurth (n=melgurth@aesi153.neoplus.adsl.tpnet.pl)
13:54.57melgurthgot another question. USB networking... how to organize this. device and desktop side? dmesg on my desktop says something about SCSI device instead of USB Ethernet
13:57.37*** join/#htc-linux mickey_jaw (n=mike@78-105-123-214.zone3.bethere.co.uk)
13:57.44domi007-htcuniwhat os have you got on you pc? and which distribution on the uni?
13:59.35domi007-htcunimelgurth: here is a good tutorial about usb networking: http://www.neilandtheresa.co.uk/Wiki/Titchy%20Linux/Tips/Networking/USB/
14:03.57melgurthdesktop=ubuntu & device = gentoo
14:05.36domi007-htcunimelgurth: i think the problem is with gentoo
14:05.52domi007-htcuniperhaps with the kernel
14:06.05*** join/#htc-linux poolsc (n=quassel@ANice-157-1-123-162.w90-41.abo.wanadoo.fr)
14:06.13domi007-htcuniactually if there is no USB gadget support in the kernel
14:06.17domi007-htcunithen it won't work
14:06.23melgurththere is
14:06.51melgurthifconfig on gento shows usb0 with own MAC and inet adress
14:07.11melgurthmy pc do not have it :D
14:08.38melgurthlsusb shows nothing :/
14:09.23domi007-htcunithat's a problem :D:D
14:09.54domi007-htcunion debian it worked for me, even on windows..
14:10.19domi007-htcuniperhaps you should restart your Ubuntu PC :D:D
14:11.53melgurthnaah, it must be kernel fault
14:11.55melgurth:/
14:12.03domi007-htcunikernel fault on your ubuntu?
14:12.13melgurthno, on device...
14:12.47domi007-htcuniifdown usb0 && ifup usb0 ?
14:13.38domi007-htcuniactually what handhel device do you have?
14:13.48melgurthSamsung i780
14:14.22melgurthqwerty keyboard is good, but I must add some keys like | and >
14:14.47*** join/#htc-linux sxe_ (n=sxe@ip-62-143-98-186.unitymediagroup.de)
14:16.48domi007-htcuniunfortunately i do not have enough experience with other devices...i only have an htc universal, and that's all :D
14:18.46melgurthanyone know KEY_CODE to those two |  >
14:20.59melgurthor know how to remap keys in console
14:21.46melgurthcombination Ctrl+key = digit or sign
14:25.33domi007-htcunithe ASCII of | is 179, and of > is 62 if this helps..
14:27.20melgurthI don't know, matrix keymap does not accept ASCII... it accept something like that: KEY(0, 0, KEY_Q), KEY(7, 1, KEY_W) ...
14:28.55domi007-htcunithen i have no idea..
14:43.19*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
15:36.37melgurthI'm looking at kernel from android git, and they added something...
15:36.40melgurthhttp://www.mjmwired.net/kernel/Documentation/arm/pxa/mfp.txt
15:36.59*** join/#htc-linux Miek (n=mike@unaffiliated/mikechml)
15:37.12melgurthsome new gpio handling, but I don't know how tu use it yet ;)
15:43.51*** join/#htc-linux surge (i=surge@pool-98-118-158-217.bflony.fios.verizon.net)
15:45.25tmztdon't think that's really new
15:46.02tmztI'm hoping stefen and Kevin2 can help us get some code into haretconsole to dump full mfp state
15:53.06melgurthI haven't seen it before, but maybe didn't noticed
15:53.47melgurthtmzt: framebuffer need some special threatment? or it should run ok after compiling?
15:54.38tmztintersting: http://github.com/swetland/tinydroid/tree/master
15:54.42tmztyes
15:55.02tmzttaht's actually a very small version of android apparently
15:56.04tmztmelgurth: with sacha we decided to comment out the mfp setup and let it use the ce one, it appears to work as long as you're booting from haret
16:00.16melgurthomg, I'm dump....
16:00.23melgurthtrying to map > key
16:00.33melgurthand it working Shift + .
16:00.53melgurthand funniest- this was my part
16:04.55melgurthtmzt. is there any debug info (except dmesg) which can tell me about kernel. what is working what is not etc...
16:05.47melgurthI'm in gentoo@i780 and collecting some logs, cat's  to read later on PC
16:06.23tmztlike?
16:07.01tmztyou want to use showkey and dumpkeys/loadkeys
16:07.27tmztwhat keysym is used in i780.c?
16:07.30tmztfor shift
16:07.44tmztthat should give the matching keycode
16:08.03tmztI don't know what format busybox uses for keymap
16:09.21melgurthhmm dumpkeys screwd mapping ;)
16:10.19melgurthneed to reboot
16:10.46melgurthShift is working perfect
16:12.20melgurthbut there is something like Fn key, and would be nice to have combination of letter keys with it to get digits and symbols
16:13.02tmztyeah, make that RIGHTALT in kernel
16:13.23tmztthen use AltGr in your keymap
16:13.42melgurthhmm interesting
16:14.18melgurthiwconfig returns two wireless interfaces
16:14.36tmzt?
16:14.51tmztnice that it returns anything
16:15.01tmztwhat driver are you using
16:15.02tmzt?
16:15.12melgurthearlier there was none
16:15.21melgurthrecompiled kernel with this mfp
16:15.51tmztoh, cool
16:16.04tmztI guess you found the gpio to enable wifi
16:16.25tmztor at least the second mmc host if that's what they're using
16:16.30melgurthusb0 in ifconfig appear too
16:16.38tmzthow did you change mfp exactly?
16:16.44tmztthat's not wifi
16:18.20melgurthI don't change, I uncomment this
16:19.59melgurthin _init there was pxa3xx_mfp_config(ARRAY_AND_SIZE(common_mfp_cfg)); commented
16:20.42*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
16:42.42*** join/#htc-linux Sot (n=Sot@CPE0014bf3f862a-CM0018c0d9db72.cpe.net.cable.rogers.com)
16:44.59tmztmelgurth: ok, but that doesn't tell us which of those is right and which is wrong
16:45.12tmztfor now, put /proc/interrupts somewhere
16:45.34tmztthat should tell you what gpio the mmc is configured for
16:45.46tmztI mean so you ca find which pin
16:45.57tmztdid you have wifi on when booting?
16:48.33melgurthhmm hard to say, I cannot check wifi
16:49.21melgurthand about that interrupts... 169: 0 GPIO MMC card detect
16:50.30tmztbooting, did you have it powered on in windows?
16:50.38melgurthno
16:50.56melgurthI use it rarely
16:51.04tmztok
16:51.37melgurthgot some logs if you want to look
16:53.15melgurthwhat was that site where text are pasted?
16:54.12melgurthand can be shared?
16:54.44melgurthhttp://rapidshare.com/files/244503390/logs.tar.gz.html
16:55.06melgurthif you want to look, I must go afk for aobut 1h
16:55.08melgurthbb
17:15.33*** join/#htc-linux BHSPitLappy (n=BHSPitLa@unaffiliated/bhspitmonkey)
17:17.07*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87c3c0.pool.einsundeins.de)
17:18.16high-rezSo I built the kernel and started it with harest...  It starst then gets to "console handover: boot [htc_fb0] -> real [tty0] and then hangs.  This is on a raphael...  Any ideas what I'm doing wrong ?
17:51.10*** join/#htc-linux poolsc (n=quassel@ANice-157-1-123-162.w90-41.abo.wanadoo.fr)
18:01.58*** join/#htc-linux Funklord (n=cow@c-e1d571d5.014-46-73746f28.cust.bredbandsbolaget.se)
18:05.06*** join/#htc-linux IamSOG (n=IamSOG@218.19.124.241)
18:15.48*** join/#htc-linux melgurth (n=melgurth@aesi153.neoplus.adsl.tpnet.pl)
18:21.03melgurthI'm back.... somebody checked that logs? any errors to point?
18:40.26*** join/#htc-linux IamSOG (n=IamSOG@218.19.124.241)
18:51.37*** join/#htc-linux lucxxx (n=o_lucian@89-115-128-35.cl.ipv4ilink.net)
18:57.02*** join/#htc-linux cmonexaway (n=xy6091@g64ae3p1xa.adsl.datanet.hu)
18:58.10*** part/#htc-linux cmonexaway (n=xy6091@g64ae3p1xa.adsl.datanet.hu)
19:17.09melgurthtmzt- I'm collecting GPIOS from activites on phone like: sounds, GSM, touchpad, bluetooth etc. Is it usefull?
19:29.19*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
19:31.22*** join/#htc-linux tsdogs_ (n=tsdogs@net203-187-146.mclink.it)
19:31.28*** join/#htc-linux StarLite (n=nnscript@s55916ca6.adsl.wanadoo.nl)
20:04.40*** join/#htc-linux timebomb (n=tb@f054127247.adsl.alicedsl.de)
20:07.04dcordes_melgurth: you can document it at http://wiki.htc-linux.org
20:09.54melgurthbut I don't know is it worth something... and it is not HTC device ;) so...
20:18.53melgurthhttp://pastie.org/511819  can this be some kind usefull?
20:42.53*** join/#htc-linux pH5 (n=ph5@e178213012.adsl.alicedsl.de)
20:46.14*** join/#htc-linux cr2 (n=cr2@ip-77-24-93-240.web.vodafone.de)
20:49.12cr2hi
20:49.32AstainHellbringhi
20:49.38cr2forgot my power supply unit at home ;)
20:49.55AstainHellbringthat sucks
20:49.57Marajin_Well who's a silly boy then?
20:49.58cr2expect a disconnect in some hours
20:50.19cr2and then for 4 days.
20:50.26cr2haha
20:51.04cr219V with a weird connector.
20:51.36AstainHellbringouch
20:51.39cr2i thing 19V is not critical, but the connector is not easy to find.
20:51.39AstainHellbring4 days huh
20:53.06cr2dcordes_: already applied the patches ?
20:53.38cr2tmzt: did you get some progress with sound ?
20:55.11cr2AstainHellbring: i've made adsp working to some extent yesterday
20:55.23cr2~ping dcordes_
20:58.57AstainHellbringthats awesome cr2
21:06.58*** join/#htc-linux MLM (n=mlvdmeid@5ED0BCBD.cable.ziggo.nl)
21:14.00cr2AstainHellbring: i think that it's realistic to make sound work soon
21:29.03dcordes_cr2: which patches?
21:32.03cr2dcordes_: adsp rpc id, msleep bug in the clock-wince.c
21:33.48dcordes_where are they at?
21:34.24cr2dcordes_: i posted them yesteday. both are 1-line patches
21:36.27cr2dcordes_: btw, are you somewhere close to Wuppertal now, and not going asleep soon ?
21:36.54melgurthhttp://img188.imageshack.us/img188/3985/p6140005.jpg so what is wrong with my frame buffer? (pic= botting enlightemnent on i780)
21:38.39cr2melgurth: dump the fb registers in haret, and read the docs.
21:39.36cr2i don't know how pxa3xx is different from pxa27x
21:41.26melgurthand how to do that? I'm rather noob in that haretconsoling
21:42.03cr2how do you configure the fb ?
21:42.43dcordes_cr2: I'm close to Wuppertal but I need to get up at 7. why are you asking?
21:43.01melgurthyou mean how I've edited LCD driver in kernel?
21:43.33cr2dcordes_: i must be in Brussels at 8am, so i'll be driving in your direction soon.
21:43.40melgurthor in kernel commandline
21:45.20cr2melgurth: the pxafb needs some fb parameters, i guess pxa3xx fb too
21:48.09dcordes_I would offer you to stop by but I need some sleep. need to be operational tomorrow
21:50.10cr2dcordes_: well, don't want to trouble you
21:51.09dcordes_it's ok. did work sent you to brussels?
21:52.01cr2yes
21:52.34cr2i've visited my friends in wtal today, and now have nothing to do.
21:53.00cr2the nc10 battery will be empty in 3 hours.
21:54.42dcordes_I see. well we could meet on your way back? assuming you stop by in wuppertal again.
21:56.47cr2dcordes_: yes, i'll be returning on wednesday. but the exact timetable is not yet known.
21:59.58dcordes_cr2: ok ping when you know. btw, why don't you use raphael as ssh client for nc10 replacement?
22:00.55cr2ssh client for what ?
22:02.53dcordes_kernel code editing, irc, etc
22:03.49cr2hm. nc10 is more comfortable :)
22:04.15cr2and raph needs suspend.
22:04.42cr2but it's a good idea, and will work already.
22:05.25cr2dcordes_: found the patches ?
22:05.55dcordes_no let me see
22:06.14dcordes_I looked for them after I read the entire lkml including all the fighting yesterday
22:08.14cr2dcordes_: i think there are some important point not available in this discussion:
22:09.12cr2we need 7200 support, so arch-msm is not only for google-only 7201A and 8xxx cpus
22:09.38cr2the DEX aka proc_comm is not the lowest-level interface.
22:10.16cr2so we need the MSM_CLK support and GPIO ALT support
22:10.23cr2even if google does not like it.
22:10.41Echo31Hi all
22:10.42dcordes_true. we should talk to dzo. maybe he can try moving on with kernel version a bit and get closer to google
22:10.56cr2so their apis for gpio and clk need to be made portable
22:11.33cr2hi Echo31
22:13.29Echo31good evening,  cr2 and pH5
22:14.05dcordes_cr2: do you mean the patches at 01:35 following ?
22:15.36cr2dcordes_: the RPC function changed from 2 to 1, and msleep(5) commented out
22:16.00dcordes_ok
22:18.34dcordes_<PROTECTED>
22:21.47cr2yes, dzo is porting the vogue branch to 2.6.27
22:21.48Echo31cr2 : How can i provide you an athena 2.6.30.r4 patch and a def_config , to  add this device in the pH5's magician branch?
22:22.12cr2Echo31: talk to pH5
22:22.48Echo31Ok , a next time.
22:24.11dcordes_Echo31: this branch? http://git.linuxtogo.org/?p=ph5/kernel.git;a=shortlog;h=refs/heads/magician
22:24.49cr2dcordes_: pH5 said that he wants to look at the code, and commit it
22:25.11dcordes_ok
22:26.37*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
22:30.28Echo31cr2: I will talk to pH5 for a next time. Bye
22:37.47*** join/#htc-linux nebi (n=nebi@217.142.147.19)
22:40.52*** join/#htc-linux l33tlinuxh4x0r (n=user@adsl-144-166-112.rmo.bellsouth.net)
22:49.44lamapH34r2
22:52.08*** part/#htc-linux einand (n=einand@remote2.student.chalmers.se)
22:52.36dcordes_cr2: I'll add the lines tomorrow. have a good travel and keep me updated
22:52.41dcordes_gnite
23:16.26parmasterhave a safe trip cr2
23:21.38tmztcr2: did you read the dream thread on linux-kernel?
23:22.27tmztlooks like google is working on a 2.630 or newer tree with some more upstream integration and drivers/interfaces
23:26.07cr2parmaster: thanks
23:26.24cr2tmzt: i forgot to tell dcordes_ about the hello patch
23:26.32tmztI have it
23:27.02cr2tmzt: i still think that they do not address the key points for msm support.
23:27.07tmztthere is no audio routing client code in android git
23:27.35cr27200 , MSM_CLK ,GPIO ALT and AMSS 5200 / 6150
23:28.01tmzt5200?
23:28.17cr252XX, so i call it 5200
23:29.17tmztwe need to abstract the things we need to be different on 5200 vs. 6150
23:29.27tmztmore than just defines
23:29.41cr2without getting a clear answer from google about these points, we will get major differences to g1
23:30.09cr2we don't know (yet?) the 5200 vs 6150 differences
23:30.17cr2i guess dzo has 6150
23:30.24tmztit has to be possible to build multiple machines into the kernel which we can't do with our current code, or google's
23:30.51cr2and he patched the 6210 adsp, and moved the audio play module (at least)
23:31.15cr2i think that 5200 does not have this module moved.
23:31.25tmztthe ifdefs in qdsp5/snd.c for example, it's not possible to build TROUT and RAPH into the same zImage with that code
23:31.50cr2so we need to clarify this with dzo. it's more of less the last uncertain arwa
23:32.00cr2s/arwa/area/
23:32.20tmztfor combining vogue/msm trees?
23:32.43tmztthe gpiofunc, clk, etc. work on vouge/kaiser?
23:32.51cr2for finding 6150 vs 5200 differences
23:33.37cr2they work, but 7200 has less gpios (less ALT functions) and the clk layout is different
23:33.42tmztdo you think we should have a goal of clening up and moving to 2.6.29 based on google tree?
23:33.45cr2MSM_CLK wiki page
23:34.11cr2google tree needs some changes to be portable
23:34.25cr2we can't accept the MSMp atag for example
23:34.35tmztbut we can get a clear view of the patchset against it
23:34.39tmztyes
23:34.45cr2because wince partitions are not 128k aligned
23:35.18tmztthe other option would be to move our work to upstream, latest released kernel, or even current
23:35.19cr2another important point is the tvenc
23:35.47cr2google removed tvout support from qualcomm devboard code
23:35.57tmztWyrM has had success with this and topgit but that was pxa of course
23:36.13tmztg1 doesn't have it connected
23:36.26cr2it may be in their business interest, but we should not give a fsck about it.
23:36.38tmztit's clear their code is for maintaining trout/sapp support
23:36.58cr2well, crippling the code is bad
23:37.11tmztI think one thing is clear, we need to participate in linux-kernel and lak for msm
23:37.21cr2and i find this part in g1 code much uglier than in qualcomm tree
23:37.27tmztwe should have done this last year
23:37.42tmztaurora?
23:37.47cr2yes
23:38.13tmztthat seems to be the 2.6.29 being developed for upstream
23:38.14cr2aurora supports 3 fb devices:
23:38.22cr2LCD, external LCD and TVout
23:38.53tmztyeah, all qualcomm chips have supported two
23:38.54cr2this code was written for a devboard
23:39.09tmztfront display for flip phones
23:39.38tmztit seems to be the whole reason for mddi
23:39.40cr2yes
23:39.59tmztit's better to have 4 or 6 wires in the ribbon that 30
23:40.03*** join/#htc-linux marajin (n=marajin@87-194-102-189.bethere.co.uk)
23:40.06cr2we have code for GPIO ALT
23:40.18cr2let's cleanup and submit it
23:40.43tmztdirect? google is claiming on lk that it's only possible through proc-comm
23:40.46cr2it works also on 7x00 (but the number of gpios is less)
23:41.10cr2maybe if the ARM9 GPIO area is protected by MPU
23:41.35cr2but it's _not_ the case on ALL htc wince phones
23:41.59tmztso we still need to abstract it?
23:42.07cr2so they can claim whatever they like
23:42.42cr2if you want a common api with mfp
23:42.49tmztok, glad to know there's a technical reason
23:43.20tmztwe could have something like access-method in pdata
23:43.27cr2btw, the MSM_CLK is modified by g1 code too.
23:43.38tmztPROCCOMM REGISTER, etc.
23:43.42cr2the gp clock for the LCD brightness
23:44.02tmztwhich needs to be a backlight driver
23:44.09cr2so it's BS to claim that it works only via DEX/proc_comm or RPC
23:44.28tmztis uboot useful for understanding clocks? even if the actual registers are different
23:44.44cr2not really
23:44.53cr2check the MSM_CLK wiki page
23:45.24cr2i've put all the known data for 7200, 7201A and "uboot"=8350 in one table
23:46.24cr2the DEX aka proc_comm calls are used mainly to talk to the PMIC over SBI
23:47.13cr2vregs, vibra, battery monitor.
23:48.03tmztI have to say though, tvout is not my first concern, nor is pcm playback. I have a lot of things I want to do in userspace (non-android) that are held back by lack of knowledge/functionality on kernel side
23:48.35tmztaudio routing is the biggest one as it's needed to get phone calls working
23:48.54cr2SND rpc ?
23:49.10cr2the numbers are the same as on kaiser
23:49.27cr2numbers = msg contents
23:49.47tmztsince we don't have example code from android we need to take a different approach, tracing/research on libhardware, acoustic, ril for example
23:49.56cr2then there is AT@SETAUDIO=
23:50.10tmztdoes that work?
23:50.13tmzton A
23:50.15cr2but i think it's used only for FM pcm routing
23:50.32cr2yes, =3 is used for FM
23:50.33tmztok, since it must share pcm with bluetooth
23:51.31cr2yes, so it's controlled by AMSS too
23:51.41cr2but not over rpc.
23:52.09tmztyeqah, another place where history makes desiscions
23:52.53tmztin a normal phone bluetooth is tightly integrated with amss and fm radio on the few models that have would be too
23:55.00cr2ok
23:55.04tmztwell, another approach would be to ask on lk for a test suite of some sort, leaving out the really prtected stuff like acoustic but including testing code for most of qdsp5
23:55.35tmztpcm, mp3 playback, routing
23:55.59cr2we need some more research on the 5200/6150 modules
23:56.49cr2if Pavel will write an alsa driver for g1, that will simplify a lot of things
23:56.51tmztI think we should consider wl12xx for wifi as well and maybe take a look at this mini android swetland posted assuming enough source is there
23:57.04tmztthat would be great
23:57.10cr2because we will not be forced to support strange android devices and ioctls
23:57.48cr2what is the difference between the miniandroid and initrd ?
23:58.01tmztnot sure yet
23:58.22tmztI guess it's supposed to be small enough to boot with fastboot
23:58.28cr2but i don't know how will mp3 DSP fit into also
23:58.33cr2the pcm is clear
23:58.53cr2s/also/alsa/
23:59.15tmztI think there needs to be a more generic dspgateway class in the kernel, supporting omap, mxc, whatever
23:59.40cr2it's a complex issue
23:59.47cr2like mfd
23:59.55cr2maybe even more complex

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