On Tue, 6 Dec 2005 [EMAIL PROTECTED] wrote: > >> >> How can I optimize it? Now on my kernel 2.6.11 and Pendrive > >> >> Kingston TRaveler 512MB it takes about few (5-6) seconds. > >> > > >> >You can set the extra delay to any number of seconds by adding a line to > >> >/etc/modprobe.conf. For example, to eliminate it entirely (set it to 0), > >> >add a line saying > >> > > >> >options usb-storage delay_use=0 > >> > > >> > >> no results > > > >Did you rmmod the usb-storage driver, so that when it was reloaded it > >would see the new setting? > > > > > Ok, I see I'm not experienced enough in Linux, but I know I compiled the usb > support into kernel, not as module, so what is the solution in that way?
I didn't realize you had the USB drivers built into the kernel. In that situation /etc/modprobe.conf isn't used. Instead you have to do this (you can put it in /etc/rc.d/rc.local or someplace similar so it will run whenever you reboot): echo 0 >/sys/bus/usb/drivers/usb-storage/module/parameters/delay_use Alan Stern ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users