Posts mit dem Label fbus werden angezeigt. Alle Posts anzeigen
Posts mit dem Label fbus werden angezeigt. Alle Posts anzeigen

Donnerstag, 18. August 2011

Switching the Nokia 1208 from local mode to Normal mode by FBUS

Yes I did it!!!!!

After fiddling around a little bit I solved the issue how to power up the Nokia 1208 only by FBUS and by enabling battery power. I just disabled the CheckDCT4Only() function code in gammu.

Because the phone seems to get stuck on this code segment. After removing the code the phone powers up as expected. The code segment is located in this file: gammu/depend/nokia/dct4.c in line 31.

I hope I can investigate the whole CheckDCT4Only() function in the next few days.
And maybe I'll develop a patch for gammu.

The next step will be writing my own code to access the phone.


Mittwoch, 10. August 2011

How to build my modified gammu version from git on ubuntu

First of all you the git package have to be installed on your box:
sudo apt-get install git
Next step is to install all the required source and development packages.
sudo apt-get build-dep gammu
Now you have to get the gammu sources from my github repository
git clone https://github.com/ka23/gammu.git
Change the directory to the newly created gammu folder and create a new build folder and change to it
cd gammu/
mkdir build
cd build
Now cmake have to be executed
cmake ..
This will take some time ... after everything have been created, you have to call make
make
Now You have to wait even longer... But after a successful compiler run gammu is available in the gammu folder
gammu/gammu
To test your freshly compiled gammu you have to provide a gammurc file "~/.gammurc" which looks like this in my case:
[gammu]
device = /dev/ttyUSB0
connection = fbus

After this you can call
gammu/gammu --identify







This is my homebrew universal USB to Nokia FBUS Cables Adapter

As I mentioned in a previous Post I use this RJ45 Connector which I extracted from an old DSL router to plug-in various Adapter Cables.



The banana sockets are used to connect the different not fbus related pins to the adaptor cables. These are Power for example.The cable straps are used as strain relief (Zugentlastung in German).

The following Banana jacks are connected to the following PINS on adapter cable

For the easy-flash 3 in 1 adapter:
  • The red one is connected to the power clamp on the small cable. And to VCC Pin of Easy Flash I.
  • The green one is connected to the BSI Pin on the connector this applies to Easy Flash I and Easy Flash II Easy Flash III was not tested. There seems to be a 3.3k Ohm resistor included.
  • The blue one is connected to GND (Ground).
  • The black and yellow ones are not connected.

Donnerstag, 4. August 2011

Are there any fbus specifications available?

The only useful documentation if found is the one from gammu/gnokii which can be found on my github repository for example:

nokia.rst - The general nokia part which covers fbus and mbus
n6110.rst - Nokia 6110 and derivatives (Nokia 6130, 6150, 6190, 5110, 5130, 5150, 5190, 3210, 3310)
n7110.rst - Nokia 6210 and derivatives (7110)
n6510.rst - Nokia 6510 and derivatives (?)

The rest of the documentation can be found here.

If there is more documentation out there some one may can drop me a comment.

Some more c++ code can be found here.