Subject: Re: Probing ttyU?
To: Brad du Plessis <>
From: Lennart Augustsson <>
List: tech-kern
Date: 07/28/2003 19:31:49
There's no easy way right now.  You have to retrieve info about the device
tree and there's no API for that really.  If you look at the output of 
'usbdevs -d' you
kinda get what you want.

    -- Lennart

Brad du Plessis wrote:

>Does anyone know how to probe a umodem on ttyU? in order to get the device 
>description? ie. if I've got two different usb modems plugged into a pc, is 
>there a way that I can tell which modem is on ttyU0 and which is on ttyU1. 
>I'm interested in writing code to control different usb modems plugged into 
>the same pc, and I need to know which modem is where.
>Any help would be much appreciated.
> Brad