Can't get a port in Arduino 2.0 IDE for Trinket in in Ubuntu22

Adafruit's tiny microcontroller platform. Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
randyrue
 
Posts: 1
Joined: Sun Jun 28, 2020 1:09 am

Can't get a port in Arduino 2.0 IDE for Trinket in in Ubuntu22

Post by randyrue »

Hi All,

I've added the /etc/udev/rules.d entry to allow the dialout group access to the USBtiny device 1781:0c9f:
SUBSYSTEM=="usb", ATTR{product}=="USBtiny", ATTR{idProduct}=="0c9f", ATTRS{idVendor}=="1781", MODE="0660", GROUP="dialout"

I am indeed a member of the dialout group.

I can see the device in 'lsusb'

If I run 'dmesg -w' and plug the trinket in I can see it detecting but not getting a /dev/ttyX assignment:

[ 1071.236126] usb 1-3: USB disconnect, device number 12
[ 1073.960212] usb 1-3: new low-speed USB device number 13 using xhci_hcd
[ 1074.114970] usb 1-3: New USB device found, idVendor=1781, idProduct=0c9f, bcdDevice= 1.05
[ 1074.114973] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1074.114974] usb 1-3: Product: Trinket
[ 1074.114975] usb 1-3: Manufacturer: Adafruit

also note that if I run lsusb -t -v I get this for that device:
|__ Port 3: Dev 13, If 0, Class=, Driver=, 1.5M
ID 1781:0c9f Multiple Vendors USBtiny


Should I be concerned that the Driver entry is blank?

Hope to hear from you,

Randy in Seattle

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: Can't get a port in Arduino 2.0 IDE for Trinket in in Ubuntu22

Post by dastels »

This is one of the old trinkets? If so, problems are not surprising. There's a warning on the product page:
Deprecation Warning: The Trinket bit-bang USB technique it uses doesn't work as well as it did in 2014, many modern computers won't work well. So while we still carry the Trinket so that people can maintain some older projects, we no longer recommend it. Please check out the Trinket M0. It has built-in USB, more capabilities, and is comparable in price!
Dave

Locked
Please be positive and constructive with your questions and comments.

Return to “Trinket ATTiny, Trinket M0”