Cables

From GnokiiWiki
Jump to: navigation, search

Contents

Serial

All serial cables that are marked with DAU-9(P) or DLR-3(P) or DAU-05 should be supported. If there are any problems (not related with hardware failure) please let us know.

DKU-5 and CA-42

USB ID Linux kernel driver Status Comments
0x067b:0x2303 pl2303 works
0x078b:0x1234 pl2303 works
0x6547:0x0232 ark3116 works This chip found in DKU-5 and KQ-U8A datacable with same serial number: WT048000317. For more info see http://avr.auctionant.de/ark3116_linux_driver/ (as of 2.6.17 included in the official Linux kernel). http://www.qbik.ch/usb/devices/showdev.php?id=3705
0x6547:0x1234 ark3116 works
0x07d0:0x4101 cypress_m8 works ensure your kernel version has these ids in the module sources. http://www.qbik.ch/usb/devices/showdev.php?id=3565
0x10b5:0xac70 cp2101 works ensure your kernel version has these ids in the module sources. http://www.qbik.ch/usb/devices/showdev.php?id=3618
0x0451:0x3410 ti_usb_3410_5052 works ensure your kernel version has these ids in the module sources
0x0ea0:0x6858 oti6858 works You need to use patched Linux kernel.

For Linux 2.6.18 use http://home.elka.pw.edu.pl/~tlukasze/linux-2.6.18-oti6858.patch For Linux 2.6.20 use http://ta.twi.tudelft.nl/ftp/dv/lemmens/linux-2.6.20.3-oti6858.patch http://www.qbik.ch/usb/devices/showdev.php?id=3628

0x0421:0x0800 none doesn't work a genuine Nokia manufactured DKU-5 cable
0x0421:0x0802 usbserial + cdc_acm probably works http://www.qbik.ch/usb/devices/showdev.php?id=3251

The CA-42 runs the standard usb-to-serial protocol (usbcdc). Thus the usbserial driver can be used. Before plugging the cable use the insmod to bind the usbserial driver to the cable: insmod usbserial vendor=0x0421 product=0x0802. As soon as you plug in the cable a /dev/ttyACMX node should be created.

In case when ids are not in the module sources, you need to add them and recompile the module (no need to recompile whole kernel).

The CA-42 Clone cable from http://www.ca42.com uses the Prolific PL2303 Driver. Since 2.6.16 the Linux kernel correctly supports this device:

  • CONFIG_USB_SERIAL=m
  • CONFIG_USB_SERIAL_PL2303=m

Once this is taken care of, gnokii will be able to use /dev/ttyUSB0 as a serial port.

Serial cables, DKU-5 and CA-42 are known also as Pop-Port connections and are discontinued since 2007. Therefore if you have the phone that was manufactured after that date have a look at one of he cables below.

DKU-2, CA-53 and CA-70

DKU-2 cables are not seen by libusb unless there's a phone attached. I'm not an USB expert but that probably means that all communication, transformation logic is done by the phone, the cable is the silly transmitter (ie. the cable is not usb-to-serial converter).

CA-53 cable is a replacement for DKU-2. CA-70 is even newer replacement which adds to the CA-53 a connector to charge the phone drawing power from the USB port.

DKU-2 and CA-53 (and most likely CA-70) cables are supported by gnokii userspace driver using libusb (works on Linux and partially on FreeBSD). There is also kernel driver nokia_dku2 provided in gnokii sources, but it turned out not to be reliable and hard to maintain (due to large number of the mobile phones). Writing it correctly seemed to be too much work so the driver got deprecated. See also more detailed DKU-2 information.

DKE-2

DKE-2 cables are just adapters from USB to mini-USB, with a male USB A and a mini-USB B connector.

You can use the cdc_acm kernel module which creates a /dev/ttyACM* device file compatible only with gnokii AT driver so you might get more functionality with a FBUS using connection = dku2libusb (or via Bluetooth or IrDA).

  • config: Linux (Ubuntu Hardy 8.04: 2.6.24-16-generic), DKE-2 cable using gnokii driver for libusb
[global]
model = series40
port = 1
connection = dku2libusb
  • config: Linux (Ubuntu Hardy 8.04: 2.6.24-16-generic), DKE-2 cable using Linux kernel driver for cdc_acm
[global]
model = AT
port = /dev/ttyACM0
connection = serial

CA-101

It's a data and charging cable similar to DKE-2 (which is only a data cable) for phones that can be charged from an USB port. Should work with dku2libusb. See examples for DKE-2 above.

The connector on the phone end is a Micro-B USB. When shopping for a cable, please note that Micro-AB cables are widely available and they do have different mechanical characteristics.

See also:

CA-126

Probably a variation of CA-101 for phones that have a round charging connector. Should work with dku2libusb. See examples for DKE-2 above.

The connectors on the phone end are a Micro-B USB and a charger plug.

See also:

PL2303 based cables

For reliable communication the following command may be needed to be issued before talking to the phone[1]:

stty -F /dev/ttyUSB0 9600

Resources

You'll find the USB compatibility table at Nokia site.

Troubleshooting

If you got communication timeout it means that gnokii does not receive any answer from the phone. In general there are two major reasons for that: