Gordon, The devices we’re using are not the same, nor from the same vendor. One has an assigned PID/VID, the other only has a VID (PID is 0x0). iSerialNumber for both show 0x0 in IORegistryExplorer.
So… what I’m hoping is either: - To find the BSD mount point based on PID/VID, or - To find PID/VID based on BSD mount point If I could do either of these, I’d be in business. As it stands, my app can find all mount points for modem-type devices, but I have no programmatic way to match them to a specific PID/VID. -Carl > On Jul 8, 2015, at 12:17 PM, Gordon Rankin <[email protected]> wrote: > > 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]
