lkml.org 
[lkml]   [2005]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: permissions of /proc/tty/driver
Date
On Sun, 16 Jan 2005 14:13:46 +0100, Thomas Viehmann wrote:

> Christoph Hellwig wrote:
>> Counter-question: What information is available in
>> /proc/tty/driver/usbserial but not in sysfs?
>
> Thanks for this hint, is there a way of finding vendor and product ids
> of all ttyUSB devices better than
> looking for /sys/bus/usb/devices/*-*/*-*:*/ttyUSB* and then ckecking the
> obvious files in the grandparent directory?

/sys/bus/usb-serial/devices/* looks like what you need...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.090 / U:0.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site