From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Mansfield Date: Mon, 09 Feb 2004 23:12:03 +0000 Subject: Re: udev/hotplug success story Message-Id: <20040209151202.A5874@beaverton.ibm.com> List-Id: References: <4026A5F4.1000901@reactivated.net> In-Reply-To: <4026A5F4.1000901@reactivated.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Mon, Feb 09, 2004 at 12:50:50AM +0100, M=E5ns Rullg=E5rd wrote: > Daniel Drake writes: >=20 > > Hotplug is doing a good job of managing my usb modules. When I plug my > > camera in, it loads usb-storage as expected. However, it doesnt load > > sd_mod, meaning that no /dev/sda1 is created, and I can't access my > > pictures. >=20 > It used to load sd-mod automatically for me, but stopped some time > around 2.6.2-rc1. We could race looking for the sys attribute type in scsi.agent. That is scsi attributes are added after the hotplug is invoked. Is there anything in your log file from scsi.agent? Like this one: mesg "how to add device type=3D$TYPE at $DEVPATH ??" If so, try adding a sleep 1 in scsi.agent just before the cat of type, i.e.: sleep 1 TYPE=3D$(cat /sys/$DEVPATH/type) -- Patrick Mansfield ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ 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