IRC log for #htc-linux on 20070416

00:00.21cr2<4>main-battery: not enough power to charge
00:00.49cr2yeah. usb is too weak.
00:01.53cr2opie battery applet is buggy and does not consider font metrics.
00:02.14bd2cr2, probably it's not. http://lkml.org/lkml/2007/4/13/12 - try read it
00:02.42bd2maybe we should somehow configure USB to give us more then 100 mA (g_ether gadget).
00:03.13bd2I.e. ask USB host (via gadget api) to supply us
00:04.25bd2my old PC don't bother to limit VBUS current, and hx4700 can use USB to charge... my new PC seems to limit VBUS too
00:04.41bd2s/too//
00:04.42cr2ok.
00:05.05cr2but the ac charging works.
00:05.12bd2yes, sure.
00:05.18cr2backlight eats a lot of current.
00:05.51cr2the estimation at 57 min, after the backlight switched off it dropped to 37
00:07.35bd2I might warn that apm_power can give some strange timings values... I'm not bothered yet to investigate exact reason (ds2760_battery bug/misfeature or apm_power). But apm_power seems rather correct
00:07.45bd2but most of the time, it gives correct values to me
00:08.11cr2well, i dont put too much value on such estimations anyway.
00:08.33cr2it works now, that is what really counts :)
00:08.49bd2yeah, right. Because ds2760_battery gives momentary values, and we need just some userspace app that will collect statistics and approximate
00:09.15cr2yes, some kind of powerd.
00:09.38cr2without any acpi monstrosity.
00:10.07bd2yup yup. And which will work with any /sys/class/battery, because things now common
00:10.49bd2Actually, we can do it in kernel, on top of apm_power.. but none yet bothered
00:12.26cr2ok. it's really late now. thanks for the help with the driver, i'm going to bed now.
00:12.35bd2good night!
01:35.33*** join/#htc-linux tudenbart (n=willi@xdsl-213-196-255-136.netcologne.de)
05:11.26*** join/#htc-linux sadeness_ (n=LamersIn@nat2.rlan.ru)
05:54.44*** join/#htc-linux pleemans (n=peter@d5152D19B.access.telenet.be)
05:56.47*** join/#htc-linux _law_ (n=law@mail.stiftadmont.at)
06:05.59*** join/#htc-linux rob_w (n=rob_w@p549b9f2c.dip0.t-ipconnect.de)
06:54.27*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
06:54.37goxboxlivegood morning
07:20.25*** join/#htc-linux cr2 (n=konversa@crpl22.physik.uni-wuppertal.de)
07:26.08*** join/#htc-linux WizMaui (n=WizMaui@62.112.90.250)
07:33.38*** join/#htc-linux WizMaui_ (n=WizMaui@62.112.90.250)
07:35.06*** join/#htc-linux BabelO (n=root@lun34-2-82-238-28-28.fbx.proxad.net)
07:35.15BabelOhi
07:36.05BabelOcr2: there is two missing file in cvs tree ( blueangel_power.c and tsc2200_adc_ssp.c )
07:38.29*** join/#htc-linux Tjikkun (n=tjikkun@82-204-54-115.dsl.bbeyond.nl)
07:47.39*** join/#htc-linux Fossi (n=cmewes@195.177.48.115)
07:58.51goxboxlivehi BabelO
07:59.41BabelOhi goxboxlive :)
07:59.54BabelOyou see log from this night
08:10.09*** join/#htc-linux pleemans (n=peter@d5152D19B.access.telenet.be)
08:33.06*** join/#htc-linux rob_w (n=rob_w@p549B9F2C.dip0.t-ipconnect.de)
08:39.13*** join/#htc-linux psokolovsky (n=psokolov@82.193.98.4)
08:40.20*** join/#htc-linux pleemans (n=peter@d5152D19B.access.telenet.be)
09:21.06goxboxliveBabelO: Yes i saw the log. It's good to have it updated. I'll update when i get hoe from work. b
09:21.13*** join/#htc-linux rob_w (n=rob_w@p549B9F2C.dip0.t-ipconnect.de)
09:21.52goxboxliveBut it is strange that my TS doesnt work when it works on cr2 universal. Maybe it has something to do with he is booting from NFS and i am running from a SD card.
09:22.00goxboxlivesouds weird though
10:02.31*** join/#htc-linux Raboliot (n=chatzill@LNeuilly-152-22-94-39.w193-251.abo.wanadoo.fr)
10:03.27RaboliotHello World !
10:33.08goxboxlivecr2: hi
10:34.43*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
11:07.43goxboxlivehow do i read privat msg
11:12.50goxboxlivecr2: The TS didnt work for Eyeofstorm either. I guess it must have something to do with you running from NFS and we run are running the images from SD.
12:11.58BabelOgoxboxlive: do you have i2c-tools package or ready installed images with this package ?
12:13.53*** join/#htc-linux cyrill62 (n=cyrill62@50.215.20.81.dynamic.adsl.abo.nordnet.fr)
12:18.00psokolovskyHi!
12:19.10psokolovskyBabelO: http://handhelds.org/~pfalcon/busyb/buildlogs/build_20070416_144008/Step23-5.html - what's this? another missed new file?
12:19.44psokolovskyor typo?
12:34.38cr2goxboxlive: i have my home on the notebook mounted over nfs, it has nothing to do with the universal.
12:34.38cr2psokolovsky: i've forgot to put these 2 files into CVS.
12:34.38cr2fixed now.
12:34.38psokolovskyok ;-)
12:43.15goxboxlivecr2: Then what is causing this.
12:44.15cr2goxboxlive: first you need to find out what is broken.
12:44.39goxboxliveyou said you tried out my zImage and the TS worked. Do we have diffrent machines?
12:44.51cr2what is your board id ?
12:45.01goxboxlivehow do i check?
12:45.04cr2i have t-mob mda pro
12:45.20goxboxliveEyeOfStorm didnt get the TS to wrk either
12:45.21cr2dump asic3
12:45.30goxboxlivei will when i get home
12:45.39cr2but i doubt it.
12:45.50cr2it's only related to the LCD.
12:45.55cr2as on hima and ba.
12:46.37cr2you have said that not only the ts but also the asic3-keys do not work ?
12:46.52goxboxlivethats trued
12:46.56goxboxlive-d
12:47.05goxboxliveevent2
12:47.07cr2then comment out the "switches"
12:47.41goxboxliveBut you had also event2 working right?
12:47.45cr2yes.
12:47.48goxboxlivei will
12:48.03goxboxliveand you are sure you ran hh7
12:48.56goxboxliveI was using the same opie.image as you, i treid with your zImage. nothing helped
12:49.31goxboxliveI have a sim card in my device, you dont. I try to remove that too
12:51.29cr2ok.
12:51.43cr2i've locked my sim card, and don't know where is the puk.
12:52.38goxboxlive:-)
12:53.27oxi__is it a good idea to mount /var in the sd card?
12:56.12cr2oxi__: it depends in it's size.
12:56.30cr2goxboxlive: happened some months ago :)
12:57.38cr2oxi__: given the price of sd cards, i don't care of them wiring out.
12:57.54cr2s/wiring/wearing/
13:01.40oxi__hm thanks
13:01.44cr2goxboxlive: i think i know what can be the problem.
13:06.25BabelOhttp://handhelds.org/~pfalcon/bu . gw280
13:06.27BabelO<PROTECTED>
13:06.34goxboxlive:-) what might be the problem?
13:07.05BabelOsorry :(
13:07.08BabelOhi cr2
13:07.40goxboxlivehi BabelO
13:08.06psokolovskyBabelO: missed files, cr2 already committed them. in half an hour new results should be ready.
13:09.55goxboxlivehow do i read privat messages. Ibiot tells me that i have a privat message
13:10.55BabelOpsokolovsky: ok so it is good ;) i think i found a bug with adc
13:11.11BabelO:(
13:11.34*** join/#htc-linux psokolovsky (n=psokolov@82.193.98.4)
13:12.23psokolovskyoops, sorry
13:12.25psokolovskyBabelO: what's it?
13:13.05BabelOpsokolovsky: got a problem when same chipset adc is used for both backup-battery and TS
13:13.07*** join/#htc-linux ljp (n=lpotter@203.94.178.46)
13:13.29psokolovskyBabelO: there shouldn't be any. all needed locking is there.
13:13.58BabelOpsokolovsky: when i start calibrate application, cursor move alone at same refresh rate than backup battery
13:14.16BabelOpsokolovsky: so maybe an interrupt problem
13:14.44psokolovskyyep, it could be some "leak" in adc driver
13:15.38cr2psokolovsky: how many devices use asic3-keys ?
13:16.01psokolovskycr2: I guess, all which have keys on asic3 ;-)
13:16.10BabelOpsokolovsky: and i also try to make a virtual led using API to merge two color
13:16.12cr25
13:16.49cr2can we change the platform_data layout and add KEY/SW modifier ?
13:18.49psokolovskycr2: sure, let's just follow gpio_keys changes, to be compatible with existing code
13:19.06cr2i'm not a big fan of SW, but don't want to rewrite the zaurusd.
13:19.14psokolovskyyeah
13:19.16cr2yes, that't what brought me to the idea.
13:20.43cr2btw, which ipaq has the luminosity sensor ?
13:25.03*** join/#htc-linux goxboxlive (n=goxboxli@206.80-202-161.nextgentel.com)
13:32.27goxboxlivecr2: What do you think causes the TS problem
13:32.33psokolovskycr2: hx4700 (binary), h5000 (adc) at least
13:34.23cr2psokolovsky: ok.
13:34.46psokolovskyh3900 also apparently has it
13:35.38cr2goxboxlive: i think that we may have set wrong logical levels on "switches", and it confused the asic3, so you don't get the ts irq too.
13:36.17goxboxlivecr2: Ok, but why is it working on your device and not mine and other peoples?
13:37.37cr2psokolovsky: is it AUTO_SENSE ?
13:37.56psokolovskycr2: ??
13:38.07cr2goxboxlive: different chips have different tolerances.
13:38.13goxboxliveok
13:38.27cr2psokolovsky: which code deals with the sensor ?
13:39.04cr2and how shout we tell opie about it ?
13:39.24psokolovskycr2: in hx4700, it appears to be hardwired in BL circuitry, and you can just turn sensor on or off, effect is hardcoded.
13:40.10psokolovskycr2: for h5000, adc classdev was introduced as one reason to be able to read sensor's values from userspace
13:40.28cr2ok, what about h3900 ?
13:41.35goxboxlivecr2: This is strange. I made a new kernel zImage, removed my SIM card and now TS is working
13:41.38goxboxlivewith hh7
13:42.06psokolovskycr2: nothing ;-) I just see whole in it, which is not LED ;-) I'd guess it'd be ADC too, on asic2, apparently.
13:42.34goxboxlivealso event2 is awake now
13:42.43psokolovskyI didn't hack on h3900 for some time now, next thing to do is to add ds2760_batt support for it
13:43.41cr2psokolovsky: on universal it's a gpio telling you if it's "day" of "night". so there is no standard way to deal with it...
13:43.52goxboxlivei'll try insert my sim card again
13:44.02cr2goxboxlive: i don't know how the sim card it dealt with.
13:44.03psokolovskycr2: make it switch too, I guess?
13:44.14psokolovskycr2: it cna generate IRQs, right?
13:44.20cr2i thought it was the responsibility of the MSM.
13:44.37cr2psokolovsky: it's an asic3 pin.
13:45.03psokolovskycr2: so yep, input switch should do it.
13:45.13cr2yes.
13:45.36cr2but there is no "standard" name for it.
13:46.59*** join/#htc-linux g3gg0_ (n=g3gg0@ppp-82-135-0-15.dynamic.mnet-online.de)
13:47.05goxboxlivenow it works with sim card too.
13:47.18psokolovskycr2: yep. use any you see fit. as you see, there're too little commonality in lightsensor HW anyway so far.
13:48.26elliswayweiord
13:48.41elliswayweird even
13:48.42cr2psokolovsky: ok.
13:49.02elliswayis there a image i can try to see if i get the same issues with the ts goxboxlive
13:49.51*** join/#htc-linux tudenbart (n=willi@xdsl-87-78-54-246.netcologne.de)
13:50.30goxboxliveellisway: http://www.gnulinux.biz/files/Universal/tmp/zImage
13:50.40goxboxliveit was compiled yesterday
13:51.03goxboxlivei am trying it out once again. The one i tested now was compiled 5 muntes ago
13:51.13elliswayk
13:51.22goxboxliveWell, now even that work
13:56.45elliswaydo i ned to download any modules for that zimage ?
13:57.48elliswayts works with sim in
13:59.11goxboxliveno you dont need any modules. Ok, so TS works for you too. Good to hear
13:59.59cr2goxboxlive: we need to do a gpio inventory. we don't treat some of them, and 1-2 are even unknown.
14:00.12goxboxlivecr2: I c
14:01.10cr2goxboxlive: does the phone work now ?
14:01.25cr2i mean voice calls.
14:01.48goxboxlivei am trying now, wait 2 sec
14:01.57cr2we also need to find somebody with the GSM data/FAX option to test it.
14:02.17cr2then comes GPRS and UMTS.
14:02.35goxboxlive:-)
14:03.23goxboxliveiti forgot to enable the mic i guess
14:03.32oxi__what are you testing phone on? blueangel? is it the same chipset for blueangel and universal?
14:04.55goxboxlivecr2: Yes the phone with mic works. Great. well i have to run, pick up my child in kindergarten. bbl
14:13.39oxi__http://wiki.xda-developers.com/index.php?pagename=HTC_GSM <-- I can't open that. It wants to download index.php all the time, using firefox
14:14.43elliswayi just get a blank page for that link but doesn`t ask me to download anything also using firefox
14:15.17oxi__hm thanks
14:22.02cr2oxi__: universal is UMTS with a qualcomm chip. ba is a GSM TI chipset.
14:22.23cr2oxi__: i have put a copy to handhelds.org
14:22.43oxi__thank you :)
14:23.29cr2http://www.handhelds.org/moin/moin.cgi/HTC_25GSM
14:25.31oxi__great
15:45.28oxi__I've succesfully compiled the kernel in my universal without crosscompiling. wohoo!!
15:55.54elliswayhow long did the compile take ?
15:55.58*** join/#htc-linux eremias (n=fdsfs@ACAE7E7F.ipt.aol.com)
15:56.55oxi__around 2 hours i think. I didn't use time command, because some things were failing at the beginning and then i forgot using it
15:58.42elliswaystill a long time to compile the kernel but well done
15:59.00oxi__yeah :)
15:59.12elliswayi had been wondering what sort of time it would take
15:59.32oxi__can i tell haret to boot from a zImage in an ext3 partition?
15:59.41elliswayalso because i have access to a couple of universals the other thing i had been thinking about was somthing like distcc
15:59.59oxi__I'll compile it again with "time"
16:00.01elliswaynot atm afaik
16:00.19oxi__thanks :)
16:00.58elliswayharet needs code to read ext2/3
16:02.07elliswayi might have to have a go at compiling a copy of apache for the universal l8r on
16:02.32oxi__:)
16:03.13ellisway1 of the things i want to do with my uni is turn it into a wifi ap to 3g gateway
16:04.15elliswaybut thats a fair way in the future yet
16:08.38oxi__oO
16:13.45cr2ellisway: isn't it already in oe ?
16:14.28cr2./packages/apache/apache_2.0.54.bb
16:23.41*** join/#htc-linux goxboxlive (n=goxboxli@206.80-202-161.nextgentel.com)
16:24.59elliswayi have some customized modules for apache but all based on apache 1.3
16:25.33*** join/#htc-linux cyrill62 (n=cyrill62@50.215.20.81.dynamic.adsl.abo.nordnet.fr)
16:39.53oxi__ahem, I compiled the one where TS isnt working xD
16:40.18oxi__i'm going to co, "make clean" and recompile with "time"
16:44.58oxi__cvs checkout is supposed to update, right? or does it even overwrite files not updated?
16:45.48elliswayif a file is the same it should just skip past it
16:46.05oxi__ok thanks :)
16:49.06goxboxlivecr2: It has to be as you are saying. Now i build a new opie-image with latest kernel source and now the touchscreen didnt work again.
16:50.24oxi__? but the one in cvs works, right?
16:52.13goxboxlivecr2: Now i tried to boot without the power/usb cable attached and now the TS worked.
16:52.53elliswayhmm
16:53.00elliswayi didn`t try that b4
16:53.28elliswaygoxboxlive should i try booting my handset with power pluged in to see if te touchscreen works
16:53.49*** join/#htc-linux rob_w (n=bob@p85.212.3.69.tisdip.tiscali.de)
16:54.03goxboxliveyes do that
16:54.27elliswaylast boot i done with the kernel from the link u pasted i done with out power/usb pluged in
16:54.41goxboxliveright
16:54.53goxboxlivetry with power cable attached
16:55.11goxboxlivei'll do the same again
16:57.24goxboxlivehmm mine worked now with power cable attached.
16:58.35elliswayts working with mains power attached
16:59.04elliswaygonna reboot and try with usb attached rather than mains
17:04.44elliswayts working with usb connected
17:05.16goxboxliveok same here
17:06.25elliswayhmm is all the battery stuff up2date ?
17:06.57elliswaythe battery icon in th custom opie image shows nothing
17:07.19elliswayremaining power 0%
17:07.30elliswayexternal power disconnected
17:07.44goxboxlivei know. There is a new power driver.
17:07.57goxboxliveARe you using the zImage i provided?
17:08.15elliswaythe hh7 1 u linked me to earlier on
17:08.39goxboxliveok, then you have phone support and are able to do phonecalls (with working mic)
17:08.51goxboxliveyou just have to enable the mic
17:09.20goxboxliveHave you tried it?
17:11.28elliswayhavn`t tried making a call with the mic enabled yet
17:11.36goxboxliveok
17:11.45elliswaywhat do i do to enable te mic
17:12.04goxboxliveopen alsamixer and enable the mic withthe "m" key
17:12.16goxboxlivehit escape to exit
17:12.34elliswayk so open the mixer then press m
17:12.58goxboxliveyou have to highlight the phone_mi
17:13.33elliswayhmm
17:13.39elliswayk i`m doing somting wrong
17:13.58elliswayfrom the console i do alsamixer ?
17:14.01goxboxliveyou have to run alsamixer formconsole
17:14.09goxboxliveyes
17:14.41elliswayb4 or after starting openmoko-messages/dialer
17:15.12goxboxlivebefore. You dont have start openmoko-messages anymore. just add -s after openmoko-dialer
17:16.26elliswayhmm
17:16.30elliswaygetting a error
17:16.53goxboxliveok, it's beacsue you miss some modules. I forgot that
17:17.08elliswayalsamixer; function snd_ctrl_open failed
17:17.19elliswayk np
17:17.24goxboxlivebbl
17:17.32elliswayi`ll wait till u get a chance to update the images
18:02.29*** join/#htc-linux asylumed (n=insanity@vc-196-207-41-253.3g.vodacom.co.za)
18:02.32cr2asylumed: hi
18:06.17*** join/#htc-linux BabelO (n=kvirc@lun34-2-82-238-28-28.fbx.proxad.net)
18:09.40BabelOhi asylumed :)
18:09.57asylumedBabelO: heya
18:13.45*** join/#htc-linux goxboxlive (n=goxboxli@206.80-202-161.nextgentel.com)
18:15.23cr2hi BabelO
18:15.32cr2what are we going to break today :)
18:16.43BabelOhi cr2 :)
18:16.51BabelOno break, only rewrite :)
18:16.56cr2:)
18:17.05*** join/#htc-linux _law_ (n=_law_@213.173.86.202)
18:17.05BabelOasylumed: do you habe boardid 6 ?
18:17.22*** join/#htc-linux goxboxlive (n=goxboxli@206.80-202-161.nextgentel.com)
18:17.28asylumedBabelO: yip yip
18:17.30BabelOi extract some code from blueangel.c like you ion universal
18:17.34asylumedBabelO: what's up?
18:17.39BabelOasylumed: it is for cr2 test :)
18:17.51asylumedBabelO: anytime
18:18.02cr2yes. we want to have the same code structure on all phones.
18:18.40BabelOcr2: How can we solve resume LCD issue on BA ?
18:19.07cr2BabelO: i'll check the gpios into the code. also for 0x6.
18:19.26cr2but i can't solve the _pre, _post issue.
18:19.36cr2it's linked to the w100fb.
18:21.09goxboxliveanyone know how i read a private message here in irc?
18:21.17goxboxliveit's form ibot
18:22.48cr2botmail read
18:23.14BabelOcr2: do you remember difference between PRE_STARTUP and POST_STARTUP in PAX_UART case
18:24.57cr2no, but it probably does not matter.
18:25.50BabelOok, on ba it is pre_startup and on uni it is post_startup
18:26.13cr2do something :)
18:26.30asylumedcr2: should we do initialization of hardware there? since on suspend it shuts them down... :/
18:27.24cr2let's do it this way now.
18:27.32asylumedcr2: sure...
18:27.35cr2then we can decide how to do it properly.
18:27.46cr2on all our devices.
18:28.27cr2there are still many unresearched gpios on blueangel.
18:29.19oxi__how do I recompile the whole kernel? make clean or make mrproper aren't deleting everything
18:29.46*** join/#htc-linux amelie (n=amelie@lns-bzn-50f-81-56-205-158.adsl.proxad.net)
18:30.11cr2oxi__: are you crosscompiling ?
18:30.22oxi__no
18:30.51ameliehello all !
18:30.59cr2then make clean should work.
18:31.08cr2hi amelie
18:31.09oxi__:S
18:31.16oxi__hi amelie
18:32.56oxi__cr2, but after make clean, I do make and it doesn't recompile all stuff, it just takes 7mins and the first time it took around 2h. Also make clean complains:
18:33.09oxi__scripts/Makefile.clean:17: /usr/src/cvs/linux/kernel26/arch/arm/fastfpe/Makefile: No such file or directory
18:33.09oxi__make[1]: *** No rule to make target `/usr/src/cvs/linux/kernel26/arch/arm/fastfpe/Makefile'.  Stop.
18:33.17amelieI try to run linux on my  magician
18:33.39cr2oxi__: it's probably some old bug
18:33.45ameliea follow the readme but it does boot
18:34.10ameliedoesn't sorry
18:34.11cr2amelie: where is your zimage/whatever comes from ?
18:34.22*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
18:34.44ameliettp://linuxtogo.org/~ph5/magician/
18:35.11cr2ok, so what's the problem
18:35.12amelieevery thing on a 1GB sd card
18:35.33ameliewhen I click run nothing happen
18:35.38cr2partions ?
18:35.41ameliein harent
18:35.51amelieharet sorry
18:36.00cr2how is you card partitioned.
18:36.56amelie10M fat16 and remaning ext2
18:37.08cr2ok.
18:37.11*** join/#htc-linux asylumed (n=insanity@vc-196-207-41-253.3g.vodacom.co.za)
18:37.35cr2you put haret, default.txt and zImage on the first partiton ?
18:37.37amelieI bunziped the gpe image
18:37.47amelieyes
18:38.15cr2which one ?
18:38.27cr2<PROTECTED>
18:38.37amelieno GPE
18:38.51cr2from january ?
18:38.58amelieyes
18:39.20cr2hm. ok.
18:39.24cr2which zimage ?
18:39.56ameliethe 2.6.19 one
18:40.08cr2<PROTECTED>
18:40.15cr2renamed it zImage
18:40.27amelieIt's what I did
18:40.31cr2ok.
18:40.35cr2start haret
18:40.42amelieok
18:40.44cr2press the "run" button.
18:41.14amelienothing except "boot MTYPE=875"
18:41.35amelieDetected CPU family: PXA2xx
18:41.42ameliejust before
18:41.43cr2"nothing" means it crashed ?
18:42.01amelieno
18:42.12ameliewhen I press nothing happen
18:42.25goxboxliveamealie: Did you rename it wince with micrsoft file manager? It might be that the extension is hiding. Try rename the zImage where all the text are viewable.
18:42.39cr2can you telnet to this machine ?
18:42.57amelieYes I get the proble
18:43.13cr2goxboxlive: this is exactly the case why we need one bootlinux.exe file.
18:43.14ameliebut I renamed the image with linux
18:43.42goxboxlivecr2: I agree.
18:43.50cr2amelie: most likely haret did not find zImage.
18:44.03goxboxlivesounds like that
18:44.09cr2rename it to something more simple.
18:44.13cr2like "z"
18:44.23cr2and edit the line in default.txt
18:44.29cr2set KERNEL z
18:45.08goxboxlivecr2: I tried out once again a new image (openmoko distro, doesnt mather anyway) and now my touchscreen didnt work again.
18:45.46cr2goxboxlive: is it only the touchscreen, or asic3-keys too ?
18:45.50goxboxliveWe realy need to fix this. We cant have it that way. Do you have a clue how to fix it?
18:46.11goxboxliveI'll reboot and see. I guess it was asic3-keys also. didnt check. hold on i'llboot
18:46.21cr2why do you need to reboot.
18:46.38cr2compile the ts driver and asic3-keys as modules.
18:46.38goxboxliveI had allready shut it off
18:46.43cr2ok.
18:47.06cr2add printk's to the ts driver at different places.
18:47.24cr2check if the ts irq count increases when you touch the screen.
18:47.34amelieI did what you say
18:47.51cr2there are many things you can check, but i can't help you.
18:48.08cr2because here everything works, and there is not way to debug ...
18:48.19cr2amelie: does it boot now ?
18:48.26amelieno
18:48.40amelie:(
18:48.42goxboxliveok
18:48.45cr2can you telnet to this machine ?
18:48.59ameliesorry ?
18:49.01cr2over usb i guess,
18:49.07cr2since there is no wifi.
18:49.11amelieI never tried in fact ...
18:49.21cr2do you have another machine ?
18:49.54amelieComputer or PDA ?
18:50.11cr2amelie: do another thing first.
18:50.17amelieok
18:50.22cr2get haret from Kevin's site.
18:50.46cr2handhelds.org/~koconnor/haret
18:50.48cr2i think
18:51.02amelieI use the gnuharet-200609162320.exe
18:51.07ameliethe old one
18:51.16cr2maybe it's too old.
18:51.22amelieas said in the howto
18:51.24cr2or this one
18:51.40cr2http://jornada820.sf.net/files/haret
18:53.54amelieok
18:53.59amelieI copy
18:54.52ameliesame thing
18:55.10amelieboot MTYPE=875
18:55.22amelienot enough ram perhaps ?
18:55.57cr2http://handhelds.org/~koconnor/haret
18:56.03cr2have you tried this ?
18:56.17amelienot yet :)
18:56.36cr2for me it looks like the zimage file is not found.
18:56.37amelieshoud I  use the latest ?
18:56.40cr2yes.
19:00.43ameliebooting :)
19:00.52amelieI redownload the image
19:01.07amelieand use your haret
19:02.50BabelOcr2: i don t know what can i write in phone.c :(
19:03.57cr2BabelO: there are many phone-related gpios.
19:04.11cr2the gsm wakeup irq for example.
19:04.20cr2take it out from _suspend.c
19:04.49BabelOcr2: ok cr2 i do that :)
19:06.25amelieIs there a plan to do a rom  for the magician ?
19:06.54BabelOcr2: i have time so i put  led driver for bt and phone too ;)
19:07.02cr2amelie: it should be possible.
19:07.26amelieI just can't wait to kick this fucking windows 2003 of chit
19:07.35amelieshit sorrt
19:07.40cr2but risky business.
19:08.04amelielol yes
19:08.07cr2pH5 will appear some time. i hope :)
19:09.01amelieDo you know a pda phone with GSM EDGE UMTS GPS ?
19:09.46amelieand wifi too
19:10.10ameliesorry with linux
19:10.34WhackoiPhone will have edge :P
19:13.03WhackoHTC X7500 has GSM UMTS and GPS tho
19:13.22goxboxlivecr2: How do i create a printk line. What does it look like
19:14.46amelie<PROTECTED>
19:15.17amelieIphone don't have GPS nor UMTS
19:15.31Whackoyeah only has edge
19:15.55Whackobut iPhone v2 is rumored to be released early 2008 WITH umts :p
19:16.06Whackotho nothing is know about gps :P
19:17.05goxboxlivei think i found it
19:17.44cr2Whacko: do you have athena ?
19:21.09ameliethe Neo1973 V2
19:21.12Whackono only a magician
19:21.24goxboxliveNo, it failed compiling. I have no idea how to write "printk".
19:21.31ameliewill have probably wifi no ?
19:23.22cr2goxboxlive: printk("i was here\n");
19:24.29goxboxlivecr2: ok, but what should be between the ()
19:25.12cr2it does not matter. something.
19:26.09*** join/#htc-linux cyrill62 (n=cyrill62@174.223.20.81.dynamic.adsl.abo.nordnet.fr)
19:26.39goxboxlivebut how will that help you debugging. if i write a printk like this: printk(" I dont know how to do this/n"); How will that help you debugging?
19:27.01goxboxliveWhat valueable can you find out  of it?
19:27.17*** join/#htc-linux WizMaui (n=WizMaui@62.112.90.250)
19:36.53goxboxlivecr2: seems like g_ether can be compiled in to the kernel now
19:37.01goxboxliveone modules down :-)
19:37.48goxboxlivecould this be a bug: <4>asic3_irq_demux: interrupt processing overrun
19:38.11BabelOhi hi got the same for me on ba
19:38.59goxboxlivewhy is the TS driver at :
19:39.01goxboxlive<5>HTC Universal Touch Screen Driver
19:39.01goxboxlive<4>htcuniversal: ts_probe
19:39.01goxboxlive<6>input: htcuniversal_ts as /class/input/input3
19:39.08goxboxliveit should be at inout0
19:39.20goxboxlives/inout/input/
19:44.11goxboxliveThis is not good (AFAIK) :
19:44.12goxboxlive<3>IRQ handler type mismatch for IRQ 171
19:44.13goxboxlive<3>current handler: screen_cover
19:44.13goxboxlive<4>asic3_get_gpio_bit(11)
19:44.13goxboxlive<3>IRQ handler type mismatch for IRQ 181
19:44.13goxboxlive<3>current handler: clamshell_rotate
19:45.14goxboxliveBabelO: I hate to do one step forward and two step back.
19:48.31BabelOgoxboxlive: i have sameproblem on BA with processing overrun, but i think cr2solve this quickly, on BA asylumed search for a long time, and we have always this issue
19:51.15goxboxliveright
19:53.58cr2goxboxlive: comment out the switches. they do no good anyway.
19:54.13cr2the touchscreen can be anywhere.
19:54.42goxboxliveok, cr2: take a look here: This is after modprbe asic2_keys:
19:54.50cr2you should not hardcode it's number, because it depends on the module load sequence.
19:55.43goxboxliveright. But cr2, i think you should comment it out in the kernel source
19:55.57goxboxliveso others also are able to build their own kernel
19:56.12goxboxlivehttp://pastebin.ca/443403
19:57.04goxboxliveand this is when i remove the asic3_keys: http://pastebin.ca/443404
19:57.52goxboxliveBut, the TS didnt even work even though i didnt modprbe the asic3_keys
19:59.06cr2ok, but it seems to be a bigger problem than just the switches.
19:59.09goxboxliveyes i know about the hardcoding. I liked the way udev are makeking us a toucshcreen0. Should have had that for keyboard too
19:59.17cr2does the ts irq count increase ?
19:59.24goxboxliveright
20:00.06goxboxlivehold on i'll check
20:00.11goxboxlivecr2: no they stay the same
20:01.13cr2ok.
20:01.23cr2so it's the asic3 problem.
20:01.29goxboxliveok
20:01.36goxboxlivedo we have a solution?
20:03.19cr2have you commented out the switches ?
20:03.31cr2i#ve committed it into CVS
20:04.05goxboxlivegood, then i'll try again. Seems like g_ether can be compiled in to the zImage now.
20:08.32goxboxlivecr2: Yes the TS worked now
20:08.33cr2heh. found a bug.
20:08.38goxboxlivegood
20:08.41*** join/#htc-linux jn (n=chatzill@p549A83D7.dip0.t-ipconnect.de)
20:08.57cr2#define GPIOB_EARPHONE_N                 9      /* Input  */
20:08.57cr2#define GPIOB_MICRECORD_N                9      /* Input  */
20:16.38goxboxlivedid you also do something to acx?
20:18.43*** join/#htc-linux asylumed (n=insanity@vc-196-207-41-253.3g.vodacom.co.za)
20:24.25cr2no.
20:24.32cr2but it has buggy code too.
20:25.23goxboxlive:-)
20:25.52goxboxlivewhen i compiled with the new updates it made also the htcuniversal_acx module that's why i aksed
20:33.43cr2because i've modified the htcuniversal-asic.h
20:36.52*** part/#htc-linux WizMaui (n=WizMaui@62.112.90.250)
20:37.04goxboxliveright
21:08.31amelieGood bye ! Thanks for your help !
21:18.16cr2psokolovsky: <4>start_kernel(): bug: interrupts were enabled early
21:23.15psokolovskycr2: yeah, we've been having this since the beginning of times ;-)
21:25.47cr2the switches are working for me on universal. but opie is a buggy piece of shit ;)
21:26.02psokolovsky;-)
21:30.34cr2camera is probably not a high priority.
21:31.01cr2although the code runs on a780.
21:58.39*** join/#htc-linux g3gg0__ (n=g3gg0@ppp-82-135-5-10.dynamic.mnet-online.de)
22:31.28*** part/#htc-linux _law_ (n=_law_@213.173.86.202)
22:47.17*** join/#htc-linux ljp (n=lpotter@203.94.178.46)

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