gnokii --keysequence function
?It is the name of a project that aims to develop tools and drivers for Nokia mobile phones. These tools include modem drivers, console tools, GUI applications etc. All software that forms part of the project is released under the GNU General Public License. Please see the COPYING file for more details on license/copying issues, the lack of warranty and where to send a postcard if you like gnokii :-) Gnokii is designed to work on a variety of operating systems (Linux, FreeBSD, etc.) and hardware platforms (PPC, Intel, etc.)
You can pronounce gnokii as "gnooki" or "gnocky" at your option :) Note, that there's already a gnocky project, a gtk2 frontend to gnokii, so keep it in mind to be able to distinct them.
These models are supported
The following models are no longer being actively supported by the core team and the underlying code may have undergone some bit rot:
Gnokii cannot connect to the phone. Possible reasons are:
Yes. gnokiid needs to create a symbolic link in the /dev directory. mgnokiidev is the program which does this and hence it must be suid root so it can write to the directory. mgnokiidev is executable only for gnokii group members (and root) so it presents minimal security risk.
Be sure that you don't use a version of gnokii older than 0.3.5 if you want to install mkgnokiidev suid root and give the access for execution for untrusted users. Earlier versions had security problems and allowed people to write to an arbitrary file.
No. There is no need. gnokii isn't intended for setuid/setgid operation. If you set the setuid/setgid bit, you're taking a huge security risk. All you need is read/write permission for the device you are using for connection (port option in the config file). You can safely do it using groups management.
Yes. Just put:
connection = irdaline into your config file.
We don't have any formal documentation of the protocols in use.
The best source we can offer is the knowledge assembled by Nagy Balazs and Marcin Wiacek. You can find result of their work in Docs/protocol/ subdirectory in gnokii sources. Note that not all known protocol functions are implemented in gnokii.
Alternatively there are some web sites that have collated some information:
In general yes, but it depends on hardware -- your serial port must support at least 115200 baud rate. Sun Enterprise 250 machine is known to work with gnokii. Earlier Sparc machines (IPC, IPX, Classic) probably won't work due to hardware limitations.
If your hardware doesn't support 115200 baud rate you can try the M2BUS mode (don't forget it needs an M2BUS capable cable). It is much slower but it should work.
gnokii --keysequence function
?M: menu, N: names, P: power, G: green phone, R: red phone, U: up, D: down +: increase volume, -: decrease volume, 0123456789#* as is.
gnokii didn't install correctly. You probably had gnokii installed already and you either forget to
run make install
or the installation didn't overwrite the old library.
Remove the old libgnokii.so and then rerun make install
.
Install flex. It should be available in every Linux distribution as well as in CygWin.
For Nokia 61X0/51X0 models you should use DAU9P cable. Nokia 61X0
models are also capable to make an infrared connection.
For Nokia 7110/62X0/6310 models you need either DAU9P or DLR3P cable. With
DLR3P cable you can use AT commands to talk to the phone. These phones are
able to make an irda connection.
Most Nokia phones that have no visible connector have one under the battery.
See our cables page to find the sites with more detailes, also the places where
to buy the cable.
Most of the modern phones have the irda connector (3XXX series models don't
have them).
You use ancient version of gnokii! Upgrade! See our downloads page for the detailes.
Either comment out require_dcd variable in the config file or set it to 0.
You need to run gettextize. See autogen.sh and INSTALL files. If you don't have it on your system, grab the -current tarball which should have all needed files already generated.
Something's wrong with the irda device setup. Try to run:
echo 115200 > /proc/sys/net/irda/max_baud_rate
and see whether it helps.
It is quite simple. If you use AT compatible phone you can just use 'model = AT' in the config file. If you have Nokia and you would like to enable FBUS mode (it has more facilities then AT mode), there are few things you should do.
For example, let's say you want to check the support for Nokia 6211, which should be compatible with Nokia 6210. First, find the correct driver. The drivers are located in the common/phones/ directory within the gnokii sources:
pkot@bzzzt:~/gnokii/common/phones$ grep -n 6210 * nk7110.c:148: "7110|6210|6250|7190", /* Supported models */ nk7110.c:958: /* This is ugly hack. But the picture message format in 6210 nk7110.c:1197: /* Nokia 6210 and family does not show not "fixed" messages from the nk7110.c:1610: /* 6210/7110 needs to seek the first free pos to inhabit with next note */
Line 148 in this case is the one you want as it is where we define the GSM_Phone structure. Just add new model, so the line will contain:
7110|6210|6250|7190|6211
Once this is done, look in the file common/misc.c. It contains a large phone capabilities table. Find the one for the phone that is similar to yours. In our case this is 6210:
{"6210", "NPE-3", PM_CALLERGROUP | PM_CALENDAR | PM_SPEEDDIAL | PM_NETMONITOR | PM_EXTPBK | PM_SMS | PM_FOLDERS }
We will replace two first fields as for our phone. The second field is the phone model identifier. In most of the phones to get this type on your phone keyboard the following sequence: *#0000#. If it doesn't work search the Internet for the information. Let's say in our example that the string is NPL-3. Our line will contain:
{"6211", "NPL-3", PM_CALLERGROUP | PM_CALENDAR | PM_SPEEDDIAL | PM_NETMONITOR | PM_EXTPBK | PM_SMS | PM_FOLDERS }
This is almost everything. If you have Linux and need to enable the IrDA connection, edit the common/devices/unixirda.c file. Find there the phone[] table. It contains the numerous Nokia models mentioned. Add your phone name there. In our case: "Nokia 6211". Recompile the sources and add "model = 6211" (according to your Nokia model) to the config and try if it works. In any case let us know (to the gnokii mailing list) about the result.