00:00.10 | Cobain | hmm we are going on a couple of mins |
00:00.37 | mdrobnak | hmm |
00:00.43 | mdrobnak | do you see a glowing android? |
00:00.46 | Cobain | no |
00:00.54 | mdrobnak | Hmm.. Thats not good. |
00:01.10 | NetRipper | mdrobnak, http://irclog.iclem.net/?chan=htc-linux |
00:01.14 | NetRipper | real time log |
00:01.51 | mdrobnak | Awesome, thanks. |
00:08.29 | BabelO | miknix: compiling ? |
00:09.24 | *** join/#htc-linux konsta (n=asds@host81-154-247-76.range81-154.btcentralplus.com) |
00:10.22 | j0b0 | :) im being pretty successful putting lavender.t's gpio findings in halibut_keypad |
00:11.26 | lupine_85 | so that gets the keys on the front of the raph & diamond working? |
00:11.40 | j0b0 | yes. |
00:11.54 | j0b0 | just cant tell ome from send or back from end |
00:12.01 | j0b0 | *home |
00:12.22 | miknix | BabelO, no, have an exam tomorrow |
00:12.33 | BabelO | miknix: ok |
00:12.37 | miknix | are you? |
00:12.55 | BabelO | i try to understand how it work, but the tty_struct miss the flip now |
00:13.09 | miknix | I have that one ported |
00:13.15 | BabelO | and flip is replaced by two new struct with new name inside :( |
00:13.19 | Heema | Hii all, just wanted to say gr8 job so far and keep it up :) |
00:13.23 | miknix | lemmi pastebin |
00:17.13 | BabelO | if i ve not too much work tomorrow i try to quickly compile sound :) |
00:18.13 | Cobain | okay so when i run ./init.android it shouldnt say ext2-fs error should it? |
00:21.56 | Cobain | it looks like a loop warning |
00:22.29 | Cobain | it passes that and then something about not being able to play the startup sound.. then that its in legacy mode.. then black screen and nothing |
00:25.47 | miknix | BabelO, http://pastebin.com/d54892be5 |
00:35.25 | BabelO | good night |
00:47.35 | maejrep | <lavender-t> using columns: 40, 41, 42, rows 32, 33, 34, 35 <-- I got the same thing. also noticed the navi issue -- that's because there's only 4 buttons on the main panel of the navi: left side, right side, and D-up/D-down |
00:47.46 | maejrep | you have to use the navi touch sensor to figure out whether it was HOME or SEND, and BACK or END |
00:49.24 | maejrep | and right now we don't know where the navi capacitive sensor gets it data |
00:49.48 | maejrep | but we'll most likely need to do the same for the keyboard it seems.. unless we discover a new gpio bank (or egpios or get alt functions to work properly) |
00:50.38 | mdrobnak | j0b0: I was reading about the front panel keys...Where are we on the actual keyboard> |
00:50.48 | maejrep | HOME/SEND/LEFT and BACK/END/RIGHT are all the same physical buttons, generating the same gpio combinations |
00:50.59 | maejrep | mdrobnak, raph or diam? |
00:51.05 | mdrobnak | maejrep: raph |
00:51.16 | maejrep | yeah, that's what i was just talking about |
00:51.19 | maejrep | we're pretty much clueless |
00:51.40 | mdrobnak | Is there any way to spy in WinMo what's going on? |
00:51.41 | maejrep | I know the irq when sliding out the keyboard, and the gpio for turning on the backlight |
00:51.46 | maejrep | sure, with haret |
00:51.56 | maejrep | but haret isn't listening to the right places by default |
00:52.09 | mdrobnak | .. and we don't know where to look |
00:52.10 | mdrobnak | ? |
00:52.11 | maejrep | we'd have to find where that data is being accessed from first, then make haret listen for it |
00:52.13 | maejrep | right |
00:52.19 | mdrobnak | Fun. :-/ |
00:52.29 | j0b0 | mdrobnak, im just finishing up the driver for the front panel and volume buttons |
00:52.30 | maejrep | reverse engineering ftw ;) |
00:52.41 | mdrobnak | Is there any way to decompile the keyboard driver? |
00:52.43 | maejrep | j0b0, heh nice, I was about to write that :p |
00:52.48 | j0b0 | the slide out keyboard seems completely different |
00:52.57 | maejrep | mdrobnak, I have an assembly dump that ... someone made (sorry, can't remember who) |
00:53.04 | maejrep | lupine_85 |
00:53.19 | maejrep | but its kinda difficult to make heads or tails of it thus far |
00:53.19 | mdrobnak | But then I guess it comes down to interpreting all the ARM instructions |
00:53.36 | maejrep | yep, my guess is there's a memory address clue somewhere in the asm |
00:53.41 | mdrobnak | I've only done x86 and 8051 assembly :-) |
00:53.47 | maejrep | just need to sift through it (its >1MB of assembly) |
00:54.10 | maejrep | it would surely be in initialization of the dll, so it shouldn't require sifting through the entire thing |
00:54.15 | maejrep | just need to find the time to look |
00:54.51 | maejrep | but right now, I'm gonna eat :) |
00:55.00 | mdrobnak | I'm here to test, but my coding isn't great.. |
00:55.13 | *** join/#htc-linux silven (n=zmc@64.209.10.12) |
00:55.16 | mdrobnak | When food calls, it's hard to ignore :-) |
00:55.54 | silven | I'm looking for the cardid of my mini-sd card, get in /sys it doesn't appear. Is there another place it might be? |
00:57.41 | maejrep | what type of card id? |
00:58.08 | silven | it's usually in /sys/class/mmc_host/mmc0/cid |
00:58.43 | silven | but the problem is the cardreaders that I have acess to atm just see it as a scsi device and don't use the linux mmc subsystem |
00:58.44 | maejrep | if its what I'm thinking of, my card is detected as id "1234", so I don't know if its going to be correct |
00:59.00 | silven | I don't think so, it's longer than that. |
00:59.08 | maejrep | then I don't know |
00:59.10 | maejrep | why do you need it? |
00:59.48 | silven | the eol bootloader uses a varient of the cardid, processed through an algorithm to sign the bootloader code so the hardware bootloader will run it. |
01:00.32 | silven | That wasn't very eloquent. I hope you understand. |
01:00.49 | Cobain | any idea why when i do an ./init.android it spits out two lines about not finding the mp3 for the startup sound and then about running in legacy code.. then goes black screen with the keyboard.. and after about 5 mins the phone reboots |
01:00.52 | silven | It's like crypograhically signing the first few bytes of the sd cad. |
01:00.53 | mdrobnak | silven: What device, out of curiousity? (Sorry, I don't know the answer) |
01:00.55 | maejrep | yeah I think I do, but I have no idea |
01:00.56 | maejrep | sorry |
01:01.13 | mdrobnak | Cobain: mp3 error is normal.. |
01:01.19 | mdrobnak | But the rest is not. |
01:01.34 | silven | mdrobnak : htc wizard, and I think typhoon, elf, touch and a few others might have the same bootloader. |
01:02.37 | maejrep | silven, what would a normal card id look like? |
01:02.59 | maejrep | and can you get it from the phone when you're in linux? |
01:03.12 | silven | 008600f7ba0c41804732305553445303 |
01:03.30 | Jerry507 | That's really long |
01:03.33 | silven | I can't now, but I think I just remembered a way. |
01:03.57 | silven | There's a program that I can run in wm5 to unregister the slot. |
01:04.06 | silven | I think that will let me see it in linux. |
01:04.34 | silven | I'm sorry I bothered you guys, It's been months since i've touched this. (linwiazrd) |
01:04.40 | silven | linwizard rather. |
01:05.08 | silven | I've been working on getting some patches for the omap850 cleaned up and booting for mainline. |
01:05.25 | *** join/#htc-linux bimboy (n=larryn@pool-70-22-245-240.bos.east.verizon.net) |
01:05.28 | silven | if anyone comes in asking for omap850 devices, you can send them over to #linwizard. |
01:06.14 | Cobain | rild uses 32 bapabilities (legacy support in use) |
01:06.23 | Cobain | then black screen |
01:07.32 | mdrobnak | Cobain: Yes, seen that too. |
01:07.43 | mdrobnak | But the Android logo should pop up next |
01:08.14 | mdrobnak | j0b0: Nice (referring to xda-dev) :-) |
01:08.46 | mdrobnak | is still reading irc logs from earlier today |
01:09.35 | dream_kill | hi guys |
01:09.48 | dream_kill | about findgind the gpio mappings |
01:09.56 | dream_kill | i was disam the oemsb from the radio |
01:10.08 | dream_kill | seems the mappings of the gpio is defined in there |
01:10.32 | maejrep | and you saw the "dump gpio configuration" string? :p |
01:11.09 | dream_kill | Config GPIO |
01:11.39 | maejrep | I couldn't find out how to get into the oemsbl of my phone to issue the 'gpio' command |
01:12.09 | maejrep | I can get to the main bl, the radio bootloader, and the AT interpreter, but not the oemsbl |
01:13.12 | dream_kill | did u enter : getgpio ? |
01:13.18 | maejrep | no |
01:13.22 | dream_kill | uset |
01:13.24 | dream_kill | use |
01:13.29 | dream_kill | getgpio |
01:13.46 | dream_kill | need security unlocked for this to work |
01:13.54 | maejrep | I have HSPL |
01:14.01 | dream_kill | No HSPL |
01:14.10 | maejrep | but I didn't see a "getgpio" in my spl dump |
01:14.13 | dream_kill | in HSPL it shows security unlock on top ? |
01:14.20 | maejrep | or maybe I did |
01:14.21 | maejrep | yes |
01:14.26 | dream_kill | what handset? |
01:14.30 | maejrep | it showed that before I flashed HSPL too |
01:14.34 | maejrep | raph |
01:14.44 | dream_kill | u have raphdiag? |
01:15.00 | maejrep | whats that? :p |
01:15.06 | dream_kill | ok u don't @D |
01:15.12 | *** part/#htc-linux silven (n=zmc@64.209.10.12) |
01:15.12 | dream_kill | 2 sec |
01:15.28 | maejrep | is it an app? |
01:15.38 | dream_kill | task a think is radio bl |
01:15.42 | dream_kill | or task b |
01:15.44 | maejrep | right |
01:15.47 | maejrep | I was able to do that |
01:15.52 | maejrep | but then the gpio commands didn't work |
01:15.56 | dream_kill | ok entere in RAIDO bootloader |
01:16.01 | dream_kill | and there type |
01:16.04 | dream_kill | getgpio! |
01:16.08 | dream_kill | no ! |
01:16.09 | maejrep | hmm |
01:16.25 | maejrep | is that for getting a single gpio value, or does it dump the registers? |
01:16.51 | dream_kill | i'm still disam right now :D |
01:17.01 | maejrep | from which phone? |
01:17.06 | dream_kill | raph :D |
01:17.59 | *** part/#htc-linux Heema (n=weechat@217.139.52.101) |
01:18.05 | maejrep | ah |
01:18.13 | maejrep | hmm, ipaq is failing now >:| |
01:18.56 | dream_kill | ? |
01:20.07 | dream_kill | 0x12 - Valid charger status |
01:20.08 | dream_kill | :D |
01:20.20 | dream_kill | 14 Invalid charger status |
01:20.40 | dream_kill | 0x16 Valid USB charger |
01:20.55 | dream_kill | 0x18 Invalid USB Charger |
01:21.16 | dream_kill | tells u anything :P ? |
01:22.00 | lupine_85 | pong? |
01:22.31 | maejrep | lupine_85, sorry, was just recalling your nick, re the asm you provided of the keyboard drivers |
01:22.39 | lupine_85 | I have disassembled an entire function :D |
01:22.48 | maejrep | as in decompiled? |
01:22.56 | lupine_85 | erm, yeah, decompiled |
01:23.03 | lupine_85 | I'm working on the I2C driver at the moment |
01:23.06 | maejrep | hmm, I need to reboot I think |
01:23.18 | lupine_85 | as it seems unlikely the higher-level drivers will have hardware details |
01:23.28 | lupine_85 | so I2C_Init has been decompiled into sort-of C |
01:23.33 | maejrep | ipaq 1-5:1.0: PocketPC PDA converter detected |
01:23.33 | maejrep | ipaq: probe of 1-5:1.0 failed with error -5 |
01:23.35 | lupine_85 | only took 4 hours :D |
01:23.44 | maejrep | heh nice |
01:23.50 | mdrobnak | lupine_85: Cool |
01:23.51 | lupine_85 | (ones in the future should be faster, since i'm learning more about ARM asm as I go) |
01:23.59 | mdrobnak | I was going to ask... |
01:24.04 | mdrobnak | do you guys do ASM all the time or? |
01:24.15 | maejrep | dream_kill, i'm gonna try that once I fix my kernel |
01:24.19 | mdrobnak | Are you looking up commands as you go :-D |
01:24.20 | maejrep | can't get a ttyUSB0 currently |
01:24.38 | lupine_85 | kind of. It's the conditionals that are the bitch |
01:24.43 | lupine_85 | and no, hardly ever |
01:25.17 | lupine_85 | and never ARM assembly before |
01:26.37 | mdrobnak | Interesting |
01:27.08 | dream_kill | mmm |
01:28.16 | dream_kill | seems i found where it blockes the full ram access :P |
01:28.25 | dream_kill | 0xa9000000 |
01:28.42 | dream_kill | So u can't overwrite the spl in ram :D |
01:31.02 | *** join/#htc-linux maejrep (n=madcoder@c-71-225-238-170.hsd1.pa.comcast.net) |
01:33.08 | maejrep | dream_kill, I get "Invalid cmd!..." with getgpio |
01:33.33 | maejrep | i get the feeling i'm in the wrong bootloader |
01:34.09 | dream_kill | try ? |
01:34.18 | dream_kill | type |
01:34.19 | dream_kill | ? |
01:34.21 | dream_kill | and enter |
01:34.24 | dream_kill | what u get? |
01:34.46 | maejrep | same, which is why i think i'm in the wrong bootloader |
01:35.00 | maejrep | I can run commands like echo_on, rversion, etc |
01:35.12 | dream_kill | getgpio |
01:35.19 | maejrep | heh |
01:35.19 | dream_kill | u need to run like |
01:35.30 | dream_kill | getgpio gpio |
01:35.36 | dream_kill | and it will tell u value |
01:35.39 | maejrep | even with the password it doesn't work |
01:36.38 | dream_kill | u sure ur phone is security unlocked? |
01:37.04 | dream_kill | what task u used? |
01:37.15 | lupine_85 | Who'd like to see I2C_Init then? :) - not that it's very enlightening |
01:37.22 | richp3 | hey guys |
01:37.50 | maejrep | dream_kill, rtask a |
01:37.50 | richp3 | im trying to compile the kaiser kernel |
01:37.55 | richp3 | but i get an error during compile |
01:38.04 | maejrep | lupine_85, www.privatepaste.com :p |
01:38.06 | dream_kill | let me connect my raph |
01:38.15 | lupine_85 | http://www.lupine.me.uk/01:38 < maejrep> lupine_85, www.privatepaste.com :p |
01:38.15 | richp3 | this is my error log: http://paste-it.net/raw/public/iaf2db6 |
01:38.15 | lupine_85 | 01:38 < dream_kill> let me connect my raph |
01:38.20 | lupine_85 | whoops |
01:38.22 | dream_kill | as mine is secirotu unlocked |
01:38.35 | lupine_85 | http://www.lupine.me.uk/OEM_Misc.pseudo-c |
01:38.48 | maejrep | rversion |
01:38.48 | maejrep | HTC_BOOT V2.6024 |
01:39.00 | lupine_85 | Next is Deinit then the various functions called by each of those |
01:39.01 | maejrep | mine says "Security Unlocked" at the top |
01:39.06 | maejrep | running SPL-0.25.CMONEX |
01:39.18 | lupine_85 | if that yields nowt fun, we'll do Read followed by IOControl |
01:39.45 | *** part/#htc-linux exco (n=exco@e181085040.adsl.alicedsl.de) |
01:40.15 | maejrep | dream_kill, http://forum.xda-developers.com/archive/index.php/t-369760.html |
01:40.16 | lupine_85 | (and it's HLOCAL I2C_Init - not void I2C_Init. d'oh!) |
01:40.19 | maejrep | I've already tried those commands |
01:41.00 | lupine_85 | stupid spaghetti code |
01:41.16 | lupine_85 | at least I can recognise some of the 'big' commands now |
01:41.18 | maejrep | hmm, "pmic_vib_on" and off work |
01:41.57 | maejrep | hmm, maybe it is not security unlocked, even though it says it is at the top |
01:42.37 | bimboy | you would have SPL-1.90.Olinex if it were sec unlocked |
01:43.26 | maejrep | i'm sure that's device specific |
01:43.37 | richp3 | do u guys know why its erroring out during compile for me? |
01:44.28 | maejrep | richp3, did you make the correct config? |
01:44.55 | maejrep | ie, make htckaiser_defconfig |
01:45.05 | richp3 | yeah |
01:45.07 | richp3 | thats what i used |
01:45.12 | richp3 | http://paste-it.net/raw/public/iaf2db6 |
01:45.15 | richp3 | thats the error log |
01:45.24 | maejrep | try removing zImage from the make line |
01:45.29 | richp3 | make htckaiser_defconfig ARCH=arm is what i typed inside the kernel folder and i got no errors |
01:45.30 | maejrep | just make ARCH=... |
01:46.09 | richp3 | looks about the same |
01:46.16 | richp3 | i can upload it tho if u want |
01:46.55 | dream_kill | i need a mfg one |
01:47.01 | dream_kill | as mine seems not has rtask :P |
01:47.08 | maejrep | that's about the extent of what I think could be causing the problem |
01:47.14 | maejrep | dream_kill, yeah you need MFG 0.25 |
01:47.16 | maejrep | well |
01:47.19 | maejrep | for CDMA raph |
01:47.23 | dream_kill | aaa |
01:47.25 | *** join/#htc-linux BHSPitLappy (n=BHSPitLa@unaffiliated/bhspitmonkey) |
01:47.26 | maejrep | if its GSM, you'll need another one |
01:47.29 | richp3 | http://paste-it.net/raw/public/k8944ff/ |
01:47.32 | dream_kill | is gsm :D |
01:47.38 | maejrep | yeah not sure then |
01:47.51 | maejrep | is there a security unlocker for raph? |
01:47.58 | maejrep | its not the same as supercid right? |
01:49.43 | richp3 | is there a command where in git where i can just redownload all the files again? and overwriten the current ones? |
01:50.00 | maejrep | did you make any changes? |
01:50.18 | maejrep | try: make clean |
01:50.29 | maejrep | then make ARCH=... (without "zImage") |
01:51.05 | richp3 | k |
01:51.50 | maejrep | dream_kill, do you know what that means? :x |
01:52.00 | richp3 | make clean didn't error out but the make ARCH=... w/o the zimage didn't work |
01:52.37 | lupine_85 | ah, that was easy. But uninformative :D |
01:54.36 | richp3 | <PROTECTED> |
01:55.14 | maejrep | well, run git status |
01:55.31 | maejrep | it'll tell you if there are any modified files |
01:56.15 | bimboy | ahhh maejrep, you said raph earlier, and i thought gsm.. my bad |
01:56.19 | richp3 | ok its running, and so if there is, can i just tell git to go back to the originals? |
01:56.29 | maejrep | if so, you can reset with "git reset --hard" and you can update the code with latest head via git pull |
01:56.44 | maejrep | bimboy, is there a "security unlocker" for gsm raph? |
01:57.07 | bimboy | yes, you PM Oli on xda |
01:57.08 | maejrep | I have hardspl, but my understanding was that that's different from "security unlocked" |
01:57.12 | bimboy | 1 sec getting url |
01:57.21 | maejrep | but not for cdma? |
01:58.12 | bimboy | it's def not for cdma tho |
01:58.30 | bimboy | http://forum.xda-developers.com/showthread.php?t=410150 is thread for GSM sec unlocker |
01:59.22 | richp3 | k i typed git reset --hard i got Checking otu files 100% done |
01:59.33 | maejrep | yeah that looks like hard-spl, which I said I already have :/ |
01:59.46 | maejrep | I'm able to enter the radio bootloader (rtask a), which is not possible with the stock spl |
01:59.50 | richp3 | HEAD is not at 1082670 htckaiser: RTC Driver ported from HTC vouge, then i did git pull and then it says already upto date |
02:00.15 | bimboy | then you're unlocked |
02:00.16 | maejrep | try git reset again |
02:00.33 | lupine_85 | Seems you don't read, write, open or close I2Cs |
02:00.33 | maejrep | bimboy, so why don't I have access to the other commands in the bootloader? :/ |
02:00.37 | lupine_85 | you powerup and powerdown, and iocontrol |
02:00.40 | lupine_85 | "yay" |
02:01.01 | maejrep | bimboy, e.g., http://forum.xda-developers.com/showthread.php?t=369760 |
02:01.21 | maejrep | I can run the commands listed under "on a standard device", but not under "on a security unlocked device" |
02:02.04 | richp3 | it didn't check out any files the seecond time, and just said head is not at xxx htckaiser... right away |
02:02.23 | maejrep | i'd suggest starting over then :/ |
02:02.35 | mdrobnak | lupine_85: Don't you love when people come up with new syntax for the heck of it hehehe |
02:02.36 | maejrep | sounds like your git is corrupt somehow |
02:03.57 | richp3 | so i should delete the kernel folder? |
02:05.47 | lupine_85 | mdrobnak: oh, absolutely |
02:06.05 | lupine_85 | on the bright side, I now have 7 decompiled functions |
02:06.14 | lupine_85 | even if 5 of them are almost-stubs :D |
02:06.18 | mdrobnak | I was just about to try NetRripper's latest kernel, but my phone rang |
02:08.58 | mdrobnak | lupine_85: So that's all I2C related functions, right? |
02:09.04 | lupine_85 | Aye |
02:09.10 | lupine_85 | just the init and deinit have actually been real so far |
02:09.17 | lupine_85 | PowerUp looks like it does some stuff |
02:09.23 | maejrep | orly |
02:09.24 | maejrep | :p |
02:09.27 | lupine_85 | :p |
02:09.33 | lupine_85 | I'll upload it once I've decompiled it |
02:09.44 | maejrep | would really like to be able to get this :/ |
02:10.25 | maejrep | in my dump of spl, I see: **********Dump device GPIO configuration********** |
02:10.34 | maejrep | but have no idea what generates it |
02:13.32 | *** part/#htc-linux mdrobnak (n=mdrobnak@pool-96-232-187-37.nycmny.fios.verizon.net) |
02:13.38 | *** join/#htc-linux mdrobnak (n=mdrobnak@pool-96-232-187-37.nycmny.fios.verizon.net) |
02:13.39 | mdrobnak | Oops. |
02:13.59 | mdrobnak | http://www.netripper.com/raphael/20090401_zImage_git-01 |
02:14.15 | mdrobnak | In that image, does it have the volume key mapped to "End" ? |
02:14.19 | mdrobnak | Does anyone know? |
02:19.05 | richp3 | i only have a kaiser |
02:19.18 | richp3 | hey netripper do u have just a raph? |
02:20.12 | dream_kill | where did u get ur mfg from? |
02:20.25 | lupine_85 | gah; 'tis playing musical registers with me |
02:25.58 | mdrobnak | richp3: Netripper is very much asleep :-) |
02:26.09 | mdrobnak | richp3: And yes, he has a Raph / Touch Pr |
02:26.12 | mdrobnak | *Touch Pro |
02:29.27 | maejrep | dream_kill, ppcgeeks |
02:29.36 | dream_kill | got a link ? |
02:30.27 | maejrep | http://forum.ppcgeeks.com/showthread.php?t=42503 |
02:30.38 | maejrep | i got the 0.25 MFG |
02:30.45 | maejrep | but you can't flash that on your phone |
02:30.47 | maejrep | its for CDMA |
02:32.28 | mdrobnak | Uh, has anyone noticed that the RTC on the latest kernels are..broken? |
02:32.35 | mdrobnak | (on RAPH) |
02:32.48 | lupine_85 | cripes, that's a lot of unnamed functions |
02:33.06 | mdrobnak | How many? |
02:33.26 | lupine_85 | I didn't bother counting :p |
02:33.40 | mdrobnak | That many, eh? |
02:33.47 | lupine_85 | I2C_PowerUp is definitely making something happen, though |
02:34.03 | maejrep | mdrobnak, i think it hasn't worked ever actually |
02:36.29 | *** join/#htc-linux br1ck_ (n=br1ck@xdslca243.osnanet.de) |
02:36.56 | mdrobnak | No, I have gotten stuff twhere's it's said like 12:16 AM or something |
02:37.03 | mdrobnak | it's been stuck on 12:01 for over 20 minutes. |
02:41.32 | lupine_85 | Q: is the msm7500 different to the msm7201 ? |
02:41.46 | lupine_85 | or are they symonyms? |
02:45.23 | tmzt | yes, there different. the 72xx are gsm and the 75xx are cdma |
02:45.35 | mdrobnak | A note for NetRipper: .status_irq is not me :-) |
02:45.59 | lupine_85 | ho de hum. I'm in an internal function called I2C_HWPower_7500 |
02:46.07 | lupine_85 | I'll see what it turns up, I guess |
02:46.32 | mdrobnak | They're similar though right? |
02:46.38 | tmzt | yeah |
02:49.14 | lupine_85 | if(sub_10012534(0x40, 0x40000000) != 0) NKDbgPrintfW("Diable I2C clock.") |
02:49.22 | lupine_85 | (sub_10012534 seems to be a function like log_level or something) |
02:52.13 | lupine_85 | ooh, then we get constants |
02:54.35 | lupine_85 | And *even more* of them |
02:54.37 | lupine_85 | looks good |
02:55.42 | lupine_85 | I have to work out what they're doing, though.... |
02:55.47 | lupine_85 | *sigh( |
02:55.50 | lupine_85 | bed time for me |
02:56.45 | mdrobnak | night |
02:57.06 | mdrobnak | I'm getting a headache just trying to keep up with everything over the last few days |
02:58.57 | maejrep | lupine_85, i think even the 7200 phones use the "PM7500" |
02:59.06 | maejrep | which would explain HWPower_7500 :p |
02:59.46 | maejrep | lupine_85, that sub_10012534() looks like writel() |
03:00.16 | maejrep | hmm, maybe not |
03:03.15 | lupine_85 | maejrep: http://www.lupine.me.uk/OEM_Misc.decompile.lst and http://www.lupine.me.uk/OEM_Misc.pseudo-c are my as-of-now listings |
03:03.56 | lupine_85 | following the call trace to its conclusion where I am with I2C_PowerUp gets me to sub_10012F40 which is what I waas ooooooooing over |
03:06.09 | lupine_85 | 0xA8081000 0xCF00000 0xB2F00854 0xC0000020 0xC0000024 0xB2F0081C 0xB2F00818 and similar constants are all int'rusting |
03:06.15 | lupine_85 | really -> sleep now |
03:09.53 | mdrobnak | Interesting... |
03:10.05 | mdrobnak | Kernel posted by Jobo... |
03:10.10 | mdrobnak | - No safe mode flag |
03:10.18 | mdrobnak | and clock "seems" to be running right |
03:10.23 | mdrobnak | (sort of) |
03:11.25 | mdrobnak | Never mind. It's definitely been more then 60 seconds. |
03:13.08 | *** join/#htc-linux jerry507_mac (n=jerry507@jsmac.student.iastate.edu) |
03:13.09 | mdrobnak | Anyone know where the soft keyboard config is in Cupcake? |
03:17.40 | *** join/#htc-linux Kuma (n=John@g227113011.adsl.alicedsl.de) |
03:21.35 | mdrobnak | And no, clock is broken in this kernel too. |
03:22.01 | mdrobnak | If we had a menu key, it'd be halfway usable, as broken as it is :-) |
03:22.18 | mdrobnak | j0b0 did a good job |
03:22.21 | maejrep | hmm, nice lupine_85 |
03:22.32 | maejrep | I'll try to dump those registers to see if they're really that interesting :P |
03:27.04 | mdrobnak | Wow, that definitely sucks without the original names... |
03:27.10 | mdrobnak | makes it hard to figure out whats going on |
03:27.26 | lupine_85 | is having a pain sleeping :p |
03:27.41 | lupine_85 | you can find a bunch of the original names in the debug information |
03:28.04 | lupine_85 | Any sub_1xxxxxxx functiosn with NKDbgPrintfW statements are game to be figured out |
03:28.27 | mdrobnak | Ah I see |
03:28.31 | lupine_85 | (e.g. sub_1000DDD0 has to be called I2C_HWPower_7500) |
03:28.40 | mdrobnak | cause the Debug print statement gives the name away |
03:28.51 | mdrobnak | .. sometimes |
03:29.12 | lupine_85 | quite :D |
03:29.34 | lupine_85 | it's not so bad... i've seen worse |
03:30.39 | mdrobnak | I think it is time for me to start getting ready for sleep as well, 10:30 PM here..back to work as of today :-/ |
03:34.24 | lupine_85 | heh. 03:34 here and I have work today :D |
03:35.00 | mdrobnak | lol |
03:36.54 | lupine_85 | luckily, my work are very lax |
03:39.14 | *** join/#htc-linux Unregistered (n=Unregist@c-67-164-195-234.hsd1.ut.comcast.net) |
03:39.47 | mdrobnak | Well thats good |
03:39.59 | mdrobnak | Somehow I assume you're in some sort of IT or developer position |
03:40.04 | lupine_85 | heh, yes |
03:40.11 | lupine_85 | work for a little company called Bytemark |
03:40.17 | lupine_85 | mostly ruby development :D |
03:40.54 | mdrobnak | Ruby is the in thing right now eh? |
03:41.04 | lupine_85 | well, "we've" been using it for years |
03:41.36 | lupine_85 | I've been patching up ancient rails applications to defossilize them, mostly |
03:41.39 | mdrobnak | I mean, it's like what PHP was years ago, except, better. lol |
03:41.54 | lupine_85 | hehe |
03:42.46 | maejrep | heh our shop is php :p |
03:43.11 | mdrobnak | I wrote a bunch of stuff in php back in college... |
03:43.19 | mdrobnak | I had a time-tracking app that I wrote |
03:43.31 | mdrobnak | Using wonderful DB queries like "select * from tablename" |
03:43.32 | mdrobnak | lol |
03:43.52 | mdrobnak | Needless to say as time went on, my SQL got better. |
03:46.58 | mdrobnak | all right everyone. see ya sometime tomorrow. |
04:06.16 | maejrep | a8081000 == "driver_globals, DEX'd" |
04:08.41 | maejrep | 0xB2F00854 is GPIO out5_en |
04:09.14 | maejrep | c00000000 is "VIC" on the wiki .. doesn't show what +x20 is |
04:11.50 | maejrep | heh |
04:14.33 | maejrep | reading c0000020 in haret freezes the phone :) |
04:19.32 | richp3 | hey maej |
04:19.38 | richp3 | what r u trying to get to work? |
04:20.44 | maejrep | keyboard |
04:20.52 | richp3 | for ralph? |
04:20.59 | maejrep | yes |
04:21.16 | richp3 | do u think this work will translate to the kaiser? |
04:21.21 | richp3 | or different hardware? |
04:21.29 | maejrep | different hardware |
04:21.32 | maejrep | doesn't the kaiser already work? |
04:21.35 | richp3 | darn |
04:21.39 | richp3 | no |
04:21.57 | richp3 | well yes for v0.8 but not for v1.0 |
04:21.58 | maejrep | whats the board-htckaiser-keypad driver then? @_@ |
04:23.04 | richp3 | well it works fine on v0.8 but i think on the version dcordes or someone comiled for v1.0 has extremely limited functionality |
04:23.09 | richp3 | r u asking me for the file? |
04:23.54 | richp3 | imo i think it just needs a recompile with the right file but im reinstalling the OS right now |
04:24.05 | maejrep | lupine_85, .text:1000E88C LDR R2, =0xAA0FC100 <-- that's PC_COMMAND (proc_comm) |
04:44.28 | richp3 | hey maej |
04:44.32 | richp3 | im getting another compile error |
04:44.37 | richp3 | this is a clean install |
04:45.00 | richp3 | http://www.paste-it.com/view/raw/2176358 |
04:45.42 | richp3 | towards the bottom |
04:49.30 | tmzt | richp3: did you get that to compile? what kernel is it? |
04:49.43 | richp3 | no i didn't |
04:49.47 | richp3 | kaiser kernel |
04:50.22 | tmzt | but it's pre-2.6.28? |
04:50.36 | richp3 | is that a problem? |
04:50.51 | tmzt | no, if it wasn't it would explain your earlier error message |
04:51.31 | tmzt | what compiler are you using? |
04:51.45 | tmzt | (looking at the last paste) |
04:51.48 | richp3 | im just following the instructions here |
04:51.49 | richp3 | http://forum.xda-developers.com/showthread.php?t=396782&page=19 |
04:52.01 | richp3 | exception is instead of 2008-q1 i used q3 |
04:52.06 | richp3 | so im gonna try q1 right now |
04:52.17 | tmzt | do that, it looks like q3 is broken |
04:52.22 | richp3 | ok |
04:53.01 | richp3 | do u have a kaiser too? |
04:54.52 | tmzt | no |
04:54.59 | tmzt | dcordes does |
05:03.39 | richp3 | success |
05:03.47 | richp3 | q1 worked |
05:04.57 | richp3 | zImage is ready |
05:49.39 | *** join/#htc-linux mickey (n=mickey@e180180023.adsl.alicedsl.de) |
05:53.16 | *** join/#htc-linux goxboxlive (n=goxboxli@mail2.hjellnesconsult.no) |
06:32.50 | *** join/#htc-linux workkaze_ (n=kaze@ABordeaux-152-1-5-4.w82-125.abo.wanadoo.fr) |
06:42.06 | *** join/#htc-linux kimhoon (n=kimhoon@s559116c1.adsl.wanadoo.nl) |
06:54.13 | *** join/#htc-linux Shadow____X (n=Shadow__@c-24-0-8-231.hsd1.nj.comcast.net) |
06:55.58 | *** join/#htc-linux PoohbaLT (n=Poohba@c-98-235-66-242.hsd1.nj.comcast.net) |
06:57.47 | *** join/#htc-linux lpotter (n=ljp@58.173.176.153) |
07:00.18 | *** join/#htc-linux pleemans (n=toi@116.54-246-81.adsl-static.isp.belgacom.be) |
07:00.24 | *** join/#htc-linux BHSPitLappy (n=BHSPitLa@adsl-70-243-200-223.dsl.rcsntx.swbell.net) |
07:09.43 | *** join/#htc-linux tekkdrone (i=tekkdron@72.183.115.231) |
07:33.54 | *** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz) |
07:45.19 | *** join/#htc-linux pichurri (n=pichurri@users3.ilo.org) |
07:46.28 | *** part/#htc-linux evocallaghan (n=edward@blastwave/maintainers/evocallaghan) |
07:51.45 | maejrep | so I know why proc comm doesn't work |
07:54.36 | maejrep | it's waiting for MDM_STATUS to become PCOM_READY, but MDM_STATUS is listed as being related to the battery, not proc comm |
07:57.09 | tekkdrone | odd, being that the name is rather descriptive |
07:57.40 | maejrep | well, those are code constants, and the wiki says that register is for battery |
07:57.54 | maejrep | 01ffc100 | 00000000 00000000 000001a9 000001a9 | ................ |
07:57.55 | maejrep | 01ffc110 | fd35712c 00000000 00000001 00000000 | ,q5............. |
07:58.07 | maejrep | ffc110 is supposed to be MDM_STATUS according to pcom |
07:58.11 | maejrep | (the code) |
07:58.26 | maejrep | but that's not the case here |
07:58.53 | maejrep | i know vogue has a different proc comm implementation, so I'll have to look at that |
07:59.21 | tekkdrone | even though I'm sticking on Apache dev for now, I do have a raph500 available for occasional testing |
07:59.23 | tekkdrone | just a heads up |
07:59.31 | maejrep | cool |
08:00.03 | maejrep | but even the status constants don't match what haret is showing in a trace |
08:00.18 | tekkdrone | ouch, where does that leave you? |
08:00.56 | maejrep | having the rewrite proc_comm for our devices :p |
08:01.13 | maejrep | http://www.privatepaste.com/5bKXPSFilj |
08:02.23 | maejrep | COMMAND (fc100) gets reset to 0, but the code is waiting for 1, and i'm still not exactly sure what the commands are (since those are different as well...) |
08:02.34 | maejrep | I always see those 2 commands at 10s intervals |
08:02.50 | maejrep | it does 8a, then 8b, within 1ms |
08:03.17 | maejrep | but the command enum is not that large |
08:03.28 | maejrep | only has about 40 commands, 0-based |
08:05.49 | tekkdrone | I have no useful input, I haven't been following you as closely as tmz and dcor |
08:06.26 | tekkdrone | any idea what sets ffc110 to PCOM_READY? |
08:07.51 | tekkdrone | or I suppose it wouldn't have much bearing if the constants are different |
08:10.05 | maejrep | pretty sure its the chip that would handle it :) |
08:10.14 | maejrep | it resets it to 0 after the command finishes |
08:10.24 | *** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net) |
08:27.57 | NetRipper | mdrobnak, no that git does not have end key mapped, as it isn't in git yet (refer to http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.25) |
08:29.28 | goxboxlive | hi BabelO. Happy new year btw |
08:31.14 | *** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbf9bf4.pool.einsundeins.de) |
08:47.07 | *** join/#htc-linux timebomb (n=tb@e176106056.adsl.alicedsl.de) |
08:52.17 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d87de04.pool.einsundeins.de) |
08:57.04 | *** join/#htc-linux nebi (n=nebi@170.ftth2.cust.fyrobs1.upps.se.borderlight.net) |
09:05.30 | maejrep | hmm, well that test didn't work |
09:09.57 | maejrep | 4am :( i need to stop doing this |
09:10.16 | jerry507_mac | It's a bad habit that is hard to break |
09:10.29 | tcccp | 1010am here ;) |
09:13.03 | *** join/#htc-linux DasFx (n=John@dasfx-lptp.euronet.nl) |
09:13.40 | jerry507_mac | I'm an hour behind maejrep so I've got an hour before I start to feel bad :) |
09:21.59 | maejrep | so proc_comm doesn't die anymore |
09:22.10 | maejrep | still working out kinks, but that's a plus ;x |
09:23.35 | NetRipper | maejrep, how do you mean "doesn't die anymore"? |
09:23.40 | NetRipper | i.e. you can read the status? |
09:23.46 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d87de04.pool.einsundeins.de) |
09:23.58 | maejrep | yeah i can read everything fine, its the status that isn't successful |
09:24.08 | maejrep | [ 0.430000] msm_proc_comm: pcom ready, cmd=1e |
09:24.08 | maejrep | [ 0.430000] msm_proc_comm: command sent, serial=7b |
09:24.08 | maejrep | [ 0.430000] msm_proc_comm: notified proc... |
09:24.08 | maejrep | [ 0.430000] msm_proc_comm: proc responded, status=21e |
09:24.17 | maejrep | i would expect status to be 11e |
09:25.02 | NetRipper | aha but it is responding accordingly? i.e. you're using the correct addresses? :) |
09:25.08 | maejrep | (current code says status=4 means failure, but our proc comm implementation is very different) |
09:25.14 | maejrep | yeah |
09:25.26 | NetRipper | ok |
09:25.33 | maejrep | my haret traces show communication every 10 seconds |
09:25.47 | maejrep | http://www.privatepaste.com/5bKXPSFilj |
09:26.02 | NetRipper | proc_comm is dependent on the modem part on the arm9 side i believe, and the g1 modem firmware is _very_ different from ours |
09:26.05 | maejrep | but you can't use the existing code as is |
09:26.09 | maejrep | right |
09:26.28 | maejrep | the memory offsets are very different, and the commands and statuses are different as well |
09:26.41 | maejrep | so we really don't know what any of the commands are at this point ;s |
09:27.01 | NetRipper | perhaps we can reverse engineer the commands from wince |
09:27.05 | NetRipper | winmo* |
09:27.26 | NetRipper | and commands may be similar to vogues |
09:28.38 | maejrep | so, app (ie kernel) sets command in fc100 and increments the serial at fc108, then triggers the A2M interrupt. proc updates status (fc104) to (0x100 | cmd), sets resp_number (fc10c) to match the serial from fc108 and sends M2A interrupt |
09:29.37 | maejrep | then for some reason, the app removes cmd from status register (so its 0x100), then sets it to 0 |
09:30.34 | maejrep | will need to wait for a command that actually uses proc_comm data to know where that falls in the sequence |
09:31.37 | NetRipper | in your traces you mean? |
09:31.52 | maejrep | right |
09:32.07 | maejrep | this paste has 2 command sequences |
09:32.09 | NetRipper | could it be some sort of reset, as your serial doesn't match up from the last one used in winmo? |
09:32.15 | maejrep | commands being 8a and 8b |
09:32.31 | maejrep | that paste is old |
09:32.42 | maejrep | the dmesg was new |
09:33.00 | maejrep | so it might get reset on reboot |
09:33.21 | NetRipper | oh ok i thought serial was some sort of increment to prevent 'missed messages' kinda idea ;) |
09:33.30 | NetRipper | bad assumption :) |
09:34.12 | maejrep | hmm, its hung again |
09:34.23 | maejrep | last boot it continued after the 10s timeout |
09:34.37 | NetRipper | hung device or proc_comm? |
09:34.57 | maejrep | the device is hung, no doubt waiting on proc_comm |
09:35.10 | maejrep | doesn't make sense |
09:35.13 | NetRipper | waiting on proc_comm it should timeout after 10 sec |
09:35.20 | maejrep | right |
09:35.21 | NetRipper | and produce a message |
09:35.39 | maejrep | well, in the previous code, it would just enter an infinite loop with the "goto again"s |
09:35.54 | NetRipper | yes but produce a printk() every time |
09:36.09 | maejrep | i don't get passed fb console handover |
09:36.42 | NetRipper | while proc_comm is hanging other threads are doing almost nothing |
09:36.50 | NetRipper | so it may take a long time before fb is inited |
09:37.11 | NetRipper | you can change a kernel option to make druidu's boot console work longer |
09:37.17 | NetRipper | so you can see what happens |
09:38.21 | NetRipper | under system type -> boot console for htc phones -> disable the 'use console only during boot' |
09:38.27 | NetRipper | that way it wont hand-over |
09:38.27 | *** join/#htc-linux dcordes_ (n=dcordes_@unaffiliated/dcordes) |
09:38.41 | NetRipper | but can conflict with msm_fb once it gets inited |
09:38.49 | dcordes_ | hi |
09:38.54 | NetRipper | you'll notice graphical glitches when that happens ;) |
09:38.56 | NetRipper | hi dcordes |
09:39.28 | dcordes_ | hows it going? |
09:41.52 | NetRipper | erm, what specificaly? :p |
09:42.32 | NetRipper | jobo and lavender seem to get keypad working, although limited (not reading the touch x/y).. maejrep is working on proc_comm |
09:43.28 | maejrep | yeah my current navi keypad is just printing random numbers (i didn't feel like actually finding the right KEY_ constants :p) |
09:44.32 | NetRipper | oh you've been working on it as well then :) |
09:48.21 | *** join/#htc-linux dariball_ (n=dariball@p4FDC44C0.dip.t-dialin.net) |
09:50.09 | maejrep | yeah just to free up the gpios that the halibut keypad was using |
09:50.38 | maejrep | that was why I couldn't get the sd slot irq :x cause halibut-keypad was already using it |
09:51.46 | *** part/#htc-linux a_n_o_d (n=alex@bzq-219-143-35.static.bezeqint.net) |
09:51.51 | maejrep | hmm, i'm not seeing A2M being triggered in haret, during proc_comm commands |
09:53.07 | dcordes_ | maejrep are you looking at the correct a2m location? |
09:53.22 | dcordes_ | maybe on 800 it's different? |
09:53.48 | maejrep | 0xc0100400 +0x20 |
09:54.03 | maejrep | none of the other interrupts have been different |
09:54.03 | NetRipper | what is a2m/m2a? app to modem and vice versa? |
09:54.07 | maejrep | yeah |
09:54.20 | maejrep | so m2a triggers fine and I see it in haret |
09:54.45 | maejrep | but proc_comm.c writes 1 to INT_A2M_6, to tell the proc that the command is ready |
09:55.46 | dcordes_ | maejrep so it's irqs activated on every transport of data via smem? |
09:56.22 | maejrep | hrm? |
09:56.39 | dcordes_ | I don't understand thef unction of a2m |
09:56.42 | dcordes_ | m2a |
09:56.42 | maejrep | anything that uses proc comm i would guess |
09:56.54 | maejrep | a2m is when the OS wants the kernel to process a command |
09:57.00 | maejrep | when it's finished processing, it triggers m2a |
09:57.06 | dcordes_ | only for poc_comm? |
09:57.14 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d87de04.pool.einsundeins.de) |
09:57.20 | maejrep | well, for anything that talks to the modem I guess :) |
09:57.24 | dcordes_ | ah |
09:58.16 | maejrep | why can't stuff "just work"? :P |
09:58.52 | dcordes_ | because halibut amss is too different |
10:02.30 | NetRipper | if you dont see it happen in haret, maybe its just not needed.. it may poll for commands instead of waiting for irq |
10:08.39 | maejrep | would be nice if haret could hook a dll and trace what memory that dll accesses :p |
10:24.41 | *** join/#htc-linux banesi (n=banesi@nat193035.telenor.co.yu) |
10:29.32 | maejrep | http://privatepaste.com/b51Az3S8Ru |
10:29.37 | maejrep | that's kind of unusual |
10:31.47 | maejrep | it sets command to 16, then resets command to 116, sets the serial, sets the data, and that's when proc comm takes over |
10:54.46 | *** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net) |
11:00.01 | NetRipper | maejrep, check out the msm_proc_comm_noirq_noa2m in vogue @ here (they are not using proc_comm.c at all): http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=blob;f=arch/arm/mach-msm/vogue-smd.c;h=61482d06cef55edbb5dc21423b09bd5721c9f84d;hb=refs/heads/htc-vogue |
11:00.11 | NetRipper | also no A2M |
11:01.23 | *** join/#htc-linux puregenius (n=dsa@brln-4d0cdae9.pool.mediaWays.net) |
11:09.35 | *** join/#htc-linux Czarnas (n=czarnas@imik.wip.pw.edu.pl) |
11:11.55 | lupine_85 | oh, I'm exhausted |
11:12.45 | NetRipper | you ought to get some sleep then |
11:13.16 | lupine_85 | I did :D |
11:13.20 | dcordes_ | that's dangerous. he could dream of asm |
11:13.30 | lupine_85 | now I have to go to work (11am here) |
11:17.47 | *** join/#htc-linux rubberducky (n=rubberdu@d54C2DAC3.access.telenet.be) |
11:17.51 | rubberducky | tzmt? |
11:17.56 | rubberducky | tmzt |
11:17.58 | rubberducky | :-) |
11:18.20 | *** join/#htc-linux stefan_schmidt (n=stefan@c120.apm.etc.tu-bs.de) |
11:22.05 | *** join/#htc-linux stefan_schmidt (n=stefan@c120.apm.etc.tu-bs.de) |
11:27.59 | rubberducky | anyone help me? |
11:36.30 | dcordes_ | rubberducky what do you need help with? |
11:36.44 | rubberducky | ah |
11:36.50 | rubberducky | i want to compile a driver for my blue angel |
11:36.54 | rubberducky | running GPE Angstrom |
11:37.00 | rubberducky | and tmzt told me to nstall |
11:37.01 | dcordes_ | ok |
11:37.06 | rubberducky | sourcery cross compiler lite |
11:37.08 | rubberducky | for arm |
11:37.11 | rubberducky | did that |
11:37.14 | dcordes_ | yea |
11:37.16 | rubberducky | and i compiled my kernel (zImage) |
11:37.25 | rubberducky | but i wouldn't know what to do next |
11:37.39 | dcordes_ | what driver do you need? |
11:37.40 | rubberducky | and tmzt is not here it seemd |
11:37.42 | rubberducky | seems |
11:38.06 | rubberducky | i want to compile a patched wireless driver for acx100 |
11:38.33 | *** join/#htc-linux Zinbolic (n=Zy@84.238.80.215) |
11:38.34 | dcordes_ | ok. do you use hh.orgt ree? |
11:38.40 | dcordes_ | tree |
11:38.49 | rubberducky | what is that? |
11:38.56 | rubberducky | ny kernel version is 2.6.21-hh20 |
11:39.02 | dcordes_ | handhelds.org kernel tree |
11:39.35 | dcordes_ | this has acx100. the question is, do the patches you have apply? |
11:39.47 | rubberducky | the thing is that i want to run aircrack |
11:39.55 | rubberducky | and i've downloaded acx100 drivers |
11:39.58 | dcordes_ | drivers/net/wireless/acx |
11:40.00 | rubberducky | and i've downloaded the patch |
11:40.14 | rubberducky | and i've already patched them |
11:40.21 | dcordes_ | ok |
11:40.23 | rubberducky | but i cant compile them on my phone because the kernel headers are missing |
11:40.29 | rubberducky | so it seems i have to cross compile on my laptop |
11:40.40 | rubberducky | but i've got no idea how that works... |
11:40.49 | dcordes_ | It hought you are cross compiling? |
11:41.06 | rubberducky | what? |
11:41.27 | rubberducky | i installed the cross compiler i think |
11:41.34 | rubberducky | and i compiled the kernel |
11:41.47 | rubberducky | but how do i compile my driver ? |
11:42.24 | dcordes_ | cross compiling means that compile host and target architecture are different. i.e. youd o not compile natively on the target(phone) |
11:42.37 | rubberducky | i know |
11:42.47 | rubberducky | so now i want to compile the wireless driver on my laptop |
11:43.52 | rubberducky | so now i've got the patched source of the drivers |
11:43.54 | rubberducky | on my laptop |
11:43.59 | rubberducky | and i want to use it on my phone |
11:44.02 | dcordes_ | where did you get the patch? airacrack-ng.org? do they say which kernl version can be used with the patch/driver combination you have? |
11:44.25 | rubberducky | patch is from the aircrack site |
11:44.50 | rubberducky | t works on kernels equal or greater than 2.6.10. |
11:45.04 | dcordes_ | good |
11:45.17 | dcordes_ | you could just put the driver in your kernel tree |
11:45.20 | rubberducky | http://www.aircrack-ng.org/doku.php?id=acx |
11:45.28 | rubberducky | what is my kernel tree? |
11:45.41 | dcordes_ | replacing the old drivers/net/wireless/acx100 directoy. |
11:45.55 | rubberducky | on my laptop or on my phone? |
11:45.57 | dcordes_ | the thing where you run make zImage |
11:46.02 | rubberducky | laptop |
11:46.35 | rubberducky | in the kernel26/net dir |
11:46.40 | rubberducky | there is no wireless dir |
11:47.05 | dcordes_ | drivers/net/wireless/acx100 directoy. |
11:47.18 | dcordes_ | kernel26/drivers/net/wireless/acx100 directoy. |
11:47.54 | rubberducky | do i just copy over every file? |
11:47.59 | rubberducky | uncompiled? |
11:48.42 | dcordes_ | no, you copy the entire directory |
11:48.50 | dcordes_ | delete the old one |
11:49.03 | rubberducky | its called acx |
11:49.05 | rubberducky | is that ok too? |
11:49.07 | rubberducky | not acx100 |
11:49.13 | dcordes_ | try |
11:49.31 | *** join/#htc-linux orux (n=jose@89.130.46.3) |
11:49.34 | rubberducky | i copied it over |
11:49.38 | rubberducky | what now? |
11:49.51 | dcordes_ | it might be better to apply the patch to the hh driver. |
11:50.00 | *** join/#htc-linux exco (n=exco@e181076145.adsl.alicedsl.de) |
11:50.24 | rubberducky | and after that? |
11:50.25 | dcordes_ | did you copy it to kernel26/drivers/net/wireless/acx |
11:50.30 | rubberducky | yes |
11:50.36 | dcordes_ | ok |
11:50.40 | dcordes_ | make modules |
11:50.43 | rubberducky | where? |
11:50.57 | dcordes_ | where your un make zImage |
11:51.00 | rubberducky | where i made zImage |
11:51.01 | rubberducky | ok |
11:51.08 | rubberducky | <PROTECTED> |
11:51.12 | rubberducky | that's what i ran |
11:51.16 | rubberducky | do i need the whole line |
11:51.21 | rubberducky | and replacd zImage with modules |
11:51.22 | rubberducky | or? |
11:51.23 | dcordes_ | in the root directory of the kernel you just copied you driver to |
11:51.35 | rubberducky | yes i'm there now |
11:51.37 | dcordes_ | you don't compile as root. |
11:51.48 | rubberducky | ok |
11:52.01 | rubberducky | but do i need the whole line? |
11:52.03 | rubberducky | ARCH=arm CROSS_COMPILE=/opt/arm-2008q1/bin/arm-none-eabi- make modules |
11:52.04 | dcordes_ | you can run make clean as root |
11:52.06 | rubberducky | or just make modules |
11:52.33 | dcordes_ | in case you built the zImage as root |
11:52.41 | rubberducky | i built it as rot |
11:52.42 | rubberducky | root |
11:52.46 | rubberducky | otherwise it says permission denied |
11:52.51 | rubberducky | and i fails |
11:53.04 | rubberducky | it* |
11:53.52 | rubberducky | and sudo ARCH=arm CROSS_COMPILE=/opt/arm-2008q1/bin/arm-none-eabi- make zImage worked perfectly |
11:54.01 | dcordes_ | that is likely because you have checked ou the kernel source or toolchain as root |
11:54.15 | rubberducky | then what do i do? |
11:54.17 | dcordes_ | you can just continue with sudo though |
11:54.21 | rubberducky | ok |
11:54.24 | dcordes_ | it is not preferred |
11:54.30 | rubberducky | and do i use htis command: |
11:54.34 | rubberducky | ARCH=arm CROSS_COMPILE=/opt/arm-2008q1/bin/arm-none-eabi- make modules ? |
11:54.45 | dcordes_ | yes |
11:55.08 | rubberducky | okay:-) that worked |
11:55.34 | rubberducky | what now?:-)? |
11:56.08 | dcordes_ | install the modules to your rootfs |
11:56.21 | rubberducky | how do i do that?? |
11:56.24 | dcordes_ | you do that with make modules install |
11:56.34 | dcordes_ | modules_install ? |
11:56.53 | dcordes_ | you need to tell make where your rootfs is |
11:57.02 | rubberducky | and how do i know that? |
11:57.06 | rubberducky | i'm now runnign the make inistall |
11:57.26 | dcordes_ | by passing an extra VAR |
11:57.47 | rubberducky | sorry? |
11:57.49 | dcordes_ | MODULES_INSTALL_PATH= |
11:58.17 | rubberducky | i'm already running ARCH=arm CROSS_COMPILE=/opt/arm-2008q1/bin/arm-none-eabi- make modules install |
11:58.20 | rubberducky | did i fuck it up? |
11:58.26 | *** join/#htc-linux a_n_o_d (n=alex@bzq-219-143-35.static.bezeqint.net) |
11:58.38 | dcordes_ | ls /lib/modules |
11:58.51 | rubberducky | on my phone or on my laptop? |
11:58.56 | lupine_85 | is starting to enjoy ARM assembly, weirdly enough |
11:58.57 | dcordes_ | and you will notice you jut installed the modules to / :) |
11:59.03 | lupine_85 | but today is Ruby day :D |
11:59.21 | dcordes_ | on your laptop |
11:59.48 | rubberducky | do i wait until compilation is finished? |
11:59.51 | rubberducky | or do i ctrl c.. |
11:59.59 | rubberducky | it's still running my ARCH=arm CROSS_COMPILE=/opt/arm-2008q1/bin/arm-none-eabi- make modules install command |
12:00.19 | rubberducky | now it's finished with errors? |
12:00.38 | rubberducky | rubberducky@rubberducky-laptop:~/Desktop/linux/kernel26$ ls /lib/modules |
12:00.38 | rubberducky | 2.6.27-7-generic 2.6.27-9-generic |
12:01.15 | dcordes_ | MODULES_INSTALL_PATH= |
12:01.36 | rubberducky | i just run that? |
12:01.41 | dcordes_ | or make wil try to install the moules in your / |
12:01.54 | dcordes_ | no you add it tot he above commandline |
12:02.02 | rubberducky | ok |
12:02.13 | rubberducky | now it's compiling again |
12:02.33 | dcordes_ | MODULES_INSTALL_PATH=/where/is/my/phone/rootfs |
12:02.37 | rubberducky | http://pastebin.com/m7a93ec34 |
12:02.50 | rubberducky | where is my phones rootfs? |
12:03.03 | dcordes_ | idk |
12:03.17 | dcordes_ | do you boot your blueangel from sd card? |
12:03.41 | rubberducky | yes |
12:03.43 | rubberducky | from sd |
12:03.52 | dcordes_ | the your rootfs is on sd |
12:03.59 | dcordes_ | so you insert the sd |
12:04.05 | rubberducky | in my laptop? |
12:04.38 | dcordes_ | in laptop |
12:04.38 | rubberducky | ok |
12:04.38 | rubberducky | and then? |
12:04.52 | rubberducky | i mount it? |
12:05.19 | dcordes_ | right |
12:05.24 | rubberducky | what partition? |
12:05.31 | dcordes_ | if your os doesn't automount it already |
12:05.31 | rubberducky | the ext3 one? |
12:05.37 | dcordes_ | check dmesg after inserting |
12:05.40 | dcordes_ | likely |
12:05.40 | rubberducky | no automount |
12:05.51 | rubberducky | theres mmcblk0p1 that's the vfat |
12:05.56 | rubberducky | theres mmcblk0p2 that's the ext3 |
12:06.02 | dcordes_ | if you only got vfat and ext2 on it, it's thee xt2 |
12:06.30 | rubberducky | mounted |
12:06.38 | dcordes_ | where? |
12:07.20 | rubberducky | ping/ |
12:07.25 | rubberducky | my connection failed |
12:07.32 | rubberducky | /mnt/card |
12:08.36 | dcordes_ | MODULES_INSTALL_PATH=/mnt/card |
12:08.56 | rubberducky | ok i't running |
12:08.57 | dcordes_ | add this to the sudo make modules_install cmdline |
12:09.12 | dcordes_ | this time you need to be # |
12:09.25 | rubberducky | http://pastebin.com/m6188b8a4 |
12:09.59 | rubberducky | ah runnign again |
12:10.03 | rubberducky | same errors |
12:10.24 | dcordes_ | tell me the commandline |
12:10.37 | rubberducky | sudo ARCH=arm CROSS_COMPILE=/opt/arm-2008q1/bin/arm-none-eabi- make MODULES_INSTALL_PATH=/mnt/card |
12:10.54 | dcordes_ | make what? |
12:11.08 | rubberducky | sudo ARCH=arm CROSS_COMPILE=/opt/arm-2008q1/bin/arm-none-eabi- make modules install MODULES_INSTALL_PATH=/mnt/card |
12:11.09 | dcordes_ | make modules_install |
12:11.10 | rubberducky | sorry wrong wone |
12:11.13 | rubberducky | ah _ |
12:11.20 | dcordes_ | yea iirc |
12:11.51 | rubberducky | now i get an assload of 'no such file or directory' errors |
12:12.28 | rubberducky | http://pastebin.com/m344948d0 |
12:14.52 | rubberducky | what did i do wrong? |
12:17.12 | rubberducky | ? |
12:18.17 | *** join/#htc-linux orux (n=jose@89.130.46.3) |
12:19.58 | rubberducky | dcordes? |
12:20.01 | *** join/#htc-linux the_fish (n=cruel1@p5491ED57.dip.t-dialin.net) |
12:22.58 | *** join/#htc-linux jerry507_mac (n=jerry507@12-226-245-130.client.mchsi.com) |
12:25.09 | rubberducky | ???????????????????????????/ |
12:25.41 | *** join/#htc-linux Guimli (n=guimli@ecu69-1-82-231-127-213.fbx.proxad.net) |
12:25.47 | Jerry507 | He probably got pulled away |
12:26.39 | the_fish | dcordes u there? |
12:27.25 | rubberducky | damn |
12:31.22 | *** join/#htc-linux radem205 (n=aaa@92-108-47-154.dynamic.upc.nl) |
12:31.34 | the_fish | rubberducky, still couldnt fix your problems? wow |
12:31.50 | rubberducky | no |
12:33.15 | rubberducky | can you helpme? |
12:37.25 | lupine_85 | rubberducky: do the files exist relative to your path? |
12:37.35 | rubberducky | what files? |
12:37.42 | lupine_85 | the ones is says are missing... |
12:38.12 | rubberducky | there is no crypto dir on my sd card partition |
12:38.13 | rubberducky | no |
12:38.35 | lupine_85 | no, relative to your path, where you are. not where you want the modules to be installed to. |
12:39.42 | dcordes_ | rubberducky sorry my friend, had some work to do |
12:40.02 | rubberducky | np |
12:40.11 | rubberducky | no in my kernel26 folder |
12:40.13 | rubberducky | there is no crypto |
12:40.54 | lupine_85 | use make modules modules_install ? |
12:41.55 | rubberducky | that seems to be doing some stuff |
12:42.14 | rubberducky | http://pastebin.com/m7fe148bb |
12:42.16 | rubberducky | error |
12:43.03 | dcordes_ | you already did build the modules |
12:45.15 | the_fish | rubberducky, sorry im pretty noobish at that stuff |
12:52.01 | the_fish | dcordes_ just a short question. what should i install now we stopped at the frameworkd bug... |
12:55.00 | dcordes_ | the_fish check yesterday's log |
12:55.13 | dcordes_ | right after you left |
12:55.37 | the_fish | ohh okay... umm what was the link for the logs? |
12:55.59 | the_fish | found them ;p |
12:57.30 | the_fish | kk i will do that now |
12:58.46 | rubberducky | hi |
12:59.14 | rubberducky | sorry had tot do some stuff |
12:59.17 | rubberducky | what did i do wrong? |
13:00.31 | rubberducky | i'm leaving now for about 30 minutes |
13:00.40 | rubberducky | could you tell me what i should do |
13:00.43 | rubberducky | and ill look at the logs |
13:00.49 | rubberducky | and ill be back in 30 |
13:12.59 | dcordes_ | the_fish make sure you opkg remove before. it's important |
13:20.11 | dcordes_ | the_fish works? |
13:39.28 | *** join/#htc-linux Zinbolic (n=Zy@84.238.80.215) |
13:49.01 | *** part/#htc-linux a_n_o_d (n=alex@bzq-219-143-35.static.bezeqint.net) |
13:51.08 | dream_kill | hi |
13:51.26 | dream_kill | had us seen Nav Debug Tool 1.7 ? |
13:51.53 | dream_kill | seems on raph the home button section is a touch sensitive :D |
13:52.47 | dream_kill | and is multitouch! |
13:59.54 | dcordes_ | ah my framework test bddy |
14:00.36 | dcordes_ | dream_kill you wanna try sms? |
14:00.58 | dream_kill | k |
14:01.26 | *** join/#htc-linux richp3 (n=someone@c-24-127-222-214.hsd1.fl.comcast.net) |
14:03.19 | *** join/#htc-linux pichurri (n=pichurri@users3.ilo.org) |
14:05.56 | *** join/#htc-linux rubberducky (n=rubberdu@83.101.2.93) |
14:06.02 | rubberducky | hi |
14:06.58 | rubberducky | help? |
14:10.18 | dream_kill | ? |
14:10.53 | dream_kill | i manageged to install a mfg for raph100 |
14:10.57 | rubberducky | herro |
14:11.15 | dream_kill | and issued the getgpio |
14:11.27 | dream_kill | but is just shows the status of them not mapping |
14:12.47 | dcordes_ | rubberducky sorry I lost track of the process after we successfully build the modules. wherea re you stuck now? |
14:12.56 | dcordes_ | dream_kill what's mfg? |
14:13.01 | rubberducky | we never built the modules i think |
14:13.10 | rubberducky | http://pastebin.com/m7fe148bb |
14:13.12 | rubberducky | that was the error |
14:13.38 | dcordes_ | dream_kill mfg-utils ? |
14:14.01 | dcordes_ | rubberducky can you describe what's in there please? |
14:14.12 | dream_kill | mfg spl |
14:14.22 | dream_kill | and mfg tools |
14:15.30 | rubberducky | on my laptop on the kernel26 dir? |
14:15.33 | rubberducky | or on the sdcard? |
14:16.25 | dcordes_ | rubberducky in the pastebin |
14:16.47 | rubberducky | WARNING: "usb_unlink_urb" [drivers/net/wireless/acx/acx.ko] undefined! |
14:16.56 | rubberducky | and WARNING: "readb" [drivers/net/wireless/acx/acx.ko] undefined! |
14:16.59 | rubberducky | and more lines like that |
14:17.10 | rubberducky | and at the end |
14:17.10 | rubberducky | # |
14:17.10 | rubberducky | make[1]: *** [__modpost] Error 1 |
14:17.10 | rubberducky | # |
14:17.11 | rubberducky | make: *** [modules] Error 2 |
14:17.22 | dcordes_ | ok |
14:17.48 | dcordes_ | warnings are not critical, errors are |
14:18.11 | rubberducky | ok |
14:18.21 | rubberducky | no errors till the last line |
14:18.27 | dcordes_ | but obviously your kernel lacks some stuff or has version mismatch of some stuff |
14:18.32 | dcordes_ | ALoGeNo ping |
14:18.50 | rubberducky | what? |
14:18.53 | dcordes_ | ALoGeNo can you help with acx patches for passive scanning? |
14:19.07 | rubberducky | the kernel i downloaded and compiled (zImage)? |
14:19.20 | rubberducky | are you here alogeno? |
14:19.25 | *** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde) |
14:19.39 | dcordes_ | rubberducky you might go back to the unmodified kernel26 on your laptop (restore old acx dir)a nd apply patch manualy |
14:19.57 | rubberducky | how do you apply a patch manually? |
14:20.08 | dcordes_ | my battery is close to empty |
14:20.43 | dcordes_ | rubberducky you patched the driver youc opied, didn't you? |
14:20.52 | rubberducky | yes |
14:20.55 | rubberducky | with patch command |
14:21.20 | dcordes_ | ok then do the same in kernel26 acx instead of acx from aircrck |
14:22.25 | rubberducky | ok |
14:22.37 | rubberducky | and hten try all the commands again? |
14:25.18 | *** join/#htc-linux Heema (i=d40cf804@gateway/web/ajax/mibbit.com/x-e233a5097b3f794c) |
14:33.11 | *** join/#htc-linux stefan_schmidt (n=stefan@c120.apm.etc.tu-bs.de) |
14:36.09 | *** join/#htc-linux piusvelte (n=chatzill@nat.philau.edu) |
14:39.49 | *** join/#htc-linux metter (n=metter@115-249.62-81.cust.bluewin.ch) |
14:52.44 | *** join/#htc-linux dante_ (n=dante@151.80.204.60) |
14:58.45 | *** join/#htc-linux MethoS- (n=clemens@host-091-097-244-220.ewe-ip-backbone.de) |
15:03.45 | *** join/#htc-linux orux (n=jose@89.130.46.3) |
15:12.02 | *** join/#htc-linux metter (n=metter@115-249.62-81.cust.bluewin.ch) |
15:12.41 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d87de04.pool.einsundeins.de) |
15:13.56 | orux | pichurri u there? |
15:14.06 | pichurri | yep |
15:14.07 | pichurri | hey there |
15:14.15 | pichurri | orux |
15:14.18 | orux | still working in blackstone? |
15:14.24 | pichurri | yep |
15:14.45 | orux | still problems with screen |
15:14.49 | pichurri | unfortunately I don't have experience on embedded |
15:14.53 | pichurri | yup |
15:14.54 | pichurri | why? |
15:14.58 | pichurri | any ideas? |
15:15.05 | pichurri | trying 2.6.27 thou... |
15:15.27 | pichurri | you have a blackstone? |
15:15.27 | orux | i m working in blackstone too |
15:15.31 | pichurri | and? |
15:15.38 | pichurri | how do you see it |
15:15.47 | orux | yes |
15:15.57 | pichurri | any suggestions, have you been able to ssh to it? |
15:16.13 | *** join/#htc-linux pleemans (n=toi@116.54-246-81.adsl-static.isp.belgacom.be) |
15:16.14 | orux | yes |
15:16.29 | orux | i have dump the fb0, and de image is ok |
15:16.42 | the_fish | dcordes, sorry i was afk for a whil |
15:17.22 | pichurri | how did you dump it? |
15:17.25 | *** join/#htc-linux exco (n=exco@e181076145.adsl.alicedsl.de) |
15:17.31 | orux | but the screen doesnt show the content of fb0 |
15:17.32 | pichurri | from haret? or lnx |
15:17.36 | pichurri | hum |
15:17.56 | pichurri | which base address do u have? |
15:18.21 | orux | dd if=/dev/fb0 of=dump.bin bs=768000 (from blackstone) |
15:18.31 | pichurri | ok |
15:18.43 | pichurri | gimp should open that? |
15:18.46 | orux | then i use fb2png to see the image in png format |
15:18.50 | pichurri | good |
15:18.57 | pichurri | thnx I'll test that |
15:19.10 | pichurri | so the problem is the panel reading the fb info? |
15:19.28 | orux | have you see haret log? |
15:19.28 | pichurri | yes |
15:20.23 | orux | show video phys FB=16044800 |
15:20.38 | pichurri | you know, haret outputs correctly to the screen even just before mmu_trampoline |
15:21.01 | pichurri | that is after Mach->hardwareShutdown() |
15:21.20 | the_fish | hmm got another error dcordes |
15:21.24 | pichurri | does haret does anything else before launching lnx? |
15:21.58 | the_fish | "Failed to handle dbus error: type: <class 'framewwok.resource.ResourceNotEnabled'> |
15:22.09 | the_fish | isnt that what i thought of? the phone is not enabled? |
15:22.46 | orux | raphael uses Video Phys FB=1686a000 |
15:23.11 | pichurri | orux, yes, its different, on the patch/zimage I posted, the base is changed |
15:23.33 | orux | ok |
15:24.01 | orux | i have test both, but the result is the same |
15:24.39 | pichurri | there is one part of the code of the first fb driver, that completely changes output...htc_fb_console_update in htc_fb_console... |
15:25.02 | pichurri | have you played with that file I think its the easiest to use for debuging, but I don't know what to do... |
15:25.17 | orux | i am looking for information about msm-7201a hardware processors, something similar to "PXA27x developers manual" from intel. |
15:25.29 | orux | is there this kind of information anywhere? |
15:26.02 | *** join/#htc-linux goxboxlive (n=goxboxli@24.84-48-212.nextgentel.com) |
15:26.21 | orux | i have work with pxa processors, but i dont know about msm |
15:26.57 | pichurri | guess not there won't be many detailed info on it, so we should probe... |
15:27.39 | orux | i am looking android-msm 2.6.27 |
15:28.50 | orux | there are changes, i dont know if the new kernel may help |
15:29.38 | pichurri | I'm hoping it does, I copiled for HALIBUT but haven't tested |
15:29.55 | pichurri | I think that's how it started with the diamond/raphael... |
15:29.56 | orux | i have, but doesnt work |
15:30.06 | pichurri | usb works? |
15:30.11 | pichurri | or nothing... |
15:30.13 | orux | no |
15:30.59 | orux | there are a lot of changes in halibut.c from 2.6.25 |
15:31.15 | the_fish | dcordes, u away again? okay |
15:31.22 | pichurri | true |
15:31.50 | orux | i dont know how activate usb "gadget" |
15:36.00 | pichurri | there was a modification on 2.6.25 from netripper I think...to the board file... |
15:36.31 | pichurri | http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=commitdiff;h=6dd4ca4878b7c2d8cacf09632fdc446851d4232b |
15:36.42 | pichurri | http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=commitdiff;h=df6bc3917c80b8e4e6d718d58e4ca227259a8408 |
15:37.14 | pichurri | sorry, now I'm at work...so can't test, tonight I'll work on it thou... |
15:38.01 | *** join/#htc-linux Spion (n=spion@unaffiliated/spion) |
15:41.28 | pichurri | let me know if you get somewhere |
15:42.54 | orux | ok, |
15:54.27 | *** join/#htc-linux GPFerror (n=gpferror@cpe-76-187-41-132.tx.res.rr.com) |
15:59.42 | *** join/#htc-linux Heema (n=weechat@217.139.57.79) |
16:06.02 | dcordes | the_fish: back |
16:06.23 | the_fish | dcordes, welcome back :) |
16:07.41 | pichurri | http://ieeexplore.ieee.org/xpls/abs_all.jsp?tp=&arnumber=4429268&isnumber=4429199 |
16:07.41 | pichurri | ? |
16:08.15 | the_fish | so what to do to fix this issue? |
16:08.22 | dcordes | the_fish: so you removed the frameworkd and frameworkd-config-shr packages and installed frameworkd-devel frameworkd-config-devel and it went fine? |
16:08.26 | dcordes | the install process |
16:08.28 | the_fish | yep |
16:08.32 | dcordes | good |
16:08.40 | dcordes | you need to set the serial port now |
16:08.45 | the_fish | but it still says "Resource not available" or something like that |
16:08.46 | the_fish | kk |
16:08.46 | dcordes | qualcomm_msm default is /dev/smd0 |
16:09.00 | the_fish | alright.... how to set that up? |
16:09.03 | dcordes | find / -name modem.py |
16:09.07 | the_fish | k |
16:09.13 | the_fish | gotta reboot into it first |
16:09.44 | dcordes | in the qualcomm_msm modem.py replace smd0 with ttyS0 |
16:09.49 | dcordes | or whatever your AT is |
16:09.50 | the_fish | kk |
16:11.13 | dcordes | dream_kill: http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.GSM.SMS.html;hb=HEAD#SendMessage |
16:13.12 | dream_kill | k |
16:13.13 | dream_kill | later today now not at home :D |
16:13.13 | dream_kill | in 1h |
16:13.50 | the_fish | dcordes, theres pretty damn many modem.py files |
16:14.13 | dcordes | there is only one in the qualcomm_msm directory |
16:14.45 | the_fish | yep i found it |
16:14.52 | dcordes | dream_kill: cool. we could also try using this with a gui |
16:14.56 | the_fish | but i gotta copy n paste it, no way to type that in |
16:15.07 | dcordes | why not? |
16:15.16 | dcordes | ah the path? use tab completion |
16:15.45 | dcordes | I find it unevitable on the small keyboards |
16:16.13 | the_fish | hmm |
16:18.13 | the_fish | its not able to open the file for some reason, strange |
16:18.21 | the_fish | nano keeps saying: "new file" |
16:18.34 | dcordes | the path might be nonexistent |
16:18.44 | the_fish | hmm im gonna check it once again. |
16:19.28 | the_fish | is it the one in /usr/lib/python2.5/*? |
16:20.30 | the_fish | okay got it |
16:20.39 | dcordes | /usr/lib/python2.5/site-packages/framework/subsystems/ogsmd/modems/qualcomm_msm/modem.py |
16:21.03 | the_fish | yep i edited it |
16:21.09 | the_fish | now launch the dialer? |
16:21.12 | the_fish | or reboot first? |
16:21.12 | dcordes | no |
16:21.22 | dcordes | make sure there are no python processes |
16:21.40 | dcordes | frameworkd -s ogsmd -d |
16:21.43 | the_fish | killall python? |
16:21.49 | dcordes | yes |
16:22.40 | dcordes | success? |
16:23.04 | the_fish | nope... still seems to cras |
16:23.33 | the_fish | debug console says DEBUG: Initiate Call |
16:23.36 | the_fish | but nothing happens |
16:23.54 | the_fish | now i cant ctrl+c it |
16:24.09 | the_fish | okay got it killed |
16:24.55 | the_fish | i'm pretty sure its because the phone still isnt enabled |
16:25.08 | the_fish | but i need to find out what the 2007 install does at bootup |
16:25.37 | dcordes | hm you think the driver sends some init sequence? |
16:25.49 | dcordes | afaik such things don't belong in the kernel |
16:26.19 | the_fish | yep i guess so because it shows that in dmesg |
16:26.19 | dcordes | can you show me your frameworkd logfile? |
16:26.25 | the_fish | on what install? |
16:26.32 | dcordes | the one you're on now |
16:26.34 | pichurri | orux, did you try to change the mtype? |
16:26.39 | the_fish | k sec |
16:27.11 | dcordes | it has info from you sim and stuff |
16:27.46 | the_fish | cat /var/log/ophonekit.log? |
16:27.49 | orux | pichurri, in 2.6.27 |
16:28.09 | dcordes | the logfile path is in your /etc/frameworkd.conf |
16:28.13 | the_fish | ohh k |
16:28.20 | pichurri | orux, yep/... |
16:28.34 | orux | what mtype? |
16:29.14 | the_fish | dcordes, it shows that at the ogsmd part btw: "ti_calypso" |
16:29.17 | the_fish | isnt that wrong? |
16:29.24 | pichurri | orux, halibut's, 1439 |
16:29.33 | pichurri | orux, ...testing |
16:29.44 | the_fish | it says log to: "syslog" |
16:29.46 | orux | ok, try.. |
16:30.07 | dcordes | ah the install overwrote your config |
16:30.38 | the_fish | yes |
16:30.42 | dcordes | so interesting enough the ti_calypso modem does at least initialize in frameworkd-devel |
16:30.43 | the_fish | seems so :p |
16:30.50 | the_fish | hmmm |
16:31.01 | the_fish | well i gotta brb short, just a sec |
16:31.11 | dcordes | as opposed to just erroring out on starting frameworkd with the non devel version |
16:33.26 | the_fish | by the way |
16:33.34 | the_fish | how to start a ssh server? |
16:33.46 | lupine_85 | generally these things use dropbear |
16:33.47 | the_fish | because its really hard to type all that stuff in all the time |
16:34.18 | dcordes | the_fish: as lupine says, angstrom has dropbear instead of openssh-server |
16:34.22 | the_fish | lupine_85, you mean maybe the command to enable phone has to do with dropbear? |
16:34.30 | the_fish | ohhh lol. |
16:34.33 | dcordes | the_fish: it should be running on bootup |
16:34.35 | pichurri | orux, didn't work...I've had the same behavior when messing with the fb base (virtual) address |
16:34.45 | lupine_85 | /etc/init.d/dropbear start if it's installed and not running |
16:36.42 | pichurri | there are different chips compatible with mddi, there should be documentation on mddi.... |
16:37.15 | orux | pichirri, stop on "Go go go", no usb |
16:37.55 | orux | i think it needs a lot of work |
16:37.57 | the_fish | how to connect on dropbear? |
16:38.18 | dcordes | ssh <hostname> ? |
16:38.26 | the_fish | hmmmm |
16:38.52 | the_fish | ahh now it worked :) |
16:39.07 | orux | better back to 2.6.25, looking below fb |
16:40.40 | the_fish | hm so what should i do now? the init script for the phone part doesnt seem to be in /etc/rc* |
16:41.04 | dcordes | can you pastebin your frameworkd.config ? |
16:41.13 | the_fish | crap just rebooted again |
16:41.23 | the_fish | its just the old one again afaik |
16:41.32 | the_fish | with the ti_calypso and such |
16:41.37 | *** join/#htc-linux Dubbeld00 (n=opera@82-168-116-233.ip.telfort.nl) |
16:41.38 | dcordes | ok |
16:41.49 | the_fish | should i copy the other one over? |
16:42.04 | dcordes | the one I pastebined? |
16:42.19 | the_fish | yep |
16:42.34 | dcordes | yea use that one |
16:42.59 | Dubbeld00 | Quick question... how can I access the vogue tree within the linuxtogogit? (I only cloned the git yet) |
16:43.06 | the_fish | kk i will just check out the 2007 install once again |
16:43.44 | dcordes | git checkout -b htc-vogue origin/htc-vogue |
16:43.53 | dcordes | the_fish: ?? |
16:43.55 | Dubbeld00 | tnx! |
16:44.10 | the_fish | look into the rc.* files again |
16:44.39 | dcordes | ogsmd |
16:44.53 | the_fish | hmm k |
16:46.04 | *** join/#htc-linux dante__ (n=dante@151.82.10.249) |
16:47.04 | dcordes | the_fish: ls /etc/init.d/ | grep gsm |
16:48.29 | the_fish | hmm sec |
16:48.34 | the_fish | i just got an error on ssh |
16:48.45 | the_fish | "WARNING: remote host identification has changed" |
16:49.49 | dcordes | rm ~/.ssh/known_hosts |
16:50.21 | lupine_85 | I'd guess it generates the key on runtime |
16:50.27 | lupine_85 | just clear the line from known_hosts |
16:50.30 | the_fish | kk :) |
16:50.36 | the_fish | works again |
16:50.40 | pichurri | could this be useful for something? http://www.vesa.org/Standards/summary/2008_7.htm |
16:51.00 | the_fish | dcordes, theres a gsmd in init.d |
16:51.08 | dcordes | check what it does |
16:51.45 | the_fish | run it? |
16:52.11 | the_fish | just shows "starting gsm daemon: gsmd" |
16:52.23 | dcordes | no open it with an editor and see what it does |
16:52.53 | the_fish | ohh okay |
16:53.55 | dcordes | did you get the frameworkd log? |
16:54.10 | the_fish | not yet |
16:54.29 | the_fish | it launches /usr/sbin/gsmd ( the init.d) |
16:54.56 | dcordes | you can boot into our current rootfs again and we can analyze the old rootfs from the host |
16:55.42 | dcordes | use the pastebin frameworkd.config |
16:55.45 | dcordes | brb |
16:55.56 | dcordes | run frameworkd and make teh |
16:55.58 | dcordes | call |
16:56.21 | the_fish | kk |
16:57.07 | the_fish | frameworkd should be running by default right? |
17:07.12 | the_fish | i found an interesting path in the gsmd config |
17:07.39 | *** join/#htc-linux dante_ (n=dante@151.80.203.87) |
17:09.45 | *** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes) |
17:13.50 | the_fish | http://pastebin.com/m7f71c981 |
17:17.00 | the_fish | hmm dcordes_ maybe i should just copy that gsmd and all the files over? |
17:19.38 | the_fish | dcordes_ i still get the dbus error with frameworkd started |
17:21.49 | *** join/#htc-linux orux (n=jose@89.130.46.3) |
17:26.47 | dcordes_ | the_fish: there would be no use in copying the old gsmd |
17:27.03 | dcordes_ | what did you do to get what error? |
17:27.23 | the_fish | i launched frameworkd and made the call again |
17:27.28 | the_fish | as you said |
17:28.30 | dcordes_ | so in the current image (the shr one with frameworkd-devel installed) you ran frameworkd -s ogsmd -d |
17:28.35 | dcordes_ | which yielded no errors? |
17:28.36 | the_fish | yes |
17:28.42 | the_fish | nope no errors |
17:29.12 | dcordes_ | good |
17:29.24 | dcordes_ | can you show me the framworkd.config to double check? |
17:29.40 | the_fish | sec |
17:31.11 | the_fish | http://pastebin.com/m42810c1d |
17:32.05 | the_fish | seems like the serial channel is wrong also |
17:32.31 | dcordes_ | we did set the serial channel in the modem.py what you see is for gps |
17:32.47 | the_fish | ohh yea i forgot |
17:33.46 | *** join/#htc-linux jonlar (n=chatzill@ua-85-227-18-133.cust.bredbandsbolaget.se) |
17:34.08 | dcordes_ | let's remove all of the gta specific configuration. |
17:34.15 | the_fish | gotta brb again |
17:34.26 | the_fish | yea give me the info im gonna do it later |
17:35.41 | dcordes_ | use this http://rafb.net/p/yAxlF220.html |
18:02.37 | *** join/#htc-linux camden (n=camden@ancnat2.apto.aptalaska.net) |
18:02.42 | camden | good morning, folks |
18:03.24 | camden | I've been trying to follow allow with the latest instructions on the raph-linux page, using my HTC Fuze. |
18:03.57 | dream_kill | re |
18:03.58 | camden | when I run Haret, the kernel boots, and the device recognizes my 8GB memory card, but does not find the files in the /tmp directory. |
18:04.14 | camden | and fails to mount the images |
18:04.45 | camden | I have the images on both my internal memory and on the card itself. Am I missing something? |
18:09.49 | camden | I will try Lord Kiwi's initrd.droid.cpio |
18:13.33 | camden | hey alright, android's booting. |
18:23.30 | tmzt | dcordes does |
18:30.40 | *** join/#htc-linux Rogro82 (n=rogro82@s5591104d.adsl.wanadoo.nl) |
18:32.18 | camden | wow. I'm impressed. It's not really functional, yet, but wow. |
18:32.19 | camden | thanks guys |
18:32.21 | camden | good work |
18:32.46 | the_fish | tmzt, are you there? |
18:32.55 | the_fish | you tried to get android working? |
18:35.28 | Rogro82 | Dubbeld00: Any luck today? |
18:36.41 | exco | hello Rogro82 |
18:37.26 | *** join/#htc-linux timebomb (n=tb@e176126245.adsl.alicedsl.de) |
18:37.47 | exco | why are we facing the same problems as with 0.8 now with 1.0 again? (phone, umts, ...) |
18:39.41 | Rogro82 | Because the smd code we were using with 0.8 doesnt seam to work on the new kernel... at least for now it doesnt. |
18:39.58 | dcordes_ | the_fish: can you give me the log with tha pasted config? |
18:40.21 | the_fish | the log of frameworkd? where does it store the log? |
18:40.25 | Rogro82 | dcordes did you read my reply about the kaiser-smd? |
18:40.57 | dcordes_ | the_fish: yes. with the pasted config http://rafb.net/p/yAxlF220.html . see the log_destination line |
18:41.03 | dcordes_ | Rogro82: yes I did |
18:41.05 | the_fish | kk |
18:41.54 | Rogro82 | weird one... trying to figure out what is causing it but still no luck |
18:42.08 | dcordes_ | <PROTECTED> |
18:42.20 | the_fish | http://pastebin.com/m65574661 |
18:42.24 | the_fish | hmm |
18:42.34 | Rogro82 | no.. i took it out of the g1 diff file |
18:42.38 | the_fish | ohh btw, the date is wrong XD |
18:42.50 | dcordes_ | Rogro82: which g1 diff? |
18:42.58 | Rogro82 | and modified it a bit... just added some empty voids to smd_sleep_enter etc |
18:43.32 | the_fish | why is it using /dev/smd0? |
18:43.33 | Rogro82 | http://linuxtogo.org/~lgorris/diffs/g1-diff-18-11-08.diff |
18:43.50 | dcordes_ | the_fish: double check the modem.py |
18:43.55 | the_fish | hmm |
18:44.00 | exco | btw any particular reason kaiser has MTYPE 1724 and 1553 (->http://www.arm.linux.org.uk/developer/machines/) |
18:44.17 | Rogro82 | i used the board-htckaiser-old-smd as that one seamed to be the only one i was lucky to get a data connection with |
18:44.23 | dcordes_ | exco: because it was registered twice |
18:45.01 | exco | yeah - I figure - but is it a problem? |
18:45.23 | dcordes_ | Rogro82: board-htckaiser-old-smd is the one based on the smd from g1-diff-18-11-08.diff ? |
18:45.53 | dcordes_ | exco: not really |
18:46.46 | Rogro82 | yes... its one of the smd codes in there. i thought it had 3 the kaiser-smd/board-htckaiser-oldsmd/board-htckaiser-old-smd |
18:47.34 | Rogro82 | the kaiser-smd is for as far i could see almost an exact replica of the vogue one if im not wrong ( same head/tail for smd0/1 ) |
18:48.20 | dcordes_ | can't be good |
18:49.08 | dcordes_ | Rogro82: did you try to boot with the g1-diff-18-11-08.diff codebase instead of htc-vogue base? |
18:49.43 | Rogro82 | against the android-msm-htc tree? yes i did and i got it to work using the vogue-smd |
18:52.42 | dcordes_ | how did you do that? on the kaiser it froze on me in haret |
18:53.49 | Rogro82 | did you use the vogue mach type? |
18:54.15 | Rogro82 | kernel panic? |
18:54.27 | dcordes_ | no the kaiser mach tpye |
18:54.37 | dcordes_ | no panic, just a freeze in haret |
18:54.41 | Rogro82 | try using the vogue one.. that worked for me... |
18:54.50 | Rogro82 | strangely |
18:54.53 | dcordes_ | interesting |
18:55.13 | dcordes_ | that diff has quite some uptodate code |
18:55.24 | the_fish | hmm |
18:55.25 | camden | how do I find the 'spare parts' app that is mentioned in the wiki? |
18:55.33 | the_fish | dcordes_, i corrected all the modem.py files |
18:55.43 | the_fish | still framework.resource.ResourceNotEnabled |
18:55.55 | the_fish | im still pretty sure its one of the /sys/ entries |
18:55.59 | the_fish | but i dont know which |
18:56.43 | dcordes_ | what /sys/ entries? only the qualcomm_msm modem.py is used for qualcomm_msm |
18:56.52 | dcordes_ | can you show me the entire log please? |
18:58.17 | the_fish | sec i will give u the new log |
18:59.08 | the_fish | if its not the entire log, then its because the terminal is too small |
18:59.40 | dcordes_ | you can always use scp user@host:file local-file |
18:59.51 | Rogro82 | still cant figure out what is causing it to boot using a new data.gz... Tried settings sleeps all over the place but doesnt work |
18:59.57 | the_fish | http://pastebin.com/m5e668c4f |
19:01.09 | Rogro82 | Im still thinking it has something to with the libreference-ril... |
19:02.15 | dcordes_ | I have nfc about what android does during bootup sorry |
19:02.25 | *** join/#htc-linux imfloflo (i=56d9eece@gateway/web/ajax/mibbit.com/x-f48f3c9a66538168) |
19:02.56 | dcordes_ | Rogro82: if you want to test your smd code with a solid test basis, use frameworkd |
19:04.03 | Rogro82 | k ill test that... i can get a connection using pppd with the old smd code... but it @#$@ when booting android somehow |
19:05.29 | dcordes_ | Rogro82: you can check the logs. dream_kill and me went through setting it up for raphael |
19:06.32 | dcordes_ | in polaris audio should work during call. (it does on kaiser) I think on msm7200 amss the speaker is activated during calls by default |
19:07.16 | the_fish | hmm dcordes_ whats vtconsole0? an entry in /sys/bus |
19:07.24 | the_fish | eh /sys/class |
19:09.02 | dcordes_ | the_fish: don't know sorry. do you see the ERRORs your modem returns in the AT chatting? at which point does the log end? |
19:09.34 | dcordes_ | i.e. wat was the state at the end of the log? you ran cli-framework and did gsmcallInitiate() ? |
19:09.47 | dcordes_ | which returned an error? |
19:10.01 | the_fish | hmm? i ran none of those commands :o |
19:10.10 | dcordes_ | when did you see errors? |
19:10.20 | the_fish | after changing the modem.py |
19:10.25 | the_fish | directly after bootup |
19:10.31 | dcordes_ | after bootup? |
19:10.43 | dcordes_ | thought you have no frameworkd in init |
19:11.07 | the_fish | seems like there is |
19:11.15 | *** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be) |
19:11.24 | the_fish | otherwise it wouldnt have started up.... i guess :p |
19:11.48 | dcordes_ | ok can you boot, kill all pythong processes and run 'frameworkd -s ogsmd -d' ? |
19:11.53 | dcordes_ | python |
19:12.36 | dcordes_ | move the log before so you write to a clean log |
19:12.40 | the_fish | kk |
19:13.18 | the_fish | rebooting atm |
19:15.00 | dcordes_ | just remove frameworkd from init then you don't need to kill after each boot |
19:15.46 | the_fish | kk |
19:21.50 | the_fish | i guess thats the interesting messages now: http://pastebin.com/m764283d0 |
19:22.24 | dcordes_ | frameworkd.controller ERROR dbus bus name org.freesmartphone.frameworkd already claimed. Exiting. |
19:22.38 | the_fish | what does that mean? |
19:22.45 | dcordes_ | no python was running when you started with frameworkd -s ogsmd -d ? |
19:22.50 | *** part/#htc-linux Dubbeld00 (n=opera@82-168-116-233.ip.telfort.nl) |
19:22.52 | the_fish | i did killall python |
19:22.58 | the_fish | :/ |
19:23.04 | dcordes_ | do it again |
19:23.07 | the_fish | kk |
19:23.09 | dcordes_ | until it says no proc killed |
19:23.12 | dcordes_ | no need to reboot |
19:24.36 | the_fish | http://pastebin.com/m2b13f21e |
19:25.08 | Rogro82 | dcordes besides a pppd connection do i need to setup anything else to get a data connection in Android? |
19:25.43 | dcordes_ | the_fish: oh wait. when you did the first paste ( http://pastebin.com/m764283d0 ) it did not die ? |
19:26.01 | dcordes_ | Rogro82: I don't know about stuff in android |
19:26.21 | dcordes_ | Rogro82: in the dzo images you set apn user pass in CMDLINE |
19:26.32 | the_fish | crap i dunno i guess before the reboot dcordes_ |
19:26.42 | Rogro82 | yeah i set them up fixed in the setupmodem |
19:27.06 | dcordes_ | the_fish: ok restart frameworkd |
19:27.15 | Rogro82 | really need to fix my onscreen keyboard... debugging |
19:27.21 | Rogro82 | is shit this way :) |
19:27.24 | the_fish | killall? |
19:27.30 | dcordes_ | i.e. kill all the python processes, then the usual frameworkd -s ogsmd -d |
19:28.46 | dcordes_ | Rogro82: yea kaiser is pretty useful there. if I had no keyboard, I would make angstrom run a ppp connect script on bootup |
19:28.52 | the_fish | http://pastebin.com/m584ca4a6 |
19:28.58 | dcordes_ | Rogro82: so I could login via gprs |
19:29.14 | dcordes_ | the_fish: good. is it still running? |
19:29.22 | the_fish | seems so :P |
19:29.26 | dcordes_ | ok |
19:29.28 | Rogro82 | thats my problem thought... i cant get a gprs connection in android :) |
19:29.30 | dcordes_ | cli-framework |
19:29.42 | the_fish | now it sent that message: "frameworkd-controller: alive and kicking" |
19:29.44 | the_fish | kk |
19:29.52 | the_fish | what to do in there? |
19:30.32 | dcordes_ | gsmcall.Initiate('+0123456767','voice') |
19:31.10 | *** join/#htc-linux DasFx (n=John@5354790B.cable.casema.nl) |
19:31.26 | dcordes_ | pick the recepient number so that you can check if the call got through |
19:31.44 | the_fish | hmm gsmcallinitiate is not defined |
19:31.46 | the_fish | thats what i get |
19:32.20 | dcordes_ | double check spelling |
19:32.34 | *** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix) |
19:32.38 | dcordes_ | also pay attention to the upper case I |
19:32.56 | the_fish | just returns a 1 |
19:32.58 | the_fish | yes i did |
19:33.16 | dcordes_ | good |
19:33.21 | dcordes_ | does it ring? |
19:33.29 | the_fish | nope :( |
19:33.42 | dcordes_ | so let's see what the log says |
19:33.46 | the_fish | kk |
19:33.58 | dcordes_ | be aware it has all the #s |
19:34.12 | the_fish | call handler is busy |
19:34.38 | the_fish | does that mean it guesses someone is making a call on that number? |
19:34.50 | dcordes_ | keep this last log well. |
19:35.00 | the_fish | hmm k |
19:35.23 | dcordes_ | no I think frameworkd assumes the modem is not ready to make that call |
19:35.32 | the_fish | okay |
19:35.41 | the_fish | so it could be the phone is not enabled? |
19:36.25 | dcordes_ | probably. can you give me the log? |
19:36.37 | the_fish | hmm k |
19:38.08 | the_fish | http://pastebin.com/m6487ec0 |
19:42.51 | *** join/#htc-linux stefan_schmidt (n=stefan@p5B035756.dip.t-dialin.net) |
19:47.56 | *** join/#htc-linux imfloflo (i=56d9eece@gateway/web/ajax/mibbit.com/x-46055f690126f5a9) |
19:50.13 | *** part/#htc-linux jonlar (n=chatzill@ua-85-227-18-133.cust.bredbandsbolaget.se) |
19:50.53 | *** part/#htc-linux exco (n=exco@e181076145.adsl.alicedsl.de) |
19:51.04 | *** join/#htc-linux myxor (n=myxor@pdbn-4d089e52.pool.mediaWays.net) |
19:57.56 | *** join/#htc-linux dante_ (n=dante@151.80.157.156) |
19:59.19 | miknix | hey BabelO , how is audio hacking going? does the driver make much use of gsi specific stuff? |
19:59.44 | BabelO | miknix: hi, i m on it |
20:04.22 | *** join/#htc-linux exco (n=exco@e181076145.adsl.alicedsl.de) |
20:13.56 | *** join/#htc-linux chab7 (n=kvirc@212.92.4.114) |
20:19.40 | *** join/#htc-linux lpotter (n=ljp@58.173.176.153) |
20:22.06 | *** join/#htc-linux Xime (n=xime@bankize.net) |
20:23.23 | *** join/#htc-linux balsat1 (n=kll@87.72.13.87) |
20:26.49 | *** join/#htc-linux pichurri (n=pichurri@194.230.146.97) |
20:39.34 | *** join/#htc-linux cr2 (n=konversa@crpl6.physik.uni-wuppertal.de) |
20:40.23 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
20:42.29 | tmzt | cr2: hi, can you tell me where to get the asci3_mmc driver you mentioned or find more about it? |
20:45.49 | lupine_85 | returneth |
20:45.59 | lupine_85 | again :D |
20:50.54 | cr2 | tmzt: hi |
20:51.16 | cr2 | tmzt: i think it was poky-something. linux-rp code in oe ? |
20:51.34 | tmzt | ok, I'll look at that |
20:51.57 | tmzt | tekkdrone has apache working with 2.6.27 but it doesn't have asic3 |
20:52.29 | cr2 | apache uses pxa-mci |
20:52.35 | cr2 | afair |
20:52.40 | tmzt | yes |
20:52.53 | cr2 | evdo uses pxa-ohci ? |
20:52.57 | tmzt | I'm looking for the other pxa htc's that have asic3 |
20:53.04 | cr2 | like universal+umts ? |
20:53.17 | tmzt | ppp is on usb serial, at is on uart |
20:53.17 | cr2 | hima/ba/uni/sable |
20:53.30 | cr2 | does it work now ? |
20:53.42 | tmzt | we copied the code from openezx to enable the pxa-ohci |
20:53.47 | cr2 | have you dumped the ohci config ? |
20:53.48 | tmzt | apparently |
20:53.59 | tmzt | what do you mean? |
20:54.00 | cr2 | pxa-ohci is standard code |
20:54.03 | tmzt | from haret? |
20:54.20 | cr2 | you only need to add the config using data from haret |
20:54.21 | cr2 | yes |
20:54.33 | tmzt | I mean some writel's without which ohci does not work on apache or motoq at least |
20:54.57 | cr2 | strange |
20:55.15 | tmzt | { |
20:55.17 | tmzt | <PROTECTED> |
20:55.18 | tmzt | iobase = ioremap(0x40600000,0x1000); __raw_writel(0x00000002, iobase+0x24); iounmap(iobase); |
20:55.21 | tmzt | iobase = ioremap(0x4C000000,0x1000); __raw_writel(__raw_readl(iobase + 0x64) & ~((1<<10)|(1<<11)|(1<<5)), iobase+0x64); iounmap(iobase); |
20:55.24 | tmzt | return 0; |
20:55.26 | tmzt | } |
20:55.30 | cr2 | pxa-ohci works on athena,n560 without any hacks. zaurus too |
20:55.47 | cr2 | check the bits |
20:56.00 | cr2 | pxa-ohci is 100% documented |
20:56.18 | cr2 | to see what are these bits doing |
20:56.26 | tmzt | so this should be handled by pxa-ohci? |
20:56.40 | cr2 | what register is 0x40600000 ? |
20:57.05 | cr2 | yes, but you need to adapt the _init function |
20:57.35 | cr2 | check n560 and athena. and the haret' "dump pxa27xusb' |
20:57.54 | tmzt | what haret is that in? |
20:57.58 | tmzt | only gnuharet? |
20:58.32 | cr2 | check j820 |
20:58.41 | lupine_85 | 0xB3200068 ... |
20:58.46 | tmzt | do you mean 0x40600064? |
20:58.49 | cr2 | gnuharet is 99% obsolete |
20:59.27 | tmzt | UDC Frame Number Register Low |
20:59.34 | tmzt | does no make sense for host does it? |
20:59.39 | cr2 | tmzt: i sugest to dump the ohci config with haret from j820 first |
20:59.43 | cr2 | and then try the standard pxa-ohci code with appropriate _iniut |
20:59.50 | lupine_85 | aha |
20:59.54 | tmzt | ok, we'll do that |
21:00.04 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
21:00.17 | cr2 | UDC and usbh-p2 share some bits |
21:00.34 | lupine_85 | the code is actually ?reading from? the I2C registers |
21:00.48 | tmzt | lupine_85: raph keyboard? |
21:00.58 | lupine_85 | Raph I2C code in generasl |
21:01.18 | lupine_85 | i'm following the I2C_PowerUp code right now |
21:03.14 | tmzt | cr2: http://www.handhelds.org/pipermail/hx4700-port/14/1484.html |
21:03.22 | tmzt | cr2: what is this about tmio_mmc? |
21:03.36 | *** join/#htc-linux imfloflo (n=imfloflo@cap31-6-88-180-73-121.fbx.proxad.net) |
21:05.03 | cr2 | lupine_85: i've documented some i2c functions, but you'll move much faster if you'll trace (mmutrace) the i2c read/write registers |
21:05.21 | cr2 | lupine_85: i have saved some such i2c traces, but have problems editing wiki & so on. |
21:05.38 | lupine_85 | cr2: mm, I'm only discovering stuff that's already common knowledge right now |
21:06.06 | cr2 | lupine_85: i've documented some accelerometer differences with the datasheet, but its lost somewhere ;) |
21:06.17 | lupine_85 | (although this DLL has a bunch of stuff regarding the TV out which might be fun to look at in the distant future :D) |
21:07.05 | cr2 | lupine_85: add mmutrace for read/write. and press the button(s) on the keyboard. you'll see everything what is sent. compare with wikii |
21:07.21 | cr2 | hm. i need to buy the TV out cable first. |
21:07.27 | lupine_85 | but anyway, I'm downloading a new version of HaRET and playing with it now |
21:07.39 | cr2 | tmzt: tmio* is updated to 2.6.28 ??? |
21:08.06 | tmzt | don't know, just wondering if it should be used as the email thread suggests if possible |
21:08.35 | tmzt | looks like it was last updated in 2007 maybe |
21:08.37 | *** join/#htc-linux gentooboontoo (n=julien@mne69-9-88-163-117-98.fbx.proxad.net) |
21:09.35 | cr2 | tmzt: they all share the toshiba sdio core (also ati sdio) |
21:10.04 | cr2 | but there are many differences. tmio_mmc is very limited, imho. |
21:11.45 | cr2 | lupine_85: afair the LCD brightness is controlled over i2c too. you can check it |
21:12.44 | cr2 | tmzt: do you know the msm7201A status during last 2 weeks ? |
21:12.55 | tmzt | somewhat |
21:13.20 | tmzt | it seems sd is working on diam100/raph100, maejrep is working on raph800 |
21:13.21 | cr2 | is the ts irq working now ? |
21:13.44 | tmzt | the display problems are getting fixed, including some support for x1 and blackstone |
21:13.51 | tmzt | I don't know that |
21:13.56 | cr2 | is the gpio_func() ALT config already in git ? |
21:14.05 | cr2 | ok |
21:14.10 | tmzt | using that api? |
21:14.24 | cr2 | yes |
21:14.35 | tmzt | is it the same as msm_configure_gpio? |
21:14.54 | cr2 | gpio_func() is the wince reimplementation |
21:14.56 | tmzt | it seems that is now using direct access not proc_comm, but I don't know if the new api is used |
21:15.08 | cr2 | no, the PCOM* gpio replacement |
21:15.11 | lupine_85 | the wiki is blossoming.... |
21:15.18 | NetRipper | haret question: how do i filter irqs from the wirq command? usb irq is spamming ;) |
21:15.34 | cr2 | NetRipper: ibit irqs |
21:15.41 | NetRipper | ok |
21:15.46 | tmzt | NetRipper: do you know if ts irq is working? |
21:15.57 | NetRipper | 000.971 IRQS IRQ1: USB_HS(47)=1 |
21:16.16 | NetRipper | how would i ignor that irq using ibit? |
21:16.42 | NetRipper | ibit irq 47 ? |
21:16.48 | cr2 | tmzt: proc_comm is a bit misleading. maybe we need proc_comm_wince() override for non-g1 firmwareradio ? |
21:16.56 | cr2 | afair, yes |
21:17.17 | tmzt | are we using proc_comm? swetland (from google) said not to change things the radio will also change |
21:17.17 | NetRipper | cr2, i found an interesting proc_comm stuff in vogue, they just omit the "wait for other" |
21:17.48 | NetRipper | maejrep was tracing in haret and found that wince also does not do the A2M soft-interrupt |
21:18.20 | cr2 | NetRipper: the proc_comm from vogue should be used, but it'd be called proc_comm_wince() to avoid the misunderstandings. |
21:18.37 | NetRipper | 12:00:01 < NetRipper> maejrep, check out the msm_proc_comm_noirq_noa2m in vogue @ here (they are not using proc_comm.c at all): |
21:18.40 | NetRipper | http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=blob;f=arch/arm/mach-msm/vogue-smd.c;h=61482d06cef55edbb5dc21423b09bd5721c9f84d;hb=refs/heads/htc-vogue |
21:18.57 | NetRipper | they put it in vogue-smd.c though, bit tricky ;p |
21:19.07 | *** join/#htc-linux StarLite (n=nnscript@s55916ca6.adsl.wanadoo.nl) |
21:19.47 | cr2 | the proc_comm_wince() functiuon parameters are also different from g1. imho, it's better to clone the wince calling sequence, that is(semi) documneted in wiki |
21:19.48 | cr2 | hmm. probbaly something for me to do |
21:20.37 | cr2 | are the sdio3/4 clk bits found ? |
21:20.55 | tmzt | it seems but the formula doesn't exactly work |
21:21.15 | cr2 | it's from my wince spl |
21:21.18 | tmzt | it appears one of the regs is kept constant and the other changes, but I can't explain that exactly |
21:21.25 | NetRipper | cr2, dont know about sdio3/4 clocks, but raph800 has sd on sdc3 and it is working with latest git when using the msmsdcc_id=3 param |
21:21.31 | cr2 | but the output does not match the haret values in wince |
21:21.47 | cr2 | i'll check the wiki |
21:22.04 | NetRipper | cr2, what app do you use to reverse engineer? |
21:22.20 | cr2 | the wince clk api is obfuscated as hell |
21:22.25 | cr2 | ida pro |
21:22.26 | *** join/#htc-linux Heema (n=weechat@217.139.57.79) |
21:22.29 | NetRipper | ok |
21:22.38 | NetRipper | you're just a miracle worker with asm then;p |
21:22.43 | cr2 | i have an old licensed version |
21:23.06 | NetRipper | let's just say im using a trial version |
21:23.26 | cr2 | well, it's only some experience. |
21:23.36 | NetRipper | it's nice to poke around but im not advanced enough to make sence of much of it |
21:23.51 | cr2 | trial may be better, but you need to cut&paste to save ;-) |
21:24.09 | NetRipper | cut&paste is disabled in trial? ;x |
21:24.11 | lupine_85 | has the linux version. is niiiiiiiiiiiiice :) |
21:24.15 | cr2 | ida pro is too much x86-centric |
21:24.28 | NetRipper | it has armvi disassemblers |
21:24.29 | lupine_85 | if you want any particular dlls turning into asm, just ask |
21:24.31 | NetRipper | with arm instructions |
21:24.35 | cr2 | lupine_85: it's too buggy |
21:24.50 | lupine_85 | it's a bit of a pain but I've not seen anything really off yet |
21:24.55 | lupine_85 | it crashes from time to time |
21:25.07 | lupine_85 | gets a .lst and decompiles by hand |
21:25.27 | lupine_85 | slooooooooooooooowly :D |
21:25.42 | cr2 | i prefer to rename the function names and constants, and save the .idb |
21:25.57 | lupine_85 | kate is my friend |
21:26.06 | cr2 | it's the only realy handy ida advantage |
21:26.39 | cr2 | otherwise you can used objdump + .py disassembled written by pH5 |
21:27.03 | cr2 | i got much better output for some binaries using this way |
21:27.30 | lupine_85 | the main irritation I had with idaadv was that it fails miserably at spotting ?widestrings? |
21:28.06 | *** part/#htc-linux Heema (n=weechat@217.139.57.79) |
21:28.12 | *** join/#htc-linux nebi_ (n=nebi@170.ftth2.cust.fyrobs1.upps.se.borderlight.net) |
21:28.14 | cr2 | yeah, it's 60% manual alt-c job :-) |
21:28.58 | NetRipper | alt-c? |
21:29.57 | lupine_85 | hmm, odd. the newest haret spams GPIO33 at me |
21:29.59 | cr2 | NetRipper: utf16/normal strings |
21:30.04 | *** join/#htc-linux dante_ (n=dante@151.83.9.0) |
21:30.12 | tmzt | lupine_85: wasn't that the keyboard gpio? |
21:30.19 | cr2 | lupine_85: it does not parse the actual bit |
21:30.23 | lupine_85 | so we thought |
21:30.39 | cr2 | 32 is the first gpio section, 33 is the second |
21:30.50 | NetRipper | ah, right |
21:30.52 | cr2 | afair |
21:30.58 | NetRipper | everything on winmo is unicode |
21:31.07 | lupine_85 | no, the old one's doing it too |
21:31.10 | cr2 | haret needs to demux the "real" bit |
21:31.23 | lupine_85 | reboots the raph, tries again |
21:31.41 | tmzt | cr2: will gpio_func be used for a mfp implementation? |
21:31.41 | cr2 | but it's not done because of some harware bugs that need to be worked around |
21:31.54 | cr2 | mfp ? |
21:32.13 | cr2 | gpio_func is a bad name |
21:32.39 | cr2 | msm720x(A)_gpio_al_conf() is a much better name |
21:32.44 | tmzt | static unsigned long pin_config[] = { GPIO18_GPIO, GPIO29_SSP1_SCLK, GPIO25_SSP1_TXD, GPIO26_SSP1_RXD, |
21:32.49 | cr2 | s/_al/_alt/ |
21:33.14 | tmzt | the mfp-pxa27x driver uses this to set the alt functions |
21:33.30 | *** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring) |
21:33.36 | tmzt | pxa2xx_mfp_config(ARRAY_AND_SIZE(pin_config)); |
21:33.45 | cr2 | well, it it's some useful generic api, why not |
21:34.06 | cr2 | s/ it / if / |
21:34.17 | NetRipper | another haret question, when tracing, and seeing something like the following, what does the "32 36 37" mean? and what is the "f8"? |
21:34.20 | NetRipper | 008.958 test 9230000c(32 36 37)=f8 |
21:34.28 | NetRipper | f8 is the value in that memory address? |
21:35.08 | NetRipper | or like, bit 32, bit 36 and bit 37 are set, which means value f8? |
21:35.16 | cr2 | strange string |
21:35.22 | cr2 | i don't know |
21:35.50 | NetRipper | ok |
21:36.02 | NetRipper | test is just the name of my var |
21:36.26 | cr2 | the 4byte bit numbers should be <32 |
21:36.35 | NetRipper | ah yes obviously |
21:36.59 | NetRipper | i just added the memory address by doing addlist test p2v(0xetc) |
21:37.09 | NetRipper | no extra values behind them, because id ont know which parameters are allowed and what they do ;) |
21:37.30 | cr2 | NetRipper: does the ts driver do something here ? |
21:37.34 | cr2 | b2100000 a8100000 1 TS init related |
21:37.44 | lupine_85 | hmm, it's still doing it |
21:38.01 | lupine_85 | dunno what's change |
21:38.03 | lupine_85 | ...d |
21:38.05 | *** join/#htc-linux Shadow____X (n=Shadow__@c-24-0-8-231.hsd1.nj.comcast.net) |
21:38.17 | NetRipper | cr2, i dont think it does anything init related, but i do think it maps that memory part |
21:39.27 | cr2 | NetRipper: hm, that may explain the irq problem. |
21:39.59 | cr2 | i see the TS_SSBI irq in the wiki list |
21:40.23 | cr2 | so it certainly needs some config |
21:40.51 | NetRipper | ah no, it maps 4K of 0xAA3* |
21:41.12 | cr2 | lupine_85: mmutrace these |
21:41.12 | cr2 | <PROTECTED> |
21:41.12 | cr2 | <PROTECTED> |
21:41.12 | cr2 | <PROTECTED> |
21:41.32 | NetRipper | i've been tracing that as well |
21:41.52 | cr2 | NetRipper: it's the data area, but not the config area |
21:42.06 | NetRipper | where do you see the TS_SBBI, which wiki page? |
21:42.16 | cr2 | NetRipper: the real pita will be if they use 10bit i2c ;) |
21:42.30 | NetRipper | how is that a problem? |
21:42.59 | cr2 | <PROTECTED> |
21:43.04 | NetRipper | ah ok |
21:43.15 | cr2 | in |
21:43.15 | cr2 | http://wiki.xda-developers.com/index.php?pagename=Raphael_IRQ |
21:43.29 | NetRipper | yes, ok, i was looking for the literal string TS_SBBI ;) |
21:43.52 | cr2 | and the mux gpo is |
21:43.52 | cr2 | 0x20 32 INT_GPIO_GROUP1 |
21:43.52 | cr2 | <PROTECTED> |
21:44.38 | cr2 | which needs to be demuxed, but nobody has adapted the kernel code for that. |
21:45.06 | cr2 | checking thre gpio irq status bits is not enough |
21:45.08 | NetRipper | what do you mean, so that you can set an irq on a single gpio bit? |
21:45.17 | cr2 | because of some hw bugs |
21:45.24 | cr2 | afair we've check that woith Kevin2 some time ago |
21:45.53 | cr2 | no, so you can find out which gpio irq is behind the muxed 32/33 |
21:46.19 | lupine_85 | I2C_Status ? |
21:48.40 | *** join/#htc-linux Shadow____X (n=Shadow__@c-24-0-8-231.hsd1.nj.comcast.net) |
21:51.15 | *** join/#htc-linux dante__ (n=dante@151.80.130.93) |
21:51.33 | cr2 | lupine_85: status is not interesting, check the actual read/write |
21:52.46 | tmzt | do you mean it could be matrix but the gpios are not demuxed or is it definately i2c/ssp? |
21:54.04 | StarLite | <3 the tech talk in here :D |
21:54.45 | StarLite | and I would <3 to see Linux/Android run on htc devices one day :D |
21:54.51 | StarLite | so keep up the dev stuff |
21:55.14 | lupine_85 | is vaguely out of his depth in this sea of I2C, GPIOs and the like |
21:55.53 | *** join/#htc-linux Shadow____X (n=Shadow__@c-24-0-8-231.hsd1.nj.comcast.net) |
21:57.05 | cr2 | tmzt: what do you mean ? |
21:57.33 | cr2 | tmzt: the raph keyboard does not use any gpios |
21:58.07 | cr2 | tmzt: and the raph keypad uses gpio for some buttons, and i2c for other. |
21:58.17 | cr2 | keyboard is 100% i2c |
21:58.21 | lupine_85 | last week pressing a keyboard button triggered GPIO33, but that's just spamming in general now |
21:58.34 | cr2 | it's like the spi keybaord onhermes/athena |
21:59.27 | *** join/#htc-linux yoyey (n=yoann@lns-bzn-49f-81-56-185-87.adsl.proxad.net) |
21:59.33 | cr2 | lupine_85: i guess it's some keyboard gpio irq behind gpio33 |
21:59.57 | tmzt | so it detects a key when something is received on i2c, or is there still an irq that triggers when a key is pressed? |
22:00.02 | lupine_85 | mm, i just dunno why it's spamming now when it wasn't before. ah well |
22:00.20 | NetRipper | it seems all hardware buttons, including the ones beneith the keypad, are gpio's... and to determine which of the buttons on the keypad has been touched, the navi x/y-coordinates must be read, which is via i2c |
22:00.34 | NetRipper | (excluding qwerty keyboard here) |
22:01.06 | cr2 | the capacitive sensor is i2c |
22:01.09 | tmzt | is it known whether diam and raph use essentially the same pcb? |
22:01.10 | NetRipper | yes |
22:01.32 | NetRipper | ^^ was to cr2 |
22:01.33 | NetRipper | ;) |
22:01.38 | cr2 | NetRipper: and then you have 3x4 matrix |
22:01.53 | cr2 | NetRipper: it's all in the wiki |
22:02.06 | NetRipper | cr2, 3x4 matrix for what? |
22:02.09 | *** join/#htc-linux Shadow____X (n=Shadow__@c-24-0-8-231.hsd1.nj.comcast.net) |
22:02.16 | cr2 | but i don't know the row/col vsalues for the buttons |
22:02.17 | NetRipper | qwerty or capacitive? |
22:02.20 | NetRipper | ah |
22:02.22 | NetRipper | hardware keys |
22:02.28 | cr2 | for the buttons |
22:02.30 | NetRipper | lavender/jobo already figured that out |
22:02.36 | tmzt | 7 gpios in matrix not 7 direct gpio keys? |
22:02.40 | NetRipper | they have a keypad driver |
22:03.07 | cr2 | the qwerty is i2c, and the capacitive is i2c (ADC readout from the atmel microcontroller) |
22:03.20 | NetRipper | ADC? |
22:03.26 | cr2 | 3irqx4lines |
22:03.53 | cr2 | 40-42, and 32-35 |
22:05.12 | cr2 | yes, the atmel microcontroler has some PWM and ADC channels, and other stuff. it's all documented. we may even extract the up uploaded firmware |
22:05.52 | cr2 | 94 0x5e 26 I irq CAP_SENz (NAVI) |
22:06.27 | cr2 | i guess it will create the gpio33 spam, if your finger is close to the keypad. |
22:07.59 | cr2 | NetRipper: can you split the description field in |
22:08.01 | NetRipper | i dont see spam on 33, only on 26 |
22:08.05 | cr2 | http://wiki.xda-developers.com/index.php?pagename=Raphael_GPIO |
22:08.11 | cr2 | for raph100 and raph800 |
22:08.21 | cr2 | otherwise it looks like a mess |
22:08.50 | NetRipper | will do, not right now though ;) |
22:08.51 | cr2 | irq26 ? |
22:08.57 | cr2 | ok |
22:08.59 | NetRipper | no gpio26 |
22:09.09 | NetRipper | 009.112 GPIOS in3: in3-26(282)=1 |
22:09.09 | NetRipper | 009.119 GPIOS in3: in3-26(282)=0 |
22:09.16 | cr2 | 26 0x1a 10 |
22:09.16 | cr2 | unknown |
22:09.30 | cr2 | ah |
22:09.33 | *** join/#htc-linux MethoS- (n=clemens@host-091-097-244-220.ewe-ip-backbone.de) |
22:09.45 | cr2 | 94 0x5e 26 I irq CAP_SENz (NAVI) |
22:09.47 | NetRipper | sorry, 94 calculating from start |
22:09.51 | tmzt | how does 3-26 translate to a gpio (for gpio_to_irq) in linux? |
22:09.52 | NetRipper | yes |
22:10.00 | NetRipper | tmzt, that's 94 |
22:10.30 | cr2 | tmzt: http://wiki.xda-developers.com/index.php?pagename=Raphael_GPIO |
22:10.33 | tmzt | NetRipper: oh, but how? |
22:10.50 | NetRipper | i dont know how the size of a bank is determined though |
22:10.52 | cr2 | tmzt: just some macro/function |
22:11.11 | cr2 | it's hardcoded somewhere. as a table |
22:11.32 | NetRipper | aha, you find this stuff by reverse engineering? |
22:12.07 | cr2 | yes, it was done half a year ago |
22:12.29 | toer | its not only the Raphael_GPIO |
22:12.33 | NetRipper | cr2, btw, are some things on the wiki pages from the trout code or is it all found by reverse engineering/haret? |
22:12.35 | toer | page that looks like a mess |
22:12.51 | cr2 | 90% is found |
22:13.06 | toer | the RaphaelLinux does to |
22:13.32 | cr2 | only the CAM description and SD pin description lines are taken from the g1 code |
22:13.56 | NetRipper | toer, true.. my original idea was like some sort of diary some extended it with quite a lot more ;) |
22:14.31 | toer | NetRipper: maybe we should split it up into several pages |
22:14.48 | NetRipper | cr2, ok.. i got worried some trout stuff might be in there as f.e. in gpio, the "sd card detect" is there multiple times, while only gpio23 is the one that works on my raph |
22:15.08 | toer | bbl going home from work |
22:15.10 | NetRipper | toer, yes probably, seperate faq and 'diary/progress' |
22:15.12 | NetRipper | ok |
22:15.15 | NetRipper | later |
22:15.38 | cr2 | NetRipper: the spl checked 2 gpios. don't know why, that's why i've written "related" |
22:15.53 | NetRipper | ah, ok |
22:16.16 | tmzt | is SD card inserted what g1 calls sd_eject? |
22:17.47 | NetRipper | when its 1, the card is inserted.. but linux wants to know when it is ejectd, so we inverse it... maybe thats why they put eject on g1 ;) |
22:19.21 | cr2 | somebody with msvc arm crosscompiler here ? |
22:19.44 | *** join/#htc-linux dante__ (n=dante@151.80.85.81) |
22:19.56 | NetRipper | im missing something i think.. for gpio irqs you can configure falling/rising/low/high, i cant find the similar function name for normal irqs, anyone know the name? |
22:19.59 | NetRipper | :) |
22:20.50 | cr2 | hmm |
22:21.15 | cr2 | isn't it a generic api ? |
22:21.41 | NetRipper | probably but i cant find hte function :p |
22:22.46 | cr2 | request_irq ? |
22:23.11 | NetRipper | hm |
22:23.18 | *** join/#htc-linux nebi (n=nebi@170.ftth2.cust.fyrobs1.upps.se.borderlight.net) |
22:23.19 | NetRipper | thought it was a seperate function |
22:23.22 | NetRipper | but perhaps its there |
22:23.49 | *** join/#htc-linux Mullins (n=bw@89.204.244.30) |
22:23.54 | NetRipper | yea you're right |
22:29.47 | cr2 | NetRipper: does haret dump this data ? |
22:30.03 | cr2 | or should it be dome manually (for now) ? |
22:30.19 | *** join/#htc-linux Heema (n=weechat@217.139.57.79) |
22:31.16 | NetRipper | arf i hate being called when i booted linux |
22:31.32 | NetRipper | which data cr2 ? the irq configuration? |
22:31.38 | lupine_85 | nobody ever calls me :D |
22:31.45 | cr2 | yes |
22:31.50 | cr2 | lol |
22:32.08 | cr2 | i use my raph only for hacking |
22:32.47 | NetRipper | no irq config is not shown in haret.. not sure how to find out either.. but you get far with trial and error ;) |
22:32.59 | NetRipper | still no touchscreen irq though |
22:33.14 | NetRipper | when having enabled high/low/rising/falling ;) |
22:33.26 | *** join/#htc-linux BHSPitLappy (n=BHSPitLa@unaffiliated/bhspitmonkey) |
22:33.47 | cr2 | NetRipper: hm, but you don't do TS config# |
22:33.50 | tmzt | all of them? |
22:34.04 | NetRipper | correct, i dont do the TS init |
22:34.30 | NetRipper | tmzt, yes all of them, but irq is not fired.. |
22:34.56 | NetRipper | actually i forgot to check if the irq was assigned successfully in dmesg.. but it got assigned properly before |
22:35.02 | tmzt | is ts in that atmel? |
22:35.02 | NetRipper | i'll check that in a minute |
22:35.35 | cr2 | tmzt: ts is in msm |
22:36.23 | *** join/#htc-linux gentooboontoo (n=julien@mne69-9-88-163-117-98.fbx.proxad.net) |
22:45.42 | j0b0 | evening |
22:46.14 | j0b0 | NetRipper, i once had the touchscreen irq firing |
22:46.26 | j0b0 | it was irq 30 iirc |
22:47.17 | j0b0 | when i was fiddling around trying to get pixel packing look normal on raph800 :/ |
22:48.51 | NetRipper | j0b0, is that the reason why you had commented out the disabling of the irq? |
22:49.06 | NetRipper | im now enabling all 3 irqs but they dont get fired ;) |
22:49.21 | j0b0 | yes, but i couldnt get it back later |
22:49.24 | NetRipper | ok |
22:49.43 | NetRipper | we probably need to init it like cr2 mentioned |
22:49.54 | j0b0 | it would fire once, after the kernel had booted and even after i had touched the screen already |
22:50.10 | j0b0 | but never more than once per boot |
22:50.14 | NetRipper | lol |
22:50.20 | NetRipper | i cant get it to fire once |
22:50.25 | NetRipper | never seen it |
22:51.02 | j0b0 | setting weird rgb settings had more unexpected side effects as well |
22:51.05 | *** join/#htc-linux nebi (n=nebi@170.ftth2.cust.fyrobs1.upps.se.borderlight.net) |
22:51.08 | NetRipper | hehe |
22:51.13 | NetRipper | negative i presume? |
22:51.38 | j0b0 | well .. sometimes crashing something gives you the opportunity do 'do' more |
22:51.57 | NetRipper | hehe |
22:52.11 | NetRipper | sounds like how i like to do things |
22:53.04 | cr2 | j0b0: CAT /PROC/INTEERRUPTS |
22:53.16 | cr2 | fscking keybaord ;) |
22:53.46 | Mullins | Does anyone know if forum.xda-developers.com is going to be down for long? |
22:53.56 | NetRipper | lol is it down again |
22:54.04 | Mullins | yeah |
22:54.17 | NetRipper | it's becoming a joke, down that often |
22:54.22 | NetRipper | not even april 1st yet |
22:54.35 | Mullins | even if it was, it wouldn't be funny :D |
22:54.38 | NetRipper | ;) |
22:54.43 | *** part/#htc-linux gentooboontoo (n=julien@mne69-9-88-163-117-98.fbx.proxad.net) |
22:54.44 | j0b0 | <PROTECTED> |
22:55.08 | NetRipper | that '0' is the number of times it fired? |
22:55.22 | NetRipper | in the column CPU0 |
22:55.27 | j0b0 | likely |
22:55.28 | imfloflo | why xda is down so often? DOS ? attak? bandwith? |
22:55.38 | *** part/#htc-linux yoyey (n=yoann@lns-bzn-49f-81-56-185-87.adsl.proxad.net) |
22:55.47 | NetRipper | i have 0 on 29/30/31 as well |
22:55.55 | j0b0 | yes. the numbers increase |
22:56.22 | j0b0 | a lot for sdcc, also a lot for vsync, some for usb |
22:56.35 | j0b0 | but zero for touchscreen |
22:56.53 | j0b0 | i dot have 29 or 31 |
22:57.03 | j0b0 | dont either |
22:57.08 | NetRipper | i manually added request_irq for those |
22:57.22 | NetRipper | 30 is the touchscreen1 |
23:01.56 | Rogro82 | Does anyone know how i can get root in android? |
23:02.14 | imfloflo | yeah on xda :p |
23:03.05 | exco | Rogro82: http://android-dls.com/forum/index.php?f=15&t=151&p=413&rb_v=viewtopic |
23:03.35 | NetRipper | god, i forget to disconnect my phone from usb when i reboot to winmo.. my linux detects rndis and sets the default gateway to it :s keep losing my internet that way |
23:05.04 | *** join/#htc-linux DasFx (n=John@5354790B.cable.casema.nl) |
23:05.58 | j0b0 | oh .. you think _that_ is stupid? how is this: i was testing a boot option to toggle the vkeyb off at boot and it didnt work and 30mins later i realized there was another CMDLINE in the default.txt further down that was not #'d out! |
23:07.55 | NetRipper | lol |
23:08.24 | NetRipper | definitely beats my issue |
23:09.10 | NetRipper | no offense of course ;) |
23:10.09 | exco | happens to everyone ... doesn't it? |
23:11.02 | j0b0 | do you have any thoughts on this one: we know how to detect that the keyboard slider is open (it is gpi38, high=open) but i have no clue how to make android turn landscape |
23:11.55 | exco | I didn't even know why my box kept loosing it's internet connection until the scales fell just some minutes ago ;-) |
23:13.11 | NetRipper | j0b0, i don't know, although i suspect it's something in android, not kernel |
23:13.36 | tmzt | you send an intent, but I guess you can just see what trout does |
23:13.45 | j0b0 | well .. the kernel must somehow take the signal from the hardware to android |
23:13.50 | tmzt | it's probably mapped to a BTN input dev |
23:13.55 | tmzt | SW |
23:14.31 | exco | strg+f12 |
23:15.12 | NetRipper | j0b0, that's true, but i meant i dont think it's like the fbcon:rotate thing.. |
23:15.44 | j0b0 | no. more like some /dev/eventX thing |
23:15.58 | j0b0 | or a KEY_ROTATE |
23:16.30 | NetRipper | if such a key exists |
23:16.33 | exco | Try this, more fun (turns the window image sideways)...command line: |
23:16.33 | exco | <PROTECTED> |
23:16.40 | exco | from http://groups.google.com/group/android-developers/browse_frm/thread/7da73ba249db39fa/b48f1b4347f64998?lnk=gst&q=davanum#b48f1b4347f64998 |
23:16.58 | NetRipper | guess we'd need to check the android source for that |
23:17.02 | NetRipper | or perhaps its in some config file |
23:17.44 | tmzt | KEY_ROTATE is usually a key |
23:17.54 | tmzt | you press to rotate the screen |
23:18.09 | j0b0 | that says: Result: Parcel(00000000 '....') but doest rotate the screen |
23:21.35 | tmzt | SanMehat says to look in surfaceflinger (in core.git utils) |
23:21.50 | NetRipper | sweet |
23:21.56 | NetRipper | i dont see bsod's in vista often |
23:21.57 | j0b0 | :D will do |
23:22.28 | NetRipper | er |
23:22.29 | j0b0 | i was looking at WindowManagerService.java in /frameworks/base/services |
23:23.02 | j0b0 | it see 4 event classes: keyboard, touchscreen, trackball, configuration_changed |
23:24.46 | tmzt | <@SanMehat> tmzt: look in arch/arm/mach-msm/board-trout-keypad.c |
23:24.46 | tmzt | <PROTECTED> |
23:28.54 | *** join/#htc-linux ali1234 (n=al@robotfuzz.co.uk) |
23:29.47 | exco | does the information http://armlinux.simtec.co.uk/kautobuild/magician_defconfig.html mean, that I can successfully compile a 2.6.25 kernel for Magician? Could I easily "run" Android on Magician with a 2.6.25 kernel? |
23:33.12 | *** join/#htc-linux Camvoya (i=Camvoya@93.Red-79-146-164.staticIP.rima-tde.net) |
23:38.36 | Camvoya | hello |
23:38.44 | exco | hello |
23:38.45 | Camvoya | what is meaning of WIP ? |
23:38.52 | exco | work in progress |
23:38.58 | Camvoya | ahh, gracias |
23:39.01 | tmzt | exco: not sure about android but magician does run linux |
23:39.11 | exco | tmzt I know |
23:39.28 | tmzt | exco: you would need the android pxafb patches and the android (ashmem and binderipc) patches |
23:39.31 | exco | what do you need to run android on any device, tmzt? |
23:39.47 | tmzt | exco: but it might be simpler to start with tekkdrone's apache tree |
23:39.57 | exco | I've seen someone run Anrdroid on the Apache ... yeah |
23:46.30 | *** join/#htc-linux tekkdrone (i=tekkdron@72.183.115.231) |
23:47.31 | lupine_85 | heh. ~15K lines of assembly left |
23:48.00 | *** join/#htc-linux reformatt (n=chatzill@97-121-31-187.bois.qwest.net) |
23:48.34 | reformatt | question... is xda-developers site down? |
23:50.36 | Rogro82 | as usual |
23:51.29 | imfloflo | too bad or xda :s |
23:51.44 | imfloflo | hope it will be soon ok |
23:52.04 | reformatt | thought so hope it will be back up soon. |
23:57.36 | lupine_85 | finds an |
23:57.36 | lupine_85 | finds an 23:51 < imfloflo> hope it will be soon ok |
23:57.36 | lupine_85 | 23:52 < reformatt> thought so hope it will be back up soon. |
23:57.42 | lupine_85 | whoops |
23:57.49 | lupine_85 | EnableI2CController() |