Carl,

If the devices are identical and they do not have a unique serial number or something differentiating them then the mount point will not be easy to determine.

We had this problem with USB Audio devices that had the same vid, pid and serial number. We are now shipping all products with unique serial numbers so the devices will be easier to find.

Thanks,
Gordon

On 7/8/15 3:00 PM, [email protected] wrote:
Message: 1
Date: Tue, 07 Jul 2015 16:15:51 -0700
From: Carl Hoefs <[email protected]>
To: [email protected]
Subject: USB devices and BSD mount points
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=utf-8

I have a Cocoa app (10.10.4) that needs to connect to two USB devices. For one 
device, the system will assign it a BSD mount point like “/dev/cu.usbmodem431”, 
and for the other device, “/dev/cu.usbmodem641”. However, sometimes the number 
changes, so the 431 will be 471, or the 641 will be 671, etc.

Since the mount point is not fixed, what method can I rely on to determine 
which device is which? Will the one device always have an enumeration in the 
400s, and the other in the 600s, or is this a completely arbitrary number? (It 
seems not to be arbitrary since the one device always shows up in the 400s and 
the other always in the 600s, but this seems like a very fragile assumption.)

-Carl

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/usb/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to