Aug 5, 2009
Originally I had thought my USB storage device was successfully connecting to router, it wasn’t. After reading a bit I discovered why…
The USB 2.0 specification requires a 10ms reset recovery time (TRSTRCY) after port resets before commands are issued to USB devices.
However linux kernels before 2.6.11 do not implement this recovery time leading to failures on USB 2.0 devices.
This failure is intermittent and seen on some devices (If other system activity causes there to be a 10ms delay between port resume and device access, then it works, else it would fail).
It also depends on the Host controller implementation.
The EHCI controller in the Broadcom HT1000 (BCM5785) SouthBridge does not like this violation of the spec. and fails to initialize devices.
I was using DD-WRT v24-sp1, and unfortunately I was having this problem. Luckily there is an unstable SVN version that fixes this problem.
The unstable SVN version is in the others/EKO directory
TNG means the next generation,V24 SP2
NEWD means new driver, 500gpv2 should use NEWD version
I was nervous about installing this because it’s not an official release, but I felt re-assured after seeing several other people with the same router (Linksys WRT350N) running this SVN version. Installation went perfectly, and there is a new section/tab for USB.
After I could see that everything was working properly, I temporarily moved the data on the USB storage and re-partitioned the hard drive. I made 4 partitions: opt (2GB ext3), jffs (2GB ext3), swap (2GB linux swap), storage (~ FAT32.) I did this so that I would be able to install optware packages onto the USB storage instead of using the memory on the router. The memory on the router is very limited, mounting optware to the USB storage now gives me the space to install whatever I want.
After everything was said and done, I installed Samba and now the FAT32 partition is shared over my network. I’m not going to go over all the steps involved such as mounting the partitions and installing Samba, because this is already covered on the DD-WRT Wiki. Good luck!!