Re: udev weirdness

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

 



Konstantin Svist wrote:
> Mikkel L. Ellertson wrote:
>> Konstantin Svist wrote:
>>   
>>> Hi,
>>>
>>> Using the tutorial at http://reactivated.net/writing_udev_rules.html,
>>> I've written a custom udev rule for my Zalman HD135 case - specifically,
>>> for the built-in VFD + IR receiver. The rule looks something like this:
>>>
>>> ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403",
>>> ATTRS{idProduct}=="6001", SYMLINK+="lcd lcd-zalman-hd135"
>>>
>>> The problem is, sometimes (at reboot) it creates the symlinks to ttyUSB0
>>> (as it's supposed to) -- but other times to usbdev[...]. When it links
>>> to usbdev*, lirc and lcdproc don't work. If I run udevtrigger after the
>>> system is up, the symlinks are created correctly every time.
>>>
>>> My question is, why does this happen? It's almost as if ttyUSB0 is not
>>> created in time and the symlink gets assigned to the parent (as defined
>>> by udevinfo). Unfortunately, udev doesn't seem to allow me to write a
>>> rule that would match the final ttyUSB0 device...
>>>
> 
> 
One more dumb question - is that SUBSYSTEMS or SUBSYSTEM? It should
be SUBSYSTEM, but you posted SUBSYSTEMS

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux