On Sat, Mar 11, 2017 at 09:47:30PM -0700, [email protected] wrote
> I have serial to USB converter, want to connect fax/modem to it.

  I have a USB connector that plugs into a phone outlet in the wall for
emergency internet connectivity via dialup.  43 kbps is painfully slow,
but better than nothing in an emergency.  I assume that your fax also
dials up over a POTS line just like a dialup modem.  In that case you
need to enable...

* PPP protocol
* serial ports
* "USB Modem (CDC ACM) support"

...in your kernel.  In "make menuconfig"...


Device Drivers  --->
   [*] Network device support  --->
   <*>   PPP (point-to-point protocol) support
   <*>     PPP BSD-Compress compression
   <*>     PPP Deflate compression
   <*>     PPP support for async serial ports


  Support for 1 or more "serial ports", depending on how many devices
you have hooked up.

Device Drivers  --->
    Character devices  --->
        Serial drivers  --->
        <*> 8250/16550 and compatible serial support
        (8)   Maximum number of 8250/16550 serial ports

  CDC ACM protocol for "serial ports" over USB

Device Drivers  --->
   [*] USB support  --->
       <*> Support for Host-side USB
       <*>     USB Modem (CDC ACM) support

  After building the kernel and rebooting, you'll need to create the
"serial ports" like so (root or sudo required).

mkdir -p /dev/usb
mknod /dev/usb/ttyACM0 c 166 0
mknod /dev/usb/ttyACM1 c 166 1
mknod /dev/usb/ttyACM2 c 166 2
mknod /dev/usb/ttyACM3 c 166 3
etc.

  Finally, when configuring "the comm port" for the fax, select one of
the "serial ports" you've created, e.g. "/dev/usb/ttyACM0" (The last
character is number-zero, not letter-ohh.)

-- 
Walter Dnes <[email protected]>
I don't run "desktop environments"; I run useful applications

Reply via email to