gnokii-users
[Top][All Lists]
Advanced

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

Re: pl2303 udev not making ttyUSB0


From: Bob Dodds
Subject: Re: pl2303 udev not making ttyUSB0
Date: Tue, 17 Jan 2006 00:32:14 -0500
User-agent: Mozilla Thunderbird 1.0+ (X11/20050606)

Martin Gingras wrote:
Hi,

basically there is no driver (module) that can talk with your cable. 
So gnokii will NOT work.
If no one add support to the kernel, it will NEVER work :( .

So, this imply coding, which translate in adding support into the
pl2303 driver if you are SURE that this chipset is reported when, for
example, you use that cable in winblows.
  
lsusb
Bus 002 Device 006: ID 0421:0802 Nokia Mobile Phones

# get idProduct, idVendor
cat /sys/bus/usb/devices/*/*/*id[VP]*
0802
0421

cat /sys/bus/usb/devices/*/2-1/*idVendor
0421
cat /sys/bus/usb/devices/*/2-1/*idProduct
0802
1.- You need to add the ID's of the cable:

download your kernel source code, hack the pl2303.h and the pl2303.c
file to add the ID's of you cable

2.- rebuild the kernel / module

3.- modprobe pl2303

4.- check /var/log/messages

Here is an example of my lame patch:

http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/usb/usb-pl2303-added-support-for-ca-42-clone-cable.patch

It is really easy even for a novice programmer...

Mart
  
Your patch is in kernel 2.6.15-mm3.

make A. Andria's...

#define CA_42_AA_VENDOR_ID    0x6547
#define CA_42_AA_PRODUCT_ID   0x0232

make mine...

#define CA_42_AB_VENDOR_ID    0x0421
#define CA_42_AB_PRODUCT_ID   0x0802

so, add two more ca42 clones...

# 2.6.15-mm3

# diff -Naur /tmp/pl2303.h ./drivers/usb/serial/pl2303.h
--- /tmp/pl2303.h       2006-01-17 00:06:27.284812036 -0500
+++ ./drivers/usb/serial/pl2303.h       2006-01-17 00:06:37.917811971 -0500
@@ -69,6 +69,14 @@
 #define CA_42_CA42_VENDOR_ID   0x10b5
 #define CA_42_CA42_PRODUCT_ID  0xac70
 
+/* More CA-42 clones */
+
+#define CA_42_AA_VENDOR_ID    0x6547
+#define CA_42_AA_PRODUCT_ID   0x0232
+#define CA_42_AB_VENDOR_ID    0x0421
+#define CA_42_AB_PRODUCT_ID   0x0802
+
+

#diff -Naur /tmp/pl2303.c ./drivers/usb/serial/pl2303.c
--- /tmp/pl2303.c       2006-01-17 00:06:10.722812138 -0500
+++ ./drivers/usb/serial/pl2303.c       2006-01-17 00:06:37.917811971 -0500
@@ -77,6 +77,8 @@
        { USB_DEVICE(SYNTECH_VENDOR_ID, SYNTECH_PRODUCT_ID) },
        { USB_DEVICE(NOKIA_CA42_VENDOR_ID, NOKIA_CA42_PRODUCT_ID ) },
        { USB_DEVICE(CA_42_CA42_VENDOR_ID, CA_42_CA42_PRODUCT_ID ) },
+       { USB_DEVICE(CA_42_AA_VENDOR_ID, CA_42_AA_PRODUCT_ID ) },
+       { USB_DEVICE(CA_42_AB_VENDOR_ID, CA_42_AB_PRODUCT_ID ) },
        { }                                     /* Terminating entry */
 };

-Bob Dodds

I've the same problem with Bob.

No /dev/ttyUSB found on dmesg.
The question is
1. what is to be added on to what file ?
2. how to recompile the module ?

I'm sorry if this is not a part of gnokii. But i think it wise if not
only the gnokii problem that can be solved here but the other things
like  the  usb  setting / installation.

NB:
the output of lsusb :
Bus 003 Device 002: ID 6547:0232

-Andria


reply via email to

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