irclog2html for #htc-blueangel on 20051124

07:41.44*** join/#htc-blueangel JuNuKN (n=JuNuKN@Ka0d7.k.pppool.de)
08:06.37*** join/#htc-blueangel cp15 (i=txqjzh@p549A3218.dip0.t-ipconnect.de)
08:06.37*** mode/#htc-blueangel [+o cp15] by ChanServ
08:07.07cp15Good morning
09:22.25etiennelo
09:37.27cp15Hi
11:38.16*** join/#htc-blueangel rob_w-cgi (n=txuser@dd1010.kasserver.com)
11:38.16*** mode/#htc-blueangel [+o rob_w-cgi] by ChanServ
11:42.43rob_w-cgihi all
11:43.07rob_w-cgicp15 are you working as a freelancer in that sense or what form has your company ?
11:47.10cp15I am not really a freelancer, but close. My company is a GmbH
11:49.30rob_w-cgii am thinking of becoming a "freiberufler " .. and work in the begiining with projects in USA .. do you have any hint or tips ?
11:49.58rob_w-cgimeaning  iam staying here but work for a usa company who pays that
11:51.24cp15At first, you have to do some calculations and considerations: How many customers will you have, how much do you get from them, how hard is it to find new ones, how long can you live without money
11:52.17cp15Then you probably should visit a tax consultant. Mine helped me very much, he told me about "Überbrückungsgeld" from the Arbeitsamt
11:53.40cp15I got 6 months Arbeitslosengeld + the money for the social insurance. Which was quite comfortable for the start
12:25.16cp15Got my development BA today
12:48.34rob_w-cgiyeah
12:48.51rob_w-cgiseems you have now some money , to even affort some more BA`s
12:50.16cp15Well, money isn't the problem, time is it
12:50.43cp15This one has a sony display
12:50.57cp15It has better contrast, but much worse colors
12:51.52rob_w-cgiis it a black one ?
12:52.17cp15No, silver... T-Mobile MDA III
12:53.38cp15I will get a second one tomorrow which is available to other developers
12:53.51cp15If you want it for development, you can have it a limited time
12:54.36rob_w-cginot these days ...as i am sooo busy with my house , my job and "freelancing " if available
13:10.26cp15Well, I think the BA would offer good possibilities for freelancing. Maybe not right now, but it will be a excellent promotion
13:11.10rob_w-cgihmm.. i dont think so , unless there is a company interessted to commercialized the linux BA and or has linux projects with such a need
13:12.10cp15Well, Harald Welte was offered some jobs in response to his openezx announcement
13:18.35rob_w-cgi??
13:20.54rob_w-cgihow can i apply ?!
13:23.47cp15Don't know... But since I will probably hold a part of his talk about open source phones, I think I can ask him
13:24.22rob_w-cgihmm that would be REALLY great
13:25.17rob_w-cgiu probably now know my position and that i could really start my engines in something like that ...
13:44.34cp15bhima: Already thought your plane crashed ;-)
13:45.19bhima|770They told us to shut off our gadgets :(
13:47.23bhima|770I'm now using a random wifi AP.
13:47.31bhima|770SIgnal strength is marginal.
13:48.43bhima|770My 770's wifi antennas are really good.
14:09.31rob_w-cgihehe nice
14:26.07*** join/#htc-blueangel magnet (n=magnet@vsg94-1-82-234-118-20.fbx.proxad.net)
14:26.12magnethi
14:34.04cp15Hi
14:39.22ohoHello
14:44.04ohoI am just trying the new image
14:45.37*** join/#htc-blueangel leOn (n=xxx@mathilda.ci.fct.unl.pt)
14:45.42leOnhello
14:45.51leOnhi cp15
14:47.34ohohi leOn
14:51.17cp15Hi leOn, sorry, don't have a BA yet for you, but I will keep on trying
14:51.55cp15The "flashed to death" device was 264 Euro as the auction closed, and I have seen working ones for that price
14:52.37leOncp15: no worries =)
17:30.40*** join/#htc-blueangel oho (n=phil@81-179-84-81.dsl.pipex.com)
17:30.49ohoHello
17:34.15cp15Hi oho, more success with the new image?
17:34.58ohoHi cp15, yes the image works fine, including sound. The only thing I haven't done yet is to set the ring tone up yet
17:35.39ohoyou send a msg explaining how to do that, but we just had a power cut and I lost it. Where is the wav file going again ?
17:35.53cp15Yeah, the ringtone is kind of a problem. If you find a nice free one, please send it to me
17:36.17cp15do a strings /usr/bin/gomunicator | grep raw
17:36.23cp15Forgot its exact name
17:36.33ohook I will look for it
17:36.53ohothere must be some one arround who is good at composing ;-)
17:39.29cp15We need another tone for "Busy"... Currently you don't get any notification about that. The call just doesn't come through
17:39.39ohoI got gomunicator to compile, which was the first step, now I am just looking at the code
17:39.52ohoare you co-ordinating the gomunicator dev ?
17:41.36cp15Hmm... Probably... But another one who wants to do it would be highly appreciated
17:42.12ohohow about using the existing wiki at http://www.handhelds.org/moin/moin.cgi/Gomunicator
17:42.17ohoto put a todo list up
17:42.39ohoI am happy to change the wiki and to add a note about the bb file
17:43.04ohousing openembedded is prop. the best way to develop it
17:43.18cp15Sure, just go ahead
17:43.35ohook will do
17:43.45cp15We might also the xanadux sourceforge bug tracking system where gomunicator is currently hosted
17:45.19ohoI haven't looked at the in detail yet, but I will have a look at it now
19:45.03*** join/#htc-blueangel lamikr (n=chatzill@aragorn.kortex.jyu.fi)
21:59.39ohoBye, see you tomorrow
22:01.48*** join/#htc-blueangel JuNuKN (n=JuNuKN@Kbbfa.k.pppool.de)
22:05.38lamikrHi
22:06.54cp15Hi
22:07.46lamikrDo you still remember me? I was here some months ago asking from the gomunicator...
22:08.40lamikrI am trying to make gsm working with the ipaq h6300.
22:09.09cp15Ah... Ok, I remember
22:10.31cp15How may I help you?
22:10.35lamikrI have now finally checked out and build the gomunicator code. There are some things what I do not understand.
22:10.48cp15Like me, probably... But just ask
22:11.17lamikrSo your gsm driver is tty driver that make node to /dev/gsm0 ?
22:12.03cp15Actually there is no special driver. It is just a plain serial interface
22:12.15cp15/dev/gsm0 is a symlink to /dev/tts/0
22:15.12lamikrOk. Well, we have /dev/ttyS1 here... So you can send AT commands to phone via /dev/tts/0. Are you able to open gprs data connections? If yes, would that data also be routed via /dev/tts/0?
22:16.10cp15No, gprs and csd data is handled different
22:16.32cp15There is a dpram (dual ported ram) asic between the pxa and the gsm cpu
22:16.44lamikrYes, that was something I was remembering...
22:17.01cp15/dev/tts/0 is just for AT commands and replies
22:17.35cp15This makes it simple to keep a GPRS connection online without disturbing normal phone functionality
22:19.10lamikrIn h6300, the gsm module can be configured to be either in the multiplexer mode or only in the AT command mode. If we want to support gprs data, then we need to make gsm driver that multiplexes stuff from /dev/ttyS1 to /dev/gsm0 and /dev/gsm0data. Collin actually have made socket based multiplexer, but I did not get it working with gomunicator. So, I think I will now try to turn the gsm module to non multiplexer mode and then just make symli
22:20.44cp15It shouldn't be that difficult to adapt gomunicator for using sockets
22:21.41cp15How does "AT Mode only" work with GPRS data?
22:22.03lamikrIn that case gprs is not working...
22:22.41lamikrI think in the long term it is better that we make tty driver that handles the multiplexing instead of using socket daemon.
22:23.06lamikrWhat app you are using for making gprs connections?
22:23.20cp15/bin/sh
22:23.57cp15Actually I used it only once to see if it works
22:24.12lamikrOk!
22:24.46lamikrAre you now working with phone stuff or something else?
22:25.19cp15Currently I try to get the suspend code fixed. Battery lifetime is currently only about 20 hours in standby mode
22:25.50cp15But some bugfixes to gomunicator will be next on my list
22:27.37lamikrWell, for us "suspend -s" freezes the device. I have not had time to check what driver is causing that. :-( I was planning to work much earlier with gomunicator, but then I realized I wanted to play tetris, so I needed to make joypad buttons working. And then I wanted to update kernel to 2.6.14 and that took longer than I expected.
22:28.21cp15Ah... Ok... Tetris is nice
22:28.35cp15There is a problem with the suspend code built in
22:29.03lamikrIn the suspend command itself or in your driver?
22:29.16cp15The X-Server and apmd both listen on /dev/apm_bios for APM events and both have to acknowledge the suspend
22:29.29cp15But apmd fails to do that if the X-Server runs
22:29.53cp15So try suspending with X-Server and apmd stopped
22:30.30cp15The X-Server has another problem when suspending
22:31.13cp15When the apm_bios signals "Suspend will happen" the X-Server frees touchscreen and keyboard etc.
22:31.42cp15Then the kernel wants to change console to a text console before suspending and sends the X-Server again a USR1
22:32.02cp15Which will then free touchscreen and keyboard again and crashes
22:32.09cp15So you will get a login after resume
22:32.58lamikrActually I do not have yet even idea, how I could make resume after suspend... How you do that if your keyboard is disapled?
22:34.07cp15Ok, there are several possibilities for suspend: Idling with full speed and waiting for an interrupt, Idling with 33 MHz and waiting for an interrupt, real suspend and waiting for an interrupt
22:34.25cp15Currently I do idling with 33 MHz, hence the too much power consumption
22:34.47cp15The PXA can wakeup on an interrupt on the first 16 GPIOs I think
22:35.38lamikrOk, I do not yet know omap devices can expect by sending event over serial port.
22:35.41cp15Usually the Power Button is among them, so you have to setup an interrupt for the power button and it will wake up when you press it
22:36.03cp15Ah, you have a omap... Don't know how it works there exactly
22:36.48lamikrYes, ipaq h6300 is based on omap1510... I think Intel has released more documents than ti...
22:37.09cp15But the serial port does not work for wakeup on real suspend on PXA. The GSM processor can be told to signal a call or a sms via one of the 16 GPIOs
22:37.59lamikrSo, can you load your phone, I need to wakeup my one to make a call :-)
22:38.31cp15The PXA documentation is quite good. So far I discovered nothing which isn't answered
22:39.47lamikrFor omap, only some docs are public. And I once checked PXA docs, and liked from that how much there were info from uart/suart/buart and gpio settings, etc...
22:40.04cp15BTW: Do you know the CCC Congress between christmas and new years eve?
22:40.44lamikrNo, I have not heard from that. Where is it?
22:40.54cp15Harald Welte will give a talk about Linux on Motorola mobiles, if I remember correctly they also have an omap processor
22:40.58cp15Berlin, Germany
22:41.36lamikrOh, interesting. Are you planning to go there?
22:42.12cp15Yes, I booked already a flat, and probably Harald will give me some time of his talk to say something about my project
22:42.42lamikrReally nice!
22:43.01lamikrAre the conference tickets expensive?
22:43.46cp15Not compared to the travel costs. 70 Euro for the whole event
22:44.31cp15You find information about it at https://events.ccc.de/congress/2005/wiki/22C3_Public_Wiki
22:45.22lamikrNot a bad at all. I am living in Finland, so in theory Berling is not far away...
22:46.11lamikrWhere are you living?
22:46.22cp15There are a lot of interesting talks. Too bad one can't visit them all
22:46.35cp15Germany, not too remote from Munich
22:46.50cp15I will travel with a few friends by car
22:47.17lamikrDo you know are there coming someone else from the OE?
22:49.27cp15Hmm... Don't know...
22:50.16lamikrI checked the scedure, looks funn.
22:50.26lamikrschedule (hard word)
22:52.20cp15Sure, I don't miss it since 5 years
22:54.17lamikrSo what is this ccc?
22:54.37cp15Chaos Computer Club
22:55.56cp15A german computer club which got famous for using a security weakness to "steal" a bank 100000 Euro via BTX (an ancient german terminal system)
22:56.52lamikrSo it somekind of independent hacking clup, so it is not tight to any company etc. Just for people who like to use their brains without restrictions.
22:57.06cp15Exactly
22:57.10lamikrand have fun :-)
22:58.45lamikrI have couple of things in the gomunicator code that I did not fully understand. For me the phoneGetOK and phoneGetOK_slow methods in PhoneComms.c looks buggy. They are always returning -1.
22:58.57lamikrI mean false.
22:59.21cp15Sure. They are quite ugly hacks I wrote to get the phone flying
22:59.47cp15I want to rewrite the command handling next few days so the error handling will be improved
23:00.04lamikrOk :-)
23:00.39cp15An undetected error costed me already 30 Euros. The connection to someones mailbox stayed "on hold" for 2 hours because hangup didn't work as expected
23:00.42lamikrThen there is: phoneInitString =
23:00.43lamikr<PROTECTED>
23:00.49cp15Forget it
23:01.16cp15It is probably for some other strange architecture
23:02.42lamikrOk, good! Then there is one other thing... Wait I need to check the code.
23:06.04cp15Hope you don't find any more of my sins
23:06.27lamikrsendCommand() in PhoneComms.c has prefix={0x02, 0x16} and postfix={0x16, 0x02} that it adds to command before and after. What are these?
23:06.59cp15This is a speciality for the BA. The commands are encapsulated within this sequence
23:07.03cp15Remove it
23:07.57cp15There is also a function which is called remove_junk or the like which removes the encapsulation in the other direction
23:08.29lamikrOh, that what was what I was planning to ask next!
23:09.44lamikrbts, not your sins that you have working phone...I do not yet have... So you put 0x16, 0x02 after at command... We need to put <cr> char.
23:10.12cp15Ah, no, the cr is still needed
23:10.24lamikrAnd you put that in if (writen_ni(tty_fd, CRLFString, 2) < 2)
23:11.04cp15Yes
23:11.45cp15Maybe we should do together some planning how the redesign of the AT command handling should look like
23:12.55lamikrYes, that would be very good... It would be nice to know are there anything other differencies than this 0x16, 0x02 stuff in our at command handling.
23:13.47lamikrWe have wavecoms gsm module here, and there are wery good at command manual for this at http://www.wavecom.com/media/files/support/Advanced_Software_Solutions/Open_AT/Open_AT_30/Doc-OAT-V3.zip
23:14.22lamikrHow about blueangel?
23:14.28cp15Thats nice, the HTC GSMs commands are mostly guesswork
23:15.11cp15They use standard AT+something commands for most things, but there are also some AT%something which are mostly unknown
23:16.33lamikrYou may want to check that AT command manual for checking whether same things work. It is really comprehensive and there are commands for querying operators, selecting one, selecting microphone/speaker pair used and even for setting ringing tone for the module.
23:16.54cp15And they are lacking some usefull commands. Easy sim phonebook access for example
23:17.18cp15Thanks, I will take a look. But most commands I have already found in the ETSI standards
23:18.19lamikrIs AT+SPEAKER? working for you to query currently used speaker?
23:19.09cp15Haven't tested yet... But I don't think so... Speaker handling (except bluetooth maybe) is done outside of the gsm module
23:20.00cp15Do you have bluetooth audio working?
23:20.18lamikrAnd for enabling multiplexing we have AT+WMUX=1, AT+WMUX=0 will turn to use only the AT commands.
23:22.17lamikrHave not even tested. We have still two problems with bt... "hciattach ttyS0 texas" command will usually fail for the first run. Then I have not yet checked how to make bt to work with 921200 speed. You gave me some code last time for that but I have not yet even tried to find out where that code belongs :-)
23:25.06cp15On the BA there are two GPIO bits to enable/disable BT power. Maybe you have a similar problem?
23:25.36cp15Maybe the BT gets powered on by DTR and the time is too short to get the processor working?
23:28.17lamikrThat could be... I have not yet spend much time on that. I was just happy when I got it working and have just used hciattach command twice. In h6300 there is also 2 gpios, BT_PWR_EN and N_BT_RST, set both of those.
23:29.28lamikrThis is the first time for me with the embedded things (or electronic stuff) so I am not fully sure what things like "N_" in the beginning of N_BT_RST means.
23:29.29cp15How did you get the names?
23:30.03cp15N_=Negative. BT_RST has to be "0" to be active and "1" to be inactive
23:33.05lamikrThanks, I think that's it. I was putting that also to "1".
23:33.59cp15So, I will go to bed now
23:34.02cp15Good night
23:35.02lamikrGood night. I will come back propably tomorrow.
23:35.13lamikrI will now try the gomunicator...

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.