00:01.43 | *** join/#htc-linux PITABoy_work (i=c06843de@gateway/web/cgi-irc/ircatwork.com/x-426f12f02d81f5c4) |
00:02.39 | Kevin2 | cr2: My notes have it as GPB1. |
00:04.47 | cr2 | ok, athena has it on the CPLD, so i had a problem with it. |
00:05.09 | cr2 | sent the ATIDBG patch |
00:06.56 | cr2 | Kevin2: btw, you are overriding the pxa27x irq names with pxa26x names in regs_pxa.py |
00:08.03 | cr2 | it's also interesting to have a per-machine .py decoder loaded, to avoid regs_cpu.py patching. |
00:09.12 | Kevin2 | I'm not sure what you mean by overriding. |
00:10.37 | cr2 | my limited knowledge of python says you load the array irqs1 twice. |
00:10.42 | Kevin2 | You can specify per machine definitions. Did you want a separate .py file for each machine? |
00:10.51 | cr2 | therefore i see the HWUART messages on pxa27x |
00:11.09 | cr2 | yes, i think it's a good idea. |
00:11.46 | *** join/#htc-linux gw280 (n=george@vm.gwright.org.uk) [NETSPLIT VICTIM] |
00:11.49 | Kevin2 | It looks okay to me. I'll test on my apache. |
00:12.29 | *** join/#htc-linux toi (n=pleemans@d5152D3B4.access.telenet.be) |
00:17.18 | Kevin2 | cr2: It works for me - I see bit 7 as "OS Timer" not "HW uart". |
00:19.27 | cr2 | strange. |
00:23.12 | cr2 | ok. |
00:23.19 | cr2 | i have 4 files for the ati SD. |
00:23.31 | cr2 | drivers/mmc/atiw_mmc.h |
00:23.33 | cr2 | drivers/mmc/atiw_mmc.c |
00:23.46 | cr2 | drivers/mfd/w228x_base.c |
00:24.01 | cr2 | and |
00:24.03 | cr2 | include/linux/mfd/w228x_base.h |
00:24.41 | Kevin2 | cr2: Athena is defined as a PXA (not pxa27x) in machlist.txt |
00:25.32 | cr2 | they need some cleanups, and later the w228x-fb can be added. maybe w228x-i2s and w228x-vip too |
00:25.43 | cr2 | ok, then this is the problem ;) |
00:25.54 | cr2 | did you get the haret@ patch ? |
00:27.17 | Kevin2 | No - slow mailing list. |
00:27.32 | cr2 | i don't see anything in the archives too. |
00:38.19 | cr2 | ok, it's in the archive |
00:38.50 | Kevin2 | I have it now too. |
00:41.29 | cr2 | ok, good night. |
00:44.21 | Kevin2 | Okay - I checked it in - good night. |
01:01.53 | *** join/#htc-linux TimRiker (n=timr@rikers.org) |
02:48.47 | *** join/#htc-linux ImCoKeMaN_ (n=me@rrcs-67-78-122-67.sw.biz.rr.com) |
03:36.17 | *** join/#htc-linux Zoolooc_ (n=fredsiba@p5495293F.dip0.t-ipconnect.de) |
04:00.11 | *** join/#htc-linux ellisway (n=ellis@homealone.good1.com) |
04:32.39 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
05:52.22 | *** join/#htc-linux |dion| (n=dion@inhex.net) |
05:54.13 | *** join/#htc-linux sadeness_ (n=LamersIn@nat1.rlan.ru) |
06:23.23 | *** join/#htc-linux PITABoy (i=Windoze@adsl-221-110-242.rmo.bellsouth.net) |
06:24.17 | *** join/#htc-linux pleemans (n=peter@leemanpe.ugent.be) |
06:28.46 | *** join/#htc-linux _law_ (n=law@mail.stiftadmont.at) |
06:39.13 | *** join/#htc-linux liona29 (n=liona29@d033.dhcp212-198-248.noos.fr) |
06:59.52 | *** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com) |
07:25.45 | *** join/#htc-linux kiozen (n=oeichler@p5492A4C2.dip0.t-ipconnect.de) |
07:30.45 | *** join/#htc-linux ImCoKeMaN (n=me@rrcs-67-78-122-67.sw.biz.rr.com) |
08:39.01 | *** join/#htc-linux rob_w|laptop (n=rob_w@ip-90-187-143-112.web.vodafone.de) |
09:04.10 | *** join/#htc-linux rob_w|lappi (n=rob_w@ip-90-187-182-145.web.vodafone.de) |
09:17.27 | *** join/#htc-linux zoolooc (n=lucian@p5495293F.dip0.t-ipconnect.de) |
09:23.33 | *** join/#htc-linux BabelO (n=fcr@81.80.236.75) |
09:44.58 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
10:31.30 | *** join/#htc-linux hlbot (n=adm@iclem.net) |
11:49.32 | *** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-1ffee6acc8c96485) |
12:33.05 | *** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com) |
12:43.39 | *** join/#htc-linux Hymie (n=nHymie@l8r.net) |
13:18.28 | *** join/#htc-linux bd2_ (n=cbou@85.21.88.2) |
13:31.40 | *** join/#htc-linux __law__ (n=law@mail.stiftadmont.at) |
13:47.08 | *** join/#htc-linux GPF (i=GPF@cpe-76-187-41-132.tx.res.rr.com) |
13:53.02 | *** join/#htc-linux bd2 (n=cbou@85.21.88.2) |
14:06.08 | *** join/#htc-linux rob_w|laptop (n=rob_w@ip-90-187-202-18.web.vodafone.de) |
14:32.59 | *** join/#htc-linux rob_w|laptop (n=rob_w@ip-90-186-55-238.web.vodafone.de) |
14:50.48 | *** join/#htc-linux JuNuKN (n=JuNuKN@p549ABC1E.dip0.t-ipconnect.de) |
14:51.07 | *** join/#htc-linux JuNuKN (n=JuNuKN@p549ABC1E.dip0.t-ipconnect.de) |
14:51.36 | JuNuKN | http://www.pcwelt.de/start/mobility_handy_pda/handy/news/99958/index.html?NLC-Newsletter&id=99958 |
14:52.07 | JuNuKN | may be from interest for you guys |
14:52.18 | *** part/#htc-linux JuNuKN (n=JuNuKN@p549ABC1E.dip0.t-ipconnect.de) |
15:10.50 | *** join/#htc-linux rob_w|laptop (n=rob_w@ip-90-186-138-175.web.vodafone.de) |
15:26.20 | *** join/#htc-linux GPFerror (n=gpferror@cpe-76-187-41-132.tx.res.rr.com) |
16:07.30 | *** join/#htc-linux law|home (n=_law_@213.173.86.202) |
16:19.47 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
16:26.25 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
16:32.15 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
17:05.32 | *** join/#htc-linux |dion| (n=dion@inhex.net) |
17:06.53 | *** join/#htc-linux pH5 (n=ph5@e178233155.adsl.alicedsl.de) |
17:09.37 | *** part/#htc-linux zoolooc (n=lucian@p5495293F.dip0.t-ipconnect.de) |
17:12.37 | *** join/#htc-linux bd2 (n=cbou@85.21.88.2) |
17:15.39 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-103-152-149.karneval.cz) |
17:24.25 | *** part/#htc-linux BabelO (n=fcr@81.80.236.75) |
17:44.52 | *** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com) |
17:45.01 | *** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
17:45.17 | *** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com) |
17:57.39 | *** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be) |
18:03.57 | BabelO | hi |
18:04.23 | pH5 | hi BabelO |
18:05.21 | BabelO | swetland: is it difficult to integrate peripherics like modem bt to davilk vm ? or it is just some ini file settings |
18:05.40 | BabelO | hi pH5 , you are playing with cpld these days ? |
18:07.15 | pH5 | BabelO: no, I'm 'playing' with herald SPL asm code to find out how I'm supposed to load code from SD into the bootloader. |
18:08.20 | BabelO | pH5: you directly start from that ! :) don't want to practice wince copy / paste tutorial |
18:09.22 | pH5 | BabelO: I accidentally broke the osrom while playing with the bootloader, and I don't have a windows pc to reflash. So I have no choice, do I? |
18:09.42 | BabelO | pH5: i write slowly the wiki page for artemis, cr2 found lot of interesting things |
18:10.56 | BabelO | pH5: right, i ve used virtualbox to reflash my artemis |
18:14.45 | cr2 | pH5: i've written some code using CPLD, but i crashes somewhere, so the kernel does not boot. |
18:14.59 | *** join/#htc-linux law|home (n=_law_@213.173.86.202) |
18:15.16 | cr2 | i've compared the docg3.c code with the IPL, and can see only 1 minor difference. |
18:15.44 | *** join/#htc-linux kiozen (n=oeichler@rgnb-4db0807b.pool.einsundeins.de) |
18:16.09 | BabelO | hi kiozen |
18:16.13 | BabelO | hi cr2 |
18:16.17 | kiozen | hi all |
18:16.37 | pH5 | hi cr2, kiozen |
18:16.52 | cr2 | the docg3 reads from the "data window" in 4 byte size, but the IPL from the undocumented register 16bit. otherwise the code is 99% the same. |
18:17.11 | cr2 | hi :) |
18:17.56 | cr2 | BabelO: time to include the docg3.c into the BA image. |
18:18.14 | BabelO | cr2: yes yes i want to try ;) |
18:18.24 | cr2 | it's a readonly character device. |
18:18.46 | cr2 | which can read 64MB if i'm not mistaken. |
18:18.48 | BabelO | cr2: yes but i think i can fill g3 from wince ? |
18:19.02 | cr2 | yes. |
18:19.40 | cr2 | but since it's a chardev it's a bit limited. |
18:20.03 | cr2 | BabelO: it's in the typhoon git. |
18:21.39 | pH5 | hm. 448k free space on the main hard drive. |
18:21.47 | pH5 | that's not enough to finish the bitbake run. |
18:21.51 | cr2 | pH5: i still hope, that the newer acx100 uses sdio only for the id/flash/eeprom ops, and the data is mmaped. like it's done with the pcmcia on BA. |
18:21.58 | cr2 | lol |
18:22.50 | cr2 | but then i need to find the location of the mmaped regs :) with pcmcia it was easy. |
18:24.58 | cr2 | hm. athena also does CMD0, CMD5 |
18:25.42 | cr2 | CMD3, CMD7, CMD52. that's ok. |
18:26.13 | cr2 | kiozen: i'd like to make a small patch to the c550 tree to dump the board_id. |
18:26.33 | kiozen | ok, naything I can do for you? |
18:26.46 | cr2 | then you can tell me which id you have. i guess it's 1. |
18:27.03 | cr2 | then i'll look at the LCD power. |
18:27.17 | kiozen | ok |
18:27.20 | kiozen | btw still struggling with the soundcard |
18:27.34 | kiozen | alsa can't find one |
18:27.51 | kiozen | without soundcard, no mixer, no qpe |
18:28.03 | cr2 | hm. |
18:28.05 | kiozen | at least it does not crash anymore :) |
18:28.19 | cr2 | can't you comment out the volume functions ? |
18:28.42 | kiozen | let's see... |
18:29.04 | cr2 | 0x402 and 0xe02 for acx100 sdio. |
18:30.32 | cr2 | pH5: did you move forward with the i2c CPLD access ? |
18:30.47 | cr2 | can it be traced with haret ? |
18:31.34 | pH5 | cr2: I don't have functional wince on the device currently, so: not yet :) |
18:33.26 | pH5 | for some reason the bootloader wdata command happily destroys the wince image on herald, if I try to use it to write values to RAM. |
18:34.34 | cr2 | if you use the wrong addressing... |
18:35.02 | cr2 | wdata will overwrite flash/radio flash/whatever. |
18:40.20 | *** join/#htc-linux Zoolooc (n=fredsiba@p5495293F.dip0.t-ipconnect.de) |
18:40.59 | pH5 | cr2: question is whether it's possible to use right addressing at all. herald's wdata for sure doesn't work like magician's. |
18:41.12 | pH5 | I tried to write to 0x8c |
18:44.42 | pH5 | it doesn't expect any data though. I get "Copying GSM DATA image to SDRAM:00004000" and "Buffer Full!" messages, and I'm back on the Cmd> line |
18:45.23 | cr2 | why was it gsm data ? |
18:46.01 | cr2 | gsm=> { sdidx=>4, sdofs=>0x800E0800, length=>0x0280000, nbfidx=>3, nbfofs=>0x96000000, nbfname=>"GSM", |
18:46.13 | cr2 | sorry. |
18:46.16 | cr2 | <PROTECTED> |
18:47.11 | pH5 | cr2: I'd have to disassemble the wdata codepath completely before I can say anything about that :( |
18:47.18 | cr2 | ok. |
19:12.40 | *** part/#htc-linux rmoravcik (n=rmoravci@ip-89-103-152-149.karneval.cz) |
19:25.40 | *** join/#htc-linux |dion| (n=dion@inhex.net) |
19:32.14 | *** join/#htc-linux Mineque (n=Mineque@195.60.65.50) |
19:42.35 | *** join/#htc-linux _dion_ (n=dion@inhex.net) |
19:44.14 | kiozen | cr2: got qpe to work :) |
19:44.28 | kiozen | any chance to activate the keys, yet |
19:45.41 | kiozen | Babel0: loads of phone stuff in qpe. any chance to get rid of that easily? |
19:56.44 | *** join/#htc-linux PITABoy (i=Windoze@adsl-221-110-242.rmo.bellsouth.net) |
19:56.58 | cr2 | kiozen: for the keys there is some custom keyboard code. the phone is switched off by some variables. |
19:57.12 | cr2 | kiozen: must be in the log somewhere. |
20:06.21 | kiozen | cr2: which log, tried /var/log/messages |
20:13.48 | cr2 | channel log |
20:20.52 | *** join/#htc-linux NCommander (n=mcasadev@rrcs-208-125-78-135.nys.biz.rr.com) |
20:21.13 | NCommander | hi |
20:25.11 | BabelO | kiozen: still here ? |
20:28.58 | NCommander | Has there been any work on putting Xanadux on the Wizard. I know the kernel works, but I haven't seen any work on it |
20:29.59 | kiozen | BabelO: yes |
20:30.15 | kiozen | got keys, but wired key mapping :) |
20:31.12 | BabelO | kiozen: ah ok, so you use htcbutton plugin ? |
20:31.22 | kiozen | guess so |
20:31.41 | BabelO | NCommander: still just some kernel driver, nothing more |
20:32.38 | cr2 | NCommander: it misses the i2c gpio expander support and the touchscreen SPI driver ? |
20:32.45 | NCommander | Hrm |
20:33.04 | NCommander | I'm setting up CeGCC right now as we speak (and a generic ARM cross-compiler if I need it) |
20:33.21 | NCommander | I have some kernel programming experience, but not with Linux specifically |
20:34.47 | cr2 | cegcc is needed only to compile haret |
20:42.55 | BabelO | kiozen: you can start compiling some embedded apps :) |
20:43.21 | kiozen | getting closer, first I want to clean up qtopia |
20:43.32 | kiozen | how do I get rid of the phone stuff? |
20:43.59 | NCommander | cr2: Yeah, but I want to compile haert (and I do some wince development) |
20:44.02 | BabelO | kiozen: you have phone stuff even with -edition platform ? |
20:44.05 | BabelO | hmm |
20:44.29 | kiozen | yes loads of it, never thought using a phone can be such compilcated |
20:44.47 | kiozen | (still does not have a mobile phone) |
20:45.42 | cr2 | NCommander: if you want to compile wince apps, there is some missing header data for aygshell and commctrl. i wanted to send the patches to cegcc but stay busy with linux stuff :) |
20:46.11 | NCommander | I wanted a native compiler, but PocketGCC is dead |
20:46.17 | NCommander | (to compile on my Wizard ^_^ |
20:46.38 | cr2 | kiozen: i have a lot of phones, but seldom use them :) |
20:47.06 | cr2 | NCommander: the compiler is quite good. doesn't let you do sloppy programming like ms compilers ;) |
20:47.14 | kiozen | we have one old nokia for the baby sitter |
20:47.24 | NCommander | I had to "port" code from VS1 to VS6 to GCC |
20:47.34 | NCommander | I had rotting codebases |
20:47.46 | NCommander | Especially ones that were shoddily coded the first time around. |
20:47.47 | kiozen | I hate this boot bug... |
20:48.11 | BabelO | kiozen: add -no-modem -no-voip -no-qtopiamedia |
20:49.11 | kiozen | ok, I'll try later, first want to monitor the keys, hope qDebug works.. |
20:49.48 | NCommander | out of curosity, is it possible to use the phonoe part of the PDA after installing Linux? (with any HTC PDA, not just the Wizard) |
20:49.55 | BabelO | kiozen: yes, i use always qWarning ;) maybe it is still in coment onto plugin |
20:50.22 | kiozen | qDebug() sounds less alarming to me |
20:50.34 | BabelO | lol |
20:50.58 | cr2 | NCommander: on universal it's reasonably good. magician and blueangel work too. |
20:51.28 | NCommander | I'm suprised it works at all |
20:51.36 | kiozen | let's who is first: me and my n560 with moving map or magellan with it's triton series... |
20:51.56 | GPFerror | cr2 i still can't figure out why i can't telnet into my hermes, unless its an issue with windows, don't have linux to try it on |
20:52.21 | kiozen | greate I can see the key codes |
20:52.38 | cr2 | kiozen: magellan is braindead anyway. |
20:52.43 | cr2 | GPFerror: in linux ? |
20:52.58 | GPFerror | i use colinux and it doesn't support usb |
20:52.59 | kiozen | hm, sometimes it seems less than garmin |
20:53.13 | kiozen | power key has no keycode? |
20:53.26 | cr2 | GPFerror: works for me, and i think ATI SD is more important now. |
20:53.36 | cr2 | kiozen: it's on another device |
20:53.45 | BabelO | kiozen: kiozen it is gpio0 usually with keycode 106 or 116, i ll check |
20:53.56 | GPFerror | works from you from windows or just linux? |
20:54.11 | BabelO | kiozen: how do you setup keys on qpe ? |
20:54.21 | cr2 | kiozen: the other keys are on the pxa27x_keyboard, and the gpio0 is on gpio-keys |
20:54.36 | kiozen | both drivers enabled |
20:54.39 | cr2 | kiozen: /dev/input/event* |
20:54.56 | kiozen | a that's waht event0 is for |
20:54.59 | cr2 | BabelO: was it tty0 ? |
20:55.12 | cr2 | BabelO: for muxing all events ? |
20:55.22 | cr2 | GPFerror: i don't use windows ;) |
20:56.18 | kiozen | Babel=: currently monitoring in htcbuthandler.cpp |
20:56.20 | BabelO | kiozen: yes, so you need another one for keyboards, or as cr2 say standard keycode are on tty0 output, you can use kernelkeymap for this |
20:57.14 | BabelO | kiozen: ok i have #define PWR_BUTTON 116 on ba and magician too |
20:57.46 | cr2 | kiozen: don't forget us the owners of the full keyboards :) |
20:58.00 | kiozen | lol |
20:58.01 | BabelO | kiozen: but it seem you miss another kernel key driver maybe gpio driver like cr2 say |
20:58.52 | kiozen | BabelO: no I just have to chain event0 and event1 if I get the syntax of QWS_KEYBOARD right |
20:59.16 | BabelO | kiozen: so you miss one event from kernel |
20:59.40 | kiozen | I haven't chained event0 yet |
21:00.40 | BabelO | kiozen: but one is keys and other is ts, so miss the one for gpio key |
21:01.09 | kiozen | event0 gpio, event1 pxa27x_keyboard, event2 ts |
21:01.21 | kiozen | that is what i guess |
21:01.22 | BabelO | ah ok, i miss that ;) |
21:01.50 | cr2 | kiozen: i always thought that the most clean solution is to run select() on all /dev/input/* devices, if the kernel does not that dirty job properly ;) |
21:02.13 | cr2 | kiozen: this sequence depends on the module load order . |
21:02.24 | BabelO | kiozen: so export QWS_KEYBOARD="htcbuthandler:/dev/input/event0,GPIO:/dev/input/event1,EXT" |
21:02.30 | cr2 | kiozen: and you can connect the bt/usb keyboard/mouse/whatever |
21:03.10 | BabelO | and yes you can autodetect what eventX is with evdev tools |
21:03.15 | kiozen | BabelO: bingo |
21:03.51 | BabelO | maybe we can change this a little to handle all event in a generic way ;) |
21:04.04 | cr2 | ooh. nice sd speed. 25004096 |
21:04.39 | kiozen | hey that's much more fun than stuggling down some stupid microsoft mutex hanling during daytime |
21:05.12 | kiozen | cr2: you already applied that id patch? |
21:05.39 | cr2 | kiozen: i've picked your ID from your gpio dump. |
21:05.46 | kiozen | :) |
21:07.21 | cr2 | hehe. was a typo. 25MHz for sd. |
21:08.27 | kiozen | is there any sane system to apply key code on mobile devices? |
21:09.09 | BabelO | kiozen: yes standard linux way ;) |
21:09.24 | kiozen | http://pastebin.ca/773895 |
21:09.25 | kiozen | :) |
21:09.36 | cr2 | kiozen: include/linux/input.h |
21:09.53 | cr2 | kiozen: include/linux/input_pda.h is a hh.org hack. |
21:10.08 | BabelO | kiozen: so we have same keycode |
21:10.38 | kiozen | not really |
21:11.03 | cr2 | but it seems to be linked to the x11 problems. |
21:11.29 | cr2 | linux/input.h is the standard way. |
21:12.28 | BabelO | kiozen: yes i see you need to check in kernel if mapping with gpio < - > input.h is ok |
21:15.26 | kiozen | ok looks like I have to write my own htcbuthandler to redirect keys, haven't I? |
21:16.01 | BabelO | kiozen: you can use tty0 too, all key press output to tty0 too |
21:16.41 | kiozen | too much noob to understand wjat you want :) |
21:18.18 | BabelO | kiozen: when you press keys in haret you see gpio for each key, if you look in /asm/arch/mach-pxa/looxc550/c550.c, you can see a structure for which map each gpio to a input.h define |
21:18.29 | BabelO | cr2: i m right ? |
21:18.49 | BabelO | i m just surprised that keycode up / down / power are ok but not right / left |
21:19.02 | kiozen | left is ok, kust right |
21:19.03 | BabelO | as we have same on all devices |
21:19.10 | BabelO | ok |
21:19.40 | BabelO | so maybe for wired purpose they change their convention ;) |
21:19.40 | kiozen | so, I have to edit the kernel? |
21:20.04 | kiozen | FSC, they are wired and gave up manufactoring pdas |
21:20.10 | BabelO | kiozen: no then keep it like this |
21:24.35 | cr2 | kiozen: we can change it for n560 later. |
21:25.01 | kiozen | ok, that was what I wanted to ask next |
21:25.24 | kiozen | you make a n560 directory anyway, don't you? |
21:25.52 | cr2 | yes. |
21:25.59 | cr2 | i've already done it locally. |
21:26.31 | kiozen | ok, I will redirect them in htcbuthandler for now |
21:27.27 | kiozen | cr2: is there any other help I can offer to get this kernel into a working state? |
21:27.40 | kiozen | would it help if you got the device on your desk? |
21:27.54 | BabelO | cr2: i see somthing in looxc550_button.c ;)KEY_RIGHT,_KEY_MAIL are not in same order :) |
21:28.18 | BabelO | maybe it come just from this |
21:30.36 | BabelO | kiozen: which button is key mail for you ? |
21:31.40 | kiozen | hm, bottom right .... a house icon with a clock |
21:33.48 | BabelO | ok |
21:34.41 | BabelO | it is just button ;) what about suspend or battery status ? |
21:35.03 | BabelO | ah you also need sw event for headphone :) |
21:35.16 | cr2 | kiozen: i need to fix the CPLD driver first. it's probably just some software bug. |
21:35.50 | kiozen | ok, just in case you need the device tell me... |
21:36.16 | cr2 | ok. |
21:39.04 | BabelO | kiozen: is qtopia fast enought for you ? ;) |
21:40.03 | kiozen | it has to be, I would like to clock the cpu to a minimum and switch off as most components as possible |
21:40.28 | kiozen | only if i have to move the map I want speed up cpu |
21:40.41 | BabelO | kiozen: i ve done some test on BA with cpufreq and dynamic tick |
21:41.08 | BabelO | so i able to move cpu speed from 100 Mhz to full speed |
21:41.27 | kiozen | and? did I do what you whanted? |
21:41.28 | BabelO | and dynamic tick is usefull for idle time |
21:41.52 | kiozen | I will have loads of idle time:) |
21:42.20 | kiozen | the gps will send a position each second. I simply have to record it. |
21:42.35 | kiozen | for that a 8051 would be ok |
21:42.48 | BabelO | yes but no need full cpu speed for that ? |
21:42.50 | BabelO | yes lol |
21:43.18 | kiozen | it's only when the map is viewed by the user |
21:43.27 | kiozen | then you need power. |
21:43.35 | *** join/#htc-linux dcordes (n=dcordes_@f049008173.adsl.alicedsl.de) |
21:43.49 | kiozen | I hope to get 5-8 hours from the battery by that. |
21:44.10 | kiozen | if we gain full control over the hardware |
21:44.20 | cr2 | kiozen: you can change dram refresh too. |
21:44.36 | cr2 | but it's probably done by the kernel. |
21:44.59 | kiozen | I don't think a PDA must look bad compared to a Garmin |
21:45.11 | cr2 | it will. |
21:45.29 | kiozen | why? |
21:45.47 | cr2 | you can't beat 2MB sram and small 8bit LCD |
21:46.02 | BabelO | ah it is this option that save power echo 1 > /sys/devices/system/timer/timer0/dyn_tick |
21:46.11 | kiozen | but I can turn off the screen most time |
21:46.15 | cr2 | with your 64MB ram and 640x480 16bit LCD. |
21:46.49 | kiozen | and did not compare to Garmin's 12-13 hour standup time :) |
21:46.55 | cr2 | well, but you have much more powerful liion battery . |
21:47.06 | cr2 | standby will be ok on the pda too. |
21:48.00 | kiozen | as long as it records the gps track, is that possible |
21:48.05 | kiozen | ? |
21:48.11 | cr2 | yes. |
21:48.20 | cr2 | the only problem is the LCD. |
21:48.34 | cr2 | you have probably the greatest available ;) |
21:48.52 | kiozen | sure, I want to see raster maps :) |
21:49.58 | kiozen | but as long as I do not exagerate "display on" I hope to achive 5-8 hours |
21:50.31 | kiozen | I always wonder if it would be better to use a GPS mouse |
21:50.43 | kiozen | the built in GPS is really bad. |
21:51.06 | BabelO | kiozen: why you say it is really bad ? |
21:51.27 | kiozen | it's sirfIII but the antena is a mess |
21:51.38 | kiozen | hard to get a fix compared to my Garmin |
21:51.45 | BabelO | ok, mine is a sirfIII too |
21:52.02 | BabelO | and i am happy with fix time in the house ;) |
21:52.24 | kiozen | dont't even get a fix close to a window. |
21:52.44 | kiozen | Garmin sees 6-8 satelites with fill strength |
21:52.50 | cr2 | kiozen: your garmin is sirf3 too |
21:52.55 | kiozen | yes |
21:53.08 | kiozen | but seems to have a better antenna |
21:53.11 | cr2 | but with a different antenna and a preamp. |
21:53.18 | BabelO | kiozen: do you have some agps feature on loox ? |
21:53.27 | kiozen | agps? |
21:53.42 | cr2 | really lownoise preamp. because it's built of nice transistors. |
21:53.53 | cr2 | BabelO: agps sux. |
21:54.20 | cr2 | BabelO: it's not a phone. |
21:54.35 | BabelO | cr2: yes agree but there is wifi ;) |
21:54.37 | kiozen | in my young days we enhanced CB radio antennas, maybe I should start again... |
21:54.52 | kiozen | what's agps |
21:55.04 | BabelO | kiozen: assited gps, with ephemerid |
21:55.16 | BabelO | hmm french word ? |
21:55.22 | kiozen | ??? ok I google |
21:55.57 | kiozen | cr2: I even have the impression that FSC did a real poor job in placing the antena |
21:56.25 | kiozen | the reception is hilarious bad, even in the car |
21:57.37 | kiozen | BabelO: no I do not think it has agps, no phone |
21:59.12 | BabelO | kiozen: ok, it is just a little software addon it seem |
21:59.38 | PITABoy | I have a stupid question that might be a little off topic |
21:59.46 | cr2 | BabelO: wifi+gps will kill any battery. |
22:00.07 | PITABoy | I was wondering if it is possible to run symbian applications on windows mobile or if there is a way to port them |
22:01.05 | BabelO | cr2: yes but i am still surprised by artemis battery life with gps on or wifi on, with gps on i can keep up around 4:30 hours without problem |
22:01.26 | BabelO | and mcd on too ;) |
22:01.36 | BabelO | s/mcd/lcd/ |
22:04.07 | cr2 | BabelO: artemis is not pxa270. |
22:04.24 | cr2 | but 200MHz omap850 |
22:05.17 | BabelO | cr2: yes and it is enough power |
22:09.14 | *** join/#htc-linux kiozen_ (n=oeichler@rgnb-4db0807b.pool.einsundeins.de) |
22:10.59 | kiozen_ | cr2: how low can you clock the pxa27? |
22:11.57 | cr2 | don't remember |
22:12.21 | kiozen_ | I have read somthing abaout 200MHz |
22:12.32 | kiozen_ | that's not really low |
22:12.37 | dcordes | cr2, oh the coincidence- I just wanted to ask you something about omap850- what's the prophet status? |
22:13.48 | cr2 | kiozen_: must be in the haret source. |
22:13.52 | BabelO | kiozen in arch/arm/mach-pxa/pxa27x_voltage.c there is an entry about 104Mhz |
22:14.10 | cr2 | dcordes: the same i2c CPLD access problem and the SPI ts driver. |
22:14.35 | BabelO | kiozen_: it is for cpufreq_powersave :) |
22:15.00 | kiozen_ | 104 Mhz is still quite much :) |
22:16.15 | cr2 | it's based on the cp14 CLKCFG settings. |
22:16.49 | BabelO | kiozen_: yes but with dynamic tick timer set also, you can improve a bit more :) |
22:16.59 | dcordes | cr2, no idea what those things are :( |
22:17.02 | cr2 | and the core voltage can be reduced. but i guess it's all supported in the kernel. |
22:17.05 | BabelO | don't know if there is other kernel settings for power |
22:18.51 | *** part/#htc-linux kiozen_ (n=oeichler@rgnb-4db0807b.pool.einsundeins.de) |
22:19.15 | *** join/#htc-linux kiozen (n=oeichler@rgnb-4db0807b.pool.einsundeins.de) |
22:21.38 | kiozen | ok, enought for today, thanks, bbl |
22:22.41 | dcordes | cr2, what does lack of i2c CPLD and SPI ts driver (what ever those are) mean regarding usabilty of prophet? |
22:23.29 | BabelO | dcordes: no touchscreen and mybe some other thing |
22:24.14 | dcordes | how about 802.11g and bluetooth? |
22:24.29 | cr2 | dcordes: bt is on the serial port |
22:24.47 | dcordes | wifi? |
22:25.09 | cr2 | wifi is not yet researched properly. it needs sdio for some init stuff, but that means a .24 kernel. |
22:25.30 | cr2 | you'll lose some power and reset gpios that are on the CPLD. |
22:25.40 | pH5 | herald has at least leds, backlight and front keypad on the CPLD |
22:25.56 | pH5 | I assume wizard will be similar |
22:26.12 | dcordes | I tried to boot wizard kernel on prophet ones. Resulted in kernel panic |
22:27.05 | cr2 | dcordes: can you run haret on prophet and trace the i2c ? |
22:27.22 | pH5 | cr2: the herald wdata doesn't allow phys or virt adresses at all, you can just give it an offset into the temporary buffer (which I think is afterwards written to flash if there is no error condition) |
22:27.49 | pH5 | cr2: from the code I saw I can't have written to the flash at all with the wdata command, so it must have been something else :) |
22:27.58 | dcordes | cr2, not my phone. Schoolmate's one and I don't think he will borrow it. But I could get him come here and run haret. Think he still has it on the phone |
22:28.08 | dcordes | We were also able to telnet from my desktop machine |
22:28.14 | dcordes | when we tried to boot wizard kernel |
22:29.19 | cr2 | pH5: i thought it uses some internal "device" mapping |
22:30.01 | cr2 | dcordes: hm. it may also fail to trace. we could not trace the TS SPI for some reason. |
22:30.36 | dcordes | cr2, I know a differnt guy who could try. I will check back tomorrow so you can give me detailed info on how to trace that |
22:31.39 | pH5 | cr2: nope, just an offset. also, it fails automatically if the start 'address' is 0x0 or anything > 1MiB. I'm not quite through with this :/ |
22:32.43 | dcordes | gnite ppl |
22:32.50 | pH5 | night dcordes |
22:32.51 | dcordes | all hail htc hackers :) |
22:37.54 | BabelO | cr2: always want a MSM device ? |
22:40.13 | PITABoy | Babel0 what do you know about the MSM devices |
22:40.22 | PITABoy | any kernel progress |
22:41.05 | BabelO | PITABoy: don't know, i ve no MSM device just PXA and OMAP and also an old old m68k ;) |
22:41.16 | PITABoy | oh |
22:41.50 | cr2 | BabelO: i'm busy hacking atiw. will certainly take some time ;) |
22:42.28 | cr2 | will do omap only if it overlaps. i.e. acx100 |
22:42.37 | BabelO | cr2: yes maybe all the winter ;) i ve only two weeks to finish my app now after i can play more with omap ;) |
22:43.09 | cr2 | you'll be able to do ts spi, and i2c cpld i guess :) together with pH5. |
22:43.56 | BabelO | cr2: yes i hope we can found spi port |
22:44.17 | pH5 | I'm confident we'll do it. the question is just how much time it will take. things are progressing so slowly, when at all. |
22:45.39 | cr2 | BabelO: it's already found. you just can't trace it for some reason. |
22:45.42 | BabelO | pH5: let me two more week and i switch again to omap tree, maybe we can point all our irq bank again |
22:45.59 | cr2 | BabelO: if you'll grep the logs, all the register info is there. |
22:46.04 | BabelO | cr2: what is adress again ? :) |
22:46.10 | BabelO | ok |
22:46.20 | cr2 | BabelO: in the wiki for omap850 |
22:46.53 | cr2 | 0xfffc1000 |
22:49.35 | cr2 | BabelO: the TS and i2c CPLD is realistic. i'll leave the phone alone. it's better to hack on msm now. |
22:50.23 | cr2 | instead of wasting time on the fscked TI DSP. |
22:53.33 | BabelO | pH5: did you see old patch on omap i post few days ago ? |
22:54.52 | cr2 | BabelO: can you repost it ? i've not seen anything useful there. |
22:55.01 | pH5 | cr2: but vivien had the phone part working already on omap730? |
22:55.06 | cr2 | obviously useful :) |
22:55.22 | pH5 | the eac audio stuff will be a roadbump though. |
22:55.30 | BabelO | pH5: yes already , at command works and it seem we have same on our device |
22:55.33 | cr2 | pH5: yes, but the sound & stuff needs a lot of syren hacking. |
22:55.33 | pH5 | BabelO: no, I have not seen it. |
22:55.54 | cr2 | pH5: imho, it's much more useful to finish magician . |
22:55.56 | pH5 | aye right, I know next to nothing about syren yet. |
22:56.14 | pH5 | cr2: right. |
22:56.15 | BabelO | http://osdir.com/ml/linux.ports.arm.omap/2006-04/txtzyFLIwPnQN.txt |
22:56.47 | BabelO | it is a old patch from swetland for omap board F sample |
22:57.14 | BabelO | i m looking if i have already this patch here |
22:57.39 | pH5 | BabelO: this or most of it should be in linux-omap already |
22:57.49 | cr2 | BabelO: keypad may be useful. |
22:57.50 | pH5 | I recognize the sram_reprogram_clock part |
22:58.41 | cr2 | everything else is just board-specific |
22:58.55 | pH5 | I have keyboard working on herald with the default omap keypad driver. |
22:58.56 | BabelO | yes it is in global omap patch |
22:59.05 | pH5 | Just the front keypad is missing here, because of the i2c cpld |
22:59.06 | BabelO | pH5: me too on artemis |
22:59.13 | BabelO | not all keys |
22:59.22 | cr2 | pH5: ok, then it does not provide any new data. |
23:00.17 | cr2 | BabelO: writing a basic TS spi driver is not a difficult task. |
23:00.41 | BabelO | cr2: yes i know just need to change adress :) |
23:11.59 | cr2 | actually, i'll favor to finish ba/magician. |
23:20.15 | pH5 | cr2: that'll be some bootloader hacking for magician. |
23:21.20 | pH5 | ow, and I seriously need to work on mainline integration. I'm still not over the pxamci issue with 2.6.24. |
23:23.08 | cr2 | pH5: can you fix the pH5test.S for the mmu-off sddiagnostic ramboot ? |
23:23.30 | cr2 | then i'll try to boot ba from sddiag. |
23:26.52 | BabelO | cr2: :) #define DSP_MMU_BASE (0xfefed200) from kernel on OMAP850 offset is +0x10000 |
23:28.45 | BabelO | ok i see it too, there is lot define everywhere |
23:32.55 | pH5 | cr2: yes, please poke me about that when I join next time. I might not find any excuses. |
23:33.01 | pH5 | good night |
23:33.18 | cr2 | good night :) |
23:33.23 | BabelO | good noght |
23:50.49 | BabelO | good night cr2 |