From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexander E. Patrakov" Date: Wed, 26 Oct 2005 02:44:17 +0000 Subject: Re: udev 070 not create dvb device Message-Id: <435EED81.3090509@ums.usu.ru> List-Id: References: <20051015141800.26330.qmail@web34812.mail.mud.yahoo.com> In-Reply-To: <20051015141800.26330.qmail@web34812.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org lukkinosat wrote: >--- Kay Sievers wrote: > > >>Seems you miss the firmware for the device. >>Just put all firmware files in /lib/firmware/. >> >> > >Hi > >In /lib/firmware there is the file dvb-ttpci-01.fw and >with udev-058 it works, but with udev > 058 nothing >:-( > > LFS udev/hotplug setup is horribly broken wrt running handlers for firmware/module loading for at least three weeks since my report: http://www.mail-archive.com/lfs-dev@linuxfromscratch.org/msg03236.html I seriously recommend forgetting the distro that doesn't fix its current known bugs with known fix but instead plans (without much understanding of the underlying mechanisms) to remove the hotplug package. IMHO that would be too early before upstream provides a patchless way to do so, approves it in the documentation and doesn't mark it as obsolete for at least a month. In the meanwhile, you can fix it by rebuilding udev with the following instructions: # udev-071 required because of the bug in 070 Makefile make EXTRAS=extras/run_directory/ make EXTRAS=extras/run_directory/ install cp ../udev-config-4.rules /etc/udev/rules.d/25-lfs.rules echo 'ENV{UDEVD_EVENT}="1", RUN+="/sbin/udev_run_hotplugd"' >>/etc/udev/rules.d/25-lfs.rules echo 'RUN+="/sbin/udev_run_devd"' >>/etc/udev/rules.d/25-lfs.rules install -m644 -D docs/writing_udev_rules/index.html \ /usr/share/doc/udev-071/index.html The setup above is known obsolete but works. You can use a more modern approach for firmware loading, make EXTRAS=extras/firmware/ make EXTRAmake EXTRAS=extras/firmware/ install cp ../udev-config-4.rules /etc/udev/rules.d/25-lfs.rules echo 'ACTION="add", SUBSYSTEM="firmware", ENV{FIRMWARE}="*", RUN+="/sbin/firmware_helper"' >>/etc/udev/rules.d/25-lfs.rules install -m644 -D docs/writing_udev_rules/index.html \ /usr/share/doc/udev-071/index.html That will not load modules for hotplug events out of the box. See examples that contain the "MODALIAS" and "modprobe" words in the example RedHat udev rules distributed with the udev package. But that's far ahead of what LFS does now :) -- Alexander E. Patrakov ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel