Re: Using %s{product} and %s{bInterfaceNumber} in UDEV rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Greg" == Greg KH <greg@xxxxxxxxx> writes:

    Greg> On Tue, Nov 08, 2011 at 05:17:22PM +0100, Uwe Bonnes wrote:
    >> Hello,
    >> 
    >> in a quest to get static name for our devices, I started with
    >> following rule:
    >> 
    >> SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{manufacturer}=="IKDA", \
    >> SYMLINK="%s{product}_%s{serial}"

    Greg> Wait, if you have a usb to serial device, you already have
    Greg> persistant device names in the /dev/serial/ directories, what's
    Greg> wrong with those?

Knowledge about it?

# cd ..linux-2.6/Documentation
# find |xargs grep /dev/serial

Thanks
-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux