00:00.12 | mdrobnak | hmm. Sounds like a crash then. |
00:00.13 | ppman | zsakul2: I can't help you with specific build on raph, but I had that issue with one of our builds.. I had to use a different build |
00:00.32 | mdrobnak | ppman - I think he's on a diamond |
00:00.44 | zsakul2 | diam500 |
00:00.53 | ppman | oh.. way for me to pay attention :P |
00:01.01 | mdrobnak | heh |
00:01.04 | ppman | I saw it as not kaiser :P |
00:01.12 | mdrobnak | lol |
00:01.31 | ppman | zsakul2: either try a different build, or ask around - trying to get a prebuilt "data.img" will help you. |
00:01.35 | zsakul2 | i really want to play with android ive been waiting for days to get this to work >_<! =( |
00:02.02 | mdrobnak | Try an earlier build. Or see if there's a later on. |
00:02.03 | mdrobnak | *one |
00:02.23 | ppman | not that any of them are legal... |
00:02.29 | ppman | damn google.. |
00:02.32 | zsakul2 | any suggestions on which build |
00:02.32 | mdrobnak | hahah |
00:02.36 | mdrobnak | indeed |
00:02.43 | zsakul2 | yeah still black screen ima reset it |
00:03.59 | ppman | mdrobnak: start a mer thread on xda for raph. point to my thread and expand upon specifics. |
00:04.00 | zsakul2 | cant wait to get the hero ^_^. |
00:04.08 | ppman | I'll bbl |
00:04.54 | *** join/#htc-linux dzo (n=dzo@mail.marginz.co.nz) |
00:06.06 | ubuntu_user | zsakul2, have you tried to get the 2009-09-09 build from http://connect-utb.com/index.php?option=com_rokdownloads&view=folder&Itemid=68&id=5:htc-diamond |
00:06.34 | ubuntu_user | I got it working amost first time on my DIAM100 |
00:06.52 | mdrobnak | ppman Maybe ;-) |
00:09.35 | zsakul2 | alright i got the older one released 21.06.09 and android booted but |
00:09.42 | zsakul2 | its all wacky colors |
00:10.05 | zsakul2 | also it appears |
00:10.07 | zsakul2 | the touch is reversed |
00:10.12 | zsakul2 | the top is the bottom and th ebottom is the part |
00:10.24 | zsakul2 | so i drag the top down to bring up the drawer and the bottom to bring up notifications |
00:11.49 | zsakul2 | lmao what i can do with it its vey nice though :p |
00:13.38 | *** join/#htc-linux Heinz (i=7898d2db@gateway/web/freenode/x-rogttexleithqaym) |
00:15.12 | mdrobnak | btb |
00:24.42 | *** join/#htc-linux Ekips (i=spike@d51A460C9.access.telenet.be) |
00:26.48 | *** join/#htc-linux nozze1 (n=nozze@u193-11-162-41.studentnatet.se) |
00:28.50 | zsakul2 | Hmm.. |
00:28.57 | *** join/#htc-linux dzo (n=dzo@mail.marginz.co.nz) |
00:29.09 | zsakul2 | wish i could figure this crap out.. |
00:29.41 | *** join/#htc-linux ppman_ (n=mkern@70.111.252.19) |
00:30.27 | zsakul2 | why does nonoe of the startup.txt have ramaddr |
00:39.31 | ppman_ | lol... http://forums.wireless.att.com/cng/board/message?board.id=cingular&thread.id=119997 |
00:39.37 | ppman_ | seventh fuze :P |
00:40.59 | mdrobnak | wow |
00:43.35 | ppman_ | grr... still having fb issues... |
00:47.13 | zsakul2 | Hey i have set RAMSIZE 0x08000000 set MTYPE 1805 |
00:47.15 | zsakul2 | what should my ramaddr be |
00:47.19 | zsakul2 | this is last question before i give up |
00:47.21 | zsakul2 | :s |
00:48.19 | ppman | mdrobnak: how do you get usbnet working on the computer side? |
00:50.33 | mdrobnak | one sec |
00:50.42 | ppman | wait, I think I got it |
00:50.45 | zsakul2 | anyways ima go bye THANKS for all your help it never worked ill just wait till november or october till the cdma hero for cellular south comes out PEACE <3 |
00:50.48 | ppman | it appears as rndis, right? |
00:52.26 | ppman | woah... ping literally hung the device |
00:53.39 | *** join/#htc-linux ubuntu_user (n=tienhn@76.88.29.46) |
00:53.47 | mdrobnak | that sucks |
00:54.10 | ppman | I'm not sure if usbnet ever actually worked on kaiser.. |
01:00.48 | *** join/#htc-linux x29a__ (n=x29a@unaffiliated/x29a) |
01:04.42 | *** join/#htc-linux miknix (n=miknix@194.2.148.129) |
01:07.47 | ppman | where can I get source for the modem app, |
01:07.50 | ppman | or basically, how do I pull up data? |
01:14.53 | *** join/#htc-linux aisch (i=78989dcb@gateway/web/freenode/x-zunlrfuphpxktumu) |
01:19.14 | *** join/#htc-linux ubuntu_user (n=tienhn@cpe-76-88-29-46.san.res.rr.com) |
01:19.38 | ppman | wishes more kernel/hardware-level devs were in america |
01:20.03 | *** join/#htc-linux ubuntu_user (n=tienhn@cpe-76-88-29-46.san.res.rr.com) |
01:20.25 | ubuntu_user | <PROTECTED> |
01:21.00 | ppman | lolwut? |
01:21.21 | *** join/#htc-linux nozze2 (n=nozze@u193-11-162-41.studentnatet.se) |
01:25.45 | ubuntu_user | any one know why the network connection keep dropping and reconnect for a long time and then finally connected? The Modem app shows PPPD got connected and then immediately dropped. is this a modem control issue? Is this code part of the kernel or Android? |
01:26.04 | ppman | kernel doesn't have anything to do with data |
01:26.18 | ppman | it's Android |
01:26.42 | ubuntu_user | that is what I thought. once it connected, it would be good until I make a voice call or picked up the voice call then the whole cycle again. |
01:26.43 | ppman | you on raph? |
01:26.56 | ubuntu_user | i am on DIA100 with T-mobile. |
01:27.35 | ppman | meh, as long as it works |
01:27.51 | ppman | and voice+data has never worked for me, even in winmo |
01:28.07 | ubuntu_user | If I can look at the Android code, I may be able to help. I did some modem programming on BREW platform before and I had done some embedded system in my life :). |
01:28.27 | ppman | yeah, I need to find that too |
01:28.33 | ppman | I want to try to pull up data in mer |
01:29.03 | ubuntu_user | I am not asking to have both voice and data simultaneously, I am on GPRS/EDGE any way. |
01:29.43 | ppman | well, getting voice should disconnect your data connection |
01:30.37 | ubuntu_user | that is what I expected. however, after that it would be nice if the data can get back quicker rather than going through connect disconnect cycle for about 15 minutes |
01:30.54 | ppman | ouch, that is long |
01:31.09 | ppman | bad radio version? |
01:31.45 | ubuntu_user | well, sometime 5 or 10 minute. the modem log show bunch of coneected with IP and all and then disconnected |
01:32.01 | ppman | weird |
01:32.30 | ubuntu_user | in what sense? winmo works fine. it drop data and get back on right away after voice activity is done. |
01:32.56 | ppman | yeah |
01:33.01 | ppman | that's what I thought you meant |
01:33.10 | ppman | but yours is doing something wacky |
01:34.34 | ubuntu_user | so, I would love to look at the code that actually interact with the modem and write out the "control" pipe so that the setupmodem.sh loop will restart the connection |
01:35.51 | ppman | setupmodem.sh |
01:35.55 | ppman | where'd you find that? |
01:36.11 | ubuntu_user | that should be on the rootfs.img |
01:36.20 | ppman | that might help me :P |
01:36.55 | ubuntu_user | that is a script that read the "control" pipe for a command for what to do next. |
01:38.42 | ubuntu_user | basically if the command is "on" then it will try to turn the modem on, "off" turn modem off, "startppp" then it will start pppd. once it start pppd, I saw the log that it connected with IP and all. But then it dropped connection and then write out the "off" command and the cycle go again |
01:39.06 | ppman | that's what I need.. I'm trying to get data in mer |
01:39.21 | ubuntu_user | what is mer? may i ask? |
01:39.29 | ppman | community-lead maemo |
01:39.50 | ppman | it has already been successfully run to X on raph, working on it on kaiser |
01:39.57 | ubuntu_user | still no clue. |
01:40.01 | ppman | it's harder here because of the small resolution |
01:40.07 | ppman | http://forum.xda-developers.com/showthread.php?t=565480 |
01:41.31 | ubuntu_user | o, i see |
01:42.13 | ppman | that script is in system? |
01:42.18 | ppman | or rootfs? |
01:42.38 | *** join/#htc-linux root2 (n=root@93.135.208.83) |
01:42.47 | ppman | found it |
01:46.31 | ubuntu_user | I don't think the script actually does anything with the modem except for reseting it. The actual code that communicate with the modem is somewhere else. |
01:46.53 | ppman | really? |
01:47.01 | ppman | oh, prolly in the ril |
01:47.06 | ppman | crap, that's closed, too |
01:47.19 | ppman | I still have an old cdma ril, but that's not useful |
01:49.58 | ubuntu_user | so will mer be working on diamond too? |
01:50.25 | ppman | possibly, it'll be hard without a keyboard |
01:50.40 | ppman | if you get X, you'll get an onscreen thing |
01:50.53 | ppman | um, btw, what resolution is your screen? |
01:51.36 | ubuntu_user | it is touch diamond (240x320) I think |
01:53.12 | ubuntu_user | Android almost working perfectly on this phone, except for wifi, bluetooth. But voise and data works fine for me. I can use it for half a day without restart. Only if I can fix this internet connection deal. |
01:53.31 | ppman | mdrobnak: if it's not 640x480 or higher, we're having fb troubles with X. |
01:53.35 | ppman | shoot |
01:53.38 | ppman | wrong user. |
01:53.42 | mdrobnak | Wow |
01:53.52 | ppman | don't ask what my mind was doing :P |
01:53.53 | mdrobnak | Sorry, I was on the phone for a Long time. |
01:54.14 | ppman | ubuntu_user: yeah, a QVGA or HVGA device will not work yet |
01:54.29 | ppman | fb kernel issues. |
01:54.30 | ubuntu_user | i see |
01:54.51 | ubuntu_user | how do I find out the resoution? |
01:55.03 | ppman | google |
01:55.49 | ppman | four times the pixels of most phones. |
01:55.54 | ppman | whatever that means |
01:55.57 | ubuntu_user | ok, it is vga 480x640 |
01:56.14 | mdrobnak | ubuntu_User: |
01:56.17 | mdrobnak | Yea, it's the RIL |
01:56.21 | ppman | do you know which kernel you are using? |
01:56.25 | mdrobnak | Let me find the branch |
01:56.37 | ppman | mdrobnak: wait, do we have access to ril code? |
01:56.50 | mdrobnak | I did some work on it, I got the IMSI code to work, which allows the Auto-Network selection to work with the APNs |
01:56.56 | mdrobnak | ppman, yes. We are using the Vogue Community RIL |
01:57.10 | ppman | please give me the code |
01:57.11 | mdrobnak | It still crashes quite a bit, and I have no idea how to track it down. |
01:57.26 | mdrobnak | I found the RAM issues to be more annoying, so I started tackling that first. |
01:57.38 | ubuntu_user | I git it from here: http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.27 |
01:57.40 | mdrobnak | Now that I have 30MB more RAM, I will get back to it. |
01:57.42 | ppman | I really don't know what you're talking about with the ram.. |
01:57.56 | mdrobnak | ppman: The RAPH series has 288MBs of RAM for some of them |
01:57.59 | mdrobnak | others 192. |
01:58.05 | ppman | ubuntu_user: cool, there's a patch you can apply, then there's a chance everything might work to an extent for you. |
01:58.13 | mdrobnak | I have 288. It's 32 + 128 + 128 |
01:58.21 | mdrobnak | The second 128 bank doesn't work right with Android. |
01:58.29 | ppman | mdrobnak: wtf... like... dimms? |
01:58.37 | mdrobnak | not exactly. |
01:58.46 | ppman | you have removeable ram? |
01:58.49 | mdrobnak | It's at a totally different address |
01:58.49 | mdrobnak | no |
01:59.04 | ubuntu_user | ppman: where do I get the patch and what might this fix? |
01:59.05 | mdrobnak | 0x1000000 is the first 128MB, and 0x2000000 is the second bank. |
01:59.26 | ppman | ubuntu_user: http://people.openezx.org/tmzt/htcraphael-msmts-and-vres-1.patch |
01:59.34 | ppman | you have to apply by hand |
01:59.43 | ppman | and only the last one is important |
02:00.06 | mdrobnak | Well, he should have the virtual keyboard thing in our kernel |
02:00.12 | mdrobnak | that was written for the Diamond |
02:00.22 | mdrobnak | One sec for the RIL link. |
02:00.32 | ppman | then you have to do a ton of steps to set up mer to work |
02:00.44 | ppman | wait.. you have a kernel virtual keyboard? |
02:00.54 | mdrobnak | http://github.com/vilord/android-htc-ril |
02:00.56 | ppman | ubuntu_user: I can help you through installing mer, but not tonight. |
02:01.05 | mdrobnak | ppman - Yes, RAPH and DIAM users do |
02:01.12 | mdrobnak | it's just turned off by a kernel parameter |
02:01.18 | mdrobnak | it's in our FB code I think. |
02:01.22 | ppman | what on earth does it look like? |
02:01.39 | ubuntu_user | ppman: that is ok. thanks. will find out more about mer later. |
02:01.39 | ppman | that is really really weirs |
02:01.39 | mdrobnak | Small. |
02:01.39 | mdrobnak | :-) |
02:01.42 | mdrobnak | It floats over the FB |
02:02.00 | mdrobnak | ubuntu_user: Have you done any debugging before? |
02:02.02 | ppman | ubuntu_user: not tomorrow, but the next day or so, I should have no problem helping you through |
02:02.21 | ppman | it's totally undocumented territory except for what mdrobnak and I have done... |
02:02.52 | ppman | omg thank you!!! I needed that ril code for a while. |
02:03.00 | mdrobnak | Btw, that " |
02:03.00 | mdrobnak | Fix for Diamond, hopefully this won't break any other devices but it |
02:03.00 | mdrobnak | hasn't been tested. " is my APN / IMSI patch, as dzo was kind enough to credit me for. |
02:03.20 | mdrobnak | It's crude, but works :-) |
02:03.23 | ppman | hehe |
02:03.58 | mdrobnak | Unfortunately, it does not stop the crashes. I think it may be the unsolicited parser may have some issues with some strings. |
02:04.09 | mdrobnak | Haven't had time to add more debug code to it yet. |
02:05.01 | ubuntu_user | mdrobnak: I am learning the rope here but in general, I am familiar with software/firmware development. I just need to know where the tools are and I will learn |
02:05.36 | mdrobnak | well, that's the problem. The only way I could build it was checking out the android repo..and using "mm" to build the module |
02:05.40 | ppman | I like how none of this is directly useful in any context but android |
02:05.46 | ppman | It's a good thing I know c :P |
02:05.50 | mdrobnak | but that strips the debug symbols out |
02:06.16 | mdrobnak | ppman, it's true, but in my humble opinion, it's the furthest along Linux-based PHONE Operating System. |
02:06.27 | ppman | mmhm |
02:06.30 | ppman | until mer :P |
02:06.55 | ppman | I mean, we should not pour a ton of effort into android-specific if there's other options that need love too |
02:06.59 | mdrobnak | well, that remains to be seen. ;-) |
02:07.11 | mdrobnak | Here's my thoughts on that: |
02:07.24 | mdrobnak | Try and be as compatible as possible... |
02:07.45 | mdrobnak | Anything that conflicts, make a kernel option, either compile time or boot time. Boot time if possible. |
02:08.14 | mdrobnak | For instance, I hate that the X FrameBuffer patches probably break Android (haven't tried). |
02:08.19 | ubuntu_user | I will come back in the next few days. to learn more about mer. I am still want to have Android running on my Diamond! |
02:08.23 | mdrobnak | I'd like to have the same kernel and switch. |
02:08.34 | mdrobnak | ubuntu_user: have you gotten it to boot at least? |
02:08.50 | mdrobnak | Dumb question, if you were asking about the RIL. Sorry. tired. |
02:09.24 | ubuntu_user | if you are talking about the RIL? I have not |
02:09.42 | ubuntu_user | what is RIL? I am learning the rope here. lingo and all :) |
02:09.49 | mdrobnak | RIL - Radio Interface Library |
02:10.24 | mdrobnak | ppman - now we see if this will crash with more ram.. |
02:10.46 | ppman | heh |
02:11.00 | mdrobnak | wtf |
02:11.03 | mdrobnak | it didnt' even start x |
02:11.20 | ppman | btw, any chance of cleaning up the code in here so it displays "AT&T" for at&t, for example? |
02:11.25 | ppman | right now I see "Cingular" |
02:11.30 | ppman | on one tower it's "ATT0" |
02:11.48 | mdrobnak | Hah |
02:12.02 | mdrobnak | seriously, I see _____ (Blank) most of the time |
02:12.11 | mdrobnak | I'd rather see Cingular |
02:12.11 | mdrobnak | lol |
02:12.22 | mdrobnak | the SIM sends back a blank answer instead of ATT |
02:12.25 | mdrobnak | No idea why. |
02:12.36 | mdrobnak | argh, it thinks X is already started. |
02:12.46 | ppman | can't you compare mnc/mcc against the COPS command? |
02:13.07 | mdrobnak | The COPS command is what gives the string back |
02:13.10 | mdrobnak | it asks three questions: |
02:13.18 | mdrobnak | Once "Long format alphanumeric" |
02:13.24 | mdrobnak | Once "Short Alphanumeric" |
02:13.25 | ubuntu_user | mdrobnak: I got Android to boot on my DIAM100 OK. but I have problem with making network connction. Just take too many tries before it stick. |
02:13.26 | mdrobnak | Once "Numeric" |
02:13.33 | *** join/#htc-linux root2 (n=root@93.135.78.47) |
02:13.48 | mdrobnak | ubuntu_user: Ok, yes, that's the same situation I'm in. Building that library I gave the link to will help. |
02:13.52 | mdrobnak | ppman: |
02:13.55 | mdrobnak | So instead of: |
02:14.02 | mdrobnak | "AT&T" |
02:14.04 | mdrobnak | "ATT" |
02:14.07 | mdrobnak | "310410" |
02:14.07 | mdrobnak | It's |
02:14.08 | mdrobnak | "" |
02:14.09 | mdrobnak | "" |
02:14.11 | mdrobnak | "310410" |
02:14.12 | mdrobnak | lol |
02:14.17 | ppman | wow... that sucks |
02:14.21 | ubuntu_user | cool. let me see... |
02:16.09 | mdrobnak | ppman: Note - if you have to soft-reset, you're going to have to clean out /tmp |
02:17.47 | mdrobnak | pppman: Is "Mer" Maemo 5 based? |
02:17.55 | mdrobnak | ie N900? |
02:18.01 | ubuntu_user | mdrabnak: I do not have Android source. I only have the kernel so far. where do I get the Android source to build with this RIL? |
02:18.02 | ppman | I'm not sure at all |
02:18.14 | ppman | I think they forked a while ago and have grown up in similar directions. |
02:18.20 | mdrobnak | ubuntu_user: source.android.com |
02:18.34 | mdrobnak | There's instructions on there how to get it via git |
02:18.35 | ppman | by N900 release, there should be more useful stuff. |
02:19.08 | mdrobnak | Ok, now this *is* interesting. The phone has NOT crashed with 107+61 MB of RAM. |
02:19.21 | ali1234 | mdrobnak: if you do AT+COPN it should list all the mnc/mcc the phone knows. i think the cell only broadcasts the numeric code and the phone looks it up in this table |
02:19.48 | mdrobnak | ali1234: Hey there. Thats good info. |
02:19.56 | ubuntu_user | so, I got the source from android.com and then replace the RIL code with yours and rebuild, correct? Then what is the result? system.img? or rootfs.img? |
02:20.29 | mdrobnak | If I remember, it's inside rootfs.img, inside the /lib directory is where you replace it. |
02:20.45 | mdrobnak | It'll give you like libhtcril.so |
02:20.56 | mdrobnak | replace the similarly named file in the rootfs.img |
02:22.11 | mdrobnak | ppman - any idea what the USB interface should be set to? |
02:22.16 | mdrobnak | it looks like it might be working |
02:22.34 | ubuntu_user | will download the code and RIL to try. thanks. Just curious, do you have a version of libhtcril.so that I can try it out quickly tonight? |
02:23.20 | mdrobnak | If you give me a few minutes, I will try and get it off my SD card. |
02:23.30 | ubuntu_user | thanks, |
02:23.44 | ppman | mdrobnak: nope... I tried to set up usbnet, crashed the phone |
02:23.50 | mdrobnak | hmm. |
02:24.04 | mdrobnak | Standard debian /etc/network/interfaces file, though, right? |
02:24.06 | ubuntu_user | in the mean time, I am looking for where that file should be in rootfs.img |
02:24.33 | ppman | should be |
02:24.35 | ppman | otherwise use ifconfig/etc. |
02:24.57 | mdrobnak | yeah, I can hack the init script. |
02:25.53 | mdrobnak | usb0: register 'cdc_subset' at usb-0000:00:1d.7-1, Linux Device, ae:6a:f0:3a:a0:xx |
02:25.59 | mdrobnak | so that works on the pc side |
02:26.34 | mdrobnak | ok, getting my rootfs.img now |
02:26.56 | ubuntu_user | there is libhtcgeneric-ril.so in /lib within rootfs.img |
02:27.07 | mdrobnak | Yes. that's the one. |
02:27.17 | mdrobnak | That needs to be updated with the compiled code. |
02:27.42 | ubuntu_user | this is ARM compiler code right? |
02:27.47 | mdrobnak | Correct. |
02:27.54 | mdrobnak | The Android repo takes care of that |
02:28.06 | mdrobnak | there might be a way to compile it without the whole repo, I just downloaded it |
02:28.24 | mdrobnak | 16bbde71a890753658ca9e703f29c2f7 should be the md5sum of the file you have already. |
02:28.30 | ubuntu_user | hmmm, not familiar with Android building process yet but does that mean it need ARM tool chain to build Android stuffs? |
02:28.46 | ppman | yes |
02:29.30 | ubuntu_user | I guess for the lib stuffs. as for as apps, they all java right? |
02:30.09 | mdrobnak | Ok, I just threw it up on my web site: http://www.drobnak.com/libhtcgeneric-ril.so |
02:30.33 | mdrobnak | 21c22c845cc520e3789e11434723b86e libhtcgeneric-ril.so |
02:31.15 | mdrobnak | I don't think I made any real changes other then that patch. My version forces "isgsm == 1" though. so not for CDMA users. |
02:31.16 | ubuntu_user | mine current one is 16bbde71a890753658ca9e703f29c2f7 |
02:31.27 | mdrobnak | yep. |
02:31.42 | ppman | mdrobnak: is the gsm check a problem? |
02:32.09 | mdrobnak | Didn't know, didn't take a chance :-) |
02:32.17 | mdrobnak | I think it's fine. |
02:32.33 | ubuntu_user | got it. checksum is 21c22c845cc520e3789e11434723b86e |
02:32.45 | mdrobnak | I know in the patch that was comitted, dzo put it back. He worked on the RIL quite a bit, so I trust his judgement. |
02:32.49 | ubuntu_user | let give it a try now... |
02:35.29 | mdrobnak | ppman: It sets it to 192.168.2.15 if it works...Let me retry. |
02:35.30 | ubuntu_user | replacing rootfs.img now... |
02:35.52 | ppman | mdrobnak: the device should be 15, host should be 1 |
02:35.57 | ppman | I set that up, |
02:36.03 | ppman | actually, the 15 was set up for me |
02:36.09 | ppman | and it still hung when I tried to ping. |
02:36.14 | mdrobnak | oh. |
02:37.37 | mdrobnak | ppman: Doh - (**) keypwr-evdev: Device: "/dev/input/event2" |
02:37.38 | mdrobnak | (II) keypwr-evdev: Found x and y absolute axes |
02:37.38 | mdrobnak | (WW) keypwr-evdev: Don't know how to use device |
02:37.55 | ppman | lolwhut? |
02:37.58 | tmzt | ubuntu_user: you need what android uses to build |
02:38.05 | mdrobnak | X org log |
02:38.05 | tmzt | unless you can build just ril |
02:38.08 | ppman | did it try to enable your ts as a keyboard? |
02:38.13 | mdrobnak | Hey tmzt. |
02:38.16 | mdrobnak | No |
02:38.26 | mdrobnak | I'm not convinced it's quite working right.. |
02:38.35 | mdrobnak | tmzt: How did you set up the touch screen when you got X working? |
02:39.13 | tmzt | mdrobnak: or make /tmp tmpfs so you don't have to worry about it |
02:39.16 | ubuntu_user | ok, done replacing. start haret |
02:40.01 | mdrobnak | tmzt: might be a good idea. Just using what ppman gave me so far.. |
02:40.28 | mdrobnak | (Which is a good start - I'm shocked I didn't get a crash on the 107 + 61MB kernel...) |
02:41.13 | tmzt | mdrobnak: if you have tslib-utils installed |
02:41.19 | tmzt | cat /sys/class/input/input*/name |
02:41.20 | mdrobnak | Keep in mind, not accessing audio or anything like that yet.. |
02:41.25 | tmzt | that gives you the device |
02:41.27 | tmzt | then |
02:41.37 | tmzt | TSLIB_TSDEVICE=/dev/input/eventX ts_calibrate |
02:41.55 | tmzt | for Xorg you would have to configure the tslib driver which may not work |
02:42.06 | tmzt | so you either have to use the latest Xorg or you have to use Xfbdev |
02:42.09 | tmzt | for Xfbdev: |
02:42.26 | tmzt | Xfbdev -mouse tslib,,device=/dev/input/eventX |
02:42.33 | mdrobnak | ppman: usb didn't work :-( |
02:42.34 | ppman | I think it's xorg 1.6.0 |
02:42.42 | ppman | mdrobnak: hang or just no work? |
02:42.47 | mdrobnak | still alive |
02:42.52 | ppman | interesting |
02:42.55 | tmzt | ok, in that case try adding an evdev to xorg.conf and the Calibrate line |
02:43.02 | tmzt | I don't have the syntax for that |
02:43.10 | ppman | I'm going to do some more tests with gprs and wifi soon. |
02:43.16 | ppman | got homework tonight :P |
02:43.16 | tmzt | there is a new calibration program you can search for to generate it |
02:43.27 | tmzt | does anybody have wifi working? |
02:43.34 | mdrobnak | Can we take the existing calibration #s and convert them? |
02:43.34 | tmzt | I can't use the posted kernel since I have raph500 |
02:43.36 | ppman | in android... |
02:43.40 | ppman | for kaiser.. |
02:43.44 | tmzt | but I would like specific instructions |
02:43.47 | tmzt | ppman: which driver? |
02:43.56 | ppman | some ti thing I think |
02:43.58 | *** join/#htc-linux Tinyboom (n=nahh@41.80-202-154.nextgentel.com) |
02:44.08 | ppman | the driver was already present, the hard part was firmware |
02:44.09 | tmzt | mdrobnak: maybe, but you'll have to read the new source to find out how |
02:44.15 | tmzt | which driver? |
02:44.24 | tmzt | the wilink4-based one? |
02:44.42 | ppman | board-kaiser-wifi.c |
02:44.46 | ppman | hehe |
02:44.47 | tmzt | I'm actually looking for the instructions to build wl12xx since I'm using debian |
02:44.57 | ppman | I think that's the one. |
02:44.58 | tmzt | that's not the driver, that's just to activate the mmc device |
02:45.29 | ppman | well, we have a board-kaiser-wifi |
02:45.46 | ppman | I really haven't done any kernel work since we got wifi working, so I don't know. |
02:46.03 | tmzt | right, but you must be using a driver |
02:46.06 | tmzt | it fully works? |
02:46.59 | ppman | yeah |
02:47.11 | ppman | I don't think we have power setting, but it works fine |
02:47.22 | ppman | dunno about encryption |
02:47.33 | tmzt | yeah, I wonder if udelay would work instead of the power thing |
02:48.09 | mdrobnak | ppman: so until network is working in some way, or touchscreen, I think that's as far as we go. But still, that's cool. |
02:48.12 | ubuntu_user | damn. it either a pure coincident or it really work!!! make connection right after boot up. |
02:48.25 | mdrobnak | tmzt: What source should I read for the calibration stuff? |
02:48.35 | mdrobnak | It' just max and min y |
02:48.49 | mdrobnak | Shouldn't I be able to convert from hex -> decimal and put that in? |
02:48.51 | tmzt | what is? |
02:48.52 | tmzt | where? |
02:48.55 | ppman | mdrobnak: enough to get folks interested :P |
02:48.58 | mdrobnak | The calibration in xorg.conf |
02:48.59 | tmzt | I mean git.freedesktop.org |
02:49.25 | mdrobnak | ? |
02:49.34 | mdrobnak | never heard of that |
02:49.45 | mdrobnak | ubuntu_user: Yes, it helps. |
02:50.08 | tmzt | that's where the X source is |
02:50.09 | mdrobnak | ppman: Indeed. |
02:50.24 | tmzt | touchscreen worked in Xfbdev |
02:50.39 | tmzt | there just isn't much interest in X without a phone and a phone without audio working |
02:50.49 | tmzt | now it seems to work except for microphone |
02:50.57 | ubuntu_user | mdrobnak: thanks, will read the code and try to rebuild Android. |
02:50.58 | tmzt | we can start on fso again |
02:51.30 | ubuntu_user | Going to test making a phone call and see if network reconnect quickly... |
02:51.58 | mdrobnak | Here's my take of the state of RAPH: Get screen calibrated for X, Figure out why USBNet is broken again, Figure out why RAM works in Fbdev but not Android (could be other library related, like amss functions), fix ril crashes, finish keyboard driver.. |
02:51.58 | tmzt | data? |
02:52.08 | mdrobnak | Afer that, I think the phone is damn usable. |
02:52.13 | mdrobnak | Heck, it's pretty usable now. |
02:52.14 | tmzt | I don't know why usb function is broken |
02:52.32 | tmzt | I tried switching to gadget but it doesn't work for me either |
02:52.43 | mdrobnak | I use it during the day for my email, but I have to keep it near power :-) |
02:52.43 | ppman | mdrobnak: ril is irrelevant to mer :P |
02:52.52 | tmzt | what is mer? |
02:52.53 | mdrobnak | Yes and no. |
02:52.57 | mdrobnak | Need the command set :-) |
02:52.58 | ppman | tmzt: awesome |
02:53.06 | tmzt | and there is a ril equivalent for it I'm sure |
02:53.13 | tmzt | what platform, toolkit, daemon, etc. |
02:53.23 | mdrobnak | mer = community driven Maemo |
02:53.40 | mdrobnak | Thats what I was just testing |
02:53.41 | tmzt | maemo5 included? |
02:53.46 | mdrobnak | Not sure. |
02:53.51 | tmzt | I can't get why moblin needs garage |
02:53.57 | tmzt | a little confused about that one |
02:54.02 | mdrobnak | What's garage? |
02:54.04 | ppman | as soon as the n900 comes out, it'll be more oriented towards what we want. |
02:54.09 | tmzt | something from mameo |
02:54.14 | mdrobnak | oh |
02:54.19 | tmzt | there's no documentation for the radio |
02:54.36 | mdrobnak | ppman - N900 + 850/1900 is my perfect device. |
02:54.36 | tmzt | won't be source for at least six months for that part |
02:54.46 | tmzt | as they are using an existing closed stack, not ofono |
02:54.50 | ppman | mdrobnak: likely non-existant though :( |
02:54.58 | tmzt | 850/1900 3g? |
02:54.59 | ali1234 | there's no documentation for *any* radio chipset unless you're buying several million of them |
02:55.00 | tmzt | probably not |
02:55.02 | mdrobnak | It's big, I can ssh, remote desktop, etc right from the device. |
02:55.11 | ppman | maybe rogers will get it or something... |
02:55.12 | mdrobnak | maybe.. |
02:55.14 | tmzt | ali1234: if it's AT its almost irrelevant, this isn't |
02:55.18 | tmzt | that's what I mean |
02:55.44 | ali1234 | what is it then? |
02:56.06 | ali1234 | at some point it has to talk to userspace |
02:56.08 | mdrobnak | tmzt: Wait, they're not using AT control channel? |
02:56.13 | tmzt | some binary protocol either over serial (n900) or usb (some nokia modems) |
02:56.21 | tmzt | I can't think of the name right now |
02:56.24 | mdrobnak | wonderful. |
02:56.33 | mdrobnak | the old programming one? |
02:56.41 | tmzt | similar to it apparently |
02:57.08 | tmzt | for me n900 with a qualcomm6800 would be perfect |
02:57.19 | tmzt | but they use a nokia chip |
02:57.30 | tmzt | as it's a nokia product :) |
02:57.31 | mdrobnak | I like Nokia devices, I have an E63. |
02:57.36 | mdrobnak | I had the N95. |
02:57.46 | tmzt | how often do you write midleware for them? |
02:57.48 | mdrobnak | Symbian does not do well with a large volume of email :-( |
02:57.56 | tmzt | middle |
02:58.03 | mdrobnak | thankfully never :-) |
02:58.31 | mdrobnak | There we go |
02:58.32 | mdrobnak | FBus? |
02:58.39 | tmzt | that's part of it |
02:58.46 | tmzt | I can try to find the conversation |
02:59.07 | tmzt | well I can't find it right now |
02:59.20 | tmzt | I only know that they are using the same protocol over serial in the n900 |
02:59.28 | tmzt | as they use over usb elsewhere |
02:59.47 | tmzt | but it's a new version and not supported by the third-party tools |
02:59.54 | mdrobnak | wonderful. |
02:59.59 | ubuntu_user | mdrobnak: hmmm. after a few phone calls, I got into the same cycle again. Will test some more, read the code and let you know later. thanks. I will call it the night now. |
03:00.16 | mdrobnak | ubuntu_user: Every once in a while I have to put it into airplane mode and start over. |
03:00.29 | ppman | mdrobnak: it's a shame that wonderful phones can look bad from a dev POV :P |
03:00.36 | mdrobnak | It seems to be dependant on how good your signal is too. |
03:00.44 | mdrobnak | ppman: Yep. |
03:01.18 | *** join/#htc-linux stelleg (n=stelleg@adaptive.cs.unm.edu) |
03:01.23 | ppman | it's funny, that conversation was basically: |
03:01.37 | ppman | "It's an awesome phone, but doing any programming for the radio is going to be hard" |
03:02.05 | ppman | and to think, I almost ended up with a moto Q for 2 years :P |
03:02.23 | mdrobnak | I liked the BlackJack funny enough, but not the Q. |
03:02.26 | tmzt | gsm or cdma? |
03:02.33 | ppman | gsm |
03:02.38 | ppman | the q9h actually |
03:02.47 | ppman | had it for two weeks and picked the kaiser over it |
03:02.48 | tmzt | I still don't know the mux protocol on the cdma version |
03:02.56 | tmzt | that might have been msm actually, I can look |
03:04.59 | ubuntu_user | mdrobnak: it certainly better than before. I got connected right away after reboot twice already. must not be coincident |
03:06.04 | ppman | I g2g, bed time... will definitely put some effort into the data connection tomorrow, thanks for showwing me the ril code... |
03:06.09 | mdrobnak | Same for me |
03:06.13 | mdrobnak | Good night all. |
03:07.04 | stelleg | anyone want to point me in the right direction to help develop drivers for excalibur? |
03:08.52 | tmzt | yeah |
03:08.57 | tmzt | #linwziard |
03:09.02 | tmzt | #linwizard |
03:09.13 | tmzt | candidate-android should support it |
03:09.25 | tmzt | and wing-linux.sf.net should work |
03:10.49 | stelleg | yeah |
03:10.56 | stelleg | just tried cloning git repo for wing-linux |
03:11.15 | stelleg | no workey though, so dling most recent zip |
03:11.15 | tmzt | I would start with the image |
03:11.20 | tmzt | ok |
03:11.27 | stelleg | yeah OK, need SD card to start though right |
03:11.33 | tmzt | what drivers do you need? |
03:11.38 | tmzt | yes |
03:12.06 | tmzt | you can boot the old linwizard initrd without it if you repack |
03:12.22 | tmzt | using haret to boot |
03:12.43 | stelleg | ok |
03:12.43 | stelleg | I'll buy one tomorrow I think |
03:12.43 | stelleg | its a microsd slot correct |
03:13.07 | tmzt | yes |
03:13.46 | stelleg | great thanks |
03:14.12 | stelleg | ive done a bit of kernel hacking for the nokia N770 |
03:14.36 | stelleg | different omap |
03:14.48 | stelleg | what needs to be done? |
03:14.58 | stelleg | last I saw no wireless was working |
03:15.05 | stelleg | i.e. edge, wifi, gsm etc |
03:23.02 | tmzt | you can use sdhc in linux but not wm5 or eol |
03:23.18 | tmzt | well, let's discuss that in the other channel |
03:23.40 | tmzt | #linwizard |
03:26.13 | tmzt | anyway, if the same driver and calibration method can be used it should be possible to get it working |
03:27.33 | *** join/#htc-linux densin (n=densin@ppp-58-8-115-187.revip2.asianet.co.th) |
03:31.11 | stelleg | cool |
03:38.56 | *** part/#htc-linux densin (n=densin@ppp-58-8-115-187.revip2.asianet.co.th) |
03:47.55 | *** join/#htc-linux stickboy (n=anonymou@128.153.209.94) |
03:54.06 | *** join/#htc-linux thinko (n=jdoe6alp@smaug.rackdragon.com) |
04:03.20 | *** join/#htc-linux goxboxlive (n=jrs@mail2.hjellnesconsult.no) |
04:24.48 | *** join/#htc-linux droid001 (n=g1@p4FDCF174.dip.t-dialin.net) |
04:44.08 | *** join/#htc-linux shafty (n=kvirc@cpe-70-113-42-154.austin.res.rr.com) |
05:14.02 | *** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz) |
05:14.18 | *** join/#htc-linux xixx (n=xixx@cpmsq.epam.com) |
05:43.06 | townkat | why does android boots directly to power off screen ? |
05:56.38 | *** join/#htc-linux pleemans (n=toi@cust-220-248-108-94.dyn.versateladsl.be) |
06:47.09 | *** join/#htc-linux kiozen (n=oeichler@84.146.20.146) |
06:47.52 | *** join/#htc-linux GNUtoo (n=gnutoo@host142-132-dynamic.16-79-r.retail.telecomitalia.it) |
07:00.28 | *** join/#htc-linux jummama (n=AndroidI@m330e36d0.tmodns.net) |
07:20.04 | *** join/#htc-linux Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl) |
07:32.21 | *** join/#htc-linux aisch (i=789888a1@gateway/web/freenode/x-zmhkqdxhzvblxylx) |
07:47.09 | townkat | hmm, it is something with the battery reading |
07:47.24 | townkat | i managed to read the background message "please connect the charger" |
08:06.28 | *** join/#htc-linux leobaillard (n=leobaill@leobaillard.org) |
09:20.20 | *** join/#htc-linux kvaster (n=kvaster@93.84.112.80) |
09:32.27 | *** join/#htc-linux balans (n=Administ@212-123-149-239.ip.telfort.nl) |
09:35.38 | *** join/#htc-linux leaigor (n=laigor@188.134.16.241) |
09:43.50 | *** join/#htc-linux FR^2 (n=frzwo@2001:41d0:1:ed2f:0:0:0:cafe) |
09:50.49 | *** join/#htc-linux Smile30 (n=rmfrfs@62.169.119.122) |
09:53.52 | *** join/#htc-linux balans1 (n=Administ@53543B53.cable.casema.nl) |
09:55.47 | *** join/#htc-linux Zinbolic (n=zinbolic@84.238.80.215) |
10:00.14 | *** join/#htc-linux thedicemaster2 (n=thedicem@j89051.upc-j.chello.nl) |
10:02.27 | *** join/#htc-linux gazzor (n=gazz@c-d530e655.09-137-6c756c11.cust.bredbandsbolaget.se) |
10:09.12 | *** join/#htc-linux kvaster (n=kvaster@93.84.112.80) |
10:11.53 | *** join/#htc-linux toi (n=pleemans@d5153128F.static.telenet.be) [NETSPLIT VICTIM] |
10:19.35 | *** join/#htc-linux Smile30 (n=rmfrfs@a81-84-255-41.cpe.netcabo.pt) |
10:26.35 | *** part/#htc-linux Smile30 (n=rmfrfs@a81-84-255-41.cpe.netcabo.pt) |
10:38.19 | *** join/#htc-linux Squarc (n=Squarc@145.81.0.220) |
10:46.11 | *** join/#htc-linux Smile30 (n=ruisilva@a81-84-255-41.cpe.netcabo.pt) |
10:59.29 | *** join/#htc-linux MethoS- (n=clemens@134.102.106.250) |
11:07.03 | *** join/#htc-linux leobaillard (n=leobaill@leobaillard.org) |
11:29.05 | *** join/#htc-linux rayman18 (n=opera@residL-103-252.uc3m.es) |
11:29.32 | *** part/#htc-linux rayman18 (n=opera@residL-103-252.uc3m.es) |
11:31.48 | *** join/#htc-linux x-fak (n=WinGuru@reactos/tester/x-fak) |
11:35.12 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
13:18.22 | *** join/#htc-linux GNUtoo (n=gnutoo@host142-132-dynamic.16-79-r.retail.telecomitalia.it) |
13:51.11 | *** join/#htc-linux miknix (n=miknix@bl4-90-61.dsl.telepac.pt) |
13:53.44 | *** join/#htc-linux ali1234 (n=al@robotfuzz.co.uk) |
13:57.38 | *** join/#htc-linux kvaster (n=kvaster@212.98.181.84) |
14:05.45 | *** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix) |
14:20.02 | *** join/#htc-linux sdt555 (n=titus@147.145.40.44) |
14:28.46 | *** part/#htc-linux sdt555 (n=titus@147.145.40.44) |
14:51.36 | *** join/#htc-linux GNUtoo (n=gnutoo@host142-132-dynamic.16-79-r.retail.telecomitalia.it) |
14:55.45 | *** join/#htc-linux Gnutoo (n=gnutoo@host142-132-dynamic.16-79-r.retail.telecomitalia.it) |
15:02.02 | Gnutoo | ~seen druidu |
15:02.11 | Gnutoo | still no news of druidu? |
15:11.51 | Gnutoo | or no news of the msm kenrel with alsa? |
15:11.56 | Gnutoo | that can be compiled without fixing a lot of simple errors |
15:11.58 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
15:12.27 | townkat | university starts on monday, he will probably be more present after that |
15:23.55 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
15:24.31 | Gnutoo | ok |
15:31.35 | *** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net) |
15:45.49 | townkat | is it posible to go to an older version of kernel source ? |
15:46.06 | townkat | go back |
15:47.16 | ali1234 | how much older? |
15:51.15 | townkat | http://glemsom.anapnea.net/android/blackstone/ |
15:51.30 | townkat | before enable UART2DM_RX irq |
15:53.44 | Gnutoo | hi,I don't remember well but the did the msm ts driver interfer with the memory of the framebuffer? |
15:55.35 | ali1234 | townkat: you can use git checkout <commit> or git revert <commit> to revert a single commit |
15:57.33 | *** join/#htc-linux luc_ (n=luc@89-115-128-35.cl.ipv4ilink.net) |
15:58.04 | townkat | can i reverse more one by one? |
15:59.15 | kri5 | townkat: if you want you can use git bisect also, if you want to find a breaking revision |
16:01.19 | townkat | hmm, how that works ? |
16:01.52 | townkat | the kernel compiles fine, it just does not boot ok |
16:01.54 | Gnutoo | mmm I saw that "removal of kernel touchscreen calibration (prevents driver from being used as raw input event device with tslib) " in http://linuxtogo.org/~lgorris/kaiser-bootkit/README.txt |
16:02.14 | Gnutoo | maybe if we remove the calibration from msm with ifdefs it will work well ? |
16:03.27 | *** join/#htc-linux stickboy (n=anonymou@128.153.209.94) |
16:03.52 | Gnutoo | what infos are they on the touch part of the msm_fb? |
16:07.30 | Gnutoo | hi is there anyone there or I should retry later? |
16:09.40 | townkat | townkat@debian:~/blackstone-dev/kernel$ git checkout 2eba84a1c0971845389b04a2be5baa723aeb13d8 |
16:09.40 | townkat | error: pathspec '2eba84a1c0971845389b04a2be5baa723aeb13d8' did not match any file(s) known to git. |
16:09.45 | townkat | ? |
16:12.29 | ali1234 | then you dont have that change on your tree |
16:12.45 | ali1234 | try 'git log' to see the last changes on your working dir |
16:13.28 | townkat | thnx |
16:13.31 | townkat | it seem to work |
16:13.32 | townkat | :D |
16:14.58 | *** join/#htc-linux SOG (n=SOG@219.79.49.150) |
16:15.42 | townkat | how to exit the log ? |
16:16.49 | ali1234 | q |
16:17.01 | ali1234 | (it just uses less, or whatever pager) |
16:17.13 | townkat | thnx |
16:20.37 | *** join/#htc-linux kvaster (n=kvaster@212.98.181.84) |
16:22.26 | townkat | i managed to load android with dwadarzyn image but it boots directly to power off window |
16:22.33 | townkat | is it know what causes this ? |
16:22.37 | townkat | known |
16:22.41 | townkat | ? |
16:27.39 | ali1234 | i thought it was the charging problem? |
16:27.48 | ali1234 | dont oyu have to boot with charger plugged? |
16:28.36 | townkat | id does not seem to work either |
16:28.40 | townkat | ill try again |
16:29.08 | Gnutoo | does someone knows something on msm_fb: beside levithan's patch to refresh it what is there to do: |
16:29.26 | Gnutoo | *android uses a special virtual screen should I remove it? |
16:29.34 | Gnutoo | (in the kernel) |
16:29.52 | Gnutoo | *is the memory of the fb and ts mess up? |
16:30.44 | Gnutoo | *should I and how to,remove the calibration part to make it work with the tslib calibration? |
16:37.15 | townkat | i boot with charger plugged in, still the same |
16:44.13 | Gnutoo | static struct synaptics_i2c_rmi_platform_data trout_ts_data[] = { seems strange |
16:47.24 | *** join/#htc-linux dcordes-kais (n=dcordes-@ip-77-24-25-162.web.vodafone.de) |
16:49.03 | *** join/#htc-linux sd00 (n=smac@82-39-194-231.cable.ubr02.jarr.blueyonder.co.uk) |
16:49.14 | Gnutoo | hi dcordes-kais |
16:49.31 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
16:49.39 | Gnutoo | I've some questions...basically I'd like to make the touch part of the touchscreen work |
16:50.02 | Gnutoo | I've the refresh patch from leviathan but there are several issues |
16:50.11 | Gnutoo | such as crashes when I touch the screen |
16:50.13 | Gnutoo | is it norml? |
16:50.18 | Gnutoo | s/norml/normal |
16:54.53 | *** join/#htc-linux x29a (n=x29a@f053231095.adsl.alicedsl.de) |
17:09.05 | *** join/#htc-linux GlemSom (n=glemsom@0x5da34bca.cpe.ge-1-1-0-1105.sdnqu1.customer.tele.dk) |
17:17.13 | *** join/#htc-linux pleemans (n=toi@d54C2A96D.access.telenet.be) |
17:30.26 | *** join/#htc-linux Guest89081 (n=mike@83.104.175.131) |
17:32.22 | *** part/#htc-linux sd00 (n=smac@82-39-194-231.cable.ubr02.jarr.blueyonder.co.uk) |
17:35.41 | *** join/#htc-linux kiozen (n=kiozen@93.135.196.163) |
17:40.52 | phh | argh, so much log to read |
17:44.45 | townkat | how to sync git ? |
17:44.50 | phh | <mdrobnak> Also, my USB Ethernet is broken on RAPH. Anyone know what caused that? It used to work. <----- change adb board option to 0 solved this for me |
17:47.12 | *** join/#htc-linux sroecker (n=sroecker@BAHa29c.bah.pppool.de) |
17:49.27 | phh | townkat: git pull |
17:49.45 | townkat | thnx |
17:49.49 | townkat | ;) |
17:50.08 | *** join/#htc-linux stelleg (n=stelleg@adaptive.cs.unm.edu) |
17:56.46 | townkat | what does it mean, dirty index, cannot revert ? |
17:57.33 | Gnutoo | hi |
17:57.35 | phh | it means "good luck" :p |
17:57.48 | townkat | :)) |
17:57.51 | phh | I think it some patch conflicts |
17:57.51 | Gnutoo | I've some question about the framebuffer+touch-driver |
17:57.58 | Gnutoo | I'd like to have it working |
17:58.05 | Gnutoo | I've the htc dream |
17:58.16 | Gnutoo | I use the refresh patch from leviathan |
17:58.38 | Gnutoo | but xorg crashes when I touch the screen |
17:58.40 | Gnutoo | so... |
17:58.47 | Gnutoo | *android uses a special virtual screen should I remove it? |
17:58.54 | *** join/#htc-linux chemical1979_ (i=59f561ef@gateway/web/freenode/x-rneuowqhfjvidsoo) |
17:59.08 | Gnutoo | *are the memory of the fb and the memory of the ts in the same range? |
17:59.15 | Gnutoo | *should I and how to,remove the calibration part to make it work with the tslib calibration? |
18:01.30 | *** join/#htc-linux ewebb (n=ewebb@ewebb-desktop.eas.gatech.edu) |
18:02.13 | *** join/#htc-linux stickboy (n=anonymou@128.153.177.103) |
18:04.57 | *** part/#htc-linux ewebb (n=ewebb@ewebb-desktop.eas.gatech.edu) |
18:05.18 | Gnutoo | btw I've the 2.6.27 kernel from linuxtogo and I don't find raph |
18:18.42 | *** join/#htc-linux onen|openBmap (n=quassel@vbo91-1-89-87-201-85.dsl.club-internet.fr) |
18:18.53 | *** join/#htc-linux ubuntu_user (n=tienhn@adsl-75-36-52-3.dsl.sndg02.sbcglobal.net) |
18:19.57 | tcccp | yay |
18:19.57 | tcccp | I'll be having an HTC in a fews |
18:20.13 | townkat | nice |
18:20.16 | townkat | wich one ? |
18:20.23 | tcccp | HTC easy I guess |
18:21.18 | townkat | ?? never heard of this one |
18:21.21 | townkat | do u have a link ? |
18:21.38 | tcccp | That's its german name |
18:21.52 | tcccp | Erm, HTC Magic |
18:21.57 | tcccp | sry |
18:24.52 | *** join/#htc-linux ubuntu_user (n=tienhn@adsl-75-36-52-3.dsl.sndg02.sbcglobal.net) |
18:25.00 | townkat | hmm, u jumped directly to android |
18:25.04 | townkat | very good |
18:25.10 | townkat | a friend of mine gave a magic |
18:25.14 | townkat | its a nice device |
18:26.55 | tcccp | Rightie |
18:27.44 | GlemSom | I'll switch my diamond with a HTC Magic og HTC Hero anytime! :P |
18:34.53 | Gnutoo | anyone? |
18:37.59 | Gnutoo | is there anyone there? |
18:38.36 | phh | noone here can answer your questions i think. |
18:42.32 | phh | Gnutoo: well i maybe can for raph/git, i just don't understand the question |
18:42.56 | Gnutoo | ok I'll find raph kernel...and explain better...I'm on raph board file |
18:43.06 | *** join/#htc-linux docc (n=docc@static.88-198-83-83.clients.your-server.de) |
18:43.06 | *** join/#htc-linux darkstar62 (n=darkstar@97-126-104-157.tukw.qwest.net) |
18:43.07 | *** join/#htc-linux NetRipper (n=netrippe@netripper.nl) |
18:43.07 | *** join/#htc-linux alphaone (n=alphaone@2001:638:602:af01:0:0:0:1) |
18:43.20 | Gnutoo | http://linuxtogo.org/~lgorris/kaiser-bootkit/README.txt talks about raph |
18:43.26 | Gnutoo | it says things about touchscreen |
18:43.49 | Gnutoo | touchscreen is calibrated *inside the kernel*...that seems to be for android |
18:44.04 | Gnutoo | maybe I could get it working with tslib if I uncalibrate the kernel |
18:44.20 | Gnutoo | because we succedded in making the touch work but or: |
18:44.31 | Gnutoo | *I've double click when I press once |
18:44.36 | Gnutoo | and it's ok |
18:44.42 | *** join/#htc-linux c4software (n=Adium@roo49-2-88-161-139-221.fbx.proxad.net) |
18:44.50 | c4software | hi everyone |
18:44.53 | Gnutoo | *it's not ok(huge imprecisions) but I've a single click |
18:45.05 | Gnutoo | that is the first issue |
18:45.14 | Gnutoo | the second is that Xorg crashes when I touch the screen |
18:45.21 | Gnutoo | I've no idea why? |
18:45.29 | Gnutoo | I've the dream |
18:47.04 | Gnutoo | but maybe raph doesn't doesn't have any of theses fixes |
18:47.10 | Gnutoo | the text file says: |
18:47.15 | phh | thouchscreen uses pur input/eventX, so i don't think you can use tslib |
18:47.24 | Gnutoo | "find a solution for the android specific stuff; maybe using IFDEFs framebuffer: removal of android double height panning removal of kernel touchscreen calibration (prevents driver from being used as raw input event device with tslib) " |
18:47.52 | Gnutoo | I'll check on my shr image that used kdrive what I used |
18:48.33 | phh | for X, i haven't been that far yet |
18:49.38 | Gnutoo | ok I realy want X |
18:49.44 | Gnutoo | or kdrive |
18:49.58 | Gnutoo | who should I ask for the crashes then? |
18:50.29 | tcccp | The main advantace having that HTC is: I can spent more time having fun with Debian on my iPaq |
18:50.39 | tcccp | As I won't need it to actually...phone around |
18:58.55 | *** join/#htc-linux cr2 (n=cr2@109.85.129.116) |
19:02.02 | *** join/#htc-linux cr2_ (n=cr2@109.85.132.240) |
19:02.28 | Gnutoo | mmm I'll retry with a better kernel |
19:02.38 | Gnutoo | I'll need to comment the ts stuff in the kernel |
19:02.44 | Gnutoo | but kdrive doesn't seem to crash |
19:02.47 | Gnutoo | with tslib |
19:02.50 | Gnutoo | but we need mouse |
19:02.54 | Gnutoo | s/mouse/evdev |
19:03.43 | Gnutoo | I hope locales finish to compile |
19:03.51 | Gnutoo | so I could get a new toolchain |
19:04.02 | Gnutoo | s/compile/generate |
19:06.26 | Gnutoo | what's that: |
19:06.28 | Gnutoo | static struct synaptics_i2c_rmi_platform_data trout_ts_data[] |
19:06.35 | Gnutoo | in |
19:06.36 | Gnutoo | http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=blob;f=arch/arm/mach-msm/board-trout.c;h=8d15088f83c07e1c9b5f79d807ea8068d8ae34e3;hb=df44ae0aca56fbc4b3b873b469cc09d669b4a3aa |
19:06.43 | Gnutoo | seems calibration |
19:06.44 | Gnutoo | is it? |
19:07.31 | *** join/#htc-linux jummama (n=AndroidI@m310e36d0.tmodns.net) |
19:09.41 | Gnutoo | what's the better branch for dream? |
19:09.45 | Gnutoo | in linuxtogo's kenrel |
19:09.55 | Gnutoo | for GNU/Linux |
19:09.57 | Gnutoo | not android |
19:11.09 | Gnutoo | origin/htc-msm-2.6.29 or vogue? |
19:13.15 | Gnutoo | I'll try 2.6.29 |
19:19.49 | *** join/#htc-linux DJWillis (i=djwillis@82-46-19-72.cable.ubr02.bath.blueyonder.co.uk) |
19:20.02 | *** join/#htc-linux stickboy (n=anonymou@128.153.18.76) |
19:22.48 | *** join/#htc-linux Zinbolic (n=zinbolic@0x57390b26.hbnqu1.dynamic.dsl.tele.dk) |
19:27.47 | *** join/#htc-linux pleemans (n=toi@d54C2A96D.access.telenet.be) |
19:28.36 | *** join/#htc-linux Squarc (n=Squarc@82-217-32-29.cable.quicknet.nl) |
19:29.44 | cr2_ | stuck at GRUB |
19:39.47 | *** join/#htc-linux Zoolooc (n=fredsiba@p54955D75.dip.t-dialin.net) |
19:42.18 | *** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix) |
19:49.17 | *** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo) |
19:51.20 | cr2_ | Error 21: Selected disk does not exist |
19:51.22 | cr2_ | wt ? |
19:51.42 | *** join/#htc-linux ppman (n=mkern@pool-71-250-24-142.nwrknj.east.verizon.net) |
19:52.13 | ppman | Is anyone here intimately familiar with the ril code? |
19:52.51 | phh | same question for the "libhardware" thing here. |
19:53.18 | ppman | I'm trying to manually start up the data connection... |
19:53.56 | phh | hu ? you don't need ril then |
19:53.58 | Gnutoo | ppman, I didn't dig into it a lot but I'll have to do it...what is the real question ? |
19:54.05 | Gnutoo | ah ok |
19:54.14 | Gnutoo | according to: |
19:54.20 | ppman | well, I'm looking at the source, trying to figure out the commands to fire up the data |
19:54.29 | ppman | I tried it, but it didn't work |
19:54.37 | Gnutoo | http://www.kandroid.org/android_pdk/telephony.html#androidTelephonyIntro |
19:54.42 | Gnutoo | you need ppp |
19:54.44 | ppman | I may have pppd set up wrong, though... |
19:54.58 | ppman | btw, I'm not on android. |
19:55.03 | phh | ppman: read the logs |
19:55.35 | Gnutoo | btw I haven't got ppp or multiplexing working yet |
19:55.43 | ppman | I don't think ppp logs here.. |
19:56.08 | Gnutoo | else there is a manual way but it always involve pppd |
19:56.18 | *** join/#htc-linux Miek (n=mike@unaffiliated/mikechml) |
19:56.33 | phh | well if you don't know speak ppp language natively. |
19:56.34 | ppman | yep... I tried the manual setup with pppd for the actual network... |
19:56.59 | Gnutoo | http://wiki.openmoko.org/wiki/Manually_using_GPRS has some infos on the topic |
19:57.21 | cr2_ | heh. need to do mknod by hand |
19:57.37 | Gnutoo | btw I was always curious...how does pppd works? |
19:57.55 | Gnutoo | I mean how does it setup the data connection between the modem and the kernel |
19:58.02 | ppman | Gnutoo: it sends out the ppp commands and intercepts those coming in along the channel, |
19:58.04 | Gnutoo | cr2_, do you use mdev? |
19:58.16 | ppman | then stays as a daemon to interface the ppp0 interface to its language |
19:58.46 | Gnutoo | ok but how is created ppp0? |
19:59.05 | *** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz) |
19:59.11 | ppman | kernel interface |
19:59.20 | Gnutoo | yes I bet it is |
19:59.21 | phh | which is specific to pppd |
19:59.27 | phh | (which sucks.) |
19:59.28 | ppman | CONFIG_PPP |
19:59.47 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
19:59.50 | *** join/#htc-linux cr2_ (n=cr2@109.85.132.240) |
20:00.03 | Gnutoo | here's a better question: over what link does the data flows between the modem and the computer |
20:00.07 | Gnutoo | not over serial I bet |
20:00.10 | Gnutoo | would be too slow |
20:00.12 | ppman | over serial |
20:00.12 | Gnutoo | over ram? |
20:00.17 | Gnutoo | realy? |
20:00.20 | ppman | yes |
20:00.20 | pr0p | yay , building my first kernel for android |
20:00.22 | Gnutoo | 115200kb/s? |
20:00.29 | ppman | not quite |
20:00.32 | ppman | well, |
20:00.35 | Gnutoo | s/kb/bs |
20:00.38 | ppman | it's conceptually serial |
20:00.43 | Gnutoo | ah ok |
20:00.52 | ppman | in reality there's a better bus |
20:00.54 | Gnutoo | like the android driver for the serial |
20:00.59 | ppman | but the OS sees it as serial |
20:01.00 | Gnutoo | like usb,dual port ram etc... |
20:01.02 | Gnutoo | ok |
20:01.16 | pr0p | make: *** No rule to make target `zImage'. Stop. |
20:01.24 | pr0p | can anyone tell me what am i doing wrong ? |
20:01.29 | Gnutoo | pr0p, ARCH=arm |
20:01.29 | Gnutoo | ? |
20:01.36 | ppman | pr0p: wrong directory? |
20:01.40 | pr0p | make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- |
20:01.45 | Gnutoo | ok |
20:01.52 | Gnutoo | and with the make xconfig too? |
20:02.24 | pr0p | i am doing getting some other stuff before , but this is the only error |
20:02.36 | pr0p | xconfig ? |
20:02.37 | Gnutoo | pr0p, check the arch in the .config |
20:03.03 | pr0p | no arch in my .config |
20:03.11 | pr0p | i use the default .config |
20:03.30 | Gnutoo | pr0p, ah you use the defconfig from the board? |
20:03.33 | ppman | lol... why is COPS so dumb? |
20:03.42 | ppman | where does it get the information from? |
20:03.48 | pr0p | ok ok , i need to uncomment some line ? |
20:03.51 | Gnutoo | AT+COPS? |
20:03.57 | cr2_ | ppman: from amss |
20:04.02 | ppman | it just retturned Cingular and VoiceStrem for me |
20:04.23 | cr2_ | ppman: gnokii used its own DB |
20:04.31 | ppman | what about winmo? |
20:04.41 | Gnutoo | the proprietary ril seems to use its own db too |
20:04.43 | *** join/#htc-linux stickboy (n=anonymou@128.153.177.103) |
20:04.47 | cr2_ | compiled into ril |
20:05.15 | ppman | hmm... yeah, it almost always gets me as Cingular or blank, but occasionally as ATT0 |
20:05.31 | mdrobnak | phh - Changed the board option to 0, doesn't seem to work with mer (Ubuntu based) |
20:05.51 | ppman | mdrobnak: any more luck with stuff? |
20:06.17 | mdrobnak | Haven't done anything today. |
20:06.22 | mdrobnak | Been running around all day. |
20:06.47 | ppman | np |
20:06.59 | mdrobnak | ppman - yeah, known bug, remember? :-) |
20:07.15 | ppman | yeah... but voicestream? |
20:07.35 | ppman | that's amazingly old tmobile stuff... |
20:08.44 | phh | mdrobnak: you tried something like that: board-htcdiamond.adb=1 |
20:08.47 | phh | ? |
20:09.08 | cr2_ | phh: found my bt gps |
20:09.24 | cr2_ | phh: he has raph |
20:09.38 | phh | ok so s/diamond/raphael/ |
20:09.40 | cr2_ | phh: and i've disabled adb alreaedy |
20:09.52 | phh | ok |
20:09.59 | cr2_ | but if he uses and old git... |
20:10.28 | stelleg | tried wing-linux on excalibur. got Error: Haret is not running in 'system' mode. Major functionality will not be present. |
20:10.28 | phh | or a diamond build. |
20:10.34 | stelleg | then a bunch of Error: EXCEPTION while reading from address 000000** |
20:10.34 | phh | err no |
20:11.14 | ppman | hey, is it possible to get all the apn info off the network? |
20:11.23 | stelleg | you mean error number? |
20:11.30 | stelleg | not sure, how to check? |
20:11.36 | ppman | cgdcont gives the apn name, can you get the user/pass? |
20:11.40 | cr2_ | stelleg: use EOL, or disable the cert check |
20:12.19 | stelleg | cr2_: thanks, but I'm afraid I don't know how to do either of those either, could you point me to some documentation? |
20:12.38 | mdrobnak | phh - No, I set it to 0 in my .c file :-D |
20:12.47 | phh | mdrobnak: same here :D |
20:13.17 | phh | so don't now then |
20:13.50 | mdrobnak | ppman: Should be able to. it's in the sim card. |
20:14.11 | mdrobnak | It's all automatic in Android. |
20:14.28 | phh | mdrobnak: hu ? Android asks for my provider |
20:14.38 | phh | well i'm not on "supported" phone |
20:15.21 | mdrobnak | phh - are you using the RIL that was in the image? |
20:15.30 | mdrobnak | phh - which phone again? |
20:15.33 | phh | diamond |
20:15.41 | phh | in the xrom image 090909 |
20:16.01 | mdrobnak | phh: Do you know how to edit fs images? (ie loop mount them) |
20:16.12 | phh | you mean like mount -oloop rootfs.img /mnt ? |
20:16.23 | mdrobnak | yah |
20:16.24 | mdrobnak | ok |
20:17.08 | cr2_ | stelleg: #linwizard |
20:17.09 | mdrobnak | One sec. |
20:17.31 | mdrobnak | download this http://www.drobnak.com/libhtcgeneric-ril.so |
20:17.38 | mdrobnak | and replace it on the rootfs.img in /lib |
20:17.57 | mdrobnak | That's the git version which has a patch for IMSI / APN detection |
20:19.38 | phh | is the git only for this ril or there is also some other things ? |
20:19.43 | kri5 | hello there! |
20:19.51 | kri5 | what are the news? :P |
20:19.52 | phh | (like generic libhardware) |
20:20.15 | mdrobnak | no, I was only working on the ril. |
20:20.34 | cr2_ | weird |
20:20.59 | pr0p | i am trying to compile kernel for blackstone with this command : make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- |
20:21.14 | pr0p | and i get this error : make: *** No rule to make target `zImage'. Stop. , anyone can help ? |
20:21.28 | mdrobnak | phh: http://github.com/vilord/android-htc-ril/ |
20:21.42 | cr2_ | pr0p: remove the word zImage |
20:22.22 | pr0p | cr2_ : rofl , your great ! |
20:22.24 | mdrobnak | ppman - I think I know why usb doesn't come up - network manager |
20:22.42 | phh | mdrobnak: thanks |
20:22.52 | phh | mdrobnak: how, that beloved one ? :D |
20:22.53 | mdrobnak | Sure. Note that it still crashes. |
20:22.53 | ppman | mdrobnak: do we really have nm on here? |
20:22.58 | ppman | nm really sucks |
20:23.25 | mdrobnak | ppman: Not sure. Guessing by the icon :-) |
20:23.30 | mdrobnak | I have to check in a minute. |
20:24.33 | phh | mdrobnak: if you have some time, would you be able to make a libhardware for stuff like accelerometers, light sensor, wifi, and friends ? |
20:25.07 | cr2_ | phh: we have /dev/input/event* for light sensor ? |
20:25.26 | phh | cr2_: i haven't looked at it yet |
20:25.29 | mdrobnak | phh: I only did a patch for the ril, I am no wizard lol |
20:25.49 | phh | mdrobnak: oh ok |
20:25.49 | mdrobnak | ppman: NetManager exists :-/ |
20:25.52 | ppman | make the fb work, some wizard! |
20:25.56 | mdrobnak | LOL |
20:26.05 | phh | mdrobnak: /etc/init.d/NetworkManager stop always works for me :D |
20:26.32 | *** join/#htc-linux rayman18 (n=opera@residL-103-252.uc3m.es) |
20:26.49 | cr2_ | phh: i doubt it. but it's an i2c device like accererometer |
20:26.56 | phh | cr2_: ok |
20:27.46 | phh | my todolist grows faster than shrinking ... |
20:29.01 | mdrobnak | ppman: Whats the replacement for init on Ubuntu now? |
20:29.02 | mdrobnak | upstart? |
20:29.06 | ppman | idk |
20:29.11 | mdrobnak | phh: yeah, trying to find the runlevel to disable it in :-) |
20:29.19 | ppman | I don't follow bunters... |
20:29.37 | cr2_ | hehe. use debian |
20:30.15 | ppman | I use gentoo on my desktop, a ubuntu derivative on the phone right now |
20:30.45 | mdrobnak | Which is why I asked :-D\ |
20:31.09 | mdrobnak | ppman - ok, delete symlinks to S50NetworkManager, replace with symlink from ../init.d/networking to S50networking .. that should work |
20:31.12 | mdrobnak | trying it now |
20:33.42 | ppman | warning: deprecated |
20:33.51 | ppman | those guys at ubuntu really are dumb |
20:34.08 | mdrobnak | lol oh well |
20:34.40 | phh | ppman: i figured it out, when i realiszed that development tree was actually more stable than the "stable" tree. |
20:34.46 | mdrobnak | yay, it works! |
20:34.54 | ppman | mdrobnak: really? |
20:35.01 | mdrobnak | root@mdrobnak-desktop:/# ping 192.168.2.15 |
20:35.01 | mdrobnak | PING 192.168.2.15 (192.168.2.15) 56(84) bytes of data. |
20:35.01 | mdrobnak | 64 bytes from 192.168.2.15: icmp_seq=1 ttl=64 time=4.28 ms |
20:35.11 | ppman | sweet |
20:35.26 | mdrobnak | NetworkManager is still clueless, but. whatever. |
20:35.53 | mdrobnak | root@matts-raph110:~# uname -a |
20:35.53 | mdrobnak | Linux matts-raph110 2.6.27-00521-g73fbff3-dirty #34 PREEMPT Tue Sep 29 19:57:09 EDT 2009 armv6l GNU/Linux |
20:35.53 | mdrobnak | root@matts-raph110:~# free |
20:35.53 | mdrobnak | <PROTECTED> |
20:35.53 | mdrobnak | Mem: 166556 103740 62816 0 7696 47144 |
20:35.55 | mdrobnak | -/+ buffers/cache: 48900 117656 |
20:35.57 | mdrobnak | Swap: 0 0 0 |
20:37.24 | mdrobnak | Now to figure out how to get X input to work. |
20:37.24 | cr2_ | mdrobnak: 115+128+8 |
20:37.24 | mdrobnak | Where's the 8? |
20:37.24 | cr2_ | smi |
20:37.24 | mdrobnak | I'm doing 107 + 61 right now |
20:37.31 | cr2_ | why 61 ? |
20:37.44 | mdrobnak | If I've moved the FB and all the pmem to the top of bank 2, I can make it 115? |
20:38.30 | cr2_ | yo don't need pmem for X |
20:38.34 | mdrobnak | I know. |
20:38.47 | mdrobnak | I'm using a very minorly changed version of my other kernel. |
20:39.00 | mdrobnak | I want to figure out why RAM works here and not in Android. |
20:39.07 | mdrobnak | Sorry, but Android is still further along. |
20:39.10 | phh | what's pmem ? |
20:39.17 | phh | an android hack ? |
20:39.17 | cr2_ | hehe. |
20:39.21 | mdrobnak | (Though I do like having an alternative) |
20:39.31 | mdrobnak | pmem = area of memory mapped to userspace file |
20:39.39 | cr2_ | it's obvious why it does not work :) |
20:39.41 | mdrobnak | as I understand it. |
20:39.41 | ppman | mdrobnak: umm... of course android is further along... I found mer on *sunday* |
20:39.54 | ppman | 3 days a polished os doesn't make. |
20:39.54 | mdrobnak | ppman: I know |
20:40.12 | phh | mdrobnak: hu ? why would that need to be in "real" memory ? |
20:40.23 | phh | isn't the MMU supposed to do that ? |
20:40.34 | mdrobnak | one sec let me find their doc |
20:40.35 | phh | (with playing with the kernel cache) |
20:40.38 | phh | thanks :) |
20:40.52 | cr2_ | phh: with java it's garbage collector ;) |
20:40.55 | mdrobnak | http://groups.google.com/group/android-kernel/browse_thread/thread/534e6e1115a43ca8 |
20:41.21 | mdrobnak | I like that they say it was written specifically to deal with the MSM7201A |
20:41.22 | mdrobnak | lol |
20:42.00 | phh | i see |
20:42.07 | *** join/#htc-linux mblancom (n=mblancom@230.Red-217-126-178.staticIP.rima-tde.net) |
20:42.19 | phh | why is that needed only for android ? |
20:42.36 | *** join/#htc-linux rafyvitto (i=rafyvitt@24.54.253.34) |
20:42.46 | phh | ('cause android's bad isn't enough for me :D) |
20:42.58 | cr2_ | becaue they have their own closed source DRI |
20:43.06 | phh | ok |
20:43.18 | cr2_ | so they suck |
20:43.21 | stelleg | cr2_: should I ask my question there as well? |
20:43.29 | phh | cr2_: i already knew this conclusion :p |
20:43.32 | mdrobnak | cr2_: So we should write an open source version.. |
20:43.33 | rafyvitto | close source si the devil >_> |
20:43.48 | cr2_ | exactly |
20:44.16 | cr2_ | stelleg: yes, it's a general "smartphone" problem |
20:44.24 | stelleg | thanks |
20:44.33 | rafyvitto | hate google for promoting an "open-source OS" when in reality is not even half open source LOL |
20:44.36 | mdrobnak | cr2_: also, not sure if my message went through the other day - how do I dump the eeprom for wifi to work...whatever way is easier - ie wince or linux or android |
20:44.55 | mdrobnak | rafyvitto - But that's the hardware vendor's fault, not google. |
20:45.33 | phh | mdrobnak: if you've diamond, i made a "all-in-one" zImage+initramfs |
20:45.35 | rafyvitto | grrr im going to change my major from IT tech to developing mobile technologies |
20:45.49 | mdrobnak | phh: Nope, Raph. |
20:45.56 | phh | mdrobnak: mmm might work |
20:46.02 | mdrobnak | I'm good, I've got 3 setups on my SD card. |
20:46.08 | mdrobnak | Android, Shell, and Ubuntu (Mer) |
20:46.58 | phh | is ubuntu mer great ? |
20:47.08 | ppman | not yet, but it could be |
20:47.45 | phh | ok |
20:47.45 | Gnutoo | hi in which file is trout-nav driver? |
20:48.01 | stelleg | do any non-android phones have working gsm drivers? |
20:48.12 | ppman | stelleg: what do you mean? |
20:48.34 | phh | Gnutoo: board-trout-keypad.c it seems |
20:48.41 | Gnutoo | ok thanks a lot |
20:48.44 | phh | stelleg: for data yes |
20:48.46 | phh | for audio i don't know. |
20:48.54 | phh | i'd say yes. |
20:48.55 | mblancom | hi, I was following your great achivements with linux/android in htc phones and I want to do the same with blackstone but I'm unable to make android to work, as soon it loads wants to power off. I found that board-htcraphael.c and board-htcdiamond.c differ from board-htcblackstone.c in msm_battery.. Do you know if the defines and offset from raph100 are valid to blackstone or how to find them ? |
20:48.57 | stelleg | phh: thanks thats what I was wondering |
20:50.13 | cr2_ | mblancom: i think it's the same as raph100 |
20:50.57 | mdrobnak | cr2_: No, isn't that the lack of battery level meter on the blackstone? |
20:51.02 | phh | mdrobnak: http://androiduploads.uberatomic.com/angstrom-bt+wifi.cpio.gz / http://androiduploads.uberatomic.com/zImage-27-09-2009 user=root, no password (or empty if ssh), usb ip is 192.168.0.202, it will copy calibration file in /calibration (iirc) |
20:51.06 | cr2_ | mdrobnak: do you have msm_nand compiled into the kernel ? |
20:51.26 | cr2_ | mblancom: send the the battz |
20:51.27 | phh | /calibration.1 has the header, /lib/modules/wl1251-nvs.map without the header |
20:51.32 | mdrobnak | phh: Oh, I misunderstood you earlier |
20:51.33 | mdrobnak | hah |
20:51.33 | cr2_ | mblancom: send the the battery.dll |
20:51.35 | mblancom | cr2: ok, thanks, I will try. |
20:51.36 | mdrobnak | cool, I will try that. |
20:51.57 | phh | mdrobnak: you can also rebuild your kernel with msm_nand and the correct option and i can give you the command line if you prefer |
20:52.10 | mdrobnak | cr2_ One sec, closing tons of windows, looking to see if I have that option enabled. |
20:52.20 | cr2_ | mdrobnak: you'd like to keep eeprom dump for further analysis |
20:52.33 | mdrobnak | CONFIG_MTD_MSM_NAND is not set |
20:52.35 | mblancom | cr2: ok, firsk I will send you the dll, thanks again. |
20:53.12 | mdrobnak | I'll grab the whole eeprom then. |
20:53.18 | mdrobnak | Let me add that kernel option. |
20:53.30 | phh | mdrobnak: also add the "direct char mtd" option |
20:53.38 | cr2_ | mdrobnak: dump both copies, and compare them |
20:53.52 | cr2_ | we need to check this crc32 sig also |
20:53.53 | mdrobnak | both copies? |
20:54.03 | cr2_ | 0x800+0x800 |
20:54.11 | mdrobnak | oh |
20:54.13 | cr2_ | eeprom is stored twice |
20:54.14 | phh | mdrobnak: by "eeprom" he doesn't means the whole nand, just the 2 calibration files |
20:54.28 | phh | (which are identical as far as i've seen) |
20:55.26 | cr2_ | they are identical, but i have some doubts in the msm_nand driver quality. |
20:55.26 | phh | ok |
20:55.39 | phh | cr2_: so you hope at least one of the two will have the right crc? :) |
20:56.03 | cr2_ | yes |
20:56.13 | cr2_ | phh: did you try crc ? |
20:56.54 | phh | no |
20:57.09 | phh | i'll have to script that check |
20:57.21 | cr2_ | nice idea |
20:58.08 | townkat | do i have to do anything else after git revert ? or just build again ? |
20:58.47 | mdrobnak | phh - where is the direct char mtd option? |
20:58.52 | cr2_ | i've found bt headset while searching for bt gps too |
20:59.09 | *** part/#htc-linux rayman18 (n=opera@residL-103-252.uc3m.es) |
20:59.43 | phh | cr2_: does your debian works ? |
20:59.57 | phh | (on your phone i mean) |
21:00.21 | phh | mdrobnak: device driver => mtd -> "Direct char device access to MTD devices" |
21:00.34 | mdrobnak | got it - already there |
21:00.34 | phh | it's CONFIG_MTD_CHAR |
21:00.44 | phh | hu ? strange |
21:01.19 | Gnutoo | quick question...how do I report a value in the click for the touchscreen driver? |
21:01.20 | cr2_ | phh: no |
21:01.31 | cr2_ | bbl |
21:01.32 | phh | cr2_: you could have tried the bt headset easily |
21:01.48 | Gnutoo | because it always report 0 as value when I click |
21:02.17 | Gnutoo | Event: time 393.125167, type 1 (Key), code 330 (Touch), value 0 |
21:02.24 | Gnutoo | and it should report 1 and then 0 |
21:03.20 | Gnutoo | stelleg, try FSO |
21:05.48 | Gnutoo | I think I understood |
21:12.12 | mdrobnak | phh: Ok, whats the commands needed? |
21:12.17 | *** join/#htc-linux cr2 (n=cr2@109.84.127.120) |
21:12.44 | phh | mdrobnak: first, do you have the /dev/mtd0ro device ? |
21:13.04 | mdrobnak | lets assume I do, phone still rebooting :-) |
21:13.10 | mdrobnak | (Sorry, still finishing up some work) |
21:13.10 | phh | ok :) |
21:13.17 | phh | dd if=/dev/mtd0ro of=/calibration.1 bs=2048 skip=18944 count=1 |
21:13.35 | phh | mm not sure about the second eeprom |
21:13.45 | phh | dd if=/dev/mtd0ro of=/calibration. bs=2048 skip=18945 count=1 |
21:13.47 | phh | I guess |
21:14.49 | phh | it's easy to check, the header must be the same |
21:15.00 | mdrobnak | ok |
21:15.07 | mdrobnak | that's the calibration for wifi? |
21:15.19 | phh | the whole eeprom |
21:15.26 | phh | including headers and padding |
21:15.54 | phh | while wifi driver only needs calibration which is past 64bytes of the eeprom |
21:16.39 | cr2 | +0x2f0 |
21:16.49 | cr2 | stored in the header |
21:17.10 | cr2 | the calibration file size and crc32 are in the header |
21:17.21 | cr2 | together with the magic and some other info |
21:17.23 | phh | 2f0 is the calibration size |
21:17.41 | phh | (don't know if that's what you meant) |
21:18.14 | cr2 | +0x40 +0x2f0 |
21:19.06 | cr2 | but if you have the full eeprom (2K) you can pick this data from it |
21:19.21 | mdrobnak | Ok, so it's just the eeprom for the Wifi chip though? |
21:19.27 | mdrobnak | cause that's small :-) |
21:19.46 | stelleg | Gnutoo: FSO? |
21:20.20 | phh | mdrobnak: eeprom is just calibration data, not the firmware |
21:20.20 | *** join/#htc-linux Miek (n=mike@unaffiliated/mikechml) [NETSPLIT VICTIM] |
21:20.42 | Gnutoo | stelleg, you want android or GNU/Linux on your phone? |
21:20.55 | stelleg | both ideally |
21:20.56 | mdrobnak | ah. |
21:21.25 | stelleg | but android primarily ATM |
21:21.37 | *** join/#htc-linux shoragan_ (n=shoragan@sicherheitsschwankung.de) |
21:21.38 | Gnutoo | stelleg, FSO is the openmoko telephony stack(but works on the qualcomm_msm for instance) |
21:21.48 | phh | stelleg: first the tough one then the easy one you mean ? :p |
21:21.50 | stelleg | aha |
21:21.53 | Gnutoo | stelleg, and ril is the android one |
21:21.54 | stelleg | haha |
21:22.13 | stelleg | Gnutoo: hmm |
21:22.20 | mdrobnak | Ok phh - yes, mtdr0, as well as mtd0, mtdblock0 |
21:22.36 | stelleg | I thought that RIL was the name for the java library stack on top of the gsm drivers |
21:22.41 | phh | mdrobnak: hu ? mtdr0 ? you're sure ? :) |
21:23.52 | mdrobnak | root@matts-raph110:/dev# ls mt* |
21:23.52 | mdrobnak | mtd0 mtd0ro mtdblock0 |
21:24.11 | mdrobnak | sorry, thats what I meant. |
21:24.18 | mdrobnak | ok, diff says the files differ |
21:24.23 | phh | hum |
21:24.34 | phh | what about just the first od result of these files ? |
21:24.36 | mdrobnak | as does md5sum |
21:24.40 | mdrobnak | what about it? |
21:25.00 | phh | od -x /calibration.1 |head -n 1; od -x /calibration.2 |head -n1 |
21:25.01 | mdrobnak | what do I do with it now? :-) |
21:25.06 | mdrobnak | oh |
21:25.06 | mdrobnak | od |
21:25.18 | mdrobnak | 0000000 4200 0000 0002 0000 0004 0000 02f0 0000 (.1) |
21:25.34 | cr2 | strange |
21:25.37 | mdrobnak | 0000000 4200 0000 0002 0000 0004 0000 02f0 0000 (.) |
21:25.54 | mdrobnak | so the beginning is the same |
21:25.55 | cr2 | mdrobnak: -t x1 |
21:26.20 | cr2 | mdrobnak: od -t x4 |
21:27.05 | mdrobnak | root@matts-raph110:/# od -t x4 /calibration.1 | head -n 1 |
21:27.05 | mdrobnak | 0000000 00004200 00000002 00000004 000002f0 |
21:27.08 | mdrobnak | root@matts-raph110:/# od -t x4 /calibration.2 | head -n 1 |
21:27.08 | mdrobnak | 0000000 00004200 00000002 00000004 000002f0 |
21:27.51 | phh | mdrobnak: give the first 64bytes (meaning head -n 4) |
21:28.16 | mdrobnak | 0000000 00004200 00000002 00000004 000002f0 |
21:28.16 | mdrobnak | 0000020 3af7940a 00000000 00000000 00000000 |
21:28.16 | mdrobnak | 0000040 00000000 00000010 00000000 00000000 |
21:28.16 | mdrobnak | 0000060 00000000 00000000 00000000 00000000 (Calibration.2) |
21:28.35 | mdrobnak | 0000000 00004200 00000002 00000004 000002f0 |
21:28.35 | mdrobnak | 0000020 3af7940a 00000000 00000000 00000000 |
21:28.35 | mdrobnak | 0000040 00000000 00000010 00000000 00000000 |
21:28.35 | mdrobnak | 0000060 00000000 00000000 00000000 00000000 (Calibration.1) |
21:28.50 | mdrobnak | So the first 64 bytes seem the same |
21:29.19 | phh | mdrobnak: have you cksum ? |
21:29.23 | cr2 | 0000000 00ee1251 00000002 00000004 000002f0 |
21:29.25 | cr2 | 0000020 898a5612 00000000 00000000 00000000 |
21:29.40 | mdrobnak | yikes i broke soemthing in production one min guys |
21:29.57 | phh | cr2: the first field is supposed to be an header ? |
21:30.18 | cr2 | magic |
21:30.32 | cr2 | ee1251 |
21:30.37 | phh | yep. something's wrong. |
21:30.49 | cr2 | my dump is from wince |
21:33.34 | cr2 | dd if=EE0 of=ee0 bs=1 count=$((0x2f0)) skip=$((0x40)) |
21:35.33 | *** join/#htc-linux rayman18 (n=opera@residL-103-252.uc3m.es) |
21:39.38 | mdrobnak | Ok, I'm done now. Work is quite annoying sometimes. |
21:39.44 | mdrobnak | Ok, so are you saying the dump is bad? |
21:41.13 | phh | he is saying it's unusual :p |
21:41.33 | cr2 | phh: my cksum does not match |
21:41.49 | phh | mdrobnak: which phone model ? |
21:41.57 | cr2 | must be some other chksum |
21:42.06 | phh | cr2: maybe you just cksum the right part ? |
21:42.23 | phh | +not |
21:42.40 | mdrobnak | ok, you need cksum? |
21:42.43 | mdrobnak | RAPH110 |
21:42.57 | cr2 | cksum ee0 | awk '{printf("0x%8.8x\n",$1)}' |
21:43.26 | cr2 | od -t x4 EE0 | head -n 4 |
21:43.28 | cr2 | 0000000 00ee1251 00000002 00000004 000002f0 |
21:43.29 | cr2 | 0000020 898a5612 00000000 00000000 00000000 |
21:43.50 | cr2 | dd if=EE0 of=ee0 bs=1 count=$((0x2f0)) skip=$((0x40)) |
21:44.19 | cr2 | cksum ee0 | awk '{printf("0x%8.8x\n",$1)}' |
21:44.20 | cr2 | 0x6c8b71aa |
21:44.37 | mdrobnak | 0x7fffffff |
21:45.06 | phh | mdrobnak: isn't the file full of 0 afer the header ? |
21:45.07 | mdrobnak | ok, how do I get this from wince then? |
21:45.57 | *** part/#htc-linux c4software (n=Adium@roo49-2-88-161-139-221.fbx.proxad.net) |
21:46.38 | cr2 | mdrobnak: pdocread.exe in itsutils |
21:47.19 | mdrobnak | Link? |
21:49.09 | *** part/#htc-linux rayman18 (n=opera@residL-103-252.uc3m.es) |
21:50.14 | cr2 | http://www.xs4all.nl/~itsme |
21:53.24 | mdrobnak | ok, will get that in a sec. |
21:54.20 | mdrobnak | booting to windows |
21:56.21 | phh | cr2: as far as you know, the only missing init code for wifi is some udelay()s ? |
21:56.33 | mdrobnak | cr2: Wait, can I do this on the device directly? |
21:56.41 | mdrobnak | I only have Linux available |
21:56.48 | mdrobnak | mdrobnak@mdrobnak-desktop:~/Desktop/its$ file pdocread.exe |
21:56.48 | mdrobnak | pdocread.exe: PE32 executable for MS Windows (console) Intel 80386 32-bit |
21:58.38 | *** join/#htc-linux luke-jr (n=luke-jr@2002:62b3:1d4c:0:20e:a6ff:fec4:4e5d) |
21:59.33 | cr2 | mdrobnak: hmm. then you need to hack some code into haret |
22:00.12 | cr2 | phh: in the init/powerup i see only the mdelay between gpio 66/67=0 and vreg enable |
22:00.17 | mdrobnak | I'm voting deferred on that one. lol |
22:00.21 | *** join/#htc-linux thedicemaster (n=thedicem@j89051.upc-j.chello.nl) |
22:00.21 | *** join/#htc-linux Gnutoo (n=gnutoo@host142-132-dynamic.16-79-r.retail.telecomitalia.it) |
22:00.25 | mdrobnak | I don't need Wifi asap. |
22:00.26 | phh | cr2: ok |
22:00.48 | cr2 | mdrobnak: nothing scary actually |
22:01.04 | mdrobnak | I'd like my touchscreen to be calibrated in X, first, then figure out why android crashes with the more memory. |
22:01.14 | mdrobnak | cr2: When as a group are we switching to 2.6.29? |
22:02.08 | cr2 | BOOL iores= DeviceIoControl(_dwHandle, IOCTL_FMD_NAND_READ_WLAN_DATA, NULL, 0, (PBYTE)req, 12, &nRet, NULL); |
22:02.22 | cr2 | in http://nah6.com/~itsme/cvs-xdadevtools/itsutils/dll/FlashDrvReader.cpp |
22:02.43 | cr2 | mdrobnak: when druidu comes back |
22:03.16 | cr2 | i need to finish the lcd init & detection (also on epson) |
22:03.17 | cr2 | and gps |
22:03.52 | mdrobnak | The only other thing that I keep knocking into, is the Fn button not working on the Raph keyboard.. |
22:04.05 | *** join/#htc-linux leaigor (n=laigor@188.134.16.241) |
22:06.45 | cr2 | mdrobnak: alt or alt-fn ? |
22:06.54 | cr2 | err, alt or alt-gr ? |
22:07.08 | cr2 | you need to use loadkyes |
22:07.29 | cr2 | dcordes has an example for his x1 |
22:08.58 | cr2 | #define IOCTL_FMD_NAND_READ_WLAN_DATA 0x71fe8 |
22:09.00 | cr2 | #define IOCTL_FMD_NAND_WRITE_WLAN_DATA 0x71fc0 |
22:09.09 | phh | oO |
22:09.17 | *** join/#htc-linux Captnoord (n=Captnoor@dc5147a47b.adsl.wanadoo.nl) |
22:10.03 | Captnoord | hello all |
22:10.36 | mdrobnak | like, I have to hit fn+L for ":" |
22:10.46 | mdrobnak | that never works. |
22:11.14 | mdrobnak | Hey Captnoord/ |
22:11.56 | cr2 | mdrobnak: define a translation file, and push it with loadkeys |
22:12.25 | cr2 | mdrobnak: run 'dumpkyes' to get the current table, and edit it |
22:13.25 | cr2 | use 'showkey' to see the scancode |
22:15.34 | *** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes) |
22:16.53 | mdrobnak | Oh, so that can fix the 1-9 mapping too? (The RAPH100 has 1-9 on the top, 110 has it in telephone style format, using Fn + Key) |
22:17.11 | mdrobnak | How can we fix that on android? During init? |
22:17.20 | cr2 | yes. create raph100-us.map |
22:17.31 | *** join/#htc-linux mblancom (n=mblancom@230.Red-217-126-178.staticIP.rima-tde.net) |
22:17.38 | cr2 | androed has some other wa |
22:17.45 | mblancom | cr2: battery.dll sent |
22:17.53 | cr2 | mblancom: ok |
22:18.13 | cr2 | mdrobnak: raph110-us.map |
22:19.21 | mdrobnak | cr2: I will definitely get that going. |
22:20.43 | mdrobnak | Also, what module should I be building for Wifi, for when I get the calibration data? |
22:21.15 | cr2 | ask phh |
22:21.21 | cr2 | [ 6531.045646] rndis_host 1-6:1.0: dev can't take 1536 byte packets (max 1536), adjusting MTU to 1478 |
22:21.23 | cr2 | [ 6531.053516] rndis_host 1-6:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47 |
22:21.24 | cr2 | [ 6531.074510] eth0: register 'rndis_host' at usb-0000:00:13.2-6, RNDIS device, 80:00:60:0f:e8:00 |
22:21.30 | cr2 | hmm. this kernel is more smart |
22:22.17 | phh | mdrobnak: http://bobcopeland.com/android_wifi.html |
22:22.39 | phh | you'll need to comment some usb related things to be able to "link" modules |
22:23.22 | phh | and getting it initiate correctly isn't easy. (but i have to do some tests) |
22:23.55 | mdrobnak | Ok, as I said, no rush on Wifi, so I'll wait. |
22:24.02 | cr2 | phh: i need to look at it some time |
22:24.47 | mdrobnak | is reading maemo.org trying to find out how far the community build is.. |
22:28.08 | *** join/#htc-linux kvaster (n=kvaster@212.98.181.84) |
22:29.57 | cr2 | root@htcraphael:~# hcitool scan |
22:29.58 | cr2 | Scanning ... |
22:30.23 | cr2 | <PROTECTED> |
22:30.26 | cr2 | hehe |
22:30.56 | cr2 | and some neighbours SGH-M200 |
22:31.17 | *** part/#htc-linux mblancom (n=mblancom@230.Red-217-126-178.staticIP.rima-tde.net) |
22:31.29 | phh | what about rfcomm ? |
22:32.21 | phh | there is no reaseon for it not to work |
22:33.29 | phh | what's the ... |
22:33.45 | phh | this time the wifi driver loaded without any problem nor timing hacks |
22:34.03 | cr2 | root@htcraphael:~# cat /dev/rfcomm1 |
22:34.05 | cr2 | $PSRFTXTVersion 311.000.000-LD01*22 |
22:34.06 | cr2 | $PSRFTXTTOW: 0*09 |
22:34.08 | cr2 | $PSRFTXTWK: 1335*4D |
22:34.08 | phh | :) |
22:34.09 | cr2 | $PSRFTXTPOS: 6378137 0 0*06 |
22:34.11 | cr2 | $PSRFTXTCLK: 96250*09 |
22:34.12 | cr2 | $PSRFTXTCHNL: 12*5F |
22:34.14 | cr2 | $PSRFTXTBaud rate: 57600 System clock: 0.000MHz*57 |
22:34.15 | cr2 | $PSRFTXTDatum: 214, WGS84*68 |
22:34.17 | cr2 | $PSRFTXTDF PRO: NMEA, 57600, Msg:1,0,1,1,1,1,0,0,0,0*47 |
22:34.33 | cr2 | so BT works without any problems |
22:34.42 | cr2 | we need to debug the .bts load |
22:34.52 | cr2 | and trace the FM commands :) |
22:35.07 | mdrobnak | Great job cr2 |
22:35.50 | phh | cr2: you think the problem is in the bts ? |
22:36.05 | cr2 | in hciattach |
22:36.06 | phh | i'd say it is in the clocks of the uart or something like that |
22:36.24 | cr2 | maybe, but i don't see a problem there. |
22:36.29 | phh | ok |
22:36.53 | cr2 | but need to see the wince baud divisor |
22:37.04 | cr2 | for 4MHz |
22:37.46 | cr2 | because if it is not used, we need to drop the clock by factor 4 |
22:37.56 | cr2 | but afair we have tried that. |
22:39.25 | phh | cr2: when on bt handset, audio goes the same way for the kernel ? (ie not using its bluetooth stack) |
22:40.21 | cr2 | phh: i think it goes over pcm channel |
22:40.57 | phh | cr2: so there is no need to have 4MHz bitrate |
22:41.03 | cr2 | but we need a wa to trace BT to know that |
22:41.15 | cr2 | don't think so. |
22:41.21 | phh | high rates are needed only for sound |
22:41.22 | cr2 | maybe for a2dp |
22:41.26 | phh | if sound goes on another channel ... |
22:41.27 | cr2 | yes. |
22:41.37 | cr2 | voice, not sound |
22:41.44 | phh | oh |
22:41.49 | phh | ok |
22:42.12 | cr2 | voice is different from sound |
22:42.56 | Captnoord | yup |
22:43.00 | phh | adsp can handle SBC, so it might be the same thing |
22:43.04 | Captnoord | narrow bandwith |
22:43.22 | Captnoord | can't remember what it was |
22:43.24 | cr2 | we need to describe the state machine for all audio sources and destinations. |
22:43.29 | Captnoord | I think it was from 1khz to 8 khz |
22:43.29 | cr2 | will need that for alsa too |
22:43.44 | Captnoord | or from 400 hz |
22:45.22 | Captnoord | nah good luck all...... |
22:45.29 | Captnoord | need to hit the bed |
22:50.49 | mdrobnak | Hey, what's the /dev/input/event[0123] for the touchscreen? |
22:52.37 | tmzt | cat /sys/class/input/input*/name |
22:53.28 | mdrobnak | Hey there tmzt |
22:54.39 | cr2 | blac100 may have different battery gios |
22:54.57 | mdrobnak | So if input1 and event1 return MSM touchscreen, thats the one to use in X, right? |
22:55.11 | tmzt | there's a battery/power detect gpio used for both detecting ac power and vbus? |
22:55.17 | tmzt | do we know that for the raph500? |
22:55.27 | tmzt | mdrobnak: event1 is |
22:55.41 | tmzt | what driver are you using? |
22:56.53 | mdrobnak | evtouch ? |
22:57.11 | cr2 | tmzt: vbus is a location in sram |
22:57.12 | mdrobnak | I got it to work! |
22:57.24 | cr2 | +0xfc00c |
22:57.26 | tmzt | oh right you said that |
22:57.32 | tmzt | so how does the driver work? |
22:57.36 | mdrobnak | sort of |
22:57.37 | mdrobnak | lol |
22:57.49 | tmzt | mdrobnak: ok, you have a patch working for 1.6? |
22:58.04 | tmzt | how fast is Xorg 1.6 on there? |
22:59.21 | cr2 | gpio0x20 is keypad on raph100, but used for battery on blac100 |
22:59.55 | mdrobnak | I can't tell on speed. I have VM_DEBUG on, and it seems to slow things down a lot. |
23:01.05 | mdrobnak | So, according to #mer, they have no phone support yet. |
23:01.41 | mdrobnak | Which brings me back to my original statement: There is no Linux-based *phone* OS that is further along then Android at this time. |
23:01.44 | mdrobnak | (That I know of) |
23:02.38 | mdrobnak | trying tslib instead of evtouch |
23:06.50 | cr2 | tmzt: http://www.htc-linux.org/wiki/index.php?title=Raphael_GPIO |
23:07.00 | cr2 | tmzt: many things are missing yet |
23:09.21 | mdrobnak | [ 1757.465026] BUG: sleeping function called from invalid context at kernel/mutex.c:88 |
23:09.22 | mdrobnak | [ 1757.465087] in_atomic():1, irqs_disabled():128 |
23:09.31 | mdrobnak | There's still problems with this kernel.. |
23:10.25 | mdrobnak | http://pastebin.com/m7124aa01 107+61+pmem+X FB patches |
23:10.33 | mdrobnak | In Ubuntu / Mer |
23:10.55 | cr2 | dcordes: ping |
23:11.19 | cr2 | mdrobnak: i still don't get how do you come to 61MB |
23:11.37 | cr2 | 74 0x8a get battery data |
23:12.14 | *** join/#htc-linux MethoS- (n=clemens@134.102.106.250) |
23:12.20 | mdrobnak | cr2: Conservative # |
23:12.24 | mdrobnak | It's not the max |
23:12.40 | cr2 | __rt_udiv |
23:12.57 | cr2 | need to understand the register layout for it |
23:13.04 | tmzt | for? |
23:13.15 | cr2 | then we can get the math behind the battery |
23:14.13 | cr2 | muls muld addd divd subd dtos muls stoi |
23:16.39 | *** join/#htc-linux cr2 (n=cr2@109.84.127.120) |
23:17.20 | *** join/#htc-linux joaop5 (n=joaop@81.193.142.96) |
23:19.35 | mdrobnak | tmzt: It's pretty slow. |
23:22.11 | mdrobnak | Enough Mer for one night. Next I am going to start disabling stuff in the kernel to see if I can get android to boot with 107+61MBs |
23:25.21 | *** join/#htc-linux swc|666 (n=infidel2@unaffiliated/swc666/x-4934821) |
23:27.39 | *** join/#htc-linux MethoS- (n=clemens@134.102.106.250) |
23:30.10 | *** join/#htc-linux stickboy (n=anonymou@128.153.209.94) |
23:38.34 | *** join/#htc-linux Reactor16 (n=Reactor1@41.105.79.21) |
23:47.15 | *** join/#htc-linux polyrhythmic (n=charles@c-67-171-16-39.hsd1.wa.comcast.net) |