This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Serial can't find my devices
#36
I have similar problem but it might also be something different.

I used to have a Teensy device connected on a USB port of the Raspberry Pi with OpenPlotter & SignalK. Everything was working ok.
I had to change the Teensy device for a new one and since then, the USB device is partially detected. The behavior is this:
After a reboot of the RPI, the command lsusb return the following line, which is good: "Bus 001 Device 025: ID 16c0:0483 Van Ooijen Technische Informatica Teensyduino Serial"
In signalK/Server/DataConnections, I have defined the following parameter which are the same as the other Teensy device: NMEA2000 type, Actisense NGT-1 (canboatjs) . The serial port will show me /dev/serial/by-id/usb-Teensyduino_USB_Serial_11568930-if00, which I select and then reboot signalk.
After the reboot, I see in signalK dashboard that the Teensy get connected for a few seconds and right after I get the following message "EIO: i/o error, writeError:"
Sometime, if I try reselect the USB device in the signalK/Server/DataConnections, I get the message "No such file or directory, cannot open /dev/serial/by-id/usb-Teensyduino_..." and the device is no longer listed by the linux command lsusb
The OpenPlotter Setting System log gives me
Sep 30 11:52:53 openplotter kernel: [ 204.768808] usb 1-1.4: USB disconnect, device number 6
Sep 30 11:52:54 openplotter kernel: [ 205.106695] usb 1-1.4: new high-speed USB device number 7 using xhci_hcd
Sep 30 11:52:54 openplotter kernel: [ 205.207340] usb 1-1.4: New USB device found, idVendor=16c0, idProduct=0483, bcdDevice= 2.80
Sep 30 11:52:54 openplotter kernel: [ 205.207370] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 30 11:52:54 openplotter kernel: [ 205.207386] usb 1-1.4: Product: USB Serial
Sep 30 11:52:54 openplotter kernel: [ 205.207401] usb 1-1.4: Manufacturer: Teensyduino
Sep 30 11:52:54 openplotter kernel: [ 205.207413] usb 1-1.4: SerialNumber: 11568930
Sep 30 11:52:54 openplotter kernel: [ 205.221828] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device

When the Teensy is visible in the lsusb, I'm able to execute the arduino-cli to reprogram the Teensy via the USB cable so I don't suspect the USB cable, nor the USP port on the RPI.

Is it possible that the RPI OS or OpenPlotter/SignalK still expect the old Teensy device? It is not possible to put back the old Teensy for testing.
Any advice how to fix this?

I did other tests and every time I change the serial path signalK/Server/DataConnections for something that I can see with the command "ls -l /dev/serial", this path disappeer after the reboot of signalK; it looks like signalK is screwing up the USB device in /dev
My version of signalK is 1.45.0
Reply


Messages In This Thread
Serial can't find my devices - by b135802 - 2022-08-25, 01:31 PM
RE: Serial can't find my devices - by Sailoog - 2022-09-01, 12:45 PM
RE: Serial can't find my devices - by Didier B - 2023-09-14, 01:57 PM
RE: Serial can't find my devices - by pacman - 2022-09-01, 08:35 PM
RE: Serial can't find my devices - by Sailoog - 2022-09-02, 12:19 PM
RE: Serial can't find my devices - by b135802 - 2022-09-08, 07:46 AM
RE: Serial can't find my devices - by pacman - 2022-09-02, 05:17 PM
RE: Serial can't find my devices - by Sailoog - 2022-09-02, 07:25 PM
RE: Serial can't find my devices - by pacman - 2022-09-02, 08:17 PM
RE: Serial can't find my devices - by Aashi1 - 2023-06-10, 06:36 AM
RE: Serial can't find my devices - by SCarns - 2022-09-02, 10:07 PM
RE: Serial can't find my devices - by Sailoog - 2022-09-04, 11:12 AM
RE: Serial can't find my devices - by pacman - 2022-09-04, 04:17 PM
RE: Serial can't find my devices - by Sailoog - 2022-09-05, 12:04 PM
RE: Serial can't find my devices - by b135802 - 2022-09-08, 11:34 AM
RE: Serial can't find my devices - by pacman - 2022-09-11, 08:15 AM
RE: Serial can't find my devices - by Sailoog - 2022-09-12, 07:58 PM
RE: Serial can't find my devices - by Sailoog - 2022-09-10, 07:45 PM
RE: Serial can't find my devices - by b135802 - 2022-09-11, 03:22 PM
RE: Serial can't find my devices - by Sailoog - 2022-09-12, 07:55 PM
RE: Serial can't find my devices - by b135802 - 2022-09-14, 10:13 AM
RE: Serial can't find my devices - by mgrouch - 2022-09-14, 11:59 AM
RE: Serial can't find my devices - by b135802 - 2022-09-14, 12:10 PM
RE: Serial can't find my devices - by mgrouch - 2022-09-14, 01:44 PM
RE: Serial can't find my devices - by b135802 - 2022-09-14, 01:56 PM
RE: Serial can't find my devices - by Sailoog - 2022-09-14, 07:49 PM
RE: Serial can't find my devices - by b135802 - 2022-09-15, 07:48 AM
RE: Serial can't find my devices - by Sailoog - 2022-09-15, 10:48 AM
RE: Serial can't find my devices - by b135802 - 2022-09-15, 11:08 AM
RE: Serial can't find my devices - by mgrouch - 2022-09-15, 12:36 PM
RE: Serial can't find my devices - by b135802 - 2022-09-15, 02:31 PM
RE: Serial can't find my devices - by mgrouch - 2022-09-15, 02:43 PM
RE: Serial can't find my devices - by b135802 - 2022-09-15, 03:41 PM
RE: Serial can't find my devices - by mgrouch - 2022-09-15, 03:45 PM
RE: Serial can't find my devices - by b135802 - 2022-09-15, 04:56 PM
RE: Serial can't find my devices - by mgrouch - 2022-09-15, 06:28 PM
RE: Serial can't find my devices - by b135802 - 2022-09-16, 08:16 AM
RE: Serial can't find my devices - by ptalbot - 2022-09-30, 09:50 PM
RE: Serial can't find my devices - by ptalbot - 2022-10-02, 02:49 AM
RE: Serial can't find my devices - by Didier B - 2023-01-27, 10:53 AM
RE: Serial can't find my devices - by Sailoog - 2023-01-28, 12:22 PM
RE: Serial can't find my devices - by Didier B - 2023-01-29, 01:20 PM
RE: Serial can't find my devices - by dwynalda - 2023-09-11, 03:52 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)