gnokii-users
[Top][All Lists]
Advanced

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

getting started with usb and n52


From: Jon Berg
Subject: getting started with usb and n52
Date: Wed, 18 Aug 2010 23:33:07 +0200

Hi,

I tried to get gnokii to work, I have n52 connected with usb to a
linux. I have installed gnokii by using the archlinux package.
The it is connected with CA-126 usb cable.

lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0421:01cd Nokia Mobile Phones
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I tried a basic config:

gnokii --identify
GNOKII Version 0.6.29
Couldn't read /home/jberg/.config/gnokii/config config file.
Couldn't read /etc/xdg/gnokii/config config file.
Couldn't read /home/jberg/.gnokiirc config file.
LOG: debug mask is 0x1
Config read from file /etc/gnokiirc.
phone instance config:
model = AT
port = 1
connection = dku2libusb
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Initializing AT capable mobile phone ...
Initialization failed (6)
Serial device: closing device
Telephone interface init failed: Function or connection type not
supported by the phone or by the phone driver.
Quitting.
Function or connection type not supported by the phone or by the phone driver.

Then I read: http://wiki.gnokii.org/index.php/Cables
And tried the two configurations under DKE-2:
[global]
model = series40
port = 1
connection = dku2libusb

That resulted in:
gnokii --identify
GNOKII Version 0.6.29
Couldn't read /home/jberg/.config/gnokii/config config file.
Couldn't read /etc/xdg/gnokii/config config file.
Couldn't read /root/.gnokiirc config file.
LOG: debug mask is 0x1
Config read from file /etc/gnokiirc.
phone instance config:
model = series40
port = 1
connection = dku2libusb
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Connecting
Serial device: opening device USB
Couldn't open PHONET device: Inappropriate ioctl for device
Error in link initialisation: 1
Telephone interface init failed: Command failed.
Quitting.
Command failed.


Then the other, did: /bin/mknod /dev/ttyACM0 c 166 0, also tried with
modprobe usbserial vendor=0x421 product=0x1cd
is there maybe something else that needs to be done to configure
/dev/ttyACM0 here?

I am not a super linux specialist.
[global]
model = AT
port = /dev/ttyACM0
connection = serial

gnokii --identify
GNOKII Version 0.6.29
Couldn't read /home/jberg/.config/gnokii/config config file.
Couldn't read /etc/xdg/gnokii/config config file.
Couldn't read /root/.gnokiirc config file.
LOG: debug mask is 0x1
Config read from file /etc/gnokiirc.
phone instance config:
model = AT
port = /dev/ttyACM0
connection = serial
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Initializing AT capable mobile phone ...
Serial device: opening device /dev/ttyACM0
Gnokii serial_open: open: No such device
Couldn't open ATBUS device: No such device
AT bus initialization failed (1)
Initialization failed (1)
Serial device: closing device
Telephone interface init failed: Command failed.
Quitting.
Command failed.

ls -l /dev/ttyACM0
crw------- 1 root root 166, 0 Aug 18 22:41 /dev/ttyACM0

I suppose the problem is something with the connection to the phone.
The phone has a menu for usb connection mode: "Connect PC to Net", "PC
suite", "Mass storage", "Picture transfere".
I selected "Connect PC to Net".

Any help getting of possibly getting this to work would be greatly appreciated.

Best regards,
Jon Berg.



reply via email to

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