On Wed, 4 May 2005, Michael wrote: > Hi. > I'm pleased to announce that I've got my driver working! I was > able yesterday to attach a USB-network device, and get it onto the > network, and use telnet! The ohci-isp1362 driver didn't get me > that far. > That's encouraging, and I think that I'll likely be able to write > reliably to a flash drive as well. > > I did a quick benchmark: time dd if=/dev/zero of=/dev/sda1 bs=512 > With the old driver, I got a real time of 5:12.19, and system time > of 11.41. (5 mins, and 11 seconds, respectively). With this new > driver, I've got a real time of 4:29.75, and a sys time of 20.44. > (which is strange, but okay; i'm happy about the real time > decrease) > > However, it seems to take a while (seconds) after I plug in a > device before it's fully recognized by the system. I run scripts > at startup to check for (and respond to) the existance of a flash > drive, and they no longer trigger, because /dev/sda1 isn't created > until after the scripts have finished. > > I could get around this, but I'd rather not add explicit delays. > Has anyone seen this with this driver, or with the isp116x driver?
The usb-storage driver includes a time delay (5 seconds by default) before it scans new devices. Some devices need this delay but most don't. The delay length can be controlled by a module parameter; if you add a line saying: options usb-storage delay_use=0 to /etc/modprobe.conf the delay will be eliminated. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
