0

Adabox010 trellis M4 not showing up on linux
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Adabox010 trellis M4 not showing up on linux

by 5cR7BjCgdvMN9e7a on Sun Dec 30, 2018 6:34 pm

I have trouble connecting my adabox010 trellis M4 to connect to my ubuntu linux computer. The demo code is running on the trellis but my computer is simply not recognizing anything. dmesg shows nothing at all after clearing and reconnecting the trellis.

dmesg shows nothing (it's empty):
Code: Select all | TOGGLE FULL SIZE
theeren@asus:~$ sudo dmesg --clear
[sudo] password for theeren:
theeren@asus:~$ dmesg


lsusb shown nothing:
Code: Select all | TOGGLE FULL SIZE
theeren@asus:~$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 13d3:5188 IMC Networks
Bus 003 Device 003: ID 13d3:3402 IMC Networks
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


My Ubuntu version:
Code: Select all | TOGGLE FULL SIZE
theeren@asus:~$ lsb_release -a
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 18.10
Release:   18.10
Codename:   cosmic


Any suggestions are appreciated.

Tammo

5cR7BjCgdvMN9e7a
 
Posts: 2
Joined: Sun Sep 10, 2017 6:32 pm

Re: Adabox010 trellis M4 not showing up on linux

by adafruit_support_mike on Mon Dec 31, 2018 3:16 am

There are some known bugs in the Linux USB stack that are apparently hard to fix without breaking support for a ton of existing hardware.

Try adding our udev rules and see if that helps:

https://learn.adafruit.com/adafruit-ard ... udev-rules

adafruit_support_mike
 
Posts: 58825
Joined: Thu Feb 11, 2010 2:51 pm

Re: Adabox010 trellis M4 not showing up on linux

by 5cR7BjCgdvMN9e7a on Mon Dec 31, 2018 8:30 pm

Installed the udev rules as suggested, and restarted.
I still don't see anything. Even without the rules something should show up in either dmesg or lsusb.
Are there any other suggestions are pointers?

Tammo

5cR7BjCgdvMN9e7a
 
Posts: 2
Joined: Sun Sep 10, 2017 6:32 pm

Re: Adabox010 trellis M4 not showing up on linux

by adafruit_support_mike on Tue Jan 01, 2019 2:41 am

As a sanity check, verify your USB cable by using it to connect some other, known-working device to the computer.

There's a plague of charge-only cables out there with USB connectors at both ends but no wires for the data. We see people get caught by them every day, and it's become normal for people to say they had to try three or four cables before finding an actual USB cable.

Just swapping cables has no diagnostic value. We need to see the positive response of a known-working device making a USB connection to rule out the false negatives of charge-only cables.

adafruit_support_mike
 
Posts: 58825
Joined: Thu Feb 11, 2010 2:51 pm

Re: Adabox010 trellis M4 not showing up on linux

by pauley on Fri Feb 22, 2019 3:08 am

I had the same issue, and the lsusb command was super helpful.

It turned out for my case that one of the ports on my thinkpad is either bad or incompatible with the Trellis M4.

Here is the output of lsusb on my system (device 005 is the Trellis m4):
Code: Select all | TOGGLE FULL SIZE
Bus 002 Device 002: ID 0bda:0316 Realtek Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 5986:111c Acer, Inc
Bus 001 Device 002: ID 8087:0a2b Intel Corp.
Bus 001 Device 005: ID 239a:802f 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

pauley
 
Posts: 17
Joined: Mon Feb 18, 2008 12:18 pm

Re: Adabox010 trellis M4 not showing up on linux

by adafruit_support_mike on Fri Feb 22, 2019 4:06 am

There's a known issue with USB-3 ports causing trouble for microcontrollers.

High-speed USB operates at 480MHz, and the device recognition process starts with a burst of data at that frequency. The theory is that any device that can handle high-speed data will respond, and slower devices won't notice the blip. Microcontrollers whose CPU clocks run in the tens of megahertz can't read the high-speed data, but the high and low voltages can mess with the input circuits connected to the pins. For boards that handle USB internally, the high-speed data can crash the bootloader, or at least the parts that handle USB communication.

adafruit_support_mike
 
Posts: 58825
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.