LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-09-2007, 07:16 AM   #1
TB_205gti
LQ Newbie
 
Registered: Dec 2005
Posts: 20

Rep: Reputation: 0
Nokia 6210 and Gammu..


I have attached the Nokia via a DLR3 Nokia cable (old school com port) - I can connect to it via screen /dev/ttyS1 and send Nokia AT commands to it (send and receive sms) - but when I try to use gemmu it fails.

I both tried AT, DLR3 and FBUSDLR3 in the config - but nothing is working

Please help me, my distro is Fedora Core 4, gammu is latest
 
Old 01-10-2007, 05:26 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
What is the OS? How are you trying to use gammu? In what way does it fail?

DLR3 is right for n6120, and allows AT and FBUS commands.
The setting you want is FBUSDLR3.

How have you set up ~/.gammurc ? (The gammu configuration file?)
Code:
[gammu]
port = /dev/ttyS1
model = 6210
connection = fbusdlr3
synchronizetime = yes
logfile = gammulog
logformat = textall
use_locking = yes
gammuloc = locfile
startinfo = yes
gammucoding = utf8
rsslevel = teststable
usephonedb = yes
COMM port = dos-ism for serial port or RS232 interface.
Gammu Wiki Pages
 
Old 01-10-2007, 08:47 AM   #3
TB_205gti
LQ Newbie
 
Registered: Dec 2005
Posts: 20

Original Poster
Rep: Reputation: 0
I'm using Fedora Core 4, this is my gammurc file:

[gammu]
port = /dev/ttyS0
model = 6210
Connection = fbusdlr3
synchronizetime = yes
logfile = gammulog
logformat = textall
use_locking = yes
gammuloc = locfile
startinfo = no
gammucoding = utf8
rsslevel = teststable
usephonedb = yes



And this is the output I get from gammu --identify

INFO: there is later test Gammu (1.09.15 instead of 1.09.00) available !
No response in specified timeout. Probably phone not connected.


Funny thing is that I can send AT commands to the phone through screen /dev/ttyS0, but gammu fails.
 
Old 01-10-2007, 09:21 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You set the phone to fbusdlr3 and it times-out?!

Perhaps something is blocking the connection: firewall? SELinux?

Thing is - this error comes most often for bluetooth or similar connection and is due to the daemon not running. Have you looked in the gammu logfile for information?
 
Old 01-11-2007, 08:06 AM   #5
TB_205gti
LQ Newbie
 
Registered: Dec 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Simon: Yes it times out My main concern is now the Data cable, it is a clone-DLR3 cable, så maybe it only supports AT commands :/

Well I just tried to install gammu on my windows machine, I attached a Nokia 6230 via a genuine Nokia DCU2 cable - it works like a charm.
 
Old 01-11-2007, 12:07 PM   #6
TB_205gti
LQ Newbie
 
Registered: Dec 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Argh - why won't it work..

I have the nokia_dku2.h and nokia_dku2.c files, Makefile.in, configure, configure.in.

./configure fails with this message:
configure: error: cannot find install-sh or install.sh in ../../config ./../../config

pwd:
/downloads/gammu-1.09.00/other/driver/dku2/kernel_2.6

when I attach the USB cable (and phone) to the USB port dmesg gives me the following:

usb 1-1.2: new full speed USB device using ehci_hcd and address 9
usb 1-1.2: configuration #1 chosen from 1 choice
drivers/usb/class/cdc-acm.c: Ignoring extra header, type -3, length 4
cdc_acm 1-1.2:1.1: ttyACM0: USB ACM device
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters

how the h*ll do I compile the nokia driver - I have loadable modules in the kernel..

Last edited by TB_205gti; 01-11-2007 at 12:19 PM.
 
Old 01-11-2007, 07:41 PM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
it is a clone-DLR3 cable
If it isn't from nokia then you need to check the wiring of the cable, certainly. One wire out of place and you won't be able to use it.

Quote:
configure: error: cannot find install-sh or install.sh in ../../config ./../../config
Configure cannot find an install script? Check you have the right tarball, and check the configure script to see what it is doing (try to find the install.sh script. Point the configure script to it.)

Possibly you don't need to - why don't you just change your gammu script to reflect the new connection?
 
Old 01-12-2007, 06:05 AM   #8
TB_205gti
LQ Newbie
 
Registered: Dec 2005
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Simon Bridge
If it isn't from nokia then you need to check the wiring of the cable, certainly. One wire out of place and you won't be able to use it.
Crappy cheap OEM cable

Quote:
Originally Posted by Simon Bridge
Configure cannot find an install script? Check you have the right tarball, and check the configure script to see what it is doing (try to find the install.sh script. Point the configure script to it.)
I have loads of install.sh scripts on my machine.. but none of them has anything to do with the Nokia DKU2 driver

Quote:
Originally Posted by Simon Bridge
Possibly you don't need to - why don't you just change your gammu script to reflect the new connection?
I was able to connect via AT, both with the Nokia DKU2 cable (Nokia 6230) and the OEM Seriel cable (Nokia 6210) - so now I just use the AT commands..

Thanks for your help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help configuring HP Office Jet 6210??? Southpaw76 Slackware 2 11-13-2006 07:09 AM
LXer: Nokia Runs Short of Nokia 770 Internet Tablets LXer Syndicated Linux News 0 01-16-2006 12:16 PM
Big problems with Averatec 6210 TehRoxor Linux - Laptop and Netbook 3 03-21-2005 12:22 AM
gammu with Nokia 7710 adityavpratap Linux - Laptop and Netbook 0 02-22-2005 05:53 AM
Gammu and Nokia 7250 Maxxer Linux - Software 0 09-29-2004 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration