gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnokii & nokia 5100 & linux


From: Pawel Kot
Subject: Re: gnokii & nokia 5100 & linux
Date: Sun, 2 Mar 2003 22:00:59 +0100 (CET)

On Sun, 2 Mar 2003, Pawel Kot wrote:

> I think it would work with nk6100 driver over irda link. In other words it
> needs few changes in the driver -- I'll send the patch in a couple of
> minutes.

Well, not really that much changes. nk6100 already supports real irda
connection. Please apply:
diff -u common/devices/unixirda.c~ ommon/devices/unixirda.c
--- common/devices/unixirda.c~  Sun Mar  2 22:28:24 2003
+++ common/devices/unixirda.c   Sun Mar  2 22:55:01 2003
@@ -42,6 +42,7 @@

 static char *phone[] = {
        "Nokia 3360",
+       "Nokia 5100",
        "Nokia 6210",
        "Nokia 6310",
        "Nokia 6310i",
diff -u common/phones/nk6100.c~ common/phones/nk6100.c
--- common/phones/nk6100.c~     Sun Mar  2 22:28:24 2003
+++ common/phones/nk6100.c      Sun Mar  2 22:54:32 2003
@@ -182,7 +182,7 @@
        pgen_incoming_default,
        /* Mobile phone information */
        {
-               
"6110|6130|6150|6190|5110|5130|5190|3210|3310|3330|3360|3410|8210|8250|8290|RPM-1",
 /* Supported models */
+               
"6110|6130|6150|6190|5110|5130|5190|3210|3310|3330|3360|3410|8210|8250|8290|RPM-1|5100",
 /* Supported models */
                4,                      /* Max RF Level */
                0,                      /* Min RF Level */
                GN_RF_Arbitrary,        /* RF level units */

Apply with patch -l. Now use the following configuration:
model = 5100
connection = irda
port = /dev/ircomm0

You need to enable irda in your linux stack (you need irport module, setup
the irda port etc) and infrared in the phone. Now try 'gnokii --identify'.
Note that you need write access to /dev/ircomm0.

pkot
-- 
mailto:address@hidden :: mailto:address@hidden
http://kt.linuxnews.pl/ :: Kernel Traffic po polsku






reply via email to

[Prev in Thread] Current Thread [Next in Thread]