IRC log for #htc-linux on 20070523

00:05.43Kevin2cr2: Still here?  What is the problem you're having with init?  Do you have initrd enabled in your kernel config?
01:23.28*** join/#htc-linux TripleDES (n=sergio@255.pool85-50-131.dynamic.orange.es)
01:29.24*** join/#htc-linux ellisway (n=ellis@host-87-74-241-174.bulldogdsl.com)
04:55.29*** join/#htc-linux psokolovsky (n=psokolov@82.193.98.15)
04:59.44*** join/#htc-linux sadeness_ (n=LamersIn@nat1.rlan.ru)
05:28.13*** join/#htc-linux _law_ (n=law@mail.stiftadmont.at)
05:40.27*** join/#htc-linux rob_w (n=bob@p85.212.73.155.tisdip.tiscali.de)
06:32.24*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
06:37.10*** join/#htc-linux JuNuKN (n=chatzill@p549AA156.dip0.t-ipconnect.de)
06:42.53*** join/#htc-linux shad0wss (n=shad0w@dsl-243-198-139.telkomadsl.co.za)
06:51.14*** join/#htc-linux rob_w (n=bob@p85.212.73.155.tisdip.tiscali.de)
07:25.25*** join/#htc-linux shad0wss (n=shad0w@mtngprs4.mtn.co.za)
07:45.59*** join/#htc-linux BabelO (n=Miranda@faim1.itesoft.com)
07:50.52*** join/#htc-linux pleemans (n=peter@d5152D19B.access.telenet.be)
08:12.12*** join/#htc-linux shad0ws (n=shad0w@dsl-243-198-139.telkomadsl.co.za)
08:29.15Foxdiemorning
09:06.05*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
09:06.17goxboxlivehi
09:08.35*** join/#htc-linux BabelO (n=Miranda@faim1.itesoft.com)
09:10.08*** part/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
09:11.05goxboxliveBabelO: Check gmail
09:11.59BabelOgoxboxlive : hi, i ve notification of incoming mail on my windows desktop ;)
09:12.32*** join/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
09:13.18goxboxlive:-) good, me too
09:13.57BabelOyes cr2 already see it few days ago ;)
09:14.16goxboxliveHave you joned it?
09:14.23BabelOgoxboxlive : did you test all USB gadget on Universal ?
09:14.27goxboxliveI think you and tsdogs should
09:14.37goxboxlivebabelO: No i havent
09:15.34goxboxliveI hate winxp. "you have to restart your computer. Otherwise we will in 5 min"
09:15.38BabelOthere is some gadget like midi sound card
09:16.12BabelOgoxboxlive : i have XP too , but i m testing my code into a virtual machine :)
09:16.52BabelOi play a litle with kismet yesturday evening, it works with acx100
09:17.00goxboxlivegood
09:17.11goxboxliveis acx stable on BA?
09:17.25goxboxliveor does it disconnect when you load it heavely?
09:20.30goxboxliveI have domne something stupid i guss. I have extracted the qtopia-4.2.2 to my Opie source.
09:20.37goxboxliveI think it will break though.
09:20.38BabelOgoxboxlive : it seem to work well, i play with it all the evening and connected over ssh downloading ipkg
09:20.54goxboxliveok on universal it is unstable
09:21.20goxboxliveworks ok with ssh, but when i do ipkg or websurfing it failes
09:24.01BabelOgoxboxlive : with ipkg it is ok and web too, but with mini web browser, i have some trouble, it segfault alone :(
09:24.13BabelOwhen i enter a new website
09:28.13BabelOgoxboxlive: so you have a fresh qtopia 4.2.2 source tree
09:31.03*** join/#htc-linux cr2 (n=konversa@crpl22.physik.uni-wuppertal.de)
09:33.52goxboxlivebabelO: I also have that yes
09:34.25goxboxliveBut it failes when i have merged it with opie cvs
09:42.32goxboxlivehmm i am back in bussinies
09:42.41goxboxliveor however it writes
09:52.18BabelOgoxboxlive : write on first line in a word document without spaces this :
09:52.26BabelO=rand(100,1)
09:52.41BabelOMicrosoft keep their test... beurk !
09:53.27BabelOit is specially for tsdogs :)
10:02.47*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196) [NETSPLIT VICTIM]
10:02.47*** join/#htc-linux pleemans (n=peter@d5152D19B.access.telenet.be)
10:02.48*** join/#htc-linux TripleDES (n=sergio@255.pool85-50-131.dynamic.orange.es) [NETSPLIT VICTIM]
10:02.48*** join/#htc-linux par (i=par@dipole.idlepattern.com)
10:02.48*** join/#htc-linux Shoragan (n=shoragan@datenfreihafen.org)
10:02.48*** join/#htc-linux Funklord (n=cow@c-d4d572d5.014-46-73746f28.cust.bredbandsbolaget.se) [NETSPLIT VICTIM]
10:02.48*** join/#htc-linux pof (n=pof@192.red-62-57-228.user.auna.net) [NETSPLIT VICTIM]
10:02.48*** join/#htc-linux thinko (n=jdoe6alp@smaug.rackdragon.com) [NETSPLIT VICTIM]
10:08.49goxboxlivecr2: There?
10:08.54goxboxliveor here or whatever?
10:09.27goxboxliveBabelO: I thnk also you should register htcphone at the contest.
10:10.03BabelOit is before june 29
10:13.56BabelOreally short
10:35.48*** join/#htc-linux shad0ws (n=shad0w@mtngprs4.mtn.co.za)
10:36.01goxboxliveso what you have dome a lot allready.
10:43.32*** join/#htc-linux pH5 (n=ph5@234-21.3-85.cust.bluewin.ch)
10:54.22*** join/#htc-linux tsdogs (n=twostupi@84.18.144.39)
10:57.13Kevin2Hi pH5.
10:58.04pH5hi Kevin2
10:58.58Kevin2Are you planning on doing any further work on a generic htc cpld driver?  If not, I may try this weekend.
11:02.56pH5Kevin2: yes I was planning that, but I'm a bit slow, currently. I also won't find any time this weekend, so go ahead as you like.
11:20.21*** join/#htc-linux sadeness_ (n=LamersIn@nat2.rlan.ru)
11:23.56*** join/#htc-linux Shoragan (n=shoragan@datenfreihafen.org)
12:20.13TBBleBeh
12:20.15TBBleOops
12:22.39sadenessbeb pop a lula :D
12:56.23mndctrlhi guys ;) what is the word on the street regarding the shift and linux?
13:52.35*** join/#htc-linux pH5 (n=ph5@234-21.3-85.cust.bluewin.ch)
14:45.35*** part/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk)
15:08.39*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
15:47.08*** join/#htc-linux tsdogs_ (n=twostupi@84.18.144.39)
16:42.26goxboxlivehi
16:48.16*** join/#htc-linux rmoravcik (n=rmoravci@adsl-d181.84-47-56.t-com.sk)
16:50.11*** join/#htc-linux Whacko (n=Whacko@s5593e8a2.adsl.wanadoo.nl)
16:52.18goxboxlivetsdogs: How is it going with zroadmap?
16:52.59tsdogshave managed to have menus and buttons working with QT4 (and hope will work with Qtopia too)
16:53.18goxboxlivecool
16:53.29goxboxliveHave you signed in for the contest?
16:53.43tsdogsnope. which one ?
16:54.26goxboxlivethe one i mailed you about today
16:54.29tsdogsNeed to port the dialog.
16:54.53goxboxliveI think you shpuld join
16:54.59tsdogsAlso was thinking about restructuring the layout more like others do
16:55.12goxboxliveBabelO also for adding htcphone and gnuphone
16:55.56tsdogsok, but where to sign in, which contest?
16:57.15goxboxlivecheck your mail. i sent you one earlier today
16:57.45*** join/#htc-linux TeringTuby (n=maarten@162-117-dyn.ipact.nl)
16:57.51tsdogsok
17:00.00goxboxlivehttp://trolltech.com/developer/tt/gpdevchallenge
17:02.01*** join/#htc-linux bd2 (n=cbou@89.113.85.104)
17:02.24tsdogsI think I should sign in for this one, right? Best improvement/rework of one of the Qtopia applications
17:07.36tsdogsgoxboxlive: what do I put as Company/Affiliation Xanadux?
17:10.54*** join/#htc-linux scorpio16v (n=scorpio1@ACB29710.ipt.aol.com)
17:11.13goxboxlivetsdogs: i am not in the contest. I havent done anything ith htcphone. That's babelO's work.
17:11.22goxboxliveYes set Xanadux, that's cool
17:11.49*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
17:12.16tsdogsok joined, let's see if accepted
17:12.38goxboxlivegood
17:19.01*** join/#htc-linux JuNuKN (n=chatzill@p549A9BB4.dip0.t-ipconnect.de)
17:21.22*** join/#htc-linux JuNu_KN (n=JuNuKN@p549A9BB4.dip0.t-ipconnect.de)
17:22.16*** join/#htc-linux warriorforgod (n=warriorf@ip68-13-106-91.om.om.cox.net)
17:24.21*** join/#htc-linux RoEn_PC (n=roen@p54a647c7.dip.t-dialin.net)
17:28.22cr2goxboxlive: "Best open source application" for the opie2 phone is fun (and pun).
17:30.05cr2i have read the rules in detail, and it's unlikely that roadmap fits there. unfortunately.
17:31.17cr2f)        By submitting your application to this site, you represent that you have the full rights to upload your content and that uploading your content to this site will not violate or infringe the rights of any third person, including but not limited to, rights in copyrights, patents, trademarks, trade secrets or other proprietary rights.
17:31.32cr2this is an incredibly stupid requirement.
17:33.55tsdogsyes, I think so.
17:35.38cr2tsdogs: i guess they actually have different intent, but let's see :)
17:35.51tsdogs:)
17:37.32cr2imho, the phone program and a qt4 route planner are the most important and valueable programs.
17:38.11cr2so we need to work in this direction anyway, and many things are already done.
17:38.28tsdogsI agree, pda stuff is less important.
17:39.05cr2are the pdas still in production ?
17:39.32tsdogs:) cr2: I have this 3 lines of code which seem to make roadmap go crazy...
17:39.33tsdogs<PROTECTED>
17:39.33tsdogs<PROTECTED>
17:39.33tsdogs<PROTECTED>
17:39.45tsdogsit does a fork before.
17:40.19cr2what is name/argv ?
17:40.32tsdogslooking for flite
17:40.41cr2i think ERROR is a messagebox() ?
17:40.45tsdogsargv no idea. let me check
17:41.31cr2it was writing to the stderr before, but i'm not sure about the latest versions.
17:41.50tsdogsit's trying to run flite with -t "MESSAGE"
17:42.05cr2the roadmap_log() segfaults sometimes on the null pointers.
17:42.31cr2well, link flite to /bin/true
17:42.37tsdogsok
17:42.49cr2let's clean the gui first.
17:42.52tsdogsbut is there a way to not make if fail if flite is not installed?
17:43.13tsdogsIf I click on the map, it goes crazy that was why debugging.
17:43.25tsdogsok
17:43.50*** join/#htc-linux field^Mo1 (i=radtkens@marvin.informatik.uni-stuttgart.de)
17:44.24cr2run some test to check if flite is there.
17:44.34cr2but i think it's a different issue.
17:44.41tsdogsof course not, haven't installed it yet
17:45.06cr2i think it's some NULL pointer bug in roadmap_log()
17:45.44cr2i've actually never run roadmap with flite :)
17:46.03tsdogscould be the exact output is this though... http://www.pastebin.ca/505650
17:46.28tsdogss/be/be./
17:47.01cr2ok, if the ROADMAP_ERROR a messagebox() ?
17:47.22cr2i think it is on wince.
17:47.25tsdogsit is.
17:47.42cr2ok, then something is buggy there.
17:47.54tsdogsyes, I'll try finding this out.
17:48.03cr2ok.
17:48.13cr2compare it to gtk2
17:49.29cr2it sends some events to a nonexistant window it seems.
17:50.43cr2the missing flite can't be an ERROR source, it's something else.
17:56.15tsdogsok, it is roadmap_log ... maybe some qt issue.
17:56.37cr2tsdogs: is it possible to do something like getline() on a string with unknown length in qt ?
17:57.18tsdogscr2: no idea, but I think so. you mean to the end of the line ?
17:57.30cr2i dislike libstdc++, and would like to do it either in C or qt.
17:57.47cr2yes, read in the line to an end, and then do split()
17:58.03tsdogscr2: I'm not a Qt developer :)
17:58.05cr2i do it in awk right now, very comfortable.
17:58.08cr2:)
17:59.10cr2we will need it to convert the vector maps into roadmap format.
17:59.43cr2hm. some basic preprocessing with awk may be an option.
17:59.44tsdogshttp://doc.trolltech.com/qtopia4.2/qiodevice.html#readLine
18:00.15cr2i just don't want to do everything in awk, it's inefficient and not really designed as c/c++ replacement.
18:00.31cr2yes, qint64 maxSize
18:00.39cr2that's what i dislike.
18:00.48tsdogsho. ok
18:01.02*** join/#htc-linux pH5 (n=ph5@234-21.3-85.cust.bluewin.ch)
18:01.03cr2because i don't know the length.
18:01.08goxboxlivetsdog: Where is your patch for itemcontrol. (i am at work so i dont have the link)¨
18:02.21*** join/#htc-linux field^Mop (i=radtkens@marvin.informatik.uni-stuttgart.de)
18:03.10tsdogsgoxboxlive: http://84.18.144.44/tsdogs/opieII/
18:03.23*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
18:06.53BabelOhi
18:07.36tsdogscr2: I think that maxSize = 0 means no dimension... http://doc.trolltech.com/qtopia4.2/qtextstream.html#readLine
18:08.27cr2BabelO: you should submit the opie2 phone app to the greenphone contest :)
18:08.37cr2tsdogs: good point, i'll try.
18:08.38tsdogshi BabelO
18:09.55cr2BabelO: i think you fit even into their obscure requirements, but it's extremely politically incorrect at the same time :)
18:10.09BabelOcr2: you think ? not really interesting, because i take lot of file from standard qtopia that are activated only if using phone binary
18:11.04cr2BabelO: it's a perfect "original opie program enhancement". don't you think ?
18:11.15cr2s/opie/qtopia/
18:11.31BabelOwith an external modified library too, not so original ;)
18:12.27*** join/#htc-linux scorpio16v (n=scorpio1@ACB29710.ipt.aol.com)
18:12.30cr2it's for the phase 2, to replace gnokii with a real htc at command parser library. like RIL.
18:12.54BabelOwe can try but i don't now if june 29, it will be terminated :(
18:15.28BabelOcr2: can you explain me something about generic kernel module for WPA and WPA-PSK ? how can we use it ?
18:15.59cr2it's only the application.
18:16.02cr2e)       At the final application submission by September 17, 2007, the developer must make a final designation whether the application submitted is licensed as open source or commercial software
18:16.34cr2don't know about WPA, sorry.
18:16.41BabelOtsdogs: can you remember which SoftMenuBar cause issue ?
18:17.03tsdogsho gosh, I think it was the last one.
18:17.16BabelOwith "Call" ?
18:17.25tsdogsI have backlogs wait
18:19.00tsdogsQMenu *menu = QSoftMenuBar::menuFor( display );
18:19.04BabelOcr2: WEP is really unsecure :( lot of WPA too
18:20.55BabelOtsdogs: thx
18:20.55tsdogsBabelO: display was not inittialized
18:20.56BabelOok
18:21.15BabelOyes i remember why now
18:22.37cr2BabelO: if you want security don't use wifi, or do it properly. ssh tunnel or vpn.
18:23.32cr2is it done in software or hardware on acx100 ?
18:23.35BabelOcr2: yes, i test today with BA, and can connect to lot of AP at my work :)
18:23.52BabelOcr2: don't know, never look in it
18:24.48cr2i suspect it has something to do with the hardware. then it will be tough.
18:26.51BabelOdid you see htcblueangel_static_defconfig ?
18:26.53BabelOi think i have doing something wrong with flash in module
18:27.16cr2it's not really written the way it should anyway.
18:27.35BabelOi set same modules as for magician :(
18:27.57cr2do you separate the bootloader (first 256K)
18:28.16BabelOsame thing as magician
18:28.24cr2that's the only place where you can brick the device.
18:28.39cr2if you'll write to the first 4 64K segs.
18:28.54cr2everything else is relatively harmless.
18:29.45BabelOok
18:30.55goxboxliveBabelO: Lats time i checked wpa_supplicant didnt support acx
18:31.07goxboxlivei guess it still doesnt do that
18:31.45BabelOanother thing wrong on ba is acx module, when i unmodprobe acx.... acx continue to drive lot of power around 250mA
18:32.59goxboxlivewell time to go home. bbl.
18:39.11cr2BabelO: even when the power gpios are disabled ?
18:39.54BabelOit is a test i need to do, add a trace do gpio power down
18:40.36BabelOcode seem to be like other devices
18:41.47BabelOit is already here ;)
18:49.00tsdogsbbl
18:55.04*** join/#htc-linux goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com)
18:57.26*** join/#htc-linux WizMaui (n=WizMaui@62.112.90.250)
19:00.52goxboxlivewhy is htcuniversal_phone compiled as a module in when using htcuniversal_static_defconfig?
19:02.13goxboxliveusbcore is also missing
19:02.57goxboxliveochi-hcd is missing
19:03.02goxboxliveusb_serial
19:11.09*** part/#htc-linux scorpio16v (n=scorpio1@ACB29710.ipt.aol.com)
19:14.01*** join/#htc-linux akke (n=akke@88.82.38.195)
19:15.52akkei have a hw6915 .. Just wondering if the linux port would be usable on this phone?
19:18.13goxboxliveakke: If it has code name htc sable the it is support for it in the hh.org kernel tree
19:19.37akkehh.org kernel tree? .. hh.org seems like a dating engine..
19:20.48*** join/#htc-linux tsdogs (n=twostupi@62.123.180.130)
19:22.58*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
19:23.45cr2lol.
19:24.00cr2handhelds.org
19:24.07*** join/#htc-linux asylumed (n=insanity@dsl-245-191-92.telkomadsl.co.za)
19:24.51akkeok :) lol
19:25.20cr2but we shorten it to hh.org
19:25.22akkehmm.. any idea how usable it is on the hw6915?
19:25.32cr2i have hw6915, but did not check it for a long time.
19:25.46cr2even wifi was working some time ago.
19:26.23cr2the phone protocol is cracked, but there is no line discipline driver like for TI.
19:26.50akkeso it's not possible to use GPRS/EDGE or make a phone call?
19:26.50akke(not yet)
19:26.51cr2the 240x240 screen may be a problem for some not very bright apps.
19:27.12goxboxlive:-) dating machine
19:27.18cr2no, but it's bearable. like in "we have the documentation"
19:27.56cr2The Happy Hearts Organization. Meet Like-Minded Singles
19:28.05akkelol ;)
19:28.09cr2isn't it about linux on the phones ?
19:29.01akkeit probably is.. ;-)
19:31.46cr2akke: report all the bugs here. all the data is available, and i can check it too.
19:31.48cr2hehe.
19:38.07cr2sable kernel compiles, but some tweaks will be certainly needed. for phone audio support like on the universal, and maybe some others.
19:45.01*** join/#htc-linux Sti_0239 (n=Where@did75-14-82-236-19-158.fbx.proxad.net)
19:45.26Sti_0239hi there
19:49.03*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
19:50.28*** join/#htc-linux Hawk|- (n=Hawk@pD95059AA.dip0.t-ipconnect.de)
20:15.50BabelOcr2: ok i nerver see printk from acx module :(
20:16.22BabelOwhy ?
20:16.44BabelOmaybe strucutre is a little different i ll check
20:18.47BabelOpsokolovsky: are you around ?
20:19.08cr2BabelO: which printk ?
20:19.30BabelOcr2: printk in htcblueangel_acx.c function stop_hw
20:20.31BabelOthat's why chipset is always powered on :(
20:28.16BabelOgoxboxlive: can you check acx is really powered down on universal ?
20:28.34goxboxliveBabelO: Not now
20:28.41BabelOok
20:30.21goxboxlivei dont think it is, because we are not able to remove htcuniversal_acx
20:30.21goxboxliveit freezes the system
20:30.21goxboxlivewe are just able to unload acx
20:30.37BabelOgoxboxlive: only remove acx module not htcuniversal_acx
20:31.10goxboxlivehow do i chack if it is powered down?
20:31.35cr2goxboxlive: add the printk.
20:31.35BabelObefore powered it up, check current_now in /sys/class/battery/main-battery
20:32.07BabelOcurrrent is around 250 mA
20:32.26goxboxliveok, i cant do that. My bettery is broken, i get some realy strange values. like mnius (-) in front of the number
20:32.39goxboxlives/bettery/battery/
20:33.08BabelOgoxboxlive: it is normal minus
20:33.19goxboxliverealy, ok hold on i boot it up
20:33.26BabelOcurrent is outgoing from battery ;)
20:33.39goxboxlivewhile charging?
20:34.10BabelOit is not chargin if there is minus
20:34.25goxboxliveright, like i said, my battery or something is broken
20:34.51BabelOyou charge over usb, or power cable ?
20:35.05goxboxlivebooting
20:35.08goxboxliveboth
20:35.32goxboxliveit's going crazy here. Wince reports 0% left of my battery
20:35.45goxboxlivei'm booting
20:36.13BabelOok
20:37.10goxboxliveguide me, i am at the prompt now
20:37.54goxboxlivecurrent_now "0"
20:38.19BabelOok then cat /sys/class/battery/main-battery/current_now
20:38.19BabelOto have reference value
20:38.21goxboxlivei did
20:38.27goxboxliveit gave me zero
20:38.29goxboxlive0
20:39.13BabelO:( and uyou have no printk in wlan_stop function...
20:39.20BabelOwe can'ty do the test
20:39.40BabelOgoxboxlive: all your battery driver are modprobed ?
20:40.25goxboxliveohh i booted a old zImage
20:40.42goxboxlivei have to compile a new one.
20:41.03BabelOelse i m waiting for psokolovsky or tsdogs
20:41.09cr2goxboxlive: add the printk, since you are recompiling anyway.
20:41.14BabelOthx
20:41.38tsdogsBabelO: here-
20:42.20BabelOtsdogs: wait i ll make a last test before
20:42.26tsdogsok
20:42.26*** join/#htc-linux akke (n=akke@88.82.38.195)
20:43.40goxboxlivetsdogs: Do you check for babelo?
20:44.01tsdogs?
20:44.28goxboxlivecheck the current flow with and without acx loaded
20:44.36tsdogsok
20:44.44goxboxliveactually unloaded, loaded and unloaded again
20:44.46goxboxlivegoo thx
20:45.19goxboxlivewhats this? qtopia-core-opensource-src-4.3.0rc1
20:45.43goxboxliveso next release is on it's way
20:47.10tsdogslet's see how many api changes will be there :)
20:47.49goxboxlivehttp://ftp.icm.edu.pl/pub/unix/lib/qt/source/
20:47.57BabelOcr2: i see trace in mem.c, i see line where stop_èhw is called...
20:49.05*** join/#htc-linux Fossi (n=Fossi@e176125100.adsl.alicedsl.de)
20:55.49BabelOcr2: ok itis normal, stop_hw can't be called because of a test
20:56.32tsdogsBabelO: http://www.pastebin.ca/506106
20:57.36BabelOtsdogs: you never modprobe acx before ?
20:57.45BabelO<PROTECTED>
20:58.12BabelOoh your are connected to power
20:58.16BabelOit is charging
20:58.39BabelOcan t be a good test
20:58.44ellisway<PROTECTED>
20:58.50elliswayall
20:59.06BabelOhello ;)
20:59.49tsdogsno
21:00.08tsdogsshould I try disconnected?
21:00.39BabelOyes if you can, current will be negative
21:00.46tsdogsok rebooting
21:00.48cr2BabelO: 340mA is not much.
21:00.57cr2i#ve seen 850mA
21:01.25Foxdiehi guys, whats cooking?
21:01.43BabelOcr2: i have 340mA when acx on and can downto 15mA or better 5mA if i shutdown all maually
21:02.25cr2BabelO: you have a different device.
21:02.30BabelOor maybe ds1wm measure are bad, it could be possible too
21:02.51BabelOcr2: yes and you have a better battery too :)
21:04.25BabelOi think i understand i measure a current but usb port drive 100mA
21:04.56BabelOeither stop_hw can't be called
21:07.26goxboxliveBabelO: Could i get access to your ftp server? I need a file name atomicbase.h in helix source
21:07.26BabelOyes, wait i start it
21:07.40Foxdieanyone have any modules for things like usb hubs, keyboards, etc?
21:07.40BabelOstarted
21:07.46goxboxlivegood
21:08.17FoxdieI made usb mini-A to B cable and tried to connect a powered hub, it didn't recognise it at all, but it did detect power on usb port
21:08.25BabelOyesss now function is called
21:08.42BabelOcr2: i move stop_hw to acx_e_remove :)
21:09.09BabelOthey say in e_cleanup function that's not good ;)
21:09.31BabelOnow current is ok
21:09.43tsdogsBabelO:      initial acxload acxunload
21:09.43tsdogscharge_now:  1495250 1465500 1457250
21:09.43tsdogscurrent_now: -481875 -460000 -493750
21:09.43tsdogsvoltage_now: 4035760 4011360 3991840
21:10.13BabelOtsdogs: yes i think it is a bug in acx release
21:10.17tsdogswas hard a lot of acx debugging
21:10.22tsdogsok
21:10.28BabelOnow it is ok for me
21:10.33goxboxliveBabelO: Isent your build driectory there?
21:11.30BabelOgo to trunk and you are in correct directory
21:12.04goxboxlivethx got it
21:13.30BabelOhmm i ve latest rmoravcik patch for acx... maybe that
21:14.10cr2BabelO: the driver that can't be removed is a bug ;)
21:15.31BabelOcr2: yes, i know that, but current is another bug then :)
21:21.21goxboxlivetsdogs: have you ever builded OPie2 with helix?
21:21.33tsdogsnope.
21:21.56goxboxlivepastebin.ca/506110
21:23.00goxboxlivei just dont get it. I have copied the content of the helix src folder to my opie source. And when configueing it says that atomic... is OK/present
21:23.05goxboxlivebut still i get this
21:23.32tsdogsseems that helix is not finding ATOMIC OPERATORS...
21:23.52tsdogsI think you shoudl #define HELIX_CONFIG_DISABLE_ATOMIC_OPERATORS
21:24.53goxboxlivetsdogs: Thats what i have been doing. But maybe thats why i haveent had helix working
21:25.27tsdogsI have no idea, it says: #error "You need to create atomic dec/inc opers for your platform
21:25.32goxboxliveSo i thought that maybe i should try to fix it now, and maybe helix will work
21:26.14tsdogsconfiguration told you that they exsist?
21:28.06goxboxliveyes
21:28.53tsdogsHow did you configure helix?
21:29.56goxboxlivei didnt
21:30.29goxboxliveisent opie2 doing that?
21:30.36tsdogsnot sure about it, did you follow the instructions BabelO gave you?
21:31.12BabelOi  think i do something for helix, because it gave me an error when i compile it
21:31.29BabelO, but i do that it the night, and don't remember about this error
21:31.52goxboxliveso you compiled helix separated and the comiled opie2?
21:33.23BabelOgoxboxlive: no, sure not. it fail on building opie
21:33.40BabelOwhat is exactly error message ?
21:34.19goxboxliveas my pastebin showwd
21:34.19goxboxlivepastebin.ca/506110
21:41.17BabelOi remember something about this
21:41.42BabelOi do a bad hack, i add a endif somewhere, i ll check
21:43.46goxboxlivethx
21:46.17BabelOcr2: a nice command line to find all file modified 'May 8' ?:)
21:50.22cr2man find
21:50.32BabelO:)
21:50.33cr2-mtime
21:50.38cr2or something like that
21:50.44BabelOok
21:50.56cr2don't remember the time format.
21:50.57BabelOthx
21:51.37cr2or -newer
21:52.25cr2tsdogs: how do i convert QString to utf8 char * ?
21:52.39tsdogscoming ...
21:52.41cr2the changes from qt3 to qt4 are big ;)
21:53.18cr2the bizarre mixed-case headers.
21:53.21tsdogsQString::toUtf8(name)
21:53.47cr2QByteArray toUtf8 () const
21:54.01cr2is it really char * ?
21:54.08cr2the g++ does not like it.
21:54.17cr2warning: cannot pass objects of non-POD type ‘class QByteArray’ through ‘...’; call will abort at runtime
21:54.39tsdogsok, you need .c_str() or something like that
21:55.34cr2ok.
21:55.54tsdogsyou can also cast
21:57.42tsdogsSimilarily, you can pass a QString to a function that takes a const char * argument using the qPrintable() macro which returns the given QString as a const char *. This is equivalent to calling <QString>.toAscii().constData().
21:57.42*** join/#htc-linux TripleDES (n=sergio@140.pool85-50-144.dynamic.orange.es)
21:59.06tsdogscr2: don't think this is exactly what you want :(
21:59.35cr2i want to use printf() :)
22:00.00tsdogssimply do printf("%s", your_string);
22:00.05cr2i hate c++ somewhere deep in my heart :)
22:00.13tsdogs:)
22:00.30tsdogsit should cast automagically
22:00.56cr2hm. #include <stdio.h>
22:01.00tsdogsdunno about utf8 though
22:01.46cr2utf8 is char *
22:02.00cr2that's why it is used.
22:02.42BabelOcr2: qstrdup
22:03.14BabelOchar *toto = qstrdup( QString(....) );
22:04.23cr2QString provides the following four functions that return a const char *  ...
22:04.30*** join/#htc-linux ellisway (n=ellis@host-87-74-241-174.bulldogdsl.com)
22:04.50BabelOcr2: it is qstrdup to return a char * from a QString
22:05.29cr2qt <4 was much more unix-friendly ;)
22:07.29cr2BabelO: i just don't like that the docs are misleading.
22:08.07cr2the proto is QByteArray, but in the text it's written char *
22:09.08cr2which really makes sense. if one'd like to convert from QString to utf8, the most likely reason is to use it as char *.
22:09.25tsdogsI'm having troubles getting list entrys
22:09.37tsdogsQList<Entry>
22:09.40cr2but the OO approach defeated it.
22:09.48cr2yes, i had this problem too ;)
22:09.57cr2it's done differently now.
22:10.06tsdogsit was an Array before
22:10.21cr2yes, it's more c++ now.
22:10.48tsdogsok, but I never can get the pointer to the Entry (which is an object)
22:10.49cr2it looks like the qt4 was rewritten by some c++ purists.
22:11.06tsdogscr2: how did you solve it?
22:11.16cr2i failed  to solve it.
22:11.24tsdogs:(
22:11.25cr2googled for examples
22:11.48cr2and found some, but it meant a major rewrite.
22:12.35cr2c++ java-obsessed purists ;)
22:12.45BabelOcr2: all char manipulating are old in QT it is QCString base class in ocumentatiopn
22:13.35tsdogs:( - From Qtopia docs: Java-Style Iterators
22:13.45cr2yeah.
22:14.08cr2BabelO: the compilation fails in many places i 've taken for given before.
22:14.37cr2i find c++ acceptable only because of inline C. and C because of inline assembler :)
22:15.04cr2java and mono and whatever can go to hell!
22:15.12cr2i'm old-school :)
22:15.31cr2i can even program fortran. but find it too OO-oriented :)
22:15.45BabelOcr2: i know that i have some old coworker that say same thing ;)
22:16.25BabelObut when you do some code in assembler or C , you can optimize yourself it
22:17.06cr2that's the only way to unleash the raw computing power. otherwise you get a sandboxed VisualBasic ;-)
22:17.25cr2with monkey-programmers.
22:17.35cr2as an addon.
22:19.07BabelOcr2: yes, best difference i get is from motorola or Microchip micro controler at schoolwith an  assembler program and same with C, and looking at difference
22:22.39cr2it's really beyond my understanding why some fucking java interator is better than an array, which is a really fundamental concept as simple as ldr r0, [r1]
22:23.00cr2s/interator/iterator/
22:23.24BabelO:)
22:23.53cr2and malloc()
22:24.06cr2they will take it from my cold dead fingers :)
22:24.29cr2that was the first thing i hated in fortran.
22:26.00tsdogsok, help me clear this out. An Object it's a pointer, right so if I do Object *obj I have a pointer to a pointer?
22:26.17cr2yes.
22:26.51tsdogsso writing some function that returns Objecy * is not needed
22:27.28tsdogsI can simply return Object and I still get the same object.
22:27.33tsdogs?
22:28.23BabelOit is to protect code from disassembler guys ;)
22:28.31tsdogs:) ok
22:28.35tsdogsthx
22:29.52cr2BabelO: gcc -Waggregate-return :)
22:30.47BabelO;)
22:31.12BabelOWhat code are you porting cr2 today ?
22:31.49cr2i want to write a vector map format parser.
22:32.07cr2to avoid using awk.
22:32.34cr2because it became too big and uncomfortable.
22:33.21cr2then roadmap will be able to use a new huge class of available maps.
22:34.05BabelOwe have AWK at work for our application ;), now all our new application have a JScript parser instead of AWK
22:34.21cr2right now it's a real PITA to create maps for roadmap. unless you use tiger. which is not an option for anybody outside the US.
22:34.54cr2and tiger does not have oneway and turn restrinction data.
22:35.17cr2awk is great for quick and dirty hacks.
22:36.16BabelOcr2: yes agree, we some some same thing in JScript too, but other thing disappear, like string format :(
22:39.43BabelOin AWK : A ="1"; B=1; A = A * 1; A+B=?, in JScript A="1"; B=1; A = A*1; A+B=?
22:39.46BabelObig test ;)
22:41.01cr2awk converts numbers into strings first.
22:42.47BabelOyes but JScript do strange thing else you have to specify A= new Number("1");
22:43.21BabelOi hate all these language :(
22:44.15cr2:)
22:44.31cr2BabelO: do i need to call free() after qstrdup ?
22:44.46BabelOno
22:44.52cr2nice way to leak memory out of nothing.
22:44.58cr2hm.
22:44.59BabelOyes ;)
22:45.29BabelOi ve this : char *number = qstrdup( LCDNumber->text().toLatin1() );
22:46.33cr2ok, but who is doing free(number);
22:48.50cr2it may be on the stack ;)
22:48.51BabelOhttp://doc.trolltech.com/3.2/qcstring.html#qstrdup
22:48.51BabelOthey say must be deleted ;) true
22:48.52cr2hehe. 3.2
22:48.52cr2this q* is just something from NIH ;)
22:48.53BabelOthis class is really usefull
22:49.11BabelOall are standard variable
22:49.56cr2yes, a reimplementation of ansi c <string.h>
22:50.13cr2hm. strdup() is not ansi.
22:50.20cr2and must be free()'d
22:50.28BabelOnice to speak with gnokii
22:50.34goxboxlivewww.patebin.co.uk/15130 Doesnt this look OK?
22:50.55goxboxlivewww.pastebin.co.uk/15130
22:51.00cr2nice way to prevent windows compatibility. use strdup instead of qstrdup.
22:51.02BabelOgoxboxlive: i not found  my change :( it is to something else
22:51.11goxboxliveok
22:51.34cr2BabelO: why are these perl warnings ?
22:52.01cr2i doubt they happen on the greenphone.
22:53.02BabelOdon't have them too on my computer :(
22:53.45BabelOit is qmake flags
22:54.18BabelOgoxboxlive: you have qt4 on your host computer ?
22:54.39BabelOlike this /usr/lib/qtx ?
22:55.08goxboxliveyes /usr/lib/qt4
22:55.51cr2BabelO: i love c++
22:55.54cr2<PROTECTED>
22:55.54cr2<PROTECTED>
22:55.54cr2<PROTECTED>
22:56.48cr2and it works :)
22:57.01BabelO:) 3 lines
22:57.10cr2well, can be 1 line.
22:57.31BabelOdid you try with real utf8 line?
22:57.50cr2yes. it works.
22:58.01cr2why should it fail ?
22:58.24cr2utf8 is a null terminated unsigned char *
22:59.17cr2only a very overzealous compiler will see a difference between char * and unsigned char *
22:59.21cr2gcc does not.
22:59.51BabelOi have lot of thing at workthat fail these days, i set all my format to utf16, but IE can't speak utf16 so i convert do windows-1252 default windows format ... and i lose some data
23:00.44cr2why not utf8 ?
23:01.07cr2that are really obscure glyphs that are in utf16 and not in utf8.
23:01.47cr2no linux software is using utf16 actually.
23:02.03cr2remember this 0xfeff stuff ;)
23:02.18BabelOi va already some input data in utf16, that's why i keep this one
23:02.42cr2convert it ot utf8 ;)
23:03.54BabelOi do better now, it is to send data to SAP, so i normalize all string using foldstring function from windows API, it separate utf8 with composite
23:06.17BabelOdo you think it is a good idea to send my patch to kernel-discuss about stop_hw for ACX ?
23:06.17cr2yes.
23:06.18cr2we need to fix the buggy unloadable and unworking drivers
23:06.32cr2ok. the right way for printf utf8 is
23:06.45cr2line.toItf8().constData()
23:06.58cr2s/Itf/Utf/
23:07.33BabelOyes if you only want to display value ;) not working with pointer
23:08.08BabelOok, so i need to understand how this mailing list is working ;)
23:08.11cr2yes, for printf()
23:08.30cr2why do i need raw utf8 for something else?
23:08.42cr2all qt functions work with QString anyway.
23:13.19BabelOtsdogs: you have qt4 too ?
23:13.43tsdogsfor development I installed them yes.
23:14.17cr2what i really like about qt is the excellent documentation.
23:14.17BabelOok , i ve qt3 on mine
23:14.17cr2i have it in /usr/local/TrollTech/...
23:14.21tsdogsBabelO: I have both.
23:14.39tsdogsI think you can simply install qt4 and qt4-devel rpm with suse
23:14.53BabelOi don't understand goxbox error message :(
23:14.53tsdogsat least that's what i did with fedora
23:15.31BabelOtsdogs: yes but i remove it, because i ve some issue else
23:15.38tsdogsok
23:16.08BabelOfirst time i want to compile mythtv or qtopia, it was the first issue
23:16.20tsdogsIf you want to develop for BA, you could just install GreenphoneSDK, it's a VmPlayer image, but it is good for development and debugging.
23:16.30tsdogsneed a fast enough machine though
23:17.00tsdogsyou could try again, maybe they fixed them
23:17.38cr2tsdogs: but it's a fullblown debian ?
23:18.11tsdogsyes, unstable (obviously, and also qtopia is 4.1.7 (?))
23:18.20BabelOtsdogs: yes but i ve only 600 Mo left :(
23:18.21cr2yes.
23:18.38tsdogsBabelO: what happened to the new disk ? :)
23:18.45BabelOtsdogs: next time i buy a harddrive and maybe also a new processor
23:19.01BabelOtsdogs: it is already the new disk ;)
23:19.07tsdogs:)
23:30.35tsdogsok guys time for bed. good night.
23:30.46BabelOtsdogs: me too, good night
23:31.49cr2good night.
23:33.10tsdogscr2: I received e-mail that application was accepted for the challenge.
23:38.42*** join/#htc-linux TripleDE1 (n=sergio@246.pool85-50-137.dynamic.orange.es)

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