Is there was an ioctl to get the serial number that would work on the /dev/tts/USB1 and could somone point me in the right direction?

Karl Hiramoto wrote:

hi  i was wondering if anyone could answer this question.

I'm using gentoo Linux  with udev   /dev file system and hotplug

I have many serial devices that use drivers in linux/drivers/usb/serial that are being hotpluged very frequently when you plug a device in the device shows up in /dev/tts/USB1 and in /proc/usb/devices

In my application that i am writing i want to know what USB serial number is with what device that is in /dev/ I am communicating via the file handle in /dev but also want to know what serial number it has.

How would do this?


Thanks.



--

---
Karl Hiramoto <[EMAIL PROTECTED]>
US VOIP: (1) 603.966.4448
Spain Casa  (34) 951.273.347
Spain Mobil (34) 617.463.826
Yahoo_IM = karl_hiramoto   jabber.org=karl_hiramoto
------
-
The makers may make
and the users may use,
but the fixers must fix
with but minimal clues

begin:vcard
fn:Karl Hiramoto
n:Hiramoto;Karl
email;internet:[EMAIL PROTECTED]
tel;work:(1) 603-966-4448
tel;home:(+34) 952.827.554
tel;cell:(+34) 617.463.826
x-mozilla-html:FALSE
version:2.1
end:vcard

Reply via email to