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: Tue, 17 Jan 2006 09:54:17 +0700
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)

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.

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

Thanks Martin for your answer,

As you should know, i'm a novice in linux. I'm using Ubuntu 5.10 (kernel 2.6.12).
I've nokia 3120 and DKU-5 Cable. I can find usb.id file.

Should i download and recompile kernel source or only add the Vendor and Product Id to the usb.id file ?
Is still my DKU-5 need pl2303 module or not to make it work with gnokii ?

This is the Detail from lsusb -v
====================
Bus 003 Device 003: ID 6547:0232
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               1.10
 bDeviceClass            0 (Defined at Interface level)
 bDeviceSubClass         0
 bDeviceProtocol         0
 bMaxPacketSize0        64
 idVendor           0x6547
 idProduct          0x0232
 bcdDevice            0.01
 iManufacturer           1 ArkMicroChips
 iProduct                3 USB-UART Controller
 iSerial                 0
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           39
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          0
   bmAttributes         0x80
   MaxPower              500mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           3
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass      0
     bInterfaceProtocol      0
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0004  1x 4 bytes
       bInterval               1
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x02  EP 2 OUT
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0040  1x 64 bytes
       bInterval               0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x82  EP 2 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0040  1x 64 bytes
       bInterval               0





reply via email to

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