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 07:37:19 +0700
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)

Martin Gingras wrote:

Hi Bob,

does /bin/lsusb report ID's that are presents in the pl2303.h files? If no, try adding it the ID's and recompile the module and load it. Don't forgot to submit your patch to address@hidden I have done this
for a ca-42 clone cable and it work A-1.

Mart

On 1/16/06, Bob Dodds <address@hidden> wrote:
/*
* Prolific PL2303 USB to serial adaptor driver header file
*
*      This program is free software; you can redistribute it and/or modify
*      it under the terms of the GNU General Public License as published by
*      the Free Software Foundation; either version 2 of the License, or
*      (at your option) any later version.
*
*/
/* Nokia CA-42 Cable */
#define NOKIA_CA42_VENDOR_ID    0x078b
#define NOKIA_CA42_PRODUCT_ID   0x1234

pl2303.ko doesn't load automatically

modprobe pl2303

lsmod

Module                  Size  Used by
pl2303                 16580  0
usbserial              23332  1 pl2303
cdc_acm                10692  0
usb_storage            63520  0
libusual                5840  1 usb_storage
ehci_hcd               27852  0
ohci_hcd               16988  0
usbcore                97184  8
pl2303,usbserial,cdc_acm,usb_storage,libusual,ehci_hcd,ohci_hcd

# no /dev/ttyUSB0

for a in /etc/udev/* ; do grep USB $a && echo "   ...in "$a; done

KERNEL=="ttyUSB[0-9]*", SYMLINK+="%k"
  ...in /etc/udev/compat-full.rules
#KERNEL=="ttyUSB[0-9]*",        SYMLINK+="%k"
  ...in /etc/udev/compat.rules
# USB devices
BUS=="usb", KERNEL=="ttyUSB*", SYSFS{product}=="Palm Handheld*", \
KERNEL=="ttyUSB[0-9]*",         NAME="tts/USB%n"
  ...in /etc/udev/devfs.rules
# USB devices
  ...in /etc/udev/permissions.rules
# USB devices
  ...in /etc/udev/permissions.rules.dpkg-old
# USB devices
#BUS=="usb", KERNEL=="ttyUSB*", SYSFS{product}=="Palm Handheld*", \
#BUS=="usb", KERNEL=="ttyUSB*", SYSFS{product}=="Nokia Mobile*", \
  ...in /etc/udev/udev.rules
# USB devices
BUS="usb", KERNEL="ttyUSB*", SYSFS{product}="Palm Handheld*",
SYMLINK="pilot", GROUP="audio"
  ...in /etc/udev/udev.rules.dpkg-old

# USB devices
BUS=="usb", KERNEL=="hiddev*",        NAME="usb/%k"
BUS=="usb", KERNEL=="auer[0-9]*",    NAME="usb/%k"
BUS=="usb", KERNEL=="legousbtower*",    NAME="usb/%k"
BUS=="usb", KERNEL=="dabusb*",        NAME="usb/%k"
BUS=="usb", KERNEL=="cpad[0-9]*",    NAME="usb/%k"
BUS=="usb", KERNEL=="lp[0-9]*",        NAME="usb/%k"
BUS=="usb", KERNEL=="ttyUSB*", SYSFS{product}=="Palm Handheld*", \
                   SYMLINK+=="pilot"

-Bob

Hi Martin,

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 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 6547:0232
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

-Andria




reply via email to

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