IRC log for #htc-linux on 20080518

00:00.39cr2hm. did somehting wrong.
00:00.55cr2please, press 'listen' button
00:01.10cr2ok
00:02.01cr220 89 spam
00:02.15cr2AC97_SYSCLK
00:02.16cr2ok
00:02.27cr2AC97_SDATA_OUT
00:02.35cr2strange that ac97 is always active
00:02.47cr2as if it plays constantly music
00:03.05lamaI don't hear anything :>
00:03.17lamamaybe it's volume setting? :P
00:04.03cr290 91 and 30
00:05.02Kevin3miknix: pong
00:05.27cr2lama: is the haret on sd card ?
00:05.38cr2Kevin3: hi
00:05.53cr2Kevin3: is it possible to do Output() without \n ?
00:05.58Kevin3Hi cr2
00:06.04Kevin3Yeah..
00:06.32cr2i've ported the 'dump pxa27x', but it dumps raw bits.
00:06.39cr2the output looks ugly.
00:06.54cr2because of \n after each bit
00:06.57Kevin3cr2: Put a \t at the end of the line.  That will prevent a newline from being appended.
00:07.11cr2ok, i'll try
00:07.19Kevin3cr2: It's ugly, but it works.  (That hack predates my involvement with haret.)  :-)
00:07.34cr2lol
00:07.34lamacr2: yes it's on clean 1gb sd
00:08.08cr2lama: well, it's better to put in on the mdoc. but you can try to remove the SD card now
00:09.12lamaok I have card
00:09.21cr2removed ?
00:09.25lamayes
00:09.44cr2can you insert it now ?
00:10.09lamait is back
00:10.18cr2ok.
00:14.42*** join/#htc-linux lama_ (n=lama@ip-89-174-40-20.multimo.gtsenergis.pl)
00:14.49lama_fsck :>
00:15.06lama_everything dies on this weekend
00:16.46lamalag!
00:18.26cr2hm. i think i have sd power.
00:18.37cr2but there are some other 2 strange gpios
00:19.30cr2ok. can you insert and remove the USB cable ?
00:19.57cr2the usb to computer, not the usb power.
00:20.10lamaI can
00:20.21lamait will active sync with windows :
00:20.22lama>
00:20.25cr2ok
00:20.34cr2do it
00:20.50lamadone
00:20.56cr2removed ?
00:22.11lamait's allredy connected to pc
00:24.13cr2ok remove and insert it
00:26.57lamadone
00:27.01lamaone more time
00:27.49cr2strange.
00:27.55cr2i see only gpio40
00:28.07cr2which is probably the usb/power detect
00:28.30cr2can you connect/disconnect the usb power supply instead ?
00:28.35lamayes
00:28.37cr2ok
00:28.53cr2you have 1.5 minutes :)
00:28.58lamadone
00:29.04lamawhy 1.5?
00:29.14cr260sec
00:29.25lamaand my phone will blow up?
00:29.33tcccpinition sequence start
00:30.03cr230
00:30.17cr2tcccp: lol
00:30.30tcccphouston, we have lift off
00:30.41lamais in vault
00:30.44cr2tcccp: do you want a linload.exe for sable ?
00:30.46lamaready for fallout
00:30.52tcccpcr2: That would be just terrific
00:30.55cr2timeout.
00:31.05cr2tcccp: compiling
00:31.57lamacr2: what now
00:33.41cr2lama: i'm thinking
00:33.56cr2lama: a lot of information already.
00:34.07lamamaybe I should plug usb keyboard
00:34.15cr2Kevin3: does the pxa kernel support memory holes ?
00:34.17lamaor change usb settings in phone
00:34.46cr2Kevin3: this phone has 64MB @0xa0000000 and 64MB @0xb0000000
00:35.08lamait can work as usb storage
00:35.34Kevin3cr2: Someone on the haret mailing list had a similar issue on their phone.  They had a pxa3xx device.
00:36.01cr2Kevin3: sa1100 could do it many years ago.
00:36.08lamaand there is usb to pc setting with "advanced network" or something like that
00:36.11*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
00:36.17dcordeshi
00:36.17aptmoin moin
00:36.20cr2lama: it does not matter.
00:36.22dcordeshi apt
00:36.29dcordes,cr2, others.
00:36.51dcordescr2: was just to checkout video call fifos
00:37.04lamacr2: as I have said earlier it has strange usb cable
00:37.08dcordesI can't find a video call function in my rom
00:37.10cr2Kevin3: ok, the \n issue is resolved.
00:37.28lamapins number 5, 6 and 10 are used for charging
00:37.49Kevin3cr2: From what I recall, the way wince got around it was to use memory from 0xac000000 - 0xb4000000.  They got linux running using the same trick.
00:37.50lamawhere most of the phones have only 5 pins (?)
00:38.48cr2Kevin3: ok, i'll start with 64MB first.
00:39.37cr2Kevin3: hmm. i doubt that pxa27x has some SDRAM remapping capabilities
00:40.32cr2tcccp: need to reformat miniSD ;)
00:40.49tcccpcr2: That's ok ;)
00:41.04lamamy miniSD ?:P
00:41.18tcccplama: shred(1) is nice ;)
00:41.19dcordeswhat are you guys hacking on?
00:41.46tcccpdcordes: I'm about to shoot my hp hw6915 if I cannot boot linux on it
00:42.09Kevin3cr2: On this person's phone accessing the hole between 0xa4000000 - 0xafffffff caused accesses to 0xa0000000 - 0xa4000000.  So, one could get a linear mapping of ram by pretending ram starts at 0xac000000.
00:43.43dcordessomebody knows how to do a video call in windows mobile 6?
00:44.50cr2Kevin3: ok
00:46.54cr2lama: i've updated the haret-w.exe
00:47.56tcccpcr2: I know exactly why I have taken my 2G miniSD card with me
00:48.35tcccpis not at his present home at the moment
00:48.57cr2lama: install the new haret-w.exe
00:49.33cr2tcccp: copying
00:49.48lamacr2: ok
00:50.25lamaoh haret chrashed :>
00:50.28tcccpexpecting ;)
00:51.21lamaharet-w.exe             17-May-2008 17:46   141k
00:51.28lamais this newest?
00:51.36lama17:46?
00:51.45tcccpwhich TZ?
00:51.48lamais server outside europe?
00:51.53lamatcccp: don't know
00:52.02cr2f89da6c25964daa245fbe5735ba5ab16  haret-w.exe
00:52.13cr2sf.net is in the US
00:52.27tcccpSo it could be pacific standard time?
00:52.51lamacr2: heh, I'm using windows now there is no C:\Windows\System32\md5.exe lol
00:53.01cr2tcccp: hm. made an error. recompiling.-
00:53.17cr2lama: sha512 ?
00:53.39tcccptake your time - ich hab eh grad ne frau im query
00:54.03lamacr2: you can connect now
00:55.21cr2tcccp: ok, it booted
00:55.38cr2tcccp: but i don't have the root partition now ;)
00:55.42cr2lama: ok.
00:55.59cr2tcccp: what sd layout would you prefer ?
00:56.03tcccperm?
00:56.24cr2tcccp: the kernel booted, but there is no rootfs to mount ;)
00:57.02tcccpThe loadlinux can start the kernel with a cmdline hm?
00:57.25cr2lama: exceljent
00:57.39cr2tcccp: no, the cmdline is hardcoded.
00:58.09cr2tcccp: ok, let's check if it boots for you first.
00:58.19tcccpaye
00:58.27tcccpthat would be terrific
00:58.29cr2then you can just dump the rootfs on partitionless SD
00:58.44cr2it boots for me(tm(
00:58.55tcccpI think I have enough forensic tools here to do any sort of pervert stuff ;)
00:59.03cr2lol
00:59.28cr2you only need to untar the rootfs to partitionless sd card.
01:00.02tcccpdd if=/dev/mmcblk0 of=iPaq2G.raw
01:00.06tcccp;-)
01:00.38tcccpI love HPs internal cardreaders
01:00.42dcordesI need dutty rom
01:01.15cr2lama: ok. i've finished for now.
01:03.16dcordescr2: do you know where I can get dutty's stuff?
01:03.23lamaok, tx for your work :P
01:03.55cr2tcccp: http://jonrada820.sf.net/files/haret
01:04.00lamaI might not be available next week
01:04.04cr2hm
01:04.13tcccplolz
01:04.21tcccpcr2: I'm error-correcting, thanks ;)
01:04.24cr2lama: ok, i'll try to create the kernel for g900
01:04.31cr2<PROTECTED>
01:04.43cr2<PROTECTED>
01:04.44tcccpgot it - thanks
01:06.09cr2lama: the most important thing now is to find the touchscreen chip model.
01:07.07cr2and i need to undestand why (and what for) they use 2 spi ports.
01:07.32*** join/#htc-linux Othello (i=Magorium@gateway/tor/x-b2f4556abaa4ba55)
01:08.14lamacr2: when should I expect kernel to try?
01:10.18tcccpcr2: What's the kernel name the linload tries to boot?
01:10.53tcccpaaah!
01:10.57tcccpi love hexdump
01:11.22tcccpbut what's %s?
01:13.08tcccpcr2: I'd kiss you if you were female
01:13.12tcccpcr2: boots just fine
01:13.31tcccpcr2: The kernel boots just fine till it's trying to mount root
01:15.02tcccpcr2: I just need the miniSD partition scheme and should be able to have something booting in no time at all
01:16.09tcccpaah
01:16.28tcccpzimage root=/dev/ram0 ro console=tty0
01:16.36tcccphexdump++;
01:17.03tcccpand from there mmcblk0p${int} I guess
01:17.25tcccpah, root=/dev/mmcblk0
01:17.28tcccperm
01:17.30tcccphmhm
01:17.37tcccprootdelay=5, seen...
01:17.38cr2tcccp: it's built for raw /dev/mmcblk0
01:17.48cr2but i can change it if you'd like
01:18.10tcccpWell the Debian on that miniSD is kinda flexible
01:18.14cr2lama: hmm. good question.
01:18.34tcccpI'm Gentoo user so...I'm quite flexible, too doing nasty stuff with disks ;)
01:19.07cr2tcccp: i didn't compile the modem tty discipline driver, because i have no clue if it works at all. you may check the test program by lkcl
01:19.55tcccpc'mon, 416MHz. This little piece of silicium can compile an own kernel as soon as I'm logged in ;)
01:19.59cr2lama: watch the g900 wiki at hh.org. I'll post if i'll have something usable there.
01:20.09lamaok
01:20.34cr2good night.
01:20.44tcccpgood night cr2 and thanks!
01:21.49tcccpI have never tried to build a filesystem on a raw disk w/o partitions.
02:25.38*** join/#htc-linux revertive (n=revertiv@83.119.75.151)
02:38.15*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-272a82f4ea6e0d11)
04:31.38*** join/#htc-linux mistadman (n=mistadma@adsl-6-115-67.msy.bellsouth.net)
04:32.22mistadmanHello!
04:33.11mistadmanIf anyone is interested, I have managed to get Android booting on the Athena: http://www.youtube.com/watch?v=HtlcCQSRmiA
04:55.45*** join/#htc-linux LunohoD_ (n=alex@e180068092.adsl.alicedsl.de)
05:02.45*** join/#htc-linux mistadman (n=mistadma@adsl-6-115-67.msy.bellsouth.net)
05:23.07*** join/#htc-linux revertive (n=revertiv@83.119.75.151)
06:37.57*** join/#htc-linux hlbot (n=adm@iclem.net) [NETSPLIT VICTIM]
06:39.11*** join/#htc-linux NiZoX (n=nizox@eros.ph0k.eu)
06:39.30*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes) [NETSPLIT VICTIM]
06:40.32*** join/#htc-linux surgex0 (i=surge@pool-71-186-234-216.bflony.fios.verizon.net) [NETSPLIT VICTIM]
07:25.07*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbf8cab.pool.einsundeins.de)
07:26.46*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
07:29.41*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
08:15.59*** join/#htc-linux p3t3r__ (n=p3t3r__@wlan.net-you.de)
08:19.03*** join/#htc-linux mistadman (n=mistadma@adsl-6-115-67.msy.bellsouth.net)
08:39.57*** join/#htc-linux patoche (n=Patrice@lns-bzn-30-82-253-137-194.adsl.proxad.net)
09:16.55*** join/#htc-linux mistadman (n=mistadma@adsl-150-63-28.msy.bellsouth.net)
09:25.18*** join/#htc-linux exc1 (n=exco@e181078016.adsl.alicedsl.de)
10:09.12*** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
10:44.45*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1daa1.pool.einsundeins.de)
10:45.06kiozenhi
10:45.06apthi, kiozen
10:45.23kiozenthanks apt, very polite
10:45.23aptkiozen: sure thing
10:45.42kiozenhey who gave drugs to apt?
10:50.17kiozencr2: around?
10:50.50*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
10:51.33*** join/#htc-linux patoche (n=Patrice@lns-bzn-30-82-253-137-194.adsl.proxad.net)
10:52.23cr2kiozen: yes. disassembling the driver, don't understand why it doesn't work.
10:52.58kiozencr2: ok, got "sturmfrei" for a few days, anything I can do?
11:00.34BabelOhi
11:01.23kiozenapt say hi to BabelO!
11:01.24apthi to BabelO!
11:01.34kiozenhi
11:01.46BabelOlol :)
11:02.04BabelOkiozen: it seem he say hello to first guy of the day saying hi or hello
11:02.31kiozenand I thought he is stalking me :)
11:03.32BabelOcr2: if i can help you on lcdspi :)
11:05.18*** join/#htc-linux miknix (n=miknix@bl4-95-76.dsl.telepac.pt)
11:20.51*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-d7732c43721b424a)
11:21.28*** part/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-d7732c43721b424a)
11:28.49*** join/#htc-linux hlbot (n=adm@iclem.net)
12:09.59BabelOcr2: ts works :)
12:10.08miknixKevin3, ping
12:11.21*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
12:18.44*** join/#htc-linux snakefreak (n=snake@dyndsl-091-096-095-182.ewe-ip-backbone.de)
12:20.06*** join/#htc-linux zwox_ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net)
12:25.43*** join/#htc-linux zwox__ (i=zwox@par69-7-82-243-234-94.fbx.proxad.net)
12:36.13*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1daa1.pool.einsundeins.de)
13:25.24*** join/#htc-linux patoche (n=Patrice@lns-bzn-30-82-253-137-194.adsl.proxad.net)
13:48.07*** join/#htc-linux pigeon_ (n=pigeon@218-214-60-232.people.net.au)
14:05.01*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-d5ab7e35d11fc810)
14:06.38*** join/#htc-linux SpiceKitty (n=Californ@113.73.71-86.rev.gaoland.net)
14:07.48*** join/#htc-linux andy_js (n=andy_js@AAmiens-152-1-3-1.w83-192.abo.wanadoo.fr)
14:07.52SpiceKittyI dunno if this is the best channel to ask but, is it possible to transform a gsm in a talkie/walkie (regardless of the law)
14:07.56SpiceKitty?
14:08.20SpiceKittywhat would be the reach of such a device?
14:11.38SpiceKittydepending on the areas, are the frequencies band all occupied?
14:20.58tcccpIsn't there already a push-to-talk service in some regions?
14:21.10tcccpor provided by some providers?
14:21.54tcccpIn Germany the providers praise it as a whole new invention ;)
14:23.07cr2<PROTECTED>
14:23.07aptniihau, cr2
14:23.12tcccphi cr2!!!!
14:23.28cr2you need a base station, and the handsets do frequency hopping.
14:23.34tcccpcr2: Booting the kernel went just fine - now I'm tweaking around the Debian on my disk
14:24.05cr2there are some projects going in this direction, but they are surely under the radar.
14:24.23cr2tcccp: ok.
14:24.26tcccpSpiceKitty: There are a couple of cellphones with a push-to-talk function. I'd advise to buy some cheap pmr walkies
14:24.38tcccpSingle point of failure: No go ;)
14:24.52dcordeshttp://www.gnu.org/software/gnuradio/
14:26.01cr2a gsm handset is a personal tracking and money milking device. that were the design features.
14:26.40tcccplol
14:26.53tcccpThe gsm program on my iPaq is totally confused
14:27.07tcccp"no service"
14:27.09dcordesSpiceKitty: look at this http://wiki.thc.org/gsm
14:28.10cr2SpiceKitty: in theory 35km (afair)
14:29.16cr2SpiceKitty: but you need a complex infrastructure and a strong battery. and i doubt the handset will work at full power for a long time.
14:29.51cr2it'll will die rather fast.
14:30.45SpiceKittyyep but the power could be adjusted to the desired range
14:31.15cr2you need a base station anyway.
14:31.37SpiceKittywhy?
14:31.56cr2read  http://wiki.thc.org/gsm first
14:31.58SpiceKittysorry but it the two gsm can reach a distance
14:32.43cr2even if they lie side by side, they can't really talk to each other.#
14:32.56tcccpSpiceKitty: Buy a walkietalkie set ;)
14:33.04SpiceKittyeh no
14:33.21SpiceKittythats not regular
14:33.30tcccpthats unleaded?
14:33.42SpiceKittywhy cant they really talk?
14:33.49SpiceKittyis that hardware related?
14:33.58dcordesthen read everything at the link above and probably notice it's more work than you though it would be
14:34.22SpiceKittyI agree it is surely a big work
14:34.28miknixSpiceKitty, did you have a look at gsm infrastructure?http://en.wikipedia.org/wiki/GSM
14:34.41SpiceKittyok
14:34.50SpiceKittyI retire this idea
14:34.56miknixSpiceKitty, as cr2 said, you cant simply put two stations communicating
14:40.10tcccpSpiceKitty: Wait till the x-tals have software encoded frequecies ;)
14:41.10SpiceKittywhy?
14:41.19SpiceKittyI'm reading the projects page
14:41.37tcccpIf there are cellphones with such a chip that can run linux for example, you should be able to somehow abuse it ;)
14:42.40*** join/#htc-linux revertive (n=revertiv@83.119.75.151)
14:49.08tcccphaha
14:49.12tcccpdebootstrap is stupid
14:49.56tcccpEvery semi-intelligent programm would have noticed that an amd64 system cannot chroot into a arm directory structure
14:53.22*** join/#htc-linux cods (n=cods@tuxee.net)
14:55.17*** join/#htc-linux patoche (n=patrice@lns-bzn-30-82-253-137-194.adsl.proxad.net)
15:01.02*** join/#htc-linux patoche (n=patrice@lns-bzn-30-82-253-137-194.adsl.proxad.net)
15:05.19dcordescr2: what can I do to get the damn *.send fifos working?
15:06.12cr2dcordes: repair haret tracing.
15:07.17dcordesI can't
15:12.58dcordesoh btw I should tell Kevin3 about the missing cpld register
15:13.25miknixoh
15:13.33miknixdcordes, you have an herald right?
15:13.58dcordesKevin3: in regs_msm.py there is a line missing
15:13.59dcordesRegs_msm7500 = { 0xc0000000: ("IRQ", regOneBits("IRQ")), 0xc0000004: ("IRQ2", regOneBits("IRQ2")),
15:14.23dcordesmiknix: no, kaiser
15:15.02miknix: \ I'm always mistaken with htc devices
15:15.13dcordesthey are too many
15:16.11dcordesKevin3: are there any news concerning msm mmutrace?
15:17.53miknixgoing to play homeworld 2 while the coffee doesnt make effect
15:20.50dcordescr2: I do not understand why we found out how to make recv work w/o mmutrace but can't make the send work w/o mmutrace
15:22.09snakefreakanybody can me give a answer? when i buy a new (not orginal htc) akku/engine for my uni is it working with linux power display?
15:22.43cr2dcordes: it was not me :)
15:22.57cr2snakefreak: if this battery has ds2760 then yes.
15:23.06snakefreakok^^ thx
15:23.23cr2snakefreak: there are fake batteries around, that don't have it.
15:23.28dcordescr2: you helped. iirc you looked up some values from the smem.dll
15:23.40dcordesor whatever that file is named
15:23.57cr2dcordes: no, the values i've seen do not match.
15:23.58dcordesand what dzo gave me came from the smem dump
15:23.59*** join/#htc-linux CVirus (n=GoD@196.205.193.11)
15:24.05dcordesok
15:24.27cr2smem on kaiser != smem on other 7500 phones.
15:24.48cr2i don't have a smem dumped from a kaiser
15:25.08cr2and it's complex anyway.
15:25.27cr2tracing the sram access would have been easier.
15:26.26dcordescr2: I know the regs differ along the various types of the msm7x00x and dzo looked them up from a kaiser, not vogue dump. no idea where he got it
15:26.46dcordesI always was assuming you already had smem dumps
15:26.56dcordes(From kaiser)
15:29.33dcordescr2: may I send you some?
15:30.36*** join/#htc-linux jeanseb (n=jeanseb@88.164.32.155)
15:33.48Kevin3miknix: pong
15:33.58Kevin3dcordes: Nothing new - it'll take a bit of work.
15:35.01dcordesany way I can help?
15:35.28miknixKevin3, I was testing the bbkeys on wizard
15:36.08Kevin3dcordes: What's the failure situation again?  What addresses are you trying to trace?  What ends up happening?
15:36.48dcordesKevin3: I can't mmutrace the shared memory locations on kaiser
15:37.14dcordeson vogue this is not the case. it works as it should there. don't know about titan and the others though
15:38.51Kevin3miknix: I saw your note earlier about it not working.  Any ideas?  Are you able to trace accesses under wince?
15:39.15Kevin3dcordes: More info would help a lot.  Specifically, what commands do you run, and what ends up happening?
15:39.26miknixKevin3, I added a userspace sysfs file that allows me to read/write to the cpld using bbkeys_read and write functions
15:40.31miknixKevin3, http://pastebin.com/d71274cc
15:41.29miknixKevin3, all regs seems to return 0xff even when directional keys are pressed
15:43.35Kevin3miknix: We could have a different chip protocol in action here.  Are you able to trace the gpios changing under wince?
15:45.01miknixKevin3, no.. while watching in haret, leds dont even blink and if I press the touchscreen backlight doesnt turn on.
15:45.54miknixKevin3, do your chip also work through i2c?
15:48.26Kevin3miknix: I never tried, but I'm very sure it would not.  My chip only takes less bits for address than is the standard.
15:48.34miknixhum..
15:49.00miknixmy chip seems to ack every i2c id we throw at it
15:49.28miknixbut the protocol seems to be i2c compliant
15:50.01miknixKevin3, have a look at drivers/i2c/algos/i2c-algo-bit.c
15:50.34miknixmy chip understands that proto over the two bitbang gpios
15:51.52*** join/#htc-linux patoche (n=Patrice@lns-bzn-30-82-253-137-194.adsl.proxad.net)
15:53.05snakefreaki search a prog for win mobile i dont know the name but itsto oc it isnt xcpuscaler and not pocket hackmaster. anybody knows the name?
15:53.49dcordesKevin3: I was just searching the logs. can't find it
15:54.43dcordesand now the xda wiki is down so I can't explain you the problem using kaiser memory map
15:54.44BabelOcr2: do you have special settings fir tsc2046 ?
15:55.02dcordesKevin3: are you aware of the msm DEX? it is data exchange between arm9 and arm11 part of the chipset
15:55.31dcordesand I can't mmutrace these registers from wince
15:57.38Kevin3dcordes: If you have the actual mmutrace commands that you issued, I can look through your mmudump and backtrace what is happening, and what should of happened.
16:00.51dcordesKevin3: I'm looking in the log again
16:24.42BabelOcr2: perfect now :) ts works well on artemis, and my driver look generic
16:32.02dcordesKevin3: http://rafb.net/p/8YwIsu63.html
16:33.10cr2BabelO: great. will it work for miknix ?
16:33.42BabelOcr2: i think yes :) he test my last version before, and values were read
16:34.05BabelOcr2: now i need to understand the strange thing with bluetooth
16:34.15BabelOcr2: i hope suspend resume will not be too hard
16:34.34BabelOcr2: also trackball works, i found my bug :)
16:35.10cr2nice
16:38.48diogene31_is back
16:40.09BabelOwelcome back diogene31_
16:40.22diogene31_BabelO: Hi there.
16:46.29*** join/#htc-linux noelcragg (n=noel@adsl-68-121-164-151.dsl.pltn13.pacbell.net)
16:46.58*** part/#htc-linux noelcragg (n=noel@adsl-68-121-164-151.dsl.pltn13.pacbell.net)
16:53.12dcordescr2: got thedumps?
17:05.12cr2dcordes: yes
17:06.39dcordescr2: I think the descriptions are quite clear. I made the gps one after gps was in use and the at one after I (un)registred several times from the network
17:08.19SpiceKittyis gps available for elf?
17:12.57dcordescr2: my current kaiser-smd.c fifo settings look like this http://rafb.net/p/EssFUP11.html and as I said I can read but not write. a cat /dev/smd0 shows the signal level and marbalon said he also sees something when he calls his kaiser. But when I do a cat /dev/smd0 & echo -e `ATV\r` > /dev/smd0 it returns nothing. I modified kaiser-smd.c so that I get a printk with head and tail on every write. Only head changes, not tail.
17:23.17cr2dcordes: what about 'cu /dev/smd0' ?
17:40.46lamaHello World!
17:50.47*** part/#htc-linux SpiceKitty (n=Californ@113.73.71-86.rev.gaoland.net)
17:55.59*** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com)
18:01.20miknixKevin3, still there?
18:01.42*** join/#htc-linux patoche (n=Patrice@lns-bzn-30-82-253-137-194.adsl.proxad.net)
18:02.22dcordescr2: installing cu..
18:04.58*** join/#htc-linux andy_js (n=andy_js@AAmiens-152-1-3-1.w83-192.abo.wanadoo.fr)
18:09.24Kevin3miknix: Yes.
18:10.43miknixKevin3, which haret command do you use to look for gpio changes?  watch gpios 10?
18:12.34Kevin3miknix: No, you'll need to use mmutrace on the gpio registers.
18:13.12miknixKevin3, ok, I'm going to try again.. but I dont think it will work
18:18.00miknixKevin3, how do I calculate the gpio 69 and 70 register addresses?
18:18.47*** join/#htc-linux pikapika (n=pikapika@mar75-8-88-164-227-147.fbx.proxad.net)
18:19.02pikapikahi
18:19.02aptbonjour
18:19.25BabelObonjour pikapika
18:23.05Kevin3miknix: You need to look them up in the omap docs.
18:24.02miknixKevin3, well.. haret shows some addresses for some gpios: GPIO4-IM=bfefffff   GPIO5-IM=fffed7ff
18:25.53Kevin3miknix: Haret has them in the file haretconsole/regs_omap.py
18:26.10Kevin3If you know what addresses you want by the haret names, then you can find the actual address from that file.
18:32.59miknixKevin3, from linux omap gpio.c : OMAP850_GPIO1_BASE 0xfffbc000
18:36.24Kevin3miknix: looking at regs_omap.py - I'd guess you want 0xfffbd000 - for gpios 64-95.
18:36.33Kevin3So, it should be something like:  addlist mmutrace p2v(0xfffbd000) 0x20
18:36.37Kevin3And then "wi 1".
18:39.14*** join/#htc-linux hlbot (n=adm@iclem.net)
18:41.35miknixKevin3, doesnt work.. backlight doesnt even turn on during the trace
18:56.08*** join/#htc-linux marbalon (n=balon@aege32.neoplus.adsl.tpnet.pl)
19:07.40miknixKevin3, so I guess I'm going to use the i2c-cpld driver and modify it to export the gpio framework so that other boards can use it (herald)
19:08.13*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
19:16.04*** join/#htc-linux pikapika (n=pikapika@mar75-8-88-164-227-147.fbx.proxad.net)
19:28.02Kevin3miknix: Okay.
19:35.35*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
19:38.03*** join/#htc-linux akarki (n=Zsolt_Ka@67.99.190.162)
19:38.15BabelOola Marex
19:38.21Marexhi BabelO
19:38.47BabelOMarex: all works better with 2.6.26 :)
19:45.56BabelOdecoding panel timing :)
19:50.43cr2BabelO: evil lcdspi ;)
19:50.53cr2BabelO: but you have it easier
19:51.41BabelOcr2: i hope too ... suspend seem to go but not resume :( so it really need a module :)
19:54.51cr2you have 8bit values, and send only.
19:55.16BabelOcr2: that s good, so a simple spi bitbang driver is ok, there is one in 2.6.26
20:01.51cr2where ?
20:02.45BabelOcr2: http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=blob;f=drivers/spi/spi_bitbang.c;h=96cc39ecb6e234f7340fbeb62322ea1831ba9e0d;hb=5717922a1b8cc477f45a0f4f11fe619392ba7133
20:03.28BabelOcr2: with that, on the client side you just need few command to send / receive data's
20:04.41cr2ok, i've seen this monster
20:05.38BabelOcr2: not a monster :)
20:07.28cr2BabelO: http://technology.timesonline.co.uk/tol/news/tech_and_web/article3945496.ece :)
20:08.07BabelOcr2: yes already seen it :)
20:08.22cr2lol. it's a good idea to remove the battery often
20:08.33BabelOcr2: like the news google phone it will be able to make advice on phone with proximity
20:09.04cr2hehe. it seems hima/ba will be the best phone soon.
20:09.24cr2with modified omap fimrware of course.
20:10.05BabelOcr2: yes closer and closer to a good status
20:11.54cr2SpiceKitty would like that: "The receivers together cost about £20,000 to rent per month."
20:14.34BabelOcr2: i m looking for the backlight ocation
20:14.37BabelOcr2: i m looking for the backlight location
20:14.54cr2BabelO: is it not known ?
20:15.04cr2BabelO: use my latest haret
20:16.04BabelOi have Kevin3 repo here is it in ?
20:18.03*** join/#htc-linux mistadman (n=mistadma@adsl-072-148-088-137.sip.msy.bellsouth.net)
20:18.50Kevin3BabelO: Master location for haret is cvs.  I only periodically update the git repo.
20:19.11BabelOKevin3: ok
20:23.33cr2BabelO: http://jornada820.sf.net/files/haret/haret-w.exe
20:24.11cr2BabelO: you don't need "dump pxa27x", but it also has 'pwrctl'
20:24.23BabelOcr2: thanks, i try it
20:24.55cr2BabelO: so you can do "pwrctl BKL1: N" while tracing.
20:24.59BabelOcr2: did i tell you that leds on cpld are blonking by default ? first time i see that
20:27.54cr2hx4700 too
20:28.07cr2the non-asic3 leds.
20:28.19BabelOs/blonking/blinking/
20:28.38cr2for bt/wifi
20:29.21BabelOcr2: ok so that is normal, yes bt /wifi /gps led and another red led blinkingon the right( there is also a fix led on the right
20:40.55BabelOcr2: ok pwrctl works 0 is full 3 is dim
20:41.39BabelOcr2: but i use haretconsole, and i cant connect on second :(
20:45.28BabelOperfect lcd is now centered
20:47.01cr2BabelO: listen 9998
20:47.09cr2BabelO: and then telnet
20:47.26dcordescr2: cu /dev/smd0: system not found
20:47.30cr2Kevin3: is it possible to put several haret commands on one line ?
20:47.46cr2dcordes: cu -l /dev/smd0
20:48.13BabelOcr2: ah ok not by default i try again
20:48.53dcordescr2: permission denied\ line in use
20:49.06dcordesyes I'm root
20:49.12cr2dcordes: chown uucp.uucp /dev/smd0
20:49.19cr2or
20:49.26cr2chown root.uucp /dev/smd0
20:50.01cr2BabelO: i've done 'rm' on the lcdspi driver :)
20:50.35dcordescr2: chown uucp.uucp /dev/smd0 && cu -l /dev/smd0: connected.
20:50.56dcordesseeing the modem output
20:52.38cr2dcordes: type AT<enter>
20:53.22BabelOcr2: why ? bitbanging driver now ?
20:53.51dcordescr2: this shows on every keypress the printk message I told you about (the one which prints head and tail of the at send fifo) and I get no feedback from the modem.
20:54.15dcordesonly the messages which appear in a regular frequence
20:54.33cr2dcordes: hm. then something is missing.
20:54.42Kevin3cr2: No.
20:55.34cr2Kevin3: ok
20:56.05dcordescr2: sorry, but where is nothing missing?
20:57.15BabelOcr2: hm nothing on wi
21:00.37cr2BabelO: mmutrace ?
21:01.06BabelOcr2: i do mmutrace on PWL and PWT register range
21:03.39cr2BabelO: the backlight control was non-obvious to me.
21:04.02BabelOcr2: you see it in nk ? i did not see
21:05.08lamaare there any free cpu overclocking/scaling utilites for pxa 27x and wince
21:08.47BabelOlama: maybe here http://www.pocketpcfreewares.com/en/index.php
21:09.12lamaheh
21:09.43dcordescr2: sorry I'm not patient enough and doing 10 things at a time. Could you look at the dumps?
21:10.09dcordesmaybe it's easy for you to tell the correct send fifo values
21:14.17cr2lama: linux.
21:14.52cr2dcordes: i see some blocks of common structure there.
21:14.56lamaheh for the second time
21:18.19*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbf8cab.pool.einsundeins.de)
21:20.16dcordescr2: what do the asterisks in hexdump -C signify?
21:23.24dcordeshi Zoolooc. You are using dutty windows mobile rom, aren't you?
21:23.52miknixdcordes, data repeat
21:23.53Zooloochi
21:24.03Zooloocdcordes: yes
21:24.14dcordesZoolooc: can you make video calls in it?
21:24.33Zooloocdcordes: never tried
21:24.48dcordesZoolooc: did you ever try making one in your stock rom?
21:25.12Zooloocdcordes: no
21:25.38Zooloocas they charge extra money for that, in my contract
21:25.40dcordesok thank you
21:25.59cr2dcordes: repeating values. you can disable it with a flag.
21:26.02dcordesI see. I heard as for vodafone it costs the same as a normal call
21:26.13mistadmanHello all! Are the forums down?
21:27.25dcordescr2: so when there is a register which has only zeros in it and the next register(s) also have only zeros there is an asterisk instead of them?
21:28.00dcordesmistadman: looks like it. Also wiki
21:28.33cr2dcordes: not registers, but memory areas
21:28.38mistadmanCrap! Thanks dcordes!
21:28.46mistadmanWho here has an Athena?
21:30.06martin__Did anyone ever set up a repository for the android hacking stuff, or is it all just loose patches and builds floating around?
21:30.32martin__I'm interested in helping with drivers, got a Kaiser.
21:30.43dcordesmartin__: no we finally have a home for them at git.linuxtogo.org
21:31.01martin__dcordes: Thanks. I'll pull what's there and try booting.
21:31.16mistadmanmartin_: http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=summary
21:31.31dcordesright, branch htc-msm
21:32.49mistadmanHow do we start a branch for the Athena?
21:35.47martin__Cloning now, ta.
21:35.51cr2mistadman: you are bashing BabelO to port the htc-egpio config :)
21:36.36BabelOcr2: lol, i ve done it for 2.6.26, before doing git reset --hard :), but i can do it again
21:37.40cr2BabelO: that would be great. athena and n560 do not depend on asic3, so there is no need for legacy stuff there.
21:38.18mistadmancr2: No... I just figured since I have Android booting on the Athena, this would be a good time to get everyone involved!
21:47.34BabelOhmm all dxa is down
21:57.08dcordescr2: can you tell me why recv.buffer value is 0x32424?
21:57.19dcordesI'm trying to understand the fifo setup
22:01.01dcordescr2: recv.start value is quite obvious to me because the line with the first data of AT values contains it
22:03.02cr232424 ?
22:03.36cr2dcordes:  is see two types of areas
22:03.40dcordes<PROTECTED>
22:04.15cr2dcordes: 0x20000000 0x01010100
22:05.21cr2dcordes: 0x02000000 0x00010000
22:05.39cr2hm
22:05.47cr20x02000000 0x01010100
22:05.52cr20x02000000 0x00010000
22:06.37cr20x02000000 0x02000000
22:06.45cr2this one at the beginning
22:09.26cr2dcordes: do you have some wiki mirror ?
22:10.17dcordescr2: :(
22:10.33dcordesthat's a todo
22:14.49dcordescr2: so what are the values you pasted?
22:15.28cr2they always start the area
22:15.52cr2val1 val2 0 val3 val3 0 *data
22:16.27cr2look before the 0x2000 data blocks of AT_tx AT_rx and GPS_rx
22:16.38*** join/#htc-linux MHazem (n=GoD@82.201.174.179)
22:16.54cr2val1 is always 0x02000000
22:20.11dcordescr2: I don't see any 2000000
22:21.24martin__Anyone have a sensible kernel .config for the kaiser?
22:24.31cr20x02000000
22:25.54cr2ok, 60640 is some common area. i've see it in smem
22:27.27cr2up to 6A*
22:27.27dcordesmartin__: http://linuxtogo.org/~lgorris/htckaiser.config
22:27.38cr2some 'Unnamed task'
22:27.44martin__dcordes: thanks.
22:27.46cr2structures
22:28.08dcordescr2: in the wince library?
22:28.26cr2no. in sram
22:28.41cr20xfc000 has some internal data
22:28.45cr2like CID
22:28.57cr2and probably imei
22:29.34cr2and some weird things at 0xfd000
22:30.21dcordesbut at 0xfc000 there's not much data
22:30.45dcordescr2: I noticed the abc area before
22:34.40cr2dcordes: what is inside struct smd_buffer
22:35.48dcordescr2: you mean the at? send or recv?
22:36.33dcordeshttp://rafb.net/p/gup8Fh33.html
22:36.33dcordeshere's the whole of it
22:36.37dcordesmy current kaiser-smd.c with which I had the described results from cu
22:39.18cr2ok, head and tail
22:44.48cr20x04200); //changed from 0x04208 ?
22:45.22*** join/#htc-linux amd64lover (n=miknix@81.193.89.117)
22:47.01*** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes)
22:48.17snakefreakgood night
22:48.49cr2dcordes_: why did you cnage it ?
22:49.16dcordes_it seemed more logic to me
22:50.24cr2why ?
22:50.45cr2dcordes_: which channel is gps ? it's structure is the same as at_rx
22:51.37dcordes_cr2: I did copy the structure from the others
22:51.48dcordes_you said it was channel 7 so I put it in the comment
22:51.56dcordes_and the start value which I could look
22:52.15dcordes_s/look/look up easily in the dump/
22:52.57cr2<PROTECTED>
22:52.58dcordes_and I put only recv because you said you think send is done through the AT send.
22:53.24cr2} else {
22:53.29cr2has some strange values
22:53.59dcordes_if is the AT and else the modem data afaik
22:54.18cr2do you have umts data ?
22:56.23cr2ch = kzalloc(sizeof(struct smd_channel), GFP_KERNEL);
22:56.35cr2i suspect wince uses sram for that too.
22:57.18dcordes_if you ask for a dump with umts data in it, no
22:57.21cr2need to look closer at +0x60xxx area
22:57.36dcordes_the modem data values are also from dzo who has them from some kaiser dump
22:57.45cr2dcordes_: hm. we need a dump with all possible data.
22:57.56dcordes_ok they don't cost anything
22:58.09cr2btw, do you have a link to the dzo driver ?
22:58.10dcordes_just tell me what we need.
22:58.17dcordes_what driver?
22:58.20cr2he has CDMA data channel
22:58.21cr2smd
22:58.37dcordes_well that is the dzo in the pastebin I guess
22:58.58cr2i think if (n== 0) {}else {} should be done better.
22:59.04dcordes_he gets the at channel plus a data channel and the rest he does in the android userland
22:59.06cr2he has 2 channels ?
22:59.12cr20 and 1 ?
22:59.23dcordes_I also have more than one
22:59.30dcordes_I thought the if and else are the two channels..
22:59.54dcordes_hold on i'm still in the angstrom. how do I end the cu session?
23:00.01cr2but where is gps in your picture ?
23:00.07cr2~.
23:00.08apt.
23:00.16cr2\~.
23:00.25cr2~lart apt
23:00.25apttakes a big bite out of cr2's jugular vein
23:00.54dcordes_ouch
23:00.58dcordes_I do not have the ~
23:01.03dcordes_\ is camera1 :D
23:01.33cr2the 0x60xxx looks like some array of  structures.
23:01.36*** join/#htc-linux Dreadddddd (i=nofear@79.124.197.8)
23:02.51dcordes_cr2: rebooting.. there's that file in /proc/ which tells you what nodes "should be there". it had two I think
23:03.21Dreaddddddcr2 hi man )
23:03.30cr2hi Dreadddddd
23:03.48Dreaddddddremember me ? :)
23:04.14cr2yeah, you like weird qualcomm chipsets :)
23:04.47*** part/#htc-linux patoche (n=Patrice@lns-bzn-30-82-253-137-194.adsl.proxad.net)
23:05.00Dreaddddddyep)
23:06.24Dreaddddddcr2 http://forum.modopo.com/diskussionen-rund-ums-modding/t-19197-ef81-qc-bqs-firmware-analyzer/page43.html
23:06.47Dreaddddddu read this forum time to time?
23:07.00BabelOcr2: http://pastebin.ca/1022271
23:07.22dcordes_ah a person who likes to dig in pinocchio kernels :)
23:08.40cr2Dreadddddd: they are more about rsa sigs, than about tech details.
23:09.35cr2dcordes_: pinocchio kernel has 14 segments. 2 of them thumb i think. only one of them make _real_ sense to me :)
23:09.42DreaddddddDreadddddd viperbjk soft help u to work with your pda?
23:10.18cr2Dreadddddd: not really, we don't go so deep.
23:10.47cr2Dreadddddd: and it's all thumb code there, which is pita
23:12.04cr2BabelO: what about SWDT ?
23:12.07Dreaddddddcr2 do u know something about htc dream?
23:12.07cr2OMAP730 Watchdog seems to be activated, disabling it for now.
23:12.32dcordes_cr2: why does halibut defconfig include the thumb support?
23:13.25cr2Dreadddddd: no, but if it's an msm7201A then you'll find a lot of data about it in the linux-msm branch
23:13.27BabelOcr2: yes, i did not try, i have to enable timer 32k too
23:13.46cr2dcordes_: don't know.
23:14.00cr2dcordes_: does your kernel really control msm gpios ?
23:14.03dcordes_cr2: is it possible/likely that thumb code is used on the arm11 side?
23:14.29cr2dcordes_: i don't see any practical reason to do it.
23:14.47dcordes_ok maybe that's intersting that they build it then
23:16.00cr2Dreadddddd: looks like old zaurus sl5500 on the pics
23:16.19Dreadddddd?
23:16.27cr2htc dream
23:16.28Dreaddddddu read my mind?
23:16.35Dreaddddddno)
23:16.50dcordes_cr2: somebody once told me it only controlled "virtual" gpios. Can't remember if that was relating to the build in gpios or to the cpld gpios
23:16.54Dreaddddddi have another question
23:17.08cr2Dreadddddd: ok
23:18.01cr2Dreadddddd: no
23:22.03cr2Dreadddddd: htc only produces phones afaik
23:22.18Dreaddddddno pda?
23:24.10Dreaddddddinteresting..
23:30.58dcordes_cr2: 0x60xxx are encrypted structures?
23:31.43dcordes_00062330  74 e7 c5 00 55 6e 6e 61  6d 65 64 20 54 61 73 6b  |t...Unnamed Task|
23:33.05*** join/#htc-linux noelcragg (n=noel@adsl-68-123-47-170.dsl.pltn13.pacbell.net)
23:33.10*** part/#htc-linux noelcragg (n=noel@adsl-68-123-47-170.dsl.pltn13.pacbell.net)
23:36.50martin__Okay, I've got a kernel built. Is there an initrd handy that'll just give me a shell?
23:38.36dcordes_martin__: uploading
23:40.50martin__and standard haret 0.5.1 should work, yes?
23:41.08dcordes_just grab the latest version
23:41.15dcordes_do you know the kaiser linuxt xda forum thread?
23:41.51martin__I've seen it, I just find it incredibly hard to find info in forum threads
23:42.03dcordes_I'm not a fan of them either
23:42.08martin__where half the posts are from people asking dumb questions
23:42.45martin__I only found out any of this was going on because a friend of mine had seen a video on youtube
23:43.01martin__it would be good to put up a status page.
23:46.50dcordes_martin__: http://linuxtogo.org/~lgorris/kaiser/
23:47.30martin__dcordes_: great, thanks.
23:48.29BabelOcr2: i m trying sirfmon
23:48.54cr2lol
23:49.06cr2BabelO: just wanted to ask you about the gps speed :)
23:49.07BabelOcr2: what i need to do ?
23:49.12martin__now did synce ever get anywhere, or do i need to reboot to windows to put stuff on this thing now...
23:49.15BabelOcr2: :)
23:49.22cr2BabelO: nmea is at 9600 ?
23:49.28BabelOcr2: but it seem i ve a bad baud rate
23:49.37BabelOcr2: no i think 4800, i set that on all software
23:49.40cr2BabelO: which tty do you have for gps ?
23:49.54cr2BabelO: n560 has 9600
23:49.55BabelOcr2: /dev/ttyS1
23:49.59cr2ok
23:50.07cr2stty -F /dev/ttyS1
23:50.39BabelOcr2: speed 9600 baud;
23:50.42cr2BabelO: Could not detect SRAM size ?
23:50.59BabelOcr2: yes i know, i ve to look at this one, was working with hh kernel
23:50.59cr2BabelO: stty -F /dev/ttyS1 speed 4800 ; cat /dev/ttyS1
23:52.02dcordes_martin__: I'm not sure what you mean
23:52.14BabelOcr2: looks bad http://pastebin.ca/1022299
23:52.15cr2BabelO: if it'll work, you only need to start gpsd.
23:52.23BabelOi think i miss something while setup uart
23:52.41cr2BabelO: ok. stty -F /dev/ttyS1 speed 57600
23:52.57cr2then try 'od -x /dev/ttyS1'
23:52.57martin__dcordes_: i.e. is there a working tool to transfer files over activesync from linux.
23:53.09BabelOcr2: better :)
23:53.34dcordes_martin__: synce. I use sd card
23:53.57BabelOcr2: ok trace are good with cat but gpsd /dev/ttyS1
23:55.18BabelOok starting sirfmon now
23:55.30cr2BabelO: so it's using 57600 ?
23:55.39BabelOcr2: yes it use 57600
23:55.41BabelOfor nmea
23:55.42cr2ok.
23:56.11BabelOthat s strange, i have other settings in wince
23:56.24cr2wince == dumb
23:56.29BabelOcr2: what i need to do in sirfmon ?
23:56.39cr2nonthing.
23:56.43cr2just watch
23:56.51BabelOok so nothing appear :)
23:57.00cr2strange
23:57.08cr2telnet localhost gpsd ?
23:59.07BabelOcr2: when pressing enter GPSD appear

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