IRC log for #htc-linux on 20090111

00:00.13maejrep0x100 is, but not the others
00:01.27tmztwhat's 0x8/9 ?
00:01.40dcordes_stefan_schmidt: ping
00:01.46maejrepdunno, haven't seen them used yet
00:06.21*** join/#htc-linux vizo (n=vizo@c-71-58-216-245.hsd1.nj.comcast.net)
00:07.29stefan_schmidtdcordes_: pong
00:07.40oliwanI'm missing this file from the repo. "htcdiamond_defconfig" Anyone know where to get it?
00:07.47dcordes_stefan_schmidt: frameworkd on g1 will be no problem
00:08.01stefan_schmidtdcordes_: cool, that's good news
00:08.19dcordes_at communication works in the same way
00:08.35stefan_schmidtdcordes_: What about audio?
00:08.44stefan_schmidtdcordes_: Also ootb like on the kaiser?
00:08.53*** join/#htc-linux gh0ul (n=asds@host81-154-247-76.range81-154.btcentralplus.com)
00:09.32dcordes_it only works ootb on kaiser because kaiser AMSS uses the speaker automatically during calls when no other audio routing is set
00:10.20stefan_schmidtdcordes_: The question is now if this is the same on G1 :)
00:10.35dcordes_I don't think so
00:10.36tmztstefan_schmidt: I think the audio routing on g1 is done through a special file and a userspace library
00:10.53dcordes_tmzt: swetland said rpc routing
00:10.57tmztthe special file just exposes the registers to userspace
00:10.57stefan_schmidtok, thanks
00:11.02dcordes_the userspace library is audio flinger?
00:11.04tmztok
00:11.08tmztno, something from htc
00:11.12stefan_schmidturgs
00:11.14tmztor qct
00:11.22stefan_schmidtaudio driver in userspace *sigh*
00:11.37dcordes_binary
00:11.39tmztit may be possible to build a asoc driver but google has not done it yet
00:12.02dcordes_like everything on g1 that interfaces with arm9
00:12.03stefan_schmidtAnyway, that is not my problem. The tester will take care about the kernel side. And thus also the audio driver. :)
00:12.18stefan_schmidthmm, ok
00:12.40tmztdcordes_: you might be right about the routing though, the library is for echo cancellation or something
00:12.59tmztis there a way to do rpc?
00:15.07dcordes_tmzt: only know swetland said audio routing in g1 is set with rpc. what does rpc stand for?
00:15.43tmztremote procedure call, but it's just a generic term
00:18.16mdrobnaktmzt: Has anyone implemented anything for the keyboard stuff for RAPH in a kernel yet?
00:20.18tmztdon't think so
00:21.22mdrobnakOk.
00:21.55mdrobnakI'm switching to my laptop - going to start installing Windows 7 Beta on a HD I've got lying around...Then I'll try HaRET special key debugging again..
00:22.03dcordes_stefan_schmidt: who's the tester? openmoko inc. employee?
00:22.17mdrobnakBe back in a few.
00:22.34stefan_schmidtdcordes_: no, the LWN Author
00:22.44dcordes_stefan_schmidt: btw kernel changes don't affect those things. they are based on the arm9 software
00:22.50dcordes_LWN?
00:22.58stefan_schmidtLinux Weekly news
00:23.06stefan_schmidthttp://lwn.net/
00:24.46vizodoes wifi work on android 1.0 for the kaiser?
00:25.19dcordes_no
00:25.52dcordes_it works in no android because the driver is not done yet
00:25.59vizooh
00:26.05vizothanks
00:26.10dcordes_np
00:26.12vizofirst day trying it
00:28.15vizowell I got my hands on a kaiser, a rapheal and a g1 dev phone. I dont nowenogh to be very helpful but i can try stuff if anybody wants
00:28.32vizonowenogh = know enough
00:29.48maejreptmzt, is it a bad idea to hook INT_GPIO_GROUP2 for the keyboard?
00:30.27tmztyeah
00:30.38tmztwhy is it called that or is that only in haret?
00:30.58maejrepthat's on the wiki and in haret
00:30.58tmztKevin2: how do we add the proper gpio mux to haret for msm?
00:31.27maejrep000.497     IRQS     IRQ1: GPIO2(33)=1
00:31.27maejrep000.722     IRQS     IRQ1: GPIO2(33)=1
00:32.16maejrepif I add gpios to traces, I get GPIO 1-11, but its normally high, and pulls low when a key is pressed
00:32.46maejrepbut 1-11 is in the wiki as "irq (Y) wakeup, Ukey"
00:32.51maejrepand I don't know what that means :|
00:33.02NetRippergpio supports irqs as well
00:33.23NetRipperwe use a gpio irq for the sd card slot detection
00:33.28maejrepright, I could hook MSM_GPIO_TO_IRQ(27) on IRQF_FALLING
00:33.39NetRipperexactly
00:33.40maejrepbut I want to be sure that its only being used for keybaord
00:33.49maejrepand I can't tell that from cr2's description on the wiki ;x
00:34.22NetRipperif you use irq 33 (gpio2) you will get an interrupt on any irq fired on that bank ;)
00:34.26NetRipperi think
00:34.40maejrepthat was my understanding too, so I think I'll avoid that :p
00:34.52NetRipperi think it's claimed already by the msm_gpio
00:35.16maejrepdo you know what the description for gpio 27 means?  is it safe to use for keyboard?
00:35.50*** join/#htc-linux mdrobnak (n=mdrobnak@pool-96-232-187-37.nycmny.fios.verizon.net)
00:35.50NetRipperno i dont know what the description means exactly
00:35.59tmztit should be claimed by msm_gpio, what does it use to decode those?
00:36.01NetRipperarent there other gpio's fired? maybe ones that have more to do
00:36.33maejrepno, just 1-11 (goes low then reset high), and 3-18 to enable the keybaord backlight
00:36.53NetRippermaejrep, then i think you dont have much choice ;)
00:37.15maejrepthat or polling i guess ;/
00:37.29NetRipperi doubt polling is the wya
00:37.30NetRipperway*
00:37.33maejrepagreed
00:37.55mdrobnakBack. OK, so first problem with Win7 is a IDE card that's too old. Ugh.
00:38.25NetRippercr2, can you clearify gpio 27? is it only used for keyboard or did you find it used for other things?
00:38.33maejrep003.102   TRACES      in1: in1-11(203)=0 @~03f6744c
00:38.34maejrep003.102     IRQS     IRQ1: GPIO2(33)=1
00:38.34maejrep003.102   TRACES      in1: in1-11(203)=1 @~78042ab8
00:39.36dcordes_mdrobnak: win7? what's that
00:39.50maejrepits fired on both press and release, which is exactly what I need
00:40.03maejrepbut for some reason, it only fires once, and never fires after that
00:40.26maejrepeven if I pull it high manually with gpio_set_value(27, 1)
00:41.27maejrepi'm just getting stuck on the irq part of the driver :/
00:42.18NetRipperdcordes_, the windows 7 beta probably
00:42.58NetRippermaejrep, the irq is only called once in linux you mean?
00:43.00dcordes_how exciting :)
00:43.08maejrepright
00:43.29NetRippermaejrep, you probably must set a reset or 'read' bit somewhere
00:43.30maejrepI can insert the module, press a key and my printk runs, but then never runs again
00:44.08mdrobnakdcordes_: Windows 7 Public Beta is out...Downloaded the 64 Bit version...
00:44.09maejrepI was trying to find an example of clearing or resetting the irq in other drivers, but can't find anything :s
00:44.50NetRippermaejrep, i think it's device-specific.. signalling that the irq is handled is done by the msm_gpio driver
00:44.52maejrepI even used j0b0's gpiotest concept of setting a timer for 0ms for handling it
00:45.30maejrepso its not the irq ack() that I'm missing?  it's some other clear flag I need to find?
00:45.34NetRippermaejrep, some drivers just fire an irq.. then wait for you to handle the data and signal when ready.. so that it wont fire again until you're done
00:45.35mdrobnakmaejrep: Would that explain some of the keyboard weirdness I was having while testing under HaRET last night (that was with you, right?)
00:46.11maejrepit was, yes, but no that wouldn't explain what you were seeing
00:46.23maejrepeverything works fine in wince
00:46.26NetRippermaejrep, the low level irq ack is done by the existing drivers afaik..
00:46.27maejrep(for me)
00:46.29mdrobnakI'm going to try testing again shortly
00:46.41NetRippermaejrep, you just have to return IRQ_HANDLED in your interrupt handler
00:46.47maejrepright
00:46.55maejrephmm ;s
00:47.56maejrepcould it be because I'm not reading from i2c at the time its fired?  i would think that shouldn't matter as far as the irq is concerned
00:48.47maejrepthat is, if I enable the code to read from i2c, it tends to freeze the phone when the irq gets fired and I don't even see the printk
00:49.07maejrepif I disable the i2c communications, I see the printk but only once
00:49.43NetRipperwhile an irq is being handled you're not allowed to do everything
00:50.03NetRipperi.e. you cannot use mdelay() and the sort
00:50.08NetRipper(which requires irqs as well)
00:50.27maejrepbut my handler is just starting a 0ms timer and returning
00:50.54NetRipperyou should perhaps do it theway the touchscreen drivers (intended) to do it...
00:51.03NetRipperwhen the irq fires, schedule a work item
00:51.26maejrepk, I'll try that .. I had a workqueue setup before, and just kept running into problems with freezing, so I stripped the driver down
00:51.42NetRippermaejrep, and you can try request_irq()'ing with IRQF_DISABLED flag..
00:51.52maejrepNOAUTOEN ?
00:51.56NetRipperno
00:52.07maejrephmm ok
00:52.15NetRipper<PROTECTED>
00:52.39maejrepso what, that removes the need to disable_irq() and enable_irq() ?
00:53.05NetRipperalso, for gpio irqs, maybe you should use IRQF_SHARED flag, as gpio irqs share the same general GPIO2 irq
00:53.09NetRipperand GPIO1 irq
00:53.28NetRipperthough the msm_gpio might already handle that
00:53.45maejrepk, seems like when I tried IRQF_SHARED my request_irq() was failing
00:53.53maejrepbut that might have been on a different attempt
00:54.00NetRipperno doesn't remove the need for disable_irq and enable_irq.. although, you dont need to disable and enable_irq at all (only disable_irq at de-init)
00:54.21NetRipperrequest_irq() automatically enables afaik
00:55.18maejrepthat's what I meant -- normally you need to disable the irq in the handler, then enable it when you're done handling
00:55.46maejrepit does automatically enable, unless you use IRQF_NOAUTOEN
00:56.24*** part/#htc-linux rolk (n=rolk@ip5457417f.direct-adsl.nl)
00:56.59mdrobnakmarjrep: Where's haretconsole again?
00:56.59mdrobnak*maejrep, rather
00:57.27maejrep<tmzt> handhelds.org/~koconnor/haret/
00:57.31NetRipperi think you only need to disable_irq and enable_irq again when you use IRQF_DISABLED... not the other way around
00:57.33mdrobnakThanks.
00:57.55maejrephmm
01:02.18NetRipperim really off now ;) gnite again ;)
01:02.26mdrobnaknight
01:02.33*** join/#htc-linux dream_kill (n=nospam@92.56.48.66)
01:02.48maejrepnite
01:06.03mdrobnakhmm
01:06.04mdrobnaklooks like rndis on Ubuntu isn't enough for Haret
01:06.12mdrobnakand I hit run by accident oops
01:06.19maejrepi've done that :p
01:10.01dcordes_dream_kill: still around?
01:13.40maejrephmmm
01:13.54maejrepI just made my screen very unhappy :x
01:14.17maejrepI saw someone else last night with this problem as well
01:14.28maejrepchecks git commits :x
01:15.12maejrepoh, it fixed itself
01:17.18maejrepand it broke again :|
01:20.38maejrepstrange, calibrating seems to fix it...
01:20.51*** join/#htc-linux Balsat (n=kll@87.72.13.87)
01:27.17*** join/#htc-linux mdrobnak (n=mdrobnak@pool-96-232-187-37.nycmny.fios.verizon.net)
01:28.09mdrobnakOops. Stupid USB network.
01:28.23mdrobnakOk, what were the two addresses to listen for?
01:28.31mdrobnak<mdrobnak> I remember ibit 0..999 and wbit 33 I think? Then wirq 5 and hit a key..
01:28.43mdrobnakI didn't see anything after that..
01:31.20Mullinsanyone know where the Angstrom X is told to do a calibrate on startup?
01:39.12maejrepmdrobnak, 0xb2300000 and 0xb230000c
01:39.22mdrobnakAh, thanks.
01:43.35*** join/#htc-linux zycho (n=zycho@a89-182-6-233.net-htp.de)
01:45.56mdrobnakmaejrep: Ok, so Fn key doesn't affect things, huh?
01:46.03mdrobnakCause my "9" key is Fn+k
01:46.09mdrobnakand I get the keycode for k
01:46.15maejrepno, its the driver that interprets fn/shift locks
01:46.16mdrobnak(according to your wiki entry)
01:47.02maejrepso its not like a laptop keyboard where Fn+x sends a different keycode from the hardware
01:47.21maejrepall the keys are controlled independently as just simple buttons as far as the hardware is concerned
01:47.27mdrobnakok
01:47.27mdrobnakso
01:47.38mdrobnakmy Windows key is "1" on your keyboard, @ is "2" etc
01:47.44mdrobnakThat seems to be OK.
01:48.35mdrobnakBKSP is "40" for me
01:49.11mdrobnakEnter is 20 for me too, though
01:49.42maejrephmm, so is bksp in the top right corner?
01:49.48maejrepnot next to 'P'?
01:51.43mdrobnakit is
01:51.43mdrobnak1 row down
01:51.53maejrephrm, that's odd
01:52.01maejrepI thought they would at least map to the same physical location
01:52.16maejrepbut my backspace is next to 'P' on the 2nd row
01:52.19mdrobnakaddlist mmutrace 0xb230000c 1
01:52.21mdrobnakerr
01:52.26mdrobnak000.877 7805d5f0: 05852000(str)         # b2300000 =00000200
01:52.31mdrobnakerrrrrr
01:52.32mdrobnakdamnit
01:52.42maejrepand keycode '0x40'  is my equal sign, which is on the top row, far right
01:52.49mdrobnak000.877 7805d5f4: e5933000(ldr)         # b230000c==00000040
01:53.47mdrobnakI get 0x10 for my top row, far right key, which is -
01:54.17mdrobnakSo the Fuze will have a different layout, thats for certain.
01:54.27mdrobnakBut that's not really that big of a deal.
01:56.01mdrobnak000.712 7805d5f4: e5933000(ldr)         # b230000c==00000036 is my "Deathstar" (Aka  AT&T) key
01:56.16mdrobnakI dunno what was up with my results last night
01:56.52maejrepI rearranged the table columns on the wiki, if you'd like to add RAPH110 with your results
01:56.59mdrobnak"0x047" is Email Key
01:57.18maejrepsame
01:58.06maejrepI'd say, anything that's the same just leave blank or '--' or something, so the column only shows keys that are different
01:58.52mdrobnakk
02:15.05dcordes_Mullins: because it is designed for non keyboard devices where a good calibration is inevitable
02:15.39dcordes_Mullins: the calibration is not called if /etc/pointercal is present
02:16.00dcordes_Mullins: ts_calibrate outputs /etc/pointercal
02:19.50*** part/#htc-linux Balsat (n=kll@87.72.13.87)
02:22.19tmztmaejrep: do you have a i2c driver for the keyboard?
02:22.38maejrepbeen working on it for a couple days :(
02:22.49maejrepstill can't get it to fire more than once on the irq
02:22.50tmztare you using tsc2003 or similar?
02:23.00tmztwhat does that mean
02:23.12maejrepi've read several drivers to look for clues
02:23.18maejrepwhat does what mean?
02:23.25maejrepthe irq fires once and then won't fire again after that
02:23.34tmztwhen you press a key?
02:23.38tmztwhat irq?
02:23.57maejrepMSM_GPIO_TO_INT(27) => 91
02:24.05maejrepand yes when I press a key
02:24.15tmzthow are you requesting it?
02:25.18maejreprequest_irq(client->irq, atmelkbd_interrupt, IRQF_TRIGGER_FALLING | IRQF_DISABLED | IRQF_SHARED, client->dev.driver->name, client)
02:26.01oliwanHey guys, I'm trying to build but can't find the file htcdiamond_defconfig. Does anyone know where this is?
02:28.14maejreptmzt, ok, so it seems like I just confirmed it's related to gpio 27 not being set back high after its handled
02:28.32maejrepany idea why:          gpio_direction_output(27, 1);  wouldn't do that?
02:29.13Mullinsdcordes: yeah dcordes I thought there may have been a config to disable it but it doesnt matter cos if its not working for the calibration it wont work in X
02:29.42dcordes_Mullins: try my tslib configuration
02:30.36Mullinsok. I will try with your pointercal
02:30.37dcordes_there is /etc/ts.conf and /etc/profile.d/tslib.sh
02:31.19dcordes_make sure tslib.sh points to the correct input device
02:31.33dcordes_should be /dev/input/event0
02:32.23MullinsTSLIB_TSDEVICE=/dev/input/touchscreen0
02:32.35Mullinsdcordes: no good?
02:32.48dcordes_if that's a symlink to event0 it's ok
02:33.06dcordes_just set it to /dev/input/event0 to make sure
02:33.11mdrobnakmaejrep, expect some differences in this layout, btw..
02:33.23mdrobnakq isn't q lol
02:33.52maejrep?
02:34.40Mullinsin initrd/dev is no input folder
02:34.48mdrobnakit's like shifted over one cause of a caps lock key
02:35.04Mullinsuntil I boot it I suppose :)
02:37.04*** part/#htc-linux exco (n=exco@e181123024.adsl.alicedsl.de)
02:41.09dcordes_Mullins: does that work?
02:42.05*** join/#htc-linux buster (n=buster@lostmind.org)
02:46.33maejreptmzt, found more stuff changing on keypress:
02:46.35maejrep001.130     IRQS     IRQ1: GPIO2(33)=1
02:46.35maejrep001.130   TRACES    nirq1: GPIO27(43)=1 @~8001d730
02:46.36maejrep001.130   TRACES      in1: in1-11(75)=0 @~8001d730
02:46.36maejrep001.130   TRACES intr1_en: intr1_en-11(203)=0 @~03f53ea4
02:46.36maejrep001.130   TRACES      in1: in1-11(75)=1 @~78042ab8
02:46.36maejrep001.195   TRACES    nirq1: GPIO27(43)=0 @~78042ab8
02:46.38maejrep001.195   TRACES intr1_en: intr1_en-11(203)=1 @~78042ab8
02:50.35Mullinsdcordes: touchscreen0 is set to event0
02:50.46*** part/#htc-linux p3t3r__ (n=peter@134.245.164.105)
02:51.30Mullinsdcordes: I can see all the printk messages from tsc2003.c so I know it is working
02:51.57tmztwhat's nirq1?
02:52.26dcordes_Mullins: try only running Xfbdev and see if you can move the cursor
02:54.02Mullinsdcordes: no, where should pointercal be /etc ?
02:54.22dcordes_yes
02:54.56Mullinsdcordes: what can we do about tslib expecting raw values and Android expecting scaled?
02:55.10Mullinscould use an Android CONFIG?
02:55.55maejrepdamn my mouse just died
02:56.04dcordes_we could do it vice versa and temporarily add a config no-android that includes the refresh thread and ts patch
02:56.08maejreptmzt, intr1 is 0xa9300c60
02:56.25maejrepit was commented out in regs_msm.py but I uncommented it
02:57.18maejreptmzt, and in gpio_hw.h, that address is GPIO_INT_EN_1  (interrupt enable?)
02:57.23Mullinsdcordes: I had no pointercal in etc. Will try it now
02:57.58maejrepno, nevermind, that's intr1_en :x
02:58.36maejrepnirq1 is 0xa9300c70, which is GPIO_INT_STATUS_1
02:59.11mdrobnakmaejrep: I mapped out the keys, not sure about the ones like shift, caps, and Fn
02:59.28maejrepmdrobnak, did you update the wiki?
02:59.38Mullinsdcordes: I forgot to mention I took out the refresh and tslib patch, and X started up without the refresh patch
02:59.40mdrobnakNot yet. I have a text file here.
02:59.47maejrepah ok
02:59.56dcordes_Mullins: it might start up, draw one frame, freeze.
03:00.01maejrepif you don't want to do it, put it on privatepaste.com and I'll do it when I get time
03:00.20Mullinsdcordes: of course, I dont know cos I can't interact. Good point
03:00.25dcordes_Mullins: so you see a picture of the calibration screen/checkered background/whatever
03:01.11mdrobnakmarjrep: I'll also add in what the Fn + Keys do
03:01.38mdrobnakdamnit, typo again
03:01.42dcordes_I don't know how X behaves with the htc-vogue msm_fb because I didn't try yet. in the other kernels it sometimes showed a black screen with only a few lines drawn, sometimes one frame and froze
03:07.08mdrobnakmaejrep, http://www.privatepaste.com/2axF91BG1w
03:07.15*** join/#htc-linux piusvelte (n=irchon@71.175.8.29)
03:10.55mdrobnakmaejrep, The keys are the exact same scancodes (as expected)
03:11.02mdrobnakmaejrep, Just the different layout
03:11.10maejrepk
03:12.09*** join/#htc-linux pickles (n=clmbngbk@75-25-130-222.lightspeed.sjcpca.sbcglobal.net)
03:13.08Mullinsdcordes: I was going to try incorporate Dzos stuff into 2.6.27 as a lot has changed with it and he has already found some of it to be useful. What do you think?
03:14.05dcordes_sounds great
03:14.30Mullinscool, I have 2 days off Mon and Tues. should be able to do it then
03:14.55*** join/#htc-linux KeePette (n=chatzill@vit94-1-87-90-37-127.dsl.club-internet.fr)
03:15.09*** join/#htc-linux clmbngbkng (n=clmbngbk@75-25-130-222.lightspeed.sjcpca.sbcglobal.net)
03:15.17dcordes_nice. I think it would be good to stay as close to google as possible
03:15.34dcordes_sees some windows7 presentation
03:16.23dcordes_impressive :)
03:16.32mdrobnaklol
03:17.31dcordes_eyecandy, touchscreen, social networking
03:18.12mdrobnakIt's pretty fast, I must say.
03:18.19mdrobnak(Faster then Vista it seems anyway)
03:18.22mdrobnakBut that's easy
03:18.23mdrobnaklol
03:18.43*** join/#htc-linux Kuma (n=John@e179103019.adsl.alicedsl.de)
03:21.05*** join/#htc-linux Mullins07 (n=bw@89.204.243.3)
03:21.23*** join/#htc-linux nato (n=templarn@adsl-76-200-75-47.dsl.frs2ca.sbcglobal.net)
03:21.53dcordes_they show a suped up blueangel at ces
03:22.17mdrobnak20 second boot after bios post, 7 seconds to show desktop
03:24.01dcordes_where's the htcs
03:27.16dcordes_mdrobnak: how much space does it take?
03:27.43mdrobnakhmm
03:28.00mdrobnak12 GBs used. :: gulp ::
03:28.05mdrobnak(Ultimate Edition)
03:28.42dcordes_ouch
03:29.43mdrobnakdcordes_: Mind you that includes 4 GB between Paging and Hiberation file.
03:36.00mdrobnakNice. File copy speeds arent dog slow lol
03:46.45*** join/#htc-linux ionstorm (n=ion@ip68-227-226-5.ph.ph.cox.net)
04:01.35maejrepgod this is really frustrating :|
04:03.43*** join/#htc-linux addman3333 (n=skool@cpe-67-9-134-92.austin.res.rr.com)
04:13.05mdrobnakOk I'm gonna try and get to bed early tonight, see ya everyone.
04:44.05*** join/#htc-linux evildarknight (n=charles@41.207.133.235)
04:57.07*** join/#htc-linux TeringTuby (n=maarten@195-241-125-243.ip.telfort.nl)
05:16.19*** join/#htc-linux Iumentum (n=Iumenrum@3908ds1-ynoe.0.fullrate.dk)
05:17.08IumentumGood evening(whatever else) folks
05:17.36Iumentumim so suprised to see so many people in here
05:17.50Iumentumbut nice to to all of you :)
05:18.01tmzthello
05:18.33Iumentumwell i just came around here for once after thinking of it many times
05:18.46Iumentummany years since iøve been on IRC :)
05:19.13Iumentumbut i've been following the topic at XDA for a while
05:20.01Iumentumand finaliy see some request from the developers about splitiing the topic into developing and suport topics
05:20.58Iumentumand im a developer myself but dont have time to study about getting linux to work on specific phones
05:21.09Iumentumbut thhoguh that i can help testing
05:21.10Iumentumbut
05:21.19Iumentumbeside that i would like to help with support
05:21.54Iumentumand if you decide to split of topics at xda
05:22.01Iumentumi would love to help out
05:22.10Iumentumbeen holding my tounge manhy times
05:22.51Iumentumcause i didnt want to fill up the topics with crap posts, where you could actiaææy get the answer in the wiki
05:23.27Iumentumand deffently want to help out in the getting android running on my diamond
05:23.39Iumentumso i finaly decided to come around here
05:23.44tmztah, is diam working now?
05:23.56Iumentumwell its working :)
05:24.02Iumentumbut its freexing
05:24.13Iumentumbut a lot of thing is working now :)
05:24.44Iumentumits seems like the last few weeks a lot of progress
05:25.16Iumentumbut also a lot of support messages on the forum on xda
05:26.09Iumentumand no need for hard core developers to focus on support on getting there linux kernel to run on diamond/raphael
05:26.23Iumentumif they can focus on makinf things worl for us :)
05:26.42Iumentumim not really working on it
05:26.50Iumentumwhat im here for is more to support
05:27.12tmztwhat's freezing?
05:27.12Iumentumand want to help if you're gonna split the topics into development and support
05:27.39Iumentumcause im been holding my tounge cause i dont want to fill out topic with crap support
05:27.42tmztif they do it I assume the support section will be open for everyone to post
05:27.56Iumentumits just the android freezinf after a while
05:28.06Iumentumbut its nt impotant to me :)
05:28.12tmztdo you have diam100 or diam800?
05:28.26Iumentumi got diam100
05:28.43tmztok
05:28.50Iumentumbut not important at all
05:29.03Iumentumim following the developemt close
05:29.06Iumentumsilently :)
05:29.18Iumentumbut want to help one way or another
05:29.26Iumentumand see that i can help with support
05:29.41Iumentumso if you split the topics i might wanna post things
05:29.52Iumentumcause im been holding my tounge many times
05:30.18Iumentummost of all cause i dont wanna answer question already answered in wiki
05:30.50Iumentumand want to hold to thread clean as posible
05:30.56Iumentumfor the developers
05:31.43Iumentumand hink it will be a good idea with a sopport topic
05:32.04Iumentumso people who wanna try android can post shit there
05:32.15Iumentumand people like me who want to help can answer
05:35.58Iumentumwell no matter what, im pretty drunk right now and probably should just hit the sack :D
05:36.30Iumentumbut i just came here to tell if i can help in supportor something else i will be more than willing :)
05:36.57Iumentumi know a lot of guys is doing a great efort making things i want posible
05:49.44parmasterdcordes_: suped up ba at CES?
05:50.11parmasteranother start-up hangers on?
06:31.42*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
07:01.21*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
07:08.10maejrepi never thought i'd have this much trouble with an irq :(
07:11.56*** join/#htc-linux goxboxlive (n=goxboxli@24.84-48-212.nextgentel.com)
07:12.02tmztis it doing the same things as the ts?
07:13.19tmzt<PROTECTED>
07:13.31tmzthow did you get that to work?
07:16.12maejrepuncommented it on regs_msm.py, and added the address to traces
07:16.24maejrepyeah, it's still only firing once after booting
07:17.01maejrepits negative polarity (at least in wince), so firing the irq pulls the bit low, then in wince when it gets cleared it goes high again
07:17.05tmztare you using msm_gpio from trout?
07:17.08maejrepbut in linux, I can't get it to reset high
07:17.18maejrepwhat specifically are you referring to?
07:17.40maejrepI use MSM_GPIO_TO_INT..?  and gpio.c (not trout's implementation, which is board-trout-gpio.c)
07:17.52tmztnot that
07:18.31maejrepthen I'm not sure what you're asking
07:18.45tmzt<PROTECTED>
07:18.47tmzt22:20 < maejrep> any idea why:           gpio_direction_output(27, 1);  wouldn't  do that?
07:18.57tmztI missed a conversation earlier
07:19.13maejrepyeah, I found out why output is wrong
07:19.40maejrepproblem is there's no mechanism for forcing the IN reg high, which is what's necessary for it to be triggered again
07:25.22tmztcheck the msm_gpio source, it should handle the irq 33 and find the appropriate gpio that fired the irq
07:26.00tmztwhat is triggered on TRIGGER_FALLING
07:26.01tmzt?
07:26.08maejrepwell, i'm hooking gpio 27, not INT_GPIO2
07:27.13maejrephow do you mean?  the keyboard gpio goes from high to low when a key is pressed, then returns high again.  I'm requesting the IRQ as TRIGGER_FALLING so I only get the interrupt at the point it goes from high to low
07:29.45maejrephmm
07:30.29maejrepif I assume that haret's tracing is fairly accurate in terms of sequence, it looks like it might actually be the act of reading the i2c data that causes gpio 27 to go high again :x
07:30.47maejrep001.090   TRACES    stat1: GPIO27(43)=1 @~8001d730
07:30.47maejrep001.090   TRACES      in1: in1-11(75)=0 @~8001d730
07:30.47maejrep001.090   TRACES intr1_en: intr1_en-11(203)=0 @~03f53ea4
07:30.47maejrep001.090 7803d720: str    r3, [r5]       # b2300000 =000001ce
07:30.48maejrep001.090 7803d790: str    r3, [r5]       # b2300000 =00000010
07:30.48maejrep001.090 7803d878: str    r3, [r5]       # b2300000 =000001cf
07:30.50maejrep001.090   TRACES      in1: in1-11(75)=1 @~78042ab8
07:30.54maejrep001.090 7803d940: streq  r2, [r5]       # b2300000 =00000200
07:30.56maejrep001.090 7803d944: ldr    r3, [r3]       # b230000c==00000095
07:30.58maejrep001.090 7803d944: ldr    r3, [r3]       # b230000c==00000000
07:31.04tmztyou can't know unless you disable the ce driver, would a longer wirq work?
07:31.07maejrepright after the 1cf to i2c is when the gpio goes high again
07:31.40tmztin1-11 is the kbd?
07:31.55maejrepwork for what?  and disable what driver?  you mean if the keyboard is disabled, and it doesn't read from i2c, i should expect 1-11 to stay low?
07:32.06maejrepyes, that's my best guess at this point
07:32.39tmztyou are saying the hardware handles it, I think wirq will prevent ce from running if the timer is ibit'd
07:32.49tmztsorry
07:33.38tmztI see what you're saying now
07:33.39maejrepI'm saying its a possibility :P  for being a programmer, and even a C programmer, I'm a total newb when it comes to this :)
07:34.16maejrepbut in linux, I get the irq to fire once on pressing a key.  after that, gpio 27 never goes high in order to fire a second time
07:34.42maejrepif this trace is to be trusted, it looks like the hardware is bringing the gpio high again after reading the key data
07:34.55tmztthen why doesn't it work in linux?
07:35.00maejrepwhich I know you mentioned a few days ago, I've just been so focused on getting the irq to fire properly first
07:35.23tmztit this irq attached as the i2c irq?
07:35.24maejrepwell, before when I had the i2c code in the irq handler, it would freeze the phone as soon as I tried to read from i2c
07:35.34maejrepis there an i2c irq?
07:35.43tmztwhat does your pdata say?
07:35.57maejrepah, there is..  irq 34 = INT_PWB_I2C
07:36.05tmztPWB?
07:36.14tmztwbit 34 and try it
07:36.32maejrepmy pdata on adding the i2c device?  I'm setting .irq=MSM_GPIO_TO_INT(27)
07:36.49tmztis that used by your driver or the i2c host?
07:36.51maejrepI'm currenting wbit'ed on everything except the annoying ones (47,3,6,16,19)
07:37.29maejrepis what used?  the .irq is used by the driver (and can even be ignored if I choose not to use it)
07:38.05maejrepI don't know what PWB_I2C is meant to be :x
07:38.06tmztok, is there a gpio in the chips[] you register?
07:39.02maejrepthe i2c chip?  I set the irq, but i don't think there's a gpio property
07:39.24tmztare you using i2c_register_board_info like in halibut?
07:39.29tmztboard-halibut
07:39.58maejrepyes
07:40.17maejrepand it's called with:
07:40.19maejrepstatic struct i2c_board_info i2c_devices[] = {
07:40.19maejrep<PROTECTED>
07:40.19maejrep<PROTECTED>
07:40.19maejrep<PROTECTED>
07:40.19maejrep<PROTECTED>
07:40.21maejrep<PROTECTED>
07:40.46tmzttry disabling that MSM_GPIO_TO_INT
07:41.13tmztit's commented out in the board-trout
07:41.25tmztboard-halibut
07:42.15maejrepyeah and in board-trout, but for the camera driver I think
07:42.47maejrepand the led driver (both have no .irq)
07:43.05maejrepprobably because they use /dev nodes to read data
07:43.19tmztyour using request_irq though, so you driver gets called?
07:43.48tmztyou have the MODULE_NAME?? in your driver?
07:43.49maejrepyeah the driver definitely gets called
07:44.10tmztthat matches _i2c_devices[] ?
07:44.14maejrepI'm plastering printk's all over the place ;)  so I know it's being called
07:44.14maejrepyes
07:44.45tmztyou say the i2c has data when the gpio_irq is low?
07:45.00maejrepthat's what it looks like
07:45.19tmztcheck I2C_BOARD_INFO and see if there is another field in the struct for negation
07:45.50maejrepbased on the trace, the gpio is normally high.  when I press a key, GPIO2 irq is fired, gpio 27 is pulled low, then it reads from i2c.  as soon as the 1ce+1 (read) is sent, gpio 27 drives high again
07:46.02maejrepnegation as in negative polarity?
07:46.11tmztyes
07:46.47maejrepI don't think i2c uses the .irq property in itself - its only used to pass the data to the driver, which is responsible for using the data however it needs to
07:47.14tmztit has to be able to tell which chip driver to call
07:47.45tmztit's always RISING
07:47.54tmztdrivers/i2c/busses/i2c-msm.c
07:48.16maejrepit has         unsigned short  flags;
07:48.44maejrepthat's the i2c irq
07:49.43tmztok, trying to see where chips are registered
07:51.46maejrepmsm_i2c_resources registers the i2c-msm device
07:51.57maejrepand that's where the irq is set: .start  = INT_PWB_I2C,
07:52.17maejrepso that irq is different from the keyboard irq
07:52.56maejrepI think I'm gonna try reading from it again..  hopefully I've fixed enough issues that it doesn't cause the device to freeze anymore :/
07:53.22maejrepI just have a feeling that's what is driving the input high again
07:53.23tmztthat just means data is available it looks like
07:53.26tmztthat irq
07:54.47maejrepright
08:04.01*** join/#htc-linux Xime (n=xime@bankize.net)
08:05.36maejrepbtw, were you here last night when someone posted a picture of a raph (800 i think) with a screwed up fb?
08:06.00tmztyeah do you need the links?
08:06.08maejrepI noticed mine started doing that after a git pull today, but it seems random..  like right now it looks fine, but my first kernel looked like that
08:06.35tmztI think that's something j0b0 was working on
08:07.03maejrepah ok
08:07.17tmztchanging the update code somehow
08:07.18maejrepnot too worried about it yet cause I'm using ssh and don't even look at the screen
08:07.33maejrep[   43.650884]     IN:  00000800  <-- so after a fresh boot, the IN reg is high
08:07.55maejrepgrr
08:08.09maejrepbut as soon as I hit the key, the device freezes :|
08:08.18maejrepdon't even see the printk I have at the top of the interrupt handler
08:08.42maejrepprobably need to implement workqueue again
08:08.45tmztall your driver does is request_irq?
08:08.57tmztwhat do you do in the handler?
08:09.33*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbf9dd7.pool.einsundeins.de)
08:10.07maejrepit also does gpio_request and gpio_configure
08:10.22maejrep(but it didn't previously and the freezes were still happening)
08:10.44maejrepmy handler dumps the gpio regs for in1-11, and then does the i2c reading
08:10.59maejrepI'm pretty sure I'm supposed to move the i2c reading outside of the irq handler
08:11.03tmztgpio_configure ?
08:11.17tmztdumps the what?
08:12.02tmztwhat happens if you register tsc2003 with you chip id and change the IRQF_TRIGGER_FALLING ?
08:12.18tmztthe upstream version not the vkeyb one
08:13.19maejrepgpio_configure(27, GPIOF_INPUT | IRQF_TRIGGER_FALLING | 0x10000000)
08:13.22tmztyou only need gpio_configure if you plan on changing the value/direction I think
08:13.45tmztsorry, gpio_request
08:14.04tmztif you treat it as a irq you should only need request_irq
08:14.10maejrepI didn't know that, and can't find any documentation :(
08:14.24maejrepeven if INT_EN is not set for that gpio?
08:14.29tmztnot in Documentation/ ?
08:15.30tmztDocumentation/i2c/writting-clients
08:21.21maejrepApparently I didn't look hard enough in Documentation/ :(
08:21.29maejrepgpio.txt is informative as well
08:21.33maejrep(for me)
08:28.18*** join/#htc-linux the_sys0p (n=the_sys0@cpe-75-85-249-111.bak.res.rr.com)
08:30.12*** join/#htc-linux daspsycho (n=Tim@HSI-KBW-082-212-005-059.hsi.kabelbw.de)
08:35.07tmztmaejrep: are you using i2c_set_clientdata?
08:35.41maejrepI've just recently added i2c stuff back into it.  but I'm planning to, yes
08:40.24tmztmaejrep: what about spin_lock_irqsave ?
08:40.58tmztlooking at tsc2007.c
08:47.19*** join/#htc-linux marci (n=chatzill@catv-80-98-42-93.catv.broadband.hu)
08:52.07*** join/#htc-linux holycow (n=bite@S01060016b6b53675.vf.shawcable.net)
08:58.21maejrephmm, something else that's strange is that the trace shows that the gpio int_status bit isn't cleared until after the i2c data is read..
09:00.56maejrephttp://www.privatepaste.com/5aqj1fkpln
09:01.24maejrepbut for that to happen, wouldn't that mean the irq handler can't return IRQ_HANDLED until after it's read all the data?
09:01.56tmztmaybe
09:06.14tmztmaejrep: what happens if all your irq handler does is printk and return IRQ_HANDLED ?
09:06.34maejrepsame (that's all its been doing)
09:06.43tmztand doesn't dump the gpios
09:06.45maejrepit'll trigger the first time I boot from wince to linux, but after that nothing
09:06.59tmztwith FALLING?
09:07.01maejrepit does during init, and it dumps it once on the first key press
09:07.10maejrepright (also tried FALLING|RISING)
09:07.20tmztwhat are you dumping?
09:08.20maejrepall the GPIO registers from gpio_hw.h (for 1-11)
09:08.39maejrepso: IN, OUT, OE, INT_EN, INT_POS, INT_EDGE, etc
09:08.57tmztwhat is that for?
09:09.44tmztsometimes reads have side-effects and sometimes things aren't readable at all (like write-only)
09:10.20tmztanyway, does it crash on keypress if you don't dump any registers, just printk("key pressed\n") or something?
09:11.31tmztnot crash, freeze
09:12.33maejrepi think it did previously
09:12.42maejrepthe freeze is definitely only when i2c is enabled though
09:13.04maejrepif I just do the registers, it would print fine and return normally, just wouldn't fire a second time
09:24.32maejrepwell, it doesn't freeze, but it looks like the gpio is already low
09:32.41*** join/#htc-linux nebi (n=nebi@170.ftth2.cust.fyrobs1.upps.se.borderlight.net)
09:34.39tmzthey I need to go, if you have anything for cr2 or anyone else so we can work on this paste it
09:35.40maejrepnp, thanks :)
09:36.47maejrepthe code looks like ass right now, but it is essentially functional in the sense that it doesn't blow up :)  and nonfunctional in the sense that it doesn't work and is unusable :D
09:42.05*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
09:50.55*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
09:51.04*** join/#htc-linux radem205 (n=aaa@e144118.upc-e.chello.nl)
09:53.38*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
10:01.28*** join/#htc-linux joey_973 (n=IceChat7@ip55-83-208-87.adsl2.static.versatel.nl)
10:02.48radem205hey dzo
10:03.39radem205I have tried to install the new Radio 1.64.24.34 (or something like that) on my polaris but I get an error message that my phone is not compatible with this Radio ROM :(
10:16.38*** join/#htc-linux Evelynn (n=Evelynn@smas.alcad.si)
10:45.23*** join/#htc-linux BruteSource (n=brutesou@c-71-59-241-177.hsd1.or.comcast.net)
10:45.49BruteSourceAnyone Alive?
10:53.56*** join/#htc-linux timebomb (n=tb@e176120077.adsl.alicedsl.de)
10:54.10tcccp#define ALIVE
11:00.02*** join/#htc-linux rolk (n=rolk@ip5457417f.direct-adsl.nl)
11:03.40*** join/#htc-linux MethoS (n=clemens@host-091-097-243-030.ewe-ip-backbone.de)
11:06.07*** join/#htc-linux blondquirk (n=vovka@ppp85-141-243-127.pppoe.mtu-net.ru)
11:10.55BruteSourceWell any progress with Titan?
11:11.06*** join/#htc-linux anarsoul (n=Anarchis@213.184.241.199)
11:11.09*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
11:24.09*** part/#htc-linux rolk (n=rolk@ip5457417f.direct-adsl.nl)
11:40.57*** join/#htc-linux pichurri (n=pichurri@194.230.146.213)
11:42.20*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
11:47.28*** join/#htc-linux exco (n=exco@e181117142.adsl.alicedsl.de)
11:50.21*** join/#htc-linux buster (n=buster@lostmind.org)
11:56.26*** join/#htc-linux woodyPL (i=woody@gateway/shell/blinkenshell.org/x-39159732f3a0581a)
11:59.22*** join/#htc-linux metter (n=metter@72-187.62-81.cust.bluewin.ch)
12:07.05*** join/#htc-linux Rogro82 (n=rogro82@s5591104d.adsl.wanadoo.nl)
12:07.30*** join/#htc-linux Rogro82 (n=rogro82@s5591104d.adsl.wanadoo.nl)
12:16.22*** join/#htc-linux nunzi00 (n=nunzi@cm79009.red91-117.mundo-r.com)
12:17.12*** join/#htc-linux goxboxlive (n=goxboxli@24.84-48-212.nextgentel.com)
12:18.23*** join/#htc-linux LunohoD (n=alex@e180078011.adsl.alicedsl.de)
12:19.15*** part/#htc-linux LunohoD (n=alex@e180078011.adsl.alicedsl.de)
12:20.35*** join/#htc-linux dimitris (n=dimitris@cpe-128964.ip.primehome.com)
12:21.49*** part/#htc-linux dimitris (n=dimitris@cpe-128964.ip.primehome.com)
12:24.10*** join/#htc-linux metter_ (n=metter@72-187.62-81.cust.bluewin.ch)
12:27.37*** join/#htc-linux Balsat (n=kll@87.72.13.87)
12:29.49*** join/#htc-linux metter_ (n=metter@182-88.1-85.cust.bluewin.ch)
12:30.41*** join/#htc-linux LunohoD (n=alex@e180078011.adsl.alicedsl.de)
12:35.04*** join/#htc-linux konsta (n=asds@host81-154-247-76.range81-154.btcentralplus.com)
12:36.43woodyPLhello
12:36.49woodyPLcould anybody here help me to
12:36.59woodyPLmake framebuffer driver work on hp ipaq 514?
12:47.21*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87c259.pool.einsundeins.de)
12:56.01*** join/#htc-linux br1ck (n=br1ck@xdslci212.osnanet.de)
13:19.11*** part/#htc-linux nunzi00 (n=nunzi@cm79009.red91-117.mundo-r.com)
13:32.54*** join/#htc-linux Loki657 (n=Loki657@82.147.51.146)
13:32.56Loki657hi all
13:39.20Loki657Hows it going?
13:41.58*** join/#htc-linux _4nakin (n=Tuan@115.76.134.231)
13:43.18_4nakinanybody know how to port Android to Himalaya ?
13:44.47Loki657I dont think many have been working on it
13:45.03_4nakini have try
13:45.15_4nakinbut it stuck at "jumping to kernel"
13:47.30woodyPLhi
13:47.49woodyPLI'll try to ask my question again
13:48.03woodyPLcould anybody help me with getting lcd
13:48.08woodyPLof hp ipaq 514 to work?
13:48.22woodyPLit's very similar to htc wizard
13:48.31woodyPLand linwizard even boots fine
13:48.36woodyPLbut fb parameters are incorrect
13:50.02Loki657after typing /init.android, I get lots of "cannot find /system/bin/....." messsages
13:50.03Loki657any ideas?
13:53.02BalsatSure you got the images mounted?
13:54.31Loki657well, I would think so?
13:54.38Loki657i downloaded the newest zImage from Jobo
13:55.13BalsatDid i work before the new Zimage?
13:55.21Balsatit
13:55.52Loki657Havent tried unfortunately
13:56.15BalsatAnd you have put the images under /tmp ?
13:56.19Loki657yup
13:56.32Loki657Do I have to edit the default.txt in any way when using the newest jobo-image?
13:56.52BalsatYes
13:57.11Loki657I just downloaded the newest one and checked the readme.. didnt mention anything
14:00.32Loki657other than that, I just followed the guide on the Wiki and replaced the initrd.droid.cpio with the one LordKiwi made for the TouchPro
14:01.23BalsatDownload http://www.wuala.com/Linux+and+Android+on+HTC+Diamond/Android+1.0/tmp?lang=en and try again!
14:01.58Loki657ah, and just replace those files with the ones I dowloaded from the wiki?
14:02.47BalsatYes, but be sure the default.txt is pointing at the right zImage
14:03.15Loki657yeah.. but should I keep the initrd.droid.cpio.gz (by LordWiki) since im on a Touch Pro?
14:03.37BalsatYes you can keep that file
14:05.15Loki657I still need the system.ext2.img and userdata.ext2.img, right?
14:07.48*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
14:08.28BalsatYes, and remember to put them under /tmp on the internal storage
14:09.05Loki657yeah, I have.. I still get the samme errors though :S
14:09.13Loki657really weird
14:09.44BalsatWhat does your default.txt say?
14:09.51Loki657set mtype 1910
14:09.52Loki657set kernel zImage-clean-jobo
14:09.52Loki657set initrd initrd.droid.cpio.gz
14:09.52Loki657set ramsize 0x6000000
14:09.52Loki657set ramaddr 0x10000000
14:09.52Loki657set cmdline "mem=64M msmsdcc_id=2 msmts_calib=0x7a.0x5e.0x35a.0x37f"
14:09.54Loki657boot
14:10.06Loki657im running it on a Raph100
14:11.17Balsattry to enter "mount" on the phone
14:11.31Loki657before /init.android ?
14:11.50Balsatyes, just to check if the system mounts
14:12.02Loki657ok.. 1 sec
14:13.09Loki657mount: no /proc/mounts
14:13.24*** join/#htc-linux MethoS (n=clemens@host-091-097-240-171.ewe-ip-backbone.de)
14:13.38Balsathmm strange
14:13.43Loki657yeah
14:14.09woodyPLsorry for kicking in
14:14.11woodyPLit seems
14:14.26woodyPL<PROTECTED>
14:14.27Loki657I see some errors above that seems interestin though
14:14.28woodyPL<PROTECTED>
14:14.31woodyPLhasn't been mounted
14:14.34woodyPLitself
14:14.49Loki657mount: mouinting /mmc/tmp/cache.ext2.img on /cache failed: No such file or directory
14:14.55Loki657mounting*
14:15.08Loki657mounting /mmc/tmp/system.ext2.img on /system failed: o such file or directory
14:15.23Loki657same wiuth userdata.ext2.img
14:15.30Balsatdo you got mmcblkp* in /dev
14:16.12Loki657Not sure, really
14:16.31Balsat"ls /dev/mmcblk*"
14:17.41Loki657cant see the * on the visual keyboard..
14:18.03Balsatcan't u ssh to your phone
14:18.29Loki657as of yet, I have only copied the files to my internal storage in a folder called "tmp"
14:18.37Loki657trying to run, and here I am.. he
14:18.47Loki657on a Windows system atm..
14:18.53Balsathmm ok
14:19.48*** join/#htc-linux _7lima (n=7lima@88-134-28-199-dynip.superkabel.de)
14:20.42Loki657its weird though.. it said "no such file or directory".. doing a simple ls shows that cache, system and /data is there
14:21.03Loki657so the problem must be on the /mmc/tmp/ side..
14:21.43Loki657ah, I think I see the probelm
14:21.45Loki657problem*
14:21.51Balsatyes but system.img and data.img dont get mountet
14:22.11Loki657ls /mmc shows the content of my SD-card, not my internal storage
14:22.45Loki657so when it tried to find /mmc/tmp/cache.ext2.img , it wont find it as i created the tmp folder on my internal storage
14:22.47BalsatYes, and you should put the tmp on the root of your SDcard
14:23.00Loki657ah, That probably explains it then *doh*
14:23.15Loki657sorry for wasting your time (i feel stupid now)
14:23.25Balsatno prob
14:23.38Loki657had a Diamond earlier this week and everything worked fine, but I didnt gete that I should be placing the files on the SD card on the TP
14:23.49Loki657speaking of which.. what an impressive progression these last few weeks
14:24.22Loki657if the status on what works and what doesnt on the wiki is accurate, its pretty much just calls thats missing for Android to be pretty much useable (except the hardware keyboard on the TP)
14:27.01*** part/#htc-linux Balsat (n=kll@87.72.13.87)
14:33.56*** join/#htc-linux Loki657 (n=Loki657@82.147.51.146)
14:48.19*** join/#htc-linux kami83 (n=kami@pD955BBCF.dip.t-dialin.net)
14:51.01*** join/#htc-linux balsat (n=kra@87.72.13.87)
14:52.25kami83hi can anyone tell me how i can change the rotation of android? i have got a HTC Diamond and trying to use jobos version
14:57.00Loki657press the power button
15:11.16*** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
15:14.54kami83thx works but it wont accept my sim pin?
15:17.56Loki657hmm, weird..
15:18.01Loki657just deactivate the sim pi
15:18.09Loki657brb
15:19.26*** join/#htc-linux addman3333 (n=skool@cpe-67-9-134-92.austin.res.rr.com)
15:21.29*** join/#htc-linux Loki657 (n=Loki657@82.147.51.146)
15:21.39*** join/#htc-linux pH5 (n=ph5@p5485D104.dip.t-dialin.net)
15:23.23*** join/#htc-linux Guimli (n=guimli@ecu69-1-82-231-127-213.fbx.proxad.net)
15:24.49*** join/#htc-linux [1]Loki657 (n=Loki657@82.147.51.146)
15:25.29*** join/#htc-linux Rogro82 (n=rogro82@s5591104d.adsl.wanadoo.nl)
15:25.37*** join/#htc-linux Iumentum2 (n=Iumenrum@3908ds1-ynoe.0.fullrate.dk)
15:25.49*** join/#htc-linux timebomb (n=tb@e176120077.adsl.alicedsl.de)
15:26.16kami83okay and is there anywhere else a new kernel or system then on wuala?
15:26.23Rogro82hiya all
15:26.54dcordes_hi Rogro82, others
15:27.30Rogro82any luck on getting the new smd code to work?
15:29.05dcordes_in htc-vogue ?
15:29.20Rogro82yes
15:29.48dcordes_I never tried new smd code in there
15:30.08Rogro82u still using the kaiser-smd?
15:30.20dcordes_no I'm using what's in htc-vogue. vogue-smd
15:30.32dcordes_but it's a bit wonky
15:31.06dcordes_Mullins will try rebasing to 2.6.27
15:31.10Rogro82does it do anything yet? i thought it wasnt working at all ( smd0/1 )
15:31.43dcordes_yes you can read and write. but it crashes the AMSS (depends on radio rom, some crash, some stay up) and the in/out isn't stable
15:33.11Rogro82ill try to build a kernel for the polaris tonight based on the latest commit to see if its the same on our device
15:35.31*** join/#htc-linux Balsat (n=kll@87.72.13.87)
15:36.28*** join/#htc-linux Loki657 (n=Loki657@82.147.51.146)
15:39.15Rogro82dcordes: What radio rom version are you using?
15:42.13dcordes_http://forum.xda-developers.com/showpost.php?p=3148065&postcount=1926
15:42.19dcordes_1.65.24.36
15:44.24Rogro82using the non-pio with this radio finally gave you a stable sd card? Or still dma problems?
15:45.21dcordes_yep, no dma problems
15:45.47Rogro82nice, i just checked and im running 1.59.44.02
15:46.07dcordes_I think with your first approaches of polaris/kaiser > htc-vogue it would have worked too with the 1.6 radio
15:46.17dcordes_but I was using 1.7 one before
15:47.23*** join/#htc-linux Mullins (n=bw@89.204.224.37)
15:47.30Rogro82too bad radio versions are causing unstable parts... hard to find out if things are working ok if one radio works on some parts and others on other parts :S
15:48.24dcordes_Rogro82: yea. I don't understand how it influences SD
15:48.41dcordes_maybe some differences in clock stuff?
15:49.24dcordes_Mullins: hi
15:49.29Mullinsdcordes: hi
15:49.43Rogro82hi
15:50.33Mullinsdcordes: I was thinking the problem is not the ts not being read but the frame displaying only one frame. is there someway of getting Xfbdev to run something on startup to verify the fb is refreshing
15:51.35dcordes_you can always use DISPLAY=:0 gpe-something
15:52.16dcordes_but if msm_fb works, Xfbdev should always give you the checkered background and the cursor pixmap, which should be able to be moved
15:52.46dcordes_wait a minute.. there were some images where the kaiser ts didn't work at all with X
15:53.07dcordes_I noticed that but reading the output from Xfbdev and it said it doesn't recognize the events
15:53.12dcordes_are you using the sato image?
15:53.16*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
15:53.18MullinsI also tried the most recent Angstrom tar.gz
15:53.40Mullinsdcordes: Link me one you know works for definite
15:54.59dcordes_http://linuxtogo.org/~lgorris/builds/tgreer-special-sd-rootfs.tar.gz this is certainly not the best image but I did some tests there and it worked
15:55.02dcordes_ts
15:55.41Rogro82k i gotta go for a dinner... ill be back later and will try to get a new image up and running for the polaris.
15:55.52dcordes_cya rogro
15:55.56Mullinscya later Rogro
15:55.59Rogro82bye bye
15:57.40dcordes_I think it's an x11-image
16:00.36Mullinsdcordes: Are you still concerned with the status of Android 0.8, for the wiki page? Or will I just leave 1.0 status on it?
16:00.49*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
16:01.20Mullinsdcordes: Are you still concerned with the status of Android 0.8, for the wiki page? Or will I just leave 1.0 status on it?
16:14.42*** join/#htc-linux LunohoD_ (n=alex@e180075011.adsl.alicedsl.de)
16:16.04*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
16:30.45*** join/#htc-linux woodson (n=CDP@c-76-101-90-149.hsd1.fl.comcast.net)
16:35.08*** join/#htc-linux stefan_schmidt (n=stefan@p5B037F75.dip.t-dialin.net)
16:39.08*** join/#htc-linux imfloflo (i=5a3c0b49@gateway/web/ajax/mibbit.com/x-603600f0a8bac41e)
16:42.49dcordesMullins: which wiki page?
16:43.25Mullinsdcordes: The new one based on the Raphael one
16:43.36dcordesgot a link?
16:43.46Mullinshttp://wiki.xda-developers.com/index.php?pagename=SandBoxBW
16:43.51MullinsWIP
16:44.31dcordesjsut leave obsolete info out I guess
16:45.50*** join/#htc-linux buster`- (n=buster@lostmind.org)
16:46.31dcordestell me when you have your outline ready. I will add info on angstrom/OE
16:46.38dcordesand framework
16:46.41Mullinsyeah
16:50.06*** join/#htc-linux jeanseb (n=jeanseb@gazypan.dyndns.org)
16:55.54dcordesj0b0: http://members.home.nl/j0b0/haret18.exe did you remove the max initrd size?
17:00.50dcordesMullins: do you know how to disable PIO in current git rev? SD doesn't work for me
17:01.00*** join/#htc-linux Uncle_CM (i=Uncle@gateway/tor/x-44c17b344bcd611a)
17:01.33Mullinsdcordes: no sorry
17:02.11dcordesdoes it work for you with PIO ?
17:02.30Mullinsdcordes: I only use SD
17:02.55dcordesyou use the older git revision?
17:03.08Mullinsdcordes: no, the most recent
17:03.26Mullinsdcordes: what do you mean exactly doesn't work?
17:03.33dcordesI can't boot
17:03.46dcordesI have the rootfs on SD card
17:04.12Mullinsdcordes: thats the only method I use
17:04.49dcordesand it works with the unmodified most recent git version?
17:05.16Mullinsdcordes: yes. what happens when you try?
17:05.29dcordesfreeze after freeing init memory
17:05.32*** join/#htc-linux t3chi3 (n=blarg@36.67.33.65.cfl.res.rr.com)
17:05.37dcordesI will rebuild and retry
17:05.46Mullinsdcordes: did you see the default.txt Dzo added to GIT
17:06.09dcordesyes
17:06.21dcordesand I tried addign all the cmdline params specific to sd
17:07.04Mullinsdcordes: want to try my current zImage here to be sure?
17:07.07dcordesI will try with the exact default.txt in git
17:07.11dcordesok
17:07.22Mullinsdcordes: the most recent git plus some work, but boots from SD
17:08.38*** join/#htc-linux rmoravcik1 (n=rmoravci@ip-89-102-255-171.karneval.cz)
17:09.16dcordesmaybe it's because I use the kaiser mtype
17:09.28dcordesI'll boot with the kaiser-default.txt now
17:09.50MullinsI have sent the zImage to your email. will send the default.txt
17:11.05dcordesok thanks
17:11.41dcordesI just booted with the git default.txt with initrd line removed and root=/dev/mmcblk0p2 rootedlay=10 added to cmdline
17:11.51dcordesI get the mmc0: command timeout messages
17:12.35dcordeshttp://forum.xda-developers.com/showpost.php?p=3148065&postcount=1926 like this
17:12.45Mullinsmine -> http://paste-it.net/public/h34a828/
17:15.48dcordessame freeze on freeing init memory after ext2 / is mounted
17:15.52dcordeswith your kern
17:16.32dcordesdo you get the command timeout messages on boot?
17:17.31Mullinsdcordes: I am using the 1.65.24.36 radio. are you?
17:17.42dcordesyes
17:18.01dcordesand with same radio, the non-PIO version works for me
17:18.09Mullinsdcordes: how do you log the bootup messages to review them?
17:18.52dcordesI see them on display during bootup
17:18.58Mullinsok, I will watch
17:20.38*** join/#htc-linux Uncle_CM (i=Uncle@gateway/tor/x-ff678e87ec55b37e)
17:24.20dcordesMullins: can you try adding an ext2/3 partition to your card and boot with rootfs on it?
17:26.48*** join/#htc-linux Uncle_CM (i=Uncle@gateway/tor/x-b1dd0b3342497e06)
17:27.09Mullinsdcordes: I could yeah. Where do I start?
17:28.02*** part/#htc-linux exco (n=exco@e181117142.adsl.alicedsl.de)
17:28.10*** join/#htc-linux exco (n=exco@e181117142.adsl.alicedsl.de)
17:31.30Mullinsdcordes: I have no linux PC that can access the microSD dcordes. I need that for start
17:33.46*** join/#htc-linux Uncle_CM (i=Uncle@gateway/tor/x-75613e1f8f70e8f9)
17:33.56excoMullins: you can use e.g. an Ubuntu LiveCD
17:34.28*** join/#htc-linux tekkdrone (n=tekkdron@72.183.115.231)
17:35.00Mullinsexco: I still need a microSD card reader on the machine
17:35.27dcordesok when you have one, the ubuntu livecds are good
17:35.34excothat'd be a good idea I suppose
17:35.47dcordesdzo: how to disable PIO mode in current git revision?
17:36.05excoMullins where are you from?
17:36.28Mullinsexco: Ireland
17:38.05Mullinsdcordes: Do you not have a FAT32 partition on your card to at least try that? or have you?
17:40.42*** join/#htc-linux WyrM (n=wyrm@189.13.215.181)
17:43.14*** join/#htc-linux Tonny (n=chatzill@set25-1-88-166-169-49.fbx.proxad.net)
17:43.15NetRipperahyone with a diam100/raph800/diam800 on?
17:43.49Balsatdiam100 here
17:44.15dcordesMullins: I always have a fat32 and an ext2 partition
17:44.19excoI just installed wm5torage on my mobile - and gparted does recognize the disk - so possibly you could partition your SD card in your mobile using wm5torage
17:44.20dcordesbut didn't try the android stuff
17:44.56NetRipperBalsat, can you try this kernel for me? http://www.netripper.com/raphael/zImage-pcom-20090111-00
17:45.01NetRipperBalsat, use MTYPE 1805 (diamond)
17:45.17Balsatok, i'l try it out
17:45.21NetRipperthx
17:48.17BalsatWow the phone was shaking on boot up
17:48.28Balsatboots up fine
17:48.37NetRipperokay great
17:48.40NetRippermeans pcom is woring
17:48.49NetRipper2 short vibrations
17:48.55Balsatyep... nice
17:49.07NetRipperthink im going to keep that in as funny welcome
17:49.07NetRipper;)
17:49.22konstapcom?
17:49.32NetRipperproc_comm
17:49.48NetRipperused to communicate with the arm9 side
17:49.51konstaah
17:50.05BalsatCan you make it vibrate for 5-6 min... my  girlfriend need that
17:50.10NetRipperBalsat, lol
17:50.35NetRipperguess that says something about you as well Balsat
17:50.36NetRipper;)
17:50.45zycho:>
17:51.00BalsatI guess so... *lol*
17:52.05NetRipperdinner time, bbl :)
17:52.18Balsatbon appetit
17:52.43tekkdroneNetRipper: btw that image i tried the other day on raph500 vibrated as well
17:52.49tekkdronefwiw
18:00.38*** join/#htc-linux goxboxlive (n=goxboxli@24.84-48-212.nextgentel.com)
18:00.50*** join/#htc-linux rakeem (n=rak@n219078211036.netvigator.com)
18:05.59zychohttp://www.netripper.com/raphael/zImage-pcom-20090111-00 works for my diam300 too
18:19.58*** join/#htc-linux pichurri (n=pichurri@194.230.146.254)
18:23.25*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
18:29.51*** join/#htc-linux [1]Loki657 (n=Loki657@82.147.51.146)
18:32.01*** join/#htc-linux tsdogs (n=tsdogs@net203-187-146.mclink.it)
18:49.29*** join/#htc-linux Gluck (n=Gluck@av9592.comex.ru)
18:55.43*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87c259.pool.einsundeins.de)
18:55.50*** part/#htc-linux WyrM (n=wyrm@189.13.215.181)
18:58.13toerNetRipper: planning to commit proc com stuff today?
19:10.52*** join/#htc-linux rolk (n=rolk@ip5457417f.direct-adsl.nl)
19:24.34*** join/#htc-linux stefan_schmidt_ (n=stefan@p5B03747C.dip.t-dialin.net)
19:24.52*** join/#htc-linux piusvelte (n=irchon@71.175.8.29)
19:29.05NetRippertoer, yep, in a minute
19:29.20NetRipperzycho, good to hear, didnt even know there was a diam300, what brand is it?
19:29.23rolkdream_kill: did you find anything on the MSM_CLK_CTL_BASE register (defined as address 0xE000A000)? For example: the 0xE000A0A8 register is supposed to be related to the SD card interface on Polaris. It is being written to by the ARM11. So apparently this part of the clocks is under control of the ARM11, not the radio ARM9.
19:29.24NetRipperand gsm/cdma?
19:29.53NetRippertekkdrone, good to hear :)
19:29.54*** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde)
19:29.55zychoits o2 from DE
19:30.07NetRipperah, ok, any different specs zycho ?
19:30.22zychodont think so.. gsm device
19:33.03dcordesMullins: does the dzo android work for you?
19:41.39dcordesMullins: it doesn't work for me. something must be wrong with pio
19:42.36*** join/#htc-linux ali1234 (n=al@robotfuzz.co.uk)
19:43.15NetRipperdcordes, how do you set multiple authors for a commit? comma-seperate the authors?
19:44.14NetRipper--author "name1 <email>, name2 <email>" ?
19:44.14dcordesI guess that's an option or make seperate commits
19:44.20*** join/#htc-linux pH5 (n=ph5@p5485BD0C.dip.t-dialin.net)
19:44.21NetRipperwell ive seen you commit for multiple authors before
19:44.21NetRipper;)
19:44.27dcordesdid it that way with the initial htc-msm-2.6.25 commits
19:44.46NetRipperok
19:46.15NetRipperhm
19:46.20NetRippermultiple authors dont work
19:46.34NetRipperwhen comma seperated, it only takes the first one
19:47.01dcordesthen use a diffeernt seperateohttp://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=commit;h=ff547942054275b9ec4c282eafe687b39a0073a4
19:47.08dcordesseperator
19:47.27NetRipperyea
19:47.54NetRipperlol even then it stops after the first e-mail address
19:47.57dcordesyou could try "author1 <email1> and author2 <email2>"
19:48.15NetRipperyes i tried 'and' but it removes everything after the first email address
19:48.44dcordes"author1 and author2 <email1 and email2>" := ?
19:49.29NetRipperthat works
19:49.47NetRipperi see it's already a feature request in git
19:50.08dcordesfreesmartphone.org always use --author "Dr. Git"
19:50.27NetRipperwhy is that?
19:50.31dcordesno clue
19:51.37Loki657hi all
19:51.39Loki657hows it going?
19:52.18NetRipperbe more specific :p
19:53.06Loki657lol.. as in, personally :)
19:53.06dcordesdid you discuss a rebase?
19:54.13NetRipperdcordes, rebase?
19:54.22NetRipperdcordes, the 2.6.27 tree?
19:54.28dcordesraphael/diamond speicifc code > 2.6.27
19:54.40dcordeshttp://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.27 this branch
19:55.19Loki657Are we far off getting the qwerty keyboard working?
19:55.22Loki657on the raph
19:55.43NetRipperLoki657, not too far i think
19:55.48dcordes.25 seems stale in the google repos
19:55.52Loki657cool
19:55.59NetRipperdcordes, yes it is.. we should move to 2.6.27 eventually
19:56.00Loki657and what about calls?
19:56.06dcordesbeyond what we based on, they only added usb gadget
19:56.13NetRipperLoki657, that's already possible, just no speaker/mic
19:56.16NetRipper(yet)
19:56.24Loki657ah right.. thats what I meant.. heh
19:58.29dcordesNetRipper: htc-vogue is likely to rebase to the 2.6.27 goog code too. we might get a unified branch with all the devices
20:00.22NetRipperdcordes, ah would be a good idea
20:00.27NetRippermight save some work too
20:01.54dcordeslet's see if we can get both working seperately first
20:02.42NetRipperwhere do the vogue programmers reside anyway? also on irc somewhere?
20:03.03NetRipperor is it mostly just dzo?
20:04.13Loki657will the vga resolution cause troubles?
20:05.50NetRipperwhat kind of troubles?
20:06.58Loki657thinking more of Android in general. Wondering how 3rd party apps will turn out and such
20:07.24NetRipperim not sure what resolution the G1 has
20:07.37NetRipperbut so far android looks fine
20:08.01NetRipperand java layout managers are not pixel based (not sure which layout managers android implements though)
20:08.01Loki657the G1 has 340x280 or something
20:08.38dcordesNetRipper: looks like it is mostly dzo
20:08.41Loki657I have the G1 lying here, and you can see for instance that the built in Android wallpapers doesnt fit properly
20:09.08dcordesLoki657: do you have the developer g1?
20:09.11NetRipperLoki657, ok but wallpapers can be replaced.. i'd worry more about custom application in the way of layouting..
20:09.12Loki657yeah
20:09.19Loki657NetRipper, thats my point exactly..
20:09.35Loki657and dccordes, I have the ADP1 right here
20:09.39dcordesLoki657: would you like to test an alternate phone api?
20:09.46dcordeswhat's ADP1 ?
20:09.56NetRipperLoki657, but java programmers are encouraged to use layout managers when desinging forms/panels... which are pixel independent..
20:10.21NetRipperof course some java programmers use pixel-based placement anyway, but ok ;)
20:10.25Loki657Android Development Phone 1 (got it from Google)
20:11.31Loki657What would running an alternate phone api mean? Im kinda using it as my main phone untill the Raph100 port is fully working ^^
20:11.58dcordesyou need to use a different rootfs
20:12.06dcordeshow do you setup the bootloader?
20:12.23dcordesany documentation on that available?
20:12.43Loki657I think i read something on XDA actually
20:13.11dcordesis there no vendor documentation?
20:13.42Loki657but I just got the phone so havent had the time to get to know how to fool around with it
20:14.27Loki657Didnt get much with the phone. Just a quickstart guide
20:16.07dcordesNetRipper: proc_comm_wince is for the wince based AMSS versions?
20:16.07NetRipperdcordes, yes
20:16.07dcordess/based/ /
20:17.53dcordes<PROTECTED>
20:17.59dcordesdid you mess around with that?
20:18.42NetRipperdcordes, no not yet
20:19.06NetRipperdcordes, it's probably similar to vogue's though
20:19.37dcordeshttp://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=blob;f=arch/arm/mach-msm/AudioPara.c;h=4dd6c4f65c53dd4dd182782fdd0afa67b8ae1a24;hb=refs/heads/htc-vogue
20:19.45dcordeswe need to add that for raph/diam
20:19.57NetRipperyes, liek that
20:20.00NetRipperlike
20:21.07dcordeswhat's the 0x19 in the above line?
20:21.17NetRipperthe command
20:21.18dcordeswince normal state?
20:21.41NetRipperproc_comm(PCOM_SET_AUDIO_PATH, parm1, parm2)
20:22.34NetRipperon wiki you can see the ioctl equivalent, they're not 1 on 1
20:24.39NetRipperdcordes, can you change the topic in here?
20:28.24*** join/#htc-linux radem205 (n=aaa@92-108-47-154.dynamic.upc.nl)
20:29.38*** join/#htc-linux ali12341 (n=al@robotfuzz.co.uk)
20:29.45dcordesNetRipper: I don't know
20:30.11*** join/#htc-linux cr2 (n=cr2@ip-77-25-49-128.web.vodafone.de)
20:30.29*** join/#htc-linux ali12341 (n=al@robotfuzz.co.uk)
20:30.46*** part/#htc-linux ali12341 (n=al@robotfuzz.co.uk)
20:30.56dcordescr2: vf'D ?
20:31.59cr2dcordes flatrate is good for year health
20:32.28cr2but windows is certainly a piece of shit ;)
20:32.55dcordesI'll be stuck with it for the next week
20:33.18cr2my usb hdd is for amd64
20:33.26cr2so it does not work
20:34.06cr2i´m installing cygwin
20:34.24cr2dowloaded 400MB already
20:34.28NetRippersince when is a hdd specific to cpu architecture?
20:34.28NetRipper:)
20:34.52Loki657lol, was thinking the same thing
20:34.58cr2NetRipper: the suse installed there
20:35.09cr2for amd64
20:35.34cr2this one is the only x86 notebook/compuetr i have
20:36.18NetRippercr2, so you mean your hdd actually works, but you just have amd64 suse installed on it
20:36.25cr2but 300KB/s in the middle of nowhere is not bad
20:36.36NetRipperwhich you dont want to format ;)
20:36.36cr2yes
20:36.40NetRipper:P
20:37.07cr2i need to install a x86 kernel/initrd in the grub menu
20:37.23NetRipperj0b0, are you about?
20:37.51cr2i'be seen that maejrep[w] worked on vreg
20:38.34cr2maejrep[w]: the LSB for i2c means read/write
20:39.17cr2hehe, now i may try edit the wiki
20:40.29NetRipper:p
20:40.34zychohttp://www.bookofjesus.org/images/w1cws8pcx3hbf47ldc4.jpg
20:40.36zycholoool
20:40.54tmztwoodyPL: hey, if your still here we can dump those fb settings but you need to be able to build a kernel
20:42.11cr2tmzt: the gpios are not controlled via proc_comm on non-g1 phones
20:42.46tmztah
20:43.35tmztI think that was for camera/flashlight trying to make the flashlight go to full brightness
20:44.40cr2flashlight gpio is known
20:46.19woodyPLtmzt: hi
20:46.25woodyPLthanks for responding
20:46.29woodyPLI've already dumped the values
20:46.35woodyPLhave been messing with them since yesterday
20:46.43tmztcool
20:47.07cr2tmzt: we can control all gpios including the arm9 area, which androids don't want to disclose
20:47.08tmztso it did work some with the linwizard kernel, it wasn't just blank?
20:47.11woodyPLit turned out that when you dump the registers not to a filwe
20:47.19woodyPLendianness is not mixed
20:47.30woodyPLafter messing with the parameters
20:47.35woodyPLit looks like this
20:47.41woodyPLhttp://www.gigasik.pl/lcd_sync.avi
20:48.06tmztthere is a script somewhere to dump those, I'll see if I can find the name of it
20:48.19woodyPLok
20:48.51NetRippercr2, it was about the flashlight having a 'extra bright' setting.. which isn't controlled via gpios
20:49.03tmztcr2: any idea why the kbd irq is only firing once and sometimes pressing a key is causing the kernel to freeze?
20:49.26woodyPLtmzt: this was necessary to amke it at least display some text for a while
20:49.27NetRippercr2, when you make a picture with the camera app when flashlight is on, it momentarily increases in brightness
20:49.28woodyPL+                       OMAP_LCDC_INV_VSYNC |
20:49.28woodyPL+                       OMAP_LCDC_INV_OUTPUT_EN |
20:49.31cr2which key ?
20:49.44woodyPLand changing the resoltuion of lcd_wiz3 in lcd_htcwizard.c
20:49.46woodyPLto 176x220
20:49.50tmztI think it was any hw key (except gpio_keys)
20:49.51cr2hmm, i've forgot my xda-dev password ;)
20:50.06NetRippermumbles keepass ;)
20:50.07tmztwoodyPL: you also need fp and bp and two others I can't think of
20:50.24cr2NetRipper: it may be some vreg
20:50.36cr2providing higher voltage
20:50.41*** join/#htc-linux imfloflo (n=imfloflo@cap31-6-88-180-73-121.fbx.proxad.net)
20:50.46woodyPLyup
20:51.02NetRippercr2, what i see when i watch gpios is that it turns off the flashlight gpio, then makes the flash go brigther, and after picture is taken, the gpio is activated again fro normal brightness
20:51.31woodyPLtmzt: I think I know hsw,hfp,hbp,vsw,vfp,vbp from the dump
20:51.41NetRipperi need to go through the htccamera1.dll again to find it i think ;)
20:51.44woodyPLbut whatever I set
20:51.49woodyPLit works like this
20:52.03cr2NetRipper: we know the spl pmic names, g1 names and proc_comm masks. we need to find out how do they correlate with each other
20:52.05woodyPLone thing that varies is the reset time
20:52.15woodyPLwhich depends how high the value of pixclock is
20:52.35NetRippercr2, i saw you had some vreg bitmasks already documented
20:53.27*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
20:53.37woodyPLtmzt: I also read an IRC log when you tried to make BruteSource's lcd work
20:53.45woodyPLbut still no joy
20:53.52tmztok, get the c program from the end of that then
20:54.08tmztpixclock should be in the dump also
20:54.21woodyPLwhich dump should I use
20:54.24woodyPLI mean
20:54.32woodyPLshould I dump it to a file
20:54.40woodyPLand then use hexdump on my pc
20:54.42tmztpwf works well
20:54.43woodyPLwhich will miux the bytes
20:54.46*** join/#htc-linux cr2 (n=cr2@ip-77-25-49-128.web.vodafone.de)
20:54.48woodyPLor just dump it in haret console
20:54.49woodyPL*mix
20:55.06cr2hehe
20:55.20cr2i gave up on cygwin
20:55.43cr2downloaded 500mb in 3 hours :)
20:58.02cr2the proc_comm aka dex in wince uses 2 params
20:58.26cr2void *in, void *out
20:59.00cr2the cmd is put inside the *in
20:59.15cr2depending on the number of arameters
20:59.37NetRippereh? is the out not just the return value?
21:00.18cr2we may avoid the redundant third param in proc_comm_wince too
21:00.36*** join/#htc-linux puregenius (n=chatzill@brln-4d0ce0e7.pool.mediaWays.net)
21:00.53cr2or just define the proc_comm_dex(void *in, void *out)
21:01.57*** join/#htc-linux MethoS- (n=clemens@dyndsl-085-016-160-071.ewe-ip-backbone.de)
21:02.51*** join/#htc-linux yoyey (n=yoann@lns-bzn-49f-81-56-185-87.adsl.proxad.net)
21:03.21rolkAnyone an idea what the android ttyDCC device is? It is configured in the kernel with CONFIG_DCC_TTY option flag.
21:03.47cr2NetRipper: the msm gpio demux is commented out in haret, because it's not so easy as it was thought ;)
21:12.20dcordeswhat's the best way to use kaiser as modem for debian?
21:12.24dcordes(with usb)
21:14.34*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
21:14.48toerNetRipper: your commit vibrated ok :)
21:16.52NetRipperglad to hear
21:19.03NetRippertoer, you also have a diamond?
21:20.40*** part/#htc-linux yoyey (n=yoann@lns-bzn-49f-81-56-185-87.adsl.proxad.net)
21:20.53NetRipperBalsat, zycho, tekkdrone, toer, can you test this kernel as well? it includes jobo's keypad.. use mtype 1910 for raphael and mtype 1805 for diamonds.. http://www.netripper.com/raphael/zImage-git-20090111-00
21:21.35NetRipperworks for my raph100, just need confirmation that it works properly on other devices too
21:24.38*** join/#htc-linux t3chi3 (n=blarg@ip24-250-216-85.ga.at.cox.net)
21:26.21*** join/#htc-linux nato2k (n=templarn@76.250.180.218)
21:28.22dcordescr2: if you don't want to destroy your laptop os, you can always use rootfs on usb disk
21:28.37dcordesI do that using extlinux
21:29.12cr2dcordes: my usb hdd is for amd64
21:29.28tekkdroneNetRipper: the kernel boots on raph500 and gets past the handoff but I'm seeing display corruptio
21:29.30tekkdronecorruption
21:29.30cr2i used it on 2 other notebooks
21:30.10cr2tekkdrone: the epson chip init is different from toshiba
21:30.28cr2tekkdrone: it is necessary doc document it first
21:30.33tekkdronethe osk is visible and the text is readabe so it's not as bad as some of the previous video corruption photos I've seen
21:30.56NetRippertekkdrone, odd.. did you previously try one of jobo's kernel that also had the keypad?
21:31.33tekkdroneno, your kernel is the only one I've stuck on the raph so far, I haven't been actively following, just standing by for tests (i'm still working on apache)
21:31.42cr2http://wiki.xda-developers.com/index.php?pagename=RaphaelLCD
21:31.42NetRipperok
21:31.51cr2this is for raph100
21:33.18NetRippercr2, the raph500 has a different lcd?
21:34.52cr2800
21:34.57tekkdroneNetRipper: also got the double vibrate at boot, and now that the calibration routine ended the screen looks almost normal, only some discoloration on tux, and a green square next to the OSK
21:35.17cr2800 has the same epson chip as blackstone
21:35.57cr2hmm, can't login to check 500
21:36.12cr2rsa cert is missing in this hdd ;)
21:36.27NetRippertekkdrone, the green square allows you to minimize the OSK and to drag it around.. calibration can be set in kernel param so that you dont have to calibrate every time you boot up ;)
21:36.50tekkdroneexcellent, tux looks like he's the wrong bithdepth, intended also?
21:36.51NetRippermsmts_calib=0x7a.0x5e.0x35a.0x37f
21:36.57NetRipperno, not intended
21:37.03NetRipperwas it good on earlier kernels?
21:37.12tekkdroneealier kernels wouldn't pass console handoff
21:37.15NetRipperoh
21:37.16tekkdronenevermind showing me tux
21:37.17tekkdronelol
21:37.41NetRipperyou tried my other kernel a few hours ago, right?
21:38.00tekkdroneno, just the one middle of last week
21:38.07tekkdroneand the one you pasted a few minutes ago
21:38.19NetRipperah ok
21:38.23tekkdroneor hours, I have timestamps off
21:38.25NetRipperah right the one that vibrated for 5 sec
21:38.39tekkdroneaye, that one worked after you passed it to me with no console handoff
21:39.03tekkdroneusb being the exception
21:39.16NetRippertekkdrone, ah... and the last one actually does continue booting? that's really odd, as there are no changes in the mddi part ;)
21:39.49tekkdroneaye, this one comes up to the calibration and osk, only thing changed is the zImage
21:39.51cr2NetRipper: raph500 has the same epson chip
21:39.57NetRippermakes me wonder if there might be other variables at play... i.e. you must have usb set to 'activesync' mode.. and you must have usb cable plugged in..
21:40.12NetRippercr2, aha.. so raph500 should have same graphical glitches as raph800
21:40.23tekkdronenetripper: it is, rndis off, usbstor off
21:40.24cr2hm. even some regs are documented by names
21:40.24NetRipperwhich explains what tekk is seeing
21:40.31cr2yeah
21:40.57tekkdroneaye, buy nothing like I was seeing in those blackstone shots
21:41.08NetRippertekkdrone, rndis (=activesync) should be on ;)
21:41.21cr2S1D13774
21:41.27tekkdroneI thought rndis was only the advanced subset
21:41.48tekkdronewhich I have unchecked
21:41.49NetRippertekkdrone, when you plug in the usb cable, you must select "activesync" -> "done"
21:41.54NetRipperoh
21:42.00NetRipperi saw that in wiki
21:42.18NetRippermaybe it's true, i have advanced enabled i think, but may be neccesary for raph500/800
21:42.20tekkdroneI have it set static, no prompt, activesync enabled, advanced disabled, etc
21:42.26NetRipperok
21:42.27tekkdronehmmmm
21:42.49tekkdronelast time when it would hang at console handoff tmzt and i tried every possible combination
21:42.52cr2it's rather verbose
21:42.59NetRipperok
21:43.05cr2i'll switch on another notebook
21:43.11tekkdroneand I understand booting with usb plugged in, same goes for my pxa27x-udc progress on Apache
21:43.18NetRipperaha
21:43.28NetRippercan you show me your default.txt on pastebin/
21:43.29NetRipper?
21:43.38tekkdronemine? sure
21:43.45zychoNetRipper: new kernel working fine on diam300
21:43.52NetRipperzycho, thanks
21:45.19tekkdronenetripper: http://pastebin.com/d14a31060
21:45.37tekkdroneI'm using 64M for now but I'm pretty sure my ceiling is higher
21:45.37NetRipperhm
21:45.38NetRipperok
21:45.45tekkdronethat was initially necessary to get around the memory panic
21:45.50zychodoes some know, why its not possible to save date&time settings?
21:46.09NetRipperzycho, RTC is not working yet
21:46.28zychowhat does RTC mean?
21:46.32NetRipperreal time clock
21:46.42cr2NetRipper: rtc uses dex
21:46.42zychoah thanks
21:46.45*** join/#htc-linux BHSPitLappy (n=BHSPitLa@unaffiliated/bhspitmonkey)
21:46.47NetRipperbut we may get it working soon, as proc_comm is working now
21:47.02zychonice to see
21:47.30cr2atmega48 and atmega88
21:47.53cr2hm. does it mean that the KLT and KSC are 2 different controllers ??
21:48.11NetRipperi dont dare to answer
21:51.32tmztcr2: do you think the lcd has to be inited through the epson chip, maybe using an i2c host on that chip or something (can't remember from ds)?
21:52.16cr2not host, but some i2c and/or spi sequence
21:52.27cr2it depends on the LCD type
21:52.39cr2there are 5-6 LCD types in the spl
21:52.47tmztok, but the lcd still has a controller chip on it (lcm) in addition to that epson chip?
21:53.19tmztdoes KLT have the same i2c id as the g1 led chip?
21:53.37cr2evildoers. they have obfuscated the vreg interface to such an extent that i<#m really eager to disassemble the microkernel ;)
21:53.58cr2tmzt: we see 3 different i2c ids
21:55.04cr2NetRipper: have you ever dumped the wince dmesg after hard reset ?
21:56.13cr2thes reference the microP and microP48 as separate entities
21:57.11cr2and psoc
21:57.21tmztis the touchpad (navi) controller a dedicated chip?
21:57.48toerNetRipper: boots fine on my raph100
21:57.58NetRippercr2, no i havent.. should we see something special? :)
21:59.55cr2NetRipper: the psoc et al. debug data should be there
22:00.11cr2tmzt: it's not yet clear
22:00.35tmzthave you found the firmware for the devices yet?
22:03.57cr2aha. the blackstone is more verbose
22:04.25cr2tmzt: didn't look that deep. it should be easier to implement the chip identification first
22:06.04cr2bt,cam,usb,aux,mmc,ruim,msme,msmp,rftx,aux2,mddi,wlan,rfrx2,ruim2
22:07.39tmztmsme/msmp ?
22:08.58*** join/#htc-linux Tinyboom (n=nahh@108.84-49-166.nextgentel.com)
22:10.07cr2should be in the g1 code too
22:10.16*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
22:10.50cr2raph500 has 'synt'
22:11.09cr2but misses some others
22:11.11tmztsynaptics?
22:11.15tmztlike on g1?
22:11.32cr2without having the pmic docs it's going to be a pita ;)
22:11.40cr2no, the pmic register names
22:11.59tmztoh
22:12.10tmztvreg is not handled through proc_comm?
22:13.12cr2it is, but you need to know how which bitmask has which name
22:13.37cr2dex uses bitmasks, but spl uses plaintext names
22:14.00cr2and a different way to communicate them to arm9
22:14.30tmztthe AT channel?
22:14.37cr2g1 uses a third (different) method creating a real mess
22:15.20cr2by modifying the amss the nadroid people created a lot of pain ;-)
22:15.51cr2if there was the amss source code, it would have not been a problem
22:16.04cr2or at least the pmic docs
22:16.43cr2so the only way to resolve the problem is to find the pmic/dex arm9 parser code.
22:27.23j0b0NetRipper the kernel you just posted works for me (not surprisingly, on raph100)
22:27.28j0b0good evening
22:28.20NetRipperok
22:28.28NetRipperj0b0, can you check the last patch
22:28.32NetRipperand see if im missings omething?
22:28.52NetRipperhttp://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.25
22:29.12NetRipperi recall you made some modifications in keypad.c, maybe i still had an old version
22:31.20j0b0will check, but it seems everything works. up/down=menu/back, turns landscape when i slide out the keyboard, does not have the power button spoof it (which it shouldnt so thats good)
22:32.54maejrep<cr2> maejrep[w]: the LSB for i2c means read/write <-- yeah, I noticed that when reading i2c-msm.c
22:33.38NetRipperok
22:33.48j0b0in board_raphael.c, init_keypad() is called (int ffa) but in keypad.c its (void) .. a copy/paste leftover *blush*
22:34.06NetRipperoops
22:34.11NetRipperdidnt notice that
22:34.36j0b0it must be mine
22:35.02Mullinsdcordes: you there?
22:35.03NetRipperyes i took it without thinking ;)
22:35.20cr2maejrep: what do you think about creating a proc_comm_dex(void *in, void *out) ?
22:35.23j0b0it doesnt hurt but its wrong
22:35.51cr2maejrep: i want to sort out the vregs
22:36.44maejrep<cr2> void *in, void *out <-- it's not data1 and data2, like trout?
22:36.47NetRipperj0b0, i'd have expected the linker to complain to be honest
22:36.52Mullinsmaybe someone can help. I am using the tslib ts_print_raw to display the touch screen events. Touching the screen it shows no input, UNLESS I also press a key and hold it down on the keypad, then ts_print_raw will display the touch screen info. Like its waiting for the key event too
22:37.17maejrepmaejrep, what would be the difference with _dex?  just renaming it?
22:37.21maejrepwtf
22:37.26cr2maejrep: no, the cmd is included in *in
22:37.31maejrepdid I just address myself? :(
22:37.36NetRippermaejrep, lol
22:37.37maejrepthat was for you :p
22:37.54maejrepcr2, ahh, I see
22:38.24cr2maejrep: and the void * depends on the number of params
22:38.41cr2the wiki entries like 2= :)
22:39.57tmztMullins: what keypad?
22:40.06NetRippercr2, so how would a call look like?
22:40.19NetRipperand does it replace proc_comm_wince?
22:40.31maejrepint cmd = 0x17; msm_proc_comm_dex(cmd, 0); ?
22:40.36dcordesMullins: yes
22:41.03maejrepor would you just want to pass the constant to *in, and have the function cast it to int
22:41.06cr2NetRipper: the void * will be replaced by the appropriate struct
22:41.37cr2(DEX_1_PARAM) in.cmd=0x17;
22:41.43NetRippercr2, for the out part?
22:41.53cr2proc_comm_dex(in,out);
22:42.09cr2the out is not necessary for the most commands
22:42.24cr2but i guess for the RTC call you need some output
22:42.42cr2so it's only necessary to declare the right structs
22:42.54NetRippercr2, hm, so arm9 will read pointers?
22:43.06maejreplol
22:43.23NetRipperdidnt expect it to work like that
22:43.24maejrepNetRipper, the code reads the value from memory then stuffs it into your out param
22:44.02NetRippermaejrep, right, so you pass a struct and arm9 will fill it
22:44.35Mullinstmzt: the Kaiser keypad
22:45.00tmztis kaiser using one input device or two?
22:45.05cr2NetRipper: no, it's just the API
22:45.09tmztand can you run evtest on the ts input device?
22:45.28cr2NetRipper: arm9 only needs the data at right 0x1f SMEM locations
22:45.41Mullinstmzt: touchscreen0 -> event0 so event0 is ts events only?
22:46.05tmztcat /sys/class/input/*/name
22:46.41NetRipperim really confused.. i'd need to see a full example to get it i think.. as long as you and maejrep understand ;)
22:46.41cr2NetRipper: i think that a wince-compatible api is better than some magic binary constants at $random places
22:46.42maejrepright, so the struct is only used by the proc_comm code, which copies the values to smem
22:46.45Mullinsdcordes: the ts works in ts_print_raw but only if I hold down a key on the keypad
22:48.06cr2NetRipper: ok, i'll try to write more extensive docs
22:50.00NetRippercr2, so what maejrep is correct?
22:50.21maejrepcr2, so any thoughts what I'm doing wrong with gpio 27's irq? :)  It's active-low, so in windows when pressing a key, it goes high to low, then pulled high again.  but in linux, it never goes high again
22:51.01Mullinstmzt: kaiser-ts and kaiser-kbd are cat/sys/class/input/*/name. I will check the keyboard to see what is happening differently from our ts driver
22:51.15NetRippercr2, maejrep to configure the irq in linux, do you use gpio_configure?
22:51.29maejrepI tried that, but I also used just request_irq
22:51.32*** join/#htc-linux nebi (n=nebi@170.ftth2.cust.fyrobs1.upps.se.borderlight.net)
22:52.00NetRipperyou first gpio_configure then request_irq
22:52.00dcordesMullins: does the ts work in android? maybe we destroyed something in git
22:52.11Mullinsdcordes: fine in Android yeah
22:52.17maejrepright, I tried that, but it didn't change
22:52.28NetRipperi.e. gpio_configure(23, IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING); and to get the irq nr for request_irq() you do MSM_GPIO_TO_INT(23)
22:52.39maejrepi mean, it set the registers based on how i configured it .. but it didn't affect behavior
22:52.47maejrepright :P
22:53.21NetRipperi first made the mistake to also do MSM_GPIO_TO_INT for gpio_configure ;)
22:53.21maejrepits not a matter of triggering, its that the gpio itself (and thus irq as well) is never returned to its normal state after firing once
22:53.37maejrepit triggers fine .. the first time
22:53.41NetRipperok
22:53.44maejrepbut after that, its never active again
22:54.17NetRipperhave you tried setting it to high again manually?
22:54.18tmztis there a pull-up pull-down like on the mddi i2c?
22:54.20tmztmdp
22:54.42maejrepthere is no way I've found to set the input.  I did try setting OE and set the output, but that didn't change it
22:55.01cr2maejrep: what is gpio configure ?
22:55.15maejrepyou mean what are the values of the registers at the time?
22:55.22cr2maejrep: is the gpio_alt_conf ported from vogue already ?
22:55.30maejrepI don't think so
22:55.40maejrepbut gpio_configure works on my device
22:55.57NetRippercr2, gpio_configure is already working
22:55.58cr2it's a core msm7x0xX function, which androids have hidden behind the PCOM*TLMM*
22:56.04maejrepthat is, if I pass IRQF_TRIGGER_RISING|IRQF_TRIGGER_FALLING, it sets the EDGE register correctly
22:56.28cr2maejrep: you need to set the ALT value properly to have an irq
22:56.36cr2it's documented in wiki
22:56.40cr2value=3
22:57.14tmztis that the same as the touchscreen problem?
22:57.28tmztthat the irq won't trigger
22:57.47maejrepcr2, +0x414      ALT_FN(Config2)   ?
22:59.16maejrepand do we have to notify the arm9 after setting those (like for proc comm)?
22:59.50NetRippertmzt, touchscreen problem is a normal irq.. this is about gpio irq.. i think ts irq has something to do with having to notify touchscren somewhere that we handled the irq.. although.. i donte ven get it fired the first time ;)
22:59.54maejrepI've traced proc comm in haret, and didn't see any activity during keypress, so i at least know its not something it has to do at each fire
23:00.25cr2maejrep: check the gpio_func() in the vogue tree
23:00.27tmztso it's really that g1 doesn't use the msmts at all?
23:00.36tmztwe don't have code for it
23:00.48cr2keyboard is i2c, is have nothing to do with proc_comm
23:01.06maejrepI don't see gpio_func :x
23:01.15cr2maejrep: try the functions mentioned in the RaphaelDEX descrioption
23:01.50cr2maejrep: will you see a proc_comm action on the SD insert ? on the wifi on /off ? on the bt on/off ?
23:01.59cr2hm, or do you have a diam ?
23:02.06maejrepi have raph
23:02.07maejrep800
23:02.29maejrepand yes i see proc comm activity
23:02.43maejrepie, turning the camera on and off, I see activity with 0x15 and 0x16
23:02.46cr2ok, so you have an sd
23:02.51maejrepyes
23:03.05cr2yes, i've seen the wiki docs
23:03.17cr2but it may be PMDH related
23:03.21cr2or the LCD
23:03.24tmzt15 and 16 are vreg proc_comm's?
23:03.33tmztfor camera, at least in wiki
23:03.43cr2yes, "generic" vreg calls
23:03.58tmztand what is 0x9?
23:04.10cr2tmzt: for some reason wince uses only this one, not the single funcs
23:04.42cr2tmzt: look at hte RaphaelDEX wiki page
23:05.54tmztI see, I had those backwards
23:06.18tmztdo 15 and 16 take bit offsets or sequential integers?
23:06.32*** join/#htc-linux exco (n=exco@e181117142.adsl.alicedsl.de)
23:06.40tmztI mean bit values
23:07.10cr20x9 ?
23:07.42tmzt0x8/9 are pmic cam on/off, I assume those take no parameters
23:08.08maejreptmzt, appears to be bitmask
23:08.34tmztso there are 32 vregs?
23:08.53cr2tmzt: in the current g1 code yes
23:08.56tmztincluding the ones cr2 listed that don't have dedicated proc_comm's known
23:09.04cr2but the older versions had more
23:11.39cr2maejrep: it's necessary to find the mapping between the 0x15/16 bitmask ands the plain text names used by spl and g1
23:12.09tmztis there danger in disabling vregs?
23:12.27cr2tmzt: in theory
23:12.33tmztlike ruim1/2 on a raph to see if gsm stops working, or rx/tx
23:12.49tmztraph100 I mean
23:12.56cr2tmzt: the naming is a bit strange
23:13.19tmztit's the sim standard for cdma, qualcomm uses it for some reason
23:13.20cr2that's why i'm confused
23:13.23tmztor
23:13.41cr2wtf is ruim2 ?
23:13.50tmztR-UIM
23:13.56tmztuser identity module
23:14.03cr2ok
23:14.15maejrepnever heard that with sprint :x
23:14.19cr2but it still does not say anything about voltage
23:14.24cr23.3V ?
23:14.29tmztthey don't use it, it's only in some indian phones
23:15.00tmzthttp://en.wikipedia.org/wiki/R-UIM
23:15.13cr2because wifi uses RUIM2
23:15.25cr2afair
23:15.35cr2but it's easy to trace
23:15.37tmztcould it need more power than the SDHC vreg can provide?
23:15.55tmztso they could just be using it as an AUX
23:16.12cr2SDHC power != SD(HC) card power
23:16.26tmztoh, yeah host controller
23:16.39cr2"SDHC power" is for the host controller operation
23:17.00cr2the card tells you through CID/CSD what it needs
23:17.40cr2but the host itself needs to be powered first
23:18.05cr2maejrep: do you see 15/16 activity on SD in/out
23:18.06maejrepcr2, any idea why the numbers listed in RaphaelDEX as "0x8a" and "0x8b" for get battery data and id don't actually return data?
23:18.19maejrepoh sorry, i'll check
23:18.36cr2maejrep: i'm not sure about the *out layout
23:18.48cr2for 0x8a and 0x8b
23:19.33maejrepI was tracing +0x00, 04, 08, 0c, 20, 24, 30, 34, 28, 38
23:19.36cr2some data is stored in SMEM directly, asnd it'd documented on the diamond page
23:19.57maejrepsome of those were from the trout proc comm, and the rest from the smem wiki docs
23:20.05maejrepand I didn't see any output
23:20.15maejrepso, if it just stores it elsewhere that'd make sense
23:20.21cr2forget about trout proc comm :)
23:20.30cr2it's completely incmpatible
23:20.37maejrepI noticed ;p
23:22.17cr2and many other trout* things are completely irrelevant
23:22.43cr2let's finish witht hr SDHC vreg
23:24.23maejrepcr2, yes I do
23:25.27maejrep0x800000
23:26.01cr2ok
23:26.28cr2btw, can you trace the 'setlcd' for lcd on/off ?
23:26.40maejrep0xe?
23:26.50cr2i think bt and wifi are also interesting
23:27.27maejrepfor some reason, pressing the power button is interrupting my haret session :|
23:27.42tmztover wifi?
23:27.50maejrepover rndis
23:29.04cr2hehe
23:29.57j0b0the power button is gpi 83
23:30.23maejrepwas looking for lcd power proc comm
23:31.50j0b0you have to let it time out then :)
23:32.13maejrepwould it keep the usb session alive if it times out rather than turning off?
23:33.53cr2listen 9998
23:34.05cr2telnet ip 9998
23:34.13cr2setlcd 1
23:34.16cr2setlcd 4
23:34.28cr2or 0, i don't rememebr#
23:34.44maejrepah
23:38.56maejrep0x400000 and 0x4000
23:39.14tmztmddi and lcd?
23:39.54maejrepthat was off
23:39.59maejrepturning on is more interesting
23:41.06maejrephmm, actually what's weird is it calls 0x1a which is set voltage.  but then it doesn't pass any data to it other than the same ID
23:41.15cr2there was a bt on/off command, but it's not in mainline haret afaik
23:41.36maejrepbut its the same ids
23:41.40cr2hm, interesting
23:41.42*** join/#htc-linux chab7 (n=kvirc@212.92.4.114)
23:41.56maejrepturning on it does 0x1a for id 400000 and 4000, then 0x15 for the same
23:43.07maejrephmm, turning bluetooth on does not show any proc comm activity
23:43.44maejrepADM_AARM and UART2DM_RX irqs fire a lot, but that's it
23:43.47cr2wifi is on ?
23:44.16cr2they may share some voltage sources
23:44.29maejrepsame turning off
23:44.35maejrepno wifi is not on
23:44.40cr2maejrep: add this data to wiki
23:44.41maejrepPhone and Data Connection are
23:44.41cr2ok
23:45.09tmztis bluetooth in the soc?
23:45.16tmztOlipro said it was
23:45.45maejrepcr2, what about the 400000 id that is already there for "2.5V VDDIO CAM" ?
23:47.04cr2tmzt: brf6350
23:47.14cr2maejrep: it's from CIF.dll
23:47.28maejrepheh hmm...  I just hit turn off data connection while tracing, and it froze the phone :p
23:47.31cr2maejrep: i guess it
23:47.39cr2s just 2.5V source
23:48.30maejrepit should know that turning off data does not mean turn off usb :P
23:49.25cr2hm
23:49.26tmztcr2: I mean is it in the same chip package as the msm?
23:49.28excoMullins: just fyi - I just tried it - you can edit the partitions on your (micro)SD card using WM5torage and Ubuntu
23:49.42cr2you can use wifi, and trace the usb vreg
23:49.52cr2tmzt: no, it
23:50.05cr2's a separate chip from TI
23:50.12cr2tmzt: bt+fm+rds
23:50.29tmztdoes the fm work?
23:50.38cr2tmzt: there is a 2page doc at TI site
23:50.56cr2tmzt: if you'll send the right .bts commands it should work
23:52.57Mullinsexco: might try it then, thanks
23:55.44excoMullins: you can always ask me if it doesn't work the way you want it to
23:56.00maejrepraph800 doesn't have fm
23:56.09tmztwhat bluetooth does it have?
23:56.37maejrepTI BRF6350BL
23:57.01maejrepaccording to the sprint touch pro block diagram
23:59.04*** join/#htc-linux n3tim (n=netim@201.82.18.39)
23:59.37cr2maejrep: it's in the bt chip. but maybe they have not wired it

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