Skip to content

Error when running 2.1.0 using serial connection on macOS 15.2 #200

@dbhinz

Description

@dbhinz

Tried using ADTPro 2.1.0 from macOS 15.2 and got the following error.

"There are no serial ports or the serial library RXTX is not installed or visible."

I'm using ADTPro from the current releases. I also tried using ADTPro v.r.m from SourceForge.

I see that the release notes for ADTPro say that jssc is being used now in place of rxtx.

My /dev directory has the following:

crw-rw-rw-  1 root   wheel      0x9000004 Jan  6 22:56 tty.usbserial-AB718YKK
crw-rw-rw-  1 root   wheel      0x9000005 Jan  6 22:56 cu.usbserial-AB718YKK
crw-rw-rw-  1 root   wheel      0x9000006 Jan  6 22:56 tty.usbserial-3
crw-rw-rw-  1 root   wheel      0x9000007 Jan  6 22:56 cu.usbserial-3
crw-rw-rw-  1 root   tty        0xf000001 Jan  6 22:56 ptmx
crw--w----  1 dhinz  tty       0x10000000 Jan  6 22:56 ttys000
crw-rw-rw-  1 root   wheel      0x3000002 Jan  6 22:56 null

I'm using the latest drivers, 1.5.0, with the FT232R cable from FTDI.

I've tried running by starting from the icon and from the ADTPro.command. I've verified that the paths are correct that are used in the ADTPro.command script. Java JRE 1.8.0_431-b10 is being used. I've tried running my user and using sudo.

When running from the command line I get:

dhinz@bluebird ADTPro-2.1.0 % sudo ./ADTPro.command
ADTPro Server version 2.1.0

2025-01-06 23:52:38.632 java[4985:49298] +[IMKClient subclass]: chose IMKClient_Modern
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load the jssc library: Couldn't load library library jssc
	at jssc.SerialNativeInterface.<clinit>(SerialNativeInterface.java:90)
	at jssc.SerialPortList.<clinit>(SerialPortList.java:43)
	at org.adtpro.transport.SerialTransport.getPortNames(Unknown Source)
	at org.adtpro.gui.SerialConfig.enumeratePorts(Unknown Source)
	at org.adtpro.gui.SerialConfig.<init>(Unknown Source)
	at org.adtpro.gui.SerialConfig.allocateSingleton(Unknown Source)
	at org.adtpro.gui.SerialConfig.getSingleton(Unknown Source)
	at org.adtpro.gui.Gui.<init>(Unknown Source)
	at org.adtpro.ADTPro.main(Unknown Source)
dhinz@bluebird ADTPro-2.1.0 % ls -l lib
total 784
-rw-r--r--  1 dhinz  admin  395434 Nov 26  2020 ADTPro-2.1.0.jar
-rw-r--r--  1 dhinz  admin    2238 Nov 26  2020 ADTPro.ico
drwxr-xr-x  3 dhinz  admin      96 Nov 26  2020 AppleCommander
drwxr-xr-x  4 dhinz  admin     128 Nov 26  2020 jssc
dhinz@bluebird ADTPro-2.1.0 % ls -l lib/jssc
total 832
-rw-r--r--  1 dhinz  admin  420769 Nov 26  2020 jssc-2.9.2.jar
-rw-r--r--  1 dhinz  admin    4084 Nov 26  2020 slf4j-nop-1.7.9.jar

Running from the GUI the trace file has:

1/7/25 4:33:44 PM Gui.actionPerformed() entry, responding to Serial; previous button is Disconnect
1/7/25 4:33:45 PM Gui.actionPerformed() entry, responding to Disconnect; previous button is Disconnect
1/7/25 4:33:45 PM Gui.actionPerformed() exit.
1/7/25 4:33:45 PM Gui.actionPerformed() exit.
1/7/25 4:33:48 PM Gui.getWorkingDirectory(): /Applications/ADTPro-2.1.0/disks/

Any suggestions?

Has ADTPro been tested with macOS 15.2 on a Mac Mini M4?

David.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions