0

Problems detecting HUZZAH32 on Linux (Debian, Ubuntu, et al)
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Problems detecting HUZZAH32 on Linux (Debian, Ubuntu, et al)

by dgerton on Sun Jun 26, 2022 7:21 pm

I'm posting this here because I stumbled upon a solution that I didn't see anywhere. After purchasing a new HUZZAH32 Feather, I couldn't get it to appear as a serial device in Linux.
Code: Select all | TOGGLE FULL SIZE
ls /dev/tty*


Following suggestions in other threads, I tried different cables, different computers, and recompiling the kernel with "new" CP210X USB drivers (a goose chase the guide put me on). I even bought another feather thinking the first might be borked.

The clue was in
Code: Select all | TOGGLE FULL SIZE
dmesg
which showed there was a conflict with brltty, which is a service for braille tty devices. Unless you need to use braille, you can disable the service.
Code: Select all | TOGGLE FULL SIZE
sudo systemctl stop brltty-udev.service
sudo systemctl mask brltty-udev.service
sudo systemctl stop brltty.service
sudo systemctl disable brltty.service


Unplug and plug back in your feather.

I believe brltty is installed by default in Debian, and its derivatives of which Ubuntu is one, and there are many derivatives of Ubuntu, so they have it too (pop!_os, mint, etc). I also think that both brltty and the HUZZAH32 feather want /dev/ttyUSB0 and that there is a .conf file somewhere that allows configuring brltty to use a different port, but I'll leave that exercise up to those who need it.

Hope this helps someone.

dgerton
 
Posts: 2
Joined: Sun Sep 22, 2013 8:56 pm

Re: Problems detecting HUZZAH32 on Linux (Debian, Ubuntu, et

by mikeysklar on Wed Jun 29, 2022 5:41 pm

Thank you for sharing this solution. I had not come across brltty before, but probably will see others having this same issue.

mikeysklar
 
Posts: 8106
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.


cron