irclog2html for #htc-linux on 20061022

00:09.15lpottercould be.
00:09.23lpotteram i gonna get kicked? :)
00:20.42lkclnaah, dude.
00:20.51lkclnot by me, anyway.
00:21.10lkcloops, sorry, my foot slipped.
05:18.36*** join/#htc-linux rob_w (n=bob@p85.212.169.4.tisdip.tiscali.de)
05:44.06*** join/#htc-linux Joel` (n=hvlinux@202-182-104-001.itsm.com.au)
07:26.53*** part/#htc-linux Joel` (n=hvlinux@202-182-104-001.itsm.com.au)
07:52.33*** join/#htc-linux RoEn_PC (n=roen@p54A679DF.dip.t-dialin.net)
07:58.49*** join/#htc-linux RoEn_PC (n=roen@p54A679DF.dip.t-dialin.net)
08:11.13*** join/#htc-linux mndctrl (n=mind@2.81-167-1.customer.lyse.net)
09:07.33*** join/#htc-linux pH5 (n=ph5@p5485E6B4.dip.t-dialin.net)
09:29.12*** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com)
10:27.38*** join/#htc-linux BabelOued (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
10:43.41*** join/#htc-linux LunohoD (n=alex@e180099108.adsl.alicedsl.de)
11:04.27*** join/#htc-linux LunohoD (n=alex@e180099108.adsl.alicedsl.de) [NETSPLIT VICTIM]
11:04.27*** join/#htc-linux bb (n=bbaniste@w160186.wireless.fsr.net) [NETSPLIT VICTIM]
11:04.27*** join/#htc-linux awelux (n=awelux@lvps87-230-8-217.dedicated.hosteurope.de) [NETSPLIT VICTIM]
11:04.27*** join/#htc-linux Kmarc (i=kari@markos.biz) [NETSPLIT VICTIM]
11:04.28*** join/#htc-linux toi (n=pleemans@d5152D3B4.access.telenet.be) [NETSPLIT VICTIM]
11:04.28*** join/#htc-linux dizzey (n=dizzey@tyra.ing.umu.se) [NETSPLIT VICTIM]
11:04.47*** join/#htc-linux BabelOued (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
11:10.07*** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com) [NETSPLIT VICTIM]
11:10.10*** join/#htc-linux pH5 (n=ph5@p5485E6B4.dip.t-dialin.net) [NETSPLIT VICTIM]
11:10.10*** join/#htc-linux senaqueue (n=scarface@adsl-020.isp.net.au)
11:10.11*** join/#htc-linux lkcl (n=lkcl@bb-87-82-5-55.ukonline.co.uk) [NETSPLIT VICTIM]
11:10.11*** join/#htc-linux psokolovsky_ (n=psokolov@ip.85.202.124.214.dyn.sub-9.broadband.voliacable.com) [NETSPLIT VICTIM]
11:10.12*** join/#htc-linux cr2 (n=konversa@crpl22.physik.uni-wuppertal.de) [NETSPLIT VICTIM]
11:10.12*** join/#htc-linux Funklord (n=cow@c-cbd572d5.014-46-73746f28.cust.bredbandsbolaget.se) [NETSPLIT VICTIM]
11:10.13*** join/#htc-linux baud123 (n=baud@ver78-1-82-240-29-152.fbx.proxad.net) [NETSPLIT VICTIM]
11:10.13*** join/#htc-linux eldu (n=damajor@nysa.e-geek.org) [NETSPLIT VICTIM]
11:10.13*** join/#htc-linux rparmaste (i=par@dipole.idlepattern.com) [NETSPLIT VICTIM]
11:10.14*** join/#htc-linux hlbot (n=adm@82.67.76.179) [NETSPLIT VICTIM]
11:10.14*** join/#htc-linux pof (n=pof@173.red-62-57-1.user.auna.net) [NETSPLIT VICTIM]
11:10.40*** join/#htc-linux RoEn (n=roen@p54A679DF.dip.t-dialin.net)
11:10.52*** join/#htc-linux RoEn_PC (n=roen@p54A679DF.dip.t-dialin.net)
11:10.58RoEn_PCshit
11:10.59RoEn_PCwo ist klear abgelegt ?
11:10.59RoEn_PC!seen makke
11:11.00RoEn_PCoops ;)
11:11.00RoEn_PCbye
11:11.00*** part/#htc-linux RoEn_PC (n=roen@p54A679DF.dip.t-dialin.net)
11:18.17*** join/#htc-linux AlphaPi[jr] (n=a@host129-153-dynamic.58-82-r.retail.telecomitalia.it)
11:19.13AlphaPi[jr]re
11:41.44AlphaPi[jr]there someone with experience on jtag?
12:58.58*** join/#htc-linux dros (i=dros_L@84-72-11-143.dclient.hispeed.ch)
12:59.41droshi everyone
13:00.05drosI need a link how to install linux on my spv m2000
13:03.08pH5hi dros, that's a blueangel, right?
13:03.10pH5http://www.handhelds.org/moin/moin.cgi/BlueAngel
13:07.05*** join/#htc-linux pjuk (n=pjuk@spc1-leed9-0-0-cust1009.seac.broadband.ntl.com)
13:08.46pjukhi. just got myself a blueangel. copied the instructions on handhelds using gpe-ba.tar.bz2 and I get as far as Executing /sbin/init and then it hangs. any advice? cheers
13:10.09drosits not a blueangel
13:10.22drosbut an orange spvm2000
13:10.25drossame configuration
13:10.29drosis it possible
13:10.38pjukIt's an O2 Xda II
13:11.06drosORANGE SPV M2000
13:11.12drosi guess the same config
13:12.32pjuk(looks into it)
13:12.51drosyes sure
13:13.04drosbut can u give me a link how to install a OS on a PDA
13:13.09drosnot able to find one
13:13.14drosjust new in this arena
13:13.45pjukwww.handhelds.org? installed it onto all manner of ipaqs myself h3800, h2200, h5500
13:14.12drosthanks pjuk
13:14.34pjuki don't have the orange unit
13:15.36drosok ok
13:17.23pjukhmm put probably have a himalaya
13:26.34*** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com)
13:28.16Kevin2Hi goxboxlive
13:29.13Kevin2Does gnulinux.biz have the latest files for installing opie/gpe on a universal?  (I usually grab those for getting the OS on my Apache.)
13:30.51goxboxliveKevin2. Yes the ones in the tmp folder are the latest ones.
13:34.39Kevin2Thanks.
13:40.55*** join/#htc-linux asylumed (n=insanity@196.211.28.91)
13:48.13*** join/#htc-linux lilliput (n=Touriste@82-47-214-98.stb.ubr11.brad.blueyonder.co.uk)
14:18.43*** join/#htc-linux asylumed_ (n=insanity@196.211.116.6)
15:03.30*** join/#htc-linux pH5_ (n=ph5@p5485E141.dip.t-dialin.net)
15:08.51*** join/#htc-linux psokolovsky_ (n=psokolov@ip.85.202.124.214.dyn.sub-9.broadband.voliacable.com) [NETSPLIT VICTIM]
15:21.48*** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com)
15:32.15*** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com)
16:05.12*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
16:17.25goxboxlivecr2 how do i link the htcuniversal_pm.c file so i can use it?
17:00.01goxboxlivepsokolovsky_ Are you around?
17:13.14*** join/#htc-linux psokolovsky (n=psokolov@ip.85.202.124.214.dyn.sub-9.broadband.voliacable.com)
17:28.52*** join/#htc-linux psokolovsky (n=psokolov@ip.85.202.124.214.dyn.sub-9.broadband.voliacable.com)
17:32.13*** join/#htc-linux rob_w (n=bob@p85.212.169.4.tisdip.tiscali.de)
17:32.41rob_whey room
17:33.05*** join/#htc-linux psokolovsky (n=psokolov@ip.85.202.124.214.dyn.sub-9.broadband.voliacable.com)
17:36.45rob_whi psokolovsky
17:42.33asylumed_rob_w: hi
17:43.35rob_wwhat does it bring to swith driver_register() to platform_driver_register()
17:44.01rob_wasylumed, i cant see any obvious reason that those 2 values change from .12 to .16
17:45.29rob_wasylumed, and it  gets more funny as we do use different values on the different board id`s .. so those values are lcd brand dependant
17:46.00asylumedrob_w: yeah, though those only vary slightly...
17:46.15asylumedrob_w: which board id is yours?
17:46.41rob_wmine was 5 as i remeber
17:46.50rob_wlemme check
17:46.55asylumedaaah...
17:47.21asylumedmine's a 6... so the lcd init stuff seems to be a bit of a dance... :/
17:47.48rob_wshake it baby !
17:48.17goxboxlive<PROTECTED>
17:49.03asylumedrob_w: you have any clue as to the suspend issue? it's really getting to me...
17:49.31rob_wsuspend for me needs a hard test row , on modules loaded / unloaded
17:49.40asylumedrob_w: i've got a dmesg dump from after it's resumed... and crashed...
17:50.05rob_wanytime on resume i do see the lcd back , but then yet the system dies
17:50.21rob_wasylumed, any opps or such ?
17:50.32asylumedrob_w: it seems to crash with all the modules removed form me... (only blueangel_suspend in still)
17:50.46asylumedfor me
17:50.54rob_wdid the lcd return ?
17:51.16asylumedyip... when i had lcd in it did...
17:51.29rob_wi would love to see what static void w100fb_fillrect(struct fb_info *info,
17:51.29rob_w+                            const struct fb_fillrect *rect) can bring
17:51.36asylumedit seems to be a filesystem related issue/mmc issue
17:52.01rob_wthat would be a big step backwards :-(
17:52.11asylumedya... me too... but i really need to get over the suspend hurdle first before my enthusiasm dies :(
17:52.37rob_wsuch things never die ,  the get short once in a while
17:53.28asylumedi suspect it dies as a result of something else though...
17:53.57rob_whang i just see the guy who worked on w100fb on chat
17:53.57asylumedif i told you it dies in function '__wake_up_common' would it mean anything?
17:54.30asylumedwhere can i paste this dmesg output?
17:55.06rob_wpastebin.ANY
17:55.14asylumedthx
17:56.30*** join/#htc-linux psokolovsky_ (n=psokolov@235.usernat.ip.net.ua)
17:58.00rob_wwelcome back psokolovsky
17:59.33rob_wasylumed, http://rob_w.pastebin.co.uk/new
18:01.05psokolovsky_Hi! nevermind my connection chores ;-)
18:02.05asylumeddone
18:03.55*** join/#htc-linux rob__w (n=bob@p85.212.128.216.tisdip.tiscali.de)
18:04.25rob__w<PROTECTED>
18:04.34asylumedhttp://rob_w.pastebin.co.uk/4501
18:05.32rob__wasylumed,  wake_up_common is only realized in kernel/sched.c
18:06.17rob__wProcess apmd_proxy (pid: 1752, stack limit = 0xc6944198)
18:07.59rob__wit finishes asic3_mmc and then last good one is that it trys to resume the task/processes
18:08.14rob__wthats what apmd_proxy is supposed to do
18:09.10rob__wso dependant on the apmd configuration or apmd_proxy itself, we should find a problem
18:09.40asylumedeish... sorry man... i'm not sure how it all works yet..
18:10.31rob__wasylumed, apmd_proxy is the maybe the first standard process after the kernel which gets to know of a resume happening
18:10.59rob__wit then is used as a helper deamon to bring other stuff
18:11.13rob__w/etc/apmd/ shows you more
18:11.31asylumedrob_w: ic...
18:11.51rob__wthere should be directorys for resume and suspend
18:12.16cr2goxboxlive: i have enabled pm (as in wince) and will try to boot.
18:12.16asylumedrob_w: booting it now...
18:12.42goxboxlivecr2: good
18:13.19goxboxliveI was about to ask psokolovsky to help me with the linking.
18:13.42goxboxlivecr2: I have made opie-image today, but it miss alot after huge changes in the OD.dev
18:13.44goxboxliveOE
18:14.33cr2goxboxlive: i have compiled opie too. everything compiled as expected.
18:15.11goxboxlivecr2: With an updated version of OE? Or is it a couple of weeks old?
18:15.41cr2today's version.
18:15.55cr2the kernel compiled.
18:16.30goxboxliveok, then i guess you will miss, udev, wireless-tools and BT applet not working, IRDa applett not working, Backlight slider not working etc
18:16.53cr2can you test it ? because i'm running haret now to trace the power gpios.
18:20.06goxboxlivetest what?
18:20.32goxboxliveof course i'll test it. Thats what i am here 4 :-)
18:26.41cr2the new kernel.
18:31.57asylumedrob_w: Process sh (pid: 1502, stack limit = 0xc66d6198)
18:39.56cr2goxboxlive: i think our leds code is a bit wrong.
18:44.09goxboxliveok, i havent noticed that
18:44.26goxboxliveBut it seems like auto-dim doesnt work in GPE
18:48.46goxboxlivecr2: The screen is flickering. Nut much, but a little
18:48.51*** join/#htc-linux florian (n=fuchs@p5083BDA4.dip0.t-ipconnect.de)
18:49.03cr2the current code has 3 led channels.
18:49.27cr2"red" for LED0 "green" for LED1 and "yellow" for LED2.
18:49.36goxboxlivecr2: The only thing that didnt work after it gone "sleep" was the keyboard. It stopped working suddenly. I'll try with Opie and familiar noe.
18:49.36cr2i think it is incorrect.
18:51.18cr2it seems to me that LED0 is responsible for the wifi/bt green/blue leds. LED1 is green (OK). and LED2 is red ?
18:51.55cr2wince pulls LED1 (green) +LED2 to make the "charging" color.
18:52.14cr2btw, what is the RGB for amber ?
18:53.04cr2http://en.wikipedia.org/wiki/Amber_(color)
18:55.02cr2yes. charging is amber. #FFBF00 ff  + bf, red + green.
18:56.21cr2that means, if you will set the "yellow" led with the current code, it should be red.
19:05.15cr2it seems that goxboxlive has you also gone "sleep".
19:08.07*** join/#htc-linux goxboxive (n=goxboxiv@9.80-202-160.nextgentel.com)
19:08.52goxboxivecr2 it doesnt seem to work in opie either
19:10.02cr2what ? the keyboard ?
19:12.50goxboxivehmm i cant see a thing. using opie-irc. ext color are same as back color
19:13.11goxboxivesomeone write something
19:14.13cr2;)
19:14.46goxboxivecr2: i dont know if u r there, but the screen has began fickering when new windows are poped up
19:16.58cr2after the resume ?
19:17.43goxboxiveno
19:18.13goxboxivewhen a clorbox is opened. like 4 colors on opie-irc
19:18.33cr2tell me about the resume first.
19:18.55cr2you call suspend. what happens ?
19:19.34cr2do you have a "working" rootfs so i can test myself ?
19:20.14goxboxivenothing happends
19:20.43cr2can you call 'apm --suspend' ?
19:23.33goxboxiveit will not sleep either
19:23.33goxboxivecan i test it in the shell
19:23.33goxboxiveas not in opie
19:24.53goxboxivei dont have apm installed. only apmd
19:42.18*** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com)
19:51.25*** join/#htc-linux cr2 (n=konversa@crpl22.physik.uni-wuppertal.de)
20:01.56goxboxlivecr2 did you try suspend? I was missing the apm, i had only apmd. And when i tried apmd --suspend it gave me non command
20:08.13cr2yes. but it immediately waked up.
20:08.24cr2maybe i have added too much wakeup sources.
20:09.02cr2PM: Preparing system for mem sleep
20:09.06cr2Stopping tasks: =================|
20:09.10cr2acx: suspend handler is experimental!
20:09.14cr2sus: dev c3f78000
20:09.18cr2PM: Entering mem sleep
20:09.22cr2PM: Finishing wakeup.
20:09.26cr2asic3_mmc: starting resume
20:09.30cr2asic3_mmc: finished resume
20:09.34cr2Restarting tasks...acx: resume handler is experimental!
20:09.35cr2rsm: got dev c3f78000
20:09.35cr2<PROTECTED>
20:09.35cr2we should add more printks to our own drivers.
20:09.45goxboxlivegreat work
20:09.57goxboxlivehow did you try it out?
20:10.07cr2apm --suspend
20:10.26cr2but my whole setup is completely fscked up.
20:10.44cr2why don't i see the leds in /sys?
20:11.02cr2i've compiled the defconfig kernel
20:11.13cr2do you have leds in /sys ?
20:12.25cr2the keyboard does not work in opie, usb should be kicked after resume on the host side (i was logged over usb).
20:12.59cr2udevd is unhappy at boot.
20:13.41goxboxliveled in sys. I dont think so, it has been changes in OE.
20:14.08goxboxliveTo get keyboard work in Opie, you have to edit qte-common.inc
20:14.41goxboxlivei didnt have udev in my opie-image, i added it after
20:15.08goxboxliveuse the images at gnulinux.biz (tmp folder) and add new modules and zImage
20:16.18cr2i don't have the leds...
20:16.29cr2can you switch on the "yellow" ?
20:17.26cr2the text console went to sleep, but it did not switch off the backlight it seems.
20:18.09cr2no reaction to the keypresses. it is grey now.
20:21.49cr2running /etc/init.d/opie stop
20:21.53cr2ok.
20:22.18goxboxlivei'll try with gpe and angstrom image.
20:22.40cr2now the keyboard is unhappy.
20:23.22goxboxliveok, i tried apm --suspend with angstrom image.
20:23.57goxboxlivethe screen got grey, with backlight on. After 2 sec it came back to the shell, now keyboard stopped working
20:24.17cr2running suspend in opie does not do anything.
20:24.22cr2same here.
20:24.49goxboxlivebut the pad keys are still working
20:25.13cr2probably the bug of the keyboard driver.
20:25.22cr2does it support suspend at all ?
20:25.35cr2i don't have LED support in the kernel ?
20:25.36goxboxliveo
20:25.38goxboxlivek
20:26.21goxboxliveI have led support compiled, but how should they work? Now, green is blinking and the other one is orange
20:27.23cr2green - wifi ?
20:28.00goxboxlivemaybe, the left led
20:28.31goxboxlivei have wifi on during boot, but i cant ping it now
20:28.50cr2leds are not in the defconfig.
20:29.23goxboxliveok, i am using my own defconfig. Hold on i'll check
20:31.13cr2CLASS_LEDS vs. LEDS_CLASS ?
20:31.36goxboxliveno, using make xconfig leds are not an option. It was in .12 kernel
20:32.27cr2it's broken.
20:32.30goxboxliveok
20:32.33cr2completely.
20:32.51cr2ok. can you go to /sys/class/leds ?
20:33.05goxboxlivehold on i have to reboot
20:33.58lkclallo darlis
20:34.06cr2hi lkcl
20:34.59lkclam moving on wednesday.  internet connectivity goes off etc. etc.  hurrah!
20:36.34goxboxlivecr2: Wich package containes apm? Not apmd.
20:41.50cr2no idea.
20:43.13goxboxlivecr2: no /sys/class/leds
20:43.54goxboxlivecr2: When you went on vacation there where a lot that happends. So never go on vacation again.
20:45.16cr2:)
20:49.54cr2goxboxlive: don't use suspend, i see some code that should be changed.
20:50.06goxboxliveok
20:51.52cr2it does not seem like the keyboard driver supports suspend/resume.
20:52.31cr2the phone suspend is not going to be easy too...
20:52.32goxboxlivehmm
20:54.06cr2the lcd has suspend/resume code.
20:54.55goxboxliveok, but why isent it showing up in the make xconfig menu as the other drivers, like lcd, TS, Phoen and so on?
20:55.48cr2leds ?
20:55.58goxboxliveyes
20:56.11goxboxlivehtcuniversal_leds
20:57.14Kevin2Hi.
20:57.22goxboxlivehi kev
20:57.34Kevin2I've uploaded a new haret binary and patch to svn.  This latest version adds support for resuming into a linux boot.
20:57.57Kevin2I doesn't work for me, but I suspect that is because my kernel isn't ready for it.  (Regular linux booting does work, however.)
20:58.41Kevin2If anyone wants to try it out, please make sure regular linux booting works before trying the resume stuff.
21:01.33goxboxlivekevin2: Is it this one? gnuharet-200610221650.exe
21:02.00Kevin2Yes.
21:03.59goxboxlivewow it loaded fast
21:04.04goxboxlivewith alot of colors
21:04.37Kevin2goxboxlive: There are no delays in the new code.  Did it boot okay?
21:05.12goxboxliveyes, it booted fast.
21:07.13goxboxlivewhats this support for resuming into a linux boot.
21:07.13Kevin2If you want to try the resume stuff, rerun haret and use "resumeintoboot" instead of "boot2".
21:07.14goxboxlivewhat will happend? We dont have resume support yet.
21:07.14Kevin2Then, instead of booting linux directly, it will have wince boot linux after you suspend and then resume the device.
21:07.51Kevin2It is cr2's idea.  It is supposed to test linux support for enabling hardware.  It is not the same as linux resume.
21:08.03cr2Kevin2: hi. what is your PCFR value ?
21:08.27Kevin2PCFR?
21:08.49goxboxliveahh cool that will be cool. Have to wait then for cr2 to clean up the auapend/resume code
21:09.14cr2dump pxa27xpower
21:09.39Kevin2<PROTECTED>
21:10.35Kevin2goxboxlive - it isn't the same as linux suspend/resume - it doesn't rely on it.  Instead, it is a test of linux hardware initialization support.
21:10.53goxboxliveok
21:11.43cr2goxboxlive: if you'll be able to boot this way, then we don't need wince at all.
21:12.05cr2it can be simply flashed.
21:12.50cr2or we can go the hx4700 route and reflash the bootloader.
21:13.19cr2maybe only the SPL.
21:14.55cr2Kevin2: so you also have the power_i2c enabled ? strange.
21:16.57Kevin2I have the MAX1587A attached to the pI2C bus.  I see wince writing to it on processor core changes.
21:17.16cr2ok.
21:17.42cr2i have it too, but don't see this activity.
21:18.26goxboxliveshould i try to boot that way? Is it a posibility to destroy my universal if i try?
21:19.54Kevin2I used the i2c monitoring sequence at: http://en.pastebin.ca/215892  -- maybe universal is less aggressive at changing settings.  You might want to try doing a suspend/resume sequence while monitoring it.
21:20.23goxboxlivei dont know how to do that
21:20.41Kevin2goxboxlive:  I ran it on my Apache - it didn't boot, but a normal reset cleared the condition.  It isn't anymore dangerous than the other stuff we do.
21:20.55goxboxliveok
21:21.19Kevin2goxboxlive: The i2c message was for cr2:
21:21.40goxboxliveso i do as follows, i edit my default.txt, run haret, and shut my universal off with the power button. Then i shut it on, and linux should boot. right?
21:22.38Kevin2Yes.
21:22.49goxboxlivei'll try it out
21:23.42goxboxliveIt seems like your haret version isent shutting down linux right. It frooze with a grey window with stripes
21:24.09goxboxlivehad to soft reset to reboot the machine
21:25.11Kevin2That is odd.  You had default.txt run "resumeintolinux".  It should say on the screen "Ready to boot.  Please suspend/resume".  You then pressed power?
21:26.19goxboxlivethat was with boot2
21:26.25goxboxliveIt wouldnt resume
21:27.09goxboxliveI got the message in the haret window to shutdown my device, but it wouldnt wake up on power on
21:28.58cr2goxboxlive: then we don't configure the hardware properly without wince help.
21:29.01goxboxliveThe shutdown with grey screen with stripes was with "boot2". The resume not working was with "resumeintoboot"
21:29.12Kevin2Okay, it will likely take quite a bit of debugging to get it to work.
21:29.43cr2Kevin2: can we run a test program instead of the kernel ?
21:30.08cr2that will enable vibra or something equally simple.
21:30.20Kevin2cr2: Sure.  The code just loads the kernel blob and jumps to it.
21:30.44Kevin2There is still a preloader, so enabling vibra from the preloader should be a good test.
21:31.17Kevin2(There is no wince once we're in the preloader, so the code sequence will be device specific and should be simple to activate.)
21:31.36cr2wow. testing my resume.
21:31.54goxboxlivetreid once more, nothing happend while trying to resume
21:33.08cr2it works :)
21:33.22cr2but expect some bugz anyway.
21:33.38goxboxlivegreat jo cr2. Now pull it in to cvs. I want to try my self
21:33.43cr2PM: Preparing system for mem sleep
21:33.47cr2Stopping tasks: =================|
21:33.51cr2acx: suspend handler is experimental!
21:33.55cr2sus: dev c3d98000
21:33.59cr2htcuniversal_ts2_suspend: called.
21:34.03cr2htcuniversal_lcd_suspend: called.
21:34.07cr2PM: Entering mem sleep
21:34.11cr2PM: Finishing wakeup.
21:34.15cr2asic3_mmc: starting resume
21:34.19cr2asic3_mmc: finished resume
21:34.23cr2htcuniversal_lcd_resume: called.
21:34.27cr2htcuniversal_ts2_resume: called.
21:34.31cr2Restarting tasks...acx: resume handler is experimental!
21:34.31cr2rsm: got dev c3d98000
21:34.32cr2<PROTECTED>
21:34.32cr2Kevin2: copy htcuniversal_pm.c to apache. it should work there too.
21:34.38cr2i run apm --suspend, the LCD goes gray.
21:34.48cr2i wait 5 sec and press the power button.
21:34.52cr2it resumes :)
21:35.00goxboxlivecool
21:35.08goxboxliveeven keyboard work?
21:35.12cr2how does this corgi_bl do suspend/resume ?
21:35.23Kevin2cr2: Great!
21:35.23cr2keyboard is dead.
21:35.31goxboxliveok
21:35.56goxboxliveask psokolovsky_ about the corgi_bl stuff
21:36.03cr2i think this corgi_bl does not suspend at all.
21:36.28cr2there are many other drivers where i don't know who is responsible for the suspend/resume.
21:36.57cr2for our keyboard we need our own functions.
21:36.59psokolovsky_cr2, what you mean doesn't suspend? it turns off backlight, voila
21:37.10goxboxlivehaha he is here
21:37.11cr2the pxa27x_udc does not resume...
21:37.42cr2psokolovsky_: is the .suspend/.resume for corgi_bl ?
21:38.01psokolovsky_cr2: yep, somewhere there
21:38.15cr2:)
21:38.28cr2i have the same feeling for many other drivers.
21:38.29psokolovsky_cr2: it just calls our methods with intensity=0
21:39.05cr2ok. so the problem must be hidden somewhere deeper.
21:39.37cr2btw. do i need to write a suspend/resume for the btuart ?
21:39.50cr2and the phone on ffuart, but it's another issue.
21:42.13cr2psokolovsky_: the universal_leds driver is broken. is there a generic asic3_leds driver ? or how should i rewrite it ?
21:43.57psokolovsky_cr2, you're on kernel-discuss now, right? ;-) there was a post of driver for rx3000, also asic3 based. It had few issues, so not yet in CVS. But it may be a good start for generic driver, I guess. There're also my response with some thoughts/rambling about the leds stuff.
21:44.25psokolovsky_cr2: I didn't see universal_leds, maybe it can be taken as base too...
21:45.03goxboxlivelinux-2.6.17-hh1/drivers/leds/leds-corgi.c
21:47.13cr2ok.
21:48.26cr2i'll put the universal suspend code into CVS. the LCD/bl is a bit broken. i may be connected to the saved state code.
21:55.59cr2goxboxlive: you can test it now.
21:57.39goxboxlivecool
21:57.40cr2if the LCD state is not known we should probably switch it off.
21:57.48goxboxliveyes i agree
21:58.07cr2there is some ambiguity in the driver now.
21:59.29cr2Kevin2: my last wish - loadResourceKernel in addition to the loadDiskKernel
21:59.36cr2just a memcpy.
22:00.56goxboxlivethe cvs update is hanging. Have to download them manually
22:01.36cr2go to the htcuniversal directory and run cvs up there.
22:08.21goxboxliveahh so i can do that to. thx for the tip
22:08.31goxboxliveNo, what about sounddriver.?
22:09.39cr2the ugly ifdefs ?
22:09.56cr2ask Kevin2 , he has the same chipset :D
22:13.56goxboxliverealy
22:14.22goxboxliveKevin2: what about soundcard.. Have you managed to get sound on your device?
22:22.38goxboxlivecr2: I also managed to get the suspend/resume to work.
22:22.51goxboxliveNAd the keyboard doesnt work after as you said.
22:23.35goxboxliveBut what about letting it go to suspend while we have pushed the power button. Is that doable?
22:23.51goxboxliveAlso the autmatic suspend in GPE works.
22:24.23goxboxliveAlso a good idea to turn the LCD all off when suspending.
22:25.19goxboxliveBut the next challange is to let the keybaord also resume. Is that a tricky job?
22:27.36cr2goxboxlive: i don't remember how the pxa buttons code is doing that, but it should be very easy to suspend on a button event.
22:28.06goxboxlivecool
22:28.15cr2or course the LCD should be turned off, it's our buggy driver is not doing the right thing.
22:28.37goxboxliveok, is your screen flickering after resume?
22:29.12goxboxliveJust minmal, not much. But when i am in the shell i can see it on the letters
22:29.58cr2the keyboard driver should be split into logical pieces with their own suspend code. Kevin2 has written the generic pxa27x keyboard code, maybe we can use it too and asic3_buttons will do the rest.
22:30.24goxboxlivethat might be a good choice
22:30.26cr2my screen does not flicker, but we need to double check the code.
22:30.34goxboxliveok
22:31.02cr2i'd say that the working asic3_owm is the next urgent thing.
22:31.16cr2so we can properly monitor the battery.
22:31.47cr2if we forget about battery learning stuff, the charging does not look very difficult at all.
22:31.54goxboxlivethat will be good. Will we have charging support when that is done?
22:31.59cr2though, it is different from hx4700.
22:32.04goxboxliveok
22:32.40cr2we have charging in some sense, but the owm driver is delivering some strange values.
22:33.18goxboxliveI Think we shoul leave the phone part for a while, and rather be finished with the rest. Becasue it will be a good PDA when the PDA stuff works.
22:33.25goxboxliveok
22:33.38cr2btw, the "small" camera driver is available and working.
22:33.59cr2maybe we can reuse it too.
22:34.01goxboxlivereay. How do i test it? Is there a camera application in Opie or GPE?
22:34.14goxboxlivelets try
22:34.17cr2cat /dev/fb1 > screenshot :)
22:34.22goxboxliveok
22:34.30cr2i'm joking.
22:34.36goxboxlive:-)
22:34.39cr2but the driver is in the omap CVS.
22:34.55goxboxliveok, well it's getting late. Have to go to bed. night
22:35.05cr2http://sourceforge.net/projects/usbsnoop/
22:35.19cr2ah. wrong link.
22:35.22cr2http://wiki.earth.li/E3_Status
22:36.09cr2Driver is working, but still needs some work clock calculations and pixel formats
22:36.24cr2Sensor is an OmniVision OV6650
22:36.33goxboxlivewhat is E3
22:36.34cr2this is our small camera.
22:36.40goxboxlivei know
22:36.51cr2http://wiki.earth.li/E3
22:37.10cr2http://www.earth.li/~noodles/hardware-e3.html
22:38.09cr2the pxa27x video overlay driver is needed.
22:38.19*** join/#htc-linux asylumed_ (n=insanity@196.211.116.6)
22:38.21cr2motorola has it in their 2.4 kernel, i don'
22:38.29cr2t know about 2.6 status.
22:38.33psokolovsky_goxboxlive, can you update status of http://bugs.openembedded.org/show_bug.cgi?id=1450?
22:41.27goxboxlivehow?
22:42.59goxboxlivei guess i managed it
22:43.03goxboxlivegood night
22:59.09Kevin2cr2: Yep, I'm calling it bootRamLinux() - it will be the next thing I do.
23:06.11cr2Kevin2: the code is already there, just the memcpy is missing. the ID=1001 can be conveniently replaced by the MTYPE.
23:07.30cr2i'd also be very thankful if you'll explain, or write an example how to attach the C handler to your irq watch code.
23:08.34cr2i get the ffuart irq (AT command) and would like to dump some GPIO values and/or other memory locations.
23:08.46cr2must go to bed now. good night.
23:09.00Kevin2cr2: What code is where?  The existing patch has a bootRamLinux code.  I'm planning on having ld pull in the kernel at link time.
23:09.23Kevin2It is pretty simple to write a C routine for the "wi" stuff.  Tomorrow?
23:13.30Kevin2The C function "abort_handler" in irq.c is run when "wi" catches a memory exception.  Just write some C code in it to do what you want.  The only thing is, you can't report the results directly back - you have to write it into a "trace buffer" - see "struct traceitem".  You then need to modify the polling code (see printTrace) to pull out what you're looking for and print it to the screen.
23:14.36Kevin2Oh, if you want to do it on an interrupt event, write the code in irq_handler.  Otherwise, same concept.
23:26.02Kevin2Also, you can access any global variables, so you need to pass variables in via the "struct irqData".  You can add variables to the structure and init them in preLoop().

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.