gnokii-users
[Top][All Lists]
Advanced

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

kernel 2.6.0-test9, bluetooth, gnokii and nokia 6310i


From: Klaas Decanniere
Subject: kernel 2.6.0-test9, bluetooth, gnokii and nokia 6310i
Date: Wed, 29 Oct 2003 00:20:38 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

Hi!

I'm trying to get gnokii-0.5.5 running on 2.6.0-test9 kernel bluetooth and I'm a bit stuck.
Going wireless seemed like a good idea.
I'm a bit stuck, though...

System is a (heavily updated) Suse 8.1 linux on AMD athlon
kernel is 2.6.0-test9, with various bluetooth stuff as modules
the bluetooth dongle is Sitecom/USB (which works in WinXP)

bluetooth-related kernel modules loaded are:
bluetooth
hci_usb
l2cap
rfcomm

I have bluez-utils, bluez-libs and gnokii 0.5.5 installed (all compiled after kernel compile, standard configure)

hciconfig hci0 up works (as root)
hciconfig gives:
hci0:   Type: USB
       BD Address: 00:10:60:A4:73:12 ACL MTU: 192:8  SCO MTU: 64:8
       UP RUNNING PSCAN ISCAN
       RX bytes:1208 acl:39 sco:0 events:79 errors:0
       TX bytes:894 acl:36 sco:0 commands:20 errors:0


hcitool scan finds my phone:
       00:60:57:6A:8E:9C       Nokia 6310i

and I can l2ping the phone

given the .gnokiirc below , my computer requests a connection to the phone, which I allow pressing a button on the phone. Then nothing happens for a while, after which the connection is aborted and gnokii ends with:

GNOKII Version 0.5.5
Can't connect: Resource temporarily unavailable
Couldn't open PHONET device: Resource temporarily unavailable
Telephone interface init failed: Command failed.
Quitting.

Any tips on how to get past this stage?
Thanks.

Klaas

# This is a sample ~/.gnokiirc file.  Copy it into your
# home directory and name it .gnokiirc.
#

[global]

# Set port to the physical serial port used to connect to your phone.
# Linux version is:
# port = /dev/ttyS0
# For MacOSX you will need something like:
# port = /dev/cu.USA28X1P1.1
#
# Use this setting also for the Bluetooth connection:
port = 00:60:57:6A:8E:9C

# port = 00:10:60:A4:73:12

# Set model to the model number of your phone
model = 6310i

# Initlength controls the number of characters sent to the
# phone during initialisation.  You can either set it to
# the word "default" or a positive integer.
#
# You can try setting this value if you want to connect
# to the phone quicker.  If you've never noticed the
# connection to be slow, it is suggested that you
# leave this alone.  Read the initialisation code in fbus-xxxx
# to understand what this changes if you're curious.
initlength = default

# The type of the connection, for IR set this to infrared or irda.
# For the nk6110 driver only infrared is valid for the IrDA connection.
# See Docs/gnokii-ir-howto for more detailes on this.
# If you have 6210/6250/7110 phone and dau9p cable (the one you can
# use with 6100 series and cannot use hardware modem from the phone)
# you may want to use 'dau9p' value to get faster initialization.
# If you use dlr3 or dlr3p cable for nokia phones in FBUS mode (ie.
# you don't use model = AT) you may want to use 'dlr3p' value here.
# Note that it is recommended and currently the best way to use this
# cable with nk6510 driver.
connection = bluetooth

# Set bindir to point to the location of the various gnokii binaries.
# In particular ensure that mgnokiidev is in this location, with
# permissions 4750, owned by root, group gnokii.  Ensure you
# are in the gnokii group and that the group exists...
bindir = /usr/local/sbin/

# Set this to 'yes' if you want gnokii to set and check the lock file in
# /var/lock directory. It avoids potential conflicts with other serial
# port software (eg. minicom). If you have wrong permissions for the
# directory, a warning will be generated. If you don't want a lockfile, set
# it to 'no'.
use_locking = yes

# Baudrate to use on serial port connections.
# Currently used only by models AT and BIP/CIMD. Defaults to 19200.
serial_baudrate = 19200

# Force waiting after each send character the specified usec time.
# Value -1 forces the fastest 'block' writing,
# value 0 writes each character separately without any explicite waiting,
# other positive values specify the appropriate 1/1000000 sec delaying.
# Siemens M20 requires at least "1"!  FIXME: Model-driven autodetection
#serial_write_usleep = 10000

# Force serial port handshaking mode, useful primarily for "AT" model.
# Gnokii "AT" model uses software handshake by default.
# Possible values: hardware (RTS/CTS - 7 wires) or software (XON/XOFF - 3 wires)
#handshake = software

# If defined (not commented out by '#') it will quit Gnokii anytime
# when DCD line will drop.
#require_dcd = 1

# Run the specified script(s) right after opening and initializing the device
# and before any communucation (right before closing for disconnect_script).
# You may find handy to use it to connect your modem to SMS Center
# when using BIP or CIMD protocols
# Non-absolute path is relative to the specific directory where gnokii is run!
#connect_script = /absolute/path/to/gnokii/Docs/sample/cimd-connect
#disconnect_script =

# When sending SMS you can experience timeouts. This is the feature of the
# overloaded SMSCs. The phones waits for the response from the SMSC confirming # that it received the short message. When the SMSC is DoSed with many requests
# it will take more time to get the response. Adjust it to your needs. The
# value is given in seconds to wait. Defaults to 10 seconds. Set to 0 to wait
# forever.
smsc_timeout = 10

# Any entries in the following two sections will be set as environment
# variables when running the scripts.
# Handy for use for $VAR substitutions in your chat(8) script.
[connect_script]
TELEPHONE = 12345678
[disconnect_script]








reply via email to

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