USB device connects and disconnects every 5 seconds

Asked by RS7K

Hello everyone,
I am trying to use the following device on Ubuntu: https://omnipresense.com/product/ops241-a-short-range-radar-sensor/
I connected it on a Windows PC and I can retrieve measures using Putty on the COM port, and I was also able to use it with an Android device and an OTG cable. All worked as expected so I know the unit is not deffective.
This device is supposed to be visible as a serial port on the host, and when the serial port is opened in a terminal, measures are displayed.

When I plug it to a Ubuntu PC (and also to a Raspberry running the last version of Raspbian), the device reboots every 5 seconds... forever.

Here is what I see in the syslog:

Sep 6 17:30:49 rs7k-HP-EliteBook-830-G5 kernel: [ 2819.989535] usb 1-2: USB disconnect, device number 70
Sep 6 17:30:50 rs7k-HP-EliteBook-830-G5 kernel: [ 2820.298061] usb 1-2: new full-speed USB device number 71 using xhci_hcd
Sep 6 17:30:50 rs7k-HP-EliteBook-830-G5 kernel: [ 2820.447370] usb 1-2: New USB device found, idVendor=058b, idProduct=0058, bcdDevice= 0.01
Sep 6 17:30:50 rs7k-HP-EliteBook-830-G5 kernel: [ 2820.447376] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Sep 6 17:30:50 rs7k-HP-EliteBook-830-G5 kernel: [ 2820.447379] usb 1-2: Product: IFX CDC
Sep 6 17:30:50 rs7k-HP-EliteBook-830-G5 kernel: [ 2820.447381] usb 1-2: Manufacturer: Infineon
Sep 6 17:30:50 rs7k-HP-EliteBook-830-G5 kernel: [ 2820.449357] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
Sep 6 17:30:50 rs7k-HP-EliteBook-830-G5 mtp-probe: checking bus 1, device 71: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
Sep 6 17:30:50 rs7k-HP-EliteBook-830-G5 mtp-probe: bus: 1, device: 71 was not an MTP device
Sep 6 17:30:50 rs7k-HP-EliteBook-830-G5 snapd[945]: hotplug.go:199: hotplug device add event ignored, enable experimental.hotplug
Sep 6 17:30:50 rs7k-HP-EliteBook-830-G5 mtp-probe: checking bus 1, device 71: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
Sep 6 17:30:50 rs7k-HP-EliteBook-830-G5 mtp-probe: bus: 1, device: 71 was not an MTP device

Sep 6 17:30:54 rs7k-HP-EliteBook-830-G5 kernel: [ 2824.957027] usb 1-2: USB disconnect, device number 71
Sep 6 17:30:54 rs7k-HP-EliteBook-830-G5 kernel: [ 2825.266044] usb 1-2: new full-speed USB device number 72 using xhci_hcd
Sep 6 17:30:55 rs7k-HP-EliteBook-830-G5 kernel: [ 2825.414606] usb 1-2: New USB device found, idVendor=058b, idProduct=0058, bcdDevice= 0.01
Sep 6 17:30:55 rs7k-HP-EliteBook-830-G5 kernel: [ 2825.414612] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Sep 6 17:30:55 rs7k-HP-EliteBook-830-G5 kernel: [ 2825.414615] usb 1-2: Product: IFX CDC
Sep 6 17:30:55 rs7k-HP-EliteBook-830-G5 kernel: [ 2825.414618] usb 1-2: Manufacturer: Infineon
Sep 6 17:30:55 rs7k-HP-EliteBook-830-G5 kernel: [ 2825.416307] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
Sep 6 17:30:55 rs7k-HP-EliteBook-830-G5 mtp-probe: checking bus 1, device 72: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
Sep 6 17:30:55 rs7k-HP-EliteBook-830-G5 mtp-probe: bus: 1, device: 72 was not an MTP device
Sep 6 17:30:55 rs7k-HP-EliteBook-830-G5 snapd[945]: hotplug.go:199: hotplug device add event ignored, enable experimental.hotplug
Sep 6 17:30:55 rs7k-HP-EliteBook-830-G5 mtp-probe: checking bus 1, device 72: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
Sep 6 17:30:55 rs7k-HP-EliteBook-830-G5 mtp-probe: bus: 1, device: 72 was not an MTP device

Sep 6 17:30:59 rs7k-HP-EliteBook-830-G5 kernel: [ 2829.924718] usb 1-2: USB disconnect, device number 72
Sep 6 17:30:59 rs7k-HP-EliteBook-830-G5 kernel: [ 2830.233721] usb 1-2: new full-speed USB device number 73 using xhci_hcd
Sep 6 17:31:00 rs7k-HP-EliteBook-830-G5 kernel: [ 2830.383251] usb 1-2: New USB device found, idVendor=058b, idProduct=0058, bcdDevice= 0.01
Sep 6 17:31:00 rs7k-HP-EliteBook-830-G5 kernel: [ 2830.383257] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Sep 6 17:31:00 rs7k-HP-EliteBook-830-G5 kernel: [ 2830.383260] usb 1-2: Product: IFX CDC
Sep 6 17:31:00 rs7k-HP-EliteBook-830-G5 kernel: [ 2830.383262] usb 1-2: Manufacturer: Infineon
Sep 6 17:31:00 rs7k-HP-EliteBook-830-G5 kernel: [ 2830.385320] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
Sep 6 17:31:00 rs7k-HP-EliteBook-830-G5 mtp-probe: checking bus 1, device 73: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
Sep 6 17:31:00 rs7k-HP-EliteBook-830-G5 mtp-probe: bus: 1, device: 73 was not an MTP device
Sep 6 17:31:00 rs7k-HP-EliteBook-830-G5 snapd[945]: hotplug.go:199: hotplug device add event ignored, enable experimental.hotplug
Sep 6 17:31:00 rs7k-HP-EliteBook-830-G5 mtp-probe: checking bus 1, device 73: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
Sep 6 17:31:00 rs7k-HP-EliteBook-830-G5 mtp-probe: bus: 1, device: 73 was not an MTP device

Any clue ?

Thanks a lot in advance

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Have you tried a different USB port?If you are using an external USB hub / port replicator have you tried disconnecting this and connecting directly to the motherboard?
Have you tried a different cable?

Revision history for this message
RS7K (nmaurel) said :
#2

I contacted the manufacturer of the device and they told me the reset comes from their device and not the host.
If no data ie read from the serial port /dev/ttyACM0, then the buffer of the device overflows and reset.
Do you know a way to configure ubuntu so it reads /dev/ttyACM0 as soon as plugged in?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

http://wiki.ros.org/radar_omnipresense

You may want to run ROS. It looks like a customised OS for this sort of thing.....

Can you help with this problem?

Provide an answer of your own, or ask RS7K for more information if necessary.

To post a message you must log in.