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: A. Andria
Subject: Re: pl2303 udev not making ttyUSB0
Date: Wed, 18 Jan 2006 08:43:38 +0700
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)

Bob Dodds wrote:

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

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

Hi Bob,

I've download the kernel source and added the idProduct and idVendor to the pl2303 (both .c and .h files). I have no experience in rebuilding the kernel. I don't know the save step-by-step rebuilding the kernel. I am trying to find some information from search engine and the ubuntu user mailing list but still confuse to do that.

Can you give me a save step-by-step (from your experience of course) to rebuilding the kernel.
Mine is 2.6.12-10-386 kernel on Ubuntu 5.10

Regards,
Andria




reply via email to

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