Alexander E. Patrakov wrote:
Hello,

while testing the utf8-newmake CD, I found that it (unlike utf8-r0 CD) won't load usb-storage and sd-mod modules if I plug in my USB MP3 player. The reason is that udev no longer runs programs in /etc/hotplug.d (in particular, usb.agent and scsi.agent). This has also been noticed twice in BLFS: once due to ALSA volume restoration, and the second time due to HAL/D-BUS thingy. Please build the compatibility helper, run_directory:

make EXTRAS=extras/run_directory/

and add the following rule:

RUN+="/sbin/udev_run_hotplugd"

Spoke too soon. Corrected instructions:

make EXTRAS=extras/run_directory/
make EXTRAS=extras/run_directory/ install
# Udev-070 Makefile has a bug here: wrong program is instaled
install -m755 extras/run_directory/udev_run_hotplugd /sbin
cp ../udev-config-3.rules /etc/udev/rules.d/25-lfs.rules
echo '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-070/index.html

Confirmed working on the utf8-newmake CD.

--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to