irclog2html for #htc-linux on 20061214

00:22.35*** join/#htc-linux g3gg0__ (n=g3gg0@ppp-82-135-4-70.dynamic.mnet-online.de)
00:42.25*** join/#htc-linux g3gg0_ (n=g3gg0@ppp-62-245-211-203.dynamic.mnet-online.de)
00:44.25drnocr2: still awake?
02:03.08*** join/#htc-linux LunohoD (n=alex@e180111136.adsl.alicedsl.de)
02:06.13lkclBabel0: typecast iobase to a char* or preferably an int
02:07.19lkclu16 *arr=(u16*) ( ((int)iobase) + 4 );
02:07.25lkcljust to make sure.
02:09.38lkclpsokolovsky: yes, it was 0.12.4 - i also made a couple of minor changes: don't worry about them, trash them if necessary: i'll soon find them again.
02:24.26*** join/#htc-linux bd2 (n=ufo@89.113.84.151)
04:40.37*** join/#htc-linux RoEn_PC (n=roen@p54A65EFD.dip.t-dialin.net)
05:35.10*** join/#htc-linux psokolovsky_ (n=psokolov@237.usernat.ip.net.ua)
07:49.03*** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com)
08:01.07*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
08:01.13*** join/#htc-linux Fossi (n=cmewes@195.177.48.115)
08:05.55*** join/#htc-linux TripleDES (n=sergio@89.129.175.52)
08:11.14*** part/#htc-linux teslamike (n=teslamik@CPE0011d864891e-CM0011e6c7aaa5.cpe.net.cable.rogers.com)
08:31.08*** join/#htc-linux booba (n=booba@AAnnecy-256-1-94-95.w90-10.abo.wanadoo.fr)
09:25.13*** join/#htc-linux psokolovsky_ (n=psokolov@237.usernat.ip.net.ua)
10:37.12*** join/#htc-linux babel_work (n=Fabrice@faim1.itesoft.com)
10:39.55babel_workhi
10:40.32babel_worklkcl : thanks for the tips :) but nothing new with these lines
13:16.56cr2babel_work: you don't read the output after writing to the registers ? i'll look for my old c code for universal.
13:19.47lkclallo cr2
13:20.41cr2hi lkcl
13:20.55lkclam still struggling with uda1380 sound...
13:20.55cr2the ak4641 is a really fine chip.
13:20.58lkclcool!
13:21.00cr2:)
13:21.22lkclso no surprise that it's in most of the latest htc phones, then
13:21.27cr2i've looked at the block diagramm, and you can switch anything to everywhere.
13:21.37lkclo good grief...
13:21.54cr24 analog inputs, 3 analog outputs, 2 digital i/o.
13:22.00lkclhowling feedback from speaker to microphone, internally?
13:22.01cr2all switchable.
13:22.06cr2yes.
13:22.13lkclgood grief
13:22.21cr2with attenuator controls everywhere.
13:22.34lkclak - is that Akai ?
13:22.35cr2we can do a better job than wince
13:22.37cr2yes.
13:22.55cr2you can do very clever things with it.
13:23.04lkclahh, i think i had a sound module from them - very good one - so it wouldn't surprise me
13:23.17cr2but i need to test my thoughts first.
13:23.21lkclack.
13:23.27lkclbtw you still got a blueangel?
13:23.39cr2it's as if i was at htc, and designed the module.
13:23.40cr2yes.
13:23.48lkclhe he
13:23.54babel_workhi cr2
13:24.02babel_workhi lkcl
13:24.06lkclallo babel
13:24.07cr2what we need now is the real i2c mixer code for ak4641.
13:24.30cr2the available one is only for hx4700, and is _very_ rudimentary.
13:24.38cr2hi babel_work
13:25.05lkclwould you have some spare time to help me bash this uda1380 at some point?  the interpolator isn't running because we haven't worked out how to clock it from the ASIC3 yet
13:25.16lkcloh.  quick question.
13:25.25cr2maybe i should plot a switching diagramm.
13:25.32lkclin asic3 dump, where is the clock speed for CX - of 32khz - coming from?
13:25.43cr2lkcl: i'll print the uda1380 code and datasheet today.
13:26.05cr2xtal on asic3
13:26.28cr2is it kHz ?
13:27.35lkclkHz - yep.
13:28.22cr232768 Hz ?
13:29.08cr2imho, we can calculate the "external clock" frequency
13:29.12lkcl<PROTECTED>
13:29.12lkcl<PROTECTED>
13:29.12lkcl<PROTECTED>
13:29.12lkcl<PROTECTED>
13:29.23lkcl<PROTECTED>
13:29.30lkcl<PROTECTED>
13:29.31lkcl<PROTECTED>
13:29.31lkcl<PROTECTED>
13:29.37cr2yeah, the dot (.)
13:29.40cr2ok.
13:29.41lkclwhere do those come from?
13:29.42babel_workcr2 : i ve add your code (without read register because value are output correctly from acx.ko), but nothing more
13:31.57lkclok i can look at gnu-haret/src/
13:31.57cr2babel_work: but if you have the right numbers, then the memory location is ok.
13:31.57cr2lkcl: the only source of asic3 info is the ipaq-asic3.h header by CPQ.
13:31.58cr2everything else is RE
13:31.58lkclok.
13:31.58cr2well, i've added some RE data to ipaq-asic3.h
13:32.08*** join/#htc-linux TripleDES (n=sergio@89.129.175.52)
13:34.52lkclit's tricky.  SACR bit2 is set (BCLK), SADIV is 0xd (01101).  but the i2s is OFF.
13:37.58lkclthe uda1380 interpolator only responds when its sysclk or wsi or something are correctly set.
13:42.05lkclcr2: you got wavedev.dll or the bootloader for blueangel somewhere?
13:42.41lkcland if so would you mind doing a quick .lst for me so i can take a look at it?
13:43.19babel_workcr2 after car /proc/drivers/acx_...._diag, i saw rx register FULL. SO i think my next test is activate full acx-mem debug to see irq handler
13:43.37babel_worklkcl : i have this dll, you want it ?
13:43.53lkclbabel: sure.  i can copy it to my server.
13:44.15babel_worki send it by mail :)
13:44.43cr2lkcl: i'll do it on you server
13:44.52lkclta to you both.
13:45.19cr2babel_work: i think it's some pcmcia setup bug.
13:46.34babel_workcr2 i remove all pcmcia and keep only power and reset pin and gpio17 for irq
13:50.56lkclok i gotta go shopping folks
14:15.34cr2http://lkml.org/lkml/2006/12/13/342
14:15.55cr2i don't think we have any binary modules on arm.
14:16.15cr2hmm. maybe g3, but we will take care of it.
14:17.11cr2and this fcking sl5500 sd driver, but i'm mosty done with it.
14:34.28cr2lkcl: what is 0xac44 ?
14:35.16babel_work44100 khz ? non ?
14:39.21cr2yes :) ok, now i get it.
14:40.11cr20x30 is the i2c_addr >>
14:40.27cr20x18<<1
14:52.59cr2blueangel_audio needs 3 clocks: http://wiki.xda-developers.com/index.php?pagename=ASIC3
14:53.28cr2CDEX_Source1, CDEX_CONTROL_CX and CDEX_EX1
14:53.49*** join/#htc-linux WizMaui (n=WizMaui@62.112.90.231)
14:56.02cr2#define CLOCK_CDEX_EX1          (1 << 14)  /* R/W: 24.576 MHz crystal */
15:08.38*** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
15:08.38*** topic/#htc-linux is HTC Linux Channel: Find logs at http://apt.rikers.org/%23htc-linux/ | please check http://handhelds.org/moin/moin.cgi/HTC_2dPhones | http://wiki.xda-developers.com/index.php?pagename=Xanadux
15:16.55cr2lkcl: ~/ba/wavedev.lst
15:34.00*** join/#htc-linux psokolovsky (n=psokolov@237.usernat.ip.net.ua)
15:41.06*** join/#htc-linux oOZe (n=oOze@p54960B89.dip0.t-ipconnect.de)
15:45.34*** join/#htc-linux asylumed (n=insanity@196.211.28.91)
15:52.59oOZehello, i´ve got a question .. my Linux is not booting on my BlueAngel "kernel-panic connot mount  rootfs" anyone kwows what that means?
15:53.40Fossithat the kernel can't mount the rootfs
15:53.53asylumedoOze: what are you booting off of?
15:53.54oOZewhat can i do to fix it ?
15:54.05Fossiif you don't know what that means, you should prolly read up on linux before trying to run it on a cellphone ;p
15:54.06oOZeim booting from an 1 GB SD card
15:54.10oOZe;)
15:54.25asylumedoOZe: you compiling from cvs?
15:54.51oOZeno, i downloaded the image from handhelds.org
15:55.07oOZeand followed the instructions there
15:55.11*** join/#htc-linux Ralith (n=ralith@66.150.12.86)
15:55.30asylumedoOZe: kernel version?
15:56.17asylumedoOZe: http://www.gnulinux.biz/files/blueangel/people/rob_w/sd/
15:56.28oOZeups sorry
15:56.57oOZethank u i will try this one
15:59.34*** join/#htc-linux bd2 (n=ufo@89.113.84.151)
16:01.34*** join/#htc-linux psokolovsky_ (n=psokolov@237.usernat.ip.net.ua)
16:32.58*** join/#htc-linux JTRipper_ (n=jtripper@p54B1DEE8.dip.t-dialin.net)
16:40.20cr2http://sourceforge.net/projects/qgnokii
16:42.11*** join/#htc-linux pH5 (n=ph5@e178251178.adsl.alicedsl.de)
16:44.46Hymiecr2 / dudes: do you think hermes will boot successfully soon?  If we can get the bastard booting, I might be able to help with some debugging of things.. once I have a linux environment to work from
16:45.12Hymiecr2: btw, how can you tell why it isn't booting?  does garet fully support a serial console in the kernel as it tries to boot?
16:46.14cr2similar ipaq ?
16:46.21Hymiewell, it had a lot of the same hardware
16:46.25Hymiejust a hope ;)
16:46.43cr2to see something, you need either the right LCD parameters, or ...
16:46.44Hymieit was on some russian page, and it seemed to have the same CPU and a few other things
16:46.55cr2wanted to write serial port, but there is nothing on hermes.
16:47.22Hymieah, so we need full USB support to even start a kernel serial console.. and by then, the kernel has booted a lot I'm sure
16:47.36Hymiemight as well use telnet at that point, heh
16:47.50cr2we can live with other things, what we certainly need an LCD.
16:47.59Hymieyes, I guess so
16:48.05cr2we can't support an ATI fb now
16:48.13cr2so we need to adapt the vsfb
16:48.21cr2and reuse the wince setup.
16:48.26Hymiehum
16:48.35cr2the framebuffer address space is already known.
16:48.36Hymietoo bad vesafb didn't just work out of the box
16:48.50cr2it's not vesafb
16:48.58Hymieoh, I thought with vsfb it would be
16:49.27Hymiesorry
16:49.27cr2vsfb != vesafb
16:49.38cr2have you compiled the rx3715 ?
16:50.01Hymieno... so, first step for me is to get 2.6.19.x, and cross compile to rx3715?
16:50.35cr2we need to start with some working s3c24xx port.
16:51.01Hymieok, so many s3c24xx patches are not in the main kernel
16:51.55cr2does not matter now.
16:52.23cr2we need the minimal cpu setup, and to bolt the vsfb on it to see the penguin on the LCD.
16:52.27HymieI see some talk on google on handhelds for this
16:53.08cr2let's start with rx3715
16:53.34Hymiehttp://www.handhelds.org/hypermail/kernel-discuss/19/1976.html <-- I see some talk here.. so people are working right now on some problems
16:54.40Hymielooks like there are ipaqs with the same cpu... I think that russian guy was trying on an ipaq with the same cpu... has anyone played with the sources from that page?
16:55.00cr2we don't care about asic3 issues.
16:55.37Hymiejust reading, learning
16:55.49cr2ok.
16:55.51Hymiecan you point me at someplace, then push me?
16:56.22Hymiehttp://handhelds.org/moin/moin.cgi/HpIpaqRx3715Kernel <-- you think these kernels are a good start?
16:56.24Hymieor any suggestions?
16:57.00cr2forget about precompiled.
16:57.15cr2i'll try the defconfig
16:57.59cr2heh. there is no defconfig
16:58.21Hymiedoh
16:58.34HymieKernel configuration file
16:58.34HymiePut it in your kernel source dir, rename it to .config
16:58.34Hymie<PROTECTED>
16:58.34Hymie<PROTECTED>
16:58.42Hymiethat's not def, but....
16:58.47Hymieat least shows what they're using
16:59.23cr2ok.
17:00.05Hymiejust different --target?
17:00.06Hymiethat's all
17:00.07Hymie?
17:00.12cr2arch/arm/mach-pxa/hx4700/Kconfig:70: unknown option "cool"
17:00.17Hymieeheh
17:00.20Hymie"cool" ;)
17:00.26cr2somebody did not check his patches ;)
17:00.47babel_workcr2 nice startt qgnokii :)
17:02.10cr2corrected
17:02.43cr2babel_work: we can even remove the windows compatibility junk from there :)
17:02.46cr2qpegnokii
17:03.48cr2drivers/usb/gadget/Kconfig:474:warning: choice values currently only support a single prompt
17:03.48cr2drivers/usb/gadget/Kconfig:455:warning: choice values currently only support a single prompt
17:04.02cr2why is the poor pxausb is so fcked up...
17:04.55*** join/#htc-linux oOZe_ (n=oOze@p549610FD.dip0.t-ipconnect.de)
17:05.07babel_workcr2 : yes, it is a good idea... but difficult to  build opie/qtopia from scratch without OE :( ..
17:05.27cr2without OE ?
17:06.05cr2you only need to avoid the qt widgets not available in qpe
17:06.17cr2and there are not that many of them.
17:06.26babel_workcr2 : yes not using openembedded, only with tgz files
17:06.39cr2expect a big revamp with opie2 anyway.
17:06.46babel_workyes, i have made some dev with QT for mythtv
17:06.56cr2we can write our own .bb file
17:07.04cr2look at zroadmap package.
17:08.21cr2arch/arm/mach-s3c2410/built-in.o: In function `s3c2410_pm_drvinit':
17:08.21cr2mach-rx3715.c:(.init.text+0xb3c): undefined reference to `s3c2410_sysclass'
17:08.40cr2pm is not that necessary.
17:09.52*** join/#htc-linux psokolovsky_ (n=psokolov@237.usernat.ip.net.ua)
17:09.53Hymiecr2: looks like I need to compile binutils and gcc for the target?
17:10.31babel_workhymie : get this http://www.codesourcery.com/gnu_toolchains/arm/download.html
17:10.37babel_workadd it to your PATH
17:10.57babel_workand use make CROSS_COMPILE=arm-none-linux-gnueabi-
17:11.42rmoravcikcr2: http://pastebin.ca/279040
17:12.07Hymiebabel_work: ok.. I'm using 64bit os, but I'll just chroot for this 32bit stuff
17:12.11Hymienot sure what it depends upon
17:13.18babel_workHymie no depends i think, i use suse 10.1, no problem :)
17:13.25cr2Hymie: i use the toolchain compiled in OE for angstrom.
17:13.58cr2on dual amd64/8GB ram. but it is a multimegabyte  setup.
17:14.04Hymieand what angstrom is ;)
17:14.12cr2http://openembedded.org
17:14.29cr2http://www.openembedded.org/wiki/GettingStarted
17:14.50cr2http://angstrom-distribution.org
17:15.26Hymieok, I go to read
17:15.43cr2it's everything you'll ever need :)
17:16.49babel_workHymie : if you have enougth disk space, it is the best solution
17:25.58cr2lol. 14804480        ~/stuff
17:26.09cr2a lot of junk there.
17:26.40babel_workcr2 : gpe + opie + bootstrap ?
17:34.37cr2no gpe, no boostrap, but a lot of old opie.
17:35.10cr2babel_work: have you already tried qgnokii ?
17:35.45cr2hmm. how do i config vsfb ?
17:36.18babel_workcr2 : no, i ve started build on my home computer... and now going to my house to test it :)
17:37.25cr2ok.
17:43.14babel_workcr2 : oh oh
17:43.14babel_workthere are people very tired here:)
17:43.37babel_worki found this in some code today StrToInt('-'+IntToStr(nPrecision))
17:46.28cr2LOL
17:46.42cr2c++ is evil :)
17:47.10babel_workit is borland delphi code :)
17:51.00*** part/#htc-linux babel_work (n=Fabrice@faim1.itesoft.com)
18:03.22cr2qgnokii gui is too simple :)
18:04.31lkclallo darlins
18:09.01*** join/#htc-linux RoEn_PC (n=roen@p54A65EFD.dip.t-dialin.net)
18:11.14cr2lkcl: the samsung  stuff in hh.org CVS is not in a great shape.
18:17.52*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
18:18.53lkclcr2: oops...
18:19.28pH5hey
18:22.14*** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com)
18:22.55BabelOcr2: qgnokii... it is a very very basic interface :(
18:34.42cr2BabelO: yes, i've seen.
18:35.51cr2pH5: any progress with the uda1380 ?
18:37.08cr2i'm thinking about writing an awk ak4641 command parser.
18:37.29goxboxlivehi cr2
18:37.49lkclah ha.  ok.  i have something (from wavedev).
18:37.54lkcli think it goes something like this:
18:38.00goxboxliveGnokii wouldnt build. I guess we have to get support for the HTC phones before we can build it.
18:38.06goxboxlivehi lkcl
18:38.13pH5hi goxboxlive
18:38.14cr2hi goxboxlive
18:38.15lkclallo goboxlive.
18:38.20cr200e5e9c9: addr=0x24 command= MIC  value= 0x1d
18:38.20cr200e5f47c: addr=0x24 command= MIC  value= 0x1c
18:38.20cr200e5ff1c: addr=0x24 command= PGA  value= 0x2c
18:38.20cr200e62056: addr=0x24 command= BTIF  value= 0x00
18:38.21cr200e62ad4: addr=0x24 command= MIC  value= 0x1c
18:38.21cr200e71d89: addr=0x24 command= PWR1  value= 0x93
18:38.24pH5cr2: not yet
18:38.30cr2loook like that now.
18:38.32pH5I'm waiting for lrg to reshuffle his soc code
18:38.40cr2but i'd like to extract the bits.
18:38.57cr2it seems that universal uses the ak4641 to its full extent.
18:39.26cr2and you can record simply everything
18:39.47cr2mic_ext, mic_int, aux_in, BT_in.
18:40.26cr2goxboxlive: right now the ak4641.c driver has only mic_int hardcoded.
18:40.29lkclset alt fn asic3-gpioA15 to 1 (very weird)
18:40.40cr2lkcl: it is already ?
18:40.56lkclgimme 1sec, cr2...
18:41.12cr2it's in the same code block where the CDEX clocks are enabled.
18:42.05cr2goxboxlive: i guess the working phone mic is a question of switching from mic_int to aux_in
18:42.24*** join/#htc-linux pleemans (n=peter@d51A5E612.access.telenet.be)
18:42.42cr2in the same way you can switch to mic_ext (headphone) and BT_in (BT headset).
18:43.30cr2you only need to be careful what you switch/mix and setup the appropriate attenuator bits.
18:44.04lkclset bit 14 of CDEX (aka EX1)
18:44.35cr2yes, i've already patched blueangel_audio some time ago.
18:45.20lkclsleep for 1ms
18:45.35lkcli gotta go through it, cr2, because we're missing something.
18:46.03lkclso far it looks like they're setting alt fn asic3-gpioA15 to 1 - not set asic3-gpio to 1.
18:46.11goxboxlivecr2: Ok, seems like you have full control now with the sounddriver now :-)
18:46.15lkclit could be that the switching is relevant
18:47.21cr2goxboxlive: i'm only wondering what is the purpose of this at@audioset stuff.
18:47.46cr2if everything goes through aux_in / mono_out
18:48.03goxboxliveMaybe it has something to do with the "button" on the headset?
18:48.24cr2don't know.
18:48.40cr2at@talk is not very useful
18:48.45lkclthen, ASIC3 clock clear bit 0 and set bit 1
18:48.58cr2it reports the in/out call times.
18:49.07cr2lkcl: where ?
18:49.24lkcl.text:015B99C8
18:50.04goxboxlivecr2: The button has two operations AFAIK. Answer a call (push the button), and activating a voice speed call (hold the button for 2-3 sec.).
18:50.11lkcl_then_ set CONTROL_CX
18:50.18lkcli mean - it's just plain ... _weird_!
18:50.27cr2lkcl: ?
18:50.30lkclyes cr2?
18:50.38lkclwhat dude?
18:50.39goxboxlivecr2: Well, maybe AT£TALK is the voice speed dialing command.
18:51.08cr2goxboxlive: at@talk is time. voice speed call, i don't know what it is and how to use it :)
18:52.01cr2lkcl: it's the setting of the CDEX_Source1 bit
18:52.13lkclyep.
18:52.22cr2clear two lower bits (0xfffc) and then | 0x2
18:52.27lkcland importantly, clearing Source 0.
18:52.32cr2yes.
18:52.33lkcl*sigh*
18:52.50cr2which brings me to the following
18:53.05lkclbut the timing is important.  that 1ms delay corresponds with the stuff in the uda1380 spec about doing a reset whilst the clock is enabled.
18:53.24cr2ex0 is 32768 Hz, ex1 is 24576000 Hz
18:53.38lkclyerrrs?
18:53.45cr2if source1 is ex1, and the divisor is 768
18:53.57cr2then you get 32000 Hz for your sound clock.
18:54.00cr2weird.
18:54.16lkclthat's ... 32000 ... yep.  oh well.
18:54.19lkcl32000/8.
18:54.29lkcloops.  meant to type that @ python prompt :)
18:54.35cr2what does the .12 code has for the external clock frequency ?
18:54.47lkcli have _no_ idea.
18:54.50cr232/8=4
18:54.55lkclyeh.
18:55.15goxboxlivecr2: Voice speed dial = Lets say i have your name in my contact book on phone linking to your phone number. I record a voice (let's say 'cr2') and link it to your name and phone number in my phonebook. When i call you all i have to do is, hold the button in for 2-3 sec. and after a short beep i say your name. It will recognize "cr2" and automaticly call your number.
18:55.49lkclThe DAC part of the UDA1380 can operate from 8 to 100 kHz sampling frequency (fs)
18:55.54lkclthat's from the uda1380 spec.
18:56.08cr2it should produce the 44100 bitclk with default settings.
18:56.27cr2goxboxlive: where do you "say" the name ?
18:56.51cr2and any mic ? (int/ext/bt) ?
18:57.11goxboxlivecr2: It's great to have when you are driving a car, you dont have to touch the phone. Just hit the button on the headset/Bluetooth headset / or the vioce dail buttoin on the side of the phone.
18:57.23pH5with the uda1380's divider settings that lkcl posted, sysclk should be 768*44100
18:57.48cr2pH5: the ssp on ba is set to 16bit MSB, like the i2s
18:57.54goxboxliveIf you use headset, then the headset mic is used, if no headset the mic in the device is used. And with BT headset the mic on the BT headset is used.
18:59.16cr2goxboxlive: that means the voice is sampled, transfered over I2S to pxa27x, recognized somehow, and the ATDT12345678 is send to the phone ?
19:00.05cr2all can be done in userspace. the key is the voice recognition.
19:01.20cr2answering the call with the button is another issue. i don't know how it is handled . maybe i should try to call, run wasic3gpio , and press the button.
19:02.12lkclcr2: any chance you could double-check this weirdness for me: .text:015B9990
19:02.38lkcllooks to me like it's setting ASIC3 A alt-function
19:02.55goxboxlivecr2: Yes i guess that is the routing .
19:03.03cr2<PROTECTED>
19:03.03cr2<PROTECTED>
19:03.11cr2pH5: val =44100
19:03.11lkclbit 15
19:03.17cr2lkcl: looking.
19:03.21lkclta
19:03.54cr2pH5: SSPEXTCLK/(2*(div+1)) is the ssp clock
19:05.38cr2lkcl: 1. set gpioa15 to alt
19:05.57cr2CDEX_EX1 on
19:06.06lkclyeh, that's what i thought.  ok now need to find where it's cleared, just to confirm.
19:06.10cr2msleep(1)
19:06.28cr2clear CDEX source1 and source0
19:06.35cr2set CDEX_source1
19:07.19lkcloh.  it's clear them _both_ first, then set source 1.
19:07.21lkclargh
19:07.47cr2set CONTROL_CX
19:08.03cr2that's all
19:08.20lkclno, it's clear source0 and set source1 simultaneously
19:08.25lkclthen set control_cx.
19:08.50psokolovsky_Hi!
19:08.52lkcldang.
19:08.55lkclallo psoko.
19:09.01cr2source1 is not cleared.
19:09.09psokolovsky_Anybody worked already on cleaning up tsc2046 dirt around?
19:09.10cr2only EX1 and CONTROL_CX
19:09.36lkclwe're working out the uda1380 initialisation/reset sequence for blueangel.
19:09.45cr2psokolovsky_: i've tried, but it is still messing with the pxa SSP, so it's pxa-specific.
19:09.48lkclcr2 gave it a start, psoko.
19:09.52cr2htcuniversal_ts2.c
19:10.07cr2but we will also need it on hermes = s3c24xx
19:11.34psokolovsky_cr2, sure. but at least it seems to be the same for all machines, so it's good first step to factor out SSP handling out of TS drivers. So, you or someone else don't have any code?
19:11.36cr2psokolovsky_: the main problem is the 24bit spi. i have set it to 16bit, but it was really unusable, then 32bit, it was better but there was still some bug the the decoding of the samples.
19:11.53cr2look at htcuniversal_ts2.c
19:12.08psokolovsky_cr2, so, univ != hx4700?
19:12.25cr2irq on asic3, different SPI port.
19:12.41psokolovsky_ok ;-\ next time then ;-)
19:12.44cr2the rest is the same. and i have cleaned up the bits.
19:13.17psokolovsky_I thought it's just exactly the same code in ~4 ports now...
19:13.48cr2psokolovsky_: if you'll set your irq, your ssp port and the pen_down() then it will work.
19:13.48psokolovsky_ok
19:13.58cr2look at the code first, and then jump to the conclusions :)
19:14.38cr2struct tsc2046_mach_info {
19:14.42cr2<PROTECTED>
19:14.43psokolovsky_I just grepped around, and so crap like (1 << 20) in bunch of places ;-)
19:14.46cr2<PROTECTED>
19:14.50cr2<PROTECTED>
19:14.54cr2<PROTECTED>
19:14.58cr2<PROTECTED>
19:14.58cr2<PROTECTED>
19:14.59cr2};
19:14.59cr2#define TSC2046_SAMPLE_X 0xd0
19:14.59cr2#define TSC2046_SAMPLE_Y 0x90
19:15.01psokolovsky_cr2, thanks for hint, will review later
19:15.03cr2these are the parameters.
19:16.02psokolovsky_cr2, by "few places" I mean nor htcuniversal/, but mach-pxa/
19:16.10cr2yes.
19:16.18cr2and it's evil.
19:16.39cr2you only need to fill the tsc2046_mach_info
19:17.57psokolovsky_ok
19:25.13cr2pH5: if it is stereo, then the SSPEXTCLK is 2822400 Hz ?
19:28.04lkclok gotta go shopping: back later
19:31.15pH5that would be 64*sample_rate. in slave mode the uda1380 accepts bitclocks from 32 to 128*sample_rate
19:38.55*** join/#htc-linux Fossi (n=Fossi@e176112082.adsl.alicedsl.de)
19:43.51BabelOcr2: i ve activated full debug for acx
19:51.17goxboxliveHow do i get the keycodes ? Isent it dumpkey? I just want the keycode for the buttons i press, not the wholes list
19:52.52cr2showkey
19:53.16goxboxliveahhh thx
19:53.47goxboxlivebtw. DId you know that gpe is showing the right time? Opie doesnt.
19:54.00cr2btw, why do you have only english in the opie ?
19:54.04*** join/#htc-linux ellisway (n=ellis@host-87-74-241-174.bulldogdsl.com)
19:54.15cr2time needs the rtc support ?
19:54.16goxboxlivecr2: Yes
19:54.41cr2i have no idea where opie gets the time :)
19:55.09goxboxliveI know where Opie gets the time
19:55.27cr2where ?
19:55.52goxboxliveIt shows the time form when it was build, also the date. But GPE is showing the right time. (in the right corner)
19:58.16cr2oh. i've already missed 140 oe revisions :)
19:58.24goxboxlive:-)
20:02.20lkclallo am back
20:32.50goxboxlivepsokolovsky_ Are you around?
20:51.30goxboxlivecr2: Why is camera, light and "red hangup" button on the side of lcd screen keycode 68 ?
20:55.05*** join/#htc-linux rob_w (n=bob@p85.212.174.68.tisdip.tiscali.de)
20:55.56cr2static struct pxa27x_keyboard_platform_data htcuniversal_kbd
20:56.19cr2light ?
20:57.30goxboxlivemaybe
20:57.39goxboxlivethe light button
20:57.55goxboxlivebeside the volume slider
20:58.37cr2hmm.
20:59.33cr2{  KEY_F10,  GPIOA_BUTTON_BACKLIGHT_N,1,        "backlight_button"},
20:59.33cr2{  KEY_F24,  GPIOA_BUTTON_RECORD_N,1,   "record_button"},
20:59.33cr2{  KEY_F10,  GPIOA_BUTTON_CAMERA_N,1,   "camera_button"},
20:59.42cr2KEY_F10 ;)
20:59.50goxboxlive:-)
20:59.53cr2i've just copied the old data.
21:00.13goxboxlivei am trying to make a xmodmap
21:00.24cr2what _should_ the camera send ?
21:00.37cr2and the phone buttons ?
21:00.48goxboxliveCamera                  = keycode 68
21:01.15cr2what "qtopia phone whatever"  sends ?
21:01.25goxboxliveyes
21:04.11cr2i'll try to add suspend/resume to pxa27x_keyboard.
21:05.21goxboxlivegood
21:07.05cr2compiling
21:16.26goxboxlivecr2: have you tried it yet??
21:26.03*** join/#htc-linux g3gg0_ (n=g3gg0@ppp-82-135-7-126.dynamic.mnet-online.de)
21:27.07BabelOcr2 : i want to see register mcmem0 and mcmem1 at adress 0x48000028
21:27.24BabelOis this exact
21:27.26BabelOHaRET(4)# pd 0x48000028 0x8
21:27.26BabelO48000028 | 0001c416 00000000                   | ........
21:27.26BabelOH
21:28.16BabelOfor register mcmem0 ?
21:28.43cr2goxboxlive: i've put it in CVS
21:28.49goxboxlivedid it work?
21:29.05*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
21:29.07cr2don't know :) but it compiles without any warnings.
21:29.51cr2rmoravcik: why can't i compile the rx3715 code in hh.org CVS ? can you point me to a working .config ?
21:29.56goxboxliveok, the i am compiling and try it out. :-)
21:30.20rmoravcikcr2: do you  mean problem with pm?
21:30.36cr2BabelOued: what are these registers ?
21:30.52cr2rmoravcik: if i disable the pm, i get other linking problems.
21:31.06goxboxlive<PROTECTED>
21:31.06goxboxlive<PROTECTED>
21:31.06goxboxlivekernel/module.c: In function ‘module_add_driver’:
21:31.06goxboxlivekernel/module.c:2282: warning: ignoring return value of ‘sysfs_create_link’, declared with attribute warn_unused_result
21:31.18rmoravcikcr2: i solve this problem with http://pastebin.ca/279040
21:31.31cr2goxboxlive: it's not my code :)
21:32.16cr2rmoravcik: ok, i'll try.
21:32.20rmoravcikcr2: http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2006-November/036929.html
21:33.03cr2ok.
21:33.21cr2but i think you should add rx3715_defconfig to CVS.
21:33.33rmoravcikcr2: http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2006-November/036992.html
21:34.41cr2rmoravcik: post it to the k-d list ?
21:34.51rmoravcikcr2: i want add it, but first i want add udc, touchscreen driver
21:35.11*** join/#htc-linux rob_w (n=bob@p85.212.169.250.tisdip.tiscali.de)
21:35.44rmoravcikcr2: if you want
21:37.27goxboxlivecr2: No it still doesnt resume.
21:38.07cr2i'm not so well informed about the samsung support, so it's better to hear what others think about it.
21:38.32cr2goxboxlive: i have added the code that was available on other devices.
21:38.58cr2goxboxlive: does the irq counter increase ?
21:39.11goxboxlivehmm, well i still doesnt resume thow. Why is that. The driver is resuming, but the keyboadr is just dead.
21:39.15goxboxliveI'll check
21:39.30rob_wahh my new dsl router arrived ,, hopefully that is the end of broken down connections ..
21:39.46cr2:)
21:40.13cr2goxboxlive: why does bitbake-image compiles the .18-hh0 kernel ??
21:41.18goxboxlivecr2: because of the ochi-hcd is set as a
21:41.24goxboxliveis not set as a module
21:41.46goxboxliveI forget to change the htcuniversal_defconfig before i made it.
21:42.02goxboxliveI have 19-hh5 now
21:43.11cr2ok, tell me if the keyboard irqs are  coming through after resume.
21:44.12goxboxliveroot@htcuniversal:~$ cat /proc/interrupts
21:44.12goxboxlive<PROTECTED>
21:44.12goxboxlive<PROTECTED>
21:44.22goxboxliveo they dont
21:44.47goxboxliveBut could it be related to the usb0 is not resuming either?
21:45.00cr2unlikely.
21:45.10goxboxliveok
21:45.53*** join/#htc-linux pH5_ (n=ph5@e178251178.adsl.alicedsl.de)
21:46.08cr2goxboxlive: have you tried to boot the kernel with Kevin's 'boot by resume' ?
21:46.53*** join/#htc-linux rob__w (n=bob@p85.212.157.245.tisdip.tiscali.de)
21:49.55goxboxliveNo, not for a while, Has a meade a new Haret version?
21:52.45rob__whey we broke the 40 users , hurray !
21:53.27cr2goxboxlive: no, this feature was available for some time.
21:54.04BabelOcr2: these register are for pcmcia Socket 0 timing config
21:54.07goxboxliveyes, it didnt wake up. It suspended, but it didnt resume
21:56.17*** join/#htc-linux FossiFoo (n=Fossi@e176112082.adsl.alicedsl.de)
21:56.50cr2ok, then we need to debug it.
22:04.18cr2good night
22:07.18goxboxlivegood night
22:09.35pH5_good night
22:18.53*** join/#htc-linux rmoravci1 (n=rmoravci@pc-nbhcnceqpo8wov6n0m468h4u6ax6am4.users.student.utc.sk)
22:31.46*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
22:37.44*** join/#htc-linux Ralith (n=ralith@66.150.12.86)
22:55.52*** join/#htc-linux ralith_ (n=ralith@66.150.12.86)
23:36.04*** join/#htc-linux Ralith (n=ralith@soggy202.drizzle.com)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.