Re: [Fwd: Can you help with a problem posting to lfs-dev & a patch for 6.2?]

2006-07-13 Thread Anthony Wright
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

Re: [Fwd: Can you help with a problem posting to lfs-dev & a patch for 6.2?]

2006-07-14 Thread Anthony Wright
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

Re: [Fwd: Can you help with a problem posting to lfs-dev & a patch for 6.2?]

2006-07-15 Thread Anthony Wright
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

Udev incorrectly generating entries in /dev/.udev/failed

2006-07-25 Thread Anthony Wright
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

Re: Udev incorrectly generating entries in /dev/.udev/failed

2006-07-26 Thread Anthony Wright
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

Re: Udev incorrectly generating entries in /dev/.udev/failed

2006-07-27 Thread Anthony Wright
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

udev.rules - /dev/cdrom is not longer created

2006-07-27 Thread Anthony Wright
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

Re: udev.rules - /dev/cdrom is not longer created

2006-07-28 Thread Anthony Wright
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

Re: Udev incorrectly generating entries in /dev/.udev/failed

2006-07-28 Thread Anthony Wright
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