Problem connecting: port not shown

Wisecat

Member
I ordered a new batch of Teensy 4.1 boards in Feb 2024, but cannot connect to them--they don't show up on the port list. Older Teensy 4.1 boards work fine (I ordered the older ones in June 2023).

My setup: Ubuntu - Release 22.04.4 LTS (Jammy Jellyfish) 64-bit
Kernel Linux 6.5.0-21-generic x86_64
MATE 1.26.0
Arduino software: using versions v2.2.1 and also v2.3.2

the chip nearest the USB connector has nearly identical markings on both versions of the board, except for the last line:

working boards: JJ2236
non-working boards: JJ2247

thoughts? help?
 
Last edited:
Open a terminal and run "tail -f /var/log/syslog". Then as you plug each board in, and after pressing (and release) the pushbutton, look for the Linux kernel messages about USB device add and remove. Try with both the new and old boards. If the info doesn't give you a clear idea or solution, please copy the messages here so I and others can see what's appearing on your screen.
 
hmmm the old board shows that it recognizes "Product: USB Serial" in addition to the board, whereas the new board doesn't show this recognition on the log



old board that works:
Feb 27 10:46:12 jagdeep-gift rtkit-daemon[1938]: Supervising 5 threads of 5 processes of 1 users.
Feb 27 10:46:52 jagdeep-gift kernel: [66772.608886] usb 1-2: new high-speed USB device number 20 using xhci_hcd
Feb 27 10:46:52 jagdeep-gift kernel: [66772.757941] usb 1-2: New USB device found, idVendor=16c0, idProduct=0483, bcdDevice= 2.80
Feb 27 10:46:52 jagdeep-gift kernel: [66772.757958] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb 27 10:46:52 jagdeep-gift kernel: [66772.757966] usb 1-2: Product: USB Serial
Feb 27 10:46:52 jagdeep-gift kernel: [66772.757973] usb 1-2: Manufacturer: Teensyduino
Feb 27 10:46:52 jagdeep-gift kernel: [66772.757979] usb 1-2: SerialNumber: 14219810
Feb 27 10:46:52 jagdeep-gift kernel: [66772.768305] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
Feb 27 10:46:12 jagdeep-gift rtkit-daemon[1938]: Supervising 5 threads of 5 processes of 1 users.
Feb 27 10:46:52 jagdeep-gift mtp-probe: checking bus 1, device 20: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
Feb 27 10:46:52 jagdeep-gift mtp-probe: bus: 1, device: 20 was not an MTP device
Feb 27 10:46:52 jagdeep-gift snapd[938]: hotplug.go:200: hotplug device add event ignored, enable experimental.hotplug
Feb 27 10:46:52 jagdeep-gift mtp-probe: checking bus 1, device 20: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
Feb 27 10:46:52 jagdeep-gift mtp-probe: bus: 1, device: 20 was not an MTP device
Feb 27 10:46:55 jagdeep-gift ModemManager[1000]: <info> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2': not supported by any plugin
Feb 27 10:47:00 jagdeep-gift kernel: [66780.803660] usb 1-2: USB disconnect, device number 20


new board, that I can't connect to:
Feb 27 10:48:17 jagdeep-gift kernel: [66857.304813] usb 1-2: new high-speed USB device number 21 using xhci_hcd
Feb 27 10:48:17 jagdeep-gift kernel: [66857.453438] usb 1-2: New USB device found, idVendor=16c0, idProduct=0486, bcdDevice= 2.80
Feb 27 10:48:17 jagdeep-gift kernel: [66857.453456] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb 27 10:48:17 jagdeep-gift kernel: [66857.453465] usb 1-2: Product: Teensyduino RawHID
Feb 27 10:48:17 jagdeep-gift kernel: [66857.453471] usb 1-2: Manufacturer: Teensyduino
Feb 27 10:48:17 jagdeep-gift kernel: [66857.453477] usb 1-2: SerialNumber: 15110740
Feb 27 10:48:17 jagdeep-gift kernel: [66857.459559] hid-generic 0003:16C0:0486.0015: hiddev0,hidraw2: USB HID v1.11 Device [Teensyduino Teensyduino RawHID] on usb-0000:00:14.0-2/input0
Feb 27 10:47:43 jagdeep-gift rtkit-daemon[1938]: Supervising 5 threads of 5 processes of 1 users.
Feb 27 10:48:17 jagdeep-gift mtp-probe: checking bus 1, device 21: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
Feb 27 10:48:17 jagdeep-gift mtp-probe: bus: 1, device: 21 was not an MTP device
Feb 27 10:48:17 jagdeep-gift kernel: [66857.461344] hid-generic 0003:16C0:0486.0016: hidraw3: USB HID v1.11 Device [Teensyduino Teensyduino RawHID] on usb-0000:00:14.0-2/input1
Feb 27 10:48:17 jagdeep-gift systemd-udevd[55628]: hiddev0: /usr/lib/udev/rules.d/69-mixxx-usb-uaccess.rules:61 Only network interfaces can be renamed, ignoring NAME="usb/%k".
Feb 27 10:48:17 jagdeep-gift mtp-probe: checking bus 1, device 21: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
Feb 27 10:48:17 jagdeep-gift mtp-probe: bus: 1, device: 21 was not an MTP device
Feb 27 10:49:12 jagdeep-gift rtkit-daemon[1938]: Supervising 5 threads of 5 processes of 1 users.
 
Looks like the only difference is Serial vs RawHID. All brand new Teensy boards ship with the LED blink build as RawHID, not Serial. This is exactly what a brand new Teensy should do.

Can you show a screenshot of the Tools > Port menu in Arduino IDE? (while the new board is plugged in) It really should be showing Teensy detected as RawHID.
 
The Tools->Port menu is greyed out when I connect the new boards (but with the old boards I can easily select Tools->Port)
 
Here's how it look on my Linux machine (also Ubuntu 22.04)

1709063065740.png
 
This is the syslog info I see when I plug in the board.

Feb 27 11:46:28 preston kernel: [2097288.835588] usb 11-1.2: new high-speed USB device number 28 using xhci_hcd
Feb 27 11:46:28 preston kernel: [2097288.940157] usb 11-1.2: New USB device found, idVendor=16c0, idProduct=0486, bcdDevice= 2.80
Feb 27 11:46:28 preston kernel: [2097288.940168] usb 11-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb 27 11:46:28 preston kernel: [2097288.940171] usb 11-1.2: Product: Teensyduino RawHID
Feb 27 11:46:28 preston kernel: [2097288.940174] usb 11-1.2: Manufacturer: Teensyduino
Feb 27 11:46:28 preston kernel: [2097288.940176] usb 11-1.2: SerialNumber: 8983480
Feb 27 11:46:28 preston kernel: [2097288.957257] hid-generic 0003:16C0:0486.011E: hiddev3,hidraw5: USB HID v1.11 Device [Teensyduino Teensyduino RawHID] on usb-0000:78:00.0-1.2/input0
Feb 27 11:46:28 preston kernel: [2097288.957990] hid-generic 0003:16C0:0486.011F: hidraw6: USB HID v1.11 Device [Teensyduino Teensyduino RawHID] on usb-0000:78:00.0-1.2/input1
 
RESOLVED: Apparently the Tensyduino add-on installation (for Arduino IDE) had somehow been removed, perhaps during a system update or something. Weird, it was definitely installed on this machine back in June 2023. Once I re-installed it, it was able to recognize the NEW style RawHID teensy boards.

(my clue was: since the 00-teensy.rules file wasn't present on my machine already, I knew something must not have installed correctly. Thanks for that clue, Paul)
 
Back
Top