Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX: Serial ports not showing on big Sur #331

Open
tablatronix opened this issue Oct 3, 2021 · 2 comments
Open

OSX: Serial ports not showing on big Sur #331

tablatronix opened this issue Oct 3, 2021 · 2 comments

Comments

@tablatronix
Copy link

tablatronix commented Oct 3, 2021

For some reason on my new computer I cannot get serial ports to show i the drop down..
Pio sees them, perhaps deviot uses some generic python module to do this instead of using pio devices list.. maybe a perm issue?

Ota ports show fine..

@tablatronix
Copy link
Author

tablatronix commented Oct 3, 2021

Ok so only .cu are being seen(which seems ok) , but there is no address so they are filtered which is odd since

python -m serial.tools.list_ports -v shows

/dev/cu.SLAB_USBtoUART
    desc: CP2104 USB to UART Bridge Controller
    hwid: USB VID:PID=10C4:EA60 SER=0170E926 LOCATION=2-2.1

But serial_port_list only

/dev/cu.wlan-debug
n/a
n/a
/dev/cu.debug-console
n/a
n/a
/dev/cu.Bluetooth-Incoming-Port
n/a
n/a
/dev/cu.usbserial-0170E926
n/a
n/a
/dev/cu.SLAB_USBtoUART
n/a
n/a

@tablatronix
Copy link
Author

tablatronix commented Oct 3, 2021

workaround for now was to just ignore it, so i can at least use them, not sure why these are missing yet, probably module outdated

remove the n/a check for now address != 'n/a'

        for dev_name in dev_names:
            if(address != 'n/a' and dev_name in port_no or platform() == 'windows'):
            if(dev_name in port_no or platform() == 'windows'):
                serial_ports.append([description, port_no])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant