Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help increasing ttyACM devices

7 views
Skip to first unread message

José Luis Romero Martínez

unread,
Feb 20, 2016, 1:04:04 PM2/20/16
to
Hello

I'm trying increase the ttyACM, currently my linux box have from ttyACM0 to ttyACM31, I need connect 32 gsm modems, but each modem is using 8 ttyACM

This is the result:
modem 1 use from ttyACM0 to ttyACM7
modem 2 use from ttyACM8 to ttyACM15
modem 3 use from ttyACM16 to ttyACM23
modem 4 use from ttyACM24 to ttyACM31

Now I'm trying recompile the kernel, I saw the usb-serial.c with these lines:

#define USB_SERIAL_TTY_MAJOR 188
#define USB_SERIAL_TTY_MINORS 512 /* should be enough for a while */

Which is the correct parameter to MAJOR and MINORS parameters if I need use from ttyACM0 to ttyACM255?


--
Regard,
José Luis Romero.
0 new messages