IRC log for #htc-linux on 20070630

00:58.50*** join/#htc-linux DTMonterrey (n=evandro@bl4-217-151.dsl.telepac.pt)
01:03.52*** part/#htc-linux DTMonterrey (n=evandro@bl4-217-151.dsl.telepac.pt)
01:24.40*** join/#htc-linux the_sys0p` (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com)
05:56.44*** join/#htc-linux rmoravcik (n=rmoravci@adsl-d140.84-47-33.t-com.sk)
07:17.13*** join/#htc-linux dion (n=dion@inhex.net)
07:35.30*** join/#htc-linux RoEn (n=roen@p54A649E5.dip.t-dialin.net)
07:44.28*** join/#htc-linux cyrill62 (n=user@ble59-5-82-233-205-36.fbx.proxad.net)
08:01.20*** join/#htc-linux cyrill62 (n=user@ble59-5-82-233-205-36.fbx.proxad.net)
08:02.10*** join/#htc-linux goxboxlive (n=goxboxli@141.80-202-161.nextgentel.com)
08:05.07*** join/#htc-linux cyrill62 (n=user@ble59-5-82-233-205-36.fbx.proxad.net)
08:06.49*** join/#htc-linux cyrill62 (n=user@ble59-5-82-233-205-36.fbx.proxad.net)
08:11.14*** join/#htc-linux cyrill62 (n=cyrill62@ble59-5-82-233-205-36.fbx.proxad.net)
08:12.19*** join/#htc-linux dion (n=dion@inhex.net)
09:06.48*** join/#htc-linux Fossi (n=Fossi@e176118241.adsl.alicedsl.de)
09:16.37*** join/#htc-linux Able (n=Able@222.240.210.10)
09:20.05*** join/#htc-linux pH5 (n=ph5@p5485EB4E.dip.t-dialin.net)
09:26.19*** join/#htc-linux Able (n=Able@222.240.210.10)
09:51.50*** join/#htc-linux tsdogs (n=twostupi@84.18.144.39)
10:17.33*** join/#htc-linux tsdogs (n=twostupi@84.18.144.39)
10:18.28goxboxlivehi tsdogs
10:18.41tsdogshi goxboxlive
10:19.35goxboxlivetsdogs, when i am compiling sometimes i get "Memory segment faults" Why is that happening? Has that something to do with my ram?
10:19.39tsdogsgoxboxlive: you solved the problem with the Shift button?
10:20.30tsdogscould be a swap problem, you should check how much memory you have included the swap, and how much it is used
10:20.30goxboxlivetsdogs, well not exatcly, but i have made the layout for the keyboard. I need to fix the shift repeat stuff and implement the Fn key.
10:20.36goxboxliveok
10:20.55tsdogsgoxboxlive: ok, I'll check it now (If my pc does not hang anymore :(
10:21.22goxboxliveI have 1GB swap but allmost nothing is used, I have 1GB ram approximantly 64MB free
10:22.07tsdogsok, what's the process that causes the Memory fault?
10:22.09goxboxlivetsdogs, i have uploaded the keybaord binary at gnulinux and  also the updated source at xanadux
10:22.26tsdogsgoxboxlive: ok thx
10:22.53goxboxlivetsdogs, sometimes it has happend when gcc-cross has been compiled, and now it happends when OpieII is being compiled
10:23.26goxboxliveBut if i build form the application area and not build directory it doesnt segfault.
10:23.58tsdogshmm, strange. but could be that it's using so much memory. I'd try incrementing the swap. and also run tests on disk and memory
10:26.07goxboxlivemaybe i just should buy some more ram
10:27.56tsdogs:)
10:28.05tsdogsI have 1GB and no problem with memory
10:28.10goxboxliveok
10:30.49goxboxlivetsdogs, i also try to find out why we dont have this included in our OpieII image: http://www.gnulinux.biz/files/Universal/tmp/crap/ig_qtopia_shutdown_dialog.gif
10:31.42tsdogsgoxboxlive: where did you get the screenshot?
10:32.20goxboxlivetsdogs,  from the documentation included in the source: OpieII/trunk/doc/html/index.html
10:32.30tsdogsgoxboxlive: ok
10:35.30goxboxlivetsdogs, scroll down: OpieII/trunk/doc/html/greenphone-integration-guide.html
10:38.18tsdogsgoxboxlive: seems to be something greenphone specific
10:39.12goxboxlivetsdogs, yes that might be but we might use it too i guess.
10:39.32tsdogswe need to fine where the app is first :)
10:39.49goxboxliveyes i have found some cpp files
10:42.05tsdogsgoxboxlive: goo
10:42.10tsdogss/goo/good
10:43.25goxboxlivetsdogs, i also noticed that with aplying a fike Hardware.conf with content Powermanagement/suspenAC/suspendbattery it adds suspend to powermanagment.
10:43.50goxboxliveSo maybe there might be something similar with shutdown
10:44.08tsdogsI seen the change in CVS. ok could be.
10:44.19tsdogsdid you check the greenphone?
10:46.44goxboxliveyes
10:46.53goxboxlivei just found a script
10:47.12goxboxliveOpieII/trunk/devices/greenphone/rootfs/basefiles/mnt/user/tools
10:47.55tsdogsgoxboxlive: that's the script that is called, but no interface :(
10:49.34goxboxlivetsdogs, i have found both the ui file and the splash
10:49.51tsdogsok where is the ui?
10:50.54goxboxlivetsdogs, http://pastebin.no/2232
10:51.58goxboxliveI am just about rebuild a image now, so if there is something i should add let me know before i start all over.
10:52.52tsdogs:)
10:53.20goxboxliveI also found this: OpieII/trunk/doc/html/systemshutdownhandler.html
10:53.22tsdogshmm this seems to be the app shutdownimpl.cpp
10:54.47tsdogsgoxboxlive: I don't have that source (?)
10:56.23tsdogsgoxboxlive: ok I have it :)
10:57.42tsdogsgoxboxlive: seems to be in the server, so there is only to check how to enable it.
11:02.06goxboxlivegood
11:29.26goxboxlivetsdogs, have you figured somethig out? I tried to copy those three file to htcphone/server/ui but nothing happends
11:30.24tsdogsgoxboxlive: I'm still checking, but it's something which is built into the qws, so it seems to be handled by some QWS message
11:30.48goxboxliveok
11:31.05tsdogsI can't find the cable to connect to my phone so I cannot check how to enable it right now...
11:31.17tsdogsdo you have an app to configure the keys?
11:31.21tsdogslike in opie
11:32.10goxboxliveno not that i am aware of, the only thing i know to configure the keys is defaultbuttons.conf
11:33.58tsdogsso there could be some way on using that to call the shutdownDialog.
11:36.50goxboxliveyes
11:37.21goxboxlivebut i think it's more important to have the gui for noe
11:37.30tsdogs?
11:37.31goxboxlivenow
11:37.38tsdogs?
11:38.13tsdogsI think that button is the simplest way on calling it right now...
11:38.24goxboxlivei will rather have the gui part than shutting it down with a button
11:38.33tsdogsok, me too
11:38.56goxboxlivetsdogs, but the problme is that universa and magician handle the power button diffrently
11:39.06tsdogsgoxboxlive: ok
11:40.07goxboxlivewith universal i am able to suspend in opieII with the power button, but magician is dead. It's becauseone of them calls reset while the other one calls '1' while being avtivated.
11:40.59goxboxliveit's actually the same window as in Opie(1)
11:41.22tsdogsgoxboxlive: ok
11:43.26tsdogsgoxboxlive: not really the same.
11:44.27goxboxliveok
11:47.10tsdogsgoxboxlive: you tryed using the quit.desktop from opie
11:47.11tsdogs?
11:47.25goxboxliveno
11:48.59tsdogsgoxboxlive: it executes the shutdown command...
11:49.16tsdogswhich is nowhere, so I guess it's something in the qws
11:49.20goxboxliveThere is no shutdown commands
11:49.27tsdogsyep
11:49.28goxboxliveyes i think so too
11:49.50tsdogsso we should only need to find a way to call the shutdown command...
11:50.05goxboxlivetsdogs, i have tried adding this:
11:50.07goxboxlive[Button4]
11:50.07goxboxliveName[]=Power Button
11:50.07goxboxliveKey=F34
11:50.07goxboxlivePressedActionService=Suspend
11:50.07goxboxlivePressedActionMessage=suspend()
11:50.08goxboxliveHeldActionService=SystemShutdown
11:50.10goxboxliveHeldActionMessage=systemShutdown()
11:50.20goxboxlivebut haven tried it outon universal. jus magician
11:50.41tsdogsdoes it work?
11:51.19goxboxlivewell suspend on universal work, but havent tried the shutdown part
11:51.26tsdogsok
11:51.52tsdogsgoxboxlive: where do you change the menu in opieII?
11:52.15goxboxliveQtopia/etc/defaultbuttons.conf
11:53.17tsdogsok and where are the .desktop files?
11:53.42goxboxliveThey are all hidden in the database
11:54.06goxboxliveonly applications wich being installed as a qpk file wiill appear as in Opie(1)
11:54.07tsdogsgoxboxlive: ok, so we'd need to add the quit.desktop in the settings (like in opie)
11:54.48goxboxlivetsdogs, i dont think so, if we gets it compiled togheter with htcphone i think it will be installed in to the database as suspend is
11:57.05tsdogsgoxboxlive: ok, so how to enable it? I didn't find anything different with greenphone
12:15.26*** join/#htc-linux goxboxlive (n=goxboxli@141.80-202-161.nextgentel.com)
12:18.23tsdogsgoxboxlive: I've found it
12:18.47tsdogsin greenphone defaultbuttons.conf there is the Button5 which is the hangup button.
12:19.03tsdogswhen held it calls the message "shutdown"
12:21.22tsdogsin the SDK it works :)
12:43.04*** join/#htc-linux RoEn (n=roen@p54A649E5.dip.t-dialin.net)
12:44.45goxboxlivetsdogs, realy
12:44.59goxboxlivei'll take a look, i have universal running now
12:50.01tsdogsgoxboxlive: ok
12:50.31goxboxlivetsdogs, did you change the htcbutthandler.cpp or did you just add it to defaultbuttons.conf?
12:50.52tsdogsgoxboxlive: what do you mean?
12:51.01goxboxliveThe key_hangup
12:51.22tsdogsyou need to copy the Button5 definition from greenphone/defaultbuttons.conf into the universal one.
12:51.44tsdogsthen when you press the Hangup for long time it fires the shutdown dialog
12:52.41tsdogsgoxboxlive: I tryed it on the SDK greenphone. still missing the uni cable ...
12:53.51goxboxlivetsdogs, i c
12:55.26tsdogsgoxboxlive: I'll try to find out how to enable it in the settings...
12:56.02goxboxlivegood, maybe Hardware.conf
13:05.37goxboxlivetsdogs, dosent seem to work with uni or magician. Seems like we need the script
13:12.36*** join/#htc-linux xF|Nakaori^off (n=dark@server.vinylkind.de)
13:12.39tsdogsgoxboxlive: ok
14:10.50tsdogsgoxboxlive I think I found how to do this.
14:11.08tsdogsbut you are not here anymore, so I'll write an e-mail
14:13.41*** join/#htc-linux RoEn (n=roen@p54A649E5.dip.t-dialin.net)
14:19.38*** join/#htc-linux scorpio16v (n=scorpio1@ACB08CA5.ipt.aol.com)
14:52.12*** join/#htc-linux goxboxlive (n=goxboxli@141.80-202-161.nextgentel.com)
15:23.51*** join/#htc-linux tsdogs (n=tsdogs@62.123.180.130)
15:24.17tsdogsgoxboxlive: you seen my mail?
15:29.38goxboxlivetsdogs, yes thanks a lot. I have just booted up again now, and "Shutdown" appear in Applications. But when i hitted it  the machine froze
15:34.33goxboxliveSo actually like this we can make our own scripts and have them executed with icons.
15:34.47goxboxliveI'll make one to restatr Qtopia
15:38.27tsdogsgoxboxlive: ok, but u need to check the path where the script is located
15:39.03goxboxlivetsdogs, i made a symlink to /sbin/reboot but it doesnt seem to execute it
15:39.16tsdogsgoxboxlive: does the dialog appear?
15:39.19goxboxliveWhen i hit the shutdown icon Qtopia freezes
15:39.46tsdogshmm, maybe then something in htchardwre is also needed
15:40.50tsdogsbbl
15:41.49goxboxliveok
15:53.08goxboxlivetsdogs, i manage to make it stop Qtopia so i guess we just can execute regular script with it. Cool this will make it more userfriendly
15:53.38goxboxliveIs roadmap ready for Qtopia yet?
15:54.28goxboxliveroot@magician:/opt/Qtopia/bin$
15:54.28goxboxliveBroadcast message from root (pts/0) (Sat Jun 30 17:54:13 2007):
15:54.28goxboxliveThe system is going down for reboot NOW!
15:54.28goxboxliveConnection to 192.168.0.201 closed by remote host.
15:54.28goxboxliveConnection to 192.168.0.201 closed.
15:54.29goxboxlivecentrino:/home/jrs#
15:54.51goxboxliveThis is great, thanks a lot for your help tsdogs . It worked
16:02.17goxboxliveSo now the question, how do we add this so it installs with the rest of the applications?
16:15.03*** join/#htc-linux eczema (n=ecze@eczema.ecze.com)
16:50.10*** join/#htc-linux rob_w (n=bob@X02ed.x.pppool.de)
17:30.03*** join/#htc-linux estovapalla (n=estovapa@84.121.148.202.dyn.user.ono.com)
17:38.41*** part/#htc-linux estovapalla (n=estovapa@84.121.148.202.dyn.user.ono.com)
18:06.34*** join/#htc-linux estovapalla (n=estovapa@84.121.148.202.dyn.user.ono.com)
18:28.45*** join/#htc-linux ymse (n=Ymse@c27FC00C3.dhcp.bluecom.no)
18:29.01ymseHello?
18:33.05*** part/#htc-linux scorpio16v (n=scorpio1@ACB08CA5.ipt.aol.com)
18:45.42*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
18:54.43pH5ymse: Hello!
18:57.55ymseHi..........i need some help getting my PDA work up agianst Fedora
19:02.21*** join/#htc-linux rob__w (n=bob@X0d7d.x.pppool.de)
19:11.32*** join/#htc-linux TeringTuby (n=maarten@162-117-dyn.ipact.nl)
20:32.45*** join/#htc-linux goxboxlive (n=goxboxli@141.80-202-161.nextgentel.com)
21:02.26*** join/#htc-linux RoEn (n=roen@p54A649E5.dip.t-dialin.net)
21:14.49*** join/#htc-linux dion (n=dion@inhex.net)
22:01.00*** join/#htc-linux Tjikkun (n=tjikkun@82-204-54-115.dsl.bbeyond.nl)
22:18.19*** join/#htc-linux GSV (i=GSV@c-71-202-155-188.hsd1.ca.comcast.net)
22:45.57*** part/#htc-linux estovapalla (n=estovapa@84.121.148.202.dyn.user.ono.com)

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