MATRIX M4 NOT CONNECTING TO UBUNTU

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.
User avatar
linuxuser1
 
Posts: 10
Joined: Wed Jul 27, 2022 5:50 pm

MATRIX M4 NOT CONNECTING TO UBUNTU

Post by linuxuser1 »

When I connect the Matrix Portal M4 to my ubuntu 20.04 laptop via USB C nothing happens. No lights, nothing.

I've tested on my work computer (windows) with the same USB cable and everything seems to work. The board even lights up if I connect it to my phone.

Are there any resources for troubleshooting in Linux?

Thanks

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

Re: MATRIX M4 NOT CONNECTING TO UBUNTU

Post by dastels »


User avatar
linuxuser1
 
Posts: 10
Joined: Wed Jul 27, 2022 5:50 pm

Re: MATRIX M4 NOT CONNECTING TO UBUNTU

Post by linuxuser1 »

I don't see anything called ls /dev/ttyACM* either before or after plugging the board in

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

Re: MATRIX M4 NOT CONNECTING TO UBUNTU

Post by dastels »

It would be /dev/ttyACM0 or /dev/ttyACM1, etc.

It should appear when you plug in the board (be sure it's a data cable).

Dave

User avatar
linuxuser1
 
Posts: 10
Joined: Wed Jul 27, 2022 5:50 pm

Re: MATRIX M4 NOT CONNECTING TO UBUNTU

Post by linuxuser1 »

dastels wrote:It would be /dev/ttyACM0 or /dev/ttyACM1, etc.

It should appear when you plug in the board (be sure it's a data cable).

Dave
Like I said, there's nothing by that name either before or after I plug it in. I can use this cable to transfer data to/from my phone, so I'm pretty sure it's a data cable.

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

Re: MATRIX M4 NOT CONNECTING TO UBUNTU

Post by dastels »

What happens when you double-press reset?

Dave

User avatar
linuxuser1
 
Posts: 10
Joined: Wed Jul 27, 2022 5:50 pm

Re: MATRIX M4 NOT CONNECTING TO UBUNTU

Post by linuxuser1 »

dastels wrote:What happens when you double-press reset?

Dave
Nothing happens, no lights before or after.

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

Re: MATRIX M4 NOT CONNECTING TO UBUNTU

Post by dastels »

Can you post clear pictures of what you have hooked up?

Dave

User avatar
linuxuser1
 
Posts: 10
Joined: Wed Jul 27, 2022 5:50 pm

Re: MATRIX M4 NOT CONNECTING TO UBUNTU

Post by linuxuser1 »

dastels wrote:Can you post clear pictures of what you have hooked up?

Dave
It's hooked up correctly. I know this because it works when I connect my work laptop, or my phone.

Here's a photo: https://imgur.com/a/VN0WKbf

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

Re: MATRIX M4 NOT CONNECTING TO UBUNTU

Post by dastels »

Right. OK, back a few posts: did you check/fix the permissions?

Related: https://learn.adafruit.com/welcome-to-c ... ux-3105120

Dave

User avatar
linuxuser1
 
Posts: 10
Joined: Wed Jul 27, 2022 5:50 pm

Re: MATRIX M4 NOT CONNECTING TO UBUNTU

Post by linuxuser1 »

dastels wrote:Right. OK, back a few posts: did you check/fix the permissions?

Related: https://learn.adafruit.com/welcome-to-c ... ux-3105120

Dave
Nothing there made a difference. I don't think my connection is even getting that far.

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

Re: MATRIX M4 NOT CONNECTING TO UBUNTU

Post by dastels »

Is the MatrixPortal getting power? When you plug it in the 5v & 3v green LEDS should light.

Dave

User avatar
linuxuser1
 
Posts: 10
Joined: Wed Jul 27, 2022 5:50 pm

Re: MATRIX M4 NOT CONNECTING TO UBUNTU

Post by linuxuser1 »

dastels wrote:Is the MatrixPortal getting power? When you plug it in the 5v & 3v green LEDS should light.

Dave
No, nothing is lighting up at all.

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

Re: MATRIX M4 NOT CONNECTING TO UBUNTU

Post by dastels »

OK, it sounds like the board isn't getting power. The cable works on other computers so it's good. Does that USB port on the laptop power other devices? I'm suspecting a bad USB port/connection.

Dave

User avatar
linuxuser1
 
Posts: 10
Joined: Wed Jul 27, 2022 5:50 pm

Re: MATRIX M4 NOT CONNECTING TO UBUNTU

Post by linuxuser1 »

dastels wrote:OK, it sounds like the board isn't getting power. The cable works on other computers so it's good. Does that USB port on the laptop power other devices? I'm suspecting a bad USB port/connection.

Dave
Yes, I can charge and transfer files to my phone using the same USB port/cable. I think there's an issue with ubuntu not recognizing/powering the Matrix Portal M4 in particular

It does show up when I run lsusb though:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I've attached the dmesg output when I plug the device in.
dmesg_output.txt
dmesg output when I plug the file in
(7.1 KiB) Downloaded 3 times

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

Return to “Itsy Bitsy Boards”