| 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.07 | cp15 | Good morning |
| 09:22.25 | etienne | lo |
| 09:37.27 | cp15 | Hi |
| 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.43 | rob_w-cgi | hi all |
| 11:43.07 | rob_w-cgi | cp15 are you working as a freelancer in that sense or what form has your company ? |
| 11:47.10 | cp15 | I am not really a freelancer, but close. My company is a GmbH |
| 11:49.30 | rob_w-cgi | i am thinking of becoming a "freiberufler " .. and work in the begiining with projects in USA .. do you have any hint or tips ? |
| 11:49.58 | rob_w-cgi | meaning iam staying here but work for a usa company who pays that |
| 11:51.24 | cp15 | At 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.17 | cp15 | Then you probably should visit a tax consultant. Mine helped me very much, he told me about "Überbrückungsgeld" from the Arbeitsamt |
| 11:53.40 | cp15 | I got 6 months Arbeitslosengeld + the money for the social insurance. Which was quite comfortable for the start |
| 12:25.16 | cp15 | Got my development BA today |
| 12:48.34 | rob_w-cgi | yeah |
| 12:48.51 | rob_w-cgi | seems you have now some money , to even affort some more BA`s |
| 12:50.16 | cp15 | Well, money isn't the problem, time is it |
| 12:50.43 | cp15 | This one has a sony display |
| 12:50.57 | cp15 | It has better contrast, but much worse colors |
| 12:51.52 | rob_w-cgi | is it a black one ? |
| 12:52.17 | cp15 | No, silver... T-Mobile MDA III |
| 12:53.38 | cp15 | I will get a second one tomorrow which is available to other developers |
| 12:53.51 | cp15 | If you want it for development, you can have it a limited time |
| 12:54.36 | rob_w-cgi | not these days ...as i am sooo busy with my house , my job and "freelancing " if available |
| 13:10.26 | cp15 | Well, I think the BA would offer good possibilities for freelancing. Maybe not right now, but it will be a excellent promotion |
| 13:11.10 | rob_w-cgi | hmm.. 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.10 | cp15 | Well, Harald Welte was offered some jobs in response to his openezx announcement |
| 13:18.35 | rob_w-cgi | ?? |
| 13:20.54 | rob_w-cgi | how can i apply ?! |
| 13:23.47 | cp15 | Don'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.22 | rob_w-cgi | hmm that would be REALLY great |
| 13:25.17 | rob_w-cgi | u probably now know my position and that i could really start my engines in something like that ... |
| 13:44.34 | cp15 | bhima: Already thought your plane crashed ;-) |
| 13:45.19 | bhima|770 | They told us to shut off our gadgets :( |
| 13:47.23 | bhima|770 | I'm now using a random wifi AP. |
| 13:47.31 | bhima|770 | SIgnal strength is marginal. |
| 13:48.43 | bhima|770 | My 770's wifi antennas are really good. |
| 14:09.31 | rob_w-cgi | hehe nice |
| 14:26.07 | *** join/#htc-blueangel magnet (n=magnet@vsg94-1-82-234-118-20.fbx.proxad.net) |
| 14:26.12 | magnet | hi |
| 14:34.04 | cp15 | Hi |
| 14:39.22 | oho | Hello |
| 14:44.04 | oho | I am just trying the new image |
| 14:45.37 | *** join/#htc-blueangel leOn (n=xxx@mathilda.ci.fct.unl.pt) |
| 14:45.42 | leOn | hello |
| 14:45.51 | leOn | hi cp15 |
| 14:47.34 | oho | hi leOn |
| 14:51.17 | cp15 | Hi leOn, sorry, don't have a BA yet for you, but I will keep on trying |
| 14:51.55 | cp15 | The "flashed to death" device was 264 Euro as the auction closed, and I have seen working ones for that price |
| 14:52.37 | leOn | cp15: no worries =) |
| 17:30.40 | *** join/#htc-blueangel oho (n=phil@81-179-84-81.dsl.pipex.com) |
| 17:30.49 | oho | Hello |
| 17:34.15 | cp15 | Hi oho, more success with the new image? |
| 17:34.58 | oho | Hi 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.39 | oho | you 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.53 | cp15 | Yeah, the ringtone is kind of a problem. If you find a nice free one, please send it to me |
| 17:36.17 | cp15 | do a strings /usr/bin/gomunicator | grep raw |
| 17:36.23 | cp15 | Forgot its exact name |
| 17:36.33 | oho | ok I will look for it |
| 17:36.53 | oho | there must be some one arround who is good at composing ;-) |
| 17:39.29 | cp15 | We need another tone for "Busy"... Currently you don't get any notification about that. The call just doesn't come through |
| 17:39.39 | oho | I got gomunicator to compile, which was the first step, now I am just looking at the code |
| 17:39.52 | oho | are you co-ordinating the gomunicator dev ? |
| 17:41.36 | cp15 | Hmm... Probably... But another one who wants to do it would be highly appreciated |
| 17:42.12 | oho | how about using the existing wiki at http://www.handhelds.org/moin/moin.cgi/Gomunicator |
| 17:42.17 | oho | to put a todo list up |
| 17:42.39 | oho | I am happy to change the wiki and to add a note about the bb file |
| 17:43.04 | oho | using openembedded is prop. the best way to develop it |
| 17:43.18 | cp15 | Sure, just go ahead |
| 17:43.35 | oho | ok will do |
| 17:43.45 | cp15 | We might also the xanadux sourceforge bug tracking system where gomunicator is currently hosted |
| 17:45.19 | oho | I 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.39 | oho | Bye, see you tomorrow |
| 22:01.48 | *** join/#htc-blueangel JuNuKN (n=JuNuKN@Kbbfa.k.pppool.de) |
| 22:05.38 | lamikr | Hi |
| 22:06.54 | cp15 | Hi |
| 22:07.46 | lamikr | Do you still remember me? I was here some months ago asking from the gomunicator... |
| 22:08.40 | lamikr | I am trying to make gsm working with the ipaq h6300. |
| 22:09.09 | cp15 | Ah... Ok, I remember |
| 22:10.31 | cp15 | How may I help you? |
| 22:10.35 | lamikr | I have now finally checked out and build the gomunicator code. There are some things what I do not understand. |
| 22:10.48 | cp15 | Like me, probably... But just ask |
| 22:11.17 | lamikr | So your gsm driver is tty driver that make node to /dev/gsm0 ? |
| 22:12.03 | cp15 | Actually there is no special driver. It is just a plain serial interface |
| 22:12.15 | cp15 | /dev/gsm0 is a symlink to /dev/tts/0 |
| 22:15.12 | lamikr | Ok. 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.10 | cp15 | No, gprs and csd data is handled different |
| 22:16.32 | cp15 | There is a dpram (dual ported ram) asic between the pxa and the gsm cpu |
| 22:16.44 | lamikr | Yes, that was something I was remembering... |
| 22:17.01 | cp15 | /dev/tts/0 is just for AT commands and replies |
| 22:17.35 | cp15 | This makes it simple to keep a GPRS connection online without disturbing normal phone functionality |
| 22:19.10 | lamikr | In 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.44 | cp15 | It shouldn't be that difficult to adapt gomunicator for using sockets |
| 22:21.41 | cp15 | How does "AT Mode only" work with GPRS data? |
| 22:22.03 | lamikr | In that case gprs is not working... |
| 22:22.41 | lamikr | I think in the long term it is better that we make tty driver that handles the multiplexing instead of using socket daemon. |
| 22:23.06 | lamikr | What app you are using for making gprs connections? |
| 22:23.20 | cp15 | /bin/sh |
| 22:23.57 | cp15 | Actually I used it only once to see if it works |
| 22:24.12 | lamikr | Ok! |
| 22:24.46 | lamikr | Are you now working with phone stuff or something else? |
| 22:25.19 | cp15 | Currently I try to get the suspend code fixed. Battery lifetime is currently only about 20 hours in standby mode |
| 22:25.50 | cp15 | But some bugfixes to gomunicator will be next on my list |
| 22:27.37 | lamikr | Well, 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.21 | cp15 | Ah... Ok... Tetris is nice |
| 22:28.35 | cp15 | There is a problem with the suspend code built in |
| 22:29.03 | lamikr | In the suspend command itself or in your driver? |
| 22:29.16 | cp15 | The X-Server and apmd both listen on /dev/apm_bios for APM events and both have to acknowledge the suspend |
| 22:29.29 | cp15 | But apmd fails to do that if the X-Server runs |
| 22:29.53 | cp15 | So try suspending with X-Server and apmd stopped |
| 22:30.30 | cp15 | The X-Server has another problem when suspending |
| 22:31.13 | cp15 | When the apm_bios signals "Suspend will happen" the X-Server frees touchscreen and keyboard etc. |
| 22:31.42 | cp15 | Then the kernel wants to change console to a text console before suspending and sends the X-Server again a USR1 |
| 22:32.02 | cp15 | Which will then free touchscreen and keyboard again and crashes |
| 22:32.09 | cp15 | So you will get a login after resume |
| 22:32.58 | lamikr | Actually 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.07 | cp15 | Ok, 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.25 | cp15 | Currently I do idling with 33 MHz, hence the too much power consumption |
| 22:34.47 | cp15 | The PXA can wakeup on an interrupt on the first 16 GPIOs I think |
| 22:35.38 | lamikr | Ok, I do not yet know omap devices can expect by sending event over serial port. |
| 22:35.41 | cp15 | Usually 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.03 | cp15 | Ah, you have a omap... Don't know how it works there exactly |
| 22:36.48 | lamikr | Yes, ipaq h6300 is based on omap1510... I think Intel has released more documents than ti... |
| 22:37.09 | cp15 | But 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.59 | lamikr | So, can you load your phone, I need to wakeup my one to make a call :-) |
| 22:38.31 | cp15 | The PXA documentation is quite good. So far I discovered nothing which isn't answered |
| 22:39.47 | lamikr | For 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.04 | cp15 | BTW: Do you know the CCC Congress between christmas and new years eve? |
| 22:40.44 | lamikr | No, I have not heard from that. Where is it? |
| 22:40.54 | cp15 | Harald Welte will give a talk about Linux on Motorola mobiles, if I remember correctly they also have an omap processor |
| 22:40.58 | cp15 | Berlin, Germany |
| 22:41.36 | lamikr | Oh, interesting. Are you planning to go there? |
| 22:42.12 | cp15 | Yes, I booked already a flat, and probably Harald will give me some time of his talk to say something about my project |
| 22:42.42 | lamikr | Really nice! |
| 22:43.01 | lamikr | Are the conference tickets expensive? |
| 22:43.46 | cp15 | Not compared to the travel costs. 70 Euro for the whole event |
| 22:44.31 | cp15 | You find information about it at https://events.ccc.de/congress/2005/wiki/22C3_Public_Wiki |
| 22:45.22 | lamikr | Not a bad at all. I am living in Finland, so in theory Berling is not far away... |
| 22:46.11 | lamikr | Where are you living? |
| 22:46.22 | cp15 | There are a lot of interesting talks. Too bad one can't visit them all |
| 22:46.35 | cp15 | Germany, not too remote from Munich |
| 22:46.50 | cp15 | I will travel with a few friends by car |
| 22:47.17 | lamikr | Do you know are there coming someone else from the OE? |
| 22:49.27 | cp15 | Hmm... Don't know... |
| 22:50.16 | lamikr | I checked the scedure, looks funn. |
| 22:50.26 | lamikr | schedule (hard word) |
| 22:52.20 | cp15 | Sure, I don't miss it since 5 years |
| 22:54.17 | lamikr | So what is this ccc? |
| 22:54.37 | cp15 | Chaos Computer Club |
| 22:55.56 | cp15 | A 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.52 | lamikr | So 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.06 | cp15 | Exactly |
| 22:57.10 | lamikr | and have fun :-) |
| 22:58.45 | lamikr | I 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.57 | lamikr | I mean false. |
| 22:59.21 | cp15 | Sure. They are quite ugly hacks I wrote to get the phone flying |
| 22:59.47 | cp15 | I want to rewrite the command handling next few days so the error handling will be improved |
| 23:00.04 | lamikr | Ok :-) |
| 23:00.39 | cp15 | An 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.42 | lamikr | Then there is: phoneInitString = |
| 23:00.43 | lamikr | <PROTECTED> |
| 23:00.49 | cp15 | Forget it |
| 23:01.16 | cp15 | It is probably for some other strange architecture |
| 23:02.42 | lamikr | Ok, good! Then there is one other thing... Wait I need to check the code. |
| 23:06.04 | cp15 | Hope you don't find any more of my sins |
| 23:06.27 | lamikr | sendCommand() in PhoneComms.c has prefix={0x02, 0x16} and postfix={0x16, 0x02} that it adds to command before and after. What are these? |
| 23:06.59 | cp15 | This is a speciality for the BA. The commands are encapsulated within this sequence |
| 23:07.03 | cp15 | Remove it |
| 23:07.57 | cp15 | There is also a function which is called remove_junk or the like which removes the encapsulation in the other direction |
| 23:08.29 | lamikr | Oh, that what was what I was planning to ask next! |
| 23:09.44 | lamikr | bts, 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.12 | cp15 | Ah, no, the cr is still needed |
| 23:10.24 | lamikr | And you put that in if (writen_ni(tty_fd, CRLFString, 2) < 2) |
| 23:11.04 | cp15 | Yes |
| 23:11.45 | cp15 | Maybe we should do together some planning how the redesign of the AT command handling should look like |
| 23:12.55 | lamikr | Yes, 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.47 | lamikr | We 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.22 | lamikr | How about blueangel? |
| 23:14.28 | cp15 | Thats nice, the HTC GSMs commands are mostly guesswork |
| 23:15.11 | cp15 | They use standard AT+something commands for most things, but there are also some AT%something which are mostly unknown |
| 23:16.33 | lamikr | You 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.54 | cp15 | And they are lacking some usefull commands. Easy sim phonebook access for example |
| 23:17.18 | cp15 | Thanks, I will take a look. But most commands I have already found in the ETSI standards |
| 23:18.19 | lamikr | Is AT+SPEAKER? working for you to query currently used speaker? |
| 23:19.09 | cp15 | Haven't tested yet... But I don't think so... Speaker handling (except bluetooth maybe) is done outside of the gsm module |
| 23:20.00 | cp15 | Do you have bluetooth audio working? |
| 23:20.18 | lamikr | And for enabling multiplexing we have AT+WMUX=1, AT+WMUX=0 will turn to use only the AT commands. |
| 23:22.17 | lamikr | Have 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.06 | cp15 | On the BA there are two GPIO bits to enable/disable BT power. Maybe you have a similar problem? |
| 23:25.36 | cp15 | Maybe the BT gets powered on by DTR and the time is too short to get the processor working? |
| 23:28.17 | lamikr | That 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.28 | lamikr | This 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.29 | cp15 | How did you get the names? |
| 23:30.03 | cp15 | N_=Negative. BT_RST has to be "0" to be active and "1" to be inactive |
| 23:33.05 | lamikr | Thanks, I think that's it. I was putting that also to "1". |
| 23:33.59 | cp15 | So, I will go to bed now |
| 23:34.02 | cp15 | Good night |
| 23:35.02 | lamikr | Good night. I will come back propably tomorrow. |
| 23:35.13 | lamikr | I will now try the gomunicator... |