I have TP-LINK TL-WR841ND wireless router. Its chip supports USB, however,
TL-WR841ND does not have a physical USB port (although its possible to add through a hardware mod, only a few people have done it)
For all the routers with this chip, USB_SUPPORT (and AUDIO_SUPPORT, which depends on USB_SUPPORT) - are enabled and hardcoded in target/Config.in file. They can't be disabled through "make menuconfig", the only way to disable them is by manually editing target/Config.in to comment these lines:
# config AUDIO_SUPPORT <--- commented both lines
# bool <--- commented both lines
config PCI_SUPPORT
# select AUDIO_SUPPORT <--- only this line is commented
bool
# config USB_SUPPORT <--- all three lines are commented
# select AUDIO_SUPPORT <--- all three lines are commented
# bool <--- all three lines are commented
Why this is a problem? TL-WR841ND has a small flash chip - just 4MB, quite hard to fit all the good stuff there. By disabling the unnecessary USB_SUPPORT and AUDIO_SUPPORT options, for a device which does not have USB port (without a hardware mod), I save about 100-150 KB which is HUGE ! Probably some people who has another router with USB port, but dont use this port, would want to disable these options to save space
dear OpenWRT developer, please:
1) Make it possible to enable/disable these options from menuconfig
2) Disable these options by default for the routers without a hardware USB port (like TL-WR841ND), but let them to be enabled just in case someone has done a hardware mod
P.S. posting this ticket here because the official place for OpenWRT tickets does not allow a registration for new users (Trac anti-spam system bans you even if you successfully enter the captcha code!)
(Last edited by mward15 on 8 Jan 2017, 13:14)