danmechanic / glucid

Provides a Python api and simple CLI interface to the Lucid 8824 AD/DA audio converter via its RS232 Serial Connection
GNU General Public License v3.0
1 stars 1 forks source link

MacOS BigSur and /dev/tty.usbserial default device #6

Open zebity opened 3 years ago

zebity commented 3 years ago

BUG:

On MacOS Big Sur access to serial port is via USB/RS-232 Dongle.

The this uses Apple's new built in USB/RS-232 Driver and result in creation of device name such as: -- /dev/tty.usbserial-A50285BI (for FTDI based dongle) and -- /dev/tty-usbserial-1430 (for Prolific based dongle)

The xglucid application does not allow passing of device via startup commend (ie -d /dev/tty.usbserial-1430 ) as per the command line tool.

On Big Sur the UI does not provide any selectable tty ports so it is not possible to override the /dev/tty.usbserial default.

I tried to do work around by creating soft link from /dev/tty.usbserial -> /dev/tty.usbserial-A50285BI but MacOS does not appear to allow you to write to the /dev directly even using "sudo". So it appears appears there is not workaround.

Could GUI either allow for override via command / configuration or be fixed to allow selection of device via the UI drop down list on Big Sur.

Thank you.

mvonh commented 8 months ago

I had this issue too, thanks Dan @danmechanic Where can I find the 0.5.1, prebuild binary? I tried doing an install via Pip (python 3 on mac) I had issues with getting it installed properly. @zebity Did this work for you? Did you build a binary or install via git/ pip?

The port that are listed for me from Mac terminal are

/dev/cu.usbserial-AR0K8UDT /dev/cu.usbserial-2

both are related to my usb>rs232 adapter, howver, neither is an option in 0.5.0 (from pull-down)

thanks

Marcus