All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Introduction of HACKING file in phonesim
@ 2010-06-01  9:36 Naresh Mehta
  2010-06-01 16:56 ` Denis Kenzior
  2010-06-02  2:14 ` Gu, Yang
  0 siblings, 2 replies; 7+ messages in thread
From: Naresh Mehta @ 2010-06-01  9:36 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 4462 bytes --]


Signed-off-by: Naresh Mehta <nareshtechs@gmail.com>
---
 HACKING |  102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 102 insertions(+), 0 deletions(-)
 create mode 100644 HACKING

diff --git a/HACKING b/HACKING
new file mode 100644
index 0000000..33eae20
--- /dev/null
+++ b/HACKING
@@ -0,0 +1,102 @@
+Hacking on phonesim
+*******************
+
+phonesim is a soft modem that eliminates the need to have an actual AT
+modem connected to the system for testing and developing Ofono.
+
+Build tools requirements
+========================
+
+When building and testing directly from the repository it is important to
+have at least automake version 1.10 or later installed. All modern
+distributions should default to the latest version, but it seems that
+Debian's default is still an earlier version:
+
+  Check version
+    # dpkg -l '*automake*'
+
+  Install new version
+    # apt-get install automake1.10
+    # update-alternatives --config automake
+
+QT development libraries (libqt4-dev) are also required for building
+phonesim. It is recommended to install the QT 4 development tools package
+(qt4-dev-tools) as an alternative if available with your distribution.
+
+Working with the source code repository
+=======================================
+
+The repository contains two extra scripts that accomplish the bootstrap
+process. One is called "bootstrap" which is the basic scripts that uses the
+autotools scripts to create the needed files for building and installing.
+It makes sure to call the right programs depending on the usage of shared or
+static libraries or translations etc.
+
+The second program is called "bootstrap-configure". This program will make
+sure to properly clean the repository, call the "bootstrap" script and then
+call configure with proper settings for development. It will use the best
+options and pass them over to configure. These options normally include
+the enabling the maintainer mode and the debugging features.
+
+So while in a normal source project the call "./configure ..." is used to
+configure the project with its settings like prefix and extra options. In
+case of bare repositories call "./bootstrap-configure" and it will bootstrap
+the repository and calls configure with all the correct options to make
+development easier.
+
+In case of preparing for a release with "make distcheck", don't use
+bootstrap-configure since it could export development specific settings.
+
+So the normal steps to checkout, build and install such a repository is
+like this:
+
+  Checkout repository
+    # git clone git://git.kernel.org/pub/scm/network/ofono/phonesim.git
+    # cd phonesim
+
+  Configure and build
+    # ./bootstrap-configure
+    # make
+
+  Check installation
+    # make install DESTDIR=$PWD/x
+    # find x
+    # rm -rf x
+
+  Check distribution
+    # make distcheck
+
+  Final installation
+    # sudo make install
+
+  Remove autogenerated files
+    # make maintainer-clean
+
+
+Running from within the source code repository
+==============================================
+
+When using "./configure --enable-maintainer-mode" the automake scripts will
+use the plugins directly from within the repository. This removes the need
+to use "make install" when testing "phonesim". The "bootstrap-configure"
+automatically includes this option.
+
+  Run phonesim in foreground using the following options
+    # ./src/phonesim -p 12345 -gui xml/default.xml
+
+Check your modem.conf file and enable the phonesim configuration before
+executing the above command. Argument -p should be followed by the proper
+port number, in case you have changed the default "12345". Argument -gui
+will launch the gui once the modem is enabled.
+
+To enable the modem, make sure the ofono daemon is running and execute the
+enable-modem script with /phonesim argument (default defined in modem.conf,
+change if changes to that section has been made). The AT chat can then
+be seen in the GUI window. Running the script disable-modem with /phonesim
+argument will turn off the soft modem.
+
+The default.xml can be tweaked further to include additional AT-Commands and
+supposed responses from the soft modem.
+
+For production installations or distribution packaging it is important that
+the "--enable-maintainer-mode" option is NOT used.
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] Introduction of HACKING file in phonesim
  2010-06-01  9:36 [PATCH] Introduction of HACKING file in phonesim Naresh Mehta
@ 2010-06-01 16:56 ` Denis Kenzior
  2010-07-07 13:17   ` Touk
  2010-06-02  2:14 ` Gu, Yang
  1 sibling, 1 reply; 7+ messages in thread
From: Denis Kenzior @ 2010-06-01 16:56 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

Hi Naresh,

> Signed-off-by: Naresh Mehta <nareshtechs@gmail.com>

We don't use Signed-off-by in ofono / phonesim.  Fixed it for you, but please 
keep that in mind next time.

> ---
>  HACKING |  102
>  
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
1 files
>  changed, 102 insertions(+), 0 deletions(-)
>  create mode 100644 HACKING

Patch has been applied, thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [PATCH] Introduction of HACKING file in phonesim
  2010-06-01  9:36 [PATCH] Introduction of HACKING file in phonesim Naresh Mehta
  2010-06-01 16:56 ` Denis Kenzior
@ 2010-06-02  2:14 ` Gu, Yang
  2010-06-02  2:40   ` Marcel Holtmann
  1 sibling, 1 reply; 7+ messages in thread
From: Gu, Yang @ 2010-06-02  2:14 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

Hi Naresh,

>-----Original Message-----
>From: ofono-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On Behalf Of
>Naresh Mehta
>Sent: Tuesday, June 01, 2010 5:36 PM
>To: ofono(a)ofono.org
>Subject: [PATCH] Introduction of HACKING file in phonesim
>
>+
>+When using "./configure --enable-maintainer-mode" the automake scripts will
>+use the plugins directly from within the repository. This removes the need
>+to use "make install" when testing "phonesim". The "bootstrap-configure"
>+automatically includes this option.
>+
>+  Run phonesim in foreground using the following options
>+    # ./src/phonesim -p 12345 -gui xml/default.xml

The "xml" directory has been removed. So here should be "src/default.xml".


Regards,
-Yang

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [PATCH] Introduction of HACKING file in phonesim
  2010-06-02  2:14 ` Gu, Yang
@ 2010-06-02  2:40   ` Marcel Holtmann
  2010-06-02  6:25     ` Naresh Mehta
  0 siblings, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2010-06-02  2:40 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 563 bytes --]

Hi Yang,

> >+When using "./configure --enable-maintainer-mode" the automake scripts will
> >+use the plugins directly from within the repository. This removes the need
> >+to use "make install" when testing "phonesim". The "bootstrap-configure"
> >+automatically includes this option.
> >+
> >+  Run phonesim in foreground using the following options
> >+    # ./src/phonesim -p 12345 -gui xml/default.xml
> 
> The "xml" directory has been removed. So here should be "src/default.xml".

good catch. I fixed that up. Thanks.

Regards

Marcel



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Introduction of HACKING file in phonesim
  2010-06-02  2:40   ` Marcel Holtmann
@ 2010-06-02  6:25     ` Naresh Mehta
  0 siblings, 0 replies; 7+ messages in thread
From: Naresh Mehta @ 2010-06-02  6:25 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 956 bytes --]

Thanks All. Will keep the different things in mind in my next patches.

BR; Naresh

On Wed, Jun 2, 2010 at 4:40 AM, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Yang,
>
>> >+When using "./configure --enable-maintainer-mode" the automake scripts will
>> >+use the plugins directly from within the repository. This removes the need
>> >+to use "make install" when testing "phonesim". The "bootstrap-configure"
>> >+automatically includes this option.
>> >+
>> >+  Run phonesim in foreground using the following options
>> >+    # ./src/phonesim -p 12345 -gui xml/default.xml
>>
>> The "xml" directory has been removed. So here should be "src/default.xml".
>
> good catch. I fixed that up. Thanks.
>
> Regards
>
> Marcel
>
>
> _______________________________________________
> ofono mailing list
> ofono(a)ofono.org
> http://lists.ofono.org/listinfo/ofono
>



-- 

BR; Naresh

visit me at:
http://www.naresh.se/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Introduction of HACKING file in phonesim
  2010-06-01 16:56 ` Denis Kenzior
@ 2010-07-07 13:17   ` Touk
  2010-07-07 13:30     ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: Touk @ 2010-07-07 13:17 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

Denis Kenzior <denkenz@...> writes:

> 
> Hi Naresh,
> 
> > Signed-off-by: Naresh Mehta <nareshtechs@...>
> 
> We don't use Signed-off-by in ofono / phonesim.  Fixed it for you, but please 
> keep that in mind next time.
> 
> > ---
> >  HACKING |  102
> >  
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> 1 files
> >  changed, 102 insertions(+), 0 deletions(-)
> >  create mode 100644 HACKING
> 
> Patch has been applied, thanks.
> 
> Regards,
> -Denis
> 


Dear,

i'm working on a project which needs to use "AT+CSIM" commands but I don't have 
any information about the syntax of this commmand.
So I'm working on the n900 nokia.
Can you give me some informations about that.
regards! 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] Introduction of HACKING file in phonesim
  2010-07-07 13:17   ` Touk
@ 2010-07-07 13:30     ` Marcel Holtmann
  0 siblings, 0 replies; 7+ messages in thread
From: Marcel Holtmann @ 2010-07-07 13:30 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 423 bytes --]

Hi Touk,

> i'm working on a project which needs to use "AT+CSIM" commands but I don't have 
> any information about the syntax of this commmand.
> So I'm working on the n900 nokia.
> Can you give me some informations about that.

so I am getting a bit strict here now. Don't hijack other peoples
threads with your unrelated questions. Please start a proper new thread
for your question.

Regards

Marcel



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-07-07 13:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-01  9:36 [PATCH] Introduction of HACKING file in phonesim Naresh Mehta
2010-06-01 16:56 ` Denis Kenzior
2010-07-07 13:17   ` Touk
2010-07-07 13:30     ` Marcel Holtmann
2010-06-02  2:14 ` Gu, Yang
2010-06-02  2:40   ` Marcel Holtmann
2010-06-02  6:25     ` Naresh Mehta

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.