FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
447 views 2 comments
by anonymous
My custom linux distribution for embedded system based on kernel 3.3.0 doesn't recognize the usb modem TRM240.

 lsusb

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 001 Device 002: ID 0451:2036 ****************************************

Bus 001 Device 003: ID 2c7c:0121  

Bus 001 Device 011: ID 1bc7:0021  

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

udev 15, busnum 1, minor = 14

[  128.071401] usb 1-1.2: New USB device found, idVendor=2c7c, idProduct=0121

[  128.081469] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[  128.090589] usb 1-1.2: Product: Android

[  128.095995] usb 1-1.2: Manufacturer: Android

[  128.107763] usb 1-1.2: usb_probe_device

[  128.107855] usb 1-1.2: configuration #1 chosen from 1 choice

[  128.111093] usb 1-1.2: adding 1-1.2:1.0 (config #1, interface 0)

[  128.118154] usbserial_generic 1-1.2:1.0: usb_probe_interface

[  128.118234] usbserial_generic 1-1.2:1.0: usb_probe_interface - got id

[  128.119325] usb 1-1.2: adding 1-1.2:1.1 (config #1, interface 1)

[  128.132573] usbserial_generic 1-1.2:1.1: usb_probe_interface

[  128.132654] usbserial_generic 1-1.2:1.1: usb_probe_interface - got id

[  128.133942] usb 1-1.2: adding 1-1.2:1.2 (config #1, interface 2)

[  128.139407] usbserial_generic 1-1.2:1.2: usb_probe_interface

[  128.139489] usbserial_generic 1-1.2:1.2: usb_probe_interface - got id

[  128.153036] usb 1-1.2: adding 1-1.2:1.3 (config #1, interface 3)

[  128.156308] usbserial_generic 1-1.2:1.3: usb_probe_interface

[  128.156383] usbserial_generic 1-1.2:1.3: usb_probe_interface - got id

[  128.157741] usb 1-1.2: adding 1-1.2:1.4 (config #1, interface 4)

[  128.166309] usbserial_generic 1-1.2:1.4: usb_probe_interface

[  128.166398] usbserial_generic 1-1.2:1.4: usb_probe_interface - got id

[  128.168078] hub 1-1:1.0: state 7 ports 2 chg 0000 evt 0004


Where can I find linux driver or a manual to integrate it into module kernel ?
Thanks

1 Answer

0 votes
by anonymous

Hello,

I believe you can find an answer on how to make TRM240 work with Linux right there: https://community.teltonika-networks.com/15110/where-can-i-find-the-linux-drivers-for-tmr240

Regards.

by anonymous
Hello,

thanks for your answer but I think that the link doesn't suit my need.

I need to have the kernel recognize the usb modem and have a serial to write to ( e.g /dev/ttyUSBx )

Thanks
by anonymous

Hello,

I have TRM250 working on Linux kernel 2.6 (CentOS 6, usbserial module) and 3.10 (CentOS 7, option module) and TRM240 on 2.6 without additional drivers.

You could try "modprobe usbserial vendor=0x2c7c product=0x0121" and see if that creates /dev/ttyUSBx devices.

If not, please copy output of "lsmod".