Re: libifp and the new udev (was: Re: PCMCIA & udev changes)

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

 



Per Bjornsson (perbj@xxxxxxxxxxxx) said: 
> OK, on a more serious note, what actually drives the scripts there is
> the /etc/hotplug/usb.agent, which maps devices to hotplug actions using
> the various helper files (including those in /etc/hotplug/usb). Is this
> still the preferred way to go about adding some custom device
> initialization on hotplug?

No. In fact, /etc/hotplug/usb.agent is going away very very soon; it should
all be done via udev rules.

> using libusb. Thus we're not interested in making device nodes in /dev
> or so, the only thing the script is supposed to do is to set up the
> correct access permissions on the relevant /proc/bus/usb/* node.

That should be done easily enough - even if you're not making device nodes,
you'll still get notification of the device id being added, which should
allow you to do this.

Bill

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux