IRC log for #htc-linux on 20080629

00:08.48dcordes_ginge: ok guess I should read the kernel documentation on keyboards
00:09.13dcordes_ginge: what's the kaiser-smd.c you use?
00:10.32dcordes_actually my one does work (last one premy pasted) in android
00:12.12gingeodd
00:12.34gingeI use martin__ paste from yesterday
00:15.07dcordes_all you do is boot then mknod /dev/smd0 c 254 0; chmod /var/lock/; cu -l /dev/smd0?
00:15.15dcordes_chmod 0777
00:16.43gingechmod 0777 /dev/smd0 too
00:16.54gingeotherwise cu doesnt have permission. Thats probly the issue
00:17.13ginges/probly/possibly/
00:21.26dcordes_ok trying that
00:21.38cr2ginge: cu is setgid/uid uucp
00:29.07dcordes_ok cu works now after I chmod 0777'D /dev/smd0 and /var/lock
00:29.49dcordes_I'll put a script to set that up and probably setup the modem
00:30.11dcordes_cr2: think it would be useful to just put a script that cats the V0 sequence?
00:36.15gingeyou could also make /dev/smd0 uucp as cr2 suggests
00:37.21dcordes_chown uucp them?
00:38.49cr2dcordes: you'd sent the same init string as wince. or something close to that.
00:39.05cr2dcordes: gsmd likes V1.
00:39.32cr2dcordes: the comm devices should be uucp.uucp. it's a long unix tradition.
00:39.36cr2good night :)
00:40.24dcordes_cr2: ok good night
00:40.59dcordes_cr2: sorry one more thing: do you have a clean list of the different Vs?
00:41.10dcordes_so I don't need to swim around in the dll's strings?
00:52.09gingeyou looked at dzo new diff. It has quite a few changes
00:55.16dcordes_depends
00:55.29dcordes_the one with that file missing I know well
00:57.00dcordes_because I tried to merge it with kaiser
00:57.37gingeand what happened?
00:57.47dcordes_it didn't boot
00:58.22dcordes_I tried to add all the stuff at a time including the new hw.c proc_comm *smd.c vreg.c
00:58.23gingeoh. 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.54gingedzo uses a lot of direct register addresses instead of the defined aliases
00:59.03gingeI keep finding them
00:59.14dcordes_that's cool did you also put vogue-hw.c?
00:59.19gingeyes
00:59.38gingedidnt touch vreg.c yet
00:59.43dcordes_are you able to sort out what needs changing there for kais? I was confused with all the new regs in it
01:00.21gingepretty much i think. Worst case some features dont work
01:00.51dcordes_did you find the power management stuff?
01:01.09gingeI did, but without proc_comm it is useless
01:01.26gingeat least some of it
01:02.01dcordes_he said he turns down clock for standby using msm_clk_ctl
01:02.21gingeI will have to look. There is a lot of code in there
01:02.28gingeThe guy is a machine
01:02.40dcordes_I think he likes his phone :)
01:03.03dcordes_w/o this work we prolly still wouldn't boot
01:03.53gingeyeah he deserves some serious kudos
01:07.48dcordes_ginge: I put the 3 devices nodes into the console image and 0777'D them and /var/lock/
01:08.12dcordes_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.17dcordes_V0
01:08.22dcordes_don't know where V1 is
01:09.31dcordes_http://rafb.net/p/MIxUpn16.html
01:10.43dcordes_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.45gingetry it and see what happens
01:18.04dcordes_o wait
01:18.23dcordes_how'd I send it if echo isn't working?
01:19.02gingecat?
01:19.15gingeI mean redirect
01:19.31gingecat file > /dev/smd0
01:19.33dcordes_cat file > /dev/smd0
01:19.34dcordes_lol
01:19.42dcordes_but why would that work if echo isn't?
01:20.01gingedunno are you sending \r with your echo?
01:20.27dcordes_yes I did but wait. I didn't chmod the nodes when I tried
01:23.38dcordes_ginge: how to close cu?
01:24.12ginge<PROTECTED>
01:24.16infernixhi
01:24.16gingeman cu
01:24.27ginge~. basicaly
01:24.38infernixhmm, new drivers for kaiser?
01:24.52dcordes_looks like my tilde isn't functional
01:26.14gingedid you try it in the console?
01:26.30gingetry pressing shift before you do fn ->
01:28.57dcordes_infernix: http://linuxtogo.org/~lgorris/kaiser-bootkit/README.txt for status
01:29.08infernixsweet
01:29.48dcordes_ginge: very odd I can detach a screen with ctrl+a+d but not close cat with ctrl+c
01:30.05gingehave the same problem here.
01:30.07marajinhmm
01:30.14marajinHow's it going guys?
01:30.15infernixif data works and i can set up ppp i can ssh into it
01:30.28gingethats the plan
01:30.31infernixassuming that im going to need ppp, no idea yet tbh
01:30.37infernixshould be cookie cutter
01:30.43infernixppp is eas
01:30.55dcordes_I'm playing with init sequence
01:31.01dcordes_http://rafb.net/p/MIxUpn16.html
01:31.09infernixt-mobile gives out public ips so that'd work well
01:31.10dcordes_that's the wince v0 init sequence
01:31.26dcordes_I have a t-mobile test card somewhere
01:35.00infernixyou can also try using minicom to talk to the modem
01:35.48infernixbut no sd card yet huh
01:38.08dcordes_infernix: you're right
01:39.33dcordes_ginge: document key makes a grave here
01:39.53gingeoh well. whats the right mapping?
01:40.05gingewhat language does your angstrom use?
01:40.25dcordes_english?
01:40.41gingeEN_UK or EN_US
01:40.51gingeetc
01:41.03dcordes_I didn' set this so I guess that'd be us
01:41.17gingehmm why does it work for me?
01:41.36gingetry changing it the has key
01:41.42ginges/has/hash/
01:42.25*** join/#htc-linux Othello (i=Magorium@gateway/tor/x-e50f5b0fce250565)
01:43.44dcordes_ginge: the hash key? Do we have escape mapped?
01:43.51dcordes_picocom requires escape key
01:44.42gingedoesnt look like it
02:05.29dcordes_ginge: you tried to dial in minicom before, didn't you?
02:05.35dcordes_s/minicom/cu/
02:05.49gingeyes, it replied NO CARRIER
02:06.00gingeso I guess I set the modem up wrong
02:06.00dcordes_what's the command?
02:06.17dcordes_maybe it works w/ V0 before
02:08.36gingecant remember. It should be in the logs somwehere
02:11.15dcordes_ATD
02:12.06dcordes_hahA!
02:12.07dcordes_my phone ringe
02:13.50dcordes_ginge: do you know how the audio channel is openned?
02:14.04gingeawesome :)
02:14.15gingeaudio? not really.
02:15.31dcordes_I thought the modem would do this
02:25.24dcordes_need some rest
02:25.28dcordes_good night ginge
02:25.36gingegood 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.20BabelOhi
10:32.02pH5hi BabelO
10:32.41BabelOpH5: how is asic3 on latest kernel ?
10:33.54pH5there seems to be a problem with the spinlocks in asic3_irq_demux in the mainline code for blueangel.
10:33.59pH5on hx4700 it works
10:34.22pH5mmc is still nonworking
10:35.12BabelOpH5: we have a lot of irq demux when using ds1wm
10:35.32*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
10:37.49pH5ds1wm support is still missing.
10:38.09pH5though that will be my next step, it should be reasonably easy to put it back in.
10:38.20BabelOok
10:39.56Marexso ...
10:40.05MarexI implemented chainsaw into 0verkill :)
10:40.09pH5hi Marex
10:40.16BabelOhi Marex
10:40.28Marexhi BabelO, pH5
10:40.38Marexpalmtx is next in my todo probably
10:40.54pH5Marex: interesting priorities :)
10:48.31*** join/#htc-linux Thempra (n=thempra@84.124.243.44.dyn.user.ono.com)
10:48.51Themprahi
10:51.04pH5hi Thempra
10:54.55*** join/#htc-linux hagisbasheruk (n=hagisbas@78.148.135.168)
11:02.18MarexpH5: dont you think ;)
11:02.43Marexthough Im still missing certain functionality there
11:02.56Marexit crashes when too much meat objects are allocated :D
11:03.12MarexI 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.23pikapikayo
11:21.45hagisbasherukyo back @ pikapika :P
11:22.00pikapikahi 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.42dcordeshi
11:48.55dcordescr2: 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.53dcordesdoes 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.26gingeis the wiki dead or is it my end?
13:42.21seTecHnoxda-developers is down
13:42.34gingedamn
13:42.46seTecHnofor quite some time now
13:50.53*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
15:17.08dcordesginge: what ya need?
15:17.30gingecpios and cpld data for kaiser and vogue
15:17.41ginges/cpios/gpios/
15:18.34dcordes~lart dcordes for still not keeping a local backup of kaiser research
15:18.34aptwhacks 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.13dcordes_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.26dcordes_google cache
15:28.44gingewhat is the vogue the same platform as?
15:31.28dcordes_titan
15:43.02*** join/#htc-linux marmotta (n=skodde@unaffiliated/skodde)
15:46.03dcordes_hmmm bbq
15:46.04dcordes_later
15:47.16*** join/#htc-linux kiozen (n=oeichler@rgnb-5d865ac0.pool.einsundeins.de)
15:52.05paulproteusomg wtf htc bbq
16:09.53cr2hi
16:10.01BabelOhi cr2
16:10.06cr2kiozen: have you seen my comments ?
16:10.09cr2hi BabelO
16:10.25kiozencr2: hi, yes
16:12.36kiozencr2: I can do that ifup thing tomorrow, office pc is down now
16:12.45cr2ok
16:12.53cr2kiozen: but bt is working.
16:13.02cr2kiozen: next step ?
16:13.11kiozencr2: qtopia
16:13.15kiozenfor me
16:13.37kiozencr2: suspend/resume/haret for you
16:13.49cr2kiozen: i'm working on haret too. it's booting reliably, but still not  100% sure.
16:14.06cr2yes, resume is an important and complex thing.
16:14.26cr2kiozen: check how you'll control the cpu speed+voltage from userspace.
16:14.33cr2it'd work too.
16:14.51kiozencr2: ok, but that is not that important for the 1st shot
16:15.08cr2the /dev/apm contains only dummies. check how to deal with the battery voltage in this case.
16:15.09kiozencr2: what's missing for a stable resume?
16:15.43kiozenyes battery status is somewhat important :)
16:16.03cr2i need to document the mcr cp15 stuff, and disable MMU on resume.
16:16.37cr2<PROTECTED>
16:16.38kiozencr2: ok, that sounds feasible
16:19.10kiozencr2: 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.18kiozenok, 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.56gingeanyone know anything about the vogue cpld?
18:30.18AstainHellbringnot much...
18:30.25AstainHellbringbeen trying to get a friend to give me one
18:30.34gingeis there a map online anywhere?
18:30.47gingecant see one on xda-dev
18:31.01AstainHellbringI thought there was on xda... is their site back up?
18:31.15gingeno, I am using googlecache so might be out of date
18:31.43gingeI just need to know if the touchscreen raises an interrupt through a gpio on events
18:31.54AstainHellbringis that something that can be mapped reasonably easily?
18:32.32gingenot really. I will wait for xda-developers to come back up :/
18:32.36gingemight be on wayback machine
18:33.57gingeaug 25 2007 last crawl :/
18:34.19AstainHellbringugh 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.10gingehmm it does look lige the titan and vogue have a gpio for touchscreen presses.
19:01.15ginges/lige/like/
19:01.46AstainHellbringI have a titan if you want anything looked up on it?
19:02.00gingedo you know how to trace gpios?
19:02.12AstainHellbringnot currently but ready and willing to learn
19:02.21gingebugger that makes two of us
19:02.40AstainHellbringahh damn
19:08.56premymartin__, dcordes : I've made some progress on GPRS.
19:09.25premyI've actually been able to set up a connexion and get an answer from www.google.com...
19:11.13premyThe new kaiser_smd.c code is there : http://rafb.net/p/l0dglW36.html
19:15.05AstainHellbringwow nice premy
19:15.23premyThere's also some changes to htckaiser_defconfig (to enable PPP) : http://rafb.net/p/3QGyj449.html
19:18.52premyAnd then this script sets the connection up : http://rafb.net/p/YO0KH834.html
19:19.07gingewow
19:21.52premyIn the script, the first "orange" is the APN
19:22.24premyand then the second and third "orange"'s are the username and password for the GPRS connexion.
19:22.44premyThey should be changed to match your operator's configuration.
19:23.06premyLet me know if it works for you.
19:23.20gingetrying now
19:23.56*** part/#htc-linux Tonny (n=chatzill@set25-1-88-166-169-49.fbx.proxad.net)
19:23.57gingeI am going to try this in sndroid
19:24.00*** join/#htc-linux LunohoD_ (n=alex@e180074050.adsl.alicedsl.de)
19:24.04premyI've tested it with an angstrom initrd
19:25.05gingejust 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.19premyThere should be some small changes to make to the android initrd to make it work in this environment.
19:25.31premyginge: no it's a bit more complicated.
19:25.38gingepremy: howso?
19:25.46premydzo's inirtd is for CDMA, and not for GPRS
19:26.01gingeppp is ppp
19:26.30gingedzos image just runs a script to bring up ppp
19:26.41premyto initialize the GPRS connection, the command is something like AT+CGDCONT=1,"IP,"APN_name","",0,0 and then ATD*99***1#
19:27.04premyfor CDMA it looks as though it's something like AT+HTCDUN=1, and then ATD#777
19:27.26premybut those init strings are in /etc/init1 and /etc/init2 in dzo's initrd
19:27.36gingeyeah, 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.36premySo it shouldn't be that difficult to change
19:27.45gingeso I just need to change those
19:28.48premyI'm not sure, but I think you also need to revert to the original libreference-ril, by modifying /etc/init.ril
19:29.22gingeI tried that already, and reverting to that breaks all of the functionality.
19:29.47premylibreference-ril.so -> libreference-ril-original.so
19:29.50gingeI 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.29premyStrange, I thought it worked for me with the original. I'll have to check again.
19:30.56premyAnyway, you can try with those changes already and see what happens.
19:31.03gingeits uploading
19:31.14gingeover bluetooth so might take a while
19:32.37premyI 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.15gingeis zygote the sweeping red led?
19:35.15premyNo, it's a service that gets launched at boot time which I think is part of the android application platform.
19:36.37premyGot 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.21marajinginge: How's it going? Sounds likeyou're having some fun with the data connections
20:49.53gingeoh yeah.
20:50.02gingepatching up android to do data :)
20:56.39marajinginge: Have it working on linux-console?
20:56.52gingeyeah, looks to be
20:57.01marajinsweet :)
20:57.03marajinbrb
20:57.05gingeoh 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.55gingehi dcordes
21:35.35dcordesheya
21:36.45dcordesginge: you online in angstrom?
21:37.00gingenot right now. browsing the web using android
21:37.08gingecan be though
21:37.25dcordesdid you upgrade the init1/2 scripts?
21:37.41gingeyes
21:37.44gingehow come sometimes I build the cpio.gz and it fails to boot?
21:37.46dcordescan you pastebin them?
21:37.57dcordesno clue it usually works here
21:38.02gingeyou have a script?
21:38.27dcordesfind ./ | cpio -H newc -o | gzip > ../initrd.cpio.gz
21:40.14gingehmm same here
21:41.26gingehttp://pastebin.com/m581e24d2
21:41.55martin__hey guys
21:42.05martin__sounds like premy is the king of smem
21:42.39gingehey man
21:42.57martin__i'm just seeing about merging that stuff into the kaiser-smd cleanup
21:43.01martin__so we can get something into git
21:45.03*** part/#htc-linux exco (n=exco@e181108251.adsl.alicedsl.de)
21:49.13gingeyou guys ever done any touchscreen work?
21:49.19martin__not me
21:49.48gingehmm. I was just wondering if the kaiser has a gpio for screen press IRQ
21:54.34gingewe will need to change the init scripts to allow for custom apn on the command line
21:55.02dcordeswhich? in android?
21:55.06gingeyeah
21:55.33dcordeso I'll try with angstrom now. are you sure you set GRAVE in the keymap for tje document key?
21:56.08cr2hi
21:56.11dcordesIt won't give me any tilde!
21:56.19dcordeshi cr2
21:56.25cr2are there any dex news ?
21:56.26gingesetkey
21:56.46gingedcordes: yes, but I have massively changed the code :/
21:57.19dcordesginge: board-kaiser-keypad.c?
21:57.22gingeyeah
21:58.03dcordescan you paste it?
21:58.19gingeit doesn't work, so I wouldn't recommend
21:58.36gingeuse setkey in the console, would be much easier
21:58.40dcordesgood
22:01.45martin__http://void.printf.net/~martin/kaiser-smd.c <- cleaned up to kernel coding style, comments added, set a flag we missed.
22:02.04gingemartin__: does that include premy's last changes?
22:02.13martin__yup. if I've not broken anything in the process, that version should be good for git.
22:03.04gingei swear this downloads faster in linux :)
22:03.49martin__oh, crap
22:03.59martin__I left a couple of lines with the wrong indenting
22:04.29gingeandroid browser seems to lock on big downloads :/
22:04.43gingexda-dev is back
22:05.51gingeI am so happy right now :)
22:07.10martin__okay, updated at same url
22:07.20martin__i'm jumping in the bath
22:07.21martin__bbl
22:15.55dcordesginge: what's a cr?
22:16.09gingecarriage return \r
22:16.28dcordes?
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.10gingepress enter
22:17.40dcordesok
22:19.11dcordesginge: so init1 and init2 is all you changed in order to make android setup your ppp?
22:19.18gingeyes
22:19.19dcordeswith premy's latest
22:19.20dcordescool
22:19.29dcordesI'm building with martin's cleanmup
22:19.31gingemake sure you put your apn in init
22:19.40dcordesdone
22:19.43gingegood luck. watch out for the browser locking up :)
22:20.09gingeyou need to put dzos ppp.username= and ppp.password= in default.txt if you havnt already
22:21.16dcordesI think that's not neccessary for my provider
22:21.19dcordesI just set foo bar
22:32.28dcordeseither martin__ cleanup broke something or it's my consoel imager
22:34.43dcordesno it's the kaiser-smd.c
22:46.46dcordesginge: hm I get the same hang after ppp setup in angstrom and android
22:46.59dcordeswith both, ginge and martin__
22:47.27gingehang as in crash?
22:47.44dcordeslooks like it. cursor freezes
22:47.59gingeodd
22:48.00dcordesafter 3 ppp lines it freezes on ps/2 something
22:48.24gingeare you using premy dump?
22:48.45dcordesdump? I tried both pastes, premy's and martin__'s
22:49.03gingedid you enable ppp in the defconfig?
22:49.23dcordesyep I copied premy dedconfig to .config
22:50.44gingedunno then. try a make clean
22:51.23dcordesok
22:52.27dcordesginge: are you also using the premy defconfig?
22:52.33gingeyes
22:52.41gingethen I did a clean build
22:53.02dcordeshope make clean did the trick
22:55.17*** join/#htc-linux timebomb (n=timebomb@e176115090.adsl.alicedsl.de)
22:55.55dcordesginge: froze again
22:56.21martin__dcordes: the only actual change i made to the code is to set fTAIL after writing the tail
22:56.47dcordesyea it's the same error with both of the smd
22:56.51dcordessmd.c
22:56.51martin__to be consistent with what we do elsewhere writing fHEAD and fSTATE
22:56.56martin__ah
22:57.12dcordessomething else is broken here
22:57.14gingeyeah it seems to crash a little while after using ppp on premys
22:57.40martin__we may still be missing stuff that doesn't show up immediately
22:57.52martin__see the TODO comments in my version
22:58.48martin__ooh, just spotted one more thing
22:59.16martin__we don't set the flags when we notify because we hit the burst size
22:59.18martin__lemme fix that
23:01.32dcordeshmhm
23:02.01dcordesI will try building with ppp off and boot
23:02.33martin__http://void.printf.net/~martin/kaiser-smd.c
23:02.57martin__ginge: see if this version stays up better
23:03.00gingeerr the phone doesnt work in premys
23:03.05gingeokay
23:03.24gingewait, I saw the g with the arrows, so it was probably ppp in the background
23:03.50martin__If premy broke the phone then I have a guess what's wrong
23:04.21martin__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.35martin__In the case of the GPRS that may be right as the channel was previously closed
23:04.47martin__but in the case of AT it was open in wince
23:04.55martin__so that may confuse the modem
23:05.07martin__We really need to handle all the states properly
23:05.13martin__for which we'll need to see smd.c
23:05.16martin__anyway
23:05.21martin__that's all for tonight from me
23:05.26martin__have fun guys
23:05.54dcordescya
23:08.26*** join/#htc-linux surgex0 (i=surge@pool-71-186-163-107.bflony.fios.verizon.net)
23:09.33dcordesginge: do you have any changes in your local tree except of keypad and smd.c?
23:09.39dcordesgit-status?
23:10.00gingenothing working yet
23:10.07gingeoh wait
23:10.44martin__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.13martin__so it only changes it if it's not already open
23:11.25dcordesok thanks
23:11.25martin__then what we do for at shouldn't be different to before
23:11.31martin__nn
23:11.37dcordesgood night
23:11.40gingenight
23:13.54gingedcordes the repo is on my other machine.
23:18.46gingenot a good sign. Martin__'s new paste just froze on boot
23:18.53dcordesafter ppp?
23:18.59gingenot, after go go go
23:19.04ginges/not/no/
23:19.30dcordesI just booted with his latest paste plus the change he proposed above
23:19.43gingehmm
23:19.44dcordessame freze for me
23:19.55gingenot good
23:20.06*** join/#htc-linux Othello (i=Magorium@gateway/tor/x-efe03b3d8c9b50bf)
23:20.34dcordesppp generic, ppp deflate, ppp bsd compression, mice ps/2, then freeze
23:21.48gingeokay, I did a make clean, and now it work
23:22.41dcordesginge: can you check what is initialized after mice driverwhen you boot?
23:22.41gingestill freezes after using maps app for a couple of seconds
23:23.14gingesame with browser.
23:23.20gingeThere is some bug here
23:24.59gingedcordes: I can't boot at the moment. give me a few to get the kernel working
23:25.11gingeI broke the framebuffer :/
23:25.29dcordesginge: could you email me your semi working gprs zImage?
23:25.34gingesure
23:25.40dcordesjust to make sure it is nothing with my kaiser
23:27.08gingeokay, sent. just to warn you, dont press the camera button
23:27.21dcordesk
23:29.42cr2lol
23:29.45dcordessame freeze
23:30.05gingecheck you images
23:30.09dcordesyep
23:30.13cr2evildoers. my nice screenshot :)
23:30.20cr2http://www.pcwelt.de/start/mobility_handy_pda/archiv/133145/linux_auf_dem_htc_universal
23:30.48gingeno attribution?
23:31.14dcordesvolkssport
23:31.15cr2no. but it was 2 years ago.
23:31.38cr2but i enjoyed the text :D
23:31.45cr2"Microsofts Monopolstatus ist nach wie vor vielen freien Entwicklern ein Dorn im Auge"
23:32.07dcordes:)
23:36.47dcordesginge: works it was my images
23:37.27dcordesginge: why did you put a printk for the cambtn? :)
23:38.02gingeits hooked from the touchscreen driver for caibration ;)
23:38.13gingethe printk is to tell me the hook worked
23:38.33dcordesah did you get the calibration function to work?
23:38.55gingenot perfectly. It seems amost warped in a curve at the bottom
23:39.23marajinheh, I sometimes wonder how things like that happen
23:39.41gingeyeah, its really pissing me off
23:40.04marajinEh, there's no rush mate, so no point getting wound up about it
23:40.10gingelol
23:40.23gingeits become personal
23:40.37marajinwell map the output and plot the shape of the screen as it sees it?
23:40.45marajinthen you can mathmatically cancel out the curve :p
23:41.41gingethats 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.56marajinyeah it's a really weird thing to occur I guess
23:42.13marajinI'm assuming it's not a common thing with touchscreens or we'd know about it from other devices
23:43.10marajinWhich 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.24gingeright
23:43.26marajinbut what the hell would only mangle the very bottom of the screen
23:43.47gingeif you can boot android, crank up the graphics drawing app int he dev tools and draw all over the screen
23:44.16marajinsuch an error sounds more physical than software to me o.o;
23:44.29marajinNot that I'm much of an authority on it, just sounds morelikely to me
23:45.18marajinK, I'll play with it while I'm cooking a midnight scan :P
23:45.19marajiner
23:45.21marajinsnack
23:46.40cr2hm.
23:46.48gingenothing like a midnight scan, although you would think the restraining orders would put a stop to that
23:47.04cr2couldn't dump the diamond imgfs
23:50.14dcordesginge: 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.50gingedid you chmod?
23:52.00gingeor set uucp /dev/smd*
23:52.35dcordesI did chmod in the rootfs so it's done when I boot
23:53.18marajinheh
23:53.36marajinNah, I decided to give the scan a miss and I'm doing breaded salmon with garlic and spiced potato wedges instead ;)
23:55.41cr2ginge: chown uucp.uucp /deV/smd*

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