Keyboard Shortcuts
Likes
Search
Serial Ports on Mac OS
The first thing is to ensure you have permission to access the serial port files in the /dev directory, i.e., files with names like
/dev/tty.serial.* /dev/tty.usbserial.* Also, you need to actually have such files; if you don't, then you don't have any serial ports to access. Your login account should be a member of whatever group these files are a member of. Specifically, do _not_ try to run YAAC as root to get owner access to the serial port files; all you need is group membership. Alas, I don't know what the commands are to add a user to the membership of a group on Mac OS X. Then, once you've joined the group, and logged out and logged in again (so the group membership takes effect), start up YAAC and attempt to create a Port of type Serial_TNC (if you are accessing a KISS TNC), Serial_GPS (if you are accessing a GPS receiver and are _not_ using GPSD), or Serial_Weather (if you have a Peet Bros weather station). Hope that helps. Andrew, KA2DDO author of YAAC ________________________________________ From: [email protected] <[email protected]> on behalf of promo776 <kf6ode@...> Sent: Sunday, January 24, 2021 7:33 PM To: [email protected] Subject: [yaac-users] Serial Ports on Mac OS Apologies if this has already been covered, but I can not for the life of me figure out how to access the serial port on my Mac. |
There must be something else I am missing.
The serial ports are owned by root, and belong to the group wheel. My user belongs to wheel. Still nothing in the dropdown box when I go to create a new port. KF6ODE-0:~ <username>$ ls -l /dev/tty.* crw-rw-rw-? 1 root? wheel ? 18, ? 4 Jan 24 18:36 /dev/tty.Bluetooth-Incoming-Port crw-rw-rw-? 1 root? wheel ? 18, ? 0 Jan 24 18:36 /dev/tty.KeySerial1 crw-rw-rw-? 1 root? wheel ? 18, ? 2 Jan 24 18:36 /dev/tty.USA19H142P1.1
uid=501(<username>) gid=0(wheel) groups=0(wheel),4(tty),12(everyone),20(staff),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),701(com.apple.sharepoint.group.1),33(_appstore),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),102(com.apple.access_screensharing-disabled),101(com.apple.access_ssh-disabled),400(com.apple.access_remote_ae) |
¿ªÔÆÌåÓýHmmm... Apple strikes again. What version of Mac OS X are you using?Apple apparently changed the naming conventions for serial ports again, so the JSSC library YAAC uses to handle serial ports can't find them
From the listing you are showing, the /dev/tty.KeySerial1 and /dev/tty.USA19H142P1.1 device files would appear to be the real serial ports. Try manually typing one of those names (watching the case, as they are case-sensitive) into the dialog instead of trying to find it on the drop-down list. Andrew, KA2DDO author of YAAC -------- Original message -------- From: promo776 <kf6ode@...> Date: 1/24/21 22:48 (GMT-05:00) To: [email protected] Subject: Re: [yaac-users] Serial Ports on Mac OS There must be something else I am missing. The serial ports are owned by root, and belong to the group wheel. My user belongs to wheel. Still nothing in the dropdown box when I go to create a new port. KF6ODE-0:~ <username>$ ls -l /dev/tty.* crw-rw-rw-? 1 root? wheel ? 18, ? 4 Jan 24 18:36 /dev/tty.Bluetooth-Incoming-Port crw-rw-rw-? 1 root? wheel ? 18, ? 0 Jan 24 18:36 /dev/tty.KeySerial1 crw-rw-rw-? 1 root? wheel ? 18, ? 2 Jan 24 18:36 /dev/tty.USA19H142P1.1
uid=501(<username>) gid=0(wheel) groups=0(wheel),4(tty),12(everyone),20(staff),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),701(com.apple.sharepoint.group.1),33(_appstore),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),102(com.apple.access_screensharing-disabled),101(com.apple.access_ssh-disabled),400(com.apple.access_remote_ae) |
Catalina, which I think is 10.15
Also, I am using a Keyspan serial adapter, which as far as I can remember, has always presented as a real serial port. Your suggestion to type the port into the box worked for the Serial TNC, but not for the Kenwood option. As I am setting up an iGate, it turns out that Serial TNC is the correct port, so we are all good. |