Re: udev rule and libusb

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Michal Soltys wrote:
>>
>> BUS=="usb", ACTION=="add", SYSFS{idVendor}=="156c",
>> SYSFS{idProduct}=="0101", ENV{DEVICE}!="", \
>> NAME="dsiproII" SYMLINK+="dsiproII.%n" MODE="0666"
>>
> 
> Hmm, is it exactly as in your files ? There's missing comma between
> SYMLINK and MODE, both in single and double rule - maybe that's the
> culprit.

And also between NAME and SYMLINK in this rule -- I suspect there's no
symlink anymore either with this rule.  :-)

(Also, FWIW: setting NAME means that the device node will not be created
at its default location.  NAME moves the node; it doesn't copy it or
anything like that.  That's why you don't get the /dev/bus/usb/*/* node
when this rule is present: because the NAME is set.  SYMLINK (as in your
first rule) is usually a better way to handle this.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIQUOHS5vET1Wea5wRA9OEAJ9Z76a4edn8FvXxa08BpLRHNDVyrgCfd1ql
sBkCyx54x1kOqgAst7PQYRs=
=Xbjw
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux