IRC log for #htc-linux on 20080928

00:00.58cr2dcordes: have you picked the .py files too ?
00:01.34dcordescr2: I fetched both haret.exe and console from the urls Kevin2 posted
00:01.52cr294e00080 should be parsed
00:02.28cr2ok, the .py is not updated
00:02.35cr2change it to 0x80 and 0x84
00:02.43dcordesk
00:03.29dcordes007.099     IRQS     IRQ1: IRQ33(33)=1
00:03.29dcordes007.099     IRQS     IRQ0: IRQ0(0)=1 IRQ1(1)=1
00:03.29dcordes007.099     IRQS     IRQ1: IRQ32(32)=1 IRQ33(33)=1
00:04.56cr232 and 33 are gpio bank1 and 2 mux
00:05.04Kevin2tmzt_: http://sourceforge.net/project/showfiles.php?group_id=173455&package_id=198682
00:05.40Kevin2cr2: I don't think it's 0x80/0x84 on non-A variant.  It would be very odd to get two irqs in the same event.
00:06.27dcordescr2: http://linuxtogo.org/~lgorris/haretlog-20080928_020304.log
00:06.33cr2Kevin2: yes. it looks strange
00:06.43cr2Kevin2: then we need to separate A and non-A
00:07.20cr2dcordes: where is the patch by dzo ?
00:07.35cr2dcordes: he must handle the irqs somehow :)
00:08.02dcordescr2: you mean the vogue kernel?
00:08.05cr2yes
00:08.29dcordeshttp://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-vogue
00:10.32cr2hm.
00:10.39cr2the irq.c is from A
00:11.52Kevin2cr2: There is a vogueirq.c file.
00:12.00dcordesyep
00:12.45dcordescr2: check the commits from 4 days ago to see what's vogue specific
00:12.51dcordes9 days
00:12.56cr2yes, he uses 0x0 and 0x4
00:13.22dcordeshttp://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=commit;h=3cc470413d630ead203bc045ba5d81576ae189f1
00:13.51cr2<PROTECTED>
00:13.51cr2<PROTECTED>
00:14.03cr2so we need separate versions
00:16.13*** join/#htc-linux sikkle (n=sikkle@modemcable132.57-201-24.mc.videotron.ca)
00:16.49Kevin2Will ram start always be 0x20000000 on A variant?
00:17.06cr2Kevin2: there are 2 banks
00:17.41cr2Kevin2: raphael has 128M@0x10000000 and 128M@0x20000000
00:18.17Kevin2The patch NetRipper sent had "set ramaddr 0x20000000" for Raphael.
00:18.22cr2Kevin2: the alloctest shows that the RAM is allocated from 0x2* area first and then goes down to 0x1*
00:19.15cr2SanMehat said msm kernel does not support discontiguous memory
00:19.54cr2so we are limited to 1 bank
00:20.20cr2one can only guess how G1 has 192MB. in the first bank ? strange.
00:28.35Kevin2cr2 / dcordes: Can you try http://www.handhelds.org/~koconnor/haret/haret-20080927b.exe and http://www.handhelds.org/~koconnor/haret/haretconsole-20080927b.tar.gz  ?
00:30.16cr2ok
00:37.37cr2Kevin2: works for me(tm)
00:38.10cr2the gpio irq decoder need proper masks, but i'll do it tomorrow (aka today)
00:38.37Kevin2cr2: Ok - I'll check in what I have.
00:39.13cr2dcordes: already sleeping ?
00:41.28Kevin2cr2: If you have the irq names you can program them into haretconsole too - take a look at how pxa does it.
00:42.17cr2yes.
00:42.28*** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes)
00:42.54cr2dcordes_: the new haret works for me. can you test it ?
00:46.25dcordes_cr2: want the log?
00:46.36cr2does it work ?
00:46.47dcordes_what exactly?
00:46.58cr2it seems that raphael uses the builtin touchscreen controller
00:47.02cr2tracing
00:47.20dcordes_the spam soup seems similar to the one before
00:47.26Kevin2Hrmm.  I forgot to set msm7xxx back to 0x00
00:48.04Kevin2dcordes_ try http://www.handhelds.org/~koconnor/haret/haret-20080927c.exe
00:53.27dcordes_Detected machine Generic MSM7xxx/MSM7xxx (Plat='PocketPC' OEM='HTC_Kaiser')
00:54.16Kevin2How does "wirq" look?
00:54.17dcordes_now it only shows irq 33
00:56.46Kevin2dcordes_: So, is it the same behavior prior version of haret had?
00:57.26dcordes_yes
00:58.24Kevin2Ok - I've committed the changes.
00:58.42dcordes_nice
00:58.47dcordes_cr2: do you know what kaiser irq 33 is?
00:58.57dcordes_cr2:  0x21   33   INT_GPIO_GROUP2
00:59.57cr2dcordes_: it's the bank2 gpio
01:00.37cr2the status register needs to be added
01:00.54dcordes_a bank gpio?
01:00.57cr2but it is necessary to calculate the masks first
01:01.06cr2no, some gpio from bank2
01:01.24cr2to decode which one exactly it's necessary to do some minor work
01:01.33cr2heh.
01:01.52cr2i alwaysforget that on non-pxa 'wi' does not do mmutrace
01:03.12Kevin2mmutrace works on non-pxa.
01:03.46cr2with wi ?
01:03.55Kevin2Yes.
01:04.10Kevin2(How else would one use mmutrace?)
01:04.24cr2yes ... i don't see anything...
01:04.42Kevin2Make sure you have all the virtual mappings covered.
01:06.51cr2yes
01:06.56dcordes_cr2: any hint on the acx base addres?
01:07.04cr20x9* is created by p2v()
01:07.17cr2but the "real" address is 0xb*
01:07.57cr2yes, i see i2c
01:08.12Kevin2cr2: p2v can be misleading with mmutrace.  It's safer to find all the mappings via "dump mmu 2 <adddr>" and then program them into mmutrace.
01:08.31cr2that's true.
01:08.46cr2but i think it's in the docs :)
01:10.31dcordes_:(
01:13.50cr2aha.
01:13.56cr2adc is used.
01:17.02cr2in module: touch.dll (78780000 - 78791000)
01:19.13cr2ok, enough for today. good night.
01:20.57Kevin2cr2: Good night.
01:37.51bryan__Is there a way i can use Haret to probe my device to see where my sd card is located .. im getting the SD card not found error ... im assuming my sd card isnt at /dev/block/mmcblk0p1 as this init wants it to be .
01:40.02dcordes_bryan__: try /dev/mmcblk0p1 ?
01:40.26bryan__ok,
01:46.01tmzt_bryan__: what kernel (zImage) and initrd are you using?  /dev/block/mmcblk0p1 is a feature of devfs which has not been used in recent kernels
01:47.00bryan__the android for vogue , figured vogue is the best choise for my device . both with msm7500
01:47.19bryan__its the only one that boots and gives me any error too .
01:47.52bryan__there a better version i should be using ?
01:48.21tmzt_do what dcordes said, then, where did you get the instructions to use /dev/block/mmcblk0p1?
01:49.03bryan__its just what was in there .
01:49.43bryan__ive just pulled files off the net .. im not much of a coder .
01:49.44tmzt_so it boots on iris?
01:49.53bryan__ya it trys
01:50.06tmzt_how far does it go?
01:52.04bryan__not very far at all .. i get Welcome to vogue linux then it starts with the sd error .. and continues with m5m_i2c errors . cant get bus?
01:52.31tmzt_you get white text on a black screen "Welcome to vouge linux" ?
01:52.43bryan__ya ... pengiun and all .
01:52.44tmzt_is it msm_i2c?
01:52.53bryan__ya prolly .. small text
01:53.39tmzt_you device is cdma?
01:54.01bryan__ya.
01:54.27bryan__that giving the error ?
01:54.47tmzt_kernel boots, but the i2c is different, you will proably have to probe with haret from wince to find out where they are.
01:55.18bryan__ill have to ten rebuild the kernal from there ?
01:55.39tmzt_do you get a detected line in haret before booting, or are you using startup.txt ?
01:56.39bryan__startup.txt
01:56.58tmzt_can you rename it to default.txt ?
01:57.15tmzt_http://wiki.xda-developers.com/index.php?pagename=HTC_Iris
01:57.20tmzt_that one?
01:57.41bryan__thats it ..
01:57.52bryan__i cant see the detect screen .
01:58.30tmzt_not in the text box at the bottom?
01:58.37tmzt_it's qvga same as my moto q
02:00.01bryan__im sorry the detect line is ..?
02:00.12bryan__screen
02:00.41tmzt_can you make move the focus to that box, press the ok button, and scroll (I forget)
02:02.40bryan__i can see the launch script box and the info about connecting on port 9999 i can scroll to select the listen option i assume it is but i cant see anything lower then that.
02:03.13tmzt_ok
02:04.04bryan__im gonna have to jet in a about ten min .. but ill be back online around 10:45ish
02:04.57tmzt_I guess you need ginge, dzo, or cr2 to help you, if you want to work on this.  It's msm7500 but I guess it's different from vouge/titan
02:06.05bryan__i should use haret to prob the device tho .. that is my next step ?
02:06.26tmzt_you need some way of connecting it to your computer and getting an ip address, like activesync or rndis, and the haretconsole from http://handhelds.org/~koconnor/haret/
02:06.31tmzt_which needs python
02:06.43bryan__yes i was reading about that .
02:06.49tmzt_you are using the haret that came from the bootkit?
02:07.05bryan__no .. the newest one
02:07.11tmzt_which one?
02:07.24bryan__either from the 25th .. or there was one i saw posted in here earlier .
02:07.54tmzt_Kevin2: which is the right haret for msm7500?
02:09.13bryan__should i still try  /dev/mmcblk0p1 in the init file
02:09.18bryan__?
02:10.13tmzt_yes, you have something extracted on your sd card?
02:10.41tmzt_and you copied haret and kernel over to storage on your iris?
02:10.59bryan__no .
02:11.21bryan__well i have all on sd.
02:12.00bryan__so system and data on the sd and init zimage on iris .
02:12.07bryan__with haret .
02:12.23tmzt_what is the command line in your default.txt?
02:13.03bryan__set cmdline "ppp.username=mobile@jamamobile ppp.password=telecom msmsdcc_fmax=48000000 quiet"
02:14.12tmzt_where does the /dev/mmcblk0p1 go then?
02:14.30bryan__thats in my init .
02:14.44bryan__i can put that in the cmdline ?
02:15.00tmzt_in what init, you mean in the android image?
02:15.21tmzt_what is your initrd line?
02:15.53bryan__set initrd initrd.gz
02:16.05bryan__which ive un gz to just initrd
02:17.08bryan__ill be back in a bit ..
02:17.25bryan__:)
02:18.20*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
02:28.57Kevin2tmzt_: I'd use the latest cvs build - I have a copy at: http://www.handhelds.org/~koconnor/haret/haret-20080927c.exe  and  http://www.handhelds.org/~koconnor/haret/haretconsole-20080927b.tar.gz
02:30.57tmzt_ok, I think he left, but bryan__ is trying to make his htc iris work with the vogue kernel, and gets an error about msm_i2c not finding the bus, but linux boots
02:31.21tmzt_would that be because the addresses changed and how can he find out?
02:41.14Kevin2Usually, one can't use a kernel that was built for a different machine.
02:42.37Kevin2It's a fairly involved process to map out all the devices present on a phone.  I'd use mmutrace on haret to see if/how wince accesses each device.
02:51.50*** join/#htc-linux ALoGeNo (n=QUAKEIII@245.Red-81-44-9.dynamicIP.rima-tde.net)
02:52.20ALoGeNohi
03:08.14ALoGeNoeverybody sleeping?
03:08.14ALoGeNo:)
03:14.24tmzt_no, what do you need?
03:19.27ALoGeNohey tmzt_ =D
03:20.08ALoGeNono nothing rigth now im just reading about uni in handhelds org :)
03:20.34ALoGeNoim rolling with cvs stuff :)
03:21.04ALoGeNoill go try compile new kernel for the uni
03:22.28tmzt_did you get the initfs from MnemonicPunk ?
03:24.31ALoGeNohum.. nope tmzt_ i was two day without sleep the other time sorry i cant remember
03:25.05ALoGeNoim downloading kernel sources from handhelds dot org
03:25.49ALoGeNotmzt_: are you talking abaout the img file of the debian one?
03:26.49ALoGeNosorry but i mix things about 900c and uni when talk with you heh
03:29.35ALoGeNotmzt_: i have 900c stoped with the message..kernel panic - not syncing: Attempted to kill init!
03:29.47ALoGeNojlime kernel and debian :)
03:29.56ALoGeNohda2 detected
03:30.12ALoGeNoVFS mounted ext2
03:33.12ALoGeNotmzt_: unable to open initial console, but in default.txt i have /bin/bash
03:34.00ALoGeNomaybe i need to set the permissions in /bin under linux or what?
03:41.19tmzt_set CMDLINE "root=/dev/hda2"
03:41.25tmzt_that's all I have
03:41.37ALoGeNookey ill test :)
03:41.47ALoGeNothnak you :)
03:41.59tmzt_how did you install debian?
03:42.03ALoGeNotankui ;)
03:42.08ALoGeNoyeeep
03:42.15ALoGeNobootstraped
03:42.21bryan__heya
03:42.31ALoGeNohey bryan__
03:42.52bryan__hey hey .
03:43.23bryan__so am i actually getting anywhere with this vogue kernal ?
03:43.57ALoGeNodamm i really need to make me a kitchen with something to overwrite the gx.dll, o let that overwrited becose im bored of overwrite that crap xd
03:45.27tmzt_just make an empty file gx.dll in the same directory
03:46.24ALoGeNoyep i copy and paste this file when i reboot..,
03:47.03tmzt_you can put it in your fat partition with haret
03:47.16Kevin2bryan__: You're leaps ahead by virtue of having linux to successfully boot with lcd support working.  It's still quite a bit of work to get the rest going though.
03:47.30Kevin2ALoGeNo: What's wrong with gx.dll on your device?
03:47.42ALoGeNoyep is do in that way thanks tmzt_ :)
03:48.18ALoGeNosame crap of message..
03:48.37ALoGeNounable to open initial console
03:48.55tmzt_we are using cmonex wince image on mp900c, which has a broken gx.dll so haret can't find VRAM the usual way
03:49.01ALoGeNothe FS is ok.. but it cant run the bash.,.
03:49.15tmzt_how did you install debian?
03:49.29ALoGeNoyep i need do that..
03:49.44Kevin2tmzt_: If gx.dll isn't present, then haret does find the vram?
03:50.03ALoGeNoi was follow that... letme copy..
03:50.22ALoGeNodebootstrap --include=wireless-tools,hotplug --arch arm --foreign etch /etch http://ftp.uk.debian.org/debian
03:50.23tmzt_I think haret doesn't start at all
03:50.43bryan__kevin2: i should go thru the steps of mmutrace as you stated. that is my next place to start ?
03:50.54tmzt_ALoGeNo: you need to finish the installation
03:50.55ALoGeNolater copy in the card and run kernel with haert
03:50.59ALoGeNoharet
03:51.12Kevin2tmzt_: Haret doesn't require gx.dll - it will try to pull it in if it's found.  It only uses it if GETRAWFRAMEBUFFER method doesn't work.
03:51.31tmzt_this is on ce.net 4.2
03:51.33ALoGeNohow?, putting command in default.txt?
03:52.20ALoGeNotmzt_: i know that i have to do that debootstrap --second-stage , but i cant in to the bash shell
03:52.32Kevin2bryan__: Yeah.  You need to document all devices present on your device.
03:53.04Kevin2tmzt_: I don't understand.  Haret crashes if an empty gx.dll isn't in the same directory as haret?
03:53.18ALoGeNono
03:53.43ALoGeNoharet crashes if the fake gx.dll isnt the /windows
03:53.58ALoGeNoin the*
03:54.07tmzt_ALoGeNo: what does it say when it crashes?
03:54.17bryan__will do :)
03:54.45ALoGeNowhen i boot haret with thw original gx.dll in /windows haret hang the machine
03:55.19ALoGeNoif i put and overwrite the file gx.dll with faked one haret boots normally
03:55.31Kevin2ALoGeNo: Create a file called "earlyharetlog.txt" in the same directory as haret.exe.  Then see what is in "haretlog.txt" after you try to start haret.
03:55.52ALoGeNotnx Kevin2
03:56.06Kevin2ALoGeNo: I'm curious to see what's in haretlog.txt - can you paste it somewhere for the successful and failed cases?
03:57.25ALoGeNowhat the f#king reset button isnt just in keyborad? hehe
03:57.40tmzt_there's a button on the bottom
03:57.55ALoGeNoyes.. sorry.
03:58.01ALoGeNowhy* the f#king reset button isnt just in keyborad? hehe
03:58.03ALoGeNoxd
04:02.46ALoGeNoharetlog is empty Kevin2
04:03.31Kevin2But the file exists?
04:03.40Kevin2Can you post the log after a successful boot?
04:04.15ALoGeNonope.. i booted the device with haretlog.txt inside and is empty let my try again
04:04.38Kevin2You must create the file "earlyharetlog.txt"  --  the resulting log is in "haretlog.txt".
04:05.49ALoGeNook
04:07.56ALoGeNobooting
04:10.29ALoGeNounable to open initial console
04:11.05ALoGeNothis is the default.txt..
04:11.06ALoGeNoset KERNEL zImage
04:11.07ALoGeNo#set INITRD initrd.gz
04:11.07ALoGeNoset MTYPE 659
04:11.07ALoGeNoset CMDLINE "console=tty0 console=ttyS0,115200n8 rootdelay=5 root=/dev/hda2"
04:11.07ALoGeNoboot2
04:13.11ALoGeNothis the haret Kevin2 http://rafb.net/p/rgKqd434.html
04:13.19ALoGeNoharetlog*
04:13.59Kevin2ALoGeNo: Can you post the haretlog.txt?
04:14.10Kevin2Oops - old message.
04:14.15ALoGeNoyep this link http://rafb.net/p/rgKqd434.html
04:14.22ALoGeNonp
04:14.22ALoGeNo:)
04:14.40ALoGeNopaste is for free gratis cero nada :D
04:16.45Kevin2ALoGeNo: You have a really old haret.  Can you grab the latest from:  http://www.handhelds.org/~koconnor/haret/haret-20080927c.exe
04:17.18ALoGeNoohh thank you very much Kevin2 :)
04:18.05Kevin2Let me know if the new one ever fails to start for you.
04:18.36ALoGeNowell i get that one becose that is for the mp900 iget it form jlime dot com
04:19.56Kevin2Haret isn't device specific anymore.
04:20.15ALoGeNookey ill try
04:24.03ALoGeNookey np with new haret but "Warning: unable to open an initial console"
04:24.48ALoGeNohey that isnt need a swap file or something?
04:25.10ALoGeNoin jlime in that step mount the swap and later boots
04:27.35tmzt_ALoGeNo: you don't have /dev/console, which is okay if udev is configured, but you haven't finished --second-stage yet
04:28.05ALoGeNookey what i need to do tmzt_?
04:28.32ALoGeNomkedir /dev/console?
04:28.43ALoGeNomkdir /dev/console?*
04:29.22tmzt_mknod /dev/console c 5 1
04:31.12ALoGeNotmzt_: but that under my laptop, inside the folder that i have mounted the car fs no?
04:32.05tmzt_yes
04:32.17tmzt_mknod /card/dev/console c 5 1
04:34.19ALoGeNookee dokee
04:39.23ALoGeNolooks like wants..
04:39.30ALoGeNommmmand....
04:40.00ALoGeNois taken a while
04:41.46tmzt_what's taking a while?
04:42.31ALoGeNois stoped in Freeing init memory: 88K
04:42.40ALoGeNo_
04:43.09ALoGeNonow is when it creates the swap..
04:43.10tmzt_it still sees hda2 and you get a VFS message?
04:43.18ALoGeNoyep
04:43.37ALoGeNothe file system is mounted ok
04:43.55ALoGeNomounted root ext2 filesystem
04:45.36ALoGeNoif i insert the pcmcia that response.. and moount it
04:45.37ALoGeNo;)
04:46.14ALoGeNoand 33V 33V
04:46.32tmzt_you dont't have the cf card in when you boot?
04:47.26ALoGeNonope that is necesary?
04:47.51tmzt_the card with your root filesystem on it
04:48.03ALoGeNooh yep of course
04:48.20ALoGeNoi say the wifi card
04:49.16tmzt_ok, add init=/bin/sh to CMDLINE
04:49.54ALoGeNook
04:53.48ALoGeNothe same.. tmzt_
04:54.37ALoGeNoi dont need to create the swap filesystem?
04:59.24*** join/#htc-linux PoohbaLT1 (n=Poohba@c-98-235-52-97.hsd1.nj.comcast.net)
05:03.58tmzt_only if you run out of memory
05:06.49ALoGeNothat is waiting in Freeing init memory: 88K
05:07.04ALoGeNoand nothing happens
05:09.02ALoGeNotmzt_: you tald me something about eabi really?
05:09.11ALoGeNofor compile kernel maybe?
05:10.49tmzt_you get "Freeing init memory" and nothing else
05:11.05ALoGeNoyep
05:11.15ALoGeNoatop
05:11.19ALoGeNostop*
05:11.30ALoGeNobut isnt hanged
05:15.21tmzt_you have init=/bin/sh ?
05:18.13ALoGeNoyep i try that way and init=/bin/bash too
05:28.38tmzt_if you type, the characters echo?
05:29.50ALoGeNounope keyboard dont work
05:29.52bryan__does the watchgpio command not work ?
05:30.41ALoGeNoi dunno
05:42.18tmzt_bryan__: what are you asking, we are talking about after the kernel has booted?
05:43.00tmzt_oh, the documentation is outdated, I think you need wi 20
05:43.32bryan__im connected to the device thu telnet.
05:44.54bryan__trying to use commands like DUMP GPIOST
05:45.15bryan__WATCHGPIO but they dont work
05:46.58Kevin2bryan__: Those commands are old.  Follow the documentation at: http://www.handhelds.org/moin/moin.cgi/HaRET_20Documentation
05:48.37*** join/#htc-linux LunohoD_ (n=alex@e180069134.adsl.alicedsl.de)
05:50.00bryan__ahh yes, thank you.  Those are the docs i couldn't find .....
06:14.26*** join/#htc-linux ALo (n=QUAKEIII@26.Red-81-37-222.dynamicIP.rima-tde.net)
06:27.06tmzt_ALoGeNo: what's in your default.txt file?
06:35.08*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
06:45.00*** join/#htc-linux goxboxlive (n=goxboxli@139.84-48-212.nextgentel.com)
07:21.58*** join/#htc-linux cousin_luigi (n=luigi@unaffiliated/cousinluigi/x-395723)
07:22.00cousin_luigihello
07:22.20cousin_luigiis the htc tytn significantly faster than the s720?
07:30.45*** join/#htc-linux lkcl__ (n=lkcl@87.112.82.199.plusnet.ptn-ag2.dyn.plus.net)
07:36.25*** join/#htc-linux nebi (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se)
07:37.00*** join/#htc-linux nebi_ (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se)
07:43.44*** join/#htc-linux LunohoD_ (n=alex@e180072046.adsl.alicedsl.de)
07:44.01*** join/#htc-linux nebi_ (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se)
07:49.50*** join/#htc-linux sikkle (n=sikkle@modemcable132.57-201-24.mc.videotron.ca)
08:03.33*** join/#htc-linux ex87 (n=ex87@78.84.228.138)
08:03.53*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
08:27.50*** join/#htc-linux Tellmedark (i=dcfd4205@gateway/web/ajax/mibbit.com/x-cfc43d3bf25d43e8)
08:30.48*** join/#htc-linux olesis (n=olesis@ool-4351a418.dyn.optonline.net)
08:30.51olesishi
08:34.15Tellmedarkhi
08:34.38paulproteusHowdy Tellmedark.
08:48.31*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfc515.pool.einsundeins.de)
09:01.28*** join/#htc-linux dzo_ (n=dzo@121.98.128.127)
09:07.30*** join/#htc-linux LunohoD (n=alex@e180072098.adsl.alicedsl.de)
09:16.18*** join/#htc-linux lkcl_ (n=lkcl@87.112.82.199.plusnet.ptn-ag2.dyn.plus.net)
09:21.53*** part/#htc-linux cousin_luigi (n=luigi@unaffiliated/cousinluigi/x-395723)
09:39.06*** join/#htc-linux lkcl__ (n=lkcl@87.112.82.199.plusnet.ptn-ag2.dyn.plus.net)
09:57.35*** join/#htc-linux MnemonicPunk (n=atlantis@dslb-084-060-033-089.pools.arcor-ip.net)
10:00.45MnemonicPunkHello. =) Does anyony know which oe branch I should use when I want to build something for the Magician?
10:02.09*** part/#htc-linux Tellmedark (i=dcfd4205@gateway/web/ajax/mibbit.com/x-cfc43d3bf25d43e8)
10:08.07*** join/#htc-linux nebi (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se)
10:11.50*** join/#htc-linux miknix (n=miknix@bl5-240-155.dsl.telepac.pt)
10:32.52*** join/#htc-linux lpotter (n=ljp@CPE-124-191-144-181.vic.bigpond.net.au)
10:54.10*** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
11:03.18cr2hi
11:03.40*** join/#htc-linux Miek (n=mike@unaffiliated/mikechml)
11:26.48*** join/#htc-linux Dinde (n=kayser@sur-internet.net)
11:35.25*** join/#htc-linux exco (n=exco@e181072093.adsl.alicedsl.de)
11:47.28*** part/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
11:49.57*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
11:50.03*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
12:13.25NetRipperhi :)
12:16.41cr2hi NetRipper
12:16.59cr2NetRipper: raph100 uses builtin touchscreen
12:17.29NetRippersounds logical
12:17.29NetRipper;)
12:17.46NetRipperexternal touchscreen would be unhandy
12:19.10cr2vogue uses tsc2003 i2c chip
12:20.30NetRipperby builtin you mean built into cpu?
12:20.47cr2yes
12:22.24*** join/#htc-linux SNAKE-AFK (n=s@dyndsl-085-016-202-129.ewe-ip-backbone.de)
12:23.06NetRipperOK
12:23.09NetRipper-caps
12:23.45NetRipperi'd hope android kernel has drivers for it
12:25.23NetRipperregarding the framebuffer stuff, i talked with kevin2 yesterday and he indicated the irqs should really be disabled after the take_control() but that Sleep() probably re-enables them. and the reason the framebuffer isn't drawn properly, is that msm has optimizations that make lcd not redraw directly, but it needs a signal via a reg or similar
12:26.45cr2yes. so you can forget about using framebuffer
12:27.12cr2but you may try to set the flashlight gpio :)
12:27.18NetRipperwell i may try making the fb code better
12:27.25NetRipperto signal the lcd to redraw
12:27.53cr2it may be too difficult
12:28.29cr2android code needs to be rechecked 10000 times
12:28.33cr2<PROTECTED>
12:28.33cr2<PROTECTED>
12:28.34cr2<PROTECTED>
12:28.34cr2<PROTECTED>
12:28.34cr2<PROTECTED>
12:28.36cr2<PROTECTED>
12:28.51cr2i trace this data without 0x100 offset
12:29.41cr2i didn't find the builtin touchscreen driver in android git. does it exist ?
12:30.59NetRipperdon't know
12:31.06NetRippermaybe not yet there
12:31.44cr2addlist mmutrace 0xb2300000 4
12:31.55cr2addlist mmutrace 0xb230000c 4
12:32.04cr2this traces i2c reads and writes
12:32.56cr2capacitive touchscreen :)
12:33.07NetRippermm
12:33.58cr2touchscreen registers are documented in wiki
12:34.35NetRipperwhat's the haret commadn to trace that?
12:35.15cr2wi N
12:35.29cr2N in seconds
12:40.55cr2hehe. there is a hidden 'fieldtest.exe' app
12:42.05cr2it just parses the at@ data.
12:42.20*** join/#htc-linux Dinde (n=kayser@sur-internet.net)
12:43.23cr2i'd like to know what a bright microsoft head decided to put 2000+ files into windows directory ;-)
12:43.56NetRipperlol
12:44.06NetRipperforgot to put p2v() around irq addresses
12:44.15NetRipperhangs haret ;p
12:44.36cr2you don't need them here
12:44.45cr2they are virtual
12:44.50cr20xb23*
12:44.57NetRipperyea
12:44.59NetRipperbut for addlist irqs
12:45.04cr2p2v() returns 0x932*
12:45.08cr2which will not work
12:45.13cr2ok
12:47.24cr2it's fun that htc put their own dlls into \windows directly, so you can just copy them with the file manager :)
12:47.59NetRipperhehe yes
12:48.08NetRipperback on hermes they put it on XIP
12:48.25NetRipperor at least htccamera dll was
12:48.26NetRipper;)
12:50.00NetRipperhoop onderzoekjes opeens
12:50.01NetRipper;)
12:50.19NetRipperer, wrong chan
12:51.50tcccpneuken keuken?
12:51.55swetlandcr2: G1 doesn't use the onboard touchpanel control
12:52.20swetlandcr2: so we haven't spent much time mucking with it
13:03.20*** join/#htc-linux Dinde896 (n=kayser@81-65-130-197.rev.numericable.fr)
13:08.52cr2swetland: thanks. it does not look very difficult to write a driver for it.
13:11.50cr2swetland: what is AD5 on msm ?
13:16.32NetRippera 'word' is 4 bytes, right?
13:20.35cr22 bytes ?
13:20.57cr2but i'm an oldtimer :)
13:28.57NetRipperhehe
13:29.42cr2the i2c clock is at 0x68 though
13:30.15NetRipperarf i cant get gpios
13:30.41NetRipperim trying to set gpio58 (flashlight with question mark)
13:30.56NetRipperbut when i write the value, and then read it again, nothing changed
13:31.45cr2read , | , write to out ?
13:31.57NetRippereh
13:32.00NetRipperwrite to out?
13:32.02cr2you may check how it's done in android kernel
13:32.04cr2yes
13:32.11NetRipperim using the in2
13:32.24NetRipperthought you had to write to in
13:32.43NetRipperso, read from in2, and write to out2
13:32.46NetRipperlet's try that
13:33.10cr2in is for in, out is for out
13:33.20NetRipperyea ok but you can also look from the side of the cpu
13:33.28NetRipperyou set something to 'in' for input of cpu
13:33.35NetRippermy twisted world
13:34.38*** join/#htc-linux Poohba1 (n=Poohba@c-71-58-20-66.hsd1.nj.comcast.net)
13:34.44cr2i#m busy with i2c/dex
13:35.29cr2btw, you can calculate the bank masks from http://wiki.xda-developers.com/index.php?pagename=Raphael_GPIO, so we will add them to .py trace decoder
13:36.32cr2it's 0xffff for 1,
13:37.24NetRipperohhh lovely i got my first gpio to work
13:37.34NetRipperflashlight is confirmed then btw, so i'll remove that question mark
13:37.34cr20x7fffff for bank2
13:37.45cr2softreset
13:38.02cr2some people burnt the led in universal's time ;)
13:38.17NetRipperyes i put back the original value
13:38.23NetRipperthat i read, without the flashlight bit
13:38.25NetRipperand it turned off
13:38.44cr2question was not that seriously meant :)
13:39.14NetRipperand i heard about the burned led
13:39.21NetRipperwhich is why i made a time limit in torchbutton app
13:39.45cr2hm, 0xffff for 0, 0x7fffff for 1
13:39.48cr2ok
13:39.52NetRipperbut torchbutton uses camera dll instead of gpios
13:40.04cr2it's more portable
13:40.33cr2htc was very nice.
13:41.00cr2i see "ldr" at the address which haret shows :)
13:42.22cr20x1ffffff for 2
13:42.24cr2err
13:42.43cr20x7ffffff for 1
13:42.48NetRipperwhat are those masks for?
13:42.56NetRipperthey prevent tracing some gpios?
13:43.10cr20x7ffffff for 3
13:43.10NetRipperlike spamming ones
13:43.19cr2yes, the top bits
13:43.44cr2which are reserved
13:43.51NetRipperaha
13:44.01cr2spamming can be masked manually with 'ibit gpios X'
13:44.26cr20xfff for 4
13:45.00cr20x7fff for 5
13:46.42cr2so, 7201A : 0xffff for 0, 0x7ffffff for 1, 0x1ffffff for 2, 0x7ffffff for 3, 0xfff for 4, 0x7fff for 5
13:49.00cr2heh. dzo should not edit android drivers directly ;-)
13:51.40*** join/#htc-linux ex87 (n=ex87@78.84.228.138)
13:52.06NetRipperim trying to see where to set the masks
13:52.21cr2wait a bit.
13:57.55cr2to the 'statN' here http://wiki.xda-developers.com/index.php?pagename=RaphaelMemoryMap
14:03.32ex87Hello! Please show me right direction to get cross-compiler for TyTN II kernel compilation (For Kubuntu 8.04 box).
14:07.18cr2ex87: i think this one -> wget http://qtopia.net/downloads/neo/arm920t-eabi-ficgta01-toolchain.tgz
14:07.47cr2at least i use it
14:08.45NetRippercr2, but you mentioned adding the masks to the .py files
14:08.56cr2NetRipper: doing it now.
14:08.58NetRippercr2, don't see a place to do that
14:11.20cr2i need to calculate the gpio offsets
14:11.37swetlandcr2: AD5 -> ADSP5 "application dsp"
14:13.08cr2swetland: ok.
14:15.06ex87cr2, thanks, will try
14:17.03dcordesex87: there are two problems: the sd driver is not 100% ok, so sometimes errors occur when more files on the card are accessed simulateneaously and the framebuffer driver does not allow X to work
14:17.28dcordesso it's almost pointless to insteall a distro like debian/ubuntu on the kaiser
14:17.55dcordesif you do a very tiny install it might boot
14:19.57Kevin2cr2: If you build up a gpio mask via ibit calls, then you can read out the full mask by running "show gpios".
14:21.16dcordescr2: acx?
14:22.00ex87dcordes: Main reason why I want to compile kernel is for testing android and checking out what's wrong with tsc2003.c (touchscreen calibration). I'm newbie in all this stuff, but want to learn, so I choosed to check out htc-linux
14:22.53dcordesex87: ok. htc-linux doesn't have the latest code. it is better to checkout android-msm-2.6.25 from the google tree
14:23.12cr2Kevin2: i' masking the undefined gpio irq lines
14:24.05dcordesex87: and if you aim to use the touchscreen with non-android applications (like tslib) you should take note that the tsc2003.c in htc-linux has some calibration algorythm for android use
14:24.19cr2ah. they use VirtualSetAttributes(r0,r1,0xb3,... on DEX
14:24.33dcordesex87: http://headfuzz.co.uk/files/android/git-diff-2.6.25-170908.diff here's a patch against android-msm-2.6.25
14:24.36dcordesyou can use
14:24.57dcordesthen you get 2.6.25 base with htc-linux stuff plus updates
14:25.03cr20xb3,0x7ff
14:25.15*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87cc6d.pool.einsundeins.de)
14:25.41dcordesex87: http://linuxtogo.org/~lgorris/git-diff-2.6.25-170908-polaris.diff this is almost the same patch but adds support for polaris and fixes two errors
14:25.57cr2pVirtMem,
14:25.57cr2<PROTECTED>
14:26.46ex87dcordes: Doesn't polaris patch break compability with kaiser?
14:27.02cr2VirtualSetAttributes(pVirtMem,dwBytes,0xb3,0x7ff);
14:28.37dcordesex87: no it shouldn't. but you can try. if it doesn't work use git-reset --hard and apply the headfuzz patch
14:28.39cr2Kevin2: i'm naming all irqs now, will test it, and pastbin the patch.
14:29.01dcordesex87: if you only look for improving the touchscreen, htc-linux is sufficient
14:29.11dcordesbecause nothing about it changes
14:29.44dcordesex87: do you want the non-android touchscreen patch?
14:29.57Kevin2cr2: Great!
14:31.49dcordesex87: http://linuxtogo.org/~lgorris/tsc2003-kaiser-tslib.diff
14:31.56ex87dcordes: haven't tried to use non-androids, but it could be useful for later days
14:32.00ex87thanks
14:32.47dcordesI'm preparing a new angstrom based image with tslib and tslib test programs
14:33.18dcordesno problem
14:33.19dcordesbbl
14:35.28*** join/#htc-linux sikkle (n=sikkle@modemcable132.57-201-24.mc.videotron.ca)
14:40.54NetRipperonce the linux kernel boots, how does that write output to the "terminal"? also using raw framebuffer?
14:41.18NetRipperand for it to work, does it rely on haret initializing framebuffer properly?
14:41.31NetRippercr2 or Kevin2, any of you know?
14:42.11NetRipperon my hermes it's just haret output and then right below it is kernel output, doesn't seem like a special kind of initialization by linux kernel
14:42.14cr2NetRipper: with vfsb - yes
14:42.39cr2NetRipper: but it's better to have a normal video driver, otherwise you can't suspend/resume ;-)
14:43.10NetRippergoogles vfsb
14:43.14*** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes)
14:44.37cr2NetRipper: vsfb
14:44.46NetRippercr2, basically, if linux were to boot, even though framebuffer code of haret doesn't display, should we start seeing linux output?
14:44.47cr2VerySimpleFrameBuffer
14:44.50NetRipperah
14:45.10cr2that's not likely to happen
14:45.21cr2we have msm_fb from android
14:45.37cr2but we need a specific mddi panel init
14:45.41cr2it's missing there.
14:45.45NetRipperhm
14:45.54cr2there may be 3 panels on raph100
14:46.05cr2hitachi, toppoly and sharp
14:46.17cr2toppoly is (as always) the biggest pita
14:46.26NetRippermddi is described on kaiser memory map
14:46.43cr2it needs more setup
14:47.03cr2mddi for kaiser is too limited, we need a better description
14:47.26cr2toshiba-android is also a very incomplete setup.
14:52.32swetlandthe mddi stuff is a total pita
14:52.53swetlandyou have to talk to the mddi controller, to issue commands to the bridge chip, which then often uses gpio, spi, etc to talk to the panel
14:54.43cr2swetland: or i2c ;-)
14:55.07swetlandall kinds of fun
14:55.11cr2and it's all panel-dependent
14:55.18swetlandhate lcd panel init. it is always incredibly hateful
14:55.36swetlandcan't think of any hardware I've ever dealt with where it didn't suck
14:56.10NetRipperyea why can't you just set a bit and it'll turn on and set default values by itself ;)
14:56.14cr2:(
15:01.28cr2Kevin2: addlist gpios syntax includes masking ?
15:01.45cr2Kevin2: it seems i've mixed it with irqs
15:02.39cr2ah, yes.
15:04.12Kevin2The GPIOS and IRQS use the same variable types.
15:05.00Kevin2(So, you can do the same thing with IRQS - run a series of "ibit IRQS ..." and then run "show IRQS" to see the mask.)
15:07.38cr2Kevin2: but the addlist syntax is the same ?
15:09.30cr2006.145     IRQS      IRQ: MDP(19)=1
15:09.30cr2006.155     IRQS      IRQ: MDDI_PRI(16)=1
15:09.34cr2this looks good
15:09.50cr2but something else is broken
15:10.28cr2IRQ: ?(33)=2
15:14.57cr2Kevin2: show irqs
15:15.00cr2HaRET(20)# show irqs
15:15.00cr2<PROTECTED>
15:15.00cr2<PROTECTED>
15:15.00cr2<PROTECTED>
15:15.00cr2<PROTECTED>
15:16.21cr2sound goes over ADSP_A11
15:16.46cr2but the FM radio uses ADM_AARM
15:16.51cr2and ?52
15:17.06Kevin2cr2: What's your .py stuff look like?
15:19.26cr2i'll pastebin
15:20.56cr2http://pastebin.ca/1212836
15:22.01Kevin2cr2: irqs1 bit numbers need to be between 0-31.  (It's the bitoffset of that register.)
15:22.20cr2ok
15:23.53Kevin2BTW, you don't want to give two registers the same name (ie, you want IRQ0/IRQ1 not IRQ/IRQ).  The mmutrace stuff will only show the irq name, and if you use the same name for two registers, you wont be able to tell which one got accessed.
15:24.27cr2wee :)
15:24.28cr2ok
15:24.29Kevin2s/irq name/register name/
15:26.18cr2yes, i've corrected it.
15:26.27*** join/#htc-linux drasar (n=maik@77.93.211.13-msol.msol.cz)
15:27.04cr2000.000     IRQS     IRQ0: ADM_AARM(21)=1
15:27.04cr2000.000     IRQS     IRQ1: UART2DM_RX(52)=1
15:27.18cr2but i dont see the gpios
15:27.25cr2gpio irqs
15:27.42cr2Kevin2: what does 'last' mean ?
15:27.45cr2<PROTECTED>
15:27.45cr2<PROTECTED>
15:28.23Kevin2"last" means only report on change.  You want "0" there for IRQS (report on any non zero value).
15:29.07Kevin2cr2: The high order bits of the gpio registers are used, and the low order bits are bogus?
15:29.36cr2no :)
15:29.44cr2should i invert them ?
15:29.57Kevin2Yes - the mask lists those bits to be ignored.
15:30.25Kevin2BTW, why do you need to mask the registers?  Will the high bits ever be non zero?
15:31.36cr2don't know, but they are not used
15:32.53Kevin2It probably isn't needed to mask them then.  Wont hurt either.
15:33.56Kevin2Hrmm.  Do they really call the first gpio in bank 2 - "gpio43"?
15:34.47cr2yes, it's the running number
15:35.03cr2http://wiki.xda-developers.com/index.php?pagename=Raphael_GPIO
15:39.36drasarHello. Can somebody tell me why vanilla kernel doesn't boot on himalaya (or why isn't himalaya specific code ported to mainline)?
15:39.48cr2Kevin2: got that now ->
15:39.51cr2001.934     IRQS     irq0: GPIO0(64)=1 GPIO1(65)=1 GPIO2(66)=1 GPIO3(67)=1 GPIO4(68)=1 GPIO5(69)=1 GPIO6(70)=1 GPIO7(71)=1 GPIO8(72)=1 GPIO9(73)=1 GPIO10(74)=1 GPIO11(75)=1 GPIO12(76)=1 GPIO13(77)=1 GPIO14(78)=1 GPIO15(79)=1
15:41.03cr2arch/arm/mach-msm/gpio_hw.h says  1=interrupt pending
15:42.26cr2HaRET(8)# vd 0xb2f008a0 4
15:42.26cr2b2f008a0 | 0000ffff                            | ....
15:42.26cr2HaRET(9)# pd 0xa92008a0 4
15:42.26cr2a92008a0 | 0000ffff                            | ....
15:42.26cr2HaRET(10)#
15:42.32cr2??
15:43.50cr2drasar: -hh kernel should boot on hima, but many other drivers are missing.
15:48.09*** join/#htc-linux sikkle (n=sikkle@modemcable132.57-201-24.mc.videotron.ca)
15:50.48drasarcr2: Yes, I know, but is any reason why isn't code from hh kernel ported to vanilla?
15:51.53cr2asic3
15:52.21Kevin2cr2: Hrmm.  Maybe the values are only valid when an irq is actually pending?
15:52.40cr2Kevin2: i can mmutrace that register
15:53.23cr2watch gpios shows the 'vsync' gpio
15:53.25cr2004.206    GPIOS      in4: in4-2(290)=1
15:53.30cr2it's address is
15:55.12Kevin2Those addresses aren't actually hardware addresses.  It looks to be just shared memory to the arm9..
15:56.02Kevin2If you mmutrace 0xb2f008a0 do you see reads of something other than 0xffff ?
15:56.15cr2i got an exception ?
15:56.25cr2hm. ok
15:56.45cr2HaRET(20)# vd 0xb2f008ac 4
15:56.45cr2b2f008ac | 000000fc                            | ....
15:57.36cr2HaRET(23)# show mmutrace
15:57.36cr2000: 0xb2f008ac 4 'rw' 00000000 none
15:58.07cr2now i need to purge 2: 0xb2f008a0 ffff0000 32 0
15:58.14cr2is it possible ?
15:58.34Kevin2Huh?
15:58.52cr2i've added it to irqs list
15:58.56cr2before
15:59.07Kevin2I just use clearvar IRQS and start over.  I don't remember if there was a way to clear just one item.
15:59.30cr2clear irqs 2  ?
15:59.55cr2no, it removed everything
16:01.04cr2btw,  0: 0x95300080 00000100 32 0
16:01.16cr2is 00000100 something hermes-specific ?
16:01.22cr2s/hermes/kaiser/
16:02.05Kevin2cr2: It's the timer irq on vogue I think.  I think you said it was the timer irq on your device also.  I usually mask the timer, because it just triggers way too often.
16:03.28cr2ok, need to check it.
16:03.30cr2009.514     IRQS     IRQ1: GPIO2(33)=1
16:03.59cr2don't see the changes of gpio status
16:06.17Kevin2How about doing a:  addlist TRACES 0xb2f008ac
16:06.24Kevin2And then running wirq
16:07.56cr2Kevin2: watch gpios sees it, but mmutrace not.
16:07.59cr2trying
16:08.55cr2doesn't work too
16:09.12Kevin2Hrmm.  Isn't 8ac bank 4?
16:09.37cr2002.692    GPIOS      in4: in4-2(290)=0
16:09.37cr2002.694    GPIOS      in4: in4-2(290)=1
16:09.37cr2003.014    GPIOS      in4: in4-2(290)=0
16:09.37cr2003.016    GPIOS      in4: in4-2(290)=1
16:10.06Kevin2That doesn't mean they generated an irq.
16:10.17cr2ok, that#s true.
16:10.54cr2no irqs in bank4
16:10.56cr2http://wiki.xda-developers.com/index.php?pagename=Raphael_GPIO
16:11.03cr2need to pick some other
16:11.54cr2bank3 gpio94 in3-26
16:12.17cr2001.916    GPIOS      in3: in3-26(282)=1
16:12.17cr2001.924    GPIOS      in3: in3-26(282)=0
16:12.39cr2+0x8a8
16:13.49cr2003.683     IRQS     IRQ1: GPIO2(33)=1
16:13.49cr2003.696     IRQS     IRQ1: GPIO1(32)=1
16:13.49cr2003.696 8006aff8: e5922000(ldr)         #     irq3==078f400f
16:13.50cr2003.759     IRQS     IRQ1: GPIO1(32)=1
16:15.44Kevin2What did you define "irq3" as?
16:15.48cr2too much irqs without maskink
16:16.12cr2bank3 irq stat
16:16.49cr2need ~0x7ffffff now
16:17.00cr20x7ff ffff
16:17.15cr20x07ff ffff
16:17.24Kevin2What does that register look like if you just read it with pd/vd?
16:17.30cr20xfff800 0000
16:18.12cr2HaRET(58)# vd 0xb2f008a8 4
16:18.12cr2b2f008a8 | 038f400f                            | .@..
16:20.04cr2http://git.android.com/?p=kernel.git;a=blob;f=arch/arm/mach-msm/gpio.c;h=93bf7264b487bbeb9c9d9a1c000949f0076d0e57;hb=android-msm
16:20.58Kevin2cr2: What does "vd 0xb2f00888 4" (in_en) report?
16:21.10Kevin2s/in_en/int_en/
16:21.54cr2HaRET(59)# vd 0xb2f00888 4
16:21.54cr2b2f00888 | 04408000                            | ..@.
16:22.37Kevin2What about 0xb2f0088c?
16:22.52cr2HaRET(60)# vd 0xb2f0088c 4
16:22.53cr2b2f0088c | 00000000                            | ....
16:23.46cr2<PROTECTED>
16:23.46cr2<PROTECTED>
16:23.46cr2<PROTECTED>
16:23.46cr2<PROTECTED>
16:23.48cr2?
16:24.19Kevin2Ughh.  It looks like interrupt status is only valid when and'ing with the interrupt enable.
16:33.13cr2ok, but still moved a bit forward
16:37.07*** join/#htc-linux exco (n=exco@e181072093.adsl.alicedsl.de)
17:20.53*** join/#htc-linux LunohoD_ (n=alex@e180078171.adsl.alicedsl.de)
17:44.05*** join/#htc-linux exco (n=exco@e181072093.adsl.alicedsl.de)
17:44.34*** join/#htc-linux linkyboy (n=a@c-75-73-235-231.hsd1.mn.comcast.net)
17:44.45linkyboyhello, will running android in my Kaiser hard reset it?
17:50.19excoyou can run into problems forcing you to hard reset
17:50.43excoat least that's what I figure from reading the posts on xda-developers
17:55.59cr2exco: hard reset == factory restore ?
18:05.38excothink so
18:05.48excobut I guess he already left, cr2
18:06.12excobtw do you know if ph5 already built an fso image for magician
18:11.00*** join/#htc-linux LunohoD_ (n=alex@e180071059.adsl.alicedsl.de)
18:13.32cr2~seen ph5
18:13.35aptph5 <n=ph5@p5485EEE9.dip.t-dialin.net> was last seen on IRC in channel #maemo, 29d 5h 15m 32s ago, saying: 'hi, does anybody know if there exists a tango style device icon depicting a nokia n810 somewhere?'.
18:14.02cr2didn't hear from him since july
18:33.21dcordes_hi
18:34.47dcordes_ex87: everything went well with the kernel compilation?
18:42.36cr2dcordes_: can you remind me how do we document the SMD channels ?
18:43.07cr2+0x041f0   8k+24   AT commands send channel
18:43.43cr2it's the start ? usuall 0x20000000
18:50.45*** join/#htc-linux timebomb (n=timebomb@e176104187.adsl.alicedsl.de)
18:53.30*** join/#htc-linux lpotter (n=ljp@CPE-124-191-144-181.vic.bigpond.net.au)
18:56.41BabelOkiozen: wouah :) want a patch
18:56.53BabelOkiozen: that's what we see last time :)
18:57.37BabelOkiozen: btw , i have small problem ith line detection, trying another algo. it seem your map give me to much noise
18:57.49kiozenBabelO: we can make a bet who files a patch first :)
18:58.12kiozenBabelO: the scanned one or the official one?
18:59.11BabelOkiozen: the scanned , my scanned works well because color are good, on your scanned map line are truncated and color is not strong
18:59.55BabelOkiozen: bt i ve written a class for image manipulation now, filtering, projection and some other stuff like auto threshold
18:59.58kiozenBabelO: that's what I expected :) also you can see the print raster as it is scanned with 600dpi, tought map
19:00.33kiozenBabelO: sounds cool :) looking forward to your patches!
19:00.54kiozenBabelO: have done some bug fixing in GT, track related stuff.
19:01.48kiozenadms family is waiting ;) bbl
19:07.14*** join/#htc-linux exco (n=exco@e181072093.adsl.alicedsl.de)
19:10.27cr20x18 or 0x19
19:10.42cr2*2= 0x30...
19:10.55cr2or 0x32 - unlikely
19:12.04dcordes_cr2: yes, 0x041f0 is where the first AT data shows
19:23.41cr2reset is ok.
19:24.48cr2the accelerometer datasheet does not match the htc driver 100% ;)
19:27.20dcordes_took a close look on it?
19:28.08cr2yes.
19:29.43cr2it uses some not documented regs
19:36.32cr2NetRipper: can you write a test program using accelerometer wince api for haret ?
19:36.54cr2dcordes_: still didn't find the digital compass...
19:39.34cr2dcordes_: the referenced datasheet is very useful, but an actual device is a bit different.
19:40.37*** join/#htc-linux Dinde36 (n=kayser@81-65-130-197.rev.numericable.fr)
19:44.05BabelOje vais m asperger de sel
19:44.12BabelO:)
19:44.18BabelOwrong windows again
19:46.43NetRippercr2, native c/cpp or can it be .net?
19:49.20cr2NetRipper: haret is .cpp, but i guess it'll be native .c
19:50.07NetRippercr2, oh you want it within the haret.exe?
19:50.12cr2but i've looked at the driver already, there is not much that one can trace. only to confirm the i2c traffic
19:50.57cr2write something, we will merge it into haret (GSENSTST or something like that)
19:51.10cr2later
19:53.26cr2i'm looking at NAVI aka pSOC aka smarttouch aka microP aka cap_sens
19:56.33NetRippercr2, a simple app using the htcsensorsdk.dll to query gsensor data, shouldn't be too hard
19:57.24cr2ok
19:57.48cr2do you have any idea about digital compass ?
20:00.38cr2KLT1: is this navi
20:02.04cr2hehe. reset psoc by microp
20:02.25NetRipperdont know about navi or compass
20:07.01cr2this navi driver looks big an complex.
20:09.50cr2i gave up for now :)
20:11.25cr2NetRipper: sensorsdk can control the light sensor too ?
20:11.26NetRipperhehe
20:11.28NetRipperyes
20:12.44NetRipperin c# i can make a test app real quick, in c/cpp i'll need some more time
20:16.27cr2?
20:16.41NetRipperfor gsensor
20:16.41cr2you need to call the c api in # anyway
20:16.56NetRipperin #?
20:17.04cr2the gui may be in c#, who cares
20:17.29NetRipperindeed
20:17.30NetRipperk
20:20.16cr2lol
20:20.18*** join/#htc-linux Dinde (n=kayser@81-65-130-197.rev.numericable.fr)
20:20.30cr2StylusOutStatus
20:21.46*** join/#htc-linux yesher (n=yeshtar@98.109.131.116)
20:23.29cr2SPM1: for keybd
20:31.39ALoGeNohi there
20:41.46*** join/#htc-linux tgreer (n=tgreer@titus.tsone.info)
20:42.49*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
20:46.24*** join/#htc-linux julien_ (n=julien@157.208.20.81.dynamic.adsl.abo.nordnet.fr)
20:52.40*** join/#htc-linux miknix (n=miknix@bl5-240-155.dsl.telepac.pt)
20:57.27cr2the microP will be an interesting puzzle
20:57.42cr2the big keyboard is served over i2c
20:58.27EspenfjoWonder if i should take up work on the diamond again
20:58.54cr2sure
20:59.27EspenfjoJust got so demotivated when i couldnt get the framebuffer from haret updating correctly :)
20:59.30cr2Espenfjo: you don't have this big keyboard (and SD), but the rest should be the same.
20:59.48cr2it's a minor problem
21:00.02Espenfjohehe, well.. :) dunno how many hours i have used on making it work this far
21:00.06cr2the big problem is to teach msm_fb to initialize the panel.
21:00.28cr2Espenfjo: can you do a  soft reset
21:00.31cr2and then
21:00.54cr2pwf diam-dmesg 0x17200000 0x100000
21:01.08*** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde)
21:01.16Espenfjoyeah, sure, hold on
21:01.52cr2i also do not understand why there are SMEM layout differences between raphael and diamond
21:02.33Espenfjoyeah, it seems like there are some weird differences
21:05.22Espenfjopl. did the pwf now
21:05.23Espenfjook
21:05.44cr2look at it with the text editor
21:07.58Espenfjoyeah
21:09.01EspenfjoWhat should i look for?
21:10.00cr2lcd panel type
21:11.13NetRippercr2, http://www.netripper.nl/raphael/SensorTestDeploy.CAB
21:13.29EspenfjoThe only thing which seem remotly like a panel type is: 23:02:00 [D:DISP] g_CurrentPanelType=10...
21:14.25cr210 ?
21:14.53Espenfjoyeah
21:15.19*** join/#htc-linux dcordes (n=dcordes@e179106165.adsl.alicedsl.de)
21:16.16Espenfjothe next line mentions toshiba_prim start, although not sure if it has any relevance to the panel
21:17.55Espenfjoalso; [HDS_Init] Not Hitachi panel.
21:18.00EspenfjoBut thats all
21:18.58*** join/#htc-linux miknix (n=miknix@bl5-240-155.dsl.telepac.pt)
21:19.49cr2NetRipper: very nice :) the light sensore is in the speaker hole
21:19.58cr2Espenfjo: toppoly ? sharp ?
21:20.13Espenfjodunno, it doesnt say anything
21:20.28cr2grep -i for these strings
21:20.40*** part/#htc-linux tgreer (n=tgreer@titus.tsone.info)
21:20.43Kevin2cr2: I think I'm going to tag the current haret as v0.5.2.
21:20.44NetRipperyep that's the light sensor
21:20.59Espenfjoyeah, already done ofc. :) but no, doesnt get anthing
21:21.30cr2NetRipper: the data is a bit strange
21:21.42cr2Kevin2: .py irq names for msm ?
21:21.53NetRippercr2, how is it strange?
21:22.11NetRipperbesides the orientation, which doesn't seem to change
21:22.23Kevin2cr2: Do you want me to put them in before 0.5.2?  I'd just assume add them afterwards.
21:22.31cr2NetRipper: the data is noisy. sstrange is a bad word
21:23.02NetRipperit's the raw sensor data
21:23.05cr2Kevin2: i don't see anything speaking against including it. the gpio irq is another issue
21:23.22NetRipperand the 0 flipping to 359 is normal
21:23.36NetRipperbeing degrees
21:23.37NetRipperand all
21:23.41Kevin2cr2: Do you have a patch ready?
21:23.49cr2NetRipper: great. we will have something to compare
21:24.18cr2Kevin2: i'll update from CVS, and will make a diff
21:27.45cr2Kevin2: http://pastebin.ca/1213076
21:29.43Kevin2cr2: Okay.  Why comment out the gpio names?  I don't think it will hurt if haretconsole knows the names.
21:29.51cr2ok.
21:31.31cr2Kevin2: i think we should think about haret-1.0, and setting the goals and tasks.
21:33.10Kevin2I think Haret will always be a developer tool - as such, I think we can call it 1.0 whenever we want.  :-)
21:33.22cr2lol
21:43.14Kevin2Okay - I tagged 0.5.2 - now to update the links.
21:43.38ALoGeNohey to do the kernel boot in rootfs.img i need set up ramfs in config no?
21:43.43ALoGeNoand lo all :)
21:43.57ALoGeNoin the uni i mean
21:44.42cr2Kevin2: nice.
21:44.55cr2Espenfjo: i'll look at the diamond
21:45.18Espenfjo:)
21:46.29cr2aah. this i2c panel setup goes to microP
21:46.38cr2cc,20,c
21:47.08cr2cc and ce. maybe 2 microp. atmega48 and atmega88
21:49.03*** join/#htc-linux nebi (n=nebi@c-498fe253.02-145-7570701.cust.bredbandsbolaget.se)
21:51.19cr2Espenfjo: hitachi/sharp/toppoly. looks like the same setup as on raph100
21:51.45Espenfjook
21:52.09cr2the same microp48 and microp88
21:52.19Espenfjook, that sounds promising
21:52.47cr2Espenfjo: you should look here too -> http://wiki.xda-developers.com/index.php?pagename=Raphael_GPIO
21:53.04cr2and trace the gpios.
21:53.19cr2let's hope they are the same.
21:54.44cr2Espenfjo: try to suspend and resume. then dump 0x172* again.
21:54.48EspenfjoI could try, tomorrow maybe. But its a bit out of my league :) I have no idea what to do. I know my C, and have some basic HW understanding and i would say i know fairly much about the linux kernel also
21:54.59cr2let's hope you will see the LCD type there.
21:55.08Espenfjotomorrow :) have to get some sleep before work
21:55.18cr2Espenfjo: ok. good night :)
21:56.34cr2it does the same TSSC ops, so the touchscreen should be the same.
21:57.30cr2hehe. maybe we don't really need 2 machtypes here :)
21:57.50cr2it's like hermes and trinity
22:04.21*** join/#htc-linux patoche (n=pat@lns-bzn-20-82-64-10-164.adsl.proxad.net)
22:04.29*** part/#htc-linux patoche (n=pat@lns-bzn-20-82-64-10-164.adsl.proxad.net)
22:07.20cr2lol, i've read about the possibility for G1 to run wince.
22:09.42yesherhave there been any ce devices with compass and accelerometer before?
22:09.49BabelOcr2: windoze guy are crazy :)
22:10.01BabelOcr2: they want to add more bug
22:11.49dcordescr2: what about that? there are also people who pay money for wince on the beagleboard
22:14.29dcordescr2: do you have details about G1 boot process?
22:23.26Marajinyoes
22:23.33NetRipper#htc-wm? :p
22:30.30cr2BabelO: i wish them good luck ;-) it's even a bigger pita than porting linux.
22:30.53BabelOcr2: yes i think so
22:30.53cr2Marajin: do you know any wince device with a digital compass ?
22:31.13Marajincr2: nope
22:31.17cr2i'm confused by the compass irq, and don't know how to trigger it :)
22:31.44cr2the accelerometer will work.
22:32.05BabelOcr2: do you want to participate to that -> http://www.project10tothe100.com/intl/EN_GB/index.html
22:32.13BabelOcr2: linux for the whole world :)
22:32.13cr2datasheet is not very accurate (maybe it's another device), but it's more of less clear how to read the data
22:33.54cr2BabelO: osm is certainly a big concern for google. since they don't allow to draw using their imagery ;)
22:34.48BabelOcr2: really ? but i see some comment about VirtualEarth and a third
23:03.58BabelOgood night
23:23.39*** join/#htc-linux sikkle (n=sikkle@modemcable132.57-201-24.mc.videotron.ca)
23:36.47*** join/#htc-linux sikkle (n=sikkle@modemcable132.57-201-24.mc.videotron.ca)
23:38.36*** join/#htc-linux ALoGeNo (n=QUAKEIII@26.Red-81-37-222.dynamicIP.rima-tde.net)

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