IRC log for #htc-linux on 20080119

00:13.04*** join/#htc-linux dcordes (n=user0815@f048008066.adsl.alicedsl.de)
00:19.05aLeSDcr2 r u here '
00:19.06aLeSD?
00:19.32aLeSDok ... I'm always getting a lost sync from the LCD controller
00:19.57aLeSDnow  hacked the code to set the pcd++ everytime I have 20 reset
00:20.22aLeSDonly to find the one that is the right one : without sync_los interruption
00:20.32aLeSDand I found the there is not
00:21.22aLeSDso I read some stuff and I understand that the sync_lost interrupt is done when
00:21.55*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
00:22.00aLeSDthe controller check the first pixel of the frambuffer and it founds it wrong
00:22.28aLeSDso ... I have the conclusion that I don't have a sync problem
00:22.54aLeSDthe problem is in the ... I don't know where
00:23.59aLeSDand better stuff is that at every pixel_clock I set I have always the same 10 - 20 colored lines in the same place with under the text
00:24.12aLeSDbut the text is correct
00:25.10aLeSDI mean
00:25.12aLeSDhelp
00:25.25aLeSDI'm going crazy
01:05.59LunohoDaLeSD: try out the newer kernel
01:07.39LunohoDaLeSD: git checkout luno-upstream-debug
01:07.50LunohoDaLeSD: git cherry-pick 6b535cd871ec1a34687f4b6efb1e687b48d133b2
01:08.30aLeSDLunohoD: I tried the luno-upstream-debug
01:08.33aLeSDit's the same
01:08.47LunohoDaLeSD :(
01:08.53aLeSDI have problem somewhere outside the omapfb driver
01:08.57aLeSDmaybe the dma
01:09.01aLeSD:°°°°°
01:09.09aLeSDI'm going crazy
01:09.51LunohoDwait
01:10.13LunohoDaLeSD: luno-upstream-debug is not very good
01:10.49LunohoDaLeSD: there is too much stuff from old kernel: clock.c, for example
01:11.31LunohoDaLeSD:  did you try lunohod-upstream branch?
01:13.29aLeSDLunohoD: tell me about clock
01:13.46aLeSDI have something of strange and is not the LCD I think
01:14.35aLeSDLunohoD: what is omap2 ?
01:18.09*** join/#htc-linux LunohoD_ (n=alex@e180066053.adsl.alicedsl.de)
01:21.28LunohoD_aLeSD: i dunno what is omap2
01:59.51*** join/#htc-linux LunohoD (n=alex@e180067086.adsl.alicedsl.de)
02:32.56*** join/#htc-linux l33tlinuxh4x0r (n=c06843dd@gateway/web/cgi-irc/ircatwork.com/x-54bc6fcc693aba45)
02:34.49*** part/#htc-linux l33tlinuxh4x0r (n=c06843dd@gateway/web/cgi-irc/ircatwork.com/x-54bc6fcc693aba45)
03:36.53*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-400faa8668f52e23)
04:11.37*** join/#htc-linux joschkop179 (n=joschi@f050250035.adsl.alicedsl.de)
05:03.23*** join/#htc-linux joschkopf79 (n=joschi@f050250035.adsl.alicedsl.de)
08:05.40*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfd611.pool.einsundeins.de)
08:17.15*** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com)
08:38.05*** join/#htc-linux tsdogs (n=tsdogs@84.18.144.39)
08:48.49goxboxlivehi tsdogs
08:49.00tsdogshi goxboxlive
09:35.01*** join/#htc-linux sadeness (n=viktor@unaffiliated/sadeness)
09:39.37*** join/#htc-linux ymerejt (n=jerry@ip-88.net-89-3-210.rev.numericable.fr)
09:43.51ymerejthi goxboxlive,
09:44.05goxboxlivehi ymerejt
09:44.09goxboxliveany news?
09:44.23ymerejtAlways working on the kernel part
09:44.34goxboxliveWhat are you working on. What kind of kernel part?
09:44.52ymerejtrefactoring at this time
09:45.02ymerejtphone, leds, buttons, keyboards, ...
09:45.12goxboxliveok  good
09:45.24ymerejtadding a power policy solution too
09:45.30goxboxlivegreat
09:46.21goxboxliveymerejt: just so you know, if you are going to take a look at the cam driver, remember that some work allready exist in the openezx source. And for the minicam in some omap sources.
09:49.04ymerejtgoxboxlive, OK, but at this time I'm just working on compo
09:49.13ymerejtnents already almost working
09:49.18goxboxliveright
09:49.19ymerejt;)
09:49.23goxboxlive:-)
10:06.51*** join/#htc-linux rob_w|laptop (n=rob_w@ip-90-186-76-158.web.vodafone.de)
10:16.40*** join/#htc-linux rob_w|lappi (n=rob_w@ip-90-187-56-155.web.vodafone.de)
10:31.06*** join/#htc-linux ltxda (n=ltxda@c-98-196-125-205.hsd1.tx.comcast.net)
10:34.12*** join/#htc-linux ltxda0 (n=ltxda@c-98-196-125-205.hsd1.tx.comcast.net)
10:55.59*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
11:12.09*** join/#htc-linux rob_w|laptop (n=rob_w@ip-90-187-136-210.web.vodafone.de)
11:18.53*** part/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
11:21.40*** join/#htc-linux BabelO (n=Fabrice@2a01:5d8:52ee:1c1c:250:fcff:fe46:5573)
11:24.35ymerejtgoxboxlive, i have merged my htcuniversal branch with the lastest qtopia snapshot
11:24.45ymerejtgoxboxlive, it works but with some bugs
11:25.03ymerejtgoxboxlive, so don't use this qtopia_snapshot ...
11:25.24*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
11:29.45ymerejtgoxboxlive, how to make GPRS works ?
11:30.04ymerejtgoxboxlive, I mean ttyUSB0
11:35.11tsdogsymerejt: what device?
11:35.17ymerejtuniversal
11:35.20tsdogshi btw
11:35.24ymerejthi too
11:35.25ymerejt;)
11:44.41ymerejttsdogs, have ever tried the GPRS under universal/Qtopia
11:44.41ymerejt?
11:45.05tsdogs<PROTECTED>
11:45.12ymerejtok
11:45.25ymerejton hh wiki someone has written that GPRS works
11:45.28tsdogsI was looking at the logs, to see how we tryed to enable it there was some procedure
11:45.43tsdogsyes goxboxlive had it working (also UMTS)
11:45.46ymerejtI think the good device access /dev/usbdev1.63 ...
11:46.06ymerejtbut I gave it to Qtopia without success
11:46.19tsdogsymerejt: it should be ttyUSB0 as u sayd
11:47.12ymerejtmaye
11:47.15ymerejtmaybe it was
11:48.59tsdogsymerejt: I think u need to modprobe something but can't find what it was
11:49.18ymerejtyou're probably right
11:49.54ymerejtI think goxboxlive should know but he is not really available now ...
11:49.56ymerejt;-
11:49.57ymerejt;(
11:52.15tsdogsymerejt: found it I think:   modprobe usbserial vendor=0x05c6 product=0x3197
11:54.38tsdogsbbl
11:55.02ymerejtI have /dev/ttyUSB0 and 1 now
11:59.06ymerejttsdogs, where have you found this vendor and product parameter
12:00.22ymerejtlsusb
12:06.44goxboxliveymerejt: hi
12:06.48ymerejthi
12:07.04ymerejtgoxboxlive, have you ever successfully used GPRS on uni ?
12:07.09goxboxliveymerejt:
12:07.10goxboxliveyes
12:07.16goxboxlivei have had it running
12:07.18ymerejtwith qtopia ?
12:07.27goxboxliveymerejt: no, manually setup
12:07.38ymerejtok could you tell me more ?
12:08.29goxboxlive############## OPEN CU AND DO ####################################################
12:08.29goxboxliveatv1
12:08.29goxboxliveate1
12:08.29goxboxliveat+cfun=1
12:08.29goxboxliveat+cops=0
12:08.29goxboxliveat+cops?
12:08.31goxboxlive#wait until it give some respond, then
12:08.33goxboxliveat@usbpower=1
12:08.35goxboxlive############# THEN GO BACK TO CONSOLE IN ANOTHER VIEW ###########################
12:08.37goxboxlivebash# modprobe usbserial vendor=0x05c6 product=0x3197
12:08.41goxboxlive############# GO BACK TO CU #####################################################
12:08.43goxboxliveat+cgdcont=1,"IP","internet.tele2.no","",0,0 OR at+cgdcont=1,"IP","internet.tele2.no"
12:08.45goxboxliveatdt*99***1#
12:08.47goxboxlive############# GO BACK TO CONSOLE ################################################
12:08.49goxboxlivebash#: pon tele2
12:08.51goxboxliveand then : try ifconfig and look for ppp0
12:08.53goxboxlive################################################################################
12:09.04*** join/#htc-linux Vinz0r (n=djvinz@213.219.157.111.adsl.dyn.edpnet.net)
12:10.40goxboxliveand tele2 looks like: http://pastebin.ca/863270
12:10.53goxboxliveThis is how i did it manually
12:11.34goxboxliveFor me i have to use this one: at+cgdcont=1,"IP","internet.tele2.no","",0,0 and NOT liek this: at+cgdcont=1,"IP","internet.tele2.no"
12:11.37ymerejtand the data stream use ttyUSB0 and the AT dialog ttyS0
12:11.51goxboxliveymerejt: rigth
12:12.02goxboxliveand you get a /dev/pppo
12:12.47ymerejtqtopia does not emit any AT command when I ask it to enable GPRS ...
12:13.14goxboxliveok
12:14.21goxboxlivels
12:16.50ymerejtgoxboxlive, but I think I have to work on the myul
12:16.54ymerejtmultiplexer plugin
12:17.13goxboxliveok
12:20.06ymerejtgoxboxlive, tsdogs, tut-multiplexing.html is very interresting specialy the end ... ;)
12:29.42ymerejtgoxboxlive, I have ttyUSB1 too
12:29.52ymerejtgoxboxlive, what is its goal
12:29.59ymerejtgoxboxlive, have you ever use it ?
12:36.15*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
12:43.45goxboxliveymerejt: yes .But i have only have it working with ttyUSB0. Cr2 know what the other one de
12:43.48goxboxlivebbl
12:44.58*** join/#htc-linux rob_w|laptop (n=rob_w@ip-90-186-32-37.web.vodafone.de)
12:51.01*** join/#htc-linux Marex-notebook (n=marex@gwfm10-3-250.802.cz)
13:14.15*** join/#htc-linux rob_w|lappi (n=rob_w@ip-90-187-59-140.web.vodafone.de)
13:53.02dcordeshi
14:02.00BabelOhi
14:02.34BabelOLunohoD: can you give me your git link again ? is usb fixed in it ?
14:03.25*** join/#htc-linux dcordes_ (n=user0815@f049016077.adsl.alicedsl.de)
14:04.37LunohoDBabelO: http://miknix.homelinux.com/linwizard/linwizard-kernel.git/
14:04.51BabelOLunohoD: thanks
14:05.04LunohoDBabelO: do you know how to work with git?
14:05.07BabelOLunohoD: it is 2.6.23 ? with my patch ?
14:05.25BabelOLunohoD: yes, i know the minimum :)
14:05.38LunohoDBabelO: lunohod-upstream branch is 2.6.23-omap1 with your patch
14:05.55LunohoDBabelO: you need to checkout lunohod-upstream branch
14:06.01BabelOok
14:06.10LunohoDBabelO: then do 'git cherry-pick 6b535cd871ec1a34687f4b6efb1e687b48d133b2'
14:06.21LunohoDit will fix the usb issue
14:06.28BabelOok
14:26.12*** join/#htc-linux ellisway (n=ellis@homealone.good1.com)
14:27.32elliswayhi all
14:29.15*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1debc.pool.einsundeins.de)
14:29.36kiozenhi all
14:38.08*** join/#htc-linux bernt_ (n=bernt@dslb-084-061-229-054.pools.arcor-ip.net)
14:44.08*** join/#htc-linux AlGe (n=alge@chello080109231226.4.uni-klu.teleweb.at)
14:58.55cr2hi kiozen
14:59.23kiozenlol, that was too much for BabelO ;)
14:59.37kiozenhi cr2
15:00.01cr2kiozen: this connector is the usb host.
15:00.26*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
15:00.33cr2kiozen: but it's not as powerful as athena. you need external power even for the usb stick
15:00.34kiozenahhhh :) the squirels have a good chance to have fun
15:00.54kiozenok, bad news for the squirels
15:01.12cr2:)
15:01.53kiozenI am still thinking about this access db file
15:02.02kiozenis there a lib to read it?
15:02.23kiozenand what would be a good db format for mobile devices?
15:03.28cr2kiozen: i think navit source included libmdb
15:03.53kiozenok have to look
15:04.17cr2.dbf is a simple format, but it's fixed length, and it's bad for the strings. at it's not compressed
15:04.37cr2you can use sqlite, i it's uncompressed too
15:04.44kiozenthe *dat is 430MB
15:05.15kiozenjust for bavaria
15:16.32cr2ok.
15:42.29AlGehi,
15:42.29AlGeis there a way to feed some parameters to the initialization of platform devices via kernel cmdline?
15:42.29AlGeif tought about adding module_param() to blueangel.c and using the values in the  struct tsadc_platform_data blueangel_ts_params definition, but blueangel.c is not a module at all, so it will not work.
15:47.47*** join/#htc-linux scorpio16v (n=scorpio1@f049202179.adsl.alicedsl.de)
15:50.34AlGe... I'll add the module_param()s to ts-adc.c so that values given there will override the values in the platform device struct.
16:13.07dcordes_args where is that linux-msms.git SD driveR?!
16:20.57dcordes_I'm having a release party the day they push it
16:21.09*** join/#htc-linux rob_w (n=bob@M849d.m.pppool.de)
16:53.31*** join/#htc-linux hollo (n=hollo@50C5770A.flatrate.dk)
17:10.38*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
17:14.21*** join/#htc-linux CVirus (n=GoD@196.205.193.51)
17:21.29*** join/#htc-linux pH5 (n=ph5@p5485BCBA.dip.t-dialin.net)
17:30.37berntAlGe: you could search in the kernel source how keepinitrd is handelt.
17:31.20bernt./arch/arm26/mm/init.c
17:37.14*** part/#htc-linux scorpio16v (n=scorpio1@f049202179.adsl.alicedsl.de)
17:50.16*** join/#htc-linux tsdogs (n=tsdogs@62.123.180.130)
17:50.18AlGebernt: I'm doing it now via the ts-adc.c file, this makes more sense (then also other platformdrivers could be tested by supplying differnt values)
17:50.47AlGenow i boot with ts-adc.some_param=XYZ in my kernel cmdline
17:51.39goxboxlivecr2: awake?
17:51.45goxboxlivesolver?
17:59.17goxboxlivealive?
18:00.53cr2goxboxlive: yes, but need to buy some food :)
18:02.20*** join/#htc-linux lieter (n=lieter@a62-251-100-248.adsl.xs4all.nl)
18:03.55goxboxlivecr2: Ok, i have made you a new image for htcuniversal now. I will upload it after i have tested it
18:04.40goxboxliveKevin2: how do i increase the image size for the easy install. It's 100MB now, could we increase it to 200MB or so?
18:07.37*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-24ad5b4362c7c543)
18:16.43Kevin2goxboxlive: You can do it on the command line.
18:16.54goxboxliveKevin2: ok
18:17.15goxboxlivei thought it could be good to have it in the rootfs
18:17.56Kevin2goxboxlive: On the kernel command line (in the compiled in haret script) add "installsize=200".
18:18.19goxboxliveKevin2: ok, good to know
18:32.06goxboxlivecr2: upped the new qtopia image now together with the exe file
18:42.39BabelOLunohoD: i m notable to git clone ,take too long time
18:51.45LunohoDBabelO: you can clone mvista and then add miknix server
19:00.10AlGeHi, Babelo
19:00.26*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfdc99.pool.einsundeins.de)
19:00.38dcordes_hi Zoolooc
19:00.58dcordes_do you know where wince stores photos from the camera when you set it to internal memory?
19:01.48Zooloochi dcordes, I don't know right now, I would have to look where :-)
19:02.28dcordes_it's peculiar. I searched with total commander. Can't find them
19:06.44AlGein wm2003 it is \storage ...
19:07.23BabelOyes, My document/My photos
19:07.26BabelOhi AlGe
19:09.56AlGeBabelo: I have now added some module paramters to ts-adc so that I can fiddle some values withou recompiling every time, patch is http://www.algepop.net/users/alge/angstrom-ba/fix-ts-adc.diff
19:10.26BabelOAlGe: ok, need to send you my tsc2200 patch too
19:11.50AlGei'm currently running with cmdline
19:11.50AlGets-adc.debug=0 ts-adc.sample_timeout=80 ts-adc.max_jitter=5 ts-adc.min_pressure=4 ts-adc.pressure_factor=100000
19:11.50AlGeand I can now draw continuous lines more easily, but on screen kbd is still near to unsuable
19:12.23AlGe(main diff to default is 80 ms timeout)
19:12.53BabelOAlGe: ok
19:14.37*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-db6496ef596c3346)
19:25.26*** join/#htc-linux _CoW_ (i=cow@72.20.3.50)
19:25.29_CoW_hi!
19:26.07_CoW_i have a acer 305, and i put hermet+linux files on my sdcard
19:26.13_CoW_i have a "UART timeout" error
19:26.30_CoW_is there any kernel patch?
19:26.51_CoW_(Detected S3C2440, Version 2730)
20:08.38cr2_CoW_: have you looked at hh.org ? if it's not there, can you post the haretlog.txt ?
20:10.00cr2goxboxlive: the link ?
20:17.26berntCan someone give me a hint to solve this error when compiling haret (pre-0.5.2):
20:17.26berntsrc/mach/machines.cpp:109: error: 'wcscmp' was not declared in this scope
20:27.26BabelObernt: yes, use another compiler ;)
20:29.03berntwhy is it not possible with cegcc? -- allways this windows stuff ...
20:29.45BabelObernt: last time i try i have the bad compiler, need to ask goxboxliveor cr2 for which one to use
20:30.40berntYes searching with google gives me: irclog.iclem.net/index.php?chan=htc-linux&month=9&day=21
20:30.55berntbut this page is empty :-(
20:31.38berntand apt.rikers.org shows only the year 2008
20:32.39BabelObernt: http://irclog.iclem.net/index.php?chan=htc-linux&month=9&day=21&year=2007
20:32.51BabelOjust add cpast year to your link ;)
20:33.44berntI've found it ...
20:34.01BabelObernt: so you need arm-wince-mingw32ce-g++
20:34.37berntbut this compiler is for windows or?
20:35.02BabelObernt: no linux, cr2 as only linux host system :)
20:36.22*** join/#htc-linux the_sys0p` (i=the_sys0@gateway/tor/x-6d3de45841001d6f)
20:52.06*** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
20:54.18cr2bernt: you probably have a different version of wince-g++, which have a different dependency between the wince headers.
20:55.41cr2bernt: i don't know which version Kevin2 uses, but once i needed to include stdio.h to compile with my older cegcc.
20:58.09berntOK compiling with mandriva-cegcc-mingw32ce-0.51.0.tar.gz   -> no errors  :-)
20:59.13cr2i'll try too
21:00.01cr2goxboxlive: what's that ?
21:00.05cr2| In file included from osqlitedriver.h:8,
21:00.05cr2|                  from osqlmanager.cpp:3:
21:00.05cr2| osqldriver.h:80: error: invalid pure specifier (only `= 0' is allowed) before ';' token
21:00.05cr2| make[1]: *** [osqlmanager.o] Error 1
21:10.19Kevin2cr2 / bernt: I use cegcc 0.50 - the standard binary rpm.
21:13.31cr2Kevin2: compiled here too
21:14.10berntseems that my cegcc is too old ... telling me 4.1.0
21:18.06cr2bernt: i have 4.1.0 too
21:20.27cr2Kevin2: are you doing something for hermes ?
21:20.59goxboxlivecr2: Did you find the link? It's the useuall the
21:25.12goxboxlivehttp://www.linuxtogo.org/~htcpxa/htcuniversal/images/O.P.I.E-II/
21:25.13goxboxliveWHat did you mean by what is what?
21:25.19Kevin2cr2: I haven't worked on hermes in a while.  I did find a patch that got usb working without stutters.  The keyboard is also working fine.  At some point I may do the ADC stuff (including touchscreen).
21:25.22Kevin2cr2: How is SD coming along?
21:25.46cr2have not done anything too
21:26.34cr2i'm worried about all those other moko2 patches
21:27.48cr2i'll try to do something with SD, even if the irq stuff will be a bit messed up
21:28.17cr2having the response from a card is a good thing.
21:28.52cr2i've seen an interesting thing on n560
21:29.39cr2although it's controlled over sdio, the actual datastream does not go over sdio.
21:29.59Kevin2fun
21:31.36cr2it's like the BA
21:32.29cr2the pcmcia  control tuples design is very similar to sdio
21:32.46cr2and the data registers are mmaped.
21:34.20cr2Kevin2: have you tried to run some gui on hermes ? afair the touchscreen works, even if it's not perfect.
21:36.34BabelOLunohoD: booting artemis with current hh kernel :)
21:39.14BabelOLunohoD: do you use rndis or not ? it seem usb is no more up :(
21:39.33cr2BabelO: think about the htc-cpld driver. it's easy on artemis :)
21:39.38BabelOLunohoD: i just replace omap_udc with old from 2.6.16
21:40.01BabelOcr2: yes that is why i just build on top of current hh kernel :)
21:41.24LunohoDBabelO: i did the same for our kernel :)
21:42.00LunohoDBabelO: i had to replace ether.c too
21:42.37BabelOLunohoD: ah ether.c too ? why ? for freeze issue or simply to have working usb
21:42.46LunohoDto have working usb
21:42.49BabelOLunohoD: actually my computer does not see artemis plugged in
21:43.12BabelOLunohoD: ok, i ll try too, i think i understand why it does not work with latest kernel
21:43.54LunohoDit doesn't work since 2.6.18
21:45.13*** join/#htc-linux ImCoKeMaN (n=imcokema@pool-71-173-158-85.hrbgpa.fios.verizon.net)
21:46.36*** join/#htc-linux TripleDES (n=sergio@89.128.236.151)
22:20.47*** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
22:27.50BabelOLunohoD: can't get usb working now :(
22:48.46cr2BabelO: is it possible to save the flash "applet" ?
22:49.31BabelOcr2: to save a flash applet ? yes, get webpage source code and use wget ;)
22:49.38BabelOit is just a swf file
22:50.57cr2ok, they use some weird javascript too ;)
22:52.08cr2var so = new SWFObject("/flash/SunrizeTestings/build/tests.swf", "tests", "647", "429", "8", "#ffffff", true);
22:53.48cr2lol
22:53.51cr2try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}
22:54.29BabelOcompatibility, and like our office software all is done between try catch ;)
22:54.59cr2when will the dumb monkeys learn that not everybody uses micro$oft ;)
22:55.21cr2looking deeper :)
22:55.31LunohoDBabelO: http://www.stud.uni-karlsruhe.de/~ux7b/usbfix.tar.bz2
22:55.57cr2BabelO: The specified request cannot be executed from current Application Pool ?
22:56.22BabelOLunohoD: thanks
22:57.28cr2BabelO: i've picked the .swf file. are there any tools to decompile it ?
22:57.57BabelOcr2: yes there is, depend if it is protectted or not
22:58.19cr2how can i check it ?
22:58.56BabelOcr2: what file command tell you ?
23:00.12cr2tests.swf: Macromedia Flash data (compressed), version 8
23:00.16LunohoDwhy shouldn't htc clpld driver work on prophet/wizard?
23:00.33BabelOLunohoD: cpld is over i2c busses not memory mapped
23:00.54cr2LunohoD: because it uses i2c for switching gpios
23:00.55BabelOcr2: i use that under windows http://www.eltima.com/fr/products/flashdecompiler/
23:01.22cr2BabelO: thanks.
23:01.32cr2BabelO: the file is 12K, which is strange.
23:01.45LunohoDand prophet cpld is memory mapped, right?
23:02.10BabelOcr2: so it is maybe a flash video player which get video stream from somewhere else ?
23:02.44BabelOLunohoD: don't know about prophet, cr2 know more
23:03.22LunohoDcr2: could you please tell me more about prophet?
23:04.38cr2BabelO: no, it's a map "plugin", i hope the vector map ;)
23:05.04cr2LunohoD: the artemis cpld is memory mapped, like it's on all other pxa and s3c2442 phones.
23:05.44cr2LunohoD: but the wiazrd, herald & co. use this i2c controlled cpld.
23:06.15cr2afaik artemis is the only mmap cpld omap850-based phone.
23:06.20LunohoDcr2: what devices are connected to this cpld?
23:06.26cr2gpios
23:06.36cr2it's a gpio extender
23:06.42cr2maybe some leds
23:06.48cr2and some buttons.
23:07.52cr2wince does something like set_cpld(bank,pin,on/off);
23:08.26LunohoDhm
23:08.29cr2on a mmap cpld it's just a 16bit array element access.
23:08.45BabelOLunohoD: what is your initrd ip adress ?
23:08.49cr2but on "i2c cpld" it messes with the i2c registers.
23:08.54LunohoDBabelO: 10.100.0.1
23:09.10cr2nobody decoded that to the end.
23:09.15BabelOLunohoD: thx
23:10.03cr2BabelO: is it possible to trace i2c with haret ?
23:10.24BabelOcr2: on artemis i m able to trace camera i2c traffic
23:10.25cr2if not, then it's a serious deficiency ;)
23:10.45cr2LunohoD: can you try to trace i2c ?
23:10.49LunohoDcr2: did you see the omap850 trm?
23:10.51cr2BabelO: fm ?
23:10.55LunohoDcr2: i dunno how to do that :)
23:11.05cr2LunohoD: yes, but i didn't read it in detail
23:11.15LunohoDi've got a question
23:11.31cr2BabelO: what is the i2c address on omap850 ?
23:11.31BabelOcr2: i did not try to trace FM, because fm need headset, and i have some issue tracing over wifi
23:11.40BabelOcr2: 3800
23:11.46BabelOif i remember
23:11.53cr2LunohoD: you need to run haret
23:12.30cr2addlist mmutrace <0xvaddr> size
23:12.30LunohoDok
23:12.33BabelOLunohoD:  0xfffb3800
23:13.02cr2size can be 256 bytes or so
23:14.10LunohoDwhat's next?
23:15.06BabelOcr2, LunohoD : http://pastebin.ca/865254
23:15.15BabelOnow it is ok with current hh kernel
23:15.37BabelOLunohoD: thx for your bz2 archive,
23:16.29LunohoD:)
23:16.52BabelOLunohoD: lol my kernel seem did not like startx ;)
23:16.59BabelOi keep clock at 201Mhz
23:17.06LunohoDtell me please how to start sniffing
23:18.33BabelOLunohoD: once you are in haret
23:18.45BabelOaddlist mmutrace p2v(0xfffb3800) 0xff
23:18.48BabelOwi 1
23:20.33LunohoDBabelO: Too many L1 traces (max=64)
23:21.05cr2LunohoD: set 1 page as the size
23:21.07cr20x1000
23:21.13BabelOLunohoD: hm; don't know what is that
23:21.28cr2Kevin2: ???
23:21.36cr2LunohoD: show mmutrace
23:21.44Kevin2Hi
23:21.45LunohoD# show mmutrace
23:21.46LunohoD000: 0xb80b3800 4096 'rw' 00000000 none
23:21.56_CoW_hi
23:21.59LunohoD000.000     IRQS    GIRQ5: IS128(224)=1
23:22.00LunohoD000.000     IRQS      IH2: IH2-38(70)=1
23:22.01cr2Kevin2: what is Too many L1 traces (max=64)
23:22.04Kevin2Sorry, just got back - what did I miss?
23:22.08LunohoDHandled 1113 irq, 18206 abort, 5097 prefetch, 0 lost, 0 errors
23:22.09_CoW_i have a uart timeout problem (no display)
23:22.10_CoW_http://pastebin.ca/865262
23:22.14cr2Kevin2: Too many L1 traces (max=64)
23:22.16_CoW_anyone can help me please?
23:22.44Kevin2That means you tried to add more than 64 items to the mmutrace variable -- it only supports 64 lines.
23:22.47cr2_CoW_: what haret version is that ??
23:23.19cr2Kevin2: but he just used the stock haret, with only 1 mmutrace
23:23.19_CoW_2src
23:23.21_CoW_2sec
23:23.38LunohoDKevin2: is it possible to redirect the haretconsole output to the file?
23:23.43*** join/#htc-linux pH5 (n=ph5@p5485BCBA.dip.t-dialin.net)
23:24.00cr2LunohoD: on linux ?
23:24.12LunohoDcr2: yes
23:24.13*** join/#htc-linux the_sys0p` (i=the_sys0@gateway/tor/x-95347bd2a13e9cc0)
23:24.15cr2hi pH5
23:24.29cr2LunohoD: if you use 'console' then it's logged by default
23:24.33LunohoDand how to get rid of "000.000 0b398aa4: ldrh   r3, [r4, #4]   # b80b3804==00000000"
23:24.36LunohoD?
23:24.39pH5hi cr2
23:24.54BabelOhi pH5
23:24.57_CoW_cr2 -> haret 0.3.7
23:25.04cr2LunohoD: it's the i2c traffic i guess.
23:25.21cr2_CoW_: you need something more uptodate ;)
23:25.28Kevin2LunohoD: Sure.  You can redirect an individual command (eg, "redir <file> <cmd") or by enabling all logging to a file (by running "log <file>").
23:25.33_CoW_0.5.1 doesn't run
23:25.56cr2_CoW_: enable earlyharetlog.txt ?
23:26.10cr2and post the haretlog.txt
23:26.10_CoW_how? i have only the .exe
23:26.28cr2create the empty earlyharetlog.txt in the same directory.
23:26.35cr2and run the .exe
23:26.36_CoW_i don"t have windows to compile it :/
23:26.41_CoW_ok
23:26.54LunohoDKevin2: is it already logging, thanks
23:26.54_CoW_it works with 0.3.7v?
23:26.54cr2you don't need to compile anything.
23:26.59_CoW_k
23:27.12_CoW_i thought i had to because arch is different!
23:27.21cr2_CoW_: on s3c24xx ?
23:27.31_CoW_its  as3c22xx
23:27.36cr2i guess (99%) it's not running
23:27.47_CoW_no ur right
23:28.00cr2please post the haretlog.txt from 0.5.1
23:28.11Kevin2cr2 / LunohoD: Okay - sorry, that error means that haret was asked to remap more than 64 1meg sections - which it didn't like.  What was in the mmutrace variable?
23:28.15_CoW_0.5.1 doesn't run :/
23:28.39cr2_CoW_: what is the error message ?
23:28.52_CoW_wait
23:28.53cr2_CoW_: i've run haret on wince 2.11 ;)
23:29.11LunohoDKevin2: 000: 0xb80b3800 4096 'rw' 00000000 none
23:30.14cr2pH5: what was the problem with the i2c cpld control ? do you know something more ?
23:30.42Kevin2<PROTECTED>
23:31.00LunohoDKevin2: 0.5.1
23:31.02_CoW_haret 0.5.1 is not a valid windows ce application
23:31.26cr2_CoW_: what device is that ?
23:31.33_CoW_sd
23:31.44pH5hi BabelO
23:31.45cr2BabelO: i think you can fix that too ->
23:31.47_CoW_i have a acer e305 wince 5.0
23:31.50cr2Unknown OMAP cpu type: 0x00
23:31.50cr2OMAP0000 revision 1 handled as 00xx id: 0000000000000000
23:31.58pH5cr2: the device locked up whenever I tried to load the i2c driver
23:32.06pH5I still don't know more than that.
23:32.12cr2pH5: ok.
23:32.16LunohoDKevin2: addlist mmutrace p2v(0xfffb3800) 0xff
23:32.21cr2_CoW_: strange.
23:32.30LunohoDKevin2: set permissivemmutrace 1  and wi 1
23:32.40_CoW_that's why i think i need to recompile it
23:32.47_CoW_only 0.3.7 works
23:32.55Kevin2LunohoD: Can you pastebin the full log?
23:32.57_CoW_but there is a uart error :/
23:33.15_CoW_and for my qtek8500 i can't find enter key :p
23:33.15BabelOcr2: yes, now i know where to look
23:33.26cr2_CoW_: forget about 0.3.7, we need to fix the current version.
23:33.33_CoW_ok
23:33.36BabelOcr2: where is the htc-cpld driver ?
23:33.38_CoW_could i help you?
23:34.13_CoW_for haret 0.3.8 i have this error:
23:34.15cr2BabelO: in the MFD directory, where the asic3 is
23:34.34LunohoDKevin2: http://www.pastebin.ca/865313
23:34.41_CoW_cannot find haret0.3.8 or one of its components.make sure the path and filename are correct and that all the required libraries are available
23:35.00cr2_CoW_: it's usually a .dll error
23:35.18_CoW_k
23:35.37Kevin2_CoW_: That is weird - can you try to see of any of haret 0.4.5 - 0.5.1 from http://www.handhelds.org/~koconnor/haret/ works?
23:35.38cr2BabelO: is the stack_dump intentional ?
23:35.45_CoW_when i launch 0.3.7 it tells me: Warning: Detected CPU family S3C24XX
23:35.54_CoW_ok
23:35.57_CoW_i try now
23:36.15cr2_CoW_: can you give a link to 0.3.7 you use ? i'll run objdump
23:36.27_CoW_ok
23:36.30_CoW_could i dcc it?
23:36.35cr2no.
23:36.48_CoW_k
23:37.06Kevin2LunohoD: What does "show p2v(0xfffb3800)" report?
23:37.29BabelOcr2: no, not really, it seem that the pin mux funciton is not ok for omap850, some are missing
23:37.47cr2BabelO: i think you should read the trm then ;)
23:38.08BabelOcr2: yes there is a table in, with each pin mux funciton
23:38.22cr2BabelO: it does not make sense to move forward without fixing it.
23:38.31BabelOi think that is why i get this message on uart port
23:38.32LunohoDKevin2: 0xb80b3800
23:38.33_CoW_http://embedded.net.ru/rx1950/haret.exe
23:38.38_CoW_i think thats the right file
23:38.46cr2_CoW_: ok.
23:39.55LunohoDcr2: http://www.pastebin.ca/865316
23:40.39_CoW_0.5.0 same problem
23:40.51cr2LunohoD: 000000: mmutrace 0b398b44: e1d330b4(ldrh) b80b3804 00000000 (00000000)
23:41.11_CoW_all version +0.4.5 tells me: is not a valid windows ce applicatino
23:41.13cr2LunohoD: these are the i2c changes, you should check where is the data register.
23:41.53Kevin2LunohoD: What did you do to get it to work?
23:41.54cr2_CoW_: it must be some .dll problem.
23:41.54cr2_CoW_: i'm looking at the 0.3.7 binary
23:42.01_CoW_ok thanks
23:42.11_CoW_if i can help you...
23:42.19LunohoDKevin2: dunno
23:43.00LunohoDKevin2: i can send you my logs
23:43.57Kevin2_CoW_: Does the 0.3.6 versions of haret from http://www.handhelds.org/moin/moin.cgi/HaRET work?
23:44.03cr2_CoW_: 0.3.7 links to  WINSOCK.dll and COREDLL.dll
23:44.14_CoW_i try
23:44.29LunohoDKevin2: http://www.stud.uni-karlsruhe.de/~ux7b/haretlogs.tar.bz2
23:44.36cr2MajorOSystemVersion     4
23:44.49cr2MajorSubsystemVersion   3
23:46.16cr2_CoW_: it's 4 1 for 0.5.2 and also winsock and coredll.
23:46.46cr2_CoW_: can you do md5sum on your .exe
23:46.56_CoW_yes
23:47.04_CoW_on 0.3.6?
23:47.06cr2Kevin2: imho we should post md5sum/sha for the .exe
23:47.07_CoW_7
23:47.17cr2_CoW_: no, for 0.5.x
23:47.20cr2you use
23:47.23_CoW_k
23:47.44cr2Kevin2: it's a good idea anyway.
23:47.46_CoW_0268efad218806ab3f5ac800b85cf632  haret-0.5.1.exe
23:47.59cr2_CoW_: the link to .exe ?
23:48.17_CoW_./SDMMC/linux/
23:49.00Kevin2LunohoD: Weird - if it happens again, can you do a "show mmutrace" in the same session as the one with the fault?
23:49.14LunohoDKevin2: ok
23:49.15cr2_CoW_: i mean where did you get the haret-0.5.1.exe
23:49.32Kevin2cr2: Must be from my site - the md5sum matches mine.
23:49.46_CoW_http://www.handhelds.org/~koconnor/haret/
23:49.52_CoW_sorry i'm french :/
23:49.59BabelOcr2: it is the htc-egpio.c ? i ve no htc-cpld
23:50.18cr2BabelO: yes.
23:50.37_CoW_haret 0.3.4-j820 works
23:50.51_CoW_same uart problem
23:51.14cr2Kevin2: weird. i don't have an explanation ;)
23:51.38cr2_CoW_: acer 305 ?
23:51.54_CoW_yes
23:51.59_CoW_e305
23:52.02_CoW_GPS
23:52.26Kevin2_CoW_: Does the 0.3.6 versions of haret from http://www.handhelds.org/moin/moin.cgi/HaRET work?
23:53.16_CoW_wait
23:53.35_CoW_no
23:54.33_CoW_nocannot find 0.3.6* or one of this components...
23:54.52_CoW_dependencies problem i think
23:55.31cr2_CoW_: this is very strange indeed.
23:56.08cr2maybe your winsock/coredll crippled in some funny way ;)
23:56.31_CoW_i samsung, arm320 s3c2440A
23:56.51_CoW_wince 5.00 build 1400
23:57.05Kevin2_CoW_: Hrmm.  I wonder if you have an armv4 processor.
23:57.16cr2hehe. 0.3.6 does not have the function names, only the ordinals.
23:57.37_CoW_CPU is ARM ARM arch 4T stepping 0 running in system mode
23:57.43cr2Kevin2: s3c is armv4
23:58.19Kevin2Okay - haret-0.3.6 is only setting armv3m anyway.

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