00:08.48 | dcordes_ | ginge: ok guess I should read the kernel documentation on keyboards |
00:09.13 | dcordes_ | ginge: what's the kaiser-smd.c you use? |
00:10.32 | dcordes_ | actually my one does work (last one premy pasted) in android |
00:12.12 | ginge | odd |
00:12.34 | ginge | I use martin__ paste from yesterday |
00:15.07 | dcordes_ | all you do is boot then mknod /dev/smd0 c 254 0; chmod /var/lock/; cu -l /dev/smd0? |
00:15.15 | dcordes_ | chmod 0777 |
00:16.43 | ginge | chmod 0777 /dev/smd0 too |
00:16.54 | ginge | otherwise cu doesnt have permission. Thats probly the issue |
00:17.13 | ginge | s/probly/possibly/ |
00:21.26 | dcordes_ | ok trying that |
00:21.38 | cr2 | ginge: cu is setgid/uid uucp |
00:29.07 | dcordes_ | ok cu works now after I chmod 0777'D /dev/smd0 and /var/lock |
00:29.49 | dcordes_ | I'll put a script to set that up and probably setup the modem |
00:30.11 | dcordes_ | cr2: think it would be useful to just put a script that cats the V0 sequence? |
00:36.15 | ginge | you could also make /dev/smd0 uucp as cr2 suggests |
00:37.21 | dcordes_ | chown uucp them? |
00:38.49 | cr2 | dcordes: you'd sent the same init string as wince. or something close to that. |
00:39.05 | cr2 | dcordes: gsmd likes V1. |
00:39.32 | cr2 | dcordes: the comm devices should be uucp.uucp. it's a long unix tradition. |
00:39.36 | cr2 | good night :) |
00:40.24 | dcordes_ | cr2: ok good night |
00:40.59 | dcordes_ | cr2: sorry one more thing: do you have a clean list of the different Vs? |
00:41.10 | dcordes_ | so I don't need to swim around in the dll's strings? |
00:52.09 | ginge | you looked at dzo new diff. It has quite a few changes |
00:55.16 | dcordes_ | depends |
00:55.29 | dcordes_ | the one with that file missing I know well |
00:57.00 | dcordes_ | because I tried to merge it with kaiser |
00:57.37 | ginge | and what happened? |
00:57.47 | dcordes_ | it didn't boot |
00:58.22 | dcordes_ | I tried to add all the stuff at a time including the new hw.c proc_comm *smd.c vreg.c |
00:58.23 | ginge | oh. Well I just merged his latest diff into the kaiser code, and it boots ok. It caused a few lockups the first few times, but I think I have it nailed now |
00:58.54 | ginge | dzo uses a lot of direct register addresses instead of the defined aliases |
00:59.03 | ginge | I keep finding them |
00:59.14 | dcordes_ | that's cool did you also put vogue-hw.c? |
00:59.19 | ginge | yes |
00:59.38 | ginge | didnt touch vreg.c yet |
00:59.43 | dcordes_ | are you able to sort out what needs changing there for kais? I was confused with all the new regs in it |
01:00.21 | ginge | pretty much i think. Worst case some features dont work |
01:00.51 | dcordes_ | did you find the power management stuff? |
01:01.09 | ginge | I did, but without proc_comm it is useless |
01:01.26 | ginge | at least some of it |
01:02.01 | dcordes_ | he said he turns down clock for standby using msm_clk_ctl |
01:02.21 | ginge | I will have to look. There is a lot of code in there |
01:02.28 | ginge | The guy is a machine |
01:02.40 | dcordes_ | I think he likes his phone :) |
01:03.03 | dcordes_ | w/o this work we prolly still wouldn't boot |
01:03.53 | ginge | yeah he deserves some serious kudos |
01:07.48 | dcordes_ | ginge: I put the 3 devices nodes into the console image and 0777'D them and /var/lock/ |
01:08.12 | dcordes_ | I also put a file with the init sequence, one command, one line |
01:08.13 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
01:08.17 | dcordes_ | V0 |
01:08.22 | dcordes_ | don't know where V1 is |
01:09.31 | dcordes_ | http://rafb.net/p/MIxUpn16.html |
01:10.43 | dcordes_ | this is V0 cr2 pasted earlier. Do you think the pipes in that are line seperators or they have a function in commands? |
01:13.45 | ginge | try it and see what happens |
01:18.04 | dcordes_ | o wait |
01:18.23 | dcordes_ | how'd I send it if echo isn't working? |
01:19.02 | ginge | cat? |
01:19.15 | ginge | I mean redirect |
01:19.31 | ginge | cat file > /dev/smd0 |
01:19.33 | dcordes_ | cat file > /dev/smd0 |
01:19.34 | dcordes_ | lol |
01:19.42 | dcordes_ | but why would that work if echo isn't? |
01:20.01 | ginge | dunno are you sending \r with your echo? |
01:20.27 | dcordes_ | yes I did but wait. I didn't chmod the nodes when I tried |
01:23.38 | dcordes_ | ginge: how to close cu? |
01:24.12 | ginge | <PROTECTED> |
01:24.16 | infernix | hi |
01:24.16 | ginge | man cu |
01:24.27 | ginge | ~. basicaly |
01:24.38 | infernix | hmm, new drivers for kaiser? |
01:24.52 | dcordes_ | looks like my tilde isn't functional |
01:26.14 | ginge | did you try it in the console? |
01:26.30 | ginge | try pressing shift before you do fn -> |
01:28.57 | dcordes_ | infernix: http://linuxtogo.org/~lgorris/kaiser-bootkit/README.txt for status |
01:29.08 | infernix | sweet |
01:29.48 | dcordes_ | ginge: very odd I can detach a screen with ctrl+a+d but not close cat with ctrl+c |
01:30.05 | ginge | have the same problem here. |
01:30.07 | marajin | hmm |
01:30.14 | marajin | How's it going guys? |
01:30.15 | infernix | if data works and i can set up ppp i can ssh into it |
01:30.28 | ginge | thats the plan |
01:30.31 | infernix | assuming that im going to need ppp, no idea yet tbh |
01:30.37 | infernix | should be cookie cutter |
01:30.43 | infernix | ppp is eas |
01:30.55 | dcordes_ | I'm playing with init sequence |
01:31.01 | dcordes_ | http://rafb.net/p/MIxUpn16.html |
01:31.09 | infernix | t-mobile gives out public ips so that'd work well |
01:31.10 | dcordes_ | that's the wince v0 init sequence |
01:31.26 | dcordes_ | I have a t-mobile test card somewhere |
01:35.00 | infernix | you can also try using minicom to talk to the modem |
01:35.48 | infernix | but no sd card yet huh |
01:38.08 | dcordes_ | infernix: you're right |
01:39.33 | dcordes_ | ginge: document key makes a grave here |
01:39.53 | ginge | oh well. whats the right mapping? |
01:40.05 | ginge | what language does your angstrom use? |
01:40.25 | dcordes_ | english? |
01:40.41 | ginge | EN_UK or EN_US |
01:40.51 | ginge | etc |
01:41.03 | dcordes_ | I didn' set this so I guess that'd be us |
01:41.17 | ginge | hmm why does it work for me? |
01:41.36 | ginge | try changing it the has key |
01:41.42 | ginge | s/has/hash/ |
01:42.25 | *** join/#htc-linux Othello (i=Magorium@gateway/tor/x-e50f5b0fce250565) |
01:43.44 | dcordes_ | ginge: the hash key? Do we have escape mapped? |
01:43.51 | dcordes_ | picocom requires escape key |
01:44.42 | ginge | doesnt look like it |
02:05.29 | dcordes_ | ginge: you tried to dial in minicom before, didn't you? |
02:05.35 | dcordes_ | s/minicom/cu/ |
02:05.49 | ginge | yes, it replied NO CARRIER |
02:06.00 | ginge | so I guess I set the modem up wrong |
02:06.00 | dcordes_ | what's the command? |
02:06.17 | dcordes_ | maybe it works w/ V0 before |
02:08.36 | ginge | cant remember. It should be in the logs somwehere |
02:11.15 | dcordes_ | ATD |
02:12.06 | dcordes_ | hahA! |
02:12.07 | dcordes_ | my phone ringe |
02:13.50 | dcordes_ | ginge: do you know how the audio channel is openned? |
02:14.04 | ginge | awesome :) |
02:14.15 | ginge | audio? not really. |
02:15.31 | dcordes_ | I thought the modem would do this |
02:25.24 | dcordes_ | need some rest |
02:25.28 | dcordes_ | good night ginge |
02:25.36 | ginge | good night |
02:39.58 | *** part/#htc-linux ginge (n=baz@cpc6-ward3-0-0-cust579.manc.cable.ntl.com) |
03:19.55 | *** join/#htc-linux Othello (i=Magorium@gateway/tor/x-cd87f7103759aa30) |
06:36.50 | *** join/#htc-linux the_sys0p (n=the_sys0@116.199.69.117) |
06:42.34 | *** join/#htc-linux StyleWarz (i=stylewar@fbettag.qs-housing.net) [NETSPLIT VICTIM] |
07:40.06 | *** join/#htc-linux goxboxlive (n=goxboxli@242.84-48-176.nextgentel.com) |
07:45.40 | *** join/#htc-linux Othello (i=Magorium@gateway/tor/x-f63e2c81bd07bc88) |
07:53.06 | *** join/#htc-linux LunohoD_ (n=alex@e180073237.adsl.alicedsl.de) |
07:53.16 | *** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfc126.pool.einsundeins.de) |
08:03.07 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d865ac0.pool.einsundeins.de) |
08:32.27 | *** join/#htc-linux timebomb (n=timebomb@e176111042.adsl.alicedsl.de) |
08:48.36 | *** join/#htc-linux pH5 (n=ph5@p5485CADA.dip.t-dialin.net) |
09:34.33 | *** join/#htc-linux martin__ (n=martin@the.earth.li) |
09:48.24 | *** join/#htc-linux exco (n=exco@e181108251.adsl.alicedsl.de) |
09:49.37 | *** join/#htc-linux exco (n=exco@e181108251.adsl.alicedsl.de) |
09:53.11 | *** join/#htc-linux timebomb (n=timebomb@e176111042.adsl.alicedsl.de) |
10:00.32 | *** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
10:14.20 | BabelO | hi |
10:32.02 | pH5 | hi BabelO |
10:32.41 | BabelO | pH5: how is asic3 on latest kernel ? |
10:33.54 | pH5 | there seems to be a problem with the spinlocks in asic3_irq_demux in the mainline code for blueangel. |
10:33.59 | pH5 | on hx4700 it works |
10:34.22 | pH5 | mmc is still nonworking |
10:35.12 | BabelO | pH5: we have a lot of irq demux when using ds1wm |
10:35.32 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
10:37.49 | pH5 | ds1wm support is still missing. |
10:38.09 | pH5 | though that will be my next step, it should be reasonably easy to put it back in. |
10:38.20 | BabelO | ok |
10:39.56 | Marex | so ... |
10:40.05 | Marex | I implemented chainsaw into 0verkill :) |
10:40.09 | pH5 | hi Marex |
10:40.16 | BabelO | hi Marex |
10:40.28 | Marex | hi BabelO, pH5 |
10:40.38 | Marex | palmtx is next in my todo probably |
10:40.54 | pH5 | Marex: interesting priorities :) |
10:48.31 | *** join/#htc-linux Thempra (n=thempra@84.124.243.44.dyn.user.ono.com) |
10:48.51 | Thempra | hi |
10:51.04 | pH5 | hi Thempra |
10:54.55 | *** join/#htc-linux hagisbasheruk (n=hagisbas@78.148.135.168) |
11:02.18 | Marex | pH5: dont you think ;) |
11:02.43 | Marex | though Im still missing certain functionality there |
11:02.56 | Marex | it crashes when too much meat objects are allocated :D |
11:03.12 | Marex | I have to look into it a bit deeper I guess |
11:04.17 | *** join/#htc-linux tsdogs (n=tsdogs@62.123.180.130) |
11:09.41 | *** join/#htc-linux pikapika (n=pikapika@mar75-8-88-164-227-147.fbx.proxad.net) |
11:10.23 | pikapika | yo |
11:21.45 | hagisbasheruk | yo back @ pikapika :P |
11:22.00 | pikapika | hi hagisbasheruk |
11:26.48 | *** join/#htc-linux Othello__ (i=Magorium@gateway/tor/x-defc8e42780a0e29) |
11:28.05 | *** join/#htc-linux amiral_ (n=amiral_@adsl196-231-228-206-196.adsl196-8.iam.net.ma) |
11:41.17 | *** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes) |
11:48.42 | dcordes | hi |
11:48.55 | dcordes | cr2: could you also give me the other numeric setup sequences? |
11:52.31 | *** part/#htc-linux exco (n=exco@e181108251.adsl.alicedsl.de) |
12:16.53 | dcordes | does somebody have premy's polaris specific code? |
12:46.29 | *** join/#htc-linux swc|666 (n=swc|666@unaffiliated/swc666/x-4934821) |
13:22.12 | *** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net) |
13:22.55 | *** join/#htc-linux seTecHno (n=asdfdf@port-92-200-95-104.dynamic.qsc.de) |
13:41.11 | *** join/#htc-linux ginge (n=baz@cpc6-ward3-0-0-cust579.manc.cable.ntl.com) |
13:41.26 | ginge | is the wiki dead or is it my end? |
13:42.21 | seTecHno | xda-developers is down |
13:42.34 | ginge | damn |
13:42.46 | seTecHno | for quite some time now |
13:50.53 | *** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be) |
15:17.08 | dcordes | ginge: what ya need? |
15:17.30 | ginge | cpios and cpld data for kaiser and vogue |
15:17.41 | ginge | s/cpios/gpios/ |
15:18.34 | dcordes | ~lart dcordes for still not keeping a local backup of kaiser research |
15:18.34 | apt | whacks dcordes with a giant beaver's tail for still not keeping a local backup of kaiser research |
15:20.58 | *** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes) |
15:21.13 | dcordes_ | ginge: http://209.85.135.104/search?q=cache:uKHp7SKh8cMJ:wiki.xda-developers.com/index.php%3Fpagename%3DKaiser_CPLD+kaiser_cpld&hl=de&ct=clnk&cd=1&gl=de&client=firefox-a |
15:21.26 | dcordes_ | google cache |
15:28.44 | ginge | what is the vogue the same platform as? |
15:31.28 | dcordes_ | titan |
15:43.02 | *** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde) |
15:46.03 | dcordes_ | hmmm bbq |
15:46.04 | dcordes_ | later |
15:47.16 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d865ac0.pool.einsundeins.de) |
15:52.05 | paulproteus | omg wtf htc bbq |
16:09.53 | cr2 | hi |
16:10.01 | BabelO | hi cr2 |
16:10.06 | cr2 | kiozen: have you seen my comments ? |
16:10.09 | cr2 | hi BabelO |
16:10.25 | kiozen | cr2: hi, yes |
16:12.36 | kiozen | cr2: I can do that ifup thing tomorrow, office pc is down now |
16:12.45 | cr2 | ok |
16:12.53 | cr2 | kiozen: but bt is working. |
16:13.02 | cr2 | kiozen: next step ? |
16:13.11 | kiozen | cr2: qtopia |
16:13.15 | kiozen | for me |
16:13.37 | kiozen | cr2: suspend/resume/haret for you |
16:13.49 | cr2 | kiozen: i'm working on haret too. it's booting reliably, but still not 100% sure. |
16:14.06 | cr2 | yes, resume is an important and complex thing. |
16:14.26 | cr2 | kiozen: check how you'll control the cpu speed+voltage from userspace. |
16:14.33 | cr2 | it'd work too. |
16:14.51 | kiozen | cr2: ok, but that is not that important for the 1st shot |
16:15.08 | cr2 | the /dev/apm contains only dummies. check how to deal with the battery voltage in this case. |
16:15.09 | kiozen | cr2: what's missing for a stable resume? |
16:15.43 | kiozen | yes battery status is somewhat important :) |
16:16.03 | cr2 | i need to document the mcr cp15 stuff, and disable MMU on resume. |
16:16.37 | cr2 | <PROTECTED> |
16:16.38 | kiozen | cr2: ok, that sounds feasible |
16:19.10 | kiozen | cr2: maybe we get another demo rootfs until the 10th, July. But that should boot safely and resume/suspend would be nice, too |
16:21.39 | *** join/#htc-linux amd64lover (n=miknix@bl4-91-230.dsl.telepac.pt) |
16:23.18 | kiozen | ok, have to prepare the bbq, bbl |
16:47.56 | *** join/#htc-linux pikapika (n=pikapika@mar75-8-88-164-227-147.fbx.proxad.net) |
17:26.38 | *** join/#htc-linux rmoravcik1 (n=rmoravci@ip-89-102-255-171.karneval.cz) |
17:58.56 | *** join/#htc-linux Tonny (n=chatzill@set25-1-88-166-169-49.fbx.proxad.net) |
18:10.52 | *** join/#htc-linux tsdogs (n=tsdogs@62.123.180.130) |
18:29.56 | ginge | anyone know anything about the vogue cpld? |
18:30.18 | AstainHellbring | not much... |
18:30.25 | AstainHellbring | been trying to get a friend to give me one |
18:30.34 | ginge | is there a map online anywhere? |
18:30.47 | ginge | cant see one on xda-dev |
18:31.01 | AstainHellbring | I thought there was on xda... is their site back up? |
18:31.15 | ginge | no, I am using googlecache so might be out of date |
18:31.43 | ginge | I just need to know if the touchscreen raises an interrupt through a gpio on events |
18:31.54 | AstainHellbring | is that something that can be mapped reasonably easily? |
18:32.32 | ginge | not really. I will wait for xda-developers to come back up :/ |
18:32.36 | ginge | might be on wayback machine |
18:33.57 | ginge | aug 25 2007 last crawl :/ |
18:34.19 | AstainHellbring | ugh thats way old |
18:35.52 | *** join/#htc-linux rmoravcik1 (n=rmoravci@ip-89-102-255-171.karneval.cz) |
18:55.30 | *** join/#htc-linux ali1234 (n=al@62.24.214.38) |
19:00.00 | *** join/#htc-linux premy (n=pr@197.249.195-77.rev.gaoland.net) |
19:01.10 | ginge | hmm it does look lige the titan and vogue have a gpio for touchscreen presses. |
19:01.15 | ginge | s/lige/like/ |
19:01.46 | AstainHellbring | I have a titan if you want anything looked up on it? |
19:02.00 | ginge | do you know how to trace gpios? |
19:02.12 | AstainHellbring | not currently but ready and willing to learn |
19:02.21 | ginge | bugger that makes two of us |
19:02.40 | AstainHellbring | ahh damn |
19:08.56 | premy | martin__, dcordes : I've made some progress on GPRS. |
19:09.25 | premy | I've actually been able to set up a connexion and get an answer from www.google.com... |
19:11.13 | premy | The new kaiser_smd.c code is there : http://rafb.net/p/l0dglW36.html |
19:15.05 | AstainHellbring | wow nice premy |
19:15.23 | premy | There's also some changes to htckaiser_defconfig (to enable PPP) : http://rafb.net/p/3QGyj449.html |
19:18.52 | premy | And then this script sets the connection up : http://rafb.net/p/YO0KH834.html |
19:19.07 | ginge | wow |
19:21.52 | premy | In the script, the first "orange" is the APN |
19:22.24 | premy | and then the second and third "orange"'s are the username and password for the GPRS connexion. |
19:22.44 | premy | They should be changed to match your operator's configuration. |
19:23.06 | premy | Let me know if it works for you. |
19:23.20 | ginge | trying now |
19:23.56 | *** part/#htc-linux Tonny (n=chatzill@set25-1-88-166-169-49.fbx.proxad.net) |
19:23.57 | ginge | I am going to try this in sndroid |
19:24.00 | *** join/#htc-linux LunohoD_ (n=alex@e180074050.adsl.alicedsl.de) |
19:24.04 | premy | I've tested it with an angstrom initrd |
19:25.05 | ginge | just patching the script into android now. If I do this right I should be able to allow it to use dzos initrd modificatyions for apn on the kernel line |
19:25.19 | premy | There should be some small changes to make to the android initrd to make it work in this environment. |
19:25.31 | premy | ginge: no it's a bit more complicated. |
19:25.38 | ginge | premy: howso? |
19:25.46 | premy | dzo's inirtd is for CDMA, and not for GPRS |
19:26.01 | ginge | ppp is ppp |
19:26.30 | ginge | dzos image just runs a script to bring up ppp |
19:26.41 | premy | to initialize the GPRS connection, the command is something like AT+CGDCONT=1,"IP,"APN_name","",0,0 and then ATD*99***1# |
19:27.04 | premy | for CDMA it looks as though it's something like AT+HTCDUN=1, and then ATD#777 |
19:27.26 | premy | but those init strings are in /etc/init1 and /etc/init2 in dzo's initrd |
19:27.36 | ginge | yeah, I see that in your scripts. dzo has a script called setup_modem.sh that is called in his init tat cats init1 and init2 |
19:27.36 | premy | So it shouldn't be that difficult to change |
19:27.45 | ginge | so I just need to change those |
19:28.48 | premy | I'm not sure, but I think you also need to revert to the original libreference-ril, by modifying /etc/init.ril |
19:29.22 | ginge | I tried that already, and reverting to that breaks all of the functionality. |
19:29.47 | premy | libreference-ril.so -> libreference-ril-original.so |
19:29.50 | ginge | I dont know if it is because the android reference has some code in to run through the emulated data connection instead on the read libril.so |
19:30.29 | premy | Strange, I thought it worked for me with the original. I'll have to check again. |
19:30.56 | premy | Anyway, you can try with those changes already and see what happens. |
19:31.03 | ginge | its uploading |
19:31.14 | ginge | over bluetooth so might take a while |
19:32.37 | premy | I would recommend to disable zygote and runtime in /etc/init.rc, so that you get a chance to see what's happening in the console window (otherwise, the GUI masks everything). |
19:33.15 | ginge | is zygote the sweeping red led? |
19:35.15 | premy | No, it's a service that gets launched at boot time which I think is part of the android application platform. |
19:36.37 | premy | Got to go, bbl |
19:36.49 | *** part/#htc-linux premy (n=pr@197.249.195-77.rev.gaoland.net) |
20:43.11 | *** join/#htc-linux LunohoD (n=alex@e180074050.adsl.alicedsl.de) |
20:49.21 | marajin | ginge: How's it going? Sounds likeyou're having some fun with the data connections |
20:49.53 | ginge | oh yeah. |
20:50.02 | ginge | patching up android to do data :) |
20:56.39 | marajin | ginge: Have it working on linux-console? |
20:56.52 | ginge | yeah, looks to be |
20:57.01 | marajin | sweet :) |
20:57.03 | marajin | brb |
20:57.05 | ginge | oh yes |
21:10.24 | *** join/#htc-linux exco (n=exco@e181108251.adsl.alicedsl.de) |
21:17.49 | *** join/#htc-linux tsdogs (n=tsdogs@62.123.180.130) |
21:28.27 | *** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes) |
21:33.55 | ginge | hi dcordes |
21:35.35 | dcordes | heya |
21:36.45 | dcordes | ginge: you online in angstrom? |
21:37.00 | ginge | not right now. browsing the web using android |
21:37.08 | ginge | can be though |
21:37.25 | dcordes | did you upgrade the init1/2 scripts? |
21:37.41 | ginge | yes |
21:37.44 | ginge | how come sometimes I build the cpio.gz and it fails to boot? |
21:37.46 | dcordes | can you pastebin them? |
21:37.57 | dcordes | no clue it usually works here |
21:38.02 | ginge | you have a script? |
21:38.27 | dcordes | find ./ | cpio -H newc -o | gzip > ../initrd.cpio.gz |
21:40.14 | ginge | hmm same here |
21:41.26 | ginge | http://pastebin.com/m581e24d2 |
21:41.55 | martin__ | hey guys |
21:42.05 | martin__ | sounds like premy is the king of smem |
21:42.39 | ginge | hey man |
21:42.57 | martin__ | i'm just seeing about merging that stuff into the kaiser-smd cleanup |
21:43.01 | martin__ | so we can get something into git |
21:45.03 | *** part/#htc-linux exco (n=exco@e181108251.adsl.alicedsl.de) |
21:49.13 | ginge | you guys ever done any touchscreen work? |
21:49.19 | martin__ | not me |
21:49.48 | ginge | hmm. I was just wondering if the kaiser has a gpio for screen press IRQ |
21:54.34 | ginge | we will need to change the init scripts to allow for custom apn on the command line |
21:55.02 | dcordes | which? in android? |
21:55.06 | ginge | yeah |
21:55.33 | dcordes | o I'll try with angstrom now. are you sure you set GRAVE in the keymap for tje document key? |
21:56.08 | cr2 | hi |
21:56.11 | dcordes | It won't give me any tilde! |
21:56.19 | dcordes | hi cr2 |
21:56.25 | cr2 | are there any dex news ? |
21:56.26 | ginge | setkey |
21:56.46 | ginge | dcordes: yes, but I have massively changed the code :/ |
21:57.19 | dcordes | ginge: board-kaiser-keypad.c? |
21:57.22 | ginge | yeah |
21:58.03 | dcordes | can you paste it? |
21:58.19 | ginge | it doesn't work, so I wouldn't recommend |
21:58.36 | ginge | use setkey in the console, would be much easier |
21:58.40 | dcordes | good |
22:01.45 | martin__ | http://void.printf.net/~martin/kaiser-smd.c <- cleaned up to kernel coding style, comments added, set a flag we missed. |
22:02.04 | ginge | martin__: does that include premy's last changes? |
22:02.13 | martin__ | yup. if I've not broken anything in the process, that version should be good for git. |
22:03.04 | ginge | i swear this downloads faster in linux :) |
22:03.49 | martin__ | oh, crap |
22:03.59 | martin__ | I left a couple of lines with the wrong indenting |
22:04.29 | ginge | android browser seems to lock on big downloads :/ |
22:04.43 | ginge | xda-dev is back |
22:05.51 | ginge | I am so happy right now :) |
22:07.10 | martin__ | okay, updated at same url |
22:07.20 | martin__ | i'm jumping in the bath |
22:07.21 | martin__ | bbl |
22:15.55 | dcordes | ginge: what's a cr? |
22:16.09 | ginge | carriage return \r |
22:16.28 | dcordes | ? |
22:16.37 | *** part/#htc-linux ginge (n=baz@cpc6-ward3-0-0-cust579.manc.cable.ntl.com) |
22:16.54 | *** join/#htc-linux ginge (n=baz@cpc6-ward3-0-0-cust579.manc.cable.ntl.com) |
22:17.10 | ginge | press enter |
22:17.40 | dcordes | ok |
22:19.11 | dcordes | ginge: so init1 and init2 is all you changed in order to make android setup your ppp? |
22:19.18 | ginge | yes |
22:19.19 | dcordes | with premy's latest |
22:19.20 | dcordes | cool |
22:19.29 | dcordes | I'm building with martin's cleanmup |
22:19.31 | ginge | make sure you put your apn in init |
22:19.40 | dcordes | done |
22:19.43 | ginge | good luck. watch out for the browser locking up :) |
22:20.09 | ginge | you need to put dzos ppp.username= and ppp.password= in default.txt if you havnt already |
22:21.16 | dcordes | I think that's not neccessary for my provider |
22:21.19 | dcordes | I just set foo bar |
22:32.28 | dcordes | either martin__ cleanup broke something or it's my consoel imager |
22:34.43 | dcordes | no it's the kaiser-smd.c |
22:46.46 | dcordes | ginge: hm I get the same hang after ppp setup in angstrom and android |
22:46.59 | dcordes | with both, ginge and martin__ |
22:47.27 | ginge | hang as in crash? |
22:47.44 | dcordes | looks like it. cursor freezes |
22:47.59 | ginge | odd |
22:48.00 | dcordes | after 3 ppp lines it freezes on ps/2 something |
22:48.24 | ginge | are you using premy dump? |
22:48.45 | dcordes | dump? I tried both pastes, premy's and martin__'s |
22:49.03 | ginge | did you enable ppp in the defconfig? |
22:49.23 | dcordes | yep I copied premy dedconfig to .config |
22:50.44 | ginge | dunno then. try a make clean |
22:51.23 | dcordes | ok |
22:52.27 | dcordes | ginge: are you also using the premy defconfig? |
22:52.33 | ginge | yes |
22:52.41 | ginge | then I did a clean build |
22:53.02 | dcordes | hope make clean did the trick |
22:55.17 | *** join/#htc-linux timebomb (n=timebomb@e176115090.adsl.alicedsl.de) |
22:55.55 | dcordes | ginge: froze again |
22:56.21 | martin__ | dcordes: the only actual change i made to the code is to set fTAIL after writing the tail |
22:56.47 | dcordes | yea it's the same error with both of the smd |
22:56.51 | dcordes | smd.c |
22:56.51 | martin__ | to be consistent with what we do elsewhere writing fHEAD and fSTATE |
22:56.56 | martin__ | ah |
22:57.12 | dcordes | something else is broken here |
22:57.14 | ginge | yeah it seems to crash a little while after using ppp on premys |
22:57.40 | martin__ | we may still be missing stuff that doesn't show up immediately |
22:57.52 | martin__ | see the TODO comments in my version |
22:58.48 | martin__ | ooh, just spotted one more thing |
22:59.16 | martin__ | we don't set the flags when we notify because we hit the burst size |
22:59.18 | martin__ | lemme fix that |
23:01.32 | dcordes | hmhm |
23:02.01 | dcordes | I will try building with ppp off and boot |
23:02.33 | martin__ | http://void.printf.net/~martin/kaiser-smd.c |
23:02.57 | martin__ | ginge: see if this version stays up better |
23:03.00 | ginge | err the phone doesnt work in premys |
23:03.05 | ginge | okay |
23:03.24 | ginge | wait, I saw the g with the arrows, so it was probably ppp in the background |
23:03.50 | martin__ | If premy broke the phone then I have a guess what's wrong |
23:04.21 | martin__ | in smd_open he unconditionally sets the state to SMD_SS_OPENED and sets the fSTATE flag to tell the ARM9 he's done so |
23:04.35 | martin__ | In the case of the GPRS that may be right as the channel was previously closed |
23:04.47 | martin__ | but in the case of AT it was open in wince |
23:04.55 | martin__ | so that may confuse the modem |
23:05.07 | martin__ | We really need to handle all the states properly |
23:05.13 | martin__ | for which we'll need to see smd.c |
23:05.16 | martin__ | anyway |
23:05.21 | martin__ | that's all for tonight from me |
23:05.26 | martin__ | have fun guys |
23:05.54 | dcordes | cya |
23:08.26 | *** join/#htc-linux surgex0 (i=surge@pool-71-186-163-107.bflony.fios.verizon.net) |
23:09.33 | dcordes | ginge: do you have any changes in your local tree except of keypad and smd.c? |
23:09.39 | dcordes | git-status? |
23:10.00 | ginge | nothing working yet |
23:10.07 | ginge | oh wait |
23:10.44 | martin__ | dcordes: final thought for the night: try putting "if (ch->send->state != SMD_SS_OPENED)" before the set state call (line 336 in my version) |
23:11.13 | martin__ | so it only changes it if it's not already open |
23:11.25 | dcordes | ok thanks |
23:11.25 | martin__ | then what we do for at shouldn't be different to before |
23:11.31 | martin__ | nn |
23:11.37 | dcordes | good night |
23:11.40 | ginge | night |
23:13.54 | ginge | dcordes the repo is on my other machine. |
23:18.46 | ginge | not a good sign. Martin__'s new paste just froze on boot |
23:18.53 | dcordes | after ppp? |
23:18.59 | ginge | not, after go go go |
23:19.04 | ginge | s/not/no/ |
23:19.30 | dcordes | I just booted with his latest paste plus the change he proposed above |
23:19.43 | ginge | hmm |
23:19.44 | dcordes | same freze for me |
23:19.55 | ginge | not good |
23:20.06 | *** join/#htc-linux Othello (i=Magorium@gateway/tor/x-efe03b3d8c9b50bf) |
23:20.34 | dcordes | ppp generic, ppp deflate, ppp bsd compression, mice ps/2, then freeze |
23:21.48 | ginge | okay, I did a make clean, and now it work |
23:22.41 | dcordes | ginge: can you check what is initialized after mice driverwhen you boot? |
23:22.41 | ginge | still freezes after using maps app for a couple of seconds |
23:23.14 | ginge | same with browser. |
23:23.20 | ginge | There is some bug here |
23:24.59 | ginge | dcordes: I can't boot at the moment. give me a few to get the kernel working |
23:25.11 | ginge | I broke the framebuffer :/ |
23:25.29 | dcordes | ginge: could you email me your semi working gprs zImage? |
23:25.34 | ginge | sure |
23:25.40 | dcordes | just to make sure it is nothing with my kaiser |
23:27.08 | ginge | okay, sent. just to warn you, dont press the camera button |
23:27.21 | dcordes | k |
23:29.42 | cr2 | lol |
23:29.45 | dcordes | same freeze |
23:30.05 | ginge | check you images |
23:30.09 | dcordes | yep |
23:30.13 | cr2 | evildoers. my nice screenshot :) |
23:30.20 | cr2 | http://www.pcwelt.de/start/mobility_handy_pda/archiv/133145/linux_auf_dem_htc_universal |
23:30.48 | ginge | no attribution? |
23:31.14 | dcordes | volkssport |
23:31.15 | cr2 | no. but it was 2 years ago. |
23:31.38 | cr2 | but i enjoyed the text :D |
23:31.45 | cr2 | "Microsofts Monopolstatus ist nach wie vor vielen freien Entwicklern ein Dorn im Auge" |
23:32.07 | dcordes | :) |
23:36.47 | dcordes | ginge: works it was my images |
23:37.27 | dcordes | ginge: why did you put a printk for the cambtn? :) |
23:38.02 | ginge | its hooked from the touchscreen driver for caibration ;) |
23:38.13 | ginge | the printk is to tell me the hook worked |
23:38.33 | dcordes | ah did you get the calibration function to work? |
23:38.55 | ginge | not perfectly. It seems amost warped in a curve at the bottom |
23:39.23 | marajin | heh, I sometimes wonder how things like that happen |
23:39.41 | ginge | yeah, its really pissing me off |
23:40.04 | marajin | Eh, there's no rush mate, so no point getting wound up about it |
23:40.10 | ginge | lol |
23:40.23 | ginge | its become personal |
23:40.37 | marajin | well map the output and plot the shape of the screen as it sees it? |
23:40.45 | marajin | then you can mathmatically cancel out the curve :p |
23:41.41 | ginge | thats pretty much what I am working on, anthough i am pretty sure I shouldn't have to and I am missing something obvious |
23:41.56 | marajin | yeah it's a really weird thing to occur I guess |
23:42.13 | marajin | I'm assuming it's not a common thing with touchscreens or we'd know about it from other devices |
23:43.10 | marajin | Which basically means either there's a glitch with the way the touchscreen functions on the kaiser or something's messing with reading it, right? |
23:43.24 | ginge | right |
23:43.26 | marajin | but what the hell would only mangle the very bottom of the screen |
23:43.47 | ginge | if you can boot android, crank up the graphics drawing app int he dev tools and draw all over the screen |
23:44.16 | marajin | such an error sounds more physical than software to me o.o; |
23:44.29 | marajin | Not that I'm much of an authority on it, just sounds morelikely to me |
23:45.18 | marajin | K, I'll play with it while I'm cooking a midnight scan :P |
23:45.19 | marajin | er |
23:45.21 | marajin | snack |
23:46.40 | cr2 | hm. |
23:46.48 | ginge | nothing like a midnight scan, although you would think the restraining orders would put a stop to that |
23:47.04 | cr2 | couldn't dump the diamond imgfs |
23:50.14 | dcordes | ginge: what are you doing in order to make gprs work in angstrom? I booted with your zImage, setup the nodes and ran premy's script |
23:51.50 | ginge | did you chmod? |
23:52.00 | ginge | or set uucp /dev/smd* |
23:52.35 | dcordes | I did chmod in the rootfs so it's done when I boot |
23:53.18 | marajin | heh |
23:53.36 | marajin | Nah, I decided to give the scan a miss and I'm doing breaded salmon with garlic and spiced potato wedges instead ;) |
23:55.41 | cr2 | ginge: chown uucp.uucp /deV/smd* |