LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-01-2006, 05:17 PM   #16
sbma44
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
sounds familiar...


That's where I am, too: needing to set up an always-on gateway based on my nokia 3100. Unfortunately I don't have a windows server available for this use, so I really need to get the arkmicrochips cable (or similar) working under Linux.

On that note: has anyone got a suggestion for what/where to buy in terms of cables toward this end? Ideally something that has been found to work with Gammu (Gnokii would be fine, too). I'm having a very hard time figuring out what chipset are used for the various cables for sale prior to purchasing them and looking at /proc/bus/usb/devices.
 
Old 04-03-2006, 09:51 AM   #17
sbma44
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
more detail

I managed to resolve my problem by buying a FutureDial cable #22 from RadioShack, which works quite happily with pl2303 and usbserial modules. For those still trying to get the ArkMicroChips cable to work, here's a suggestion that was offered to me on the Gammu mailing list. It looks promising, and is, I believe, a variant on the solution already proposed above:

Code:
Hi. This is a common problem with pl2303 chip based cables. Have You tried
Your cable under windows? Did it work? I think it si the first step to do -
I suppose You got a windows driver along with the cable. In linux the
problem is that most cables aren't recognized by pl2303 kernel module
because of different (not known by pl2303 module) vendor and product IDs.
The solution is to add the vendorID and productID to the module, recompile
the kernel module and it is... only the half of success. I had the same
problem with my Ours Technologies Inc DKU-5 cable for 3100 (also with pl2303
chip). I've added support to the pl2303 module and now linux recognizes the
cable and creates /dev/ttyUSB0 device - this is the port which should be set
in gammu config. But there is another problem - gammu cannot communicate
with the phone. It isonly the gammu problem - I think that gammu doesn't
support the cable because there was not support for it in pl2303 and once
the support is added gammu programmers should add the support for the cable.
So I think it's only a matter of time (and reporting the new supported cable
to gammu programmers, once You make sure Your cable is supported by pl2303
kernel module).



Things to do:

First check the vendorID and productID of the cable - plug in the cable to
the USB port and in console type:

lsusb -v

this should list all usb ports and vendor/product IDs of devices atatched to
them.

Get the kernel source and hack the pl2303.h and pl2303.c files - inpl2303.h
add definitions of the IDs (in the same way the rest of IDs are listed). for
example:

#define AMC_CA42_VENDOR_ID 0x****

#define AMC_CA42_PRODUCT_ID 0x****

In pl2303.c add a line like this:

 { USB_DEVICE(AMC_CA42_VENDOR_ID, AMC_CA42_PRODUCT_ID) },

(You will find the place where to add it - just add it among the similar
entries.

Compile the module, install it, atthtch the cable to the USB port and write
in console:

dmesg | tail

If in the output is information about the device created for the cable (eg.
/dev/ttyUSB0) it's ok.

Now You can check if gammu communicates with the phone (but I suppose it
won't).

Now submit the change of the pl2303 module yuo have made and wait till it is
officially added to the kernel. Then you should inform gammu programmers
that new cable is supported by the kernel and tell them to add support for
the cable in gammu.
Hope this is useful!
 
Old 04-03-2006, 11:53 AM   #18
tuxangler
Member
 
Registered: Mar 2006
Location: Germany
Distribution: OpenSuSE 10.3 x86-64 SMP - Kernel 2.6.23.14
Posts: 42

Rep: Reputation: 15
Additionally you could add a Rule like:
Code:
KERNEL=="ttyUSB[0-4]*", SYSFS{idVendor}=="6547", SYSFS{idProduct}=="0232", NAME="mobile", MODE="666", GROUP="uucp"
to /etc/udev/rules.d/.
The Device for the cable now is always called /dev/mobile, no matter if it is found as ttyUSB0 or ttyUSB1 or else.

For my cable i needed fuse to work.
http://fuse.sourceforge.net/
or
Code:
apt-get install fuse
Code:
modprobe fuse

Last edited by tuxangler; 04-03-2006 at 11:55 AM.
 
Old 04-04-2006, 10:02 PM   #19
krisfx
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
arcMicro

FYI,

since im using this for my cdma to connect internet only, on windows the baudrate is 203400.
so for other baudrate im affraid need to use usbsnoop on windows to get the log.
 
Old 04-08-2006, 10:46 AM   #20
fishpepper
LQ Newbie
 
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
Hi!

I modified krisfx driver in order to support baudrate selection.
Thank you for your Code ! Default is now 9600 8N1.

you can find it here (gpl):
http: // avr.auctionant.de/ark3116_linux_driver/

bye, Simon
 
Old 06-26-2006, 11:29 PM   #21
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 256

Rep: Reputation: 30
Does anyone has these win drivers? I have the cable cant make it work
 
Old 09-28-2006, 07:17 AM   #22
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Rep: Reputation: 31
For anyone still interested in this thread, kernel 2.6.17 now supports this cable. Read http://avr.auctionant.de/ark3116_linux_driver/ for more.
 
Old 09-28-2006, 07:21 AM   #23
alek66
Member
 
Registered: Apr 2004
Location: Argentina
Distribution: netBSD/Linux
Posts: 256

Rep: Reputation: 30
Thanks for the info!
 
Old 01-06-2007, 11:02 PM   #24
ihristov
LQ Newbie
 
Registered: Jun 2004
Distribution: XUbuntu 6.06
Posts: 27

Rep: Reputation: 15
Works for Ubuntu 6.06.1

Quote:
Originally Posted by LinuxGeek
For anyone still interested in this thread, kernel 2.6.17 now supports this cable. Read http://avr.auctionant.de/ark3116_linux_driver/ for more.
I guess this means it should come in Ubuntu 6.10 (which I believe is a 2.6.17 kernel)

However I am still running Dapper (6.06.1)

It works perfectly fine for me after I compiled the driver myself by downloading ark3116-0.4.1.tgz
from http://avr.auctionant.de/ark3116_linux_driver/

Code:
$ mkdir ArkMicroUSB2Serial
$ cd ArkMicroUSB2Serial
$ wget http://avr.auctionant.de/ark3116_linux_driver/releases/ark3116-0.4.1.tgz
$ tar -xzf ark3116-0.4.1.tgz
$ cd ark3116
$ make

# to test it
$ sudo modprobe usbserial; sudo insmod ark3116

# at this point you should see a ttyUSB0 device
# ls -l /dev/ttyUSB*

# to install it permenantly do
$ sudo make install
For the compile above to work you have to have usb-serial.h. This is found in the source for the kernel you are running. In my case

Code:
# install the kernel headers if you still don't have them - this for some reason does not include the usb-serial.h we need
$ sudo apt-get install linux-kernel-headers-`uname -r`

# download the source for the kernel - this is big - about 60 MB
$ sudo apt-get source linux-headers-`uname -r`

# change the owner (to yourself) of the files cause they are owned by some other dude (UID 2500)
$ sudo chown -R $UID:$UID linux-source-2.6.15-2.6.15/

# now move this to the correct place
$ sudo mv linux-source-2.6.15-2.6.15 /usr/src/

# and link it to symbolic name 'linux' which is what most apps expect
$ cd /usr/src
$ ln -s linux-source-2.6.15-2.6.15 linux
If someone is interested in the already compiled module you can fetch it from http://opensource.databrokers.net/ubuntu/ark3116/. Keep in mind I have compiled this for the ubuntu kernel 2.6.15-27-k7. Might not work for a different variant of the kernel
 
  


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
USB adapter to serial modem Eastern Counties Linux - Newbie 6 11-14-2005 04:28 AM
USB - Serial RS232 Adapter blox Linux - Hardware 3 01-28-2005 10:58 AM
zoom external serial with usb to serial adapter foustware Linux - Hardware 1 12-07-2003 02:02 AM
serial-usb adapter DMRansom Linux - Hardware 1 11-21-2003 10:22 AM
Obscure serial printer issue... DArque Bishop Linux - Hardware 3 08-27-2003 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:31 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