irclog2html for #htc-linux on 20100220

00:00.14*** join/#htc-linux Zenity (~ircap@cpc1-grth3-0-0-cust482.sgyl.cable.virginmedia.com)
00:01.30*** join/#htc-linux Markinus (~Miranda@gtng-4db04e3e.pool.mediaWays.net)
00:07.03NetRippershame on you!
00:07.04NetRipper:p
00:07.10*** join/#htc-linux Wr4i7h (~abc@89.180.90.110)
00:07.17JD[x]Yeh, specially since I been waiting for him :( lol
00:07.27ToAsTcfhhit me up on xda i gotta go. please and ill hook u up
00:07.40JD[x]aight, PM You?
00:07.48NetRipperor send him lots of booze
00:08.08ToAsTcfhyeah or just go to the cdma hero forum an look for my source thread
00:08.23JD[x]Found it lol
00:08.30JD[x]when I searched for you on it
00:09.40ToAsTcfhsweet yeah just credit to mrpippy phh and maejrep and myself as well.
00:10.06ToAsTcfhalso i have the .29 synaptic driver backported in there as well and working
00:14.10*** join/#htc-linux rafyvitto (~rafyvitto@76-195-44-215.lightspeed.wlfrct.sbcglobal.net)
00:14.36JD[x]The only things I really need to have a rock solid 2.1 release
00:14.46JD[x]are the GLES and Camera
00:15.34JD[x]Camera = Half arsed library (what everyone on XDA calls a driver) - I'm thankful to the dude that did it, but it's very incomplete/buggy
00:16.30rafyvittoguys
00:16.34rafyvittohttp://www.pastebin.com/m7e82a16f
00:16.47rafyvittoim trying to run does commands but nothing seems to happen
00:21.07JD[x]I can help you with one thing rafyvitto:
00:21.15JD[x]Those*
00:30.10NetRipperrafyvitto, pwf writes to file
00:30.22*** join/#htc-linux BHSPitMonkey (~stephen@unaffiliated/bhspitmonkey)
00:30.23NetRipperso you have files called acer_spl and acer_smem in the directory of haret.exe
00:32.06Unholyrafy'
00:33.08*** join/#htc-linux mickey|bbl (~mickey@80.81.242.146)
00:36.34*** join/#htc-linux jumoit (~samuel@121.77.87.145)
00:45.32*** join/#htc-linux irlolcopter (~irlolcopt@host81-152-193-147.range81-152.btcentralplus.com)
00:50.48cr2_NetRipper: s200 starts @0x118* too
00:50.58cr2_but has 64+256MB ram
00:51.52cr2_the fb is at 0x3227000
00:52.07cr2_need to patch haret for VIDEOLFB
00:52.14*** join/#htc-linux kvaster (~kvaster@live.bn.by)
00:57.40mynthere a good way to disable OTA updates?
01:04.59Scepterris there anything that needs to be done with a system.img other than squashing it, for android
01:06.01Scepterrif im not mistaken a couple things need to be added
01:13.25*** join/#htc-linux ToAsTcfh (~toast@99-205-91-77.pools.spcsdns.net)
01:19.39ToAsTcfhJD[x]: ping
01:20.07ToAsTcfhJD[x]: ping
01:22.49*** join/#htc-linux M1DLGpc (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
01:30.11JD[x]ToAsTcfh: PONG!
01:30.13JD[x]Sorry
01:30.18JD[x]Trying to copy your revisions
01:30.43ToAsTcfheh they should apply clean
01:30.59ToAsTcfhshould* :P
01:31.13JD[x]Well i've pretty much done it manually
01:31.21ToAsTcfhwho are u on xda
01:31.25JD[x]But didnt comment out the defines in the header, and re-add it later
01:31.43ToAsTcfhoh
01:31.51JD[x]OzJD, I only surfaced once before... no one could build eclair, so I tried, lol
01:32.05JD[x](on sapphire/dream)
01:33.01ToAsTcfhtru
01:33.30JD[x]But yeh, now everyone can do it :-)
01:33.49ToAsTcfhso yeah man just give thanx for our work when u post ur source and work please
01:33.53JD[x]I try and note all my issues, as I know how much it helps me
01:34.01JD[x]Of course ToAsTcfh :-)
01:34.22JD[x]I prob won't up source straight away, I can't figure out git. lol
01:34.48ToAsTcfhoh
01:35.36ToAsTcfhtru
01:35.37JD[x]GIT reminds me of overlays :P
01:35.48ToAsTcfhits nice though
01:35.51ToAsTcfhfor me
01:35.54NetRippercr2_, i've redone the memory map for leo... basically i kept everything, just re-aligned them to start at 0x3* downwards
01:35.58ToAsTcfhnot everyone i guess
01:36.17NetRippercr2_, got 396MB left for linux that way (not using SMI currently)
01:38.01NetRippercr2_, and yea i got that VIDEOLFB patch on my todo ;)
01:38.10JD[x]+  } else if (!get_msm_hw3d_file(img->memory_id,  &img->offset, start, len, filep)) {
01:38.21JD[x]Where's get_msm_hw3d_file defined?
01:38.36ToAsTcfhJD[x]: the camera in my ssource is a backport from .29 it actually mostly works but vfe doesnt start so it doesnt work :P
01:38.58JD[x]vfe?
01:39.09ToAsTcfhur gonna have to sort it out and patch it to urs
01:39.10JD[x]video front end?
01:39.16ToAsTcfhvideo front end
01:39.22JD[x]Heh
01:39.30ToAsTcfhyeah sux
01:39.32JD[x]You seen NCommanders?
01:39.57ToAsTcfhyeah i dont have a libqcamera that uses msm_camera
01:40.06JD[x]oh
01:40.06ToAsTcfhplus its a sad hack
01:40.24JD[x]You're going non proprietry?
01:40.28ToAsTcfhit works but i guess everyone has issues
01:40.41ToAsTcfhno
01:40.56ToAsTcfhi have libs :P
01:41.27JD[x]lol
01:41.33JD[x]HTC leaks alot of stuff
01:41.39ToAsTcfhyep
01:41.42JD[x]I think half of it is on purpose.
01:42.17JD[x]There's way too much leaked for it to be not lol
01:42.21ToAsTcfhi was gonna do u the libcamera hack but after seeing it only half way worked i said hell no
01:42.31JD[x]Yeh I thought i'd try it out
01:42.36JD[x]But it's better than nothing
01:42.41ToAsTcfhyeah
01:42.49JD[x]If you've got libs though...
01:42.53ToAsTcfhim not dissing it by no means
01:43.00JD[x]Thats how I feel
01:43.06JD[x]Look, it sucks, but thanks!
01:43.08stinebdcrazy windows mobile... this card reads fine in linux and at the bootloader
01:43.11JD[x]How do you say that nicely?
01:43.12JD[x]lol
01:43.21ToAsTcfhu dont
01:43.34JD[x]heh
01:43.52ToAsTcfhhes a cool cat though. i posted in his thread and he set off to find me right then
01:44.12JD[x]Give me one sec
01:44.15JD[x]I'm on a roll.
01:45.11ToAsTcfhgrep man
01:45.56JD[x]I didn't realise that msm_hw3d.h
01:46.25JD[x]because the commits only showed headers that you removed from another file, so it seemed pointless
01:46.46ToAsTcfhyeah ur gonna need that. yeah just get the patch from github and aply it. itll save u a ton of time
01:46.59NetRippercr2_, pushed the memory map changes
01:47.09NetRipperoff to bed, night
01:47.26JD[x]I can't - it seems our sources aren't the same
01:47.32JD[x]Night NetRipper
01:49.10luke-jrJD[x]: so this HTC port is legally grey? :/
01:49.40JD[x]hah? which one? The one i'm doing?
01:51.29JD[x]:S
01:52.14luke-jrdunno
01:52.17luke-jryou said HTC leaks a lot
01:52.30luke-jrif the port is based on leaked code, I don't see how it can be legit
01:52.37mynwhat was leaked?
01:52.46JD[x]No, I'm not talking about anything im doing
01:52.49JD[x]Just in general
01:53.02JD[x]The staff let go of alot of stuff they're not allowed to
01:53.13mynyah
01:53.32JD[x]Like the 2.1 Hero ROM that got around before anyone had 2.0
01:58.14f77is there an equivalent of ReadProcessMemory in linux?
02:00.02JD[x]f77: Check out ptrace
02:00.48f77ty
02:03.25JD[x]You got your commits mixed up with Touchscreen stuff ToAsTcfh :P
02:03.38*** join/#htc-linux krisje8 (krisje8@gateway/shell/blinkenshell.org/x-ixyffzuhpxkfvgqx)
02:03.49JD[x]Looks like no overlaps in files
02:15.01JD[x]include/linux/msm_hw3d.h:29:1: warning: "HW3D_WAIT_FOR_INTERRUPT" redefined
02:15.07JD[x]I can deal with that.
02:16.02ToAsTcfhgrep
02:16.25JD[x]Heh, I'll leave it
02:16.32JD[x]It compiled, Let's see if it works first
02:17.20ToAsTcfhhaha
02:17.27ToAsTcfhme too
02:17.50ToAsTcfhit shouldve asked u which hw3d driver to install
02:18.08ToAsTcfhdo u got the libs?
02:18.18JD[x]jd@OzLap01:~/mydroid$ fastboot -w; fastboot flashall; adb wait-for device; adb logcat;
02:18.33ToAsTcfhit shouldve asked u which hw3d driver to install
02:18.36ToAsTcfhdo u got the libs?
02:18.37JD[x]Nah it didnt
02:18.42JD[x]which libs?
02:18.44ToAsTcfh:/
02:19.00JD[x]I might have used "default y"
02:19.03ToAsTcfhlibs for 2.x opengl
02:19.08JD[x]Oh
02:19.21JD[x]openGLES_qcom.so ?
02:19.28JD[x]etc
02:19.29JD[x]?
02:19.32ToAsTcfhno it should ask u if u wanna compile for 2.x or 1.6
02:19.58ToAsTcfhyes etc
02:20.37JD[x]Yeh
02:20.41JD[x]Forgot to push em, lol
02:21.24JD[x]jd@OzLap01:~/mydroid$ adb remount
02:21.24JD[x]error: protocol fault (no status)
02:21.25JD[x]Woah.
02:21.49ToAsTcfhoops
02:21.53JD[x]It only happened once
02:21.59JD[x]I think I must have done it at the wrong time
02:22.50JD[x]Nup, I've broken something, boot loop
02:25.15JD[x]Oh, I missed Choice.
02:25.33ToAsTcfh:/
02:28.00*** join/#htc-linux kvaster (~kvaster@live.bn.by)
02:30.10JD[x]MSM Hardware 3D Register Driver
02:30.10JD[x]<PROTECTED>
02:30.11JD[x]> 2. Android 2.0+ (Eclair) (MSM_HW3D)
02:30.15JD[x]That's what you wanted, right?
02:30.56ToAsTcfhyep
02:31.02ToAsTcfhur golden now
02:31.04ToAsTcfh:P
02:31.09JD[x]Let's hope
02:31.14JD[x]Last time I got a boot loop
02:31.15ToAsTcfhit gonna work if it compiles
02:31.19JD[x]So I don't feel confident
02:31.22JD[x]It's compiled
02:31.24ToAsTcfhitll work man
02:31.49ToAsTcfhif u got libs that look for msm_hw3dc itll work
02:32.28JD[x]Yeh that's the issue I was having before, it wasn't being found
02:32.39ToAsTcfhdont forget about us whe ur in the big time on the dream forum
02:32.43JD[x]I tried renaming /dev/hw3d or whatever the old one was
02:32.46ToAsTcfh:P
02:32.59JD[x]lol I'm thinking of doing exclusive for sapphire
02:33.02ToAsTcfhthis is gonna work man
02:33.06JD[x]Someone else will mod it for dream
02:33.35ToAsTcfheh justt make sure they give thanx also
02:34.09ToAsTcfhls /dev
02:34.11ToAsTcfh?
02:34.23JD[x]So the idea of #htc-linux is WM ports to Android?
02:34.37ToAsTcfhyep :P
02:34.48ToAsTcfhto htc devices
02:34.58ToAsTcfhall htc
02:35.16JD[x]Nup not working
02:35.17ToAsTcfhits just that the best devs on the block are in here
02:35.21JD[x]I think i've missed something
02:35.22ToAsTcfhwtf
02:35.27ToAsTcfhprolly
02:36.09ToAsTcfhi told u to just do the patch and manually put in the rest
02:36.22ToAsTcfhalot less to miss
02:36.24ToAsTcfh:P
02:36.36JD[x]There's only 2 commits right?
02:36.47ToAsTcfhright
02:37.05ToAsTcfhoh yeah i got the synaptics shit in it sorry
02:37.21ToAsTcfhi did them both on the same afternoon
02:37.28ToAsTcfhsorry my bad
02:37.47JD[x]Yeh thats what I said above lol
02:37.55ToAsTcfhthe touch driver may work for u guys too idk
02:37.59JD[x]There's a few things that would break it if I just patched anyway
02:38.14JD[x]The touch for us is in AOSP already ;\
02:38.29ToAsTcfhbut its in the apps
02:38.29JD[x]I think
02:38.34ToAsTcfhnot the kernel
02:38.40JD[x]Probably
02:38.45JD[x]Never checked, lol
02:39.09ToAsTcfhi know it is i tried it and it worked but it sucked if u didnt have the source for the app
02:39.38JD[x]lol
02:39.40ToAsTcfhtry mine and see
02:39.54JD[x]I might on the next revision I do
02:39.56ToAsTcfhu use synaptics
02:40.01JD[x]I'll likely start over and do it again :P
02:40.15JD[x]Yeh, we're synaptics
02:40.22ToAsTcfhso there u go
02:40.28JD[x]Umm, how many fingers can you use?
02:40.36ToAsTcfhtwo
02:40.47JD[x]three give you bad rects?
02:40.48ToAsTcfhshes tight
02:40.55ToAsTcfhno
02:41.09ToAsTcfhit just doesnt owork like that
02:41.15JD[x]lol
02:41.18ToAsTcfhi dont think
02:41.21JD[x]I'd like three :P
02:41.30ToAsTcfhwhy
02:41.30JD[x]But AOSP + three fingers = Bleed.
02:41.52JD[x]Three would be cool, It's like an epenis.
02:41.53JD[x]lol
02:42.05ToAsTcfhoh i wish that damn guitar app was multitoch. thats the only part that sux
02:42.08JD[x]Not that i'd use it in the real world.
02:42.25ToAsTcfhfender app
02:42.29JD[x]mmm yeh a guitar app would be nice with 3+ fingers
02:42.40JD[x]It's not multitouch at all?
02:42.54ToAsTcfhwell even with just two it would be cool
02:42.58ToAsTcfhno
02:43.56*** join/#htc-linux M1DLGpc (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
02:47.10JD[x]damn
02:47.25JD[x]whos pushing the device? HTC?
02:51.06JD[x]I know its sapphire, but is it exclusive to a network or HTC pushing if? if HTC, i'd have expected better from em.
02:51.14JD[x]Then again, is it even on eclair?
02:53.29JD[x]Ahh nah its not
02:53.42JD[x]thats why no multitouch
02:55.40mynanyone got a diamond or touch pro they want to sell for cheap?
02:59.03JD[x]jd@OzLap01:~/mydroid-kernel/msm$ git reset --hard HEAD
02:59.04JD[x]HEAD is now at c7f8bce [ARM] msm: defconfig: Set mmap_min_addr to 32k
02:59.05*** join/#htc-linux Pyrator (Pyrator@cpe-24-94-244-110.sw.res.rr.com)
02:59.07JD[x]:(
03:00.00Pyrator<PROTECTED>
03:03.16*** join/#htc-linux MrPippy (~pip@adsl-75-11-172-186.dsl.sndg02.sbcglobal.net)
03:09.17*** join/#htc-linux Vito89 (~quassel@gw.loccal.net)
03:11.02rafyvittopwf my_wince_dmesg 0x1fe00000 0x200000, is this command supposed to print something on the console or not?
03:12.45*** join/#htc-linux Pyrator (Pyrator@cpe-24-94-244-110.sw.res.rr.com)
03:15.47tmztrafyvitto: no
03:15.50tmztto a file
03:16.02rafyvittoa log?
03:16.30rafyvittoim just trying a command cr2 posted on xda on my acer s200 haret
03:16.56rafyvittoi dumped the mmu
03:17.00rafyvittoand vram
03:17.14tmzta file
03:17.17tmztbinary
03:17.23tmztpwf is physical write file
03:17.27*** join/#htc-linux Vito89_ (~quassel@gw.loccal.net)
03:17.29tmztsame directory as haret
03:17.57rafyvittoohh ic now
03:18.12rafyvittoi though it would get dump at the haret console folder
03:18.19rafyvittoim new to all this =]
03:18.53rafyvittoso i can open thoes using note pad or will i need a linux box?
03:18.57tmztharetconsole just does raw logs
03:19.14tmztyou could do pd if you want hex but cr2 wants binary
03:20.12rafyvittoi copy paste the binary data from the console log and gave it to him
03:20.48tmztis it binary or hex?
03:20.57tmzthuh???
03:21.03tmztthey are just files
03:21.24rafyvittohex
03:21.27rafyvittofrom what i can see
03:21.59rafyvitto----- Virtual address map ----- cp15: r1=00c5787d r2=123f0010 r3=00000001 r13=2a000000Descriptor flags legend:  C: Cacheable    B: Bufferable     D: Domain # AP: Access Permissions (for up to 4 slices):       0: No Access             1: Supervisor mode read/write       2: User mode read        3: User mode read/write       4: Reserved              5: Supervisor mode read only       6: Supervisor/user read  7: Superviso
03:22.01rafyvittoetc
03:22.37tmztthose are strings
03:22.42tmzthmm
03:22.48tmztthe console should be fine
03:23.09rafyvittoyes the mmu dumping went perctly fine
03:23.27rafyvittoi was only testing the wince_dmesg
03:23.31tmztmmu is binary
03:23.38tmztplease give him the binary file
03:23.42tmztnevermind
03:23.52tmztthought you meant bootloader mmu setup
03:24.57rafyvittodump mmu
03:25.04rafyvittothats what i ran
03:33.28randomblame"freeing init memory" I'm soooo close to userland
03:38.14tmztcool
03:38.23tmztwell you're probably in userland
03:38.34tmztsince that follows exec on pid 1 I think
03:38.47tmztbut your userland has failed
03:39.09rafyvittorandomblame:on what device?
03:39.38rafyvittorandomblame: on what device?
03:39.46randomblamelg incite
03:40.00rafyvittoohh ok ic
03:40.02rafyvittocongrats
03:40.09randomblamety :D
03:40.12rafyvitto=]
03:40.30randomblameyou guys know what is a pain in the ass option? fb_msm refresh
03:40.40rafyvittoi remember readin the thread about porting linux to the lg incite on xda upgrading and nlocking
03:40.44rafyvittounlocking*
03:40.49randomblameit causes the most ridiculously strange behaviour
03:40.57tmztwe shouldn't need refresh soon
03:41.12tmztwell maybe still on 7k
03:42.23randomblamestill don't have a fb but got ramconsole working
03:47.04tmzthow are you seeing 'freeing init memory'?
03:47.15tmzthmm
03:47.21tmztuserland might be running then
03:47.28tmztbut it won't output on ramconsole
03:48.00tmztthere's a way to cat something to /dev to do that though
03:49.36randomblamehmm
03:49.56randomblameI think I can get usb working, I should be able to talk to angstrom
04:00.37*** join/#htc-linux irlolcopter (~irlolcopt@host81-152-193-147.range81-152.btcentralplus.com)
04:10.57randomblamehaha I just noticed this setting system clock to 2082-02-25 13:14:04 UTC (3539250844)
04:31.16*** join/#htc-linux gandhijee (akp@host-66-202-34-165.spr.choiceone.net)
04:31.24*** part/#htc-linux gandhijee (akp@host-66-202-34-165.spr.choiceone.net)
04:37.41*** join/#htc-linux gehzumteufel (~gehzumteu@cpe-76-93-100-70.socal.res.rr.com)
04:38.03gehzumteufelprivet
04:38.25gehzumteufel(That is hello in Russian)
04:40.13*** join/#htc-linux f77 (~Administr@cpc2-nfds13-2-0-cust243.8-2.cable.virginmedia.com)
04:40.20Paul_awaykak dela?
04:40.47gehzumteufelhaha I am well
04:40.49gehzumteufelYou?
04:41.26Paul_awayperfect
04:41.30gehzumteufelI can't really type much of the Russian that I do know in anything but Russian letters. The whole Russian with Latin-based alphabet fucks me up
04:42.38gehzumteufeldamn I see you are actually in Russia. Where at?
04:42.52Paul_awayKrasnoyarsk
04:43.04gehzumteufelIsn't that way up in the middle of nowhere?
04:43.23Paul_away:)
04:44.06gehzumteufelhaha I am looking at a map and I have a friend that is from near there if I remember
04:44.11gehzumteufelAnd I have some other friends in Lipetsk
04:44.39Paul_awayI have also friends all over the world
04:44.49Paul_awaywith internet it is not that difficult
04:44.56gehzumteufellol no these are people I know irl
04:45.05gehzumteufelDidn't meet them online
04:48.09Paul_awaygehzumteufel, I often write as I think and there are big differences in the sentence building between english and russian
04:48.25gehzumteufelYeah
04:48.27gehzumteufelI know
04:50.13gehzumteufelI understand that sentence structure from English to most other languages is very different
04:50.54gehzumteufelEnglish and German, while very related, are far from being very similar. And the small amount of Russian that I do know, is pretty similar in structure to German.
04:51.06*** join/#htc-linux tmzt (~tmzt@adsl-99-164-34-42.dsl.akrnoh.sbcglobal.net)
04:52.35*** join/#htc-linux DaveWM (dave@h-96-13-23-190.ip.alltel.net)
05:03.16randomblamehow does this handle the system clock?
05:03.41randomblameit's never acurate at all
05:03.59gehzumteufelSeems to be quite accurate for me
05:04.59randomblameinteresting, it seems it would reset each time the phone restarts to winmo
05:05.44gehzumteufelhmm I never noticed that
05:06.05randomblameI'm not talking about the time, I'm talking about the system clock
05:06.07gehzumteufelThat isn't to say that doesn't exist
05:06.09gehzumteufeloh
05:06.24gehzumteufelWhat is the difference? /n00b
05:06.53randomblameone is used for low level system tasks, one you check to see if you're late
05:08.11gehzumteufelAh lol
05:08.16*** join/#htc-linux DaveWM (dave@h-96-13-47-253.ip.alltel.net)
05:08.25gehzumteufelsame thing as the cpu clock just different name
05:13.43randomblameYour computer has two timepieces; a battery-backed one that is always running (the ``hardware'', ``BIOS'', or ``CMOS'' clock), and another that is maintained by the operating system currently running on your computer (the ``system'' clock). The hardware clock is generally only used to set the system clock when your operating system boots, and then from that point until you reboot or turn off your system, the system clock is the one u
05:13.43randomblamesed to keep track of time.
05:14.18randomblameso your hardware clock must be functional while mine is not yet
05:14.32gehzumteufelYeah I didn't realise we were talking about the hardware clock as opposed to the time clock
05:35.18*** join/#htc-linux Bry8Star_ (~Bry8Star@cpe-76-170-247-232.socal.res.rr.com)
05:41.36*** join/#htc-linux Bry8Star (~Bry8Star@cpe-76-170-247-232.socal.res.rr.com)
05:52.33*** join/#htc-linux ToAsTcfh (~toast@70-11-189-98.pools.spcsdns.net)
05:53.40Paul_awayphh, something wrong with VPE?
05:53.40Paul_away[    2.019134] Enabling VFE clock
05:53.40Paul_away[    2.069824] clock-wince: pc_clk_set_rate: id=40 rate=24000000
05:53.40Paul_away[    2.110443] msm_i2c msm_i2c.0: error, status 43c8
05:53.40Paul_away[    2.110748] msm_i2c msm_i2c.0: Error during data xfer (-5)
05:53.41Paul_away[    2.110992] mt9t013_i2c_txdata failed
05:53.41Paul_away[    2.116333] i2c_write_w failed, addr = 0x301a, val = 0x1009!
05:54.20ToAsTcfhyep thats our issue
05:54.24ToAsTcfhvfe
05:54.40ToAsTcfhits not starting
05:54.44ToAsTcfhinit
05:55.01ToAsTcfhfigure that out and ur god like :P
05:58.07JD[x]I GIVE UP!
05:58.23JD[x]I've tried porting yours since back then ToAsTcfh, but I suck.
05:58.31JD[x]and when I try your repo, make fails.
06:01.19JD[x];\,,,,,,writel((readl(MSM_CLK_CTL_BASE+offset)|(1<<9)), MSM_CLK_CTL_BASE + offset);
06:07.03JD[x]ToAsTcfh: Can you DCC me youe zImage ToAsTcfh?
06:11.04gehzumteufelWhat is the vfe?
06:11.11*** join/#htc-linux rashire (~ed1112war@98.114.89.97)
06:11.17JD[x]viddeo front end
06:11.20gehzumteufelAh
06:11.46gehzumteufelIs that what controls the video output I assume?
06:18.09*** join/#htc-linux stinebd (~bryan@gentoo/developer/battousai)
06:24.31*** join/#htc-linux rashire (~ed1112war@98.114.89.97)
06:32.31randomblamehmm what's the advantage of harets resume into boot commdand?
06:35.04randomblamememory would remain intact so it wouldn't be cleaner
06:35.15randomblameunless video was reinitiated
06:35.27randomblamethat might be usefull
06:37.57*** join/#htc-linux reefermattness (~mattgnm@c-76-18-79-170.hsd1.nm.comcast.net)
06:43.42*** join/#htc-linux kri5 (~kri5@cowdy.vlmc.org)
06:48.53gehzumteufelreefermattness wut up
07:07.13*** join/#htc-linux luklew (~luklewluk@207.west.gre.pl)
07:08.33randomblameanyone know a wince tool to set the clock speed of msm7201a?
07:09.01randomblameI want to be able to test this kernels issue with different clocks
07:09.54gehzumteufelI thought the clocks were set on the 7200's?
07:10.25randomblamefor arm11 there tends to be 3 different speeds for power management
07:10.37randomblame245mhz 384mhz 528mhz
07:11.20randomblameI want to be able to force it to stick with one
07:11.28gehzumteufelAh
07:11.53randomblamethe kernel goes all the way into userspace 1 out of 20 times, that is always at 528mhz
07:12.45gehzumteufelSo you can't just issue a power save command that forces the clock change?
07:13.07gehzumteufelOr will it go back depending on load?
07:14.13randomblameI would have to issue that in haret which barely supports msm cpus, and yes it would probably go back depending on load
07:14.39gehzumteufelhmm
07:15.12gehzumteufelHaret doesn't actually support anything
07:15.27gehzumteufelIt is really just a bootloader to kick wince out of memory and start the kernel
07:15.45randomblamethe framework is there for some pretty cool functionality
07:15.47gehzumteufelNot even a bootloader. Just a plain loader
07:16.07randomblameyeah it just writes over memory
07:16.10gehzumteufelYeah
07:16.16randomblamewince is terribly unsecure
07:16.24gehzumteufelLOL
07:16.39gehzumteufelWin7 is the most secure Windows OS created
07:16.57gehzumteufelAnd while I absolutely love Win7....that isn't saying much
07:17.25randomblameyep
07:17.34randomblameit's a good os, for most things
07:18.04gehzumteufelWindows seems to be the only OS that you can just flat out change the password of the admin account with another OS. On the Mac they provide for this functionality with an original MacOS disc, and Linux, I dunno if it is possible.
07:18.19gehzumteufelWinCE is basically Win 3.1 in 32bit
07:18.28randomblameit's a bad os for programming I'd rather stick a fork in my arm than sit down and run visual studio again
07:18.34gehzumteufelhaha
07:18.55gehzumteufelYou know what is ironic about that? I hear the newest VS is much better than most other tools out there
07:19.20randomblame2009 is so unstable it makes you suicidal
07:19.25gehzumteufelhaha really?!
07:19.29randomblameyes
07:20.40gehzumteufelQuite frankly, MS needs to get their head out of their ass
07:20.48gehzumteufelThat won't happen anytime soon though
07:21.09randomblamemy 6month old just went to the doctor yesterday for his shots, now he has a cold. everywhere he crawls he leaves a trail of snot
07:21.13*** join/#htc-linux Wout (~woutf@s55927d21.adsl.wanadoo.nl)
07:21.19gehzumteufelhaha
07:21.38*** join/#htc-linux lucx (~luc@89-115-128-35.cl.ipv4ilink.net)
07:22.02randomblameI wish they made baby sleeping pills
07:22.25randomblamethen I'd get some sleep too
07:22.28gehzumteufellol
07:22.30gehzumteufelThey do
07:22.53randomblameno way
07:22.59gehzumteufelYeah. It's called a club
07:23.01gehzumteufellol
07:23.02gehzumteufeljk
07:23.12randomblameI was gonna say, jack daniels doesn't count
07:23.14gehzumteufelLOL
07:23.30gehzumteufelI was going to say some JD on the tongue before that, but figured, meh, go for the jugular
07:23.52randomblameit would take a pint to knock him out
07:23.55gehzumteufelhaha
07:23.59gehzumteufelDoubt it
07:24.08randomblame23lbs at 6 months
07:24.12gehzumteufelJust let him cry himself to sleep
07:24.27gehzumteufelDunno if that is normal or not
07:24.37randomblamenormal is 16lbs
07:24.54randomblamehe's a giant, and he loves my keyboard
07:25.14randomblamehe's stronger than I am too, so I lose
07:25.42gehzumteufelhaha
07:26.00randomblameI used to be able to tie him up in a blanket
07:26.22randomblameI need to invest in some rope
07:26.42gehzumteufellol
07:31.32randomblameI'm gonna try the .32 branch with ram console maybe it will answer some questions
07:36.48*** join/#htc-linux mickey|bbl (~mickey@openmoko/coreteam/mickey)
07:39.59gehzumteufelI was wondering why the .27 branch is being used
07:40.09gehzumteufelAs opposed to the .32
07:40.18randomblamebecause it works
07:40.26gehzumteufellol
07:40.45*** join/#htc-linux ToAsTcfh (~toast@99-205-206-2.pools.spcsdns.net)
07:40.53gehzumteufelThe kernel commits aren't compatible with the .32 branch?
07:41.00gehzumteufelOr do they break things
07:41.21randomblameits structured differently
07:41.39gehzumteufelAh
07:50.35randomblameoh I can enable ram console on the eve kernel too that should actually get pretty far.
07:50.58gehzumteufelWhat does the ram console do?
07:51.05randomblameit lets me see
07:51.22gehzumteufelSee what...
07:51.24randomblamethe main framebuffer doesn't work on this device
07:51.27gehzumteufelAh
07:51.32gehzumteufelWhat device?
07:51.34randomblameand the console frame buffer is less than reliable
07:51.37randomblamelg incite
07:51.43gehzumteufelOH shit that's right
07:51.51gehzumteufelYou were the one trying to figure that shit out the other day
07:51.51gehzumteufellol
07:51.59randomblameevery day :D
07:52.02gehzumteufelhaha yeah
07:52.08gehzumteufelBut I haven't been on here in a week
07:52.26gehzumteufelps
07:52.34randomblameI managed to get the kernel to a point where it boots about 1 in 10 attempts all the way to userspace
07:52.37gehzumteufelhttp://nig.gr
07:53.02gehzumteufel1 in 10 is better than never!
07:53.35randomblameyeah but the panics come from no where it's making my brain hurt
07:53.43gehzumteufelheh
07:55.29randomblamethat's a useful site :D I'm gonna have to use it ha
07:56.54gehzumteufelLOL
07:57.00gehzumteufelWe found that shit while at work today
07:57.18randomblamesounds like you had a productive day
07:57.26gehzumteufelnig.ga isn't taken, but the registrar in Gabon is not setup, so can't register it. And bit.ch is already taken
07:57.41gehzumteufelhaha I fuck off at work quite a lot some days
07:58.01gehzumteufelhttp://photos-a.ak.fbcdn.net/hphotos-ak-ash1/hs280.ash1/20733_497520325602_695500602_11103199_1475504_n.jpg
07:58.21gehzumteufelThat is at work
07:58.22gehzumteufellol
07:58.44randomblamenice
08:00.58*** join/#htc-linux kri5 (~kri5@cowdy.vlmc.org)
08:02.22*** join/#htc-linux LookLeft (~luklewluk@207.west.gre.pl)
08:02.46randomblameok testing eve kernel brb
08:04.00randomblameha it didn't even start it just restarted the phone with gusto
08:06.01gehzumteufelhaha
08:06.18randomblamemaybe with the right mach type
08:06.25gehzumteufelYeah that would help
08:06.28gehzumteufelbrb food
08:20.03*** join/#htc-linux rafyvitto (~rafyvitto@76-195-44-215.lightspeed.wlfrct.sbcglobal.net)
08:21.22Paul_Isheninwhat is amms?
08:28.20*** join/#htc-linux droid001 (~g1@p4FDCB8E0.dip.t-dialin.net)
08:28.33mickeylsystem implementing the baseband radio
08:28.54mickeylacronyme for Advanced Mobile Subscriber Software
08:29.26Paul_Ishenindoes our kernel has it?
08:34.43Paul_Isheninfound - we have amss version 6225 in our kernel
08:35.29*** join/#htc-linux Markinus (~Miranda@gtng-4db050c2.pool.mediaWays.net)
08:38.38mickeylnot exactly in the kernel
08:38.54mickeylthe kernel contains communication protocols to talk to amss
08:39.10*** join/#htc-linux balsat (~balsat@87.72.13.34)
08:39.11mickeylwhich has the full control over some parts of the systems which rather should have been controllable by the kernel
08:42.51phh[06:56:59] <Paul_away> [    2.110748] msm_i2c msm_i2c.0: Error during data xfer (-5) <------ not really a vfe error -_-'
08:44.26MarkinusGood Morning!
08:45.24phhhi too :)
08:45.54phh[07:15:06] <gehzumteufel> Is that what controls the video output I assume? <------- video *input*
08:46.02gehzumteufelAh
08:47.19gehzumteufelAnd I know on the glemsom site, it says that backlight shuts off on rhod, but on my 210 it does not
08:47.37*** join/#htc-linux Zoolooc (~fredsibar@p54957362.dip.t-dialin.net)
08:47.49phhgehzumteufel: trace it
08:47.57gehzumteufelHow do I do that?
08:47.58gehzumteufellol
08:48.05gehzumteufeln00balert
08:48.09gehzumteufelfor this stuff
08:48.14Markinusphh: I found some thinks about my lightsensor. If the auto_backlight is disabled, I have to enable/disable this with a extra I2C command . .
08:48.34phhMarkinus: yes it's possible, in mahimahi's source there is one such command
08:48.46phherr
08:48.47phhno.
08:48.56*** join/#htc-linux test (~4245e509@gateway/web/freenode/x-aqrtiepuqvdosyjs)
08:49.05Markinusphh: mahimahi is using a GPIO for enable/disable
08:49.10phhah.
08:49.45phhgehzumteufel: automatic backlight off ?
08:50.22gehzumteufelYeah I dunno how to do a trace
08:50.26Markinusphh: Could you explain me this i2c command, why do it send 2 times a first Byte marker?
08:50.27Markinus030.358 7af88614: e5853000(str)         # b2300000 =000001cc
08:50.27Markinus030.358 7af88658: e5853000(str)         # b2300000 =00000032
08:50.27Markinus030.358 7af886e8: e5853000(str)         # b2300000 =000001cd
08:50.27Markinus030.358 7af8877c: 05852000(str)         # b2300000 =00000200
08:50.35Markinusbevor the end marker
08:50.55phhMarkinus: 0x32 is a read register
08:51.06phhyou send 0x32, and then you read your result
08:51.24Markinusphh: ahh, ok, thx
08:51.33phhsee the light sensor microp-klt.c driver code
08:51.36phhit's how it works
08:52.38ToAsTcfhphh: what it is my friend
08:52.38Markinusphh: Yes i saw it, but I wasn't shure is this what a think ok or not. Now I know this was ok :)
08:53.04*** join/#htc-linux lucx (~luc@89-115-128-35.cl.ipv4ilink.net)
08:59.08*** join/#htc-linux DaveWM (dave@h-96-13-38-181.ip.alltel.net)
08:59.51*** join/#htc-linux kiozen (~oeichler@rgnb-5d87df27.pool.mediaWays.net)
09:03.11*** join/#htc-linux Wout` (~5070d0f6@gateway/web/freenode/x-xsholdrhlmfssaab)
09:05.16gehzumteufelOkay after disabling the screen shit in WM, backlight goes off.
09:05.17gehzumteufelw00t
09:05.37phhcool
09:05.45phhonly rhod100 left.
09:05.52phh(and cdma rhod, but who cares about cdma ? :p
09:05.52phh)
09:05.55gehzumteufelLOL
09:05.58gehzumteufelI don't
09:05.59gehzumteufelhaha
09:06.42tmztme :)
09:06.51gehzumteufellol
09:06.53gehzumteufelYou and Markinus
09:06.59phhdamn, he is awake
09:07.02phhgehzumteufel: no, MrPippy
09:07.12gehzumteufelAh yes
09:07.20gehzumteufelMark has a raph
09:07.25phhno, topa
09:07.30gehzumteufelshit lol
09:07.35phh:p
09:07.39Markinus:)
09:08.23gehzumteufelSo you figure much out in regards to power management yet, Pierre?
09:08.47phhPierre-Hugues.
09:08.47Markinusphh: Did you find domething about your gsensor?
09:08.50phhand no, nothing yet :(
09:08.51Markinuss
09:08.55phhMarkinus: yes, it's actually bma150
09:09.05phhbut bma150 has to way to communicate with it
09:09.13phhand wince doesn't use the same way as hero ...
09:09.43MrPippyah just the people i wanted to see, i'm trying to figure out how rhod powers up the wifi, since i can only find 1 gpio related to wifi (and n1/devour have several, including a shutdown# line)
09:09.43Markinusphh: ahh, ok
09:10.04MrPippyi traced dex, nothing happens there
09:10.14phhMrPippy: ouch
09:10.23phhboth gpio and vregs are done through
09:10.28phhif no dex, then no gpio no vreg
09:10.30gehzumteufelphh: does this help at all? http://www.bosch-sensortec.com/content/language1/downloads/BMA150_DataSheet_Rev.1.5_30May2008.pdf
09:10.43phhgehzumteufel: bah that's what made me discover it actually is a bma150 :p
09:10.51gehzumteufelhaha
09:10.52gehzumteufelnice
09:11.17*** join/#htc-linux BabelO (~fcr@2a01:e35:2ee1:c1c0:21e:8cff:fe2d:7d3f)
09:11.18*** join/#htc-linux BabelO (~fcr@unaffiliated/babelo)
09:11.22gehzumteufelLooks to be a lot of good info in there
09:11.27MrPippynow i'm tracing i2c, and theres something going on, but i don't know how to read it
09:11.41phhMrPippy: easiest protocol ever :p
09:11.51phhthe 00 register is the write one, the 0c is the read one
09:12.02phh(08 is the status, it just floods)
09:12.05MrPippyyeah
09:12.07phhwhen you write a message which is 1xx
09:12.14phhthen you send a command to i2c device xx>>1
09:12.29phhand the end of the message, is when you have 2xx
09:14.29phhMarkinus: did you try using 6150's adsp file ?
09:14.54Markinusphh: no
09:15.17Markinusphh: I tested this, and the hole AMSS stofe from Hero, but this was crashed on sound on . .
09:15.23Markinusstuff
09:15.44phhok
09:15.45Markinusalways only 6120.c code ..
09:16.48phhMrPippy: you can check wiki for known i2c devices
09:17.46MrPippywow...so turning on/off wifi reveals only one gpio (93, already in mmc.c), no irqs (also something that n1/devour have but i can't find), no dex, no rpc, no i2c
09:17.51MrPippyis there anything left?
09:18.49phhMrPippy: wow.
09:19.31phhthere must be mmc interrupts at least -_-'
09:20.22phhMrPippy: I have SDC interrupts when doing anything on wifi
09:20.53MrPippyyeah i see the mmc irq, gpio 93 goes high, and all the wifi mmc pins going crazy
09:21.31phhah ok :)
09:21.40phhmaybe that's all
09:22.20MrPippyi've heard this thing is way better on power than the tiwlan (not hard to do), maybe its idle consumption is low enough they just leave it powered up all the time
09:22.36phhiirc tiwlan in idle mode can do <1mA
09:22.52phhah no it was the BT chip
09:24.23phhpff I can't find any specs for bcm4325
09:24.42MrPippyi should see if anything shows up for BT, its the same chip
09:24.43phhhttp://www.theiphonewiki.com/wiki/index.php?title=BCM4325
09:24.44phhlol.
09:25.02phhbluetooth is /dev/ttyHS1
09:25.08phhfor low speed, classic hciattach should work
09:26.08phhhum, where is the edit page on this wiki ?
09:26.12phhthey need a link to cr2's RE work :p
09:26.26phhah no he reversed brf6350, not bcm4325... pff
09:29.58MrPippyyeah i was thinking about editing that (to point them to the source code), but its old by now
09:31.06phhwe still have no source code for BT/FM
09:31.07MrPippyaah turned on BT and ADM_AARM(21) and UART2DM_RX(52) are going crazy
09:31.36phhnothing new here
09:32.40MrPippythe bluetooth.tgz for devour source has a /system/bluetooth/brfpatch/brfpatch.c
09:32.53MrPippyand their bluez source
09:33.02phhoh
09:33.03phhurl ?
09:33.15phhI love the name of the hcd under wince:
09:33.41phhbcm4325d0_004.001.007.0072.0000_38_4_Class1_Bringup_HTC.hcd
09:33.52phhit's way too short.
09:33.58MrPippyso long yet so meaningless
09:34.07phh:p
09:34.19phhMrPippy: it's on android.git.kernel.org ?
09:34.26MrPippyoh the brfpatch is for ti
09:34.32MrPippynah this is opensource.motorola.com
09:34.50phhMrPippy: bluetooth protocol is pretty common
09:35.35Markinusphh coukd you take a look? http://www.pastebin.com/m6a32b382  I have two reads one to 33 and one to 32. I can read the values, the 33 get me values but what the 32 read? Do you have a idea?
09:35.49phhMarkinus: na, 32 is a write, 33 is a read :p
09:36.30phhand I see no 33 read/write ?!?
09:36.36phhI see only 66 read/write
09:36.55phhoh you meant command id ?
09:37.17phh018.150 7af88614: e5853000(str)         # b2300000 =000001cc
09:37.17phh018.150 7af88658: e5853000(str)         # b2300000 =00000033
09:37.17phh018.150 7af886e8: e5853000(str)         # b2300000 =000001cd
09:37.17phh018.169 7af8877c: 05852000(str)         # b2300000 =00000200
09:37.17phh018.169 7af88780: e5933000(ldr)         # b230000c==00000000
09:37.19phh018.169 7af88780: e5933000(ldr)         # b230000c==00000007
09:37.24Markinusphh: yes,
09:37.32phhmeans you send command 0x33, and read its result, which returns 2 bytes, {0,7}
09:38.11phhMrPippy: I love such releases. It's such a mess.
09:39.20Markinusphh: ok, and the read on 32 get me {0,3} . .hmm
09:39.35MrPippyyeah, at least its more organized than any codeballs i've seen from korea or china
09:39.35phhMarkinus: it's supposed to be light sensor ?
09:39.50MrPippyand the top-level README is nice to see
09:41.44*** join/#htc-linux balans (~Gebruiker@212-123-149-239.ip.telfort.nl)
09:41.49phhMrPippy: I'd say bt driver is not here
09:42.12MrPippythe bt driver is somewhere in bluez?
09:42.40phhif you look at rom dumps of such devices, you'll see btlp daemon
09:42.43phhwhich are the bt drivers
09:43.25MrPippyeven n1 doesn't have source?
09:43.43phhI haven't seen them at least
09:48.24*** join/#htc-linux kiozen (~oeichler@rgnb-5d87df27.pool.mediaWays.net)
09:49.36phhwhere the hell have they put the wifi firmware ?!?
09:51.24Markinusphh: I found your firmware on a Smasung phone. There are using this chip too. The path to the formware has to be put as a modul aparameter on the modul load
09:51.32phhI know
09:51.39*** join/#htc-linux M1DLGpc (~M1DLGpc@bb-87-81-252-83.ukonline.co.uk)
09:51.40phhI just want our firmware
09:51.55MarkinusI sended it to adamw . .
09:52.06phhok
09:52.18phhI'll first try bluetooth, should be the easiest.
09:52.35phh(easiest to get @ 115200.)
09:53.56*** join/#htc-linux m3dlg (~m3dlg@212.183.140.53)
09:54.19Markinusadamw: did you have the firmware whitch I sended you for the wlan chip?
09:57.26*** join/#htc-linux Vito89 (~quassel@gw.loccal.net)
09:57.27*** join/#htc-linux rafyvitto (~rafyvitto@76-195-44-215.lightspeed.wlfrct.sbcglobal.net)
10:01.18Paul_Isheninwhy we have clock-wince.c and clock.c and proc_comm_wince.c and proc_comm.c?
10:01.34phhbecause wince amss is different from android amss
10:01.41rafyvittohttp://handhelds.org/cgi-bin/cvsweb.cgi/~checkout~/haret/docs/haret.html ,is this a good website to learn the basics of haret commands?
10:02.15phhrafyvitto: http://www.handhelds.org/moin/moin.cgi/HaRET_20Documentation
10:02.39Paul_Isheninphh, but we are running android, no? how wince is related?
10:02.45phhPaul_Ishenin: *amss*
10:03.13Paul_IsheninI have no idea what is that
10:03.20phhmodem software ?
10:03.31Paul_Isheninmaybe there is some wiki to read about that?
10:03.32phhbigbrother, radio software
10:03.37phhafaik no
10:04.24Paul_Isheninmodem software is a radio module firmware?
10:05.41*** join/#htc-linux mcdull (~mcdull@203.210.9.179)
10:05.55phhdepends on what you call radio module, but yes.
10:06.35phhPaul_Ishenin: what you call "radio module", is what controls pretty much everything we do.
10:06.46Paul_Isheninso if I flash android radio firmware then I can get rid of wince code?
10:06.52phhsure.
10:08.00Paul_Isheninbut if I flash it then I will not be able to run wince :)
10:08.16phhI'm not even sure you'll be able to boot.
10:09.01phhI'd bet they added hardware check to prevent such things
10:09.59Markinusphh: command id 32 is 0 if the device is sleeping ans 0x3 or 0x9 etc. if the device is on
10:10.56phhMarkinus: no clue of what it is ?
10:11.05Markinusphh: maybe only a plausibily check whether the resturn values are ok or the chip is sleeping
10:12.24phhI don't think microp ever sleeps
10:12.59phhso, the bt chip uses no H4 protocol
10:13.50phhnext idea.
10:15.56Markinusphh: ahh, its something with the display brightness
10:16.17mcdullin blackstone. you need to further unlock the phone to load other radio
10:17.21phhmcdull: can you flash raphael or diam's radio ?
10:18.21mcdullmine isnt unlocked. but after unlock. yes it can
10:18.35phhtopaz' radio ?
10:18.41phhhum, you'd kill wince
10:19.16mcdullsomeone put sony x1 radio
10:19.29phhkovsky is a clone of raphael
10:19.38mcdulland somehow it works
10:20.17*** join/#htc-linux leobaillard (~leobailla@leobaillard.org)
10:23.46Markinusphh: 0x32 is the get LCD BRIGHTNESS between 0x0 -> 0x9
10:23.57phhMarkinus: oh righy
10:23.58phht
10:24.14phhyou have this command and you din't have to use the same backlight diming as me ?
10:24.15phhwerid
10:24.32MrPippyphh: the wifi firmware is in \windows, theres rtecdc.bin and rtecdc1.bin
10:24.40phhMrPippy: thanks
10:25.10Markinusphh: backlight dimming is working on topaz . .
10:25.20MrPippyi don't know what the difference between the two is
10:25.22phhreallly weird
10:25.29Markinusph: or you mean your on/off method?
10:25.44phhMarkinus: both
10:25.50phhfor rhodium, on/off and diming is the same
10:26.17MrPippyand for getting nvram, this worked: dd if=mtd0.img of=nvram.txt bs=1 skip=47054848 count=466
10:26.48Markinusphh: ahh, ok, on topaz if you do the brightness to 0 the LCD is dark but the backlight is still on
10:26.52mcdullmay i know the reason of disabling the light sensor?
10:27.02phhmcdull: disabling light sensor ... ?
10:27.32mcdullyes. we used to have auto backlight
10:27.39phh...
10:27.52phhfor god's sake. stop calling "light sensor", "auto backlight"
10:28.06phhchamonix: I think my diamond exploded your record.
10:28.16*** join/#htc-linux mcdull (~mcdull@203.210.9.179)
10:29.00mcdulloh.. irc radio is not stable...force closed
10:29.35phhchamonix: I *think* that my phone started on battery around 22h on the 18
10:29.44phhand... well... it's still alive.
10:29.46chamonixwow!
10:29.56phhI've a little cheat though.
10:30.00phhno SIM card :p
10:30.00chamonixdid u cut out the radio? :)
10:30.05chamonixrofl
10:30.10Scepterrooo backlight dimming :)
10:30.13phhstill, that's quite impressive.
10:30.16Scepterrnice Markinus
10:30.51phhchamonix: http://husson.hd.free.fr/dm :p
10:30.57phhchamonix: but the clock is totally out of sync :/
10:30.58chamonixyes, it's as goos as a pda without radio
10:31.06phhtheorically the dm stops just right now.
10:31.43chamonix[11:30:58] <= phh> chamonix: but the clock is totally out of sync :/ <--- you mean like mins or hours?
10:31.52phhchamonix: see the end of the dmesg.
10:33.09phh[10506.048522] suspend: exit suspend, ret = 0 (2010-02-19 16:06:38.310000000 UTC)
10:33.09chamonixwow that's a lot
10:33.12phhyes.
10:33.48phhchamonix: I think it lost sync starting there:
10:33.50phh[ 9699.646118] suspend: exit suspend, ret = 0 (2010-02-19 14:35:19.410000000 UTC)
10:33.55phhall sleeps after this one are <1m
10:34.18chamonixit would be interesting to see if your CMOS is lagging the same
10:34.25phhyes
10:34.53chamonixwell then you need a sim to keep time in sync :-D
10:35.17phhchamonix: when sleeping you can't use it ...
10:35.18chamonixI've found a time client in busybox btw, didn't test yet tho
10:35.23phhand leobaillard is complaining about that :p
10:35.28chamonixrofl
10:35.45phhchamonix: using your phone as an alarm is suicidal with that :p
10:36.19chamonixI don't rely on the phone as alarm anyway as it keep doing weird stuff at nite
10:36.27phhI'll charge my diamond full again, I'll note the date of test start, and I'll wait for it to stop.. I guess it's going to be llllllooooonnnnggggggg :p
10:36.47chamonixI assume u finally got ur new phone then
10:36.50phhyes
10:36.58chamonix\o/
10:37.41chamonixI haven't tested kernels for a while... I'll do the last
10:38.52phhI still have to fix 3D.
10:38.53phhbah.
10:38.58chamonixwith last system while I'm at it
10:39.47*** join/#htc-linux luklew (~luklewluk@207.west.gre.pl)
10:40.01phhI think BT rfkill for rhodium is good now
10:40.07phhwe "only" need a driver :D
10:40.12chamonixlol
10:40.26phhoh I could try galaxy's one
10:43.24chamonixphh: I had an idea yesterday.... try to mount android's dropbear as sshfs
10:45.09phh-_-'
10:45.12phhyou're crazy
10:47.11chamonixy not? it's a little overkill but together with auto.mount it would be convenient
10:48.07chamonixI just don't know if dropbear fully implements what I need so let's test... I'm not in a mood to code anyway
10:48.12tmztjust have to copy sftp-server
10:48.21tmztI do that on nslu
10:48.49phhsounds better.
10:49.00chamonixwenn my unslug is mounted with sshfs
10:49.04tmztsshfs uses sftp
10:49.17chamonixthat's a good start
10:49.19chamonix:)
10:50.15chamonixanuff reasons to go back to nand with system+root at least
10:50.17phhI need more usb ports.
10:51.59Markinusphh: So, Topaz's Lioghtsensor is working now . .
10:52.08phhMarkinus: hwo ?
10:52.27Markinuschecked in
10:52.31phhok
10:56.22phh?!?
10:56.25phhlight sensor != brightness level
11:03.18phhoh wait... with auto backlight ...
11:03.19phhok
11:03.29phhstill sounds strange
11:11.10Markinusphh: yes, I had problems if I remove this reading. Now I d o it like wince, so works perfectly
11:11.24phhhum ok then
11:12.20MarkinusI know it lokks dtrange ;)
11:12.26Markinuslooks strange
11:14.32*** join/#htc-linux mcdull (~mcdull@203.210.9.175)
11:15.02phhhum, btld launched, but it says nothing
11:15.14phhah, everything is in logcat.
11:15.27*** join/#htc-linux nacho-g (~nacho-g@190.189.189.218)
11:18.34phhok, I think their driver works.
11:19.07*** join/#htc-linux m3dlg (~m3dlg@212.183.140.2)
11:19.22Markinusphh: BT on Rhod?
11:19.26phhyes*
11:19.44phhbut it needs their framework files I guess
11:27.03*** join/#htc-linux MethoS- (~clemens@134.102.106.250)
11:27.44phhMarkinus: have you some light for the bottom buttons ?
11:27.50*** join/#htc-linux sxe (~quassel@ip-62-143-102-161.unitymediagroup.de)
11:27.59Markinusphh: yes
11:28.09phhhave you traced it ?
11:28.23phhI think it's on microp-ksc on rhod, but that's seems really weird (again.)
11:28.39Markinusphh: no, it worked without changes
11:28.55phhhu ? it lights up and down automatically ?
11:29.02Markinusphh: yes
11:29.13phhbah.
11:30.55phhgroumpf, I need a "hci_qcomm_init"
11:31.34*** join/#htc-linux bartman` (~bart@88.130.193.92)
11:35.38Markinusphh: now I'm not sure whether it works or not, in the moment no. Hmm we have to many thinks on our phones :)
11:35.51phhMarkinus: hehe
11:35.56phhwow
11:36.01phhacer weather widget is so cute
11:37.32phhbut doesn't handle landscape mode.
11:38.21*** join/#htc-linux nacho-g (~nacho-g@190.189.189.218)
11:38.57*** join/#htc-linux onen|openBmap (~quassel@vbo91-1-89-87-201-85.dsl.club-internet.fr)
11:46.50Markinusphh: I can enable and disable the keypad leds with echo > leds
11:52.01Markinusphh: we could connect this together, if the backlight change we change the keypad leds
12:02.21phhMarkinus: use early_suspend things
12:04.29phhah, hciattach works with the "any" driver
12:05.48phhlet's see if it can scan.
12:05.52phhfailed.
12:06.20phhwrong radio init I guess.
12:07.05Markinusphh: there is a lot of GPIOS on Rhod and BT
12:07.35Markinusphh: I get a log from a Rhod user . .
12:07.44phhI have pretty much nothing
12:07.54Markinusphh: very intresting . .
12:08.03phhMarkinus: well, I'm not talking about UART2DM gpios
12:08.34Markinusphh: ahh, ok
12:08.53Markinusphh: I cannot remeber, have the logs not here . .
12:09.00phhMarkinus: I hate too you know ? :p
12:10.49phhI have*
12:11.29Paul_Isheninphh, where did you get sensor_reset, sensor_pwd values?
12:11.38phhPaul_Ishenin: wiki
12:11.45Paul_Isheninplease point me there
12:12.16phhhttp://htc-linux.org/wiki/index.php?title=Raphael_GPIO
12:12.35Paul_Isheninofficial kernel values are very different. becuase of different radio firmware?
12:13.12Wout`pok phh , got ubuntu running, rhod with android connected, terminal open, android says usb debugging is enabled
12:13.22Wout`how do I log on to the device now?
12:13.37phhWout`: adb shell
12:13.47phhPaul_Ishenin: because of different hardware connection
12:13.53Wout`not the telnet option?
12:14.00phhWout`: as you want.
12:14.20phhPaul_Ishenin: I can talk to the i2c chip, so it's likely that this gpio is good
12:14.54Paul_Isheninhow you know that you are talking to it and not to some other chip?
12:15.36phhit answers ...
12:15.42Paul_Ishenin:)
12:16.06phhand with wrong gpio, it doesn't :p
12:16.56Paul_Isheninso that's why I see many dmesg errors after I changed values
12:17.09phh-_-'
12:17.30phhseriously, trust me when I say the only remaning problem is in the AMSS
12:17.39phh(ie VFE + pmem + ADSP and friends)
12:18.36*** join/#htc-linux emwe (~michael@86.56.50.180)
12:18.58Paul_Ishenindo you know what is vcm_pwd?
12:19.12phhright, this one hasn't been found yet.
12:19.17phhit's the lens
12:19.51Paul_Isheninwhat is find method?
12:19.59Paul_Isheninharet or something else?
12:20.51phhhum yes, watch gpios on haret
12:21.13Paul_Isheninnever did that before
12:21.18Paul_Isheninsomewhere explained?
12:21.18phhlet me try that.
12:21.36phhgoogle haret documentation
12:21.39phhbut let me try that first.
12:21.52phhoh wait, I think we might have this gpio actually
12:22.00phhbut not the i2c control
12:22.21phh91 0x5b0 23 O + cif VCMPDP pin
12:22.26phhI'd guess it's this one.
12:22.58Paul_Isheninno, that is CAM_PWD
12:23.12Paul_Isheninused for sensor_pwd
12:23.15phhbah.
12:23.27phh107 ? 109 ?
12:23.32Paul_Isheninbut vcm_pwd is something else
12:23.49phhanyway, you'll get something working without it
12:23.55Paul_Ishenincif is camera interface?
12:24.02phhor something like that
12:25.13Paul_Isheninmaybe we wrongly using CAM_PWD - we need to assign it to VCM_PWD?
12:25.54Paul_Isheninand 109 for CAM_PWD?
12:26.03phhhave you seen the current problem at least ?
12:26.15Paul_Isheninno
12:26.22phh...
12:26.27Paul_Isheninwhat do you mean?
12:26.37phhtry to see where is the problem before creating new ones ?
12:28.44Paul_Isheninok
12:33.39phhstill my assertion about gpios was wrong.
12:35.20Paul_Isheninyou've found something paticular?
12:35.29phh91 is actually vcm_pwd.
12:35.49Paul_Isheninso we don't poweon camera sensor itself?
12:35.53phhI don't remember my changes, maybe the gpio declared in msm_camera_sensor_info isn't used
12:35.56phhyes we do
12:36.02phhcamera_set_state is right
12:36.14phhand I can talk to it ...
12:38.47phh(you can assert the fact that "sensor" and "i2c" part are only internal to the sensor differences by seeing there is no gpio switch involved once the i2c comm is established)
12:42.21Markinusphh: The Keypad light . . under winmo the keypad light is going on if we press sny button.  We could do this in the same way, using the keyboartd IRQ (28)
12:42.57phhMarkinus: I'd prefer having it enabled when screen is enabled
12:43.02phh(both easier and more logic imho)
12:43.32*** join/#htc-linux BabelO (~fcr@2a01:e35:2ee1:c1c0:21e:8cff:fe2d:7d3f)
12:43.33*** join/#htc-linux BabelO (~fcr@unaffiliated/babelo)
13:03.14IceBonephh!
13:03.17IceBone3 days uptime. :D
13:04.27*** join/#htc-linux x_coRe_x (~core@79-126-39-66.dynamic.mts-nn.ru)
13:04.35phhIceBone: with what ?
13:04.44phhIceBone: and I think I did 2 days uptime
13:04.46phhon battery.
13:04.51IceBonewoah
13:05.04phh(no sim "might" help a bit)
13:05.05IceBoneNew power management?
13:05.08IceBone:D
13:05.18IceBoneNah, standard usage of 02.04. build.
13:05.22IceBoneDidn't even update the zimage.
13:05.26phhbah, I hate that build :p
13:05.26IceBoneOr did I...
13:05.40phhanyway, I've already more battery life with mail pushing that in wince
13:05.42IceBoneNope, zimage is from 0204 too.
13:05.47phhthat's enough for me :D
13:05.58IceBone02.08. kept crashing.
13:06.00IceBoneAnd freezing.
13:06.02IceBoneAnd rebooting.
13:06.04IceBoneI didn't like it.
13:06.10IceBoneHas that been fixed?
13:06.10phhwzird
13:06.12phhweird*
13:06.16phhbah I have no problem
13:06.30phhI ""fixed"" one problem that leobaillard reported me at least three times
13:06.37phh(and the three times were all quite different :pm)
13:06.55leobaillardwhat was it ?
13:07.01phhleobaillard: wake lock stuff
13:07.05leobaillard\o/
13:07.14phhI just removed it.
13:07.18phh(the bugging feature was only the stats
13:07.20phhnot wake lock itself)
13:07.43leobaillard(and btw, don't stab me in the back while I'm watching series ! YOu can't defeat the popup alert)
13:08.04IceBonephh: If the latest builds have improved battery, not just HW3D, I'd love to try them out, but I'm using 02.04. because it's super stable.
13:08.15phhIceBone: uh ?
13:08.18phhleobaillard: haha
13:08.25leobaillardwel... HW3D is broken so... :-°
13:08.33leobaillards/wel/well/
13:08.38phhnot for too long, I swear.
13:08.46leobaillardthey all say that :D
13:08.47IceBoneWhich is what I assume caused all the freezing.
13:08.52IceBoneI'll stay with 02.04. :D
13:08.56leobaillard;)
13:09.02phhIceBone: I can't see how hw3d can cause freezing ...
13:09.05phhit's used only on boot
13:09.06phhand with 3D apps
13:09.41*** join/#htc-linux ali1234 (~al@robotfuzz.co.uk)
13:09.45IceBonephh: I've no idea, but I only get the wait/force close dialog about 2, 3 times a day with 02.04., with 02.08. I got it once every 2, 3 minutes.
13:10.14phhdiam really lacks memory :/
13:10.29phhI think I'll make a kernel option to be able to use gpu pmem as app mem
13:10.48phhafter I fixed 3D I mean
13:10.51phhand audio
13:10.52phh*ahum*
13:11.15IceBoneWhat's wrong with audio?
13:11.29phhIceBone: on 6125
13:11.31phhit doesn't work
13:11.57*** join/#htc-linux onen|openBmap_ (~quassel@vbo91-1-89-87-201-85.dsl.club-internet.fr)
13:12.14*** join/#htc-linux Captnoord (~Captnoord@dc5147a47b.adsl.wanadoo.nl)
13:12.29Captnoordhehe camera... wanne know what clock shit changes when camera is enabled?
13:12.29Captnoord:P
13:12.55phhCaptnoord: not sure :p
13:14.19CaptnoordMSM_CLK_CTL_BASE 2219fe2f when camera off
13:14.35Captnoordwhen
13:14.36Captnoordon
13:14.36Captnoord2219ff2f
13:14.50Captnoordthats 0x100
13:16.01Captnoordoff    +0x70 = 00000001
13:16.19Captnoordon +0x70 0x00000a01
13:16.48*** join/#htc-linux GNUtoo (~GNUtoo@host49-13-dynamic.54-79-r.retail.telecomitalia.it)
13:17.32Captnoordlemme sum it all up for ya
13:17.33Captnoord:P
13:17.50CaptnoordO btw a reason why black's 3d won't work
13:17.56Captnoordis because of the mmdi fix
13:18.01Captnoordvoid fix_mddi_clk_black() {
13:18.01Captnoordmsm_clock_parameters[12].ns_only=0xa19;
13:18.01Captnoord}
13:18.04phh?!?
13:18.09Captnoord12 isn't mddi
13:18.13phh-_-'
13:18.21phhit's grp ?
13:18.27Captnoordimem to be exact
13:18.33phhhum
13:18.37phhshouldn't be applied
13:18.39Captnoord10 is mddi
13:19.13phhhere, 12 is pmdh
13:19.27phhCaptnoord: you know the [12] doesn't mean [id=12] ? :p
13:19.45Captnoordyea
13:19.46Captnoordsorry
13:19.48Captnoordjust woke up
13:19.50Captnoordkinda
13:20.54Captnoordbut they are used in a similar way
13:20.58Captnoordmsm_clock_parameters[12]
13:21.08Captnoordid == msm_clock_parameters[i].clk_id
13:21.14Captnoordbleehhh as always your right
13:21.15Captnoordbleh
13:21.42phh:p
13:22.08phhI'll dump hw3d registers
13:22.18phhmaybe I'll see the memory location they use
13:31.21*** join/#htc-linux GregLem (~greg@lal69-5-88-171-98-250.fbx.proxad.net)
13:35.35NetRipper~leo-ramconsole
13:35.46NetRipper~leo-ramconsole is pwf myramconsole 0x2FFC0000 0x40000
13:35.47aptokay, NetRipper
13:40.05*** join/#htc-linux Bry8Star_ (~Bry8Star@cpe-76-170-247-232.socal.res.rr.com)
13:40.27*** join/#htc-linux pH5 (~ph5@g229239130.adsl.alicedsl.de)
14:02.14*** join/#htc-linux miknix (~miknix@gentoo/developer/miknix)
14:17.16phhwell, well, well....
14:17.21phhI just don't understand why 3D doesn't work on rhod.
14:23.40Wout`phh: is 3d only for apps, or does the android gui use it too?
14:23.46phhonly apps
14:25.10rafyvitto2.1 is fully render by open gl es or e my wrong? im kinda lost on android releases xD
14:25.20phhyou're wrong
14:25.50rafyvitto=] knew it, wasnt there an android release render by open gl es
14:25.52rafyvitto?
14:26.17rafyvittoi heard something like one time
14:26.38rafyvittothat*
14:26.45phhlauncher2 is rendered by opengles
14:26.47phhbut that's all
14:27.14rafyvittoso all the animations and what not, there all render by a 2d wrapper?
14:27.48phhyes
14:28.04rafyvittooh wow intresting =]
14:35.28*** join/#htc-linux thedicemaster2 (thedicemas@j89126.upc-j.chello.nl)
14:52.00*** join/#htc-linux balans (~Gebruiker@212-123-149-239.ip.telfort.nl)
14:52.21JD[a]phh: And Gallery3D
14:52.34phhJD[a]: oh yeah... this one looks awesome
14:52.38phhI can't wait to have it on rhod
14:52.57JD[a]I can't get it over to a standard Android kernel ;\
14:53.03JD[a]because I suck :'(
14:53.11Captnoordphh what devices doesn't use the 7201a
14:53.19Captnoorddoes the rhod use the 7500?
14:53.30phhCaptnoord: na 7500 is cdma
14:53.34phhrhod is 7201a*$
14:53.40phhgsm rhod.
14:53.46Captnoordk
14:53.49JD[a]phh: You're doing a 7201 kernel?
14:53.54JD[a]7201a*
14:54.02phh?
14:54.08Captnoordthen it could be related to how the default stuff is inited in wince
14:54.09phhwe have a kernel for 7201a for mmmm
14:54.12phhyears ?
14:54.25phhCaptnoord: or the drivers on rhod is clever
14:54.27JD[a]with the new GL|ES
14:54.28phhstoping 3D when not shown
14:54.36Captnoordyea
14:54.36phhJD[a]: we already have one working ...
14:54.40Captnoordmine keeps on doing
14:54.40phhon raph/diam.
14:54.42JD[a]where?!
14:54.43Captnoordand just disables imem
14:54.50Paul_Isheninare there haret logs somewhere related to diamond camera?
14:54.52phhJD[a]: that's the link ToAsTcfh gave you I think
14:54.57phhCaptnoord: stops imem ?!?
14:55.08Captnoordyea... my disables the imem clock
14:55.12Captnoordwhen 3d is disabled
14:55.14Captnoordnothing more really
14:55.25phhah
14:55.29phhbut 3D isn't neceserray disabled
14:55.42Captnoordnope its isn't disabled...
14:55.51phhbut maybe it is on rhod
14:56.06Captnoordyea
14:56.12Captnoordgimme rhod nk.exe
14:56.13Captnoord:P
14:56.25JD[a]I've been through so many links phh
14:56.42JD[a]http://github.com/toastcfh/htc-2.6.27-heroc/
14:56.43JD[a]?
14:56.46phhno
14:56.57phhwell this one should have needed stuff too
14:57.43phhhttp://gitorious.org/linux-on-qualcomm-s-msm/linux-msm/commit/a95f49b0c480da1a9d9cdbe0cf1aee6de3828eb5
14:57.59phhhttp://gitorious.org/linux-on-qualcomm-s-msm/linux-msm/commit/ddd232a79f4aadce144b2b36d458f333c0ce2029
14:58.04phhhttp://gitorious.org/linux-on-qualcomm-s-msm/linux-msm/commit/4f5b49387c4464251534a97d0903bcf7577ccfbf
14:58.41JD[a]those three commits?
15:00.15phhyes
15:00.27Paul_Isheninphh, do you already have the haret logs related to camera?
15:00.33phhnot
15:02.55*** join/#htc-linux tmzt (~tmzt@99.164.34.42)
15:04.52*** join/#htc-linux god206 (~infidel20@unaffiliated/swc666/x-4934821)
15:05.03*** join/#htc-linux cr2_ (~cr2@ip-109-84-160-226.web.vodafone.de)
15:05.40*** join/#htc-linux andreas32b (~andy@dslb-094-216-225-144.pools.arcor-ip.net)
15:06.43*** join/#htc-linux dcordes (~dccordes@unaffiliated/dcordes)
15:07.28cr2_NetRipper: did you put ramconsole into ebi ?
15:09.35NetRipperyes
15:09.54NetRipperi avoided smi on purpose as i think wince uses that memory, and ramconsole would be overwritten
15:10.01NetRippermight optimize for smi later
15:10.58NetRippercr2_, 0x1* and 0x2* both have 256 memory banks.. where's that 64mb smi located on physical?
15:13.52cr2_NetRipper: ebi is not preserved over reboot ?
15:14.03cr2_NetRipper: smi is 0x0
15:15.26cr2_NetRipper: recompiling the kernel
15:16.06cr2_the VIDEOLFB haret patch is very easy. on the fb_console side it needs some thought
15:16.59NetRipperyes ebi is preserved
15:17.58NetRippershouldnt be hard on htc_fb_console either
15:18.26NetRipperi think there's a macro that makes the kernel call a function to parse the tag
15:18.40NetRipperi'll figure out a way
15:22.24cr2_ok
15:24.23*** join/#htc-linux kvaster (~kvaster@live.bn.by)
15:26.00cr2_NetRipper: the PROXY_ data is same msm log ?
15:26.05cr2_s/same/some/
15:28.05NetRipperPROXY?
15:31.25Paul_Isheninhow to skip this gpio reporting?
15:31.26Paul_Ishenin000990: mem GPIOS(6) 92e00c20=0710d034 (00000800)
15:32.08Paul_IsheninI don't understand what is gpio register to skip here for ibit GPIOS
15:32.42Captnoordgpio is hardware IO config stuff
15:32.44Paul_Isheninsomehow documentation has a bit different ouput example
15:32.48Captnoordgeneral purpose
15:32.54Captnoordin out
15:33.41Paul_Isheninok. how to translate that haret output?
15:34.06Captnoordhmmm.... so lets say
15:34.10Captnoordwe have 8 io's
15:34.16Captnoord8 pin's on a chip
15:34.19Captnoordboth in
15:34.21Captnoordand out
15:34.30Captnoordwhen we map those into a port...
15:34.35Captnoordwe can read 1 byte of data
15:34.48Captnoordthat byte of data contains the status of all 8 io's
15:34.56Captnoordwhen you convert the byte to binairy
15:35.05Captnoordyou can read them how we would like to read them
15:35.13Captnoordhexidecimal is also readable
15:35.18Captnoord92e00c20=0710d034 (00000800)
15:35.24Captnoordthat is hex 00000800
15:35.42Captnoordmeaning that pin 4 of the 3e nible is set
15:35.46Captnoordnible is 4 bits
15:36.00Captnoordevery char in a hex notation is a nible
15:36.09Captnoordso you can easily calculate which bit is set
15:37.24Captnoordyou know back in the days with the printer port?
15:38.20Paul_Isheninyes
15:38.32Captnoordthose had 8 bits of gpio
15:38.41Captnoordand 5 status bits
15:39.27Captnoordyou could take a look at atmel 8 bits microcontrollers
15:39.34Captnoordthey are easer to understand than this
15:39.44Captnoordas this devices have multi purpose io's
15:39.52Captnoordand they can have like 4 different functions
15:40.18cr2_Paul_Ishenin: use haretconsole ?
15:40.25Paul_Isheninno, telnet
15:40.47Captnoordlol
15:40.48*** join/#htc-linux cr2_ (~cr2@ip-109-84-160-226.web.vodafone.de)
15:40.51Captnoordyou found his quit word
15:40.54Captnoordlemme try it to
15:40.59Captnoordno, telnet
15:41.02Captnoord.....
15:41.04Captnoordwaiting.....
15:41.04*** join/#htc-linux lucx (~luc@89-115-128-35.cl.ipv4ilink.net)
15:41.11Captnoorddoesn't seem to work
15:41.52Paul_Isheninis it simplied with haretconsole?
15:41.59Paul_Isheninsimplier*
15:42.05cr2_Paul_Ishenin: that's the purpose of haretconsole
15:42.24Paul_Isheninok will try
15:47.59*** join/#htc-linux reefermattness (~mattgnm@c-76-18-79-170.hsd1.nm.comcast.net)
15:48.18Paul_Isheninindeed, with haretconsole I don't need to calculate paticular register number
15:57.57*** join/#htc-linux luminoso (~lumos@av-217-129-141-118.netvisao.pt)
16:02.34cr2_NetRipper: i have one more small haret todo wish. the real parsed **argv, argc, instead of being forced to use get_wtoken()
16:03.24cr2_NetRipper: cleaing the clock patch
16:05.08*** join/#htc-linux playdo (~57b3f66e@gateway/web/freenode/x-omxhceszqylslahh)
16:06.00Paul_Isheninhow to compare haret output with this wiki: http://htc-linux.org/wiki/index.php?title=Raphael_GPIO ?
16:07.32Paul_IsheninI see haret ouputs registers like 175,172,164 but wiki has no such numbers
16:07.48Captnoordloads of possibilities
16:07.50cr2_Paul_Ishenin: in${bank}-${bit} and pin/xpin values
16:07.59Captnoordbut many times its like if I enable this
16:08.01cr2_Paul_Ishenin: or out${bank}-${bit} and pin/xpin values
16:08.02Captnoordwhat happens
16:11.29Paul_Ishenincr2_, so "in0: in0-15(175)=0" I need to translate to 15 bit of 0 bank set to 0?
16:12.16Paul_Isheniniow, CAM MCLK = 0
16:22.02cr2_Paul_Ishenin: yes. it is gpio 15 =0xf
16:22.19*** part/#htc-linux jumoit (~samuel@121.77.87.145)
16:25.07*** join/#htc-linux evildarknight (~charles@41.211.72.136)
16:27.02*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
16:27.20*** part/#htc-linux evildarknight (~charles@41.211.72.136)
16:27.42cr2_hi AstainHellbring
16:29.56AstainHellbringhi cr2_
16:29.59AstainHellbringwhats new?
16:30.33cr2_AstainHellbring: dumped the leo wince dmesg ?
16:30.50AstainHellbringno not yet how would I do that?
16:31.52cr2_pwf my_leo_wince_dmesg 0x1fe00000 0x200000
16:32.03cr2_NetRipper: looks good
16:32.07cr2_HaRET(2)# msmclkkhz
16:32.08cr2_line 2: Expected <regime_id>
16:32.10cr2_HaRET(3)# msmclkkhz 0
16:32.11cr2_clk_freq_khz ( 0 / 0x0 ) = 256000
16:32.17NetRippergood
16:32.39cr2_HaRET(9)# msmclkkhz 0x11
16:32.40NetRipperwhich regime is the scpll?
16:32.40cr2_clk_freq_khz ( 17 / 0x11 ) = 64000
16:33.11cr2_don't know. i'll extend the MSM_CLK table with known regime_ids
16:33.28NetRipperi've made a little test in haret to read the qsd clock speed
16:33.33NetRippercalculate it
16:33.57cr2_NetRipper: the plls and clk may be parsed too
16:34.20cr2_we may even talk to dex1:
16:34.39cr2_and on leo it may be interesting to scan the I2C1:
16:34.43NetRipperHaRET(1)# qsdclock
16:34.43NetRipperClock speed 998400
16:34.52cr2_if we will not manage the i2c tracing
16:34.57cr2_ok
16:35.06cr2_should i post the ptch ?
16:35.34NetRippersure, did you make a check so it only loads the commands when its available?
16:35.45NetRipperthe tst function
16:35.53AstainHellbringNetRipper:  http://www.netripper.com/leo/haret-pre-0.5.3-20100213_213943.exe that is the latest haret qsd build right?
16:36.19NetRipperAstainHellbring, er probably.. at least latest from git
16:36.31cr2_LATE_LOAD(clk_regime_msm_get_clk_freq_khz, "clkregim")
16:36.32AstainHellbringk
16:36.33cr2_static int ClkRegimeAvail() {
16:36.34NetRipperit may contain some experimental stuff
16:36.34cr2_<PROTECTED>
16:36.36cr2_}
16:36.38NetRipperso not sure if its stable
16:37.13cr2_NetRipper: src/msmcmds.cp
16:37.23NetRipperok
16:37.29*** join/#htc-linux mickey|sofa (~M@e180138103.adsl.alicedsl.de)
16:37.44NetRipperjust send the patch to the haret mailing list
16:38.02NetRipperif nobody comments in 24-48 hours i'll commit it
16:40.06AstainHellbringcr2_ http://astainhellbring.ppckitchen.org/AstainHellbring_leo_wince_dmesg
16:40.10cr2_NetRipper: lol. not yet subscribed
16:40.21NetRippercr2_, shame on you
16:40.27NetRippercr2_, it's at linuxtogo now
16:40.30cr2_yeah
16:40.46NetRipperAstainHellbring, erm i suggest you take that offline and make sure there's no sensitive data in it
16:40.58NetRipperAstainHellbring, like a plain text twitter password....
16:41.21cr2_AstainHellbring: remove the file
16:41.34AstainHellbringk removed
16:41.45AstainHellbringNetRipper dont use twitter so
16:42.03NetRipperAstainHellbring, can also hold other stuff like imei
16:42.10NetRipperor facebook or youtube
16:42.11cr2_NetRipper: lol. give me a break. twitter password "sensitive data" :)
16:42.25AstainHellbringhmm imei
16:42.29NetRippercr2_, tell that to the politicians whos accounts are "hacked"
16:42.29NetRipper:p
16:42.47cr2_NetRipper: don't talk about dumbasses here
16:42.52cr2_"hacked" ;)
16:42.56CaptnoordNetRipper: I didn't know you where running for local major...
16:43.05NetRipperdidnt say i was
16:43.11cr2_lol
16:43.35NetRipperstill wouldnt want anyone abusing my name though
16:43.42NetRipperpeople = evil
16:43.47Captnoordpeople == dumb
16:43.47cr2_ok
16:43.50Captnoordevil == dump
16:44.03NetRipperwith a p?
16:44.11Captnoordlolz
16:44.12Captnoordwoeps
16:44.15Captnoorddumb...
16:44.15Captnoord:P
16:44.16NetRipper..
16:44.25NetRipperthink you answered your own statement
16:44.31NetRippers/answered/confirmed/
16:44.42NetRipper:)
16:44.51cr2_NetRipper: [D:AUD][E]CAudioRouter : New Endpoint Devices commited - RX = 0x2a, TX = 0x1fb
16:45.02Captnoordhehe..... i'm proud to be dumb...
16:45.04Captnoordlolz
16:45.11Captnoordeverybody is... in way
16:45.23NetRipperi'm not.
16:45.31Captnoordhehe.. just proved my point
16:45.33NetRipper;)
16:45.52cr2_NetRipper: what's that ? [I] swfi_restriction:0x0
16:46.08NetRipperdoesn't ring a bell
16:46.41NetRipperit's not in my dmesg
16:47.00cr2_yes, his dmesg looks interesting
16:47.13cr2_[DALSYS_LogEvent] CAD:ACDB=>Query acdb(dev: 0x2a, sr: 48000)
16:47.22cr2_btw, need to document this .acdb
16:47.36AstainHellbringif it makes any difference I am running duttys .07 rom
16:47.42AstainHellbringon a telstra hd2
16:47.57NetRipperi'm also not running stock rom
16:48.27dcordesNetRipper for major!!
16:48.52NetRipperi'm already major...
16:49.02cr2_[D:TP][E]Power on PSOC leo 5V!
16:49.07cr2_looks familiar
16:49.43cr2_NetRipper: the gpio alt switches are move visible
16:50.17NetRipperthey're used more you mean?
16:50.27dcordesany leo news?
16:50.34cr2_[D:TP][E]Firmware info: V0x30!
16:50.44cr2_NetRipper: yes
16:51.02NetRippercommitted a new memory map last night dcordes, should make 396MB available to linux
16:51.17cr2_dcordes: documented 99% gpios, we know all i2c devices
16:51.36dcordesawesome
16:51.53cr2_dcordes: GNUtoo dumped g1 smem, amss detection possible, vbus is the same location
16:51.54dcordeshope I'm receiving mine soon
16:51.57NetRipperi can't find out why initrd doesnt boot
16:52.00cr2_:)
16:52.38GNUtoowhich device has 396MB ram avaliable ?
16:52.40dcordescr2_, they were sold out at vodafone
16:52.44dcordesleo
16:53.46cr2_dcordes: yes, you told me
16:54.10cr2_GNUtoo: leo. but it has more, NetRipper enabled only 396 for now
16:54.17cr2_[D:LED][TurnOnOffVibrator] Turn on/off: 3000, BePoliteLock = 0, TickCount: 196914326, Board = 4
16:54.22cr2_NetRipper: board 4
16:54.42NetRipperer so what's it tell us?
16:54.47*** join/#htc-linux f77 (~Administr@cpc2-nfds13-2-0-cust243.8-2.cable.virginmedia.com)
16:54.58cr2_NetRipper: we have 4 too
16:55.03GNUtoook
16:55.19NetRipperyes
16:55.19cr2_GNUtoo: can you check the mpu bits ?
16:55.39cr2_NetRipper: but no B81 message
16:55.48GNUtoocr2_, what should I do?
16:56.04NetRippercr2_, is it a cold boot dmesg?
16:56.06cr2_GNUtoo: dump 3 devmem2 locations
16:56.11cr2_NetRipper: no
16:56.14NetRipperi only had the B81 messages in the start
16:56.26cr2_AstainHellbring: can you do a cold start and dump dmesg ?
16:56.30GNUtoocr2_, ok can I do it this night?
16:56.38cr2_GNUtoo: yes
16:56.40AstainHellbringsure what is a cold start?
16:56.40NetRipperAstainHellbring, as in, remove battery for 10 sec kinda cold boot
16:56.49GNUtoocause I would have to reinstall proprietary android version etc...
16:56.51GNUtoothanks
16:56.51AstainHellbringNetRipper cool will have that up in a sec
16:57.31cr2_GNUtoo: btw, the gps dump was too slow, so the gps rpc is not there. we should dump a smaller area, and faster
16:58.01GNUtoook
16:58.29GNUtoocr2_, how should I modify the program to dump faster then?
16:58.35*** join/#htc-linux Wout (~ubuntu@s55927d21.adsl.wanadoo.nl)
16:59.13cr2_GNUtoo: dump the full 8K rpc  fifo at once ?
16:59.30cr2_no need to dump 1MB anymore
16:59.36GNUtooah ok
16:59.48GNUtoowhat is the address?
16:59.53cr2_memcpy should be fast enough
17:00.05cr2_hmm. let me check.
17:00.11Woutcan I ask a very dumb linux question?
17:00.26*** join/#htc-linux Paul_Ishenin (Miranda@PPPoE.214-188.IP.RastrNET.RU)
17:01.22NetRipperWout, there are no dumb questions
17:01.53Woutok, I'm in ubuntu, xdandroid phone connected, got the sdk, opened the terminal, I'm in the tools directory
17:02.01Woutbut it doesnt recognize the adb shell command
17:02.27NetRipper./adb
17:02.52Woutthanks :)
17:02.55NetRipperif you run something that's not in PATH, you must give a path to it, so if it's in local dir, add ./
17:03.19WoutI'm used to windows where navigating to the directory inside the terminal is enough
17:03.54NetRipperyea ;) welcome to linux
17:04.09GNUtoocr2_, ok I'll check if it works
17:05.32WoutNetRipper, the phone says that usb debugging is enabled and that usb is connected, but when I run adb shell it says ' device not found'
17:05.39Woutanything else I need to do?
17:05.43AstainHellbringcr2_ pm
17:06.02NetRipperWout, i'm not familiar with adb, never used it.. maybe someone else knows
17:06.19Woutubuntu is signalling a disconnected wired network though
17:08.21cr2_GNUtoo: 0xd9a0
17:08.38Woutdoes anyone else know how to get adb working?
17:09.21cr2_GNUtoo: and f9b4 for rx
17:09.43GNUtoook thanks
17:09.45cr2_NetRipper: [NAND] maker_id 0xad  device_id 0xbc
17:09.50cr2_NetRipper: same nand ?
17:09.53mickey|sofaWout: iirc you need to start some adb daemon first
17:09.59NetRipperlet me check
17:10.23Woutmickey: that got started the first time running adb shell, the problem seems to be the usb connection to the computer
17:10.29Woutthe phone says its connected
17:10.29NetRippercr2_, yes, same
17:10.44Woutubuntu keeps popping up disconnected wired network messages
17:11.05phh(ubuntu sux)
17:11.36Wout:/
17:11.40NetRipper00:00:31.261    [D:FMD] IOCTL_FMD_NAND_READ_LSENSOR_DATA:0x3
17:11.41NetRipper00:06:00.541    [D:FMD] IOCTL_FMD_NAND_READ_WLAN_DATA
17:11.44NetRipperfirmware hidden on nand?
17:11.45NetRipper:p
17:11.53NetRipperi'm using ubuntu as well
17:12.05phhnot with networkmanager then ?
17:12.13NetRipperWout, ignore it, you'll still have connection to your phone
17:12.17cr2_GNUtoo: 0x2014 block size
17:12.39WoutNetRipper,  apparently not completely, adb cant see any device to connect to
17:12.59cr2_G23 ver.:G 15.33.50.07U
17:13.07NetRipperWout, you running adb as a user or as root
17:13.49Wouteeehm, I guess as user?
17:14.09cr2_NetRipper: same config
17:14.12cr2_09:59:13.469    [D:TP][E]B81 detected failed!
17:14.14cr2_09:59:13.475    [D:TP][E]B81_2 detected failed!
17:14.15cr2_09:59:13.476    [D:TP][E]B81_3 detected!
17:14.45NetRipperWout, try this: http://netripper.pastebin.com/f276836e0
17:14.59NetRipperWout, i had to do that to make synce work
17:15.07NetRipperalthough, adb is somethign different
17:15.08NetRipperhm
17:15.12*** join/#htc-linux pH5_ (~ph5@g229082035.adsl.alicedsl.de)
17:15.15NetRippercheck your dmesg to see for error messages
17:15.16NetRipper:)
17:15.22NetRippercr2_, ok good
17:15.29*** join/#htc-linux friehmaen (freeman@xers.de)
17:15.44*** join/#htc-linux andreas32b (~andy@dslb-094-216-225-144.pools.arcor-ip.net)
17:16.40adamwphh: markinus: yeah, I have the firmware markinus sent me, and the one from gw620.
17:16.50phhadamw: send it to me :p
17:17.00adamwphh: kk, email?
17:17.12phhphhusson@free.fr
17:18.32cr2_NetRipper: linload does not boot. what is your default.txt ?
17:18.52NetRipperhold on
17:19.43NetRippercr2_, http://netripper.pastebin.com/m3c5f436a
17:19.46adamwphh: sent
17:19.52adamwah wait
17:19.55adamwnot yet :) just a sec
17:19.55phhthanks
17:20.16NetRippercr2_, clear the initrd in your case ;p
17:20.27adamwphh: okay, NOW it's sent
17:20.36phhlol
17:20.54adamwhow's your progress?
17:22.11cr2_NetRipper: it was working before
17:22.20AstainHellbringcr2_ anything else you want me to dump?
17:22.30cr2_AstainHellbring: no
17:22.56AstainHellbringk
17:25.02ToAsTcfhphh: so im going squash... what files are normally squash by u guys?
17:25.31phhToAsTcfh: mmuh ?
17:25.38phhyou mean what do we put in squashfs ?
17:25.52ToAsTcfhyeah
17:25.55phhadamw: oh btw, hcd is just the firmware of the bluetooth part
17:25.58phhToAsTcfh: /system
17:26.10ToAsTcfhthe whole damn thing?
17:26.12ToAsTcfhlol
17:26.17ToAsTcfhalright
17:26.54ToAsTcfhsweet thanx
17:27.51cr2_NetRipper: AstainHellbring has much more microP ops in his dmesg
17:28.03cr2_NetRipper: compared to my log
17:29.27cr2_[D:FMD] IOCTL_FMD_NAND_READ_LSENSOR_DATA:0x3
17:29.43ToAsTcfhphh: no special options?
17:29.43cr2_hm. maybe we should implement these ioctls ?
17:30.20phhToAsTcfh: no
17:37.27cr2_phh: some data for GPO_LED_STATUS_EN and GPO_LED_STATUS_DIS
17:37.39cr2_used on leo
17:37.55ToAsTcfhphh: i dont get it. it output a file called destination. is that the system image?
17:38.03cr2_cc,90,    -> wr, EnableGPO : GPOStatus: 0x2000000, EnableGPOValue: 0x2
17:38.04cr2_cc,91,0,3 -> wr, DisableGPO: GPOStatus: 0x0,DisableGPOValue: 0x3
17:38.12phhToAsTcfh: uh ?
17:38.15phhcall it whatever you want
17:38.17phhit's just a name
17:38.40ToAsTcfhmksquashfs system destination
17:39.09ToAsTcfhi guess i shouldnt have used the default :P
17:39.19phhthe defaults are fine
17:39.43cr2_NetRipper: it may be the proximity led ?
17:40.00ToAsTcfhso ok i just add that to my build
17:40.22ToAsTcfhand remove the system folder of course
17:41.18ToAsTcfhphh: not bad.. saved me 50mb
17:45.43Paul_Isheninwince camera is in cif.dll?
17:46.24cr2_phh:  microP does some extra gsensor postprocessing
17:46.29cr2_phh: on leo
17:46.37phhcr2_: extra ?
17:48.58*** join/#htc-linux GlemSom (~glemsom@0x5da34bca.cpe.ge-1-1-0-1105.sdnqu1.customer.tele.dk)
17:51.43cr2_http://htc-linux.org/wiki/index.php?title=RaphaelMicroP
17:51.59cr2_cc,a0,    -> wr, SetRotationPolling: RotationPollingCtrlValue: 0x10a01
17:52.01cr2_cc,a2,    -> wr, SetFaceUpDownRotationInterrupt:
17:52.02cr2_cc,a3,8,x -> wr, setRotationThreshold: [0]: 0x0 [1]: 0x40 [2]: 0xff [3]: 0xc0 [4]: 0x0 [5]: 0x40 [6]: 0xff [7]: 0xa6
17:52.04cr2_cc,a4,    -> wr, SetFaceUpDownThreshold: FaceUpDownThresholdValue: 0x160016
18:00.30*** join/#htc-linux Wout (~wout85@s55927d21.adsl.wanadoo.nl)
18:01.38phhcr2_: oh right, these ones are features of bma150 actually
18:02.21phhbut weridly, doesn't on nexus
18:02.27phhmaybe they didn't want to make an api for that
18:05.54CaptnoordPaul_Ishenin: yea it seems
18:06.01Captnoordbut loads of dll are imported
18:07.17Paul_Ishenineven if it is so - it contains cif_powerup, cif_powerdown, cif_init functions
18:07.38Paul_Isheninwhich could be useful
18:07.41Captnoordits majorly rpc stuff
18:09.39Captnoordclk_regime_sec_msm_sel_camclk
18:09.45Captnoordselect cam clock
18:10.06phhwhich is done by pc_clk_set_flags (or something like that)
18:10.18phhand that is already handled (if not handled, it happily ends in a kernel panic.)
18:10.26Captnoordk
18:11.20CaptnoordSetCAM2Sleep works trough some i2c
18:11.56phhall i2c commands are already in the driver
18:12.50Paul_Ishenineverything at place but does not work
18:13.05Captnoordwhen that is
18:13.08Captnoordsomething small is missing
18:13.25phhPaul_Ishenin: no, vfe init is not there.
18:13.33phhnot fully
18:13.54phhhum well, not sure.
18:13.59phhPaul_Ishenin: but what happens when trying ?
18:14.26Paul_Ishenintrying what?
18:14.34phhto access camera maybe ?
18:14.43Paul_Isheninnothing
18:14.48phhlol
18:14.49phhno message ?
18:14.58Paul_Isheninyes and this puzzles me
18:15.08phhthere are messages ...
18:15.14phhnot necesserly error messages thouogh
18:15.15Paul_Ishenindmesg shows nothing new
18:15.16*** join/#htc-linux kiozen (~oeichler@rgnb-5d87df27.pool.mediaWays.net)
18:15.24phhand adb logcat ?
18:15.48*** join/#htc-linux darkstar62 (~nndarksta@97-126-101-17.tukw.qwest.net)
18:15.51Paul_Isheninyes, it shows that something hangs and it prepares to kill that
18:16.03phhthat's what you call "nothing" ?
18:16.20phhthat's more infos than when trying to debug GPS ...
18:16.46Paul_IsheninI expect to have realted dmesg info
18:17.03phhnot if the camera app you use can't even access to the device
18:17.43Woutgrrrrr, can't acces my device through adb via linux and windows isn't working either :/
18:17.59phhPaul_Ishenin: which android release are you trying that with ?
18:18.48Paul_Ishenin2.0.1
18:19.01Paul_Isheninbut I took camera app from 2.1
18:19.11Paul_Isheninor you mean something else?
18:19.23phhwho cares about the app ? it just uses the api
18:19.49phhyou're not using vogue's camera libs, are you ?
18:20.01phhAFAIK it's the one by default in this build
18:20.36phh<PROTECTED>
18:20.41phhok you can forgot that one.
18:23.50Paul_Isheninphh, I'm using this release: http://forum.xda-developers.com/showthread.php?t=601751, I'm using modules from here: http://glemsom.anapnea.net/android/htc-msm-android/ and bulding kernel from the camera branch with few modifications
18:23.56Paul_IsheninI need to do something more?
18:24.18Paul_Isheninwhat are vogue's camera libs?
18:24.34gehzumteufellibraries
18:24.42gehzumteufelsimilar to dll's on windows
18:24.51*** join/#htc-linux Wr4i7h (~abc@89.180.90.110)
18:25.47Paul_Isheninwhere they must be in system.sqsh or rootfs.img?
18:26.07phhsystem
18:26.12Paul_IsheninI thought everything is already there
18:26.24phhhave you checked ?
18:26.27phhlast time I checked it wasn't
18:26.40Paul_Isheninno, I did not
18:26.44*** join/#htc-linux SOG (~SOG@n1164869065.netvigator.com)
18:30.36Paul_Isheninlibqcamera.so ?
18:31.06Captnoordhmmm
18:31.06CaptnoordFM03FF-EVXX
18:31.06CaptnoordVGAMI380 SOC1/11"FFVGA:30fpsYUY2TBD2.40Design
18:31.21phhCaptnoord: what's about it ?
18:32.33Captnoordone of the cam modules on the raph
18:32.35Captnoord:P
18:32.44phhyes I know
18:32.58Captnoordjust getting the stuff ready if I can find something\
18:33.30phhhttp://htc-linux.org/wiki/index.php?title=RaphaelCameras
18:34.14JD[a]phh: Still no luck, see:
18:34.15JD[a]http://jd.pastebin.com/m1f85ab57
18:34.32Paul_Isheninphh, where to get the library? here: http://github.com/dzo/VogueCamera ?
18:34.42phhPaul_Ishenin: do *******not******** use vogue's lib
18:34.58JD[a]btw, Using the following to make:
18:34.59JD[a]make -j4 ARCH=arm CROSS_COMPILE=../../mydroid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- zImage
18:35.12phhJD[a]: the patches applies without any problem ?
18:35.17phhapply*
18:35.32JD[a]Pretty much
18:35.37phh...
18:35.40Paul_Isheninso what camera library to use?
18:35.42JD[a]I was having issues, so I manually did it
18:35.49JD[a]:(
18:35.50Paul_Isheninand how to check if I have one?
18:36.16JD[a]I think once I can compile, i'd be right now ....
18:36.43*** join/#htc-linux Wout (~wout85@s55927d21.adsl.wanadoo.nl)
18:37.25phhPaul_Ishenin: the one included seems right
18:37.34Paul_Isheninlibcamera.so?
18:37.36phhhum not sure if I have official rootfs/system
18:38.28Paul_Isheninthere is also liboemcamera.so
18:42.40phhE/mm-camera-native-cam( 1700): native_interface_init: msm_camera opened failed!
18:42.45phhyou really don't get such messages ?
18:43.16Paul_Isheninwait, I am rebuiling kernel again. reverting all my changes
18:43.52phhPaul_Ishenin: do you have a pmem_adsp device ?
18:45.27Paul_Isheninhow to check?
18:45.31*** join/#htc-linux Greblak (~rune@cm-84.210.36.195.getinternet.no)
18:47.30Paul_Isheninin pmem.c I have 0 memory allocated to pmem_adsp and comment that it is useless
18:47.31phhI meant in /dev
18:47.31phhwell camera needs pmem_adsp.
18:47.31*** part/#htc-linux Greblak (~rune@cm-84.210.36.195.getinternet.no)
18:47.37Paul_IsheninI will boot and look
18:48.23Captnoordjpg decoding
18:48.27Captnoordencoding
18:50.37Paul_Isheninphh, no I don't
18:50.43Paul_Isheninbut I have pmem_camera
18:53.25JD[a]phh: what's your gcc version?
18:53.50Captnoord0xA80811B8 is used....
18:54.13JD[a]or Captnoord?
18:54.22Captnoordyea
18:54.28JD[a]what's your gcc version?
18:54.45Captnoordyou say that to all your chick's ain't ya
18:54.49Captnoordatm... no gcc
18:54.53JD[a]mhmm :P
18:54.55Captnoordlaptop didn't arive today
18:55.03Captnoord4.xx is very strict
18:55.04JD[a]It's like multitouch... how many fingers can you use?
18:55.16JD[a]Yeh im on 4.4.1, I think that's my issue.
18:55.18Captnoordand usualy cause crap... when your not to strict
18:55.27Paul_Isheninphh, logcat: http://pastebin.com/m3840249c
18:55.31Captnoordnah... thats only if you know if you don't know how to fix it
18:55.45Captnoordusualy we people fuckup on complicated shit regarding templates and shit
18:55.45JD[a]The error?
18:55.59JD[a]Heh, I'm hopeless. :P
18:56.17JD[a]I'm being told:
18:56.17JD[a]invalid storage class for function
18:56.25Captnoordnah... i'm so spoiled kid with the visual studio compiler
18:56.26WoutI'm gonna give up. Tried two different systems, tried both Windows and Linux, different usb cables.....but I just can't get adb to see the phone and connect. Maybe it's just broken
18:56.33Captnoordthat I usualy fail bigtime on gcc
18:56.38Captnoordtakes me some time to fix it....
18:58.14*** join/#htc-linux MrPippy (~pip@adsl-75-11-172-186.dsl.sndg02.sbcglobal.net)
19:01.37JD[a]nup
19:03.26*** join/#htc-linux philipgian (~philipgia@athedsl-4498735.home.otenet.gr)
19:05.09*** join/#htc-linux friehmaen (freeman@xers.de)
19:09.27phhPaul_Ishenin: so that's what you call "no message" uh ?
19:09.36phhstill it means it's the correct camera lib
19:09.48Paul_Ishenin:)
19:10.02Paul_Isheninok. dmsg writes me some errors
19:10.11phhyou created the missing devices ?
19:11.20Paul_Isheninonly pmem_adsp
19:11.22Paul_Isheninhttp://pastebin.com/d6468d8dd
19:12.10phhuh ?
19:12.15phhyou have the /dev/msm_camera devices ?
19:12.28phhand your i2c errors are weird
19:12.37phhyou have a diam100 ?
19:13.33phhPaul_Ishenin: where did you get Camera.ap ?
19:13.34phhapk*
19:13.36Paul_IsheninI don't have msm_camera devices
19:13.54phhuh ?!?
19:14.33phhoh yes right.
19:14.59*** join/#htc-linux ToAsTcfh (~toast@70-11-84-15.pools.spcsdns.net)
19:15.33Paul_IsheninI've pulled camera.apk from the image of google virtual device
19:16.49Paul_IsheninI've got image of 2.1 platform with sdk
19:17.11Paul_Isheninconnected to that virtual image using adb and pulled camera.apk
19:17.19phhI built it from android sources. easier.
19:17.31Paul_Isheninnot easier
19:19.09Paul_Isheninphh, what is the right way of allocating 16Mb of memory for the camera and how much adsp requires?
19:19.56phhno clue?
19:19.59phh-?+.
19:20.18phhjust set 16MB for everyone
19:20.22phhoh well, 8
19:20.27Paul_Isheninwell, I think we need 16Mb for camera and 8 for adsp
19:20.32phhlol ?
19:20.38phhoh M*b*
19:20.46phhwhy don't you speak with MB like everyone -_-'
19:20.46Paul_Isheninall the kernels I see have that values
19:21.07phh24Mb seems really little
19:21.10cr2_NetRipper: how do i record 16bit sound (i.e. not 8000)
19:21.14phhand I don't think other kernels have such values
19:21.36Paul_Isheninok MB
19:21.38*** join/#htc-linux Wout (~wout85@s55927d21.adsl.wanadoo.nl)
19:21.40ToAsTcfhphh: eh so i ended up with issues. cant munt the system :P
19:21.42cr2_phh: leo pmem sizes are insane
19:21.50phhcr2_: I know
19:22.14cr2_the question is whether they are actually used
19:22.30phhI think they are
19:22.32phhbut in worst case
19:25.11phhcr2_: the most insane is GPU I think no ?
19:27.02Woutcould a problem where phone just refuses to connect to either linux or windows have anything to do with the winmo radio/rom on the device?
19:27.15*** join/#htc-linux ulaas_ (~ulaas@88.253.18.232)
19:27.20phhWout: not likely
19:27.30phhgroumpf I can't find a single camera app
19:27.36ali1234Wout: define "connect"
19:27.37Woutok, I give up then
19:27.44phhmaybe I have camera working but I can't even now -_-'
19:27.56Woutali1234: I want to connect through adb shell, but it cant find the device
19:28.15Woutin linux I do see usb0 network connection, but it wont connect to it, fails everytime
19:28.16ali1234Wout: then it isn't related to radio rom
19:28.43Woutand in windows the driver installs, I see an android device in the device manager but once again adb doesn't see a device
19:30.32Paul_Isheninphh, how big SMI2 on diamond?
19:30.58cr2_Paul_Ishenin: there is no smi2
19:31.27*** join/#htc-linux leaigor (~laigor@188.134.16.241)
19:32.30Paul_IsheninI see, this is only a declaration in pmem.c
19:33.01Paul_Isheninand I also found an answer :)
19:34.28ToAsTcfhphh: has anyone had any luck on the camera?
19:36.15ToAsTcfhphh: vcam wont work?
19:36.35Woutphh: Which linux distro do you use?
19:36.44cr2_hm. how can i test 3d in wince leo?
19:37.21AstainHellbringtriangles?
19:37.57cr2_AstainHellbring: where ?
19:39.00cr2_AstainHellbring: you used bt headset ?
19:40.24JD[a]ToAsTcfh... I was almost there (to finally have 3d) but it won't compile... google tells me its because of GCC 4.X :'(
19:40.48AstainHellbringcr2_ yes
19:40.51cr2_phh: regime ids -> http://htc-linux.org/wiki/index.php?title=MSM_CLK
19:41.08cr2_AstainHellbring: where is this triangles program ?
19:41.50AstainHellbringlemme look a sec
19:41.56ToAsTcfhJD[a]: :?
19:42.06ToAsTcfhthat sux
19:42.21ToAsTcfhi think i used gcc 4.x
19:42.29ToAsTcfh4.4.3
19:42.35ToAsTcfhor some thing
19:42.50ToAsTcfhi just used the one in the android sdk
19:43.00AstainHellbringcr2_ this one should actually be better
19:43.04AstainHellbringand its a fun game too:  http://www.sorobangeeks.com/games/electopia-free-download
19:43.10cr2_phh: can you test the rhod clocks ?
19:43.32cr2_AstainHellbring: ok :) hate to install software.
19:47.18AstainHellbringof course there is always http://www.glbenchmark.com/index.jsp
19:47.20AstainHellbringtoo
19:55.28Captnoordgl es sdk samples
20:00.15*** join/#htc-linux Ekips (spike@d51A460C9.access.telenet.be)
20:08.46NetRipperactually cr2_
20:08.51NetRipperexperiment 13 might be a game you want to decompile
20:09.27NetRipperas it enables "exclusive mode"
20:09.36NetRipperon the hd2
20:09.59NetRipperit means the hd2 scales up to 1ghz again.. while normally it doesnt
20:11.54CaptnoordoO
20:13.37Paul_Isheninphh, seems it is possible to share the pmem this way: http://pastebin.com/m367e2130
20:14.14phhhein ?
20:14.21phhwhere do you share anything in this code ?
20:15.22NetRippernot sure if it's true Captnoord
20:15.28phhyou just setted pmem size to 12MiB, adsp size to 8MiB, camera size to 8MiB, but that's all
20:15.36NetRipperbut in regular use, the cpu doesn't scale to higher than 768mhz anymore.. only at boot it's at 1ghz
20:15.42NetRipperthats why you got these "1ghz roms"
20:15.52Paul_Isheninphh, yes
20:16.00phhPaul_Ishenin: how is that a share ?
20:16.31*** join/#htc-linux balans (~Gebruiker@212-123-149-239.ip.telfort.nl)
20:16.33phhPaul_Ishenin: and can you send me your camera.apk ? I can't find any that works :(
20:16.43phhqualcomm debug tools seems to say camera works though
20:16.45cr2_NetRipper: clock regime http://htc-linux.org/wiki/index.php?title=MSM_CLK
20:17.04Paul_Isheninok, share is not the correct word
20:17.19NetRippercr2_, ok nice
20:17.30cr2_NetRipper: now i understand leo sound clocks better than raph
20:17.30phhcr2_: I still can't seem to be able to get any answer of this rpc server :/
20:17.47cr2_phh: what about wince ?
20:17.51NetRippercr2_, do you know what dll i should RE in leo to get to the cpu clock code? msm_clk.dll?
20:17.57phhcr2_: I have no clue how to do that in wince
20:18.14phhNetRipper: no acpuclock.dll ?
20:18.18phh(just in case.)
20:18.32Paul_IsheninI will send you it
20:18.39cr2_NetRipper: hmm. i don't think so
20:18.44phhthanks
20:18.56NetRipperphh, no
20:19.07NetRipperonly clkregim.dll and msm_clk.dll are dlls with "clk" in them
20:19.13cr2_phh: by telling NetRipper to commit the haret patch
20:19.41NetRipperi havent seen a mail to haret mailing list yet cr2_
20:19.53cr2_phh: or i can dcc it
20:20.11cr2_NetRipper: need to register first
20:20.20NetRipperwell do that then :)
20:20.29NetRipperhttp://lists.linuxtogo.org/mailman/listinfo/haret-devel
20:20.30phhcr2_: you just do a call to the clk_rgm.dll function no?
20:20.41NetRipperphh, that's what it does
20:21.07phhok, I'd prefer an oncrpc implementation, so that I could use it as is :p
20:21.31ToAsTcfhphh: which debug tools ? mmcamera_test?
20:21.38phhToAsTcfh: something like that
20:21.53phhexactly that
20:21.56cr2_phh: dcc ?
20:22.02phhcr2_: can't do dcc on this irc client
20:22.05ToAsTcfhdid u change any thing in ur source or what?
20:22.11phhToAsTcfh: no
20:22.15cr2_phh: oncrpc on wince ?
20:22.16phhToAsTcfh: this tool doesn't even work for you ?
20:22.22phhcr2_: there is an oncrpc.dll
20:22.35ToAsTcfheh i can try it again
20:22.41*** join/#htc-linux rashire (~ed1112war@98.114.89.97)
20:22.52cr2_phh: what's the point ? we know rpc call params
20:23.11phhcr2_: yes but for an unknown reason I can't get it to work.
20:23.17ToAsTcfhphh: oh yeah i gave up on it. i couldnt figure out how to use it :P
20:23.28phhToAsTcfh: just launch it -_-'
20:23.38phhE/gralloc ( 1907): gralloc failed err=Out of memory
20:23.45phhso I have to increase pmem, pmem_adsp and pmem_camera
20:23.52phhhow am I supposed to do that uh ?
20:23.58cr2_phh: you connect without an error ?
20:24.18ToAsTcfhhmm
20:24.22phhcr2_: yes, and msm_rpc_call doesn't timeout
20:24.23NetRipperphh, change the memory map in the boards .h file
20:24.26phhit just returns nothing
20:24.28phhNetRipper: na, it's in pmem.c
20:24.36phhNetRipper: but on diamond there is really little memory
20:24.40ToAsTcfhis vfe starting?
20:24.42phhand increasing pmems is really hateful.
20:25.07NetRipperwasnt there 512mb ram on diamond?
20:25.12Paul_Isheninphh, email
20:25.17phhPaul_Ishenin: thanks
20:25.19phhNetRipper: lol ?
20:25.26phhNetRipper: it's 128MB EBI + 64MB SMI
20:25.29Paul_Isheninno, I mean what is you email?
20:25.38phhPaul_Ishenin: phhusson@free.fr
20:25.45NetRipperwhat does raphael got then?
20:25.54phhNetRipper: 256MB EBI +32MB SMI
20:25.58NetRipperah
20:26.40phhToAsTcfh: http://pastebin.com/m121a692d
20:26.45cr2_NetRipper: got spoiled by 576 ?
20:27.16NetRippercr2_, yes
20:27.21Paul_Isheninmailed
20:27.24NetRippercr2_, i thoguht raphael had more
20:27.25NetRipper:P
20:27.42NetRipperand i thought diamond was equal to raphael memorywise
20:27.57phhNetRipper: equal almost everywhere
20:27.59phhbut not for memory
20:28.05NetRipperoki
20:28.43phhToAsTcfh: is it any better than you ?
20:28.58cr2_NetRipper: do you have an ftp ?
20:29.02Paul_Isheninphh, that pastebin is nice. do you have diamond (p37000 ?
20:29.07NetRippercr2_, you can mail up to 50mb to me
20:29.08phhPaul_Ishenin: yes
20:29.22Paul_Isheninstrange that I have worse dmesg
20:29.43Paul_Isheninmaybe because of your yesterday commits ;) ?
20:29.48phhno
20:30.20phhcr2_: it seems qcamtask doesn't answer... any clue about that ?
20:32.05gehzumteufelFor everyone that needs a quick and easy file sharing solution, you should all look into getting dropbox. It integrates with the shell. It works on Windows, Linux, Mac, and iPhone. www.dropbox.com
20:32.22phhwho cares about iphone ? :p
20:32.43gehzumteufelhaha I agree, but was just suggesting a very good, cheap (free), and quick solution :p
20:32.44Paul_Isheninphh, got my mail?
20:32.51ToAsTcfhphh: what is the usage ur using with  mmcamera_test? i cant get it to work
20:32.57phhToAsTcfh: just as is
20:32.59phhwithout any argument
20:33.03phhbut everything is in logcat
20:33.09phhPaul_Ishenin: yup
20:33.14ToAsTcfhphh: urs is looking better then my dmesg
20:33.28phhToAsTcfh: that's also what I thaught.
20:33.53ToAsTcfhvfe failed to write but it seems it worked later
20:33.57ToAsTcfhon urs
20:34.21phhfailed to write ?
20:34.21ToAsTcfhvfe failed to start before write i mean :P
20:34.44phhah right
20:34.53JD[a]ToAsTcfh: What version cross compiler/gcc do you use to build?
20:35.06ToAsTcfhthe one in the sdk
20:35.50ToAsTcfhphh: but it seems to work after that. mine gets hung up on that for a while then just bails on it
20:35.56phhToAsTcfh: na it hangs
20:36.04phhmight be because of not enough pmem....
20:36.05cr2_NetRipper: subscribed
20:36.10NetRipper:)
20:36.46JD[a]ToAsTcfh: I dont see any in the SDK ;\
20:38.33ToAsTcfhD/mm-camera-main( 1351):
20:38.33ToAsTcfhD/mm-camera-main( 1351): Camera Test Application
20:38.33ToAsTcfhI/mm-camera-mmap( 1351): There is no sensor detect
20:38.33ToAsTcfhD/mm-camera-main( 1351): Profiling: Start Camera timestamp = -317079412 ms
20:38.33ToAsTcfhD/mm-camera-main( 1351): main: NATIVE_CAMERA_INTERFACE
20:38.33ToAsTcfhE/mm-camera-native-cam( 1351): native_interface_init: msm_camera opened failed!
20:38.43ToAsTcfh:?
20:38.58phhna
20:39.03phhit goes way further for me
20:39.05phhToAsTcfh: strace it
20:41.33Captnoordno sensor detected means for me that the camera sensor isn't detected
20:41.45Captnoordwhile it should have support
20:41.47phh*detect* not detect*ed*
20:41.48Captnoordor at least
20:41.54Captnoordk
20:42.10phhstill i don't know what it would mean.
20:44.04*** join/#htc-linux LargePrime (~chatzilla@99-148-91-126.lightspeed.dttnmi.sbcglobal.net)
20:44.46phhcr2_: for sound on 6125, is there any clock setting needed ?
20:44.56*** join/#htc-linux m3dlg (~m3dlg@212.183.140.51)
20:46.06cr2_NetRipper: sent
20:46.19cr2_phh: not that i know
20:46.23phhok
20:46.41cr2_phh: check the icodec,ecodec and sdac clocks
20:47.22cr2_phh: the leo data looks perfect (although a bit different from nexus), and raph data are a bit confusing. try to check it on rhod
20:48.12NetRipperdidnt receive yet
20:48.15cr2_phh: which CAM related clock is 96MHz ?
20:49.40*** join/#htc-linux dcordes (~dccordes@unaffiliated/dcordes)
20:50.36Scepterrcan anybody direct me to a good guide for turning system.img to system.sqsh  ?
20:50.59Scepterrwhat it needs other than the contents of system.img
20:51.14cr2_NetRipper: don't see it in the archive too.
20:51.26cr2_NetRipper: maybe htc-linux.org is blocked ?
20:51.26*** join/#htc-linux Wr4i7h_ (~abc@89.180.41.114)
20:51.29NetRipperdid you send to haret-devel@lists.linuxtogo.org ?
20:51.53cr2_2  20:45:44   haret-devel@lists.linuxtogo.org   msmcmds.cpp
20:52.03NetRipperok
20:52.10NetRippernah first time you go through greylist
20:52.11cr2_NetRipper: i'll paste
20:52.16NetRipperso may take up to 30 min
20:52.41*** join/#htc-linux m3dlg (~m3dlg@212.183.140.51)
20:53.32cr2_NetRipper: http://pastebin.de/4137
20:53.50cr2_NetRipper: there is nothing to discuss in this patch
20:54.04NetRipperit's just a formality
20:54.23NetRippergive ppl 24h to respond before comitting
20:54.51cr2_i see that some guy asked about centrality gpio & irq
20:55.16cr2_there was some basic linux support patch for it. so this data is known
20:55.22LargePrimeAFKmay I ask noob questions?
20:55.37AstainHellbringoh crap LargePrimeAFK woke up here...
20:56.39LargePrimeAFKoh nooeeessss
20:56.54LargePrimeAFKok I really am afk now
21:01.55cr2_NetRipper: what was the problem with mdp_lcdc on leo ?
21:02.34cr2_NetRipper: can't boot, but i have edited defconfig. hmm...
21:03.00NetRippercr2_, mdp problem is that the interrupt handler causes a handle_bad_irq
21:03.58cr2_<PROTECTED>
21:03.59cr2_<PROTECTED>
21:04.01cr2_<PROTECTED>
21:04.02cr2_<PROTECTED>
21:04.04cr2_<PROTECTED>
21:04.09cr2_need to identify these 3 clocks
21:04.22cr2_pclk is probably a bit in GLBL_CLK
21:05.01cr2_NetRipper: btw, in haret we watch GLBL_ENA. maybe it makes more sense to track GLBL_STATUS instead ?
21:05.31*** join/#htc-linux ToAsTcfh (~toast@173-136-197-251.pools.spcsdns.net)
21:05.36NetRipperwhatls GLBL?
21:05.46cr2_global
21:06.13phh[21:51:44] <cr2_> phh: which CAM related clock is 96MHz ? <----- adsp I'd say
21:06.57cr2_<PROTECTED>
21:06.59cr2_<PROTECTED>
21:07.01cr2_this one ?
21:07.12phhsounds like it
21:07.33phhwait, vdc ?
21:07.35phhnot the on I expected
21:07.48cr2_damn, can't access wiki again
21:08.05phhget an offline proxy.
21:08.07dcordeswhat's wrong with it?
21:08.27cr2_0x29/41  rpc  ?  -  ?  ?, cam related,vfe  24000  96000(cam)
21:09.32cr2_dcordes: can we upload files to htc-linux.org ?
21:10.23cr2_phh: x48=tvenc,x28,x33,x29,x58=jpeg
21:10.34cr2_phh: and clk_regime_sec_msm_get_clk_freq_khz (x29/x11)
21:11.06cr2_0x28/40  rpc  ?  -  ?  ?, cam related,vfe  24000  24000
21:11.20cr2_0x29/41  rpc  ?  -  ?  ?, cam related,vfe  24000  96000(cam)
21:11.33cr2_0x33/51  rpc  ?  -  ?  ?, cam related, icodec_rx   24576
21:11.52cr2_0x58/88  rpc  0xf0  0xb00   ?, jpeg cam related  61440  60000
21:12.57*** join/#htc-linux balsat (~balsat@87.72.13.34)
21:15.09cr2_HaRET(1)# msmclkkhz 0x48
21:15.11cr2_clk_freq_khz ( 72 / 0x48 ) = 27000
21:15.16cr2_this one looks good
21:15.34cr2_strange on leo
21:15.37cr2_HaRET(1)# msmclkkhz 0x48
21:15.39cr2_clk_freq_khz ( 72 / 0x48 ) = 105
21:15.47cr2_but it does not have tvout .
21:16.10AstainHellbringhmm lg monaco is supposed to have tvout
21:17.28phhhdmi out ?
21:17.38AstainHellbringphh proally not
21:17.51AstainHellbringit is via the micro usb port on monaco though
21:18.02phhdamn.
21:18.27phhgrah I can't see what's wrong with camera
21:18.51AstainHellbringmakes me wonder if leo can do tv and its just missing the files to do it
21:19.03AstainHellbringI am trying to find an lg monaco tv out cable
21:19.25cr2_AstainHellbring: tvout on microusb ?
21:19.31AstainHellbringyes cr2_
21:19.48phhcr2_: you can't see how ? :p
21:19.51cr2_hm. that reminds me about serial console on leo
21:20.08*** join/#htc-linux ale_____ (~alessandr@host103-152-dynamic.49-82-r.retail.telecomitalia.it)
21:20.17cr2_phh: why not. but you need some muxer
21:20.30cr2_at least usb and rs232 are already muxed
21:20.46cr2_need to check in oemsbl how they do it
21:21.00cr2_but then i need to strip the extra bytes from oemsbl
21:21.17cr2_because i can't dump it from smi
21:21.29cr2_phh: can you check mpu on rhod ?
21:21.53phhcr2_: check if setting 0 to the known bit enables dumping ?
21:22.17cr2_ts on raph is much better than this weird multitouch crap on leo ;)
21:22.31cr2_phh: check if you these areas are visible
21:23.20cr2_what's so special about such an innacurate ts anyway !?
21:23.36phhit's that inaccurate ?
21:23.45phhI've never tried capacitive ts yet
21:23.58cr2_you must operate it with the finger
21:24.07cr2_maybe on 26" display it's ok
21:24.20cr2_but if the widgets are small, like filenames
21:24.28cr2_then it's PITA to use
21:24.44JD[a]WOAH Finally (crooses fingers)
21:24.53JD[a]<PROTECTED>
21:24.55JD[a]!!!
21:25.17phhI dream of a single binary kernel for everyone one day.
21:25.25AstainHellbringcapacitve is a megga pain in butt some days
21:25.27JD[a]mmm would be good
21:25.33JD[a]There's no reason it can't happen
21:25.47phhJD[a]: qualcomm doesn't care about that ? :p
21:25.57ali1234your code *has* to support that or it won't be accepted into mainline... just FYI :)
21:26.02JD[a]lol
21:26.14phhAFAIK we are the only msm7k kernel that handles multiple amss
21:26.20NetRipperah there's your mail cr2_
21:26.20NetRipper:)
21:26.27JD[a]But if it runs Android, we will get the drivers
21:26.29cr2_omg
21:26.36JD[a]aas for windows, maybe not.
21:26.52phhJD[a]: haha.
21:27.00NetRippercr2_, should go faster next times.. its just the greylisting
21:27.22JD[a]My major problem was two semi-colons
21:27.32JD[a]; = ;
21:27.34phhJD[a]: may I say.... noob ? :p
21:27.42ToAsTcfhphh: :P
21:27.44JD[a]but I had ; = ;{ twice (typo)
21:27.56JD[a]Yeh, I suck... But it should work.
21:28.44ToAsTcfhJD[a] what patches u end up using?
21:28.50cr2_ali1234: how much aplle paid you ? :)
21:28.54JD[a]I didnt
21:29.04ToAsTcfhu didnt what
21:29.05JD[a]I ended up manually taking shit from a few places
21:29.12ali1234cr2_: who?
21:29.24cr2_apple
21:29.30JD[a]Copied stuff from --> http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm/
21:29.30ali1234what do you mean?
21:29.33ToAsTcfhyeah well i knew u would have to merge the patches in
21:29.50cr2_[22:25] <ali1234> your code *has* to support that or it won't be accepted into mainline... just FYI :)
21:30.06cr2_ali1234: and i was talking about multitouch
21:30.28ali1234cr2_: i mean "one binary kernel for all" - a mach type has to be able to produce a single kernel that runs on all supported machines, in this case all MSM*
21:30.44ToAsTcfhJD[a] : it work?
21:30.45ali1234otherwise arm mainainer won't accept your patch :)
21:30.46cr2_ah. ok
21:31.10ToAsTcfhu got neocore installed already/
21:31.18cr2_ali1234: we need first to get rid of the hardcoded amss dependence for g1
21:31.34JD[a]Just re-make'ing my ROM with the new kernel.
21:31.35cr2_ali1234: but i'm on the right way already
21:31.40phhcr2_: we already have the code for that
21:31.44ali1234i'm not really familiar with MSM codebase
21:31.51phhcr2_: I even think it's has been implemented
21:31.52ali1234but we had this problem on OMAP1
21:31.54phhit just needs testing
21:31.58ToAsTcfhoh u can flash the boot.img u know
21:32.08JD[a]Yeh it's easier to re-make though
21:32.15JD[a]Coz I nandroid backup while it happens :P
21:32.16ToAsTcfhno
21:32.40ToAsTcfhu back up evertime?
21:32.44ali1234we had a nice patch to make  MMC work but it was rejected because of breaking the "one kernel for all" rules
21:32.50ali1234we had to redo it
21:33.00JD[a]It's not only the boot.img though ToAsTcfh, I need all tthree flashed
21:33.28cr2_phh: it must be much better. proc_comm should switch on board->amss too
21:33.38JD[a]I've been using a 1.6 ROM as the 3D was too slow :\
21:33.39cr2_phh: for dex,clk.gpio and rpc
21:34.26ToAsTcfhok
21:34.38ToAsTcfhphh: i hate this camera
21:34.43ToAsTcfherrr
21:35.39JD[a]Crap
21:35.43JD[a]Won't boot
21:35.45JD[a]GAH!
21:37.33ToAsTcfh<PROTECTED>
21:37.49phhcr2_: oh forgot that one.
21:38.06phhcr2_: OR we do all through in-memoery registers, bypassing dex/proc comm.
21:39.35cr2_you can't bypass dex
21:39.49phhwhy ?
21:39.50ToAsTcfhJD[a] : it only took me like 10 minutes. u know mrpippy's patch once merged in will at least get it working. then just merge phh's patch after u get it working
21:39.56cr2_you need to stick to gogle api anyway
21:40.14cr2_dex is pmic op over sbi
21:40.23phh9
21:40.32cr2_you want to write an sbi lib ? and not to hurt arm9 in the process ?
21:40.58phhah, pmic.
21:41.02phhI thaught only about clk and gpio.
21:41.10cr2_dex is pmic
21:41.15cr2_dex+vreg
21:41.28cr2_but the current g1 pro
21:41.29ali1234cr2_: i was just considering working on the nand driver and maybe wiping WM complete... but i wonder if there is any way back from that
21:41.43cr2_proc_comm needs to check board->amss too
21:41.48ali1234everything lives on nand right?
21:41.52phhali1234: nand driver for which board ?
21:41.57cr2_ali1234: on which phone ?
21:41.58ali1234for wizard
21:42.08JD[a]ToAsTcfh: How did you merge the patch?
21:42.10cr2_ali1234: g3 or g4 ?
21:42.15phhJD[a]: wget && git apply ?
21:42.21ali1234cr2_: mine is g3
21:42.31gehzumteufelg3 ftw
21:42.42ali1234yeah. we have a working reading driver
21:42.42ToAsTcfhJD[a] : manualy
21:42.50gehzumteufelMy last wizard was a g4. Fuck that was such a pain in the ass
21:42.53cr2_ali1234: don't touch the spl
21:42.58JD[a]Did you do it on the android kernel from android.git.kernel.org or something else?
21:43.13ToAsTcfhjust get mrpippy's patch to work first
21:43.16cr2_ali1234: keep g4 in mind, btw.
21:43.19ali1234cr2_: if i leave SPL, does that mean i would need to implement whatever FTL they used in linux?
21:43.29ToAsTcfhmine is an htc kernel
21:43.33cr2_ali1234: you have it with yaffs
21:43.35ToAsTcfhsadly
21:43.44ToAsTcfhi need to fix that
21:43.54cr2_ali1234: msm_nand does not implement FTL at all
21:43.55ali1234cr2_: hmm really? so i should be able to mount the windows partition if i make a real driver?
21:44.17cr2_ali1234: ah, you want to mount imgfs ? or fat ?
21:44.30cr2_then you need their FTL
21:44.32ali1234well, i don't really want to do it
21:44.45cr2_i've gathered some info about what they are doing
21:45.11ali1234but i mean, if i want to leave their SPL in place but wipe the rest and replace with linux filesystems... i need to cope with their partition format right?
21:45.12cr2_but if the spl is there, you can reflash at any time
21:45.29ali1234and how would i get SPL to boot a kernel from nand?
21:45.49cr2_yes, you should exclude spl blocks from your nand map
21:46.03cr2_partition itself is not interesting
21:46.23ali1234so is SPL more like a DOS bootloader ie it does not live in any particular partition...
21:46.26cr2_msm has 36MB for various things, including modem firmware
21:46.32cr2_linux just ignores it
21:46.55cr2_ali1234: you are not interested in their partitioning
21:47.01cr2_unless you want to mount it
21:47.09ali1234i dunno how it works. i am used to stuff like AR7 where the bootloader is just another partition
21:47.30cr2_mdoc has 4 partitions
21:47.43ali1234rather than hardcode the SPL location, i would rather linux picked it up automatically and therefore knew to ignore it
21:47.57cr2_there are some docs, and a header in itsutils explaining it
21:48.35cr2_afair spl has its own "binary" partition
21:48.47cr2_and is in "raid1" format
21:48.58cr2_2x512byte blocks
21:49.39ali1234other than the fact i wont be able to reflash it again... any reason i ca't replace SPL with my own bootloader?
21:49.59cr2_ali1234: the best thing you can do with g3, is to disassemble the a780 g3 driver
21:50.14cr2_ali1234: and look at my wiki notes @xda-dev
21:51.24cr2_+   #define LCD_MD_VAL_40MHZ 0x0005FFCF
21:51.26cr2_+   #define LCD_NS_VAL_40MHZ 0xFFD41B49
21:51.37cr2_NetRipper: this is in uboot
21:53.11NetRipperok
21:53.20cr2_M=5,N=0x30, PCS=121
21:53.37cr2_768*5/0x30/2
21:54.03cr2_=40
21:54.03cr2_ok
21:54.28NetRipperooooookay
21:54.30cr2_we have 1,5,1,2,4
21:54.36NetRipperN=? multiplier?
21:54.38cr2_means 24.576
21:55.04cr2_F=PLL*M/N/(P+1)
21:55.10cr2_PLL is defined by S
21:55.22cr2_0,1,4
21:55.30NetRipperim lost
21:55.32NetRipperbut doesnt matter
21:55.43cr2_tcx0,pll1,pll0
21:55.55ToAsTcfhJD[a] : the patches didnt apply clean. i had init differences and i think pmem.c was in a different location. u could always apply their patches and fix the rejects
21:56.10cr2_uboot sets 40MHz , our spl 24.576
21:56.43cr2_yeah, and wince also 24.576
21:56.48NetRipperah
21:56.53cr2_a86003e0 | 00000000 000500bf 00c40b41 0001fffa | ........A.......
21:56.55cr2_a86003f0 | fffb1f4c 00000a00 00000000 00000000 | L...............
21:57.02ToAsTcfhJD[x] : ^^^^^^^^
21:57.19cr2_1,~fffa,4c
21:57.36cr2_1,5,1,2,4
21:57.44cr2_yes, 24.76
21:57.47cr2_yes, 24.576
21:57.54ToAsTcfhphh: have u tried to make the camera more verbrose?
21:57.59phhToAsTcfh: no
21:58.10cr2_NetRipper: should we add that to haret ? or in python ?
21:58.18NetRipperwhat, the clocks?
21:58.25cr2_clock decoding
21:58.25NetRipperis that generic?
21:58.30cr2_per cpu
21:58.40cr2_7200,7201A,8250
21:58.47*** join/#htc-linux BabelO (~fcr@2a01:e35:2ee1:c1c0:21e:8cff:fe2d:7d3f)
21:58.48*** join/#htc-linux BabelO (~fcr@unaffiliated/babelo)
21:58.50cr2_bt we have such division in .py already
21:58.50NetRipperhm
22:00.31ToAsTcfhphh: i dont know if doing that would help much thugh
22:00.33cr2_NetRipper: u-boot-2009.03_PATCH_2009_06_08.patch is pretty straightforward
22:00.43cr2_NetRipper: in configuring mdp
22:00.47phhToAsTcfh: well I have no clue what's going on, so yes it would help
22:01.01phhwell I should try to understand this part of the code
22:01.15cr2_NetRipper: i see only this 40 vs 24.576 difference so far
22:01.19ToAsTcfhphh: it seems like it goes deeper then the camera files
22:01.28ToAsTcfhor adsp
22:01.34phhdeeper than adsp ?
22:02.19ToAsTcfhidk it just seems like its not liking something
22:02.21cr2_NetRipper: do we know which uart is used on leo ?
22:02.30NetRipperBT = uart1
22:02.38ToAsTcfhi thought adsp was the issue at first
22:02.52ToAsTcfhit could still be
22:03.07NetRippercr2_, im mostly curious about how they handle the interrupt
22:04.10ToAsTcfhmaejrep added to ours a line to manually restart vfe but it did no good
22:04.11phhToAsTcfh: don't know, i'm trying to see what the code is supposed to do
22:04.19cr2_NetRipper: +#define MDP_BASE                     (0xAA200000)M
22:04.26cr2_NetRipper: is it mmutraceable ?
22:04.33cr2_hm. i can try myself too
22:04.43*** join/#htc-linux Olipro_ (~Olipro@uncyclopedia/pdpc.21for7.olipro)
22:04.46NetRipper:)
22:06.18cr2_<PROTECTED>
22:06.19cr2_+   // For WVGA LCDC
22:06.20cr2_+   IO_WRITE32(MDP_DMA_P_CONFIG,        0x0010213F);  // 0x00100000 selects LCDC, must use MDP_DMA_P
22:07.24cr2_NetRipper: Leo_LCD page ?
22:07.51NetRipperyea i already tried using MDP_DMA_P but i got something wrong with the flags
22:08.21NetRipperbut cr2_ in htc_fb_console i'm not setting config at all.. i'm leaning on the wince config
22:08.21cr2_compare that with your code
22:08.35cr2_i'll dump the wince values
22:08.40NetRipperthat's also the only way it'll work with most devices.. to not configure MDP and just do a DMA instead
22:08.57NetRipperotherwise VIDEOLFB tag stuff won't have any value
22:09.18cr2_msm_fb_console
22:09.31NetRipperno, htc
22:09.34NetRippermsm + qsd :p
22:09.36cr2_the fb_addr is fixed in uboot too
22:09.37NetRipperit will work for both
22:12.57cr2_HaRET(2)# pd 0xaa2e0000 0x40
22:12.59cr2_aa2e0000 | 00000001 02000002 00064e00 00000400 | .........N......
22:13.00cr2_aa2e0010 | 01fd001e 00000a00 000649ff 00000000 | .........I......
22:13.02cr2_aa2e0020 | 00000000 00000000 00000000 8000ff00 | ................
22:13.04cr2_aa2e0030 | 00000000 00000000 00000003 00000000 | ................
22:13.22cr2_HaRET(3)# pd 0xaa290000 0x10
22:13.24cr2_aa290000 | 02102196 032001e0 141c1000 000003c0 | .!.... .........
22:14.21*** join/#htc-linux m3dlg (~m3dlg@bb-87-81-252-83.ukonline.co.uk)
22:14.27*** join/#htc-linux mcdull (~mcdull@203.210.9.175)
22:14.47cr2_+   // Stop any previous transfers
22:14.48cr2_+   IO_WRITE32(MDP_LCDC_EN, 0x0);
22:15.42cr2_200x2 sync ctl
22:16.41cr2_this whole math can be done in haret
22:16.54cr2_i just need a way to run a script from host
22:17.59cr2_hmm
22:18.20cr2_IO_WRITE32(MDP_DMA_P_CONFIG,        0x0010213F);  // 0x00100000 selects LCDC, must use MDP_DMA_P
22:18.32cr2_wince -> 02102196
22:19.08cr2_320x1e0
22:19.31cr2_800x480
22:20.10NetRipperhm my phone just drained from 90% to 6% in three hours
22:20.11cr2_NetRipper: ibuf_addr=0x141c1000
22:20.28cr2_NetRipper: it's some double buffer ?
22:21.00NetRippereh?
22:21.02NetRipperibuf?
22:21.14cr2_+   IO_WRITE32(MDP_DMA_P_IBUF_ADDR,     gd->fb_base);
22:21.21cr2_fbaddr
22:21.22NetRipperwell yea there could be double buffer.. it's how the msmfb driver on raphael works too
22:21.31NetRipperoh but not on MDP level afaik
22:21.39NetRippermaybe it's an acceleration thing they added
22:21.55cr2_scatter-gather ?
22:22.02NetRippereh?
22:22.34cr2_you just tell mdp where is the video buffer, and let it do dma
22:22.43NetRipperin msm_fb they had two framebuffers.. they would draw to one.. then dma that... and while dma they draw to the other buffer and then dma that one afterwards
22:22.53cr2_so buffer can be at any dynamically allocated location
22:23.02NetRipperyes
22:23.17NetRipperyou set the physical address in some reg
22:23.23cr2_but you want a fixed location
22:23.31NetRipperwhy?
22:23.37cr2_some reg= MDP_DMA_P_IBUF_ADDR
22:23.56cr2_because it's easier
22:24.30NetRipperbut less performance if you doublebuffer and need to copy from your backbuffer to your frontbuffer
22:24.40NetRipperinstead you just give the address of your 2nd buffer and dma it
22:25.06cr2_i'll use standard mdp_lcdc.c for that
22:25.14cr2_we talk about initial console now
22:25.24phhcr2_: even if the address is always the same, you still have to send the dma command
22:25.48cr2_phh: not so fast :)
22:26.38*** join/#htc-linux ToAsTcfh (~toast@173-136-197-251.pools.spcsdns.net)
22:26.39cr2_phh: should i email you the haret ?
22:26.56phhcr2_: yes please, phhusson@free.fr
22:28.11*** part/#htc-linux gehzumteufel (~gehzumteu@cpe-76-93-100-70.socal.res.rr.com)
22:32.00*** join/#htc-linux BabelO (~fcr@unaffiliated/babelo)
22:32.38ToAsTcfhdamn cable modem burned up
22:32.42ToAsTcfhbah this sux i wish the cable dude would show up. i sick of tethering
22:33.10cr2_phh: sent
22:33.15phhcr2_: thanks
22:34.09cr2_phh: got it ?
22:34.22phhyup
22:34.55cr2_compare with raph100
22:35.06phhok
22:35.22cr2_let me know if it works at all
22:35.48ToAsTcfhphh: is it possible to get opengl 1.1 working? i ve loaded up on a real 2.1 rom and im getting errors that egl lite isnt supported
22:36.02phhToAsTcfh: uh ?*
22:36.14*** join/#htc-linux rafyvitto (~rafyvitto@76-195-44-215.lightspeed.wlfrct.sbcglobal.net)
22:36.15phhopen gl es != open gl
22:36.15ToAsTcfhidk i guess its the new shit
22:36.22phhyou need a glue to be able to use open gl 1.1 on open gl es 1.1
22:37.03ToAsTcfhsuper glue?
22:37.05ToAsTcfhlol
22:37.33ToAsTcfhso its not possible?
22:37.44*** join/#htc-linux lucx (~luc@89-115-128-35.cl.ipv4ilink.net)
22:37.49phhbut you're sure you're speaking about opengl and not opengl es ?
22:37.52phhit seems quite weird
22:38.05phhtheorically your device handle opengl es 1.1
22:38.06ToAsTcfhi think it may be es
22:38.33ToAsTcfhwhat am looking for in the source to add support?
22:38.49phhno clue.
22:38.52ToAsTcfhnot hw3d im guessin
22:39.08phhI think that's the problem, not some weird opengl != opengl es stuff.
22:39.44phhbut don't know what "egl lite" refers to
22:39.58phhI'd say opengl es 1, but without any conviction
22:40.35ToAsTcfhbut i should maybe look to add support for it in my hw3d
22:40.48ToAsTcfhto the nexus!!!
22:41.00cr2_NetRipper: why do you need an irq ?
22:41.06ali1234es 1.1 roughly = opengl, es 2 != opengl, but can emulate it
22:41.17NetRipperi suppose you dont but the irq isnt the problem.. its the irq handler thats the problem
22:41.19phhali1234: uh ?
22:41.37phhali1234: es2 is backward compatible to es1.1
22:41.37NetRippercr2_, and it takes a lot of less cpu cycles when you act on interrupt instead of polling
22:41.44phhand "opengl" alone has no meaningt
22:41.52phhthere have been 3 major opengl versions
22:41.53ali1234phh: correct
22:42.27cr2_NetRipper: i think it does autorefresh
22:42.43ali1234es 1.1 implements only all fixed pipeline functions of opengl 2.0 but es 2.0 implements none of the fixed pipeline functions
22:42.55cr2_NetRipper: but i need to check the IRQ bits first
22:43.03ToAsTcfhi may just need a leaked lib
22:43.05ali1234they both implement a subset of opengl 2.0 but the subsets do not overlap
22:43.28ali1234to run es 1.1 on es 2.0 hardware you first program the pipeline to act like the es 1.1 fixed pipeline
22:44.12ToAsTcfhbut to go from 1.0 to 1.1?
22:44.45ToAsTcfhpossible?
22:44.50NetRippercr2_, im trying to find something about that DBG interrupt in ARM docs
22:45.27cr2_ok
22:45.45cr2_nexus has .clk_rate               = 24576000 too
22:45.55*** join/#htc-linux lucx (~luc@89-115-128-35.cl.ipv4ilink.net)
22:46.06cr2_but we need to calculate other params
22:46.10cr2_from wince values
22:52.23cr2_+#define   GLBL_CLK_ENA_2__MDP_P_CLK_ENA___M                               0x00000040
22:53.01cr2_+#define   GLBL_CLK_ENA__AXI_MDP_CLK_ENA___M                               0x00000200
22:53.54cr2_+#define MDP_NS_REG                                                     (0xA86003F4)
22:54.03cr2_a86003f0 | fffb1f4c 00000a00 00000000 00000000
22:54.08cr2_a00
22:56.05*** join/#htc-linux lucx (~luc@89-115-128-35.cl.ipv4ilink.net)
22:56.31phhcr2_: 0 1 2 3 and 4 regime ids seems to exist, should I add them ?
22:56.46phh(seems to exist = result !=0)
22:57.56cr2_phh: should we add all != 0 ids ?
22:58.03phhdon't know
22:58.10phhthey seem quite irrelevant thouogh
22:58.17phhall are multiples of 8MHz
22:58.30cr2_axi, ahb and such ?
22:58.44cr2_adm
22:58.51phhmaybe
22:58.56ali1234ToAsTcfh: 1.0 to 1.1 is much simpler, yes, they are practically the same i think
22:58.56phhdon't know how they are calculated mmm
22:58.58cr2_0x637bffab
22:59.04cr2_phh: yeah.
22:59.29cr2_0110.0011.0111.1011.
22:59.47cr2_0110.0011.0111.1011.1111.1111.1010.1011
23:01.49cr2_0,1,3,5,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,24,25,29,30
23:03.11cr2_ENA, SC_AXI_SRC_ENA, AXI_VDC_CLK_ENA, ADM_CLK_ENA, SDC1_H_CLK_ENA
23:03.54cr2_SDC2_H_CLK_ENA, AXI_MDP_CLK_ENA, AXI_ARB_CLK_ENA, AXI_LI_MSS_CLK_EN
23:04.20cr2_UART1DM_P_CLK_ENA=17
23:04.29cr2_TSIF is off
23:04.57cr2_MSS_CE_CLK_ENA is off
23:05.26cr2_UART2DM_P_CLK_ENA is off
23:05.54cr2_SC_DBG_ENA is on. hm
23:11.58cr2_+#define EBI2CS7_BASE                 (0x70000000)M
23:12.00cr2_+#define EBI2CS6_BASE                 (0x60000000)M
23:12.07cr2_these are legitimate now too
23:24.27cr2_MDP_INTR_ENABLE=e74d MDP_INTR_ENABLE= 274d
23:24.43cr2_4000 and 8000
23:24.57cr2_bit 15 and 14
23:26.43cr2_2000 is 13 ,
23:26.46cr2_argh
23:26.55cr2_#define MDP_DMA_P_DONE                  (1 << 14)
23:27.03cr2_#define MDP_LCDC_FRAME_START            (1 << 15)
23:27.40cr2_NetRipper: which bit caused problems ?
23:28.09NetRipperit's not the interaction with mdp itself that causes the problem (as far as i could see)
23:28.21NetRipperit's the disable_irq() call within the interrupt handler that causes a handle_bad_irq
23:28.40cr2_but what was the irq status for this problem ?
23:29.39*** join/#htc-linux Olipro (~Olipro@uncyclopedia/pdpc.21for7.olipro)
23:30.00cr2_need to parse all MDP_LCDC* registers
23:30.57*** join/#htc-linux dcordes_ (~dccordes@unaffiliated/dcordes)
23:31.14cr2_NetRipper: i'll try to compile unmodified defconfig
23:31.45NetRipperirq status?
23:31.53NetRipperthe MDP irq fires fine that's not the issue
23:32.12cr2_hm. strange
23:32.32cr2_arch/arm/mach-msm/board-htcleo.c: In function 'htcleo_init':
23:32.33cr2_arch/arm/mach-msm/board-htcleo.c:155: warning: ISO C90 forbids mixed declarations and code
23:33.04NetRipperthat's not strange
23:33.12NetRipperthats just cos i didn't feel like fixing that warning
23:33.31JD[a]back
23:33.37JD[a]got labrette peirced, lol
23:35.21NetRipperyou what?
23:37.06cr2_phh: did you switch on the cam, and played music ?
23:37.22*** join/#htc-linux Olipro_ (~Olipro@uncyclopedia/pdpc.21for7.olipro)
23:37.49cr2_phh: sdac is misplaced
23:38.00cr2_i'll fix it
23:40.19*** join/#htc-linux AstainHellbring (~AstainHel@unaffiliated/astainhellbring)
23:43.06cr2_NetRipper: can't boot the current kernel
23:43.13NetRipper?
23:43.25NetRipperyou use htcleo_defconfig?
23:43.32cr2_it hangs before switching to linux.
23:43.34cr2_yes
23:43.41cr2_as if the MTYPE was wrong
23:44.05NetRipperso, check your mtype in default.txt
23:44.38NetRipperits gotta be 2524
23:45.01cr2_i don't set it
23:45.13cr2_#set MTYPE 2524
23:45.14cr2_#set ramsize 0x5000000
23:45.16cr2_set RAMSIZE 0x4000000
23:45.17cr2_set RAMADDR 0x11800000
23:46.07NetRipperhm
23:46.15NetRipperdo a showvar mtype
23:46.18NetRipperafter haret starts
23:49.41cr2_MTYPE=2524 in the log
23:50.26cr2_maybe the RAMSIZE is too small ?
23:50.58cr2_because the zimage+initird is loaded above RAMSIZE
23:51.20NetRipperit would fail if ramsize is too small
23:51.57cr2_can you compile linload ?
23:52.07NetRipperbut just try setting mtype hard in default.txt and set ramsize 0x08000000
23:52.48NetRipperer i could, sure but it should work either way
23:53.17cr2_8000000 is too small too
23:53.29cr2_the zimage is as 0x22*
23:54.11NetRipperit works for me
23:54.27NetRippertbh ramaddr and ramsize is just want is passed to the linux kernel
23:54.37NetRipperit doesnt affect where haret places the kernel and initrd in-memory
23:54.59NetRippercr2_, errrrr wait, you use zImage or Image?
23:55.49cr2_wince reports 353MB
23:55.50NetRippercos zImage fails.. there's a flushcache instruction in the decompression code that crashes the cpu
23:55.54cr2_linload
23:56.13cr2_NetRipper: it was working before. i swear :)
23:56.16NetRipperi'm asking if you use Image or zImage, not wether or not you use linload
23:56.24cr2_i used zimage
23:56.30NetRipperthen that's the problem
23:56.39cr2_hmm
23:56.52NetRippercr2_, it worked before, because you patched arch/arm/kernel/compressed/head.S maybe, as i gave you instructions to it once
23:57.00cr2_no
23:57.18NetRipperi know how to fix zImage but it's dirty..
23:58.11cr2_disassemble the wince flushcache func ?
23:58.28NetRipperdo you know where to look for it?
23:59.42cr2_in nk.exe ?

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with infobot logs, split per channel, etc.