:pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Fri Dec 14 20:46 CET 2001
[gnokii.git] / Docs / gnokii-ir-howto
1   Gnokii-Infrared-HowTo
2   Thomas Schneider, ts-ml@dev-thomynet.de
3   Version: 1.04, 04 Aug 1999
4
5   This document describes how to use the infrared-function of gnokii
6   ______________________________________________________________________
7
8   Table of Contents
9
10
11   1. Preamble
12
13      1.1 Copyright
14      1.2 Credits
15      1.3 Comments
16      1.4 Latest version of this document
17
18   2. Introduction
19
20   3. Installation
21
22      3.1 What Gnokii needs for communication over infrared
23      3.2 Installing and Configuring the Software
24
25   4. Mobiles and their software-version
26
27      4.1 Get software-version of your phone
28      4.2 Tested phone-software-version
29
30   5. PC-Hardware and Configuration
31
32      5.1 Laptops - who work with gnokii
33         5.1.1 DELL Inspiron 7000 A366LT
34         5.1.2 DELL Latitude LM 166
35         5.1.3 DELL Latitude D266XT w/ C/Dock
36         5.1.4 Fujitsu Lifebook B110 'Biblo' Laptop
37         5.1.5 Gericom (Network) Notebook with SIR-Infrared
38         5.1.6 IBM Thinkpad 390
39         5.1.7 IBM Thinkpad 600
40         5.1.8 Toshiba Libretto 70CT
41      5.2 Laptops - who don't work
42      5.3 Mainboards - who work with gnokii
43         5.3.1 ASUS ????
44      5.4 Mainboards - who don't work with gnokii
45      5.5 External Adapters - who work with gnokii
46      5.6 External Adapters - who don't work with gnokii
47         5.6.1 Tekram IR210B
48
49   6. Gnokii over infrared versus LINUX-IRDA
50
51   7. FAQ
52
53   8. Appendix A: COM-Port-Table
54
55
56
57   ______________________________________________________________________
58
59   1.  Preamble
60
61   1.1.  Copyright
62
63   Copyright Thomas Schneider 1999
64
65   You may redistribute and/or modify this document as long as you comply
66   with the terms of the GNU General Public Licence, version 2 or later.
67   1.2.  Credits
68
69   Special thanks go to Hugh Blemings and Pavel Janik, they are the
70   maintainer of gnokii, for the good work. Also to Colin Paton for his
71   mail with description connection establishment over infrared.
72
73
74   1.3.  Comments
75
76   Do not hesitate to tell me any thing you think will help make this
77   document better. I will examine your critics thoroughly.  Do not
78   hesitate as well to ask me any questions related to topics discussed
79   here. I will be more than happy to answer them, as they may help me
80   further improve this document. (-- Translator note: If the English is
81   ugly, well then that goes to me!--)
82
83   Note:If you have any big problems or other questions to gnokii -
84   please mail to gnokii-mailinglist and not to me! For more details:
85   http://www.gnokii.org/
86
87
88   1.4.  Latest version of this document
89
90   You can find the latest version of this document in the gnokii-
91   distribution under: http://www.gnokii.org/ or in the web on
92   http://www.dev-thomynet.de/nokworld/gnokii-infrared-howto/ .
93
94
95   2.  Introduction
96
97   Gnokii is a suite of programs what deal with some mobilephones from
98   NOKIA (http://www.nokia.com ).
99
100   This document is the guide to use gnokii over infrared.  It is not the
101   general gnokii-userguide and contains no part of protocol.
102
103
104   3.  Installation
105
106   You can get gnokii from gnokiis-homepage:
107
108   o  http://www.gnokii.org/
109
110   Gnokii-package is available in some different formats: rpm and tgz.
111   To install the tgz unpack the package with
112
113   tar xvzf filename
114
115
116   The first address after unpack is file README in dir gnokii - all
117   important parts you can read in it.
118
119
120   3.1.  What Gnokii needs for communication over infrared
121
122   Since version **FIX_ME** gnokii contains everything that you need in
123   software for infrared-communication.
124
125   On the other side you need some hardware:
126
127   1. nokia mobile phone with infrared-port.  Some phones are: 6110, 6150
128
129   2. infrared-port on your pc or notebook.  In moment only SIR works
130      with gnokii, because phones are limmited to 115200 bps.
131
132
133   3.2.  Installing and Configuring the Software
134
135   All steps needed to install and configure gnokii are described in
136   README.  Here is the short way for configure infrared with gnokii:
137
138
139   1. Copy the file sample/gnokiirc as .gnokiirc in your homedir.
140
141
142        cp Docs/sample/gnokiirc ~/.gnokiirc
143
144
145
146
147   2. Edit the ~/.gnokiirc file:
148
149
150        port       = /dev/ttyS1 # Set this to the port where you infrared-equipment is connected.
151        model      = 6150       # Set up to your model.
152        connection = infrared   # If you want connection over cable set this to serial.
153
154
155
156
157   3. Make the complete gnokii-software with make in gnokii-dir.
158
159   Thats all! If you use infrared in ~/.gnokiirc all parts of the gnokii-
160   distribution use communication over infrared! This parts are in
161   moment:
162
163   1. gnokii
164
165   2. xgnokii
166
167   3. gnokiid
168
169
170   4.  Mobiles and their software-version
171
172   In all tested situations the software from your phone is not the
173   problem if you can't connect it over infrared. The problem in such
174   situations was the pc-equipment or the pc-configuration. If you have
175   problems please look first in ``pc-section''.
176
177
178   4.1.  Get software-version of your phone
179
180   To get the software-version from your phone press in idle-mode:
181
182
183        *#0000#
184
185
186
187
188
189   4.2.  Tested phone-software-version
190
191
192   1. 6100
193
194   o  V 4.73, 22-04-98, NSE-3
195
196   o  V 5.24, 14-09-98, NSE-3
197
198
199   2. 6150
200
201   o  V 4.01, 23-09-98
202
203   o  V 4.12, 02-12-98, NSM-1
204
205   o  V 5.02, 02-02-99, NSM-1
206
207
208   5.  PC-Hardware and Configuration
209
210   This is the most cause for some problems. In moment gnokii works only
211   with SIR- equipment and not with FIR-eqipment. One reason for this is,
212   what phone-speed is limited to 115200 bps.  If you have any problems
213   with your equipment read the following parts. Adapters can be the
214   following:
215
216   o  Internal Adapters
217
218   o  Serial Adapters
219
220   o  SIR
221
222   o  FIR
223
224   o  Parallel Adapters
225
226   o  SIR
227
228   o  FIR
229
230   o  External Adapters
231
232   o  Serial Adapters
233
234   o  SIR
235
236   o  FIR
237
238   o  Parallel Adapters
239
240   o  SIR
241
242   o  FIR
243
244   Mosts laptops have an internal infrared-port. Some motherboards - ASUS
245   for example - have also a infrared-connector. On this boards you must
246   buy a little infrared-transmitter to use infrared-connections.
247
248   It is very difficult to describe all parts of configuration. On this
249   reason this HowTo list all tested laptops and other hardware in each
250   section.
251
252
253   5.1.  Laptops - who work with gnokii
254
255   Short list:
256
257   o  ``DELL Inspiron 7000 A366LT''
258
259   o  ``DELL Latitude LM 166''
260
261   o  ``DELL Latitude D266XT w/ C/Dock''
262
263   o  ``Fujitsu Lifebook B110 'Biblo' Laptop''
264
265   o  ``Gericom (Network) Notebook with SIR-Infrared''
266
267   o  ``IBM Thinkpad 390''
268
269   o  ``IBM Thinkpad 600''
270
271   o  ``Toshiba Libretto 70CT''
272
273
274   5.1.1.  DELL Inspiron 7000 A366LT
275
276
277   o  BIOS-Version  : Phoenix BIOS 4.0, Release: 6.0
278
279   o  CPU           : Mobile Pentium II, MMX, 366MHz, BIOS Rev A10 (037A)
280
281   o  Memory        : 256 MByte
282
283   o  Kernel        : 2.2.5
284
285   o  Distibution   : SuSE 6.1 (german version)
286
287   o  reported from : Thomas Schneider < ts-ml@dev-thomynet.de >
288
289   o  BIOS-Menu     : System Devices: Infrared Port: Customized: SIR,
290      2F8, IRQ3
291
292   o  Configuration : In BIOS you can configure many thinks for the
293      internal-infrared-port.  First you have some choices: SIR or FIR or
294      AUTO. All kinds are tested and works - also FIR!  For the COM-Port
295      you must set address in hex and irq. For FIR and AUTO you must also
296      DMA.  If you have problems with address/irq look in ``COM-PORT-
297      Table''.  Tested with all possibillity com-port from 1 to 4 and
298      their default irqs - no problems. DMA was set in all test to: 3.
299
300   o  Known Problems: no problems known yet
301
302   o  Note          : -
303
304
305   5.1.2.  DELL Latitude LM 166
306
307
308   o  BIOS-Version  : Phoenix NoteBIOS 4.0
309
310   o  CPU           : Mobile Pentium, MMX, 166MHz
311
312   o  Memory        : 40 MByte
313
314   o  Kernel        : 2.2.5
315
316   o  Distibution   : SuSE 6.1 (german version)
317
318   o  reported from : Thomas Schneider < ts-ml@dev-thomynet.de >
319
320   o  BIOS-Menu     : Peripherals: Integrated Peripherals: Infrared: COM2
321
322   o  Configuration : You must enable in BIOS the internal-infrared-port
323      and must setup the COM-Port on which the internal ir-adapter should
324      work. If you want what infrared use COM2 you must set it here for
325      example.
326
327   o  Known Problems: no problems known yet
328
329   o  Note          : -
330
331   5.1.3.  DELL Latitude D266XT w/ C/Dock
332
333
334   o  BIOS-Version  : ????
335
336   o  CPU           : ????
337
338   o  Memory        : ????
339
340   o  Kernel        : ????
341
342   o  Distibution   : ????
343
344   o  reported from : Stig-rjan Smelror < Stig.Orjan.Smelror@winther.net
345      > on 26. July to gnokii-ml
346
347   o  BIOS-Menu     : Peripherals: Integrated Peripherals: Infrared: COM2
348
349   o  Configuration : You must enable in BIOS the internal-infrared-port
350      and must setup the COM-Port on which the internal ir-adapter should
351      work. If you want what infrared use COM2 you must set it here for
352      example.
353
354   o  Known Problems: no problems known yet
355
356   o  Note          : -
357
358
359   5.1.4.  Fujitsu Lifebook B110 'Biblo' Laptop
360
361
362   o  BIOS-Version  : PhoenixBIOS v1.09 10/28/1998
363
364   o  CPU           : 233 MMX
365
366   o  Memory        : 32 MByte
367
368   o  Kernel        : 2.2.5-15
369
370   o  Distibution   : Redhat 6.0
371
372   o  reported from : Tuomas Salo < tuomas@optinet.fi > on 28. July to
373      gnokii-ml
374
375   o  BIOS-Menu     : ????
376
377   o  Configuration : Serial B: Mode IrDA (not FIR), 3F8 IRQ 4
378
379   o  Known Problems: no problems known yet
380
381   o  Note          : -
382
383
384   5.1.5.  Gericom (Network) Notebook with SIR-Infrared
385
386
387   o  BIOS-Version  : SystemSoft SCU For Intel 430TX/440BX
388
389   o  CPU           : 233 MMX
390
391   o  Memory        : ????
392
393   o  Kernel        : ????
394
395   o  Distibution   : ????
396
397   o  reported from : Marcel Holtmann < marcel@rvs.uni-bielefeld.de > on
398      22. July to gnokii-ml
399
400   o  BIOS-Menu     : Components/COM Ports
401
402   o  Configuration : COM A:   COM1, 3F8, IRQ4   (Standard Serial for
403      Cable or somthing else) COM B:   COM2, 2F8, IRQ3   (Bulit in IR
404      Port) Mode for COM B:   IrDA (HPSIR)
405
406   o  Known Problems: no problems known yet
407
408   o  Note          : -
409
410
411   5.1.6.  IBM Thinkpad 390
412
413
414   o  BIOS-Version  : V1.0 R01-A7
415
416   o  CPU           : 233 MMX
417
418   o  Memory        : 32 MByte
419
420   o  Kernel        : 2.2.5-15
421
422   o  Distibution   : Redhat 6.0
423
424   o  reported from : Mario Viljac < Mario.Viljac@znanost.hr > on 22.
425      July to gnokii-ml
426
427   o  BIOS-Menu     : Config->Advanced Setup
428
429   o  Configuration : IR-port must be enabled, set also COM-Address and
430      IRQ. If you have problems with address/irq look in ``COM-PORT-
431      Table''.
432
433   o  Known Problems: no problems known yet
434
435   o  Note          : -
436
437
438   5.1.7.  IBM Thinkpad 600
439
440
441   o  BIOS-Version  : ????
442
443   o  CPU           : ????
444
445   o  Memory        : ????
446
447   o  Kernel        : ????
448
449   o  Distibution   : ????
450
451   o  reported from : Tuomas Mttnen < maattanen@iki.fi > on 06. July to
452      gnokii-ml
453
454   o  BIOS-Menu     : ????
455
456   o  Configuration : ????
457
458   o  Known Problems: no problems known yet
459
460   o  Note          : -
461
462
463   5.1.8.  Toshiba Libretto 70CT
464
465
466   o  BIOS-Version  : 6.20
467
468   o  CPU           : Intel P120MMX
469
470   o  Memory        : 32 MByte
471
472   o  Kernel        : 2.0.36
473
474   o  Distibution   : Red Hat 5.2
475
476   o  reported from : Patrick Robbe < probbe@mail.dotcom.fr > on 30. July
477      to gnokii-ml
478
479   o  BIOS-Menu     : ????
480
481   o  Configuration : Infrared port (COM2) 2F8h / IRQ3, mode IrDA
482      compatible.
483
484   o  Known Problems: no problems known yet
485
486   o  Note          : -
487
488
489   5.2.  Laptops - who don't work
490
491   No mails for this part in moment.
492
493
494   5.3.  Mainboards - who work with gnokii
495
496   Short list:
497
498   o  ``ASUS ????''
499
500
501   5.3.1.  ASUS ????
502
503
504   o  BIOS-Version  : ????
505
506   o  CPU           : ????
507
508   o  Memory        : ????
509
510   o  Kernel        : ????
511
512   o  Distibution   : ????
513
514   o  reported from : mail from Victor L. Belov on 06. July to gnokii-ml
515
516   o  BIOS-Menu     : ????
517
518   o  Configuration : ????
519
520   o  Known Problems: no problems known yet
521
522   o  Note          : -
523
524
525   5.4.  Mainboards - who don't work with gnokii
526
527   No mails for this part in moment.
528
529   5.5.  External Adapters - who work with gnokii
530
531   No mails for this part in moment.
532
533
534   5.6.  External Adapters - who don't work with gnokii
535
536   Short list:
537
538   o  ``Tekram IR210B''
539
540
541   5.6.1.  Tekram IR210B
542
543
544   o  BIOS-Version  : ????
545
546   o  CPU           : ????
547
548   o  Memory        : ????
549
550   o  Kernel        : ????
551
552   o  Distibution   : ????
553
554   o  reported from : Any mails from some peopel.
555
556   o  BIOS-Menu     : ????
557
558   o  Configuration : ????
559
560   o  Known Problems: don't work
561
562   o  Note          : selfpowered over com-port Must be tested - mail to
563      gnokii-ml.
564
565
566   6.  Gnokii over infrared versus LINUX-IRDA
567
568   You can not use gnokii over infrared and linux-irda at the same time.
569   If you want use gnokiis ir-communication you must put linux-irda off.
570   If you want use linux-irda you must close all gnokii-applications what
571   use the infrared-port in moment.
572
573
574   7.  FAQ
575
576   No FAQ is available in moment.
577
578
579   8.  Appendix A: COM-Port-Table
580
581   Here you find the default addresses and irq's from com1 up to com4 -
582   or ttyS0 up to ttyS3.
583
584
585   o  ttyS0: 3F8, IRQ: 4, COM1
586
587   o  ttyS1: 2F8, IRQ: 3, COM2
588
589   o  ttyS2: 3E8, IRQ: 4, COM3
590
591   o  ttyS3: 2E8, IRQ: 3, COM4
592
593
594