Rick,

This very question was asked (and answered) on this list about a year ago. You 
can read it here:

https://lists.apple.com/archives/usb/2015/Jun/msg00005.html

-Carl

> On Jun 26, 2016, at 4:31 PM, Rick Mann <[email protected]> wrote:
> 
> I have an IonMC RoboClaw 2x160 A motor controller. It has a USB interface. 
> When I plug it in, it shows up in USBProber as the following device. Its 
> product string is "USB Roboclaw 2x160A". But the serial port device that 
> appears is "/dev/usbmodem1411".
> 
> Is there any way for me to find the serial device based on the product string 
> of the USB device that connects? Alternatively, is there a way to determine 
> the USB device corresponding to a serial port device I get from 
> IOServiceAddMatchingNotification(), using a kIOSerialBSDServiceValue matching 
> dictionary?
> 
> Thanks.
> 
> Full Speed device @ 16 (0x14100000): 
> .............................................   Communication device: "USB 
> Roboclaw 2x160A"
>    Port Information:   0x001a
>           Not Captive
>           Attached to Root Hub
>           External Device
>           Connected
>           Enabled
>    Number Of Endpoints (includes EP0):   
>        Total Endpoints for Configuration 1 (current):   4
>    Device Descriptor   
>        Descriptor Version Number:   0x0200
>        Device Class:   2   (Communication)
>        Device Subclass:   0
>        Device Protocol:   0
>        Device MaxPacketSize:   64
>        Device VendorID/ProductID:   0x03EB/0x2404   (Atmel Corporation)
>        Device Version Number:   0x0100
>        Number of Configurations:   1
>        Manufacturer String:   1 (none)
>        Product String:   2 "USB Roboclaw 2x160A"
>        Serial Number String:   0 (none)
>    Configuration Descriptor   
>        Length (and contents):   62
>        Number of Interfaces:   2
>        Configuration Value:   1
>        Attributes:   0x40 (self-powered)
>        MaxPower:   100 ma
>        Interface #0 - Communications-Control   
>            Alternate Setting   0
>            Number of Endpoints   1
>            Interface Class:   2   (Communications-Control)
>            Interface Subclass;   2
>            Interface Protocol:   0
>            Comm Class Header Functional Descriptor   
>            Comm Class Abstract Control Management Functional Descriptor   
>            Comm Class Union Functional Descriptor   
>            Endpoint 0x82 - Interrupt Input   
>        Interface #1 - Communications-Data/Unknown Comm Class Model   
>            Alternate Setting   0
>            Number of Endpoints   2
>            Interface Class:   10   (Communications-Data)
>            Interface Subclass;   0   (Unknown Comm Class Model)
>            Interface Protocol:   0
>            Endpoint 0x81 - Bulk Input   
>            Endpoint 0x01 - Bulk Output   
> 
> 
> -- 
> Rick Mann
> [email protected]
> 
> 
> 
> _______________________________________________
> 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/newslists%40autonomy.caltech.edu
> 
> This email sent to [email protected]


 _______________________________________________
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