IRC log for #htc-linux on 20071113

00:11.36*** join/#htc-linux Babel (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
02:00.11*** join/#htc-linux TimRiker (n=timr@rikers.org)
03:01.17*** join/#htc-linux Foxdie` (i=Foxdie@77-98-48-193.cable.ubr05.harb.blueyonder.co.uk)
03:37.19*** join/#htc-linux Zoolooc_ (n=fredsiba@p5495287D.dip0.t-ipconnect.de)
04:47.05*** join/#htc-linux PITABoy (i=44dd6ef2@gateway/web/cgi-irc/ircatwork.com/x-47cf15d13a2d1c5f)
05:05.46*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-a48f5bb84227452a)
05:09.58*** join/#htc-linux PITABoy_mobile (n=pocketir@70.11.151.236)
05:31.25*** join/#htc-linux |dion| (n=dion@inhex.net)
06:25.35*** join/#htc-linux pleemans (n=peter@leemanpe.ugent.be)
06:41.18*** join/#htc-linux _law_ (n=law@mail.stiftadmont.at)
07:09.57*** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz)
07:13.38*** join/#htc-linux kiozen (n=oeichler@p5492A3C8.dip0.t-ipconnect.de)
07:20.19*** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde)
07:38.41*** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com)
08:10.18*** join/#htc-linux rob_w (n=bob@X03d1.x.pppool.de)
08:19.29*** join/#htc-linux pleemans (n=peter@leemanpe.ugent.be)
08:54.06*** join/#htc-linux zoolooc (n=lucian@p5495287D.dip0.t-ipconnect.de)
08:59.06BabelOhi kiozen ;)
08:59.17kiozenmorning :)
08:59.43BabelOkiozen: i read the log, your issue with backlight is easy to solve ;)
08:59.57kiozeneagerly listening ...
09:00.03BabelOkiozen: it is a bad code from me, just look to devices/htcphone/custom.cpp
09:00.11kiozenlol
09:00.31kiozenbooting linux ...
09:00.35BabelOthere is a function qpe_setbrightness that look for backlight device,i suppose i ve done a bad test
09:02.46zooloochi tehre
09:04.49kiozenBabelO: iDirectory.at(2) looks suspecious
09:06.09kiozenif (iDirectory.count() < 3) return -1;
09:06.49kiozenthat should fix it, shouldn't it?
09:11.21*** join/#htc-linux Nandex (n=laborato@158.49.118.224)
09:13.08BabelOkiozen: yes it seem yes
09:13.40kiozenlet's see,if I get the n560 to boot, grrrr ...
09:22.49kiozenBabelO: one fixed, another one found
09:24.03BabelOkiozen: ;) sorry but never tested without devices
09:24.28kiozenhave to change setBrightness, too :)
09:24.48*** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com)
09:24.50*** join/#htc-linux Robwoerle (n=bob@M87db.m.pppool.de)
09:30.43cr2hi
09:30.51cr2kiozen: will update n560 today
09:30.54kiozenmorning
09:30.58kiozencool :)
09:34.14kiozenlooking forward to get that damn boot loading bug fixed befor my reset button dies
09:36.25BabelOkiozen: reset button are very good on HTC devices, i think MTBF is high
09:37.21kiozenlow
09:38.13BabelOyes
09:38.37BabelOnot sleep enough this night :(
09:39.32kiozenparty or work?
09:49.30BabelOparty ;)
09:49.41kiozenok, that is a good trade off
09:49.52kiozennow kernel is crshing
09:50.35BabelOkernel crashing ?
09:50.57kiozenscreen goes black, network stops
09:51.14kiozenstrace stops right in the middle of the line
09:51.37kiozenit's again while tinkering with sys/class/backlight
09:52.03kiozenbut I patched both funtions in custom.cpp
09:52.26BabelOthat not so bad, did you have apm on your console image ?
09:52.47kiozenhave to look ...
09:53.55BabelOqtopi dim the light before going to suspend
09:55.25kiozenapmd present
09:55.47kiozenaom, too
09:55.59kiozens/aom/apm
09:57.55cr2kiozen: it will suspend very fast, and you'll not recover ;)
09:58.31kiozenwhat happens if I move apm to apm.hide
09:59.21BabelOkiozen: that's what i do acutally to never suspend my device
10:07.03kiozenBabelO: ok that solved the backlight issue.
10:07.17kiozennow the missing soundsystem makes it crash :)
10:12.38cr2kiozen: the wm7xxx codec is supported in linux. i need to look at the power gpio config, but you can enable the driver in kernel config. and the pxa-i2s
10:13.08kiozenok, try later ...
10:13.10cr2it's the in ASOC submenu.
10:13.40cr2yes, it's easier to fix the bug :)
11:06.41*** join/#htc-linux pleemans (n=peter@leemanpe.ugent.be)
11:15.33*** join/#htc-linux Nandex (n=laborato@158.49.118.224)
11:22.27*** join/#htc-linux AC_Mast (i=s@gateway/tor/x-0abca043448580a2)
11:28.23*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-3c51b7c155c43d75)
11:30.17BabelOkiozen for sound system, same place devices/htcphone/src/plugins/sound
11:54.04*** join/#htc-linux pleemans (n=peter@leemanpe.ugent.be)
12:45.42*** join/#htc-linux AC_Mast (i=s@gateway/tor/x-dd38a49d650458ed)
12:45.58_law_BabelO, hi any omap news?
12:46.18*** join/#htc-linux zwox (n=zwox@jau31-2-82-236-21-54.fbx.proxad.net)
12:46.31_law_BabelO, is there any global kernel in hh.org yet?
12:46.39BabelO_law_: Not really time for that these days, just research
13:02.45_law_BabelO, what kernel do you use currently for omap devices, is there any patch set available?
13:15.18*** join/#htc-linux pleemans (n=peter@leemanpe.ugent.be)
13:18.41BabelO_law_: no patch, no kernel
13:19.07_law_BabelO, ok :-(
13:19.19BabelO_law_: only patch is the one from june, but you already know it
13:20.00_law_BabelO, ok
13:29.07*** join/#htc-linux rob_w|laptop (n=rob_w@ip-90-186-21-165.web.vodafone.de)
13:36.23*** part/#htc-linux BabelO (n=fcr@81.80.236.75)
13:37.26*** join/#htc-linux Mineque (n=Mineque@195.60.65.50)
14:18.44*** join/#htc-linux rob_w|lappi (n=rob_w@ip-90-186-18-249.web.vodafone.de)
14:23.17*** join/#htc-linux BabelO (n=fcr@81.80.236.75)
14:36.39*** join/#htc-linux rob_w|laptop (n=rob_w@ip-90-186-198-154.web.vodafone.de)
15:04.31*** join/#htc-linux rob_w|lappi (n=rob_w@ip-90-186-112-100.web.vodafone.de)
15:18.21*** join/#htc-linux rob_w|lappi (n=rob_w@ip-90-186-112-100.web.vodafone.de)
15:36.16*** join/#htc-linux rob_w|laptop (n=rob_w@ip-90-186-48-156.web.vodafone.de)
15:37.28*** join/#htc-linux law|home (n=_law_@213.173.86.202)
16:07.30*** join/#htc-linux GPFerror (n=gpferror@cpe-76-187-41-132.tx.res.rr.com)
16:15.34*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-1168120887f1e788)
16:21.33*** join/#htc-linux TimRiker (n=timr@216.49.181.128)
16:21.50*** part/#htc-linux zoolooc (n=lucian@p5495287D.dip0.t-ipconnect.de)
16:37.16*** join/#htc-linux dcordes (n=dcordes_@f049012127.adsl.alicedsl.de)
16:55.44*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-103-152-149.karneval.cz)
16:55.52*** join/#htc-linux |dion| (n=dion@inhex.net)
17:04.44BabelOkiozen: still around ?
17:04.46*** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz)
17:04.58kiozenyes
17:05.20kiozenBabelO: yes
17:07.14cr2kiozen: i've created the n560 config
17:07.40kiozenwhere is it :)
17:08.06cr2need to fix the bugs first :)
17:09.22kiozenhehe, a config doesn't make a kernel
17:09.54kiozenbut i still have enought bugs in qtopia to keep me busy
17:10.58dcordescr2, where can I get information on kaiser hardware?
17:11.12dcordescr2, also hermes. Is there any progress with hermes?
17:11.22dcordeslike display/keyboard working?
17:12.44cr2kiozen: not the config file :) the separate kernel subdirectory.
17:13.49kiozenwow, you where busy this afternoon!
17:13.51cr2dcordes: http://wiki.xda-developers.com/index.php?pagename=TitanMemoryMap
17:14.03cr2kiozen: i've done it yesterday night.
17:14.31cr2dcordes: there is tsc2003 for the touchscreen, and a lot of open questions ;)
17:14.36kiozenthat why there where no logs this morning
17:15.33*** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz)
17:15.34cr2dcordes: hermes needs the ATI SD, i'm doing some progress here, but need to understand the clock setup and ATI irq handling.
17:15.53cr2kiozen: how many buttons do you have ?
17:16.14kiozen10
17:16.18kiozenno 11
17:16.31cr2up/down/right/left/ok. that's 5.
17:16.42cr2in the c550 kernel
17:16.49cr2ok, the power.
17:17.00cr26.
17:17.04kiozenon/off, micro/record, 4 funtions, 4 cursor, ok
17:17.32cr2ok, record.
17:17.39cr24 functions ?
17:17.54kiozencontacts, calender, gps, home
17:18.21dcordescr2, so hermes only lacks the ati (3d?) chip?
17:18.37cr2ati does not have 3d.
17:18.54dcordeswhat does the ati chip have?
17:19.21cr2the touchscreen works more or less and the keyboard is not difficult. Kevin2 will take care of it soon.
17:19.36cr2ati has 2d video, sound and SD.
17:19.55cr2i'm working on the video and SD.
17:20.14cr2ok, ati hase CAM aka video capture too.
17:25.51BabelOkiozen: so you fix qtopia bug ? ;)
17:26.05BabelOkiozen: i mean BabelO plugin bug ;)
17:26.19kiozennot yet, loads of real work to do
17:26.36*** join/#htc-linux AC_Mast (i=s@gateway/tor/x-fb48dc509cdf92ac)
17:26.39kiozenlive wold be wonderfull it it would rain money :)
17:27.09BabelOlol, agree with that lot of work too
17:27.11kiozenbut I scheduled it for after dinner ;)
17:27.37BabelOkiozen: ok if i can help
17:27.53BabelOi m testing google ocr right now
17:28.05kiozenyou will be the first I tell, promised
17:28.41dcordescr2, does only hermes have that ati chip? What about msm7k- is it true that google people take care of it?
17:29.58cr2athena/trinity/cheetah have the same chip.
17:30.19dcordesnever heard of trinity/cheetah
17:30.20cr2ba/hima/hx4700 have an older version
17:30.40dcordesisn't hx47 that huge ipaq?
17:30.40cr2trinity is hermes without the keyboard but with working msm gps.
17:30.56cr2yes, it's the vga ipaq.
17:31.13cr2cheetah is treo750
17:31.14*** join/#htc-linux SmallR2002 (n=SmallR20@c-24-15-250-237.hsd1.il.comcast.net)
17:31.27dcordesI think I almost got the hx4700 on ebay before I decided to get akita
17:31.59kiozenbbl
17:33.38dcordescr2, isn't treo750 palm device? I didn't know even palm was htc vendor
17:34.06dcordeslooks like htc soon will have the only pda phone fab :)
17:36.44cr2treo650 and treo750 are htc phones
17:37.04cr2treo700wx and treo750 are wince devices.
17:40.02*** join/#htc-linux skodde (n=skodde@85-18-136-66.fastres.net)
17:44.33*** join/#htc-linux jeanseb (n=jeanseb@88.164.32.155)
17:47.30*** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com)
17:51.23cr2hi goxboxlive
17:51.50goxboxlivehi cr2
17:52.12cr2goxboxlive: have you already compiled the android stuff for the universal ? :)
17:53.14goxboxlivecr2: No, i havent had time to do that. I have downloaded the SDK , but havent had any time to look at it. Will it run on our linux platform?
17:53.32cr2don't know.
17:53.59cr2i'm a qtopia4 fan myself :)
17:54.30cr2goxboxlive: i was looking at the rilgsm from wm6.
17:55.13cr2it looks different from wm5, but i need to write down what they actually do.
18:02.41*** join/#htc-linux pH5 (n=ph5@e178225063.adsl.alicedsl.de)
18:05.09cr2hi pH5
18:05.52cr2i've applied your patch to my tree, and written the n560 cpld support.
18:06.29cr2now i have an unbelievable mess here, with tons of patches compared to the hh.org CVS ;)
18:07.19pH5hi cr2
18:07.53pH5the fun begins when somebody commits a slightly modified version of patches you have applied locally :)
18:08.27cr2pH5: i have a question about hx4700
18:08.45cr2-#define EGPIO_BASE     (PXA_CS5_PHYS+EGPIO_OFFSET)
18:09.10cr2+static struct resource egpio_resources[] = {
18:09.10cr2+       [0] = {
18:09.10cr2+              .start = PXA_CS5_PHYS,
18:09.10cr2+              .end   = PXA_CS5_PHYS + 0x4,
18:09.18cr2is it correct ??
18:09.47cr2hm. if EGPIO_OFFSET=0 then yes :)
18:10.37pH5exactly. I think those definitions are superfluous now.
18:10.49cr2ok.
18:11.07pH5next step will be to remove the custom GET_HX4700_GPIO etc. macros.
18:11.11goxboxlivecr2: Yes i am a Qtopia fan myself (also opie) but we need a fully running device. It's sp typical, on universal everything works fine, but not power handling. On magician everything works fine beisde the phone part in Qtopia.
18:11.16goxboxlives/beisde/beside/
18:11.24goxboxliveAnd same with A780
18:11.47cr2goxboxlive: we are cleaning the hx4700 now, because it was the root of all evil ;)
18:12.08goxboxlivecr2: ok
18:12.09cr2a780 phone part is realy bizarre.
18:12.27cr2goxboxlive: i'll port the changes over to the universal.
18:12.38goxboxlivecr2: that would be great.
18:13.01goxboxliveThen i can at last brag at work that i have a real linux phone -)
18:13.11cr2:)
18:15.24cr2i guess we need to do something about ov96xx
18:16.03pH5argh.
18:17.43cr2pH5: then we can claim full support for universal and magician.
18:18.34cr2when even universal will leak some current because of the asic3_base driver incompleteness
18:18.41*** join/#htc-linux Zoolooc (n=fredsiba@p5495287D.dip0.t-ipconnect.de)
18:19.25cr2i'm slowly being fed up that we can't finish it ;)
18:23.35goxboxlivecr2: Yes i agree, im not _slowly_ getting fed up, i have been that for over a year now :-)
18:32.17BabelOgoxboxlive: nothing to do with android at the moment
18:34.35cr2BabelO: it's the same problem as with trolls.
18:35.58cr2pH5: a dumb question just popped up. what's the difference between mdelay() and msleep() ?
18:36.37*** join/#htc-linux lieter (n=lieter@a62-251-100-248.adsl.xs4all.nl)
18:38.22cr2BabelO: they create some obscure "development platform_devices" that nobody has or uses, instead of doing a little work on the htc devices ;)
18:38.47BabelOcr2: with tolls we can do some thing, we just need some help to finish... with android actually we miss installable davilk vm... swetland can tell more about that..
18:39.01BabelOcr2: we just have to wait for vm release code
18:39.35cr2BabelO: vm will not help with the device drivers for msm7200.
18:40.08cr2and pxa is, well, dead as a future platform ;)
18:41.21cr2ok, finished the n560 debugging. now need a real test :)
18:41.32BabelOcr2: but it may help with driver struture
18:41.50BabelOcr2: tunneling ;)
18:42.03*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
18:42.06pH5cr2: delay is supposed to be more exact for short times as it uses udelay. as i understand it the difference is that msleep sleeps while mdelay busy-waits.
18:42.08cr2BabelO: need a device.
18:42.47cr2pH5: ok. so if i block the irqs, they are actually equivalen.t
18:43.02BabelOpH5: so one should use timer tick ?
18:44.18cr2BabelO: rtc alarm is the best :)
18:46.19pH5BabelO: I think it uses a jiffy loop counter.
18:46.44pH5the code should be in arch/arm/lib/delay.S unless it's overwritten by a platform specific version
18:46.45cr2goxboxlive: can you confirm that the universal has an i2c rtc ?
18:48.13BabelObbl
18:48.15*** part/#htc-linux BabelO (n=fcr@81.80.236.75)
18:52.05cr2lol
18:52.09cr2f you enter text in Pocket Word, never try to enter the character sequence -> because, then, Pocket Word may crash at once, killing your current, unsaved work! If you need to write ->'s (for example, to enter arrows), use for example => instead.
18:53.18pH5hehe, you can't say microsoft doesn't deliver
18:56.35cr2pH5: hehe. got a funny problem here http://wiki.xda-developers.com/index.php?pagename=AthenaMemoryMap
18:56.55cr2the CPLD2 base gpio address depends on the CPLD1 bit set.
18:57.04*** join/#htc-linux kiozen (n=oeichler@rgnb-4db0807b.pool.einsundeins.de)
18:57.42pH5nice
18:57.59pH5can you see why it is switched around at runtime?
18:59.01cr2i doubt that it switches at runtime
18:59.13cr2but i have another strange problem.
18:59.15pH5how do you know the different mappings then?
18:59.39cr2i don't see the ISP1582 ;)
18:59.40pH5(in that case we can live with selecting just one of the mappings in the board setup code, I guess)
18:59.46cr2from the SPL of course.
19:00.02pH5:) of course
19:05.15*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
19:05.51cr2kiozen: i have a zimage for you.
19:08.18kiozencr2: ok, where to find?
19:10.15pH5cr2: tease ;)
19:12.36cr2http://jornada820.sf.net/files/haret
19:14.11cr2kiozen: tell me if it boots at all.
19:14.26kiozendownloading ..
19:14.53kiozencr2: no modules?
19:16.39cr2you can add your own.
19:17.05cr2i'm interested if it boots.
19:17.22cr2and if the MMC boot is more stable.
19:22.00kiozencr2: turn off mmu, and then the screen fades off
19:23.26cr2pH5: does the htc-egpio set the gpios on init ?
19:24.31cr2kiozen: you don't have a real LCD driver, so maybe it loses power.
19:25.23kiozenok I try to ssh
19:26.50kiozencr2: no usb-gaget device, and the screen turns green. Can a pda puke?
19:27.36*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-103-152-149.karneval.cz)
19:33.05cr2yes.
19:33.28cr2i'll compile the usb-gadget into the kernel.
19:35.36cr2kiozen: it's the in the kernel.
19:35.46cr2so you don't have usb too ?
19:36.27kiozenthe device simply showed as FSC
19:37.07kiozencr2: the kernel is on the server? (date mark did not change)
19:38.25cr2ok, then somehting is wrong .
19:39.12kiozentwo more lives left....
19:39.24BabelOlol
19:39.49cr2well, i need to write the LCD driver.
19:40.01kiozencr2: ok
19:40.15cr2it would have been easier with the serial cable.
19:41.18kiozenI can drill a RS232 connector into the case..
19:43.33cr2kiozen: btw, where is can buy a serial connector for 76Cx ?
19:44.26kiozenGarmin. Or the closest dealer next to you. It will cost you half a weeks wage.
19:45.02kiozenBut rumors tell that ypu can buy the connector somewhere, let me see...
19:45.08cr2yes, i know. that's why i'm asking ;)
19:46.07kiozenhttp://www.kowoma.de/gps/diverses/steckerbelegung.htm
19:46.22kiozenat the bottom there are some links to buy
19:47.45kiozenBabelO: http://pastebin.ca/772381
19:47.55kiozenthe strace of the latest crash.
19:47.55cr2kiozen: thanks.
19:48.24kiozenalways a pleasure to pay back :)
19:48.44kiozenBabelO: any idea where to start in htcphoneaudioplugin.cpp
19:49.09BabelOkiozen: yes ;)
19:49.18kiozenok?
19:49.31BabelOkiozen: just remove it in opt/Qtopia/qt_plugins
19:49.45kiozenlol
19:49.56pH5cr2: you can do that with platform data (see magician.c, output gpio section)
19:50.09pH5cr2: on hx4700 all pins are 0 on start
19:51.03cr2kiozen: add the wm7750 codec
19:51.21kiozenhow?
19:51.21BabelOkiozen: opt/Qtopia/plugins/audiohardware
19:51.25cr2pH5: ok.
19:51.32cr2kiozen: wm8750
19:51.57kiozenit's a module?
19:52.11cr2kiozen: in audio / ASOC
20:06.29kiozencr2: kiozen stubornly fails to find audio / ASOC or wm8750 in the kernel config
20:09.15cr2device drivers -> sound -> alsa -> soc
20:09.34cr2soc driver for wm8750
20:12.01cr2pH5: you have only 1 irq on CPLD ?
20:12.39*** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com)
20:13.47cr2pH5: 4 interrupts in the wiki http://wiki.xda-developers.com/index.php?pagename=MagicianCPLD
20:15.27pH5cr2: only one irq can be associated with a gpio pin
20:15.33*** join/#htc-linux AC_Mast (i=s@gateway/tor/x-da4ffb91c05e2486)
20:16.25cr2yes, but don't service the other 3 irqs ?
20:17.11pH5cr2: I do.
20:17.39pH5the irq setup in the htc-egpio platform data is just to make the connection for gpio_to_irq
20:17.46cr2<PROTECTED>
20:17.49cr2ok.
20:18.01pH5other than that htc-egpio only needs the irq start number and count
20:20.59kiozenfound a bug:
20:21.01kiozensound/soc/codecs/wm8750.c: In function ‘wm8750_init’:
20:21.01kiozensound/soc/codecs/wm8750.c:811: error: ‘GFP_KRENEL’ undeclared (first use in this function)
20:21.01kiozensound/soc/codecs/wm8750.c:811: error: (Each undeclared identifier is reported only once
20:21.01kiozensound/soc/
20:22.02cr2KRENEL is good :)
20:22.40cr2pH5: .ackRegister is counted from 0 ?
20:23.10pH5kiozen: instant karma :)
20:23.12pH5cr2: of course
20:23.53pH5"u16 readval = readw(&ei->addrBase[ei->ackRegister << ei->bus_shift]);"
20:24.04cr2kiozen: i'll fix it now.
20:24.09cr2pH5: ok.
20:24.32kiozen:)
20:25.22cr2kiozen: committed.
20:26.06kiozendoes MS get it that fast?
20:27.58cr2developers,developers,developers.
20:28.58kiozenlol, I saw that movie just lately..
20:36.27kiozensnd_mixer_attach error -19
20:36.27kiozenqpe: mixer.c:788: snd_mixer_first_elem: Assertion `mixer' failed.
20:36.27kiozenAborted
20:36.54kiozenremoving audiohardware doesn't help either
20:37.28kiozenBabelO: looks like I realy need a soundsystem
20:38.11cr2kiozen: do you have i2s-pxa included ?
20:38.16BabelOkiozen: really strange, what say alsactl command ?
20:38.55kiozen/etc/init.d/alsa-state start
20:38.55kiozenALSA: Restoring mixer settings...
20:38.55kiozen/usr/sbin/alsactl: load_state:1329: No soundcards found...
20:39.08kiozencr2: let me see..
20:39.13cr2CONFIG_SND_PXA2xx_I2SOUND
20:39.29cr2in the # ALSA ARM devices
20:39.31cr2section
20:40.41*** join/#htc-linux rmoravci1 (n=rmoravci@ip-89-103-152-149.karneval.cz)
20:41.44BabelOkiozen: if you add a trace in devices/htcphone/server/htcphonevolumeservice.cpp i think it is here adjustvolume which include sys/soundcard.h
20:42.33cr2BabelO: is this adjustvolume for the phone ?
20:42.56BabelOcr2: not specially, for global device, i take it from fic
20:42.58cr2then it should be irrelevant for the PDA
20:43.09BabelOcr2: it is replacement to system(" .."); command ;)
20:43.49cr2BabelO: there are 3 volume controls (at least) in the universal.
20:44.13BabelOkiozen: it is done here int HtcphoneVolumeService::initMixer()
20:44.41BabelOso i m not alone to do bad test case ... lol
20:45.48kiozencr2: don't have such an option in the alsa arm section, just SND_PXA2XX_AC97
20:48.31BabelOcr2: , kiozen SND_PXA2XX_SOC_I2S
20:50.56cr2config SND_PXA2xx_I2SOUND
20:50.56cr2<PROTECTED>
20:50.56cr2<PROTECTED>
20:51.06cr2?
20:51.14cr2BabelO: ok, you know asoc better :)
20:51.32cr2hm. universal is not using asoc, that's right.
20:53.53BabelOcr2: it is the same than zaurus
20:54.59BabelOkiozen: do you see soc at same place than ac97 ?
20:57.08kiozenno sound->alsa->soc->soc platforms->soc audio for pxa2xx does not offer any AC97 option
20:57.46kiozenit offers Magician Blueangel iPaq h50000
20:58.07cr2kiozen: you don't need ac97
20:58.09BabelOright and magician select other too
20:58.52BabelOkiozen just check kernel26/sound/soc/pxa/Kconfig
21:02.52kiozenfunny, I can see it in Kconfig, but it's not offered in the GUI
21:03.24BabelOsomething with dependancies missing
21:10.20pH5the asoc transport options are supposed to be selected by the machine modules, that's why they don't appear in the menu
21:10.50BabelOah ok
21:11.05pH5SND_PXA2XX_SOC_MAGICIAN selects the SND_PXA2XX_SOC_I2S and _SSP transports, because that is the way the codec (uda1380) is connected on magician.
21:11.35cr2pH5: it's even more complex on hima/ba
21:11.48cr2i've done it once, but now completely forgot the details.
21:12.00pH5I think ba is the same as ma
21:12.08BabelOyes
21:12.21cr2no, it's PXA263 with an external SSP clock
21:12.41BabelOoups i forgot your change cr2 ;)
21:13.02cr2BabelO: was a real PITA to debug ;)
21:13.18pH5ah, the asic3 clock story?
21:13.22cr2yes.
21:13.26pH5I vaguely remember :)
21:13.32BabelOyes i remember now, but still missing record which was working with 2.6.12
21:14.17cr22.6.12 was a handcoded uda1380 hack. without any asoc.
21:14.50cr2wow. compiled athena with 2 cplds.
21:15.15cr2hehe. it'll probably disable the LCD in the same way as on n560
21:15.53*** join/#htc-linux PITABoy_mobile (n=PITABoy@70.11.151.236)
21:15.55cr2but the w2284fb.c is going to be a bit more tricky than pxafb ;-)
21:18.46cr2pH5: i've created drivers/mfd/w228x_base.c following asic3. that'll going to be a mammut job. even asic3 is still a bit broken...
21:19.45pH5cr2: if not you, who else is gonna do it :P
21:19.47cr2and the atiw_mmc.c is also ready, but needs some sdio and reset/power changes.
21:20.00cr2hehe. it seems so.
21:20.07pH5cr2: so the mmc driver is working, basically?
21:20.31cr2i wish somebody will update the hh.org kernel to -24
21:20.52cr2i've disassembled the old w32x0 ATI SD
21:21.07goxboxliveYes, wonder where psokolovsky is.
21:21.13cr2and it's the same hardware like on w228x
21:21.15goxboxlive~seen psokolovsky
21:21.21aptpsokolovsky <n=psokolov@82.193.99.7> was last seen on IRC in channel #oe, 37d 20h 44m 29s ago, saying: 'hope it's just me...'.
21:21.28goxboxlive~seen psokolovsky_
21:21.29aptpsokolovsky_ <n=psokolov@stingy.earner.volia.net> was last seen on IRC in channel #oe, 43d 11h 9m 32s ago, saying: 'gilligan_: there's .bb with such name. find/grep -r are your friends'.
21:21.30cr2and very similar to asic3, but still not asic3.
21:21.59cr2goxboxlive: he has created the -hh18 tag two days ago.
21:22.22goxboxliveok
21:22.23cr2if the -24 will be there, i'll then try to asic3 sdio.
21:22.50cr2goxboxlive: and we need to check the acx100 from -16
21:23.04goxboxliveWhy hh18, there hasent been any work on the hh.org kernel source lately
21:23.16dcordeswhich htc name was P4350?
21:23.19cr2with working sdio there will be a lot of devices waiting for it.
21:23.21goxboxlivecr2: there are a lot we need to do :-)
21:23.48pH5dcordes: herald
21:23.50*** join/#htc-linux PITABoy_mobile (n=PITABoy@70.11.151.236)
21:23.51cr2dcordes: hereald
21:23.55cr2:)
21:24.13PITABoy_mobilecr2 what does this new driver do
21:24.21PITABoy_mobilewhat device is it for
21:24.21dcordeseplus offering herald hmm
21:24.40dcordesbut omap 200mhz naahh
21:25.21BabelOdcordes: 200mhz save lot of battery
21:25.53pH5a pity there isn't as much hype as around the iphone, I'd like to see disassembled pictures
21:26.18dcordespH5, it has no wifi :(
21:27.14PITABoy_mobilei plan on taking apart my titan when i get home hopefully my allen wrenches fit it
21:27.16pH5no deal-breaker for me, it's my ideal format (nearly identical to herald, btw.), only the software sucks
21:27.55PITABoy_mobilei will take as many pocs as possible however i am going to remove the serial numbers
21:28.13pH5PITABoy_mobile: good luck
21:28.35PITABoy_mobilehopefully there isnt a heatsinc or other covering that i have to remove
21:28.45PITABoy_mobilei will not remove ir
21:28.48PITABoy_mobileit
21:28.58pH5is there is anything interesting to be expected out of that?
21:29.22PITABoy_mobileand if i screw up my phone i have full coverage insurance
21:29.37PITABoy_mobileidk that is why i am going to open it
21:29.54PITABoy_mobilehopefully we will find out who makes the lcd
21:29.55kiozencr2: still don't get that kernel right. selecting magician does create some snd_soc_pxa2xx_i2s module and other stuff
21:30.03PITABoy_mobileand some other stuff
21:30.26kiozenbut loading the modules does not really help.
21:30.38kiozenI know too little about alsa
21:31.32*** join/#htc-linux Mineque (n=Mineque@195.60.65.50)
21:33.49cr2PITABoy_mobile: didn't you see in the wince log that you have a hitachi LCD ?
21:34.45cr2pH5: the driver says that the TS is tsc2003, which is i2c. but it uses 2 non-i2c address ranges om msm7x00. i#m cofused.
21:35.49cr2the first thing to do on msm7x00 is to write the proper gpio/irq support.
21:36.34pH5cr2: shouldn't that come out of the google project?
21:37.13cr2pH5: they use 7200A, and swetland said the gpio/irq is different there. he has the datasheets ;)
21:38.12cr2it's not rocket science, but i don#t have such device. and i have a lot to do with the ati.
21:45.53PITABoy_mobilei thought that if we opened the device we could find exact model numbers
21:47.10swetlandgpio is very similar
21:47.11cr2PITABoy_mobile: the init can be derived from the bootloader, and it's unlikely that you'll get the datasheets for the LCD.
21:47.16swetlandirq registers have moved around though
21:47.49cr2even openmoko doesn't provide the LCD datasheet.
21:48.02PITABoy_mobileso your saying that opening the device would be a waste of time
21:48.10cr2no.
21:48.34cr2bluetooth and wifi. do we know the chipsets ?
21:49.01PITABoy_mobilewifi is htc
21:49.15PITABoy_mobileaccording to the mac
21:50.29cr2oh. the BT is of course TI.
21:50.59PITABoy_mobilewhy do you say that
21:51.00cr2BT_Init_Script_TI_300.txt BT_Init_Script_TI_311.txt BT_Init_Script_TI_331.txt
21:51.14PITABoy_mobileoh
21:51.38cr2not the .bts, but in the ascii form.
21:52.00cr201 05 ff cd 30 50 08 00
21:52.08cr2the usual device-specific commands.
21:53.16cr2wifi is TNETW1251
21:53.33PITABoy_mobilehow did you find that out
21:53.49PITABoy_mobileyou seem to be finding a lot mere that i am
21:53.59PITABoy_mobileis all of that in the dumpss
21:54.39cr2yes, the usual SDIO stuff.
21:58.39cr2TIInit_4_2_38.bts on kaiser
22:01.26cr2it seems that kaiser does not use the tsc2003 for the touchscreen.
22:02.50mxktmdudegood evening everyone
22:07.23mxktmdudePITABoy_mobile, dont take apart the phone just yet, i already found internal photos of the titan
22:07.57mxktmdudethere is alot of heatshields inside anyways, you wont see anything without desoldering
22:09.19PITABoy_mobilecan you post them on the wiki
22:09.28PITABoy_mobileand where did you find them
22:09.52PITABoy_mobilei havnt found any inside pics of the titaan
22:13.38*** join/#htc-linux PITABoy_work (i=c06843cc@gateway/web/cgi-irc/ircatwork.com/x-c2276c73378a35d3)
22:16.25dcordesdoes somebody know a good german cellphone dealer?
22:17.52PITABoy_workgoogle
22:18.06mxktmdudei will PITABoy_mobile
22:18.13PITABoy_workcool
22:20.29Zooloocdcordes: got my kaiser from handyattacke.de
22:21.17dcordeslet me see. I found out when I will extend my contract I can get n95 free.
22:21.25dcordeswhich is around 660 or so
22:24.05dcordesZoolooc, you happy with the kaiser?
22:25.36Zooloocwell, I wantet a new phone and a gps-enabled pda, and a high spec one (at least what RAM concearns), and there wheren't too many choices having all these in one right now, so yes, for now I am
22:25.59mxktmdudePITABoy_mobile, did your phone come with a cd with drivers etc for activesync?
22:33.25PITABoy_workyes
22:34.02mxktmdudewas it a mini cd or a full sized one? i seem to have lost mine ;)
22:34.17PITABoy_workfull sized
22:34.44PITABoy_workIt came with a sprint users guide pdf
22:34.53PITABoy_workoutlook 2007 demo
22:35.03PITABoy_workand active sync
22:35.15PITABoy_workone sec you can download them from the net
22:35.53mxktmdudeyeah im installing activesync from microsofts site... i hope it contains the drivers for the phone
22:37.37PITABoy_workhttp://www.america.htc.com/support/mogul/software-downloads.html
22:37.55PITABoy_workthat is the official htc download it might just link to ms not sure
22:38.08PITABoy_workbut you can also get outlook if you want it
22:39.32PITABoy_workdue to the fact that the titan (sprint mogul) still doesnt have rev a sprint is allowing everyone who has one to trade it in for another phone
22:39.48PITABoy_workShould I keep the Titan or get something
22:39.50PITABoy_workelse
22:40.28mxktmdudewow really? i thought they were going to have a firmware upgrade?
22:40.45PITABoy_workyeah but not till next year
22:40.59PITABoy_workand there is still no release date
22:41.19PITABoy_workthe phone has been out for about 4-5 months now
22:42.12PITABoy_workif they had the touch duo i would trade for it but they just have the regular touch so i'm probably not going to trade
22:47.47PITABoy_workIt is funny sprint will let you trade phones but there is nothing as good as the mogul/titan
22:48.17PITABoy_workhowever something else might already have support for linux
22:53.14BabelOgood night
22:56.22cr2BabelO: something for you: brf6300
22:56.35cr2Update the Baudrate to 4000000 bps
22:57.21BabelOgood :)
22:57.34BabelObbl
23:24.19Kevin2Hi
23:26.20mxktmdudecr2, how can i use haret to poke and prod memory locations on the titanmemorymap page of the wiki?
23:34.55dcordessomebody knows kaiser's fcc id or where I can get fcc-ids for particular devices?
23:43.53cr2mxktmdude: with 'addlist mmutrace wince_virt_addr size'
23:44.02PITABoy_workdcordes NM8KS
23:44.05cr2mxktmdude: and then 'wi time_in_sec'
23:44.44cr2Kevin2: hi. i've written the ATI SD driver, but it times out because i've not applied the power ;)
23:45.41cr2Kevin2: to apply power i needed to write 2 CPLD drivers, one with irq and the second one without irq support. pH5 has written a patch to support htc-egpio without irq and tested it on hx4700.
23:46.06cr2but i've probably screwed something in the middle, so athena does not boot anymore ;)
23:46.35cr2but i guess if you'll add the appropriate SD power function, it's possible to test it on hermes.
23:47.03cr2i've also found two more ATI SD-irq related registers in the main register bank.
23:47.37cr2the ATI PLL register bit layout is ok, i can properly decode it on hermes and on athena.
23:48.16cr2the other timing registers have different bitmasks, so it'll be necessary to do something with them.
23:49.04cr2i've extended the ATIDBG support for mainline haret, but did not test the Ahi*Power functions.
23:49.30cr2they should be implemented as the separate commands i guess with 2 int parameters.
23:49.41cr2device, state
23:50.57Kevin2cr2: Cool.
23:51.06cr2where device =2 for usb, =3 for SD, =5 for vidcap, =6 for Vip, =1 don't know what, and =0 for all devices (i guess)
23:51.16Kevin2I saw ph5s patches - looks okay to me.  I had a similar patch on my local drive.
23:52.07cr2yes, but i probably do something wrong, because the kernel does not boot.
23:52.25cr2and if the CPLD pin state changes, the vsfb loses power.
23:52.54cr2but i'm not quite ready to init ATI video properly.
23:53.06cr2it'll probably take 1-2 weeks more.
23:53.08Kevin2You may need to set an initial state for some of the cpld pins.  Do you know what the gpios do?
23:53.34cr2yes, but not 100% sure. need to check it more closely.
23:53.52cr2ok, so what should we do ?
23:54.06cr2i can send you the haret patch.
23:54.27Kevin2You can dump the cpld registers and then setup the egpio stuff so that the pins that are always on stay on under linux.
23:54.43Kevin2Yes - send the patches to haret@handhelds.org
23:54.46cr2the ATI sd is based on the asic3 code.
23:54.56PITABoy_workI wish that haret had a function like "dump everything"
23:55.26cr2i'm not subscribed, but still spam comes through. will it work for me too ?
23:55.57Kevin2The haret mailing list is open.
23:56.22PITABoy_workkevin2 are you ~koconnor
23:58.49Kevin2cr2: What is the "appropriate SD power function"?
23:59.51cr2turn the CPLD gpio pin on, if you have it on the CPLD.

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