1 |
On Monday 28 April 2008, James wrote: |
2 |
> Hello, |
3 |
> |
4 |
> I've been using FTDI's usb-serial converters for a few years now with |
5 |
> great success. |
6 |
|
7 |
I use one of those gadgets. Wonderful devices, they always |
8 |
JustWorked(tm) |
9 |
|
10 |
> I have not used minicom in a month or so and now it's broken |
11 |
> on all(3) of the laptops where it use to work. I have googled |
12 |
> for a while today, with not luck on this issue. |
13 |
> |
14 |
> It the /etc/minicom/minirc.dfl used to use |
15 |
> /dev/ttyUSB0 on several machines. |
16 |
> |
17 |
> Now I get: nu such file or directory. |
18 |
> |
19 |
> CD into /dev and sure enough ttyUSB0 nore ttyUSB* is not there |
20 |
> so this is at least a udev issue? |
21 |
|
22 |
No, it's done by the driver and udev just goes along with what the |
23 |
driver creates. My specs: |
24 |
|
25 |
alan@nazgul /etc/udev/rules.d $ uname -a |
26 |
Linux nazgul 2.6.24-gentoo-r4 #2 SMP PREEMPT Mon Apr 7 18:40:36 SAST |
27 |
2008 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel |
28 |
GNU/Linux |
29 |
|
30 |
Plugging in the device gives me this from dmesg: |
31 |
Apr 28 23:44:04 nazgul [110152.957575] usb 3-1: new full speed USB |
32 |
device using uhci_hcd and address 5 |
33 |
Apr 28 23:44:04 nazgul [110153.078246] usb 3-1: configuration #1 chosen |
34 |
from 1 choice |
35 |
Apr 28 23:44:04 nazgul [110153.124828] usbcore: registered new interface |
36 |
driver usbserial |
37 |
Apr 28 23:44:04 nazgul [110153.124855] drivers/usb/serial/usb-serial.c: |
38 |
USB Serial support registered for generic |
39 |
Apr 28 23:44:04 nazgul [110153.124903] usbcore: registered new interface |
40 |
driver usbserial_generic |
41 |
Apr 28 23:44:04 nazgul [110153.124906] drivers/usb/serial/usb-serial.c: |
42 |
USB Serial Driver core |
43 |
Apr 28 23:44:04 nazgul [110153.136853] drivers/usb/serial/usb-serial.c: |
44 |
USB Serial support registered for FTDI USB Serial Device |
45 |
Apr 28 23:44:04 nazgul [110153.136903] ftdi_sio 3-1:1.0: FTDI USB Serial |
46 |
Device converter detected |
47 |
Apr 28 23:44:04 nazgul [110153.136939] drivers/usb/serial/ftdi_sio.c: |
48 |
Detected FT232RL |
49 |
Apr 28 23:44:04 nazgul [110153.137035] usb 3-1: FTDI USB Serial Device |
50 |
converter now attached to ttyUSB0 |
51 |
Apr 28 23:44:04 nazgul [110153.137050] usbcore: registered new interface |
52 |
driver ftdi_sio |
53 |
Apr 28 23:44:04 nazgul [110153.137053] drivers/usb/serial/ftdi_sio.c: |
54 |
v1.4.3:USB FTDI Serial Converters Driver |
55 |
|
56 |
and I get this device node created automagically: |
57 |
alan@nazgul /etc/udev/rules.d $ ls -al /dev/ttyU* |
58 |
crw-rw---- 1 root uucp 188, 0 2008-04-28 23:44 /dev/ttyUSB0 |
59 |
|
60 |
There are no specific udev rules as shown by: |
61 |
alan@nazgul /etc/udev/rules.d $ grep -ir usb * | grep tty |
62 |
alan@nazgul /etc/udev/rules.d $ grep -ir tty * | grep usb |
63 |
alan@nazgul /etc/udev/rules.d $ grep -ir ftdi * |
64 |
alan@nazgul /etc/udev/rules.d $ grep -ir 188 * |
65 |
alan@nazgul /etc/udev/rules.d $ |
66 |
|
67 |
> Also, I went to rebuild the gentoo-2.6.24-r4 kernel and could not |
68 |
> locate the driver item for ftdi (maybe it has been combined into |
69 |
> a mega driver or such? |
70 |
|
71 |
It's where it's always been :-) |
72 |
|
73 |
Device Drivers -> USB support -> USB Serial Converter support -> USB |
74 |
FTDI Single Port Serial Driver (EXPERIMENTAL) |
75 |
|
76 |
I had no trouble finding it when I built this kernel so I assume it |
77 |
didn't move. The driver's dependencies: |
78 |
|
79 |
Symbol: USB_SERIAL_FTDI_SIO [=m] |
80 |
Prompt: USB FTDI Single Port Serial Driver (EXPERIMENTAL) |
81 |
Defined at drivers/usb/serial/Kconfig:167 |
82 |
Depends on: USB_SUPPORT && USB!=n && USB_SERIAL && EXPERIMENTAL |
83 |
|
84 |
|
85 |
Maybe you forgot to configure EXPERIMENTAL=Y ? |
86 |
|
87 |
-- |
88 |
Alan McKinnon |
89 |
alan dot mckinnon at gmail dot com |
90 |
|
91 |
-- |
92 |
gentoo-user@l.g.o mailing list |