00:11.35 | dcordes | gnite |
00:21.12 | Kevin2 | Hi cr2 - did you end up adding register decoding to haret console? |
00:23.17 | cr2 | hi Kevin2 |
00:23.23 | cr2 | no, i've just used sed. |
00:23.56 | cr2 | now i'm fighting with the EGPIO ;) |
00:24.25 | *** join/#htc-linux Zoolooc_ (n=fredsiba@p54952241.dip0.t-ipconnect.de) |
00:24.42 | Kevin2 | Okay. I'll add it to the todo list. |
00:24.48 | cr2 | ok. |
00:25.08 | cr2 | can you tell me about the hermes SD power /irq gpios ? |
00:25.49 | Kevin2 | Not sure what you're looking for. |
00:26.42 | cr2 | if you insert the card, what gpios change ? i've seen one CPLD gpio which is marked 'wifi ...' |
00:26.53 | cr2 | but maybe there are other. |
00:27.10 | cr2 | i've also forgot which are input and which are output. |
00:29.04 | Kevin2 | I have GPB1 as SD card power and wiki has GPF5 as card detect. |
00:30.09 | cr2 | ok, what is the GPIO65 ? |
00:30.13 | Kevin2 | Okay - I just checked - it is GPB2 and GPF5 |
00:31.08 | Kevin2 | CPLD1(65)? That is the ATI irq. |
00:31.30 | Kevin2 | (The interrupt to the main processor that tells it to service one of the ATI irqs.) |
00:32.02 | cr2 | ok, that sounds like w228x driver needs its own irq demux ? |
00:32.15 | Kevin2 | That's the way it looks to me. |
00:32.24 | cr2 | ok. |
00:32.38 | cr2 | in the mmc driver i'm only missing host->pdata->setpower(mmc_dev(mmc), ios->vdd) now. |
00:33.15 | cr2 | well, the proper irq handling may be tricky, but all the logs are there. |
00:34.14 | cr2 | we know only 2 ati irqs so far. vline and SD. |
00:34.43 | cr2 | hmm. i need to document it somewhere. |
00:34.53 | Kevin2 | It'll be easy to figure out the ATI irqs - just add the irq demux to haret and trigger a bunch of events. |
00:36.02 | Kevin2 | What's the difference between mmGEN_INT_CNTL and mmGEN_INT_STATUS ? |
00:36.09 | cr2 | ok, it's known how to handle the vline irq. |
00:36.23 | cr2 | look at the w100_vsync() |
00:36.39 | cr2 | drivers/video/w100fb.c |
00:37.21 | cr2 | the SD irq is just a different bit. |
00:40.09 | Kevin2 | Hrmm. the w100fb.c code doesn't actually use interrupts - it just polls for an interrupt to occur. |
00:42.20 | cr2 | if i'm not mistaken, the ATI irq CPLD1(65) is always followed by the sequence like in w100_vsync() |
00:42.42 | cr2 | only the 0x00000002 bit is replaced with 0x02000000 |
00:43.05 | cr2 | it's in the logs, and i can check which one exactly, but i think i'm not mistaken here. |
00:44.47 | Kevin2 | Yeah - it is just a little unusual. It looks like you have to write a one to 0x10200 to enable an interrupt. And then read 0x10204 to see if the irq triggered. |
00:45.44 | cr2 | i'll put the decoded traces into wiki, but not today. |
00:47.45 | cr2 | hehe. the plain egpio driver reboots the machine, probably because it sets the reset egpio bit ;) |
00:48.31 | cr2 | hmm. so the actual problem is in stacking two htc-egpio drivers... |
00:48.55 | Kevin2 | cr2: You should be able to specify which pins to default on. |
00:49.35 | cr2 | yes. but for that i need to research them in much bigger detail. |
00:49.56 | Kevin2 | Just dump the egpio register and set all pins that are on right now. :-) |
00:50.03 | cr2 | :) |
00:50.28 | cr2 | they are constantly changing in wince, even if i don't do anything. |
00:50.52 | Kevin2 | Well, if they change, they probably don't need to be on at start. |
00:51.23 | Kevin2 | cr2: ibit irqs 65 ; addlist irqs p2v(0x10010204) 0x10080003 32 0 |
00:52.01 | cr2 | ok. |
00:52.41 | cr2 | btw, if the SD irq will be behind the demuxer, the code will be more complex... |
00:53.53 | Kevin2 | Yeah - you'll need to build something like what's in the egpio driver. Something that can read the irq, ack it, and turn it into a new irq. |
00:55.23 | cr2 | yes, i need to document the decoded logs before moving forward. |
00:55.30 | cr2 | good night :) |
00:56.20 | Kevin2 | okay - good night. |
00:59.29 | *** join/#htc-linux ljp (n=lpotter@203.94.178.46) |
01:27.58 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
02:39.24 | *** join/#htc-linux TBBle_ (n=tbble@202.55.155.113) |
02:40.04 | *** join/#htc-linux AC_Mast (i=s@gateway/tor/x-82c9482a3d16aac8) |
02:49.06 | *** join/#htc-linux GPFerror (i=GPF@cpe-76-187-41-132.tx.res.rr.com) |
03:41.13 | *** join/#htc-linux Zoolooc_ (n=fredsiba@p54952C81.dip0.t-ipconnect.de) |
04:25.14 | *** join/#htc-linux AC_Mast (i=s@gateway/tor/x-f1fa53264c843762) |
04:26.03 | *** join/#htc-linux TimRiker (n=timr@rikers.org) |
05:04.06 | *** join/#htc-linux ltxda0 (n=ltxda@c-98-196-125-205.hsd1.tx.comcast.net) |
05:05.41 | *** part/#htc-linux ltxda0 (n=ltxda@c-98-196-125-205.hsd1.tx.comcast.net) |
05:05.52 | *** join/#htc-linux ltxda (n=ltxda@c-98-196-125-205.hsd1.tx.comcast.net) |
05:19.18 | *** join/#htc-linux ltxda (n=ltxda@c-98-196-125-205.hsd1.tx.comcast.net) |
05:26.30 | *** join/#htc-linux |dion| (n=dion@inhex.net) |
05:44.38 | Zoolooc_ | good morning |
05:57.25 | swetland | blargh. |
05:58.01 | Zoolooc | hey, swtland |
05:58.08 | Zoolooc | hey, swetland |
05:58.45 | swetland | 'evening |
05:59.24 | Zoolooc | you're almost preparing to go to bed? |
05:59.43 | Zoolooc | I'll just have my first cup of coffee for today and prepare to go to work :-) |
06:00.36 | swetland | only 10pm, so it's not quite end of day yet |
06:07.41 | Zoolooc | how's msm-7k porting going? I've seen some discussion on the arm kernel ml |
06:08.35 | swetland | sloooowly |
06:08.46 | swetland | well, the lakml side at least |
06:09.13 | swetland | our external tree is lagging behind the internal tree because I'm trying to get the core stuff reviewed and accepted before continually rebasing on top of it |
06:09.30 | Zoolooc | must be highly iterative |
06:09.34 | swetland | we've gotten some good feedback and keep updating the patch sets, but it is not a process that happens overnight |
06:09.37 | swetland | yeah |
06:11.57 | Zoolooc | anyway, it's what we hope to help others to adapt it also for msm7200, I hope not everything is that different ;) |
06:12.13 | swetland | 7200 and 7200a are very similar |
06:12.51 | swetland | I don't have a handy reference of the differences, but the most notable ones I remember (we started on 7200 and migrated to 7200a) was the VIC registers shuffled around |
06:13.09 | Zoolooc | heck, they should be, at least after their model name! |
06:25.32 | Zoolooc | swetland: interesting, what Nicolas Pitre had to say about branch management |
06:26.31 | Zoolooc | seems he's too involved in another kernel I'm interested in (I'm also part of the nas-central.org community, we support a couple of arm9-based NAS-es likle those from Buffalo) |
06:32.32 | *** join/#htc-linux _law_ (n=law@mail.stiftadmont.at) |
06:33.15 | *** join/#htc-linux sadeness_ (n=LamersIn@nat2.rlan.ru) |
06:42.10 | *** join/#htc-linux pleemans (n=peter@leemanpe.ugent.be) |
06:42.34 | swetland | zooloc: yeah -- sadly it does mean what I thought: we're gonna be doing a lot of rebasing until we get past this first set of hurdles |
06:47.07 | *** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com) |
07:00.28 | *** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-5036a7e934c91cf4) |
07:08.28 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
07:15.59 | *** join/#htc-linux rob_w|laptop (n=rob_w@p549B9572.dip0.t-ipconnect.de) |
07:19.11 | *** join/#htc-linux kiozen (n=oeichler@p5492A4BF.dip0.t-ipconnect.de) |
07:48.58 | *** join/#htc-linux rmoravcik (n=moravcik@gtsgw.ttc.cz) |
08:11.26 | *** join/#htc-linux zoolooc (n=lucian@p54952C81.dip0.t-ipconnect.de) |
08:23.42 | *** join/#htc-linux kiko_ (n=Kiko@st0192.nas931.soka.nttpc.ne.jp) |
09:40.42 | *** join/#htc-linux BabelO (n=fcr@81.80.236.75) |
09:54.19 | BabelO | plop |
10:25.18 | *** join/#htc-linux goxboxlive (n=jrs@195.159.97.196) |
10:25.26 | goxboxlive | good morning |
10:30.11 | *** join/#htc-linux jeanseb_ (i=jeanseb@ns.popipo.fr) |
10:30.54 | BabelO | morning goxboxlive |
10:42.07 | goxboxlive | bon jour |
10:45.30 | *** join/#htc-linux _law_ (n=law@mx2.stiftadmont.at) |
10:47.16 | *** join/#htc-linux _law_ (n=law@mail.stiftadmont.at) |
11:01.32 | *** join/#htc-linux __law__ (n=law@mx2.stiftadmont.at) |
11:05.03 | *** join/#htc-linux Daniel77 (n=dwarren@220-253-157-100.VIC.netspace.net.au) |
11:09.48 | *** part/#htc-linux goxboxlive (n=jrs@195.159.97.196) |
11:19.44 | Daniel77 | hey just after a small clue! I am a fairly experienced linux user and just had my first attempt at making my own angstrom gpe-image for magician, everything went to plan but the touchscreen don't work! where should I start looking? |
11:23.35 | *** join/#htc-linux rob_w|laptop (n=rob_w@p549B9572.dip0.t-ipconnect.de) |
11:27.01 | *** join/#htc-linux goxboxlive (n=jrs@195.159.97.196) |
11:34.53 | *** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-64d4eadb9c8e4825) |
11:45.22 | *** part/#htc-linux Daniel77 (n=dwarren@220-253-157-100.VIC.netspace.net.au) |
12:13.01 | *** part/#htc-linux goxboxlive (n=jrs@195.159.97.196) |
13:23.48 | *** join/#htc-linux goxboxlive (n=jrs@195.159.97.196) |
14:55.27 | *** join/#htc-linux __law__ (n=law@mail.stiftadmont.at) |
15:06.20 | *** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com) |
15:17.40 | *** join/#htc-linux GPFerror (n=gpferror@cpe-76-187-41-132.tx.res.rr.com) |
15:24.36 | *** join/#htc-linux dcordes (n=dcordes_@f054217053.adsl.alicedsl.de) |
15:26.03 | cr2 | ellisway: are you here ? |
15:26.15 | goxboxlive | hih cr2 |
15:27.02 | cr2 | hi goxboxlive |
15:28.56 | zoolooc | hi folks |
15:29.35 | zoolooc | last night, I managed to cross-build latest haret and connect via WLAN with the included python scripts from my gento omachine to Kaiser |
15:30.13 | zoolooc | cr2: if we'd both find some time late tonight, to dump stuff... |
15:30.44 | cr2 | zoolooc: if you just run 'wi 5' , do you see anything ? |
15:31.19 | zoolooc | didn't do that, I can only try that at home, now I'm still @work |
15:33.23 | cr2 | ok. |
15:36.45 | *** join/#htc-linux TeringTuby (n=maarten@195-241-125-243.ip.telfort.nl) |
16:21.16 | kiozen | cr2: polygon skinning works now, see repository |
16:26.15 | *** join/#htc-linux |dion| (n=dion@inhex.net) |
16:31.11 | dcordes|unboxing | please read eula before use |
16:34.01 | cr2 | dcordes|unboxing: put eula in the trash bin :) i even didn't remove the packaging from the cds. |
16:34.32 | cr2 | kiozen: it became a bit slower, but looks very nice. |
16:34.56 | dcordes|unboxing | I wonder why they print instructions onto the nice display cover |
16:35.03 | dcordes|unboxing | so I can't leave it on |
16:35.25 | kiozen | cr2: that's because polylines have lines, too, because the skinfile defines a color for every one |
16:36.37 | cr2 | kiozen: i think it's not a problem, if the map has good object separation between the zoom levels. |
16:37.20 | kiozen | cr2: the skinfile should not define a color if not neccessary |
16:37.36 | kiozen | cr2: and it has no value for transparent color |
16:38.38 | cr2 | 4th byte for the transparency ? |
16:40.13 | kiozen | hm, I exchange #000000 to Qt::NoColor |
16:42.41 | cr2 | btw, a pixmap brush option will make everything even more slower, but it's a "nice to have" too. |
16:42.46 | dcordes|unboxing | cr2, is it normal that those battery covers on the back require brute force in order to move? |
16:43.07 | cr2 | dcordes|unboxing: on a new device ? yes. |
16:43.11 | dcordes|unboxing | yea |
16:43.25 | dcordes|unboxing | I don't want to break it before I even turn it on. It's not moving at all |
16:43.49 | cr2 | hm. the manufacturing quality obviously decreases. |
16:44.16 | cr2 | the best htc mechanical design i've seen was himalaya. |
16:44.29 | cr2 | it was the most robust device. |
16:44.57 | dcordes|unboxing | I think kaiser's robustness has its downside because of the flipping keyboard |
16:45.09 | cr2 | well, hermes is not bad too. |
16:45.10 | dcordes|unboxing | anyway I have to leave. won't try to remove the cover in a hurry |
16:45.15 | dcordes|unboxing | bbl |
16:45.37 | dcordes|unboxing | bye |
16:54.05 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
16:57.11 | kiozen | cr2: added dynamic line thickness |
17:05.17 | cr2 | kiozen: mapsource takes a break :) |
17:05.54 | cr2 | can it be compiled with mingw for windows now ? |
17:05.55 | kiozen | always wonder how roadmap makes those smooth lines |
17:06.04 | kiozen | you know where to look? |
17:06.13 | cr2 | smooth ? |
17:07.09 | cr2 | with qt4 or gtk2 ? |
17:07.09 | kiozen | lines connect nicely |
17:07.09 | kiozen | qt4 |
17:07.41 | cr2 | gtk2 used agg for antialiasing. |
17:07.45 | cr2 | linecap ? |
17:08.56 | kiozen | they are round, but you don't see if they overlap |
17:09.33 | cr2 | setlinecapstyle. |
17:09.52 | cr2 | they are square before, but i've changed them to round. |
17:10.33 | cr2 | but the railroad should be square. |
17:10.45 | cr2 | otherwise it's ugly. |
17:10.46 | kiozen | I tried, but it looks ugly with QL |
17:10.53 | cr2 | ok. |
17:11.28 | kiozen | in roadmap lines look like they are converted to polygons |
17:11.34 | kiozen | but I doubt it |
17:11.49 | kiozen | too much to calculate :) |
17:13.57 | cr2 | no, i think the width is adjusted depending on the zoom level. |
17:14.17 | cr2 | but the zoom level control in roadmap is insane. |
17:14.35 | cr2 | i think it starts with 22cm/pixel |
17:14.45 | kiozen | yes, that's easy, but connecting the lines nicely when they are big is not |
17:15.16 | cr2 | i doubt that such hires is really necessary. |
17:15.31 | kiozen | :) |
17:15.54 | cr2 | your 24bit garmin, what is the m/pix for it ? |
17:16.44 | cr2 | actually i wish we had switched to mercator, and use ~1.2 m/pix as a base resolution. |
17:17.22 | kiozen | don't have such a thing like m/pix |
17:17.24 | cr2 | without a 2frequency receiver a better accuracy is a joke anyway. |
17:17.38 | kiozen | it's dependent on the projection |
17:17.41 | cr2 | you have it on the screen. |
17:18.10 | kiozen | look at the beginning of CGarminMap.cpp |
17:18.20 | cr2 | yes, that's why i like mercator. |
17:18.21 | cr2 | ok. |
17:18.34 | kiozen | the float is the scale factor |
17:19.00 | cr2 | btw, are you going to support TM aka GK ? |
17:19.02 | *** join/#htc-linux user9oooo11 (i=user9ooo@124.125.212.19) |
17:19.20 | kiozen | UTM |
17:19.35 | cr2 | yes, your scalebar must know about the resolution. |
17:19.39 | user9oooo11 | Hello people could someone here please help me out with the installation of opie on qtek pu10? |
17:19.41 | cr2 | what about Norway ? |
17:19.50 | kiozen | you got me := |
17:19.56 | user9oooo11 | <PROTECTED> |
17:19.57 | kiozen | it's missleading |
17:20.00 | cr2 | user9oooo11: pu10 is universal ? |
17:20.05 | user9oooo11 | yes |
17:20.09 | user9oooo11 | htc |
17:20.23 | user9oooo11 | imate jasjar/o2x2da |
17:20.40 | user9oooo11 | cr2 can help me? |
17:20.46 | user9oooo11 | i have a 2gb card. |
17:21.01 | user9oooo11 | and i make mistakes while defining the partition table. |
17:21.09 | cr2 | there is a very simple installer, but i don't know if it's freely available. |
17:21.18 | user9oooo11 | sowhat is the name? |
17:21.25 | kiozen | cr2: scale bar is a joke in QL ;) have to go, bbl |
17:21.26 | user9oooo11 | i will try warez. |
17:21.45 | user9oooo11 | or u can teach me once so that i can go with long installation meth. |
17:21.51 | cr2 | user9oooo11: you have linux or windows as your host system ? |
17:22.01 | user9oooo11 | windows vista. |
17:22.10 | user9oooo11 | i am using vista. |
17:22.13 | cr2 | i have it, but if i'm not mistaken i can't give it to you :) |
17:22.16 | cr2 | ok. |
17:22.25 | user9oooo11 | haha, nevermind. |
17:22.34 | cr2 | then how yre you partitioning the card ? |
17:22.37 | user9oooo11 | can u help me with defining partitions? |
17:22.44 | user9oooo11 | i am using the ramdisk. |
17:22.53 | user9oooo11 | and booting the pu10 with it. |
17:23.02 | user9oooo11 | and doing everything there. |
17:23.31 | user9oooo11 | for 1st partition fat32 |
17:23.37 | user9oooo11 | it takes default value of 2 |
17:23.47 | user9oooo11 | and i gave 31 as last cylinder |
17:23.47 | cr2 | ok, but then you don't really need to partition. |
17:23.52 | user9oooo11 | as read in the forums. |
17:24.03 | user9oooo11 | seriously? |
17:24.13 | goxboxlive | user9oooo11: i will make a image with the easy installer soon. I just have to compile a qtopia image without helix. |
17:24.13 | cr2 | leave 1 partition. |
17:24.20 | user9oooo11 | ok, i will skip it tell me what to do next then. |
17:24.38 | user9oooo11 | gox - thanks. Make it for us. |
17:24.40 | cr2 | mke2fs -j it. |
17:24.41 | user9oooo11 | new people. |
17:24.46 | user9oooo11 | ok |
17:24.53 | user9oooo11 | trying it now cr2. |
17:25.16 | goxboxlive | user9oooo11: i have made a easy howto for all this: http://www.handhelds.org/moin/moin.cgi/UniversalHowtoInstallLinux |
17:25.35 | user9oooo11 | cr2 - nothing like swap for pda's? |
17:25.46 | user9oooo11 | thanks gox, will check it. |
17:26.28 | *** part/#htc-linux BabelO (n=fcr@81.80.236.75) |
17:28.51 | *** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be) |
17:30.07 | user9oooo11 | How to type " - " , i tried fn and shift... not able to figure out. |
17:31.04 | *** join/#htc-linux SmallR2003 (n=SmallR20@c-24-15-250-237.hsd1.il.comcast.net) |
17:31.36 | user9oooo11 | damn what a pain, i can see it but maybe some error i cant type it. lol |
17:32.12 | user9oooo11 | gox - i refered ur manual. |
17:32.18 | user9oooo11 | i mean i was using the same. |
17:32.36 | user9oooo11 | but i actuall get struck here. |
17:32.37 | user9oooo11 | Set the Last cylinder or +size or +sizeM or +sizeK (xx-xxxx, default xxxx): |
17:32.41 | user9oooo11 | that part. |
17:32.53 | user9oooo11 | and i make the SD un usable. |
17:33.46 | user9oooo11 | cr2 it says invalid block counts. |
17:33.49 | user9oooo11 | now what? |
17:34.46 | cr2 | user9oooo11: delete everything |
17:34.50 | cr2 | all partitions. |
17:34.52 | user9oooo11 | ok |
17:38.53 | user9oooo11 | yes deleted all the partitions, written, verified. |
17:38.57 | user9oooo11 | same problem. |
17:40.14 | cr2 | how old is your ramdisk ? |
17:40.29 | user9oooo11 | anyways - 2032 mb, 2032664576 bytes 4 heads, 16 sectors/tracks, 62032 cylinders. |
17:40.34 | user9oooo11 | just dl'd it. |
17:40.46 | user9oooo11 | from the site... handhelds |
17:40.57 | user9oooo11 | so can u help me to define partitions? |
17:41.21 | user9oooo11 | its new version. |
17:42.27 | user9oooo11 | lol i need to learn cylinder shit i suppose. :p |
17:43.48 | *** join/#htc-linux law|home (n=_law_@213.173.86.202) |
17:45.16 | *** join/#htc-linux lieter (n=lieter@a62-251-100-248.adsl.xs4all.nl) |
17:45.20 | cr2 | user9oooo11: why ? |
17:45.34 | cr2 | it should not really matter. |
17:45.59 | user9oooo11 | because i am getting the same error with this method. |
17:46.29 | user9oooo11 | and it says, did u specify the device correctly? |
17:47.03 | cr2 | strange. |
17:47.08 | user9oooo11 | yeah. |
17:51.57 | user9oooo11 | Um lets see i did it again. |
17:52.10 | user9oooo11 | need to experiment and get it to work. |
17:58.09 | *** join/#htc-linux ellisway_phone (n=pocketir@general-kt-195.t-mobile.co.uk) |
18:14.02 | *** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
18:17.41 | *** join/#htc-linux dcordes_ (n=dcordes_@e179098112.adsl.alicedsl.de) |
18:18.42 | *** join/#htc-linux pH5 (n=ph5@e178242010.adsl.alicedsl.de) |
18:20.39 | cr2 | hi pH5 |
18:21.12 | pH5 | hey cr2 |
18:21.34 | cr2 | pH5: i'm trying to understand htc-egpio :) |
18:22.34 | cr2 | you have added .bus_shift, but there is no default value set, and my guess about it being 2 like on asic3 is wrong. |
18:23.08 | pH5 | cr2: Kevin2 has made htc-egpio default to 16bit registers, so you have to set bus_shift=0 if you have 16bit packed |
18:23.22 | pH5 | or bus_shift=1 if you have 32bit aligned registers |
18:23.22 | cr2 | but i still crash trying to access the gpios on the second CPLD. |
18:23.40 | cr2 | pH5: i've set it to 0 now. |
18:24.43 | pH5 | cr2: should be correct, from looking at http://wiki.xda-developers.com/index.php?pagename=AthenaCPLD1 |
18:24.53 | pH5 | for CPLD2 it shouldn't matter as it is only one reg |
18:26.00 | cr2 | ok, i need to fix the CPLD1 first, so i can login over usb and debug thr second one. |
18:26.24 | cr2 | is it necessary to declare the irq bits as input ? |
18:26.46 | cr2 | sounds a bit strange to me. |
18:27.18 | pH5 | cr2: no. |
18:27.43 | *** join/#htc-linux Zoolooc (n=fredsiba@p54952C81.dip0.t-ipconnect.de) |
18:28.03 | cr2 | ok. do i need to declare the others ? |
18:28.04 | pH5 | in which registers are the irq bits? |
18:28.14 | cr2 | <PROTECTED> |
18:28.17 | cr2 | <PROTECTED> |
18:28.26 | pH5 | you only need to declare two types of pins: a) output pins that should default to 1 on start, and |
18:28.41 | pH5 | b) input pins that should be associated with a certain irq |
18:28.59 | pH5 | a, +0x8 |
18:29.02 | cr2 | yes. |
18:29.17 | cr2 | are they the same ? |
18:29.44 | pH5 | is there any of those irqs corresponding to a input gpio level? |
18:30.15 | pH5 | (it is similar as magician, but you have more registers) |
18:30.47 | cr2 | dont' think so. |
18:31.02 | cr2 | most gpios look like output. |
18:31.15 | pH5 | then you don't have to worry about any input/irq declaration |
18:31.30 | pH5 | just declare those output gpios that have to be turned on during boot |
18:32.20 | cr2 | Kevin2 writes that the registers are 8bit, and it looks like that. |
18:32.43 | pH5 | cr2: same here, I have 32bit aligned 8bit registers |
18:33.35 | pH5 | maybe we have to introduce register width parameter after all to avoid bloat. just pretend they are 16bit for now. |
18:33.55 | cr2 | ok. |
18:34.06 | cr2 | so i don't need the .pin and .nr_pins ? |
18:34.48 | pH5 | if you don't set any output pins, the driver writes 0x00 to all output registers during startup. |
18:35.07 | pH5 | if you need power on some line for normal operation, you have to declare that pin. |
18:35.28 | cr2 | seems to work without it now. |
18:35.54 | cr2 | i only need to catch the USB insert irq. |
18:36.12 | cr2 | otherwise i can't login. |
18:36.20 | pH5 | it should. the only pins that I have default to 1 on magician are GSM reset and the internal microphone selector. |
18:36.42 | cr2 | i'm not so far. |
18:37.00 | cr2 | but there is a hard reset pin on CPLD. |
18:37.45 | pH5 | I have just submitted (very) basic magician support to LAK, let's see where this goes. |
18:38.51 | cr2 | ok. |
18:39.44 | cr2 | strange. |
18:40.07 | cr2 | i get a flood of gpio1 interrupts when i insert the USB cable. |
18:40.40 | *** join/#htc-linux dcordes__ (n=dcordes_@f048233201.adsl.alicedsl.de) |
18:40.42 | cr2 | http://wiki.xda-developers.com/index.php?pagename=AthenaGPIO |
18:41.49 | pH5 | athena doesn't use pxa udc? |
18:42.48 | cr2 | i don't understand the usb setup completely. |
18:43.19 | cr2 | the isp1583 driver is there, writes a lot in dmesg, but i don#t see anything with haret. |
18:45.51 | Zoolooc | hi there |
18:46.01 | pH5 | hey Zoolooc |
18:46.07 | Zoolooc | cr2: is this what you asked me to try? http://pastebin.ca/791061 |
18:46.13 | Zoolooc | hey pH5 |
18:47.19 | cr2 | Zoolooc: yes. |
18:48.22 | cr2 | Zoolooc: you can try to do 'pd' and 'addlist mmutrace' on the unknown address space blocks. |
18:49.27 | dcordes__ | amazing to see wince automagically using my hardware |
18:50.33 | Zoolooc | are these (and wi too) commands which do not show up in haret's help? |
18:50.55 | cr2 | watch is in help |
18:51.02 | cr2 | addlist is in help |
18:51.28 | dcordes | ah what's wrong with my wifi. iwconfigarrrgh |
18:52.12 | Zoolooc | but you didn't say about watch, you said "pd" which I can't see |
18:52.40 | cr2 | ok. |
18:52.42 | Zoolooc | can't see WI either |
18:53.00 | cr2 | pd 0xphysaddr size |
18:54.58 | Zoolooc | shit my kaiser went into standby and closed WLAN connection |
18:57.32 | cr2 | hm. now i don#t understand why haret decodes the hermes CPLD accesses, but not the athena cpld accesses. |
18:58.04 | cr2 | aah. ok. |
19:02.15 | *** join/#htc-linux kiozen (n=oeichler@rgnb-4db03ffb.pool.einsundeins.de) |
19:13.39 | cr2 | pH5: puzzling |
19:50.19 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-103-152-149.karneval.cz) |
19:54.51 | *** join/#htc-linux wild (n=root@st5a11.di.uniba.it) |
19:55.02 | wild | we BabelO are you here? |
19:55.33 | BabelO | wild: yes |
19:55.33 | cr2 | pH5: it seems to me that pxa27x_usb is not used. |
19:56.45 | cr2 | pH5: the host is pxa27x (1.1) and the client is isp1582(2.0) |
19:56.48 | wild | woww :) i try to compile aodv-uu with arm compile for my kernel (yesterday thankyou for your help i compile it) in my blueangel, but i have a lot of difficult... can you help me? |
19:57.09 | BabelO | wiwhat is that ? |
19:57.22 | cr2 | pH5: really bizarre. |
19:57.42 | BabelO | cr2: bizarre vous avez dit bizarre, comme c'est bizarre ;) |
19:57.58 | wild | is a protocol.... have you ever compile a module with cross compile for your kernel?.. |
19:58.29 | cr2 | BabelO: htc is simply crazy. |
19:58.32 | wild | when i compile with makefile ad-hoc for arm, i have a lot of error like: stdio.h no such file or directory |
19:58.50 | wild | what does mean? sorry for my english |
19:59.36 | wild | i set right path |
19:59.47 | wild | but nope :( |
20:00.04 | BabelO | wild: do you have link to this tgz sources ? |
20:00.14 | wild | ok |
20:00.16 | cr2 | BabelO: but that means i can connect the USB stick and use pxa27x usb host :) |
20:00.18 | wild | one moment |
20:00.28 | BabelO | cr2: on athena ? |
20:00.32 | cr2 | yes. |
20:00.36 | pH5 | cr2: makes sense, pxa27x udc doesn't support hi-speed, right? |
20:00.41 | cr2 | yes. |
20:00.44 | pH5 | hi BabelO |
20:00.52 | wild | http://core.it.uu.se/core/files/aodv-uu-0.9.5.tar.gz |
20:00.56 | cr2 | pH5 but why not use the 2.0 host ?? |
20:01.12 | pH5 | because isp1582 is a peripheral controller only? |
20:01.14 | wild | BabelO: let me know... |
20:01.22 | wild | thankYOU!!! |
20:01.32 | cr2 | pH5: the EPSON chip also has usb. |
20:01.53 | cr2 | but it will hurt performance indeed. |
20:02.27 | cr2 | it seems they used in on older board revs. because there is a v03usb driver in wince. |
20:03.06 | cr2 | pH5: which machine use pxa27x usb host for the disks ? |
20:04.12 | cr2 | V03USB: 1583 on board |
20:04.14 | cr2 | Board ID: 6 |
20:04.14 | cr2 | 1583 on board |
20:04.29 | cr2 | ISP1583 USB20 Intr En |
20:04.50 | cr2 | SOhcdPdd - Init called: USBHRegs:380000 CLKMGRRegs:370000 |
20:05.02 | cr2 | M+Enable Host VBUS power (1) |
20:05.03 | cr2 | -Enable Host VBUS power |
20:05.03 | cr2 | +Enable Over current protect |
20:05.03 | cr2 | -Enable Over current protect |
20:05.03 | cr2 | Over current detect active low |
20:05.09 | cr2 | ok. now that makes sense. |
20:05.22 | wild | BabelO: i made the Readme arm procedure with two compiler: 1)arm-linux-gcc and with 2)arm-none-eabi-gcc but i have the same problem with path of files: No such file blablabal |
20:06.30 | cr2 | athena looks like a really crazy machine now. |
20:08.47 | cr2 | it seems the best to make usbh and BT work and login over bluetooth. |
20:09.06 | pH5 | cr2: bluecore? |
20:09.54 | cr2 | brf6150 |
20:10.13 | cr2 | usbh for the rootfs |
20:10.29 | BabelO | wild: only daemon don't want to compile |
20:10.50 | wild | BabelO: what? |
20:12.30 | cr2 | pH5: it seems that mainstone has a similar usbh config. |
20:12.59 | cr2 | i only need to check the uhcr |
20:13.15 | pH5 | hm, I should learn about usbh configuration some day. for magician I just copied the uhcr values from haret without understanding anyting :) |
20:14.03 | dcordes | earphones of htc headset are huge^^ |
20:17.21 | BabelO | hi pH5 |
20:17.59 | cr2 | hehe. the first device that does not use udc. |
20:18.24 | wild | BabelO: what you can tell me about my previous question? :( |
20:19.00 | BabelO | wild: i lll look but don't want to compile, always same error |
20:19.28 | wild | oh no :( ok!..... |
20:20.18 | wild | if you have any news let me know! i'm in university now... at 21:21 pm :( |
20:20.33 | wild | i try to solve this pèroblem! |
20:20.37 | BabelO | pH5: what do you know about htis error libgcc_s.so: could not read symbols: File in wrong format |
20:20.52 | BabelO | wild: ok, i need to eat something ;) |
20:21.10 | BabelO | wild: so not now |
20:21.30 | wild | BabelO: are you here tomorrow?.. |
20:21.35 | pH5 | BabelO: no, I have never seen that. |
20:21.45 | wild | at about 19-20 |
20:21.48 | *** join/#htc-linux kiozen (n=oeichler@rgnb-4db03ffb.pool.einsundeins.de) |
20:21.51 | pH5 | incompatible toolchains? |
20:22.06 | BabelO | pH5: it is with arm-linux-gcc ouput -o list o f object .. |
20:22.18 | BabelO | i can try with another yes |
20:22.42 | BabelO | wild: not sure, tomorrow it is my day out, for pub time ... lol |
20:22.54 | wild | amuhamauha |
20:23.07 | wild | ok ok! :) |
20:23.43 | *** join/#htc-linux |dion| (n=dion@inhex.net) |
20:24.29 | wild | can you send me a mail about that problem? if you solve it? i can put your name in my university work at this page: http://www.di.uniba.it/~scaporaso/ |
20:26.58 | wild | email is: wildspecial@yahoo.it <- no main mail (for spam) but you can send me at this address |
20:27.32 | BabelO | wild: ok no problem |
20:27.58 | wild | thankyou very much! BabelO ...ehmm what is your name? |
20:28.19 | BabelO | wild: fabrice, french ;) lol |
20:29.14 | wild | ok Fabrice see you soon! opsss :) you should hate italy :) |
20:32.53 | cr2 | ok, now i need the spi keyboard driver :) |
20:33.03 | kiozen | BabelO: too dump to find it in the logs: where do I have to hit qtopia to get rid of quick dial? |
20:33.50 | cr2 | kiozen: i'll do the following now. i'll add the CPLD support code to c550 for you to test. |
20:34.25 | kiozen | cool! does it have a laser? |
20:34.58 | cr2 | :) |
20:34.59 | BabelO | kiozen: in xml file /opt/Qtopia/etc/default/your theme/homescreen.xml |
20:35.11 | kiozen | thanks |
20:39.16 | kiozen | BabelO: don't have /opt/Qtopia/etc/default/your theme/homescreen.xml |
20:39.31 | BabelO | kiozen: wait i look on BA |
20:40.04 | kiozen | I do have /opt/Qtopia/etc/default/Trolltech/*.conf |
20:40.17 | dcordes | cr2, I got latest haret up and running on kaiser and I'm connected to it through the telnet pythong script |
20:40.24 | BabelO | kiozen: /opt/Qtopia/etc/themes/ |
20:41.35 | BabelO | kiozen: or you can use another theme |
20:42.05 | kiozen | first have to findout wichone I have :) |
20:42.29 | BabelO | kiozen: in finxi.conf for example , you can comment DialerConfig |
20:43.02 | BabelO | kiozen: your default theme is in etc/default/Trooltech/qpe.conf |
20:43.16 | BabelO | kiozen: or you can see it in qtopia menu->settings->apparence |
20:43.35 | kiozen | got finix can you read minds? |
20:45.04 | GPFaway | where is the latest hermes build located? |
20:45.41 | cr2 | dcordes: http://wiki.xda-developers.com/index.php?pagename=TitanMemoryMap |
20:46.49 | dcordes | cr2, this may sound dumb now but what about TitanMemoryMap? |
20:47.04 | BabelO | kiozen: is it ok now ? ;) |
20:47.30 | kiozen | no, but I have found the right corner to hit :) |
20:47.37 | cr2 | kiozen: the kernel compiled to me now. |
20:47.47 | kiozen | and the laser? |
20:48.08 | cr2 | dcordes: look with 'pd' if you'll find something useful in the undocumented areas. |
20:48.30 | cr2 | dcordes: start with 0xb6000000 0x88000000 2 |
20:48.57 | cr2 | pd 0x88000000 0x200000 |
20:49.03 | cr2 | will drop 2MB. |
20:50.59 | cr2 | kiozen: i don't want to commit untested code to CVS, can you boot with my zImage ? |
20:51.05 | dcordes | I think I need that arm objdump application frist |
20:51.30 | kiozen | nothing in my mailbox :) |
20:52.33 | cr2 | kiozen: sent. |
20:52.58 | kiozen | cr2: got it. testing.. |
20:54.41 | *** part/#htc-linux welp (i=welp@gentoo/developer/colchester-lug.member.welp) |
20:55.33 | dcordes | cr2, do I? |
20:56.32 | cr2 | dcordes: no. btw, you have it if you have cegcc |
20:56.49 | dcordes | Zoolooc, passed me his binary |
20:57.34 | dcordes | didn't compile myself |
20:57.49 | cr2 | ok. it does not matter. |
20:58.55 | kiozen | cr2: no :( |
20:59.04 | kiozen | same result |
21:02.18 | cr2 | kiozen: does it boot ? |
21:02.27 | kiozen | no not at all |
21:02.35 | cr2 | ok. |
21:03.17 | kiozen | turning off mmu... and then the screen fades grayish, all other lights off |
21:03.18 | BabelO | kiozen: you can make a clean xml file for your pda |
21:04.02 | kiozen | Babel=: not now. cr2 trashed the kernel ;) |
21:05.59 | cr2 | kiozen: ok, then the lcd power gpios just gone off. |
21:07.11 | kiozen | not only the lcd power gpios :P |
21:08.50 | cr2 | kiozen: can you 'pd 0x10000000 0x100' and pastebin the output ? |
21:09.10 | kiozen | ok... |
21:09.17 | *** join/#htc-linux welp (i=welp@gentoo/developer/colchester-lug.member.welp) |
21:11.24 | kiozen | cr2: http://pastebin.ca/791364 |
21:13.18 | cr2 | kiozen: ok, so we trash these 0xf and 0x2. if this register is really readable. |
21:14.33 | cr2 | kiozen: can you do 'addlist mmutrace p2v(0x10000000) 0x100' and watch the changes when your lcd goes on and off ? |
21:14.47 | kiozen | ok .. |
21:14.49 | dcordes | cr2, you told me to dump for titan memory map. Is that your purpose or shall I use http://wiki.xda-developers.com/index.php?pagename=KaiserMemoryMap ? |
21:15.04 | cr2 | telnet to another port (listen command) and use 'setlcd' i think. |
21:15.41 | cr2 | dcordes: the internal register spaces do not differ. |
21:15.50 | dcordes | ok |
21:16.43 | dcordes | cr2, I'm getting Exception while reading from adress bllablub |
21:17.08 | kiozen | hm addlist returns immediately |
21:17.39 | pH5 | kiozen: that's the way it should be |
21:17.52 | pH5 | it just adds an entry to a list variable, you can look at it with the show command |
21:18.10 | dcordes | cr2, with 0000000 | ......... in between |
21:18.17 | dcordes | is that normal behaviour for the operation? |
21:18.20 | pH5 | kiozen: the changes you'll see with another 'wi' |
21:18.33 | dcordes | cr2, I ran pd 0xb6000000 0x88000000 2 |
21:19.15 | kiozen | ok, wi does print a lot of stuff |
21:20.08 | dcordes | cr2, http://pastebin.ca/raw/791379 |
21:21.17 | cr2 | dcordes: pd 0x88000000 0x1000 |
21:21.26 | cr2 | that will look better :) |
21:22.39 | kiozen | cr2: wi prints too much.. do you really want that? |
21:23.47 | cr2 | kiozen: can you filter out the changes at 0x1000000x ? |
21:24.38 | cr2 | the problem is that there are 4 LCDs with different setups ;) |
21:24.44 | kiozen | cr2: ??? typical line looks like 001.908(0003250) IRQS ICIP: TMR0(26)=1 |
21:25.02 | cr2 | kiozen: ibit irqs 26 |
21:25.17 | cr2 | just mask the timer |
21:25.29 | dcordes | ~lart wince |
21:25.29 | apt | takes a large goose feather pillow and swings it wildly in wince's direction, hitting wince and sending wince flying into the closet |
21:27.38 | dcordes | cr2, "pd 0x88000000 0x1000" says pretty much the same |
21:27.59 | cr2 | dcordes: ok. |
21:28.32 | cr2 | dcordes: try 0xa0000000 |
21:28.34 | kiozen | cr2: http://pastebin.ca/791394 lcd on->off but I doubt that it is what you want |
21:28.43 | dcordes | now it quit. |
21:28.43 | cr2 | and the other undocumented. |
21:28.58 | cr2 | dcordes: restart haret |
21:29.54 | cr2 | kiozen: gpio12 is wifi irq ? |
21:30.00 | dcordes | HaRET(1)# pd 0xa0000000; line 1: Expected <addr> <size> |
21:30.44 | kiozen | possible, I link via wifi |
21:31.05 | dcordes | cr2, "pd 0xa0000000 0x1000" gave me a bunch of "a0000f10 | 00000000 00000000 08000010 00000000 | ................" |
21:31.09 | cr2 | dcordes: pd 0xa0000000 0x1000 |
21:31.21 | cr2 | ok. |
21:31.22 | dcordes | is that what I want? |
21:31.30 | cr2 | yes. |
21:31.40 | cr2 | look at 0xa01... |
21:31.59 | cr2 | we want to filter out completely empty areas. |
21:32.26 | dcordes | that gave things like }^.............. |
21:32.40 | dcordes | a0100e10 | a88a5e7d 00000000 00000000 00000000 | }^.............. eg |
21:35.33 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
21:35.46 | cr2 | ok, so it's not empty. |
21:36.32 | dcordes | cr2, so it's all about that last section? |
21:37.41 | cr2 | yes. and the 0xb* looks strange too. |
21:39.51 | dcordes | cr2, I notice the haret logs. Is required (non empty) info saved in them? |
21:41.12 | dcordes | ah I see everything. |
21:43.19 | *** join/#htc-linux TimRiker (n=timr@rikers.org) |
21:45.57 | cr2 | kiozen: i see that you also have the same ohci setup as athena. you'll be able to connect garmin and run qlandkarte :) |
21:46.31 | kiozen | hm actually I want the get rid of garmin :) |
21:46.48 | cr2 | was a joke :) |
21:47.13 | kiozen | more likely I want to connect to a BT GPS |
21:47.27 | kiozen | cr2: you need anything else? |
21:47.59 | cr2 | no, i'll look at the bootloader for more data. |
21:48.03 | *** join/#htc-linux Mineque (n=Mineque@195.60.65.50) |
21:48.43 | dcordes | is there a way to decrease the telnet timeout in wince? |
21:51.18 | cr2 | kiozen: no, garmin takes too much current. |
21:51.31 | cr2 | in the usb_storage mode |
21:51.58 | dcordes | cr2, I still don't understand things right: see how do I get this value "32MB DRAM "? |
21:53.33 | goxboxlive | cr2: a friiend of mine was testing the linux installer. His device started to flash purple/green. |
21:54.30 | goxboxlive | cr2: forget it, he was joking |
21:54.37 | cr2 | :) |
21:54.49 | goxboxlive | i will kick his balls when i meat him |
21:54.58 | cr2 | goxboxlive: LOL |
21:55.23 | cr2 | goxboxlive: there was something strange with the brightness sensor |
21:55.46 | cr2 | the SPL set it as input for some reason. |
21:55.54 | cr2 | where can i get the G4 SPL ?? |
21:56.16 | pH5 | g4 spl? |
21:56.51 | cr2 | pH5: there are later models with g4 instead of g3. |
21:56.54 | pH5 | isn't only the ipl doc specific? |
21:57.11 | pH5 | on herald there are two ipls, but spl is the same for h3/g4. |
21:57.37 | cr2 | pH5: yes, but the SPL is certainly newer than my 0.51 |
21:57.47 | pH5 | I see. |
21:57.47 | cr2 | on a g4 device. |
21:58.40 | cr2 | pH5: i've seen a post on the hx4700 ML about changing the ati pixclock |
21:59.16 | cr2 | pH5: you can check with the latest haret CVS if it is really so. |
22:01.51 | ellisway | evening all |
22:05.15 | cr2 | ellisway: the hima and athena links are empty |
22:05.17 | pH5 | hey ellisway |
22:05.37 | pH5 | cr2: wasn't that post about rotation? |
22:06.17 | cr2 | pH5: yes, but he says that the pixclock needs to be changed. you can check if it's the case with 'ATIDBG' |
22:06.54 | ellisway | they link back to linuxtogo atm |
22:07.30 | cr2 | the w32x0 output should be correct. on w228x only the PLL settings are ok. |
22:07.59 | cr2 | ellisway: well, but there is nothing there :) |
22:08.05 | ellisway | :) |
22:08.31 | ellisway | not quite sure what to do with the site how it is atm |
22:08.33 | cr2 | ellisway: i have an athena demo. and loox n560 needs some home too. |
22:09.13 | ellisway | i can send you all the info so you can update and add stuff yourself etc |
22:09.20 | cr2 | ok. |
22:09.37 | ellisway | probably best by mail |
22:09.42 | cr2 | you can also run rsync. |
22:10.35 | cr2 | pmesg the e-mail address. |
22:11.16 | cr2 | ok. |
22:11.44 | cr2 | sent. |
22:12.10 | ellisway | k |
22:14.03 | ellisway | sent |
22:14.48 | cr2 | will tak 5min |
22:15.55 | dcordes | cr2, could I disturb you again for a second? |
22:16.01 | cr2 | yes. |
22:16.33 | dcordes | I have no clue to continue. I tried to copy several of the values next to the missing field on the right from the wiki |
22:16.46 | dcordes | but always received that error message |
22:19.09 | cr2 | dcordes: ok. so 'wi' does not produce any idle output ? |
22:21.00 | dcordes | cr2, which interval shall I set? |
22:22.42 | dcordes | cr2, "# wi 2" > "Handled 749 irq, 2714 abort, 5319 prefetch, 0 lost, 0 errors" |
22:23.00 | cr2 | dcordes: try small numbers first. |
22:23.15 | dcordes | 0.1? |
22:23.16 | cr2 | dcordes: i have a small example for you |
22:23.40 | cr2 | no, if you are not spammed by the event you can set 30 |
22:24.05 | cr2 | do you see 2 areas related to the touchscreen ? |
22:25.26 | dcordes | cr2, clear text? |
22:25.43 | *** join/#htc-linux AC_Mast (i=s@gateway/tor/x-568c4545035e7b0d) |
22:26.15 | dcordes | cr2, Handled 10160 irq, 35296 abort, 70581 prefetch, 0 lost, 0 errors with "wi 30" but I see no touchscreen |
22:26.17 | cr2 | no, the physical addresses |
22:26.55 | dcordes | ah wait a second |
22:27.00 | cr2 | 0xa8100000 |
22:27.01 | cr2 | and |
22:27.21 | cr2 | 0xaa300000 |
22:27.31 | cr2 | so do the following: |
22:28.05 | cr2 | addlist mmutrace 0xb1c00000 0x1000 |
22:28.30 | cr2 | addlist mmutrace 0xb1d00000 0x1000 |
22:28.40 | cr2 | and then 'wi 30' |
22:28.45 | cr2 | now touch the screen. |
22:29.05 | dcordes | roger that |
22:29.09 | dcordes | bling |
22:29.16 | dcordes | get like 10 lines on touch |
22:29.24 | dcordes | now it endet. |
22:29.26 | cr2 | ok. |
22:29.38 | cr2 | can ou pastebin the lines. |
22:29.44 | dcordes | I touched it, got a blob of lines, then it said nothing, then exited. |
22:30.02 | cr2 | that's good. |
22:30.09 | cr2 | it's "tracing" for you :) |
22:30.18 | dcordes | cr2, http://pastebin.ca/791493 |
22:30.23 | dcordes | cool |
22:30.37 | cr2 | you can also watch for other areas, and try different hardware events. |
22:30.59 | cr2 | another interesting area is the I2C |
22:31.08 | dcordes | let me first check with the memory what exactly I did right now |
22:31.26 | cr2 | because the TSC2003 should be an i2c-controlled chip. the datasheet is available. |
22:32.20 | cr2 | ok, what you see are the touchscreen -related interrupts. |
22:33.41 | cr2 | 017.540 IRQS 94e00000: ?(16)=10000 |
22:33.54 | cr2 | the question mark is something to ask Kevin2 |
22:34.48 | dcordes | that filter I defined with addlist- do I have to clear it before I run the next test? |
22:38.03 | cr2 | yes, probably it's better to clean it, but not necessary. |
22:38.15 | cr2 | since it doens'T produce much output. |
22:38.28 | cr2 | try to trace the I2C area. |
22:38.37 | cr2 | and touch the LCD. |
22:39.56 | dcordes | ok |
22:42.00 | *** join/#htc-linux TeringTuby (n=maarten@195-241-125-243.ip.telfort.nl) [NETSPLIT VICTIM] |
22:42.27 | *** join/#htc-linux Foxdie (i=Foxdie@77.98.48.193) [NETSPLIT VICTIM] |
22:43.56 | *** join/#htc-linux TeringTu1y (n=maarten@195-241-125-243.ip.telfort.nl) |
22:47.18 | dcordes | cr2, I don't understand the syntax in the memory map- what's that +blab |
22:48.00 | dcordes | I tried "addlist mmutrace 0xb2e00000" |
22:49.14 | cr2 | +blan is the offset from the base address |
22:49.15 | dcordes | that worked then I added 0x64000000 |
22:49.33 | cr2 | addlist needs virtual_address and size. |
22:49.43 | cr2 | size should cover the registers. |
22:49.56 | *** join/#htc-linux Foxdie (i=Foxdie@77-98-48-193.cable.ubr05.harb.blueyonder.co.uk) [NETSPLIT VICTIM] |
22:50.01 | cr2 | 0x1000 is 4096 bytes. |
22:50.39 | cr2 | for i2c 0x200 is ok. |
22:50.45 | cr2 | the base address is 0xb1f00000 |
22:51.02 | dcordes | oh ok now I understand the first trace better. the first two collums define the start and ending and the third is size in ? |
22:51.59 | dcordes | cr2, I was looking at i2c not MSM_I2C |
22:52.25 | dcordes | # addlist mmutrace 0xb1f00000 0x200? |
22:52.32 | cr2 | yes |
22:54.17 | dcordes | ok now I only "scan" for events in this line MSM_I2C? Why did we set two of the "addlist mmutrace" things before with the display? |
22:55.29 | cr2 | they may be linked to each other. |
22:55.42 | cr2 | do you see the i2c commands going ? |
22:55.49 | cr2 | when you touch the screen. |
22:56.06 | dcordes | wait to sum up "addlist mmutrace 0xb1f00000 0x200; wi 30" ? |
23:07.09 | *** join/#htc-linux Marex-notebook (n=marex@vasut.kolej.mff.cuni.cz) |
23:07.09 | *** join/#htc-linux dion (n=dion@inhex.net) |
23:07.09 | *** join/#htc-linux dcordes (n=dcordes_@f048233201.adsl.alicedsl.de) [NETSPLIT VICTIM] |
23:07.09 | *** join/#htc-linux GPFaway (i=GPF@cpe-76-187-41-132.tx.res.rr.com) [NETSPLIT VICTIM] |
23:07.09 | *** join/#htc-linux ecze (n=ecze@eczema.ecze.com) [NETSPLIT VICTIM] |
23:07.09 | *** join/#htc-linux cr2 (n=konversa@crpl22.physik.uni-wuppertal.de) [NETSPLIT VICTIM] |
23:07.09 | *** join/#htc-linux markcw (n=markc@beigebox.liquidev.com) [NETSPLIT VICTIM] |
23:07.09 | *** join/#htc-linux st_lim (n=st_lim@cm119.epsilon73.maxonline.com.sg) [NETSPLIT VICTIM] |
23:07.09 | *** join/#htc-linux torarne (i=torarne@stud268.idi.ntnu.no) |
23:07.14 | *** join/#htc-linux TeringTu1y (n=maarten@195-241-125-243.ip.telfort.nl) |
23:07.14 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-103-152-149.karneval.cz) |
23:07.15 | *** join/#htc-linux Zoolooc (n=fredsiba@p54952C81.dip0.t-ipconnect.de) |
23:07.15 | *** join/#htc-linux pH5 (n=ph5@e178242010.adsl.alicedsl.de) |
23:07.15 | *** join/#htc-linux ljp (n=lpotter@203.94.178.46) |
23:07.15 | *** join/#htc-linux bd2 (n=cbou@85.21.88.2) |
23:07.15 | *** join/#htc-linux swetland (n=swetland@sunnyvale.frotz.net) |
23:07.15 | *** join/#htc-linux elysion_ (n=elysion@cd-a11.lkier.tontut.fi) [NETSPLIT VICTIM] |
23:07.15 | *** join/#htc-linux Kevin2 (n=Kevin@207-237-65-88.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com) [NETSPLIT VICTIM] |
23:08.25 | *** join/#htc-linux dion (n=dion@inhex.net) [NETSPLIT VICTIM] |
23:08.25 | *** join/#htc-linux cr2 (n=konversa@crpl22.physik.uni-wuppertal.de) [NETSPLIT VICTIM] |
23:08.25 | *** join/#htc-linux st_lim (n=st_lim@cm119.epsilon73.maxonline.com.sg) [NETSPLIT VICTIM] |
23:08.26 | *** join/#htc-linux markcw (n=markc@beigebox.liquidev.com) [NETSPLIT VICTIM] |
23:08.33 | cr2 | set permissivemmutrace 1 |
23:08.33 | cr2 | and try again. |
23:08.36 | dcordes | cr2, back. Is "permissivemmutrace 1" replacing "wi n"? |
23:09.59 | dcordes | alright I just set it. done. running. |
23:10.19 | dcordes | it's spamming |
23:10.44 | dcordes | cr2, "sh: arm-linux-objdump: not found" is that a problem? I will pastebin whole |
23:10.58 | cr2 | ok. |
23:11.57 | dcordes | http://pastebin.ca/791549 |
23:12.18 | dcordes | brb |
23:16.40 | dcordes | cr2, is the output any usable? I got some lines first, then silence, then I hit the TS, then the huge output, then conclusion and ending. |
23:17.44 | cr2 | yes. 100 is i2c_write, and 10c is i2c_read |
23:17.52 | cr2 | you can also try the camera. |
23:18.11 | dcordes | just a second- did you put that in the wiki? also from the first run? |
23:18.27 | dcordes | I only have the whole log from run 1 and this pastebin saved right now. |
23:19.20 | cr2 | a=b1f00100 v=00000190 |
23:19.29 | cr2 | a=b1f00100 v=00000191 |
23:19.29 | cr2 | this should be the i2c address *2(+1) |
23:19.30 | cr2 | we can compare it with the datassheet. |
23:19.41 | cr2 | search for tsc2003 on gogle. |
23:19.52 | dcordes | ok |
23:21.39 | cr2 | 100.10x |
23:22.04 | dcordes | could you detail this a bit so I learn what you just did? |
23:22.09 | cr2 | gives 44 or 45 |
23:22.51 | cr2 | hm. sorry. |
23:23.28 | dcordes | ok ^^ did you save the info though? I don't get what's important, what's not |
23:23.33 | cr2 | 1001.0xyz |
23:24.17 | cr2 | it's not very important, there is a linux tsc2003 driver, we only need to calculate the 'x' and 'y' bits. |
23:24.28 | cr2 | 1001 is 9 |
23:24.28 | dcordes | can I help with that? |
23:24.35 | cr2 | 9 is ok. |
23:24.44 | cr2 | 90 |
23:24.52 | cr2 | so 'x' and 'y' =0 |
23:25.15 | dcordes | I only understand trainstation |
23:25.20 | cr2 | so we know the i2c address. |
23:25.48 | cr2 | ok, it seem we are done with the ts. |
23:26.16 | cr2 | you were tracing the i2c commands/data send to/from the touchscreen. |
23:26.20 | dcordes | really? that's all tracing that was need for it? |
23:26.33 | dcordes | ok what is i2c? |
23:26.37 | cr2 | the details are in the tsc2003 datasheet. |
23:26.45 | dcordes | I have that pdf saved here |
23:26.52 | cr2 | i2c is a synchronous serial protocol. |
23:26.56 | dcordes | maybe I read it in 4 years when I learned something :D |
23:27.10 | cr2 | usually used for controlling consumer electronics. |
23:27.27 | cr2 | invented by philips and somebody else, i've forgot. |
23:27.31 | cr2 | probably sony. |
23:27.58 | dcordes | let wiki detail this for me |
23:28.04 | dcordes | another trace today? |
23:30.53 | cr2 | no. i'd like to go to bed :) good night. |
23:31.23 | dcordes | ok thank you very much so far |
23:31.25 | dcordes | gnite |