00:00.03 | cr2 | ;-) |
00:00.05 | lkcl | ok - i need to look closer at this... |
00:00.11 | psokolovsky | lkcl, read kernel-discuss acrhive for couple months, you'll see msgs from him |
00:00.28 | psokolovsky | something I know is that h4000 has perfect handling of lcd suspend ;-) |
00:00.43 | psokolovsky | not so perfect resume though ;-D |
00:00.53 | cr2 | lkcl: i didn't want to drop these files myself. |
00:00.55 | psokolovsky | h4000 pxafb |
00:01.16 | cr2 | psokolovsky: i don't have problems with resume, only with suspend. funny. |
00:01.36 | psokolovsky | yeah ;-) |
00:02.08 | lkcl | ack psokolovsky |
00:02.11 | scatterp- | hey all this talk of sound has there been any progress ? |
00:02.18 | *** join/#htc-linux awelux (n=awelux@lvps87-230-8-217.dedicated.hosteurope.de) |
00:02.35 | cr2 | i think it's partially an outcome of your asic3 cleanup, which i wholeheartedly support. |
00:02.54 | lkcl | ok it appears that pxa-i2s.c has been superseded by pxa2xx-i2sound.c that should be pxa2xx-i2s-sound.c or at least with a damn double s damnit. |
00:03.36 | cr2 | lkcl: it's slowly becoming too much for me :) should i remove these files from CVS ? |
00:04.23 | psokolovsky | cr2, please post to kernel-discuss first ;-) |
00:05.27 | lkcl | pxa-i2s.c ? yep - Needs To Die. |
00:05.45 | cr2 | i have told Giorgio about it and he has confirmed that they are obsolete. They will land in Attic anyway. |
00:05.50 | lkcl | i doubt that the h5xxx-ak4535 driver actually compiles. |
00:05.51 | cr2 | static struct pxafb_mach_info sony_acx526akm __initdata= |
00:06.13 | cr2 | can i use this struct... |
00:06.22 | cr2 | damn, it's static, i can't. |
00:06.36 | cr2 | everything is fscked up here ;) |
00:06.56 | psokolovsky | ok then |
00:07.35 | cr2 | at least the LCD issue became more clear to me. |
00:08.31 | cr2 | i think we will wait for the hx4700 sound to be repaired, and then clean the #ifdef mess there. |
00:09.04 | cr2 | we can't just add #ifdef MACH_HW6900 || MACH_HTCALPINE || MACH_HTC_APACHE there. |
00:11.02 | cr2 | lkcl: the problem is that the old working driver is dropped, and the new one is just not working. |
00:11.04 | psokolovsky | lkcl, you saw r1.3 here: http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/sound/arm/htcuniversal_audio.c , right |
00:11.12 | lkcl | cr2: hurrah! |
00:11.25 | psokolovsky | ? |
00:11.46 | lkcl | welll - no, because the font used on kopete has that link as black-on-black :) |
00:12.15 | psokolovsky | http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/sound/i2c/ak4641.c |
00:12.45 | lkcl | ack got it |
00:12.50 | lkcl | ah ha that was only 86 mins ago |
00:13.16 | cr2 | Thanks Elshin Roman for test and debug on a hx4700. |
00:13.42 | cr2 | this is the only person who has seen this code running. |
00:16.11 | lkcl | o dear need a complete cvs update *sigh* |
00:19.41 | cr2 | psokolovsky: you have commented out these pointers ;) |
00:19.45 | cr2 | <PROTECTED> |
00:19.45 | cr2 | <PROTECTED> |
00:19.52 | cr2 | on h4000 |
00:20.24 | cr2 | it's not that easy to set them from outside (asic3) |
00:20.48 | lkcl | is there any reason why i shouldn't have done a cvs update? it seems to be taking a long time... |
00:21.54 | psokolovsky | cr2, yep, they are kinda deprecated ;-). you mean them all this time? ;-) |
00:22.32 | psokolovsky | lkcl, hello! 2.6.18 was committed yesterday ;-) |
00:22.57 | cr2 | ./h1900/h1900_lcd.c |
00:23.13 | cr2 | does it anyway, but in a very ugly way. |
00:23.14 | psokolovsky | cr2, that code is inda broken, consequently ;-) |
00:23.22 | psokolovsky | kinda |
00:23.29 | cr2 | so ? |
00:23.49 | cr2 | should i set/drop CKEN myself ? |
00:23.59 | psokolovsky | so, it works on h4000 without those handlers, by pure device PM handlers 8-) |
00:24.02 | cr2 | because now it is in the pxafb.c |
00:24.23 | psokolovsky | cr2, h4000 seems to work w/o that, h3900 too |
00:24.38 | cr2 | ok. then i'll take care of CKEN myself. |
00:24.50 | cr2 | i have 7 LCD power gpios ;) |
00:24.54 | psokolovsky | but maybe I lie a bit somewhere, so check that yourself |
00:25.00 | cr2 | and CKEN is switched off the middle. |
00:25.09 | psokolovsky | yep, that's cool! ;-\ |
00:25.48 | psokolovsky | I cannot get even 3 right, on resume ~10% that it shows funky pattern. PM cycle usually clears that though |
00:26.19 | psokolovsky | but taht code is not mine, likely was copied from some other model ;-E |
00:26.43 | cr2 | :D |
00:28.03 | cr2 | well, universal has the best LCD i know. |
02:04.50 | *** join/#htc-linux lkcl (n=lkcl@host81-157-198-228.range81-157.btcentralplus.com) |
02:06.59 | lkcl | anyone know about this 2.6.18-hh build error lib/audit.c:31: error: `__NR_openat' undeclared (first use in this function) |
02:10.22 | lkcl | bye bye CONFIG_AUDIT... :) |
02:17.05 | lkcl | ahh, we are back a step with 2.6.18: to the lovely 'kernel panic' unable to mount root fs (initrd...) *sigh*... |
02:18.58 | lkcl | argh - that's a newish one or maybe not: Couldn't find valid RAM disk image starting at 0. |
02:19.53 | lkcl | last time this happened it was cos i didn't _have_ a ramdisk - i'd forgotten to put quotes round the startup.txt "initrd26.gz"... |
03:07.23 | *** join/#htc-linux lkcl (n=lkcl@host81-157-198-228.range81-157.btcentralplus.com) |
07:59.24 | *** join/#htc-linux rob_w (n=rob_w@p549B9C1D.dip0.t-ipconnect.de) |
08:10.10 | *** join/#htc-linux Fossi (n=user1@195.177.48.115) |
08:43.20 | *** join/#htc-linux rob_w (n=rob_w@p549B9C1D.dip0.t-ipconnect.de) |
09:44.16 | *** join/#htc-linux rob_w (n=rob_w@p549B9C1D.dip0.t-ipconnect.de) |
10:45.58 | *** join/#htc-linux LunohoD (n=alex@e180100074.adsl.alicedsl.de) |
11:47.56 | *** join/#htc-linux WizMaui (n=WizMaui@62.112.90.179) |
12:26.19 | *** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com) |
12:57.29 | *** join/#htc-linux psokolovsky (n=psokolov@ip.85.202.124.214.dyn.sub-9.broadband.voliacable.com) |
13:10.56 | *** join/#htc-linux lkcl (n=lkcl@host81-157-198-228.range81-157.btcentralplus.com) |
13:11.57 | lkcl | allo darlins. |
13:13.43 | goxboxlive | hi lkcl |
13:14.18 | lkcl | got fed up with kopete and went back to xchat. kopete keeps ghost-connecting |
13:14.39 | lkcl | am still on sound but with 2.6.18-hh0 now |
13:15.53 | goxboxlive | ok, i'm using xchat myself |
13:17.05 | *** join/#htc-linux cr2 (n=konversa@crpl22.physik.uni-wuppertal.de) |
13:24.21 | cr2 | hi lkcl |
13:24.58 | lkcl | i might have got sound going but vol is right down. |
13:25.10 | cr2 | i don't expect much from the corporate-sponsored linux development ;) |
13:25.15 | cr2 | alsamixer ? |
13:25.27 | lkcl | i'd install alsa-utils to turn the vol up from 0 but i have a baby on my lap :) |
13:25.45 | lkcl | hurrah! you don't? |
13:25.45 | cr2 | alsamixer is on the opie image by goxboxlive |
13:25.51 | lkcl | ahh |
13:26.10 | lkcl | hm got a url? |
13:26.43 | cr2 | motorola, tivo and novell has showed where it goes. |
13:26.51 | cr2 | url ? hmm. |
13:26.55 | cr2 | looking in the logs. |
13:26.59 | lkcl | googlewords> |
13:27.05 | lkcl | ? |
13:27.26 | lkcl | yeh i do mention that in my article |
13:27.35 | cr2 | i've read a reply from Harald Welte. |
13:27.43 | cr2 | article ? |
13:28.02 | lkcl | that we happy to chip away but companies do have ship-product-deadlines |
13:28.25 | lkcl | http://hands.com/~lkcl/linux.phones.txt |
13:28.32 | lkcl | work in prog |
13:28.55 | cr2 | deadlines result in crappy code (see a780), but i mean other things. |
13:29.17 | lkcl | such as? |
13:29.26 | cr2 | how are we going to support umts ? |
13:29.48 | lkcl | ah |
13:30.01 | cr2 | i hope that universal does not stream video over usb |
13:30.11 | cr2 | or audio |
13:30.30 | goxboxlive | cr2: I figured out why the shell got thrue Opie at start. |
13:30.39 | cr2 | goxboxlive: good. |
13:31.02 | goxboxlive | I disabled the bootsplash and gone it was. Uploading a images now, also with the fix for zroadmap |
13:31.07 | *** join/#htc-linux rob__w (n=bob@p85.212.151.176.tisdip.tiscali.de) |
13:31.07 | cr2 | btw, can you check the 'echo 4 > pxafb/power' with the latest kernel ? |
13:31.16 | goxboxlive | hold |
13:31.18 | goxboxlive | on |
13:31.23 | cr2 | ok. more roadmap fixes coming. |
13:31.52 | lkcl | allo rob |
13:32.36 | lkcl | goboxlive: where your opie image with alsamixer? |
13:33.20 | cr2 | lkcl: have you already written the lcd driver ? |
13:33.40 | cr2 | i think we have identified the asic3 gpios involved. |
13:33.44 | lkcl | you mean copied from somewhere else? not sure |
13:33.47 | lkcl | oh cool |
13:34.01 | cr2 | yeah. and the backlight. |
13:34.18 | lkcl | well we did do that pxa testing on the 1st day and it wroked remember? |
13:34.22 | cr2 | i think we should aim at the common opie image for our devices. |
13:34.48 | cr2 | trace 'pwrlcd 1' and 'pwrlcd 4' |
13:35.20 | cr2 | http://wiki.xda-developers.com/index.php?pagename=SableASIC3 |
13:35.28 | cr2 | seems to be already done. |
13:36.25 | cr2 | but you should fix the IRQ/ALT/SLEEP fields. |
13:36.55 | cr2 | from 'dump asic3gpio' output |
13:36.58 | goxboxlive | cr2: I did that, the screen go realy bright and white. I panicked and reseted the device :-/ |
13:37.17 | cr2 | goxboxlive: ok. |
13:37.43 | cr2 | strange. then i should check it myself. |
13:38.00 | cr2 | can you write down the angstrom compilation steps ? |
13:39.05 | goxboxlive | cr2: what do you mean by that? |
13:39.06 | cr2 | goxboxlive: the problem is that this lcd powerdown sequence is different in the bootloader/kernel/ddi.dll |
13:39.10 | cr2 | really evil. |
13:39.24 | goxboxlive | what about echo 0 then ? |
13:39.38 | cr2 | how do i compile angstrom instead of familiar. |
13:40.15 | cr2 | my lcd went bright white even with your posted opie/zimage |
13:40.19 | goxboxlive | In your conf/local.conf just replace familiar-unstable with angstrom |
13:40.26 | goxboxlive | hmm |
13:40.44 | cr2 | that's why i have added the cken off. |
13:40.52 | cr2 | but it obviously did not help. |
13:40.58 | goxboxlive | I have uploaded a new one right now, with the latest chages in the cvs ( the ones you commited last night) |
13:41.13 | cr2 | ok. |
13:43.34 | lkcl | i need take out the key check in initrd otherwise no image work |
13:44.20 | goxboxlive | cr2: when booting and with the power cable plugged, dmesg shows that both ac and usb is connected (ac_in=1 and usb_=1. With usb connected only usb shows that it is connected (ac_=0 usb_=1) And when non are connected it shows ac_=0 usb_=0. |
13:44.29 | lkcl | access to /dev/kmem needed by waitkey. causes crash |
13:53.04 | cr2 | goxboxlive: it's correct |
13:53.13 | cr2 | lkcl: waitkey ? |
13:54.52 | cr2 | lkcl: i think we can add a "wiki-friendly" output to 'dump asic3gpio'. then it will be a cut'n'paste job. |
13:54.55 | goxboxlive | ok |
13:55.36 | cr2 | goxboxlive: i don't understand why the "power" interrupts are not generated |
13:55.59 | cr2 | but the htcuniversal_power needs a serious refactoring anyway. |
13:56.48 | goxboxlive | ok |
14:04.45 | cr2 | lkcl: Phillips is a US screwdriver. Philips :) |
14:07.03 | cr2 | you can find the i2c_id for uda1380 on himalaya very fast. with 'wi' by Kevin2, or by 'wreg8' on the i2c snoop register. |
14:11.38 | cr2 | it has a 500Mhz PXA270 ARM XScale processor |
14:11.43 | cr2 | 520Mhz |
14:12.13 | cr2 | somebody should try to switch it to 624. then it will certainly overheat. |
14:13.23 | cr2 | lkcl: you forgot about 2 CMOS cameras on the universal. linux GPL drivers are available. |
14:14.11 | cr2 | HTC Apache is not omap-based. |
14:14.53 | cr2 | it's the same pxa270 phone similar to the universal. but it's a US model with CDMA modem. |
14:19.44 | cr2 | the chinese version of A780 does not have the GPS receiver afaik. it's only the european version. |
14:20.22 | cr2 | i guess the EU A780 was a real loss-leader, i feel sorry i have not bought the second one. |
14:23.05 | cr2 | The RIL _is_ on universal, did you mean this ctrl-c ctrl-v stuff ? |
14:26.12 | cr2 | i'd like to see the UMTS video/audio and BT headset (audio) addressed in this document. |
14:26.55 | cr2 | it will be interesting to see how they handle the BT headset in their openmoko. |
14:28.03 | cr2 | but since the source code will not be available at least in the next 2 months (hehe, press releases), maybe we will get it working earlier. |
14:36.37 | lkcl | cr2: excellent! |
14:36.52 | lkcl | yes, waitkey: part of /bin/sh (or busybox). |
14:50.21 | goxboxlive | cr2: The OmniVision OV6650 is now ported to 2.6.16 kernel AFAI can tell. |
14:50.30 | goxboxlive | http://wiki.earth.li/E3_Status |
14:51.50 | cr2 | goxboxlive: yes, but we should strip out the omap-specific stuff. |
14:52.08 | cr2 | what about OV96[45]0 ? |
14:52.18 | goxboxlive | hold on i'll check |
14:52.30 | cr2 | i think it will be easier to support. |
14:52.52 | cr2 | 6650 uses gpio99 for something unknown. |
14:53.19 | cr2 | goxboxlive: do you have umts data contract ? |
14:54.12 | goxboxlive | yes |
14:55.57 | cr2 | hmm. can you also run it in the videophone mode ? |
14:56.09 | goxboxlive | yes |
14:56.21 | cr2 | we need to find a way to trace the data path. |
14:56.34 | goxboxlive | but not now, i have to pick up my child from kindergarden. bb |
14:56.44 | cr2 | lol |
15:03.17 | lkcl | ok darlins am off out back in a few hours |
15:03.48 | lkcl | what _is_ this with the babies, huh??? me n my wife are off out to choose a new outfit :) |
15:22.59 | goxboxlive | :-) |
15:33.49 | lkcl | oh fer goodness sake - i'd forgotten about all this termcap stuff needed for ncurses that i did last time i put apps on. goboxlive, have you got that alsamixer opie image around? |
15:42.49 | cr2 | lkcl: http://gnulinux.biz/files/Universal/tmp/Angstrom/ |
15:47.51 | lkcl | taaaa |
15:49.03 | lkcl | not that aumix works, although it does say it's set the sound params, but alsamixer goes: |
15:49.05 | lkcl | Invalid CTL default |
15:49.06 | lkcl | alsamixer: function snd_ctl_open failed for default: No such file or directory |
15:49.19 | lkcl | so i try that angstrom one... |
16:31.04 | *** join/#htc-linux baud123 (n=baud@ver78-1-82-240-29-152.fbx.proxad.net) |
16:34.14 | *** join/#htc-linux cr2 (n=konversa@crpl22.physik.uni-wuppertal.de) [NETSPLIT VICTIM] |
16:37.41 | *** join/#htc-linux awelux (n=awelux@lvps87-230-8-217.dedicated.hosteurope.de) |
16:37.41 | *** join/#htc-linux scatterp- (n=deminish@212.32.81.239) [NETSPLIT VICTIM] |
16:37.42 | *** join/#htc-linux ljp (n=lpotter@203.94.178.46) [NETSPLIT VICTIM] |
16:37.42 | *** join/#htc-linux lamikr (n=chatzill@aragorn.kortex.jyu.fi) [NETSPLIT VICTIM] |
16:37.42 | *** join/#htc-linux gw280 (i=authdeni@81.91.110.54) |
16:39.31 | *** join/#htc-linux TeringTuby (n=maarten@189-66-dsl.ipact.nl) [NETSPLIT VICTIM] |
16:39.31 | *** join/#htc-linux Kmarc (i=kari@markos.biz) [NETSPLIT VICTIM] |
16:39.39 | *** join/#htc-linux JTRipper (n=jtripper@p54B1FA34.dip.t-dialin.net) [NETSPLIT VICTIM] |
16:39.39 | *** join/#htc-linux rejon (n=rejon@64-121-195-22.c3-0.sfpo-ubr4.sfrn-sfpo.ca.cable.rcn.com) [NETSPLIT VICTIM] |
16:39.39 | *** join/#htc-linux Kevin2 (n=Kevin@207-237-52-30.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com) [NETSPLIT VICTIM] |
16:39.39 | *** join/#htc-linux DerekS (n=DerekS@unaffiliated/dereks) [NETSPLIT VICTIM] |
16:39.39 | *** join/#htc-linux parmaster (i=par@dipole.idlepattern.com) [NETSPLIT VICTIM] |
16:39.40 | *** join/#htc-linux eldu (n=damajor@nysa.e-geek.org) [NETSPLIT VICTIM] |
16:39.40 | *** join/#htc-linux Funklord (n=cow@c-cbd572d5.014-46-73746f28.cust.bredbandsbolaget.se) [NETSPLIT VICTIM] |
16:40.56 | *** join/#htc-linux psokolovsky (n=psokolov@ip.85.202.124.214.dyn.sub-9.broadband.voliacable.com) [NETSPLIT VICTIM] |
16:40.56 | *** join/#htc-linux ba2bb (n=bbaniste@134.49.1.131) [NETSPLIT VICTIM] |
16:40.56 | *** join/#htc-linux toi (n=pleemans@d5152D3B4.access.telenet.be) [NETSPLIT VICTIM] |
16:40.57 | *** join/#htc-linux anYc (i=mario@hadince17.hadiko.uni-karlsruhe.de) [NETSPLIT VICTIM] |
16:40.57 | *** join/#htc-linux pof (n=pof@62.57.1.173) [NETSPLIT VICTIM] |
16:40.57 | *** join/#htc-linux hlbot (n=adm@iclem.net) [NETSPLIT VICTIM] |
17:27.44 | *** join/#htc-linux pleemans (n=peter@d51A5E421.access.telenet.be) |
17:47.08 | *** join/#htc-linux asylumed (n=insanity@196.211.116.2) |
17:49.04 | *** part/#htc-linux asylumed (n=insanity@196.211.116.2) |
17:49.41 | *** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com) |
17:52.41 | cr2 | goxboxlive: linux-handhelds-2.6-2.6.17-hh2-r0 ? |
17:53.08 | goxboxlive | What about that? |
17:53.13 | cr2 | angstrom |
17:53.29 | cr2 | i thought it should be 2.6.18-hh0 ? |
17:53.34 | goxboxlive | no,are you talking about OE? |
17:53.38 | cr2 | yes. |
17:53.56 | goxboxlive | You have to make some changes in the angstrom.conf file. |
17:54.19 | goxboxlive | conf/distro/angstrom-2007-1.conf |
17:54.41 | cr2 | well, it's too complex for me :) |
17:54.45 | goxboxlive | change the universal source to 18 and set src date a day in the future |
18:01.17 | cr2 | i have changed the powerdown_lcd to the sequence that i observe with haret. can you check ? |
18:09.46 | goxboxlive | yes of course, have you uploaded it? |
18:20.23 | goxboxlive | cr2: what do you want me to test? suspend? |
18:20.54 | psokolovsky | Hi! |
18:21.01 | goxboxlive | hi chief |
18:21.11 | psokolovsky | goxboxlive, do you have 2.6.18-hh0 building cleanly in OE.dev now? |
18:21.28 | goxboxlive | yes, the changing src date did the trix |
18:21.37 | *** join/#htc-linux asylumed (n=insanity@196.211.28.91) |
18:21.38 | psokolovsky | wonderful, thanks |
18:21.42 | psokolovsky | asylumed, Hi! |
18:21.49 | asylumed | heya |
18:23.39 | cr2 | goxboxlive: echo 4 > pxafb/power |
18:23.51 | goxboxlive | cr2: i tried out the new lcd driver. suspend is the same, the screen is turning grey. Ok have to reboot |
18:23.58 | cr2 | ok. |
18:24.30 | cr2 | damn. then i need to dump my own ddi.dll |
18:26.16 | cr2 | psokolovsky: the etenG500 people set the "big-kernel" at 8MB. have i said that initrd is evil ? ;) |
18:26.57 | psokolovsky | lol |
18:27.19 | psokolovsky | 5mb should be enough fo 1-2 more kernel releases, I thought ;-) |
18:27.55 | cr2 | it seems i need to create the initramfs myself. |
18:28.20 | psokolovsky | cr2: and submit to OE.dev ;-) |
18:28.53 | psokolovsky | cr2: initramfs is c"compiled" into zImage, right? |
18:28.59 | cr2 | last time i have tried, it did not work for me. |
18:29.00 | cr2 | yes. |
18:29.15 | psokolovsky | cr2: so, it's not just evil, it pretty sux |
18:29.25 | psokolovsky | initrd can be resused with different kernels |
18:29.33 | psokolovsky | reused |
18:29.36 | cr2 | but it was at the time when my asic3_base was a module. |
18:29.56 | cr2 | for the installation and quick testing it's better. |
18:30.19 | psokolovsky | initramfs and inird are two different things then |
18:30.24 | cr2 | you don't need to think about these 4 vs. 5 vs. 8 MB |
18:30.43 | cr2 | why ? |
18:31.09 | cr2 | initramfs is the rootfs in ram. |
18:31.12 | psokolovsky | and whoever thinks that initramfs supercedes initrd, is misguided ;-P don't trust those who wrote that crap in Documentation/. Opinions. only opinions. |
18:31.26 | cr2 | you can put whatever you like there. |
18:31.30 | cr2 | :=) |
18:31.32 | psokolovsky | cr2: initramfs is rootfs in kernel image |
18:31.37 | cr2 | yes. |
18:31.45 | psokolovsky | that sux ;-) |
18:31.52 | psokolovsky | well, nevermind |
18:32.07 | psokolovsky | what's true is that someone hsould add its support to OE |
18:32.17 | psokolovsky | obviously, not me ;-) |
18:32.31 | cr2 | you should read the channel logs on the problems people have with installation. |
18:32.56 | psokolovsky | well, I understand that |
18:33.20 | psokolovsky | but initramfs won't be a solution either. only rasiing awareness will |
18:33.29 | psokolovsky | well, enough rant ;-) |
18:34.46 | cr2 | yes, but we should not forget what the normal people want. i agree that the initrd is more flexible. |
18:35.12 | psokolovsky | ok |
18:36.00 | goxboxlive | cr2: the same happend , the lcd got white and bright |
18:36.02 | psokolovsky | I for example, know that 16Mb RAM Palms just can't work with rootfs on ext2. But they surprisingly even breathe with initramfs ;-) |
18:36.21 | cr2 | back in 30 min. |
18:38.52 | goxboxlive | psokolovsky: The psplash in the angstrom image screw up the the opie-image |
18:39.24 | goxboxlive | When starting the cursor from the shell is blinking through the opie gui. |
18:40.00 | goxboxlive | I removed the psplash today from angstrom.conf and the cursor where removed. |
18:47.21 | psokolovsky | goxboxlive, likely cause of that is different - OPIE misconfiguration in OE.dev |
18:47.30 | psokolovsky | need to port Familiar's fixes |
18:47.43 | psokolovsky | otherwise, I saw just that on hx4700 too |
18:48.21 | goxboxlive | ok, but as i said, it is the psplash that causes it. |
18:48.30 | goxboxlive | cr2*: this cant be good or what? |
18:48.33 | goxboxlive | root@htcuniversal:~$ cat /proc/cpuinfo |
18:48.34 | goxboxlive | Processor : XScale-PXA270 rev 7 (v5l) |
18:48.34 | goxboxlive | BogoMIPS : 623.24 |
18:48.34 | goxboxlive | Features : swp half thumb fastmult edsp |
18:48.34 | goxboxlive | CPU implementer : 0x69 |
18:48.34 | goxboxlive | CPU architecture: 5TE |
18:48.36 | goxboxlive | CPU variant : 0x0 |
18:48.38 | goxboxlive | CPU part : 0x411 |
18:48.40 | goxboxlive | CPU revision : 7 |
18:48.42 | goxboxlive | Cache type : undefined 5 |
18:48.44 | goxboxlive | Cache clean : undefined 5 |
18:48.48 | goxboxlive | Cache lockdown : undefined 5 |
18:48.50 | goxboxlive | Cache format : Harvard |
18:48.52 | goxboxlive | I size : 32768 |
18:48.54 | goxboxlive | I assoc : 32 |
18:48.56 | goxboxlive | I line length : 32 |
18:48.58 | goxboxlive | I sets : 32 |
18:49.00 | psokolovsky | goxboxlive, ok, noted |
18:49.00 | goxboxlive | D size : 32768 |
18:49.02 | goxboxlive | D assoc : 32 |
18:49.04 | goxboxlive | D line length : 32 |
18:49.06 | goxboxlive | D sets : 32 |
18:49.08 | goxboxlive | Hardware : HTC Universal |
18:49.10 | goxboxlive | Revision : 0000 |
18:49.12 | goxboxlive | Serial : 0000000000000000 |
18:49.14 | goxboxlive | root@htcuniversal:~$ |
18:49.18 | goxboxlive | Take a look at the BogoMIPS |
18:57.02 | *** join/#htc-linux NickBee (n=NickBee@221.134.52.117) |
19:03.46 | *** join/#htc-linux asylumed (n=insanity@196.211.28.91) |
19:11.25 | *** join/#htc-linux bormooski (n=dborkows@38.112.25.6) |
19:17.35 | ba2bb | asylumed: Hi, got time for a newbie question? |
19:17.54 | goxboxlive | cr2: are you around? |
19:18.08 | asylumed | ba2bb: sure... from one newbie to another :P |
19:18.36 | ba2bb | asylumed: Great. Trying to reproduce what you've done on your blueangel. |
19:19.06 | ba2bb | I checked out from handheld.org/cvs linux26, did make htcblueangel_defconfig |
19:19.24 | ba2bb | Is that the correct repository to be using? |
19:19.28 | asylumed | ba2bb: hmmm... k... one issue is the cvs doesn't really compile out of the box :P |
19:19.34 | asylumed | ba2bb: yes... that's the place... |
19:19.53 | ba2bb | asylumed: Yup. So I noticed. Is there another source? |
19:20.00 | asylumed | ba2bb: nope :/ |
19:20.10 | asylumed | ba2bb: well... there in xanadux... |
19:20.33 | asylumed | ba2bb: but it's old... busy here trying to get the blueangel source in hh.org up to speed... |
19:20.43 | *** join/#htc-linux florian_ (n=fuchs@84.245.185.118) |
19:21.03 | ba2bb | asylumed: Ok. So I should wait until you do a commit before I start trying to play? |
19:21.45 | asylumed | ba2bb: well... you can play now... i suppose the only problem is the lcd not compiling... |
19:22.21 | ba2bb | asylumed: Ok. So I should just plan on playing over USB link then? |
19:22.30 | asylumed | ba2bb: if you're wanting to use it as a pda... for now, that's a little while away... |
19:22.35 | asylumed | ba2bb: yeah... |
19:22.57 | asylumed | <PROTECTED> |
19:23.11 | ba2bb | asylumed: Ok. Any suggestion for a root fs? (With no lcd, not critical yet.) |
19:24.22 | asylumed | rob_w's stuff is here: http://gnulinux.biz/files/blueangel/people/rob_w/sd/ |
19:25.26 | ba2bb | asylumed: Ok. Thats what I have now. Last Q. Any suggested simple task to start working on? (have some embedded programming experience, but minimal on the kernel) |
19:26.30 | asylumed | ba2bb: not too sure... start by cleaning things up and getting some familiarity for the code... |
19:26.47 | asylumed | blueangel's implementation is still quite messy... :/ |
19:27.03 | ba2bb | asylumed: Fair. Thanks for the help. (status is understood.) |
19:28.37 | *** join/#htc-linux BabelOued (n=Fabrice@82.238.28.28) |
19:30.27 | *** join/#htc-linux asylumed (n=insanity@196.211.116.2) |
19:32.51 | BabelOued | hi asylumed |
19:33.03 | asylumed | BabelOued: hey |
19:33.31 | BabelOued | nice to have WM5 on my BA, now i can make test booting linux more easily |
19:33.51 | asylumed | BabelOued: awesome :) |
19:34.09 | BabelOued | i build kernel with your suspend and LCD patch |
19:34.21 | BabelOued | but LCD is flicker again |
19:35.14 | asylumed | BabelOued: was looking over the lcd today... missed out the settings for boardid 5... |
19:35.39 | BabelOued | ok :) |
19:35.58 | asylumed | BabelOued: copy the pll_freq and pixclk_divider values... the flicker is *almost* gone then... |
19:37.23 | cr2 | goxboxlive: do we have cpufreq driver in t he kernel ? |
19:37.45 | goxboxlive | no, but i added it just to try |
19:37.55 | goxboxlive | i took a look at the hx4700 |
19:38.03 | cr2 | btw, is it the same bootloader on wince2003 and wince2005 ? |
19:38.26 | goxboxlive | and did the same beside pcmcia and the lcd driver |
19:38.29 | cr2 | i think hx4700 had some problems with suspend related to the wince bootloader. |
19:38.49 | psokolovsky | cr2, yup, b/ls are different |
19:38.57 | goxboxlive | ok, i have a initramfs ready if you want to try it. It is without cpufreq |
19:39.06 | psokolovsky | only in signatures, not resume sequence it seems though ;-) |
19:39.33 | cr2 | psokolovsky: ok. |
19:40.03 | psokolovsky | was committed by Matt to 2.6.15 branch. I assume he udpates to 2.6.18 and commit to trunk |
19:40.10 | psokolovsky | that's all about hx4700, of course |
19:40.15 | cr2 | goxboxlive: does it work for you ? |
19:40.30 | goxboxlive | i dont know how do boot it |
19:40.41 | cr2 | psokolovsky: what should we do with the sound ? |
19:40.46 | goxboxlive | how shall the default.txt look like |
19:40.56 | psokolovsky | cr2, get response from Giorgio? |
19:40.58 | cr2 | goxboxlive: the same as before. |
19:41.14 | psokolovsky | in the meantime try pre-last refactor revision? |
19:41.16 | goxboxlive | what about the initramfs.cpio? |
19:41.29 | cr2 | psokolovsky: not for my last e-mail about cleaning the mess ;) |
19:41.56 | cr2 | goxboxlive: initramfs.cpio is linked into the zimage |
19:42.03 | psokolovsky | cr2, he killed few files today in CVS |
19:42.14 | goxboxlive | ok, so i dont need it then |
19:42.26 | cr2 | psokolovsky: i've missed that. |
19:42.36 | goxboxlive | i only need zimage, and opieright? |
19:42.42 | psokolovsky | Modified Files: |
19:42.42 | psokolovsky | <PROTECTED> |
19:42.42 | psokolovsky | Removed Files: |
19:42.43 | psokolovsky | <PROTECTED> |
19:42.44 | psokolovsky | Log Message: |
19:42.46 | psokolovsky | Drop very obsolete files. |
19:42.46 | cr2 | goxboxlive: yes. |
19:42.56 | cr2 | ok. |
19:43.07 | psokolovsky | Update of /cvs/linux/kernel26/sound/arm |
19:43.16 | *** join/#htc-linux pleemans (n=peter@d51A5E421.access.telenet.be) |
19:44.07 | cr2 | hmm. pxa-i2s.c is used in the makefile only by h50000 |
19:44.19 | cr2 | obj-$(CONFIG_SND_H5XXX_AK4535) += snd-h5xxx-ak4535.o snd-pxa-i2s.o |
19:44.45 | cr2 | why do we have hx4700 and universal ifdefs there ? |
19:45.21 | cr2 | the universal ifdef can be dropped anyway, because i have moved the gpio setup into htcuniversal_audio.c |
19:45.45 | goxboxlive | cr2: in default txt i have to set root. What shall it be set to? |
19:45.47 | goxboxlive | set CMDLINE "root=/dev/mmcblk0p3 console=tty0 mem=64M fbcon=rotate:1" |
19:49.52 | cr2 | hmm. good question. try /dev/ram0 |
19:50.09 | goxboxlive | ok |
19:50.31 | cr2 | if you have busybox there. |
19:51.25 | goxboxlive | kernel panic |
19:51.45 | goxboxlive | i am trying the initramfs to kev-2 |
19:52.01 | goxboxlive | unable to mount roor fs on unknown block |
19:52.02 | cr2 | at what stage ? |
19:52.14 | cr2 | well, then try root=/dev/mmcblk0p3 |
19:52.50 | goxboxlive | no, i cant do that, i have opie installed on that partition |
19:54.06 | *** join/#htc-linux lkcl (n=lkcl@host81-157-198-228.range81-157.btcentralplus.com) |
19:54.07 | goxboxlive | i'll try some other think. I need ramdisk support i my kernel, maybe i have forgot it |
19:56.31 | lkcl | are you using 2.6.18-hh0, goboxlive? |
19:56.58 | lkcl | cos i get the usual 'can't find root filesystem' now with 2.6.18-hh0 |
19:57.50 | cr2 | lkcl: on asic3 ? |
19:58.29 | lkcl | well i did a cvs update last night and, without changing anything else, i now have to use nfs to mount the root partition |
19:58.36 | lkcl | i've yet to try asic3_mmc |
19:58.40 | lkcl | no with an initrd |
19:58.50 | goxboxlive | yes |
19:59.02 | lkcl | sorry finally understood what you were asking. with an initrd. doesn't work. |
19:59.03 | psokolovsky | works for me. use haret-bigkernel ;-) |
19:59.20 | lkcl | joy! |
20:00.55 | psokolovsky | lkcl, read again: try bigkernel patch to haret |
20:01.05 | cr2 | lkcl: can you confirm that your (phone) btuart is at 921600 ? |
20:01.09 | lkcl | oh right oh i understand. |
20:01.16 | lkcl | it should be on the research page.... 1sec... |
20:01.27 | cr2 | dump pxa27xserial |
20:01.36 | cr2 | while the phone is operational. |
20:01.43 | lkcl | <PROTECTED> |
20:01.43 | lkcl | <PROTECTED> |
20:01.43 | lkcl | <PROTECTED> |
20:01.45 | lkcl | oh right ok. |
20:01.50 | lkcl | 1sec... |
20:02.12 | cr2 | i'd also like to know if your usb host is used. |
20:02.20 | cr2 | when gps is running. |
20:02.42 | cr2 | last question :) can you test gprs ? |
20:03.15 | lkcl | err... not exactly... well, maybe. it's a PAYG simcard |
20:03.18 | goxboxlive | cr2: My kernel is 3.2MB, it seems like Haret is freezing. Will haret-big kernel work with universal? |
20:03.58 | cr2 | strange. |
20:04.22 | cr2 | big is only about initrd placement. |
20:04.48 | lkcl | <PROTECTED> |
20:04.48 | lkcl | <PROTECTED> |
20:04.48 | lkcl | <PROTECTED> |
20:04.48 | lkcl | <PROTECTED> |
20:04.48 | lkcl | <PROTECTED> |
20:04.50 | lkcl | <PROTECTED> |
20:04.52 | lkcl | <PROTECTED> |
20:04.54 | lkcl | <PROTECTED> |
20:04.56 | lkcl | <PROTECTED> |
20:04.58 | lkcl | <PROTECTED> |
20:05.00 | lkcl | <PROTECTED> |
20:05.02 | psokolovsky | goxboxlive, that's with initramfs or what? |
20:05.29 | cr2 | lkcl: your IR/serial is off and BT is off. |
20:05.48 | lkcl | is it? oooo |
20:05.53 | goxboxlive | psokolovsky: yes |
20:06.01 | lkcl | ok. let's try making a call then |
20:06.17 | cr2 | lkcl: dump pxa27xusb |
20:06.42 | psokolovsky | phew, what a relief |
20:07.22 | psokolovsky | but I never heard anyone used initramfs with haret at all. cr2, was it tried at all? |
20:07.43 | goxboxlive | yes kebin2 has done it with the apache |
20:08.04 | psokolovsky | ok |
20:08.09 | lkcl | hmmmm running pxa27xserial dump while trying to make a call just crashed wince :) |
20:08.11 | lkcl | hurrah! |
20:08.25 | cr2 | why should it be different from usual zimage ? |
20:09.04 | cr2 | lkcl: can you do the same on BTUART http://www.handhelds.org/moin/moin.cgi/ApachePhoneTrace |
20:09.15 | lkcl | what, crash wince? |
20:09.23 | cr2 | without posting your pin & so on :) |
20:09.27 | cr2 | no. |
20:09.50 | cr2 | btw, you can enable wince AT command logging. |
20:10.16 | cr2 | but it's better to use http://www.handhelds.org/moin/moin.cgi/ApachePhoneTrace |
20:10.29 | cr2 | because it is a raw wire log. |
20:10.46 | cr2 | you'll see if the ctrl-v ctrl-c is used :) |
20:10.52 | psokolovsky | cr2, I have no idea if iniramfs has special reqs. good to know it doesn't |
20:10.55 | cr2 | wince log strips them. |
20:11.25 | cr2 | psokolovsky: it works on apache. |
20:11.32 | psokolovsky | ok |
20:12.12 | lkcl | joy! |
20:13.22 | cr2 | lkcl: replace "set trace 0xae100000" by "set trace 0xae200000" |
20:13.29 | lkcl | ack |
20:14.30 | lkcl | oops accidentally booted into linux |
20:15.01 | *** join/#htc-linux iggy (n=iggy@12.45.184.235) |
20:17.07 | *** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com) |
20:21.41 | lkcl | yep it's definitely BTUART. |
20:22.01 | lkcl | pin? what pin? |
20:22.13 | cr2 | lkcl: can you decode the data ? |
20:22.23 | lkcl | sure |
20:22.41 | cr2 | there is a python script in the CVS. |
20:23.18 | lkcl | ack |
20:26.02 | psokolovsky | lkcl, btw, did you dosome work on asic3_mmc regarding adding that WP handler? |
20:26.23 | lkcl | psoko: naah. local patch for now. |
20:27.07 | psokolovsky | lkcl, ok. might hack on it soon, will look into that too |
20:27.07 | lkcl | i have something 'that works' and am flitting from topic-to-topic like a butterfly, working up to biig things like WP |
20:27.25 | lkcl | ok what's this stupid program supposed to do??? |
20:27.45 | cr2 | lkcl: which one ? |
20:27.49 | lkcl | the scanserial one |
20:28.12 | cr2 | you save the output of 'wi' |
20:28.16 | lkcl | cos it ain't doin much |
20:28.32 | cr2 | this script extract the at commands from it. |
20:28.41 | cr2 | or better, port traffic. |
20:29.05 | goxboxlive | Well a kernel at size 2.2MB is working with Haret, but failes when it shall mount root |
20:29.08 | lkcl | not really it don't |
20:30.05 | cr2 | lkcl: worked for me on universal for the phone. |
20:30.16 | cr2 | also for logging the BT init stuff. |
20:34.43 | cr2 | <PROTECTED> |
20:34.43 | cr2 | <PROTECTED> |
20:34.55 | cr2 | <PROTECTED> |
20:35.05 | cr2 | only three modules. |
20:35.31 | goxboxlive | no, it wouldnt boot |
20:35.49 | goxboxlive | it needs correct boot option |
20:36.02 | goxboxlive | ram0 is uknown |
20:36.28 | goxboxlive | i used this default.txt |
20:36.55 | goxboxlive | set "root=/dev/ram0 init=/linuxrc ramdisk_size=14336 keepinitrd console=tty0 mem=64M fbcon=rotate:1" |
20:37.38 | lkcl | wrote something of my own |
20:37.39 | cr2 | pxa-i2s.c is not used. |
20:37.39 | cr2 | i'll remove the universal ifdefs from it. |
20:38.09 | cr2 | psokolovsky: check the hx4700 ifdefs. the amount of crap in CVS should be reduced ;-) |
20:38.43 | cr2 | goxboxlive: ramdisk support compiled in ? |
20:38.55 | psokolovsky | cr2, yes, working on that. if you notice something, post to k-d. I won't keep all in mind ;-) |
20:39.46 | goxboxlive | yes ramdisk support is compiled in |
20:43.59 | lkcl | o fuk this not a good sign |
20:44.10 | lkcl | READ: |
20:44.10 | lkcl | 02 07 00 81 82 01 01 00 85 e6 02 12 00 81 00 2b ...............+ |
20:44.10 | lkcl | 43 52 49 4e 47 3a 20 56 4f 49 43 45 0d 4b 5b 02 CRING: VOICE.K[. |
20:44.10 | lkcl | 07 00 01 82 01 01 00 d0 6c 02 07 00 82 82 01 01 ........l....... |
20:44.10 | lkcl | 00 49 fb 02 12 00 82 00 2b 43 52 49 4e 47 3a 20 .I......+CRING: |
20:44.11 | lkcl | 56 4f 49 43 45 0d 6a c1 02 0e 00 81 00 2b 43 50 VOICE.j......+CP |
20:44.13 | lkcl | 41 53 3a 20 33 0d 0a AS: 3.. |
20:44.15 | lkcl | READ: |
20:45.34 | cr2 | :D |
20:45.40 | lkcl | yeh - read :) |
20:45.44 | lkcl | that was me |
20:45.56 | *** join/#htc-linux JTRipper86 (n=jtripper@p54B1CFDB.dip.t-dialin.net) |
20:46.09 | cr2 | do you see AT*FOOBAR commands ? |
20:46.38 | lkcl | nope! |
20:47.32 | lkcl | oh. wait a mo... there's a special mode on some modems which uses codes not AT, isn't there? |
20:47.35 | cr2 | ctrl-v ctrl-c ? |
20:47.53 | cr2 | your rilgsm has some AT* commands. |
20:48.32 | cr2 | AT*STKD=1 |
20:49.09 | cr2 | AT*VCXOSTATUS |
20:49.17 | cr2 | AT*GSM? |
20:49.27 | cr2 | AT*AMR? |
20:49.35 | cr2 | AT*GPRS? |
20:49.46 | cr2 | AT*EIAAUW=1,1,"","", |
20:50.00 | *** join/#htc-linux BabelOued (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
20:50.03 | cr2 | AT*AD=%u |
20:50.18 | cr2 | AT*Version |
20:50.24 | cr2 | AT*AUMOD=0 |
20:50.43 | cr2 | AT*COPSACT=1 |
20:51.08 | *** join/#htc-linux scatterp (n=deminish@212.32.67.3) |
20:51.14 | cr2 | AT*TIME="%u-%u:%u:%u" |
20:51.58 | lkcl | oops yes there are AT commands i found them it was a bug in my scanser.py |
20:53.55 | lkcl | ok it's more complex than just ctrl-v ctrl-c |
20:55.03 | cr2 | ? |
20:55.19 | cr2 | so there is mux ? |
20:59.16 | lkcl | looks like it. |
20:59.33 | lkcl | ok i debugged scanser.py enough to make the output readable |
21:00.29 | lkcl | http://hands.com/~lkcl/hp6915/btuart.trace.decoded.txt |
21:06.49 | goxboxlive | cr2: even though we one day figute out how to mount rootfs using a initramfs i cant see the advatage of it. Why do you want it cr2? |
21:08.07 | goxboxlive | I know how i can get it to work, i can just mount it on my SD card, but i dont se the advatage of it. |
21:08.36 | goxboxlive | I guess i can make a initramfs image with opie included, but why do we want it? |
21:09.03 | goxboxlive | I'll try now and mount it on my sd card |
21:12.39 | goxboxlive | Hmm it wouldnt even mount on the sd card |
21:13.01 | scatterp | goxboxlive did you just make a ramdisk 2.6.17 ? |
21:13.20 | goxboxlive | no, a ramdisk 2.6.18 |
21:13.20 | psokolovsky | goxboxlive, that would be usefull to provide "live ramdisks" for people to try Linux on their stuff ;-) ready for evangelizing yet? ;-) |
21:13.55 | scatterp | goxboxlive could i get a copy if its universal compatable then i can use that to set up my partitions |
21:14.32 | *** join/#htc-linux pwr (n=pwr@86.121.147.90) |
21:15.08 | goxboxlive | psokolovsky: yes it will, there are a lot of people that dont have a linux computer todat, and with a ramdisk they will be able to create a ext3 partition. I know, they also van do that with inird,but it is easier to setup a initramfs |
21:15.29 | goxboxlive | scatterp: It woulndt mount rootfs |
21:15.44 | scatterp | oh :( |
21:15.49 | goxboxlive | use the ramdisk .12 kernel and create the partition with it. |
21:16.09 | scatterp | doesnt work for me remember |
21:16.39 | psokolovsky | goxboxlive, I mean, with gpe/opie in initramfs, they would need to just put 3 files somehere (haret, startup.txt, zImage/initram) and boot it. ;-) |
21:17.01 | psokolovsky | not that useful for development, as I argued earlier |
21:18.18 | psokolovsky | well, apparently, h3900 hw is less reliable than anything else I saw. at least, device I have |
21:19.46 | cr2 | psokolovsky: startup.txt is not necessary and zimage will be linked to haret. |
21:20.03 | cr2 | so there will be 1 wince.exe file. |
21:20.04 | psokolovsky | cr2, wow ;-) |
21:20.10 | psokolovsky | cool |
21:20.31 | psokolovsky | if it also would backup wince's ram ;-) |
21:21.06 | cr2 | you click in .exe, and it will reflash your device with linux , format your sd card etc. |
21:21.18 | cr2 | we can even sign it. |
21:22.24 | cr2 | if you know the structure of the objectstore. |
21:22.27 | psokolovsky | cr2, need to backup RAM ;-) |
21:22.31 | goxboxlive | cr2: But if you want to install applications later will that be an option? Or do yo have to add packages to initramfs and recompile the kernel again |
21:22.37 | cr2 | but it's not enough. |
21:22.51 | psokolovsky | cr2, yep, I digged in obstore structure. ;-) but left it half-way ;-( |
21:23.09 | cr2 | we know where it starts and how big it is. |
21:23.26 | cr2 | but there is wince page table and so on. |
21:24.04 | psokolovsky | cr2, yep, I digged up to page tables too |
21:24.16 | psokolovsky | cr2, I was 1 step away from dumping it to file |
21:24.32 | psokolovsky | cr2, but - I have little idea about restoring it ;-) |
21:24.54 | cr2 | me too ;) |
21:25.07 | psokolovsky | ;-) |
21:25.26 | psokolovsky | need to know what kind of internal references it uses |
21:25.43 | psokolovsky | are those memory pointers or more inderect means |
21:26.02 | cr2 | probably not worth the pain. |
21:26.55 | psokolovsky | yep, if someone else would do that... ;-)) |
21:35.43 | goxboxlive | it is strange: Ramdisk is initilaze |
21:36.39 | goxboxlive | I guess it is called something else in .18 kernel. It's not ram0 or mtdblock0 thats for sure |
21:38.18 | psokolovsky | goxboxlive, you're trying to make initramfs work, right? |
21:38.28 | goxboxlive | yes it has compiled |
21:38.33 | goxboxlive | it is booting |
21:38.46 | goxboxlive | but it wouldnt mount rootfs at /dev/ram0 |
21:39.06 | goxboxlive | and either on /dev/mmcblk0pX |
21:39.18 | psokolovsky | goxboxlive, did you read kernel docs on it? they should describe how to access it |
21:39.41 | psokolovsky | i bet, kernel just automagically mounts it as root and executes sth on it |
21:40.40 | goxboxlive | hmm let me try |
21:43.08 | goxboxlive | but shouldnt it be like a initrd. |
21:44.16 | psokolovsky | not exactly. they want it to be "better" |
21:44.22 | psokolovsky | so, get it ;-) |
21:48.33 | *** join/#htc-linux WizMaui (n=WizMaui@62.112.90.179) |
21:48.51 | goxboxlive | get what? :-/ |
21:56.26 | *** join/#htc-linux asylumed (n=insanity@196.211.28.91) |
22:03.19 | psokolovsky | goxboxlive, idea how to use it ;-) |
22:07.15 | goxboxlive | psokolovsky: Of course i will try to figure it out. I probably flush google with the serach words " initramfs default.tx". |
22:08.08 | *** join/#htc-linux BabelOued (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
22:08.52 | psokolovsky | goxboxlive, read in-kernel doc first ;-) |
22:16.08 | cr2 | AT+CIND=?\r |
22:16.21 | cr2 | n+CIND: ("service",(0,1)),("call",(0,1)),("callsetup",(0-3))\r |
22:16.51 | cr2 | AT+CIND?\r |
22:17.03 | cr2 | +CIND: 1,0,3 |
22:17.31 | cr2 | AT+CMER=3, 0, 0, 1\r |
22:17.46 | cr2 | <PROTECTED> |
22:17.56 | cr2 | <PROTECTED> |
22:18.12 | cr2 | <PROTECTED> |
22:18.34 | cr2 | AT+CLIP=1 |
22:18.52 | cr2 | <PROTECTED> |
22:19.57 | goxboxlive | What is this? At commands in the rilgsm? |
22:19.57 | cr2 | but it's overlayed with a lot of binry stings. |
22:19.57 | cr2 | bt headset trace log |
22:20.34 | cr2 | i have seen in some alpine rom the phone bts files. |
22:20.40 | cr2 | now it is all gone. |
22:20.54 | cr2 | need to look for them. |
22:21.41 | cr2 | <PROTECTED> |
22:22.13 | cr2 | +CIEV B BT: indicator status |
22:23.28 | cr2 | so these AT commands are sent over bluetooth to/from the headset. |
22:24.02 | cr2 | here is something related: http://forum.openwrt.org/viewtopic.php?id=2187 |
22:24.37 | cr2 | [HS] AutoBlue > AT+CIND=? |
22:24.41 | cr2 | <PROTECTED> |
22:24.45 | cr2 | <PROTECTED> |
22:24.46 | cr2 | <PROTECTED> |
22:24.46 | cr2 | <PROTECTED> |
22:24.46 | cr2 | <PROTECTED> |
22:24.46 | cr2 | <PROTECTED> |
22:24.46 | cr2 | <PROTECTED> |
22:27.55 | *** join/#htc-linux FossiFoo (n=Fossi@e176118147.adsl.alicedsl.de) |
22:28.59 | cr2 | lkcl: you are the asterix expert here :) what do you think ? |
22:30.43 | cr2 | https://www.comnets.uni-bremen.de/~mab/openwrt/asteriskconf/chan_bluetooth.mod.c |
22:30.58 | cr2 | this code i have already seen somewhere. |
22:32.52 | cr2 | something for wiki |
22:32.55 | cr2 | http://crazygreek.co.uk/content/chan_bluetooth |
22:33.49 | goxboxlive | Right now (20/11/05), unmaintained |
22:36.11 | cr2 | the code reminds gomunicator |
22:57.47 | lkcl | asterisk is shit. absolute xxxxing nightmare. |
22:58.35 | lkcl | the syntax is _so_ obscure it takes someone with an IQ of 150+ at least three weeks to learn how to configure and nstall it |
22:58.45 | cr2 | :) |
22:59.22 | cr2 | lkcl: i'm talking about this chan_bluetooth code. still better than nothing. |
22:59.27 | lkcl | the extensions config file is basically a half-arsed regular-expression programming language |
22:59.30 | lkcl | oh. right :) |
22:59.42 | lkcl | great idea! |
23:00.17 | cr2 | ../haret/haret-gnu/haretconsole/scanserial.py |
23:00.17 | lkcl | yeh, really good idea. such a pity it's dumped into a really dire program. |
23:00.31 | cr2 | parses the bt and ff data ok. |
23:01.03 | cr2 | we have some code for TI *.bts files. |
23:01.15 | cr2 | read: '\x04\x0e\x05\x01\x19\x0c\x00\x03' |
23:01.23 | cr2 | '\x01\x18\x0c\x02\x00\x00' |
23:01.34 | cr2 | read: '\x04\x0e\x04\x01\x18\x0c\x12' |
23:01.41 | cr2 | '\x01\x05\x04\r' |
23:01.41 | lamikr | lkcl: I bought last year fosdem a book from asterix. I just have not read it... but the bt code looked interesting |
23:02.18 | cr2 | i think 0x04 at the beginning is 'read' and '0x01' is 'write' |
23:02.31 | cr2 | the command classes are also known. |
23:02.40 | lamikr | cr2: gpe-bluetooth 0.54 has patch for using TI's bts file during the hciattach command if one is available. |
23:03.02 | cr2 | lamikr: i have written a stadalone parser of it, but now it's lost. |
23:03.10 | cr2 | need to recreate it. |
23:03.32 | cr2 | it's gpe-bluettoh, but hciattach |
23:03.44 | cr2 | not gpe-bluetooth. |
23:03.53 | cr2 | has nothing to do with gpe. |
23:04.41 | cr2 | ok. |
23:04.43 | cr2 | ./packages/gpe-bluetooth/files/hciattach-bts.patch |
23:04.56 | cr2 | ./packages/bluez/files/hciattach-ti-bts.patch |
23:04.57 | lamikr | cr2: I know it is related to hciattach command. But I think gpe-bluetooth makes the hci-attach command automatically. And with 0.54 version it adds the bts script load |
23:05.05 | cr2 | ./packages/bluez/bluez-utils/hciattach-ti-bts.patch |
23:05.10 | cr2 | cloned ;) |
23:06.01 | cr2 | well, it's like tslib. |
23:06.11 | cr2 | people can't live without a gui. |
23:06.16 | lamikr | I am preparing big patch for updating dbus to 0.94 (or 1.0 that was released on yesterday) in familiar. And while doing that, I also added the gpe-bluetooth 0.54 to my familiar test build. |
23:07.21 | cr2 | ok. |
23:07.37 | cr2 | i wonder if tslib still depends on x11 and gtk2. |
23:08.42 | lamikr | cr2: If ui tool is good, I prefer to use that. But it would be nice if every tool should show the commands they are really doing in somekind of status area. Or if one could turn on the log from the commands executed... Maybe we should do that for gomunicator... |
23:09.00 | lamikr | cr2: So what kind of parser you have done for the bts files? |
23:09.37 | cr2 | *.bts to ascii |
23:09.52 | cr2 | HTC also uses ascii in the latest phones. |
23:10.00 | cr2 | replacing codes with |
23:10.03 | cr2 | ACTION_SEND_COMMAND |
23:10.12 | cr2 | ACTION_WAIT_EVENT |
23:10.26 | cr2 | ACTION_DELAY |
23:10.43 | cr2 | so it' more readable |
23:11.09 | cr2 | then there are some comments in the *.bts file before these binary sentences. |
23:11.51 | cr2 | so it's possible to correlate the comments with the commands/responces. |
23:12.24 | cr2 | +#define ACTION_SEND_COMMAND 1 /* Send out raw data (as is) */ |
23:12.25 | cr2 | +#define ACTION_WAIT_EVENT 2 /* Wait for data */ |
23:12.25 | cr2 | +#define ACTION_SERIAL_PORT_PARAMETERS 3 |
23:12.25 | cr2 | +#define ACTION_DELAY 4 |
23:12.25 | cr2 | +#define ACTION_RUN_SCRIPT 5 |
23:12.25 | cr2 | +#define ACTION_REMARKS 6 |
23:22.44 | lamikr | ok, so you made a parser which reads the bts file to text file and vice versa? |
23:26.08 | cr2 | reads the bts and writes decoded text out. |
23:26.38 | cr2 | \x01\x05\x04\r |
23:26.53 | cr2 | is SEND_COMMAND 0x05 0x04 |
23:27.11 | cr2 | <PROTECTED> |
23:27.24 | cr2 | DELAY ... |
23:27.35 | cr2 | the command structure for delay |
23:28.07 | lkcl | B12 going mad when the gps is active |
23:28.07 | cr2 | +typedef struct tagCActionDelay |
23:28.07 | cr2 | +{ |
23:28.08 | cr2 | + unsigned long msec; /* in milliseconds */ |
23:28.08 | cr2 | +} action_delay_t; |
23:28.39 | cr2 | long is 4 bytes |
23:28.58 | cr2 | lkcl: B12 ? |
23:29.10 | cr2 | is it ALT or normal gpio |
23:29.13 | lkcl | yeh. asic3 B12. |
23:29.41 | lkcl | B12 I 1 0 0 1 LO FE |
23:29.44 | lkcl | it's an input |
23:30.01 | lkcl | cool. i got a gps lock through my kitchen window :) |
23:30.20 | cr2 | :) |
23:30.28 | cr2 | btw, what about buttons ? |
23:30.56 | cr2 | camera/record/etc. |
23:31.01 | cr2 | are they on asic3 ? |
23:31.37 | cr2 | gpioc0-3 are ALT and leds ? |
23:32.07 | lkcl | dunno yet. we did do some messing about, remember, and it's somewhere in ... oct 20th or so irc logs |
23:32.29 | cr2 | i'll look. |
23:34.32 | cr2 | lkcl: not found. |
23:35.37 | lkcl | oh dear. |
23:37.01 | lkcl | i'm gonna have to capture phone start-up, too. |
23:41.15 | cr2 | i'll edit sableasic3 |
23:59.06 | cr2 | lkcl: done |