![Eurotech 10-20-20 Скачать руководство пользователя страница 20](http://html.mh-extra.com/html/eurotech/10-20-20/10-20-20_user-manual_2440425020.webp)
Appendix
C: Connecting with Linux
ReliaCELL 10-20 User Manual
20
110128-90021, preliminary
To read the GPS data from the command line:
stty -F /dev/ttyUSB1 9600
grep --max-count=10 . /dev/ttyUSB1
(where ttyUSB1 is the NMEA port)
Building the Driver
If the modem is not recognized by the system it is possible that the driver must be modified
to recognize the modem.
Retrieve the appropriate kernel source code version for your system (preferably with the
distribution package system, if any) and unpack/install it. From the unpacking root
directory open the file:
/drivers/usb/serial/option.c
Note: If you cannot find the correct path for the file, type:
find / -name option.c
(If your system reports multiple paths, use the uname -r command to figure out which path
you are currently using)
Check for the existence of the proper #define statement related to your module, according to
the following table:
DE910-DUAL #define TELIT_PRODUCT_DE910_DUAL 0x1010
CE910-DUAL #define TELIT_PRODUCT_CE910_DUAL 0x1011
If not present, add the statement.
Then add the proper line in the usb_device_id option_ids[] structure:, according to the
following table:
DE910-DUAL { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_DE910_DUAL) },
CE910-DUAL { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_CE910_DUAL) },
Save the changes and close the file.
-- Compiling the driver --
From the unpacking root directory of your kernel type:
make menuconfig
Configure the kernel according to the considered system configuration; then browse through
the menus
Device Driver -> USB Support -> USB Serial Converter support
and choose to build