Greg KH wrote:
Any reason you didn't respond back on the mailing list?
It bounced because I needed to set text vs. html pref for that
address.

I'm coaching A. Andria on how to update pl2303.ko in
ubuntu, on gnokii list. That would be vendor id 0x6547 and
product id 0x232. A. Andria is working on the grub
details, having done exceptionally well for an "ubuntu
user" or for any newbie, getting pl2303.ko compiled
without assistance. Menu "System, Administration,Boot"
was my advice. I'll let you know when I hear about that id.

I see /dev/tts/USB0 now, but gnokii has a problem using it.

dmesg

ohci_hcd 0000:00:02.1: wakeup
usb 2-2: new full speed USB device using ohci_hcd and address 4
usb 2-2: configuration #1 chosen from 1 choice
pl2303 2-2:1.0: pl2303 converter detected
usb 2-2: pl2303 converter now attached to ttyUSB0
pl2303 2-2:1.1: pl2303 converter detected
usb 2-2: pl2303 converter now attached to ttyUSB2

Why both ttyUSB0 and ttyUSB2? And what I see is /dev/tts/USB0
and /dev/tts/USB2. Do I need a /etc/udev rule for /dev/ttyUSB0?
It looks like tts is devfs.

I have this in /etc/udev/udev.rules --

# USB devices
BUS=="usb", KERNEL=="ttyUSB*", SYSFS{product}=="Palm Handheld*", \
BUS=="usb", KERNEL=="ttyUSB*", SYSFS{product}=="Nokia*", \


ll rules.d

drwxr-xr-x  2 root root   13 Jan 16 22:45 .
drwxr-xr-x  5 root root   22 Jan 16 22:43 ..
lrwxrwxrwx 1 root root 20 Jul 12 2005 020_permissions.rules -> ../permissions.rules lrwxrwxrwx 1 root root 12 Jul 16 2005 050_hal-plugdev.rules -> ../hal.rules
-rw-r--r--  1 root root 2330 Jul 13  2005 050_permissions.rules
lrwxrwxrwx 1 root root 19 Jul 12 2005 cd-aliases.rules -> ../cd-aliases.rules
lrwxrwxrwx  1 root root   15 Jul 12  2005 compat.rules -> ../compat.rules
lrwxrwxrwx  1 root root   14 Jul 12  2005 devfs.rules -> ../devfs.rules
lrwxrwxrwx  1 root root   13 Jul 13  2005 udev.rules -> ../udev.rules
lrwxrwxrwx 1 root root 19 Jan 16 22:42 z20_persistent.rules -> ../persistent.rules
lrwxrwxrwx  1 root root   12 Jul 16  2005 z50_run.rules -> ../run.rules
lrwxrwxrwx 1 root root 16 Jan 16 22:42 z55_hotplug.rules -> ../hotplug.rules lrwxrwxrwx 1 root root 17 Jul 16 2005 z70_hotplugd.rules -> ../hotplugd.rules

for a in * ; do grep USB $a && echo $a ; done

KERNEL=="ttyUSB[0-9]*", SYMLINK+="%k"
compat-full.rules

#KERNEL=="ttyUSB[0-9]*",        SYMLINK+="%k"
compat.rules

#KERNEL=="ttyUSB[0-9]*",        SYMLINK+="%k"
compat.rules.dpkg-dist

# USB devices
BUS=="usb", KERNEL=="ttyUSB*", SYSFS{product}=="Palm Handheld*", \
KERNEL=="ttyUSB[0-9]*",         NAME="tts/USB%n"
devfs.rules

# USB devices
permissions.rules

# USB devices
permissions.rules.dpkg-old

# USB devices
BUS=="usb", KERNEL=="ttyUSB*", SYSFS{product}=="Palm Handheld*", \
BUS=="usb", KERNEL=="ttyUSB*", SYSFS{product}=="Nokia*", \
udev.rules

# USB devices
BUS=="usb", KERNEL=="ttyUSB*", SYSFS{product}=="Palm Handheld*", \
udev.rules.dpkg-dist


On Wed, Jan 18, 2006 at 04:20:01AM -0500, Bob Dodds wrote:
A. Andria asep.andria.:.gmail.com (unverified)

#define CA_42_AA_VENDOR_ID    0x6547
#define CA_42_AA_PRODUCT_ID   0x0232

mine(verified)...

#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 */
};

Care to redo the patch in a format that I can apply it to the kernel
tree with?  Please read Documentation/SubmittingPatches for more
details.

thanks,

greg k-h




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to