Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] ttyUSB not showing up
Date: Sun, 12 Mar 2017 05:51:47
Message-Id: CAC=wYCE4qR4E5MyrPfty2WR_CyNed0mtdZsvvVPH8zVmzJywyg@mail.gmail.com
In Reply to: [gentoo-user] ttyUSB not showing up by thelma@sys-concept.com
1 On Sun, Mar 12, 2017 at 3:47 PM, <thelma@×××××××××××.com> wrote:
2
3 > I have serial to USB converter, want to connect fax/modem to it.
4 >
5 > In kernel:
6 > CONFIG_USB_SERIAL=y
7 > CONFIG_USB_UHCI_HCD=y
8 > CONFIG_USB_OHCI_LITTLE_ENDIAN=y
9 > CONFIG_USB_OHCI_HCD=y
10 > CONFIG_USB_OHCI_HCD_PCI=y
11 > # CONFIG_USB_OHCI_HCD_PLATFORM is not set
12 >
13 > lsusb (device is showing up)
14 > ...
15 > Bus 005 Device 003: ID 0711:0230 Magic Control Technology Corp. MCT-232
16 > Serial Port
17 >
18 > but the system did not create ttyUSB entry in /dev.
19 >
20
21 It will be created automatically once you have the right driver. Go back to
22 the kernel setup Device Drivers -> USB Support -> USB Serial Converter
23 support, enable that as a module then under that enable the correct driver
24 as a module. You might need to google a bit to find the correct driver from
25 the list.
26
27 Then you just;
28 make modules && make modules_install
29 modprobe usbserial
30 this might autoload the correct driver, if not modprobe the drive you just
31 built (the kernel source help should show the driver name). It might even
32 be possible to build all the driver modules (if you cant find the right
33 one) and allow the autoloading to load the correct one. I cant remember
34 what works with that stuff.
35
36 Here's what dmesg shows when i plug mine in - as you can see its a FTDI;
37 [540721.409952] usb 6-1.3: new full-speed USB device number 5 using xhci_hcd
38 [540721.503389] usb 6-1.3: New USB device found, idVendor=0403,
39 idProduct=6001
40 [540721.503396] usb 6-1.3: New USB device strings: Mfr=1, Product=2,
41 SerialNumber=3
42 [540721.503401] usb 6-1.3: Product: FT232R USB UART
43 [540721.503405] usb 6-1.3: Manufacturer: FTDI
44 [540721.503409] usb 6-1.3: SerialNumber: A600E3MH
45 [540721.535899] usbcore: registered new interface driver usbserial
46 [540721.536982] usbcore: registered new interface driver ftdi_sio
47 [540721.537006] usbserial: USB Serial support registered for FTDI USB
48 Serial Device
49 [540721.537100] ftdi_sio 6-1.3:1.0: FTDI USB Serial Device converter
50 detected
51 [540721.537147] usb 6-1.3: Detected FT232RL
52 [540721.539219] usb 6-1.3: FTDI USB Serial Device converter now attached to
53 ttyUSB0