lkml.org 
[lkml]   [2005]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: permissions of /proc/tty/driver
On Sun, Jan 16, 2005 at 02:13:46PM +0100, Thomas Viehmann wrote:
> Hi.
>
> 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?

I think that's the obvious way. Using libsysfs will make your life much
easier when doing that, though.

-
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    [from the cache]
©2003-2011 Jasper Spaans