Re: permissions of /proc/tty/driver

From: Thomas Viehmann
Date: Sun Jan 16 2005 - 08:14:58 EST


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?

Kind regards

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