Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ttyUSB not showing up
Date: Sun, 12 Mar 2017 08:26:11
Message-Id: 20170312082522.GC10019@waltdnes.org
In Reply to: [gentoo-user] ttyUSB not showing up by thelma@sys-concept.com
1 On Sat, Mar 11, 2017 at 09:47:30PM -0700, thelma@×××××××××××.com wrote
2 > I have serial to USB converter, want to connect fax/modem to it.
3
4 I have a USB connector that plugs into a phone outlet in the wall for
5 emergency internet connectivity via dialup. 43 kbps is painfully slow,
6 but better than nothing in an emergency. I assume that your fax also
7 dials up over a POTS line just like a dialup modem. In that case you
8 need to enable...
9
10 * PPP protocol
11 * serial ports
12 * "USB Modem (CDC ACM) support"
13
14 ...in your kernel. In "make menuconfig"...
15
16
17 Device Drivers --->
18 [*] Network device support --->
19 <*> PPP (point-to-point protocol) support
20 <*> PPP BSD-Compress compression
21 <*> PPP Deflate compression
22 <*> PPP support for async serial ports
23
24
25 Support for 1 or more "serial ports", depending on how many devices
26 you have hooked up.
27
28 Device Drivers --->
29 Character devices --->
30 Serial drivers --->
31 <*> 8250/16550 and compatible serial support
32 (8) Maximum number of 8250/16550 serial ports
33
34 CDC ACM protocol for "serial ports" over USB
35
36 Device Drivers --->
37 [*] USB support --->
38 <*> Support for Host-side USB
39 <*> USB Modem (CDC ACM) support
40
41 After building the kernel and rebooting, you'll need to create the
42 "serial ports" like so (root or sudo required).
43
44 mkdir -p /dev/usb
45 mknod /dev/usb/ttyACM0 c 166 0
46 mknod /dev/usb/ttyACM1 c 166 1
47 mknod /dev/usb/ttyACM2 c 166 2
48 mknod /dev/usb/ttyACM3 c 166 3
49 etc.
50
51 Finally, when configuring "the comm port" for the fax, select one of
52 the "serial ports" you've created, e.g. "/dev/usb/ttyACM0" (The last
53 character is number-zero, not letter-ohh.)
54
55 --
56 Walter Dnes <waltdnes@××××××××.org>
57 I don't run "desktop environments"; I run useful applications