I think they all should stay. I don't think all of them are needed for USB but the other are needed for other things. You might want to add fat.o, vfat.o, and xfs.o also.
Joined: 18 Oct 2007 Posts: 385 Location: Grecia, Costa Rica
Posted: Mon Mar 03, 2008 13:22 Post subject:
extasy wrote:
This project is getting where I was just dreaming about 2 month ago. I’ve been waiting for a usb support for ASUS routers a long time!
I would very much appreciate if you would include 2 modules in your release:
usbserial.o
ftdi_sio.o
This project rocks! Tank you so much for your effort I’m so grateful.
Yes, this is getting real interesting. I have been building my own USB firmwares, but won't have to now. Please keep up the great work. The only thing that I would suggest that a lot of people ask for is the p910nd printer daemon. It is small and is just one file without any extra libraries. I would think it also could be configured easily from the webui.
Last edited by bkmo on Mon Mar 03, 2008 13:25; edited 1 time in total
Well, here is something to test, integrated some shinji257 code (struggled with his typos...), some mine.
ext2 and ext3 fs only for now.
GUI settings are on Services page, don't forget to reboot after you apply, so that modules get loaded.
Anyway, something to start with, something to build upon...
Typos? Please let me know where they were so maybe I can avoid them in the future. Anyways I am updating my router with this new firmware too.
EDIT: Ahh... ic some of the typos now.
Likewise if they were in the webconfig and/or nvramconfig files then I struggled with just getting the formatting right since there is no documentation as to how they should be written. I kinda went against the already existing scripts and worked from there. :cry:
BTW, I should add that when I was building the firmware I couldn't get fat or vfat modules to build at all for some reason.
Oh it looks like the FAT and XFS options to enable/disable it is still present but it isn't compiled. For anyone that still needs FAT support there isn't anything stopping you from getting the FAT kernel modules, storing them in jffs, and then loading them manually.
Also since it is in the subversion repositiory I guess we can start to try and localize it by replacing my hard strings with references to strings added into lang_pack.js.
Last edited by shinji257 on Mon Mar 03, 2008 14:09; edited 2 times in total
Here is another thread with something I wrote up to add usb support into the firmware. It may help you out with getting some of the other modules to load with src/router/Makefile changes and some other things. And don't forget the kernel config changes to get the modules.
One more thing, you may not need to have that code in there for the usb led. I think it is already handled by something called [USBLEDprobe]. I think will turn on the led when a usb device gets an address and will also blink when an attached device is reading/writing.
Hmm... It looks like the file system items are not re-appearing on their own. Maybe because I set it up to be nested (hide until USB storage support is enabled). Maybe we should just go ahead and put it in the main set.
BTW, The following modules were seen listed in /lib/modules/2.4.35 but isn't likely needed.
I also found some multi-slot flash card readers may not work. This was referenced in the USB_storage wiki file but I thought to bring it up again. These have been tested.
SanDisk ImageMate 12-in-1 Model SDDR-89 -- Not Working usb timeout when accessing media - Media changes are detected but is unable to access partition table correctly
SanDisk MobileMate SD+ Model SDDR-103 -- Working fine - Media changes detected and access is good.
Basically lines 301 and 302 in rev 9210. They relate to the modules above and copy them over. These modules were never included in any prior build and I never added them to the ones I did previously. I think rkozola had them commented out in his instructions too.
BTW, Are you sure you are wanting UFS support? It doesn't seem right. Are you sure you don't mean FFS?
thanks for your efforts, yes, it is UFS, FreeBSD stuff
but, this is not an important thing, just a "nice to have"
From what I had seen stable UFS support was not included into the kernel until 2.6.5. DD-WRT is currently running on 2.4.35. Alas it may not become possible. Your suggestion has be noted though.