Anthony Wright wrote:
Alexander E. Patrakov wrote:
Anthony Wright wrote:
ACTION=="add", ENV{MODALIAS}=="?*", RUN+="/bin/sh -c '/sbin/modprobe
$$MODALIAS ; [ -e /sys$$DEVPATH/driver -o -e
/sys$$DEVPATH/device/driver ] '"
This is indeed too l
Alex Merry wrote:
On Fri, Jul 28, 2006 at 01:02:51AM +0100, Anthony Wright wrote:
In LFS 6.1.1 the device /dev/cdrom is created during boot. In the
current version it is no longer created. It's not a required device, but
it is fairly useful as it avoids programs having to hunt aroun
In LFS 6.1.1 the device /dev/cdrom is created during boot. In the
current version it is no longer created. It's not a required device, but
it is fairly useful as it avoids programs having to hunt around the
block devices trying to work out which is the cdrom, and it's a simple
change to put it
Alexander E. Patrakov wrote:
Anthony Wright wrote:
ACTION=="add", ENV{MODALIAS}=="?*", RUN+="/bin/sh -c '/sbin/modprobe
$$MODALIAS ; [ -e /sys$$DEVPATH/driver -o -e
/sys$$DEVPATH/device/driver ] '"
This is indeed too long. Maybe (untested, relies o
Alexander E. Patrakov wrote:
Anthony Wright wrote:
When udev tries to create entries in some cases it uses modprobe, and if
this fails it causes an entry to be created in /dev/.udev/failed/
Ignore the issue. It is prsent in all distros. Of course, this is
fixable by replacing the current
When udev tries to create entries in some cases it uses modprobe, and if
this fails it causes an entry to be created in /dev/.udev/failed/
However, this only works correctly if your device drivers are installed
as modules, if the device driver is compiled into the kernel rather than
being a modul
Sounds good to me... Yeah! I've successfully contributed a whole
semi-colon to LFS :-)
Alexander E. Patrakov wrote:
Anthony Wright wrote:
X=%k; X=${X#usbdev}; B=${X%%.*} D=${X#*.}; echo bus/usb/$B/$D
produces
bus/usb/1/2
Let's go with it then.
--
http://linuxfromscratch.o
ggest making the change to the udev rules to
cover all the angles.
Cheers,
Tony.
Dan Nicholson wrote:
On 7/13/06, Bruce Dubbs <[EMAIL PROTECTED]> wrote:
From: Anthony Wright <[EMAIL PROTECTED]>
The udev-config rules do not work with the busybox /bin/sh, the patch
below correct
Hi Bryan,
Yup - got my email addresses tied in a knot again
On the udev patch I'm suggesting changing the standard definitions,
since the patch has the same functionality on a standard system, but
also works within an initramdisk/initrd so when somebody like me comes
along and wants to mo