hi everyone,i have plug a usb device(a 5G modules evm board for N510M from Neoway) to jetson nx board but i can not get messages frome usb serial.
when i plug the device,the dmesg shows:
root@nvidia-desktop:/home/nvidia# dmesg --follow
[ 312.337656] usb 1-2.4: new high-speed USB device number 6 using tegra-xusb
[ 313.350158] usb 1-2.4: Device not responding to setup address.
[ 313.557825] usb 1-2.4: Device not responding to setup address.
[ 313.765620] usb 1-2.4: device not accepting address 6, error -71
[ 313.845592] usb 1-2.4: new high-speed USB device number 7 using tegra-xusb
[ 313.867004] usb 1-2.4: New USB device found, idVendor=2949, idProduct=8800
[ 313.867015] usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 313.867023] usb 1-2.4: Product: N510M
[ 313.867029] usb 1-2.4: Manufacturer: Neoway
[ 313.867035] usb 1-2.4: SerialNumber: 92718392204285
[ 314.165602] rndis_host 1-2.4:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -110
[ 314.165890] rndis_host 1-2.4:1.0: RNDIS_MSG_QUERY(0x01010101) failed, -71
[ 314.166051] rndis_host 1-2.4:1.0: rndis get ethaddr, -71
[ 314.166273] rndis_host: probe of 1-2.4:1.0 failed with error -71
[ 314.167641] option 1-2.4:1.2: GSM modem (1-port) converter detected
[ 314.170846] usb 1-2.4: GSM modem (1-port) converter now attached to ttyUSB0
[ 314.171074] option 1-2.4:1.3: GSM modem (1-port) converter detected
[ 314.171400] usb 1-2.4: GSM modem (1-port) converter now attached to ttyUSB1
[ 314.171641] option 1-2.4:1.4: GSM modem (1-port) converter detected
[ 314.171939] usb 1-2.4: GSM modem (1-port) converter now attached to ttyUSB2
[ 314.172165] option 1-2.4:1.5: GSM modem (1-port) converter detected
[ 314.172395] usb 1-2.4: GSM modem (1-port) converter now attached to ttyUSB3
[ 314.172976] option 1-2.4:1.6: GSM modem (1-port) converter detected
[ 314.173288] usb 1-2.4: GSM modem (1-port) converter now attached to ttyUSB4
[ 314.174823] usb 1-2.4: USB disconnect, device number 7
[ 314.176969] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 314.177015] option 1-2.4:1.2: device disconnected
[ 314.178056] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 314.178159] option 1-2.4:1.3: device disconnected
[ 314.178495] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 314.178535] option 1-2.4:1.4: device disconnected
[ 314.178918] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[ 314.178991] option 1-2.4:1.5: device disconnected
[ 314.179392] option1 ttyUSB4: GSM modem (1-port) converter now disconnected from ttyUSB4
[ 314.179424] option 1-2.4:1.6: device disconnected
[ 314.401566] usb 1-2.4: new high-speed USB device number 8 using tegra-xusb
[ 314.423007] usb 1-2.4: New USB device found, idVendor=2949, idProduct=8800
[ 314.423019] usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 314.423026] usb 1-2.4: Product: N510M
[ 314.423032] usb 1-2.4: Manufacturer: Neoway
[ 314.423039] usb 1-2.4: SerialNumber: 92718392204285
[ 314.443632] rndis_host 1-2.4:1.0 usb1: register 'rndis_host' at usb-3610000.xhci-2.4, RNDIS device, 9a:39:72:48:6c:b2
[ 314.444469] option 1-2.4:1.2: GSM modem (1-port) converter detected
[ 314.445034] usb 1-2.4: GSM modem (1-port) converter now attached to ttyUSB0
[ 314.445306] option 1-2.4:1.3: GSM modem (1-port) converter detected
[ 314.446062] usb 1-2.4: GSM modem (1-port) converter now attached to ttyUSB1
[ 314.446442] option 1-2.4:1.4: GSM modem (1-port) converter detected
[ 314.446720] usb 1-2.4: GSM modem (1-port) converter now attached to ttyUSB2
[ 314.446949] option 1-2.4:1.5: GSM modem (1-port) converter detected
[ 314.447136] usb 1-2.4: GSM modem (1-port) converter now attached to ttyUSB3
[ 314.452871] option 1-2.4:1.6: GSM modem (1-port) converter detected
[ 314.453118] usb 1-2.4: GSM modem (1-port) converter now attached to ttyUSB4
[ 314.903864] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[ 462.382454] NETDEV WATCHDOG: usb1 (rndis_host): transmit queue 0 timed out
[ 462.382538] ------------[ cut here ]------------
[ 462.382690] WARNING: CPU: 1 PID: 7106 at /home/ub/nx_r32.4.4/Linux_for_Tegra/source/kernel/kernel-4.9/net/sched/sch_generic.c:316 dev_watchdog+0x2c8/0x2d0
[ 462.382922] Modules linked in: rndis_host bnep fuse rtl8812au cfg80211 zram overlay spidev userspace_alert nvgpu bluedroid_pm ip_tables x_tables
[ 462.383020] CPU: 1 PID: 7106 Comm: compiz Not tainted 4.9.140-tegra #4
[ 462.383026] Hardware name: NVIDIA Jetson Xavier NX Developer Kit (DT)
[ 462.383034] task: ffffffc1cc474600 task.stack: ffffffc1c54b8000
[ 462.383041] PC is at dev_watchdog+0x2c8/0x2d0
[ 462.383047] LR is at dev_watchdog+0x2c8/0x2d0
[ 462.383054] pc : [<ffffff8008ddf818>] lr : [<ffffff8008ddf818>] pstate: 00400045
[ 462.383058] sp : ffffffc1ffd20db0
[ 462.383063] x29: ffffffc1ffd20db0 x28: 0000000000000002
[ 462.383077] x27: ffffff8009e750c8 x26: 00000000ffffffff
[ 462.383089] x25: 0000000000000001 x24: 0000000000000140
[ 462.383101] x23: ffffff8009e76000 x22: ffffffc1e91fa460
[ 462.383113] x21: 0000000000000000 x20: ffffffc1e91fa000
[ 462.383124] x19: ffffffc1e4add000 x18: 0000000000000000
[ 462.383136] x17: 0000007f91aa0170 x16: 0000007f88b84738
[ 462.383148] x15: ffffffffffffffff x14: ffffff800a15a1e0
[ 462.383160] x13: 0000000000000000 x12: 0000000000000006
[ 462.383171] x11: 0000000000000006 x10: 00000000000003e6
[ 462.383184] x9 : 0000000000000001 x8 : ffffffc1ffcd95a4
[ 462.383197] x7 : 0000000000000000 x6 : ffffffc1ffd21bf0
[ 462.383208] x5 : ffffffc1ffd21bf0 x4 : 0000000000000000
[ 462.383220] x3 : ffffffc1ffd277f8 x2 : ffffffc1ffd21bf0
[ 462.383232] x1 : ffffffc1cc474600 x0 : 000000000000003e
the source code has been modisied as follow:
~/nx_r32.4.4/Linux_for_Tegra/source$ diff -Naur kernel/kernel-4.9/drivers/usb/serial/option.c source_orig/kernel/kernel-4.9/drivers/usb/serial/option.c
--- kernel/kernel-4.9/drivers/usb/serial/option.c 2020-12-24 18:16:28.567202066 +0800
+++ source_orig/kernel/kernel-4.9/drivers/usb/serial/option.c 2020-10-17 03:12:13.000000000 +0800
@@ -566,8 +566,6 @@
static const struct usb_device_id option_ids[] = {
- { USB_DEVICE(0x2949, 0x8800),
- .driver_info = RSVD(0)|RSVD(1)},
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) },
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_LIGHT) },