I have this working by explicitly enabling the modules I need. I played with this for a while and I don't understand what the purpose of the DEFAULT_kmod-??? variables is. They don't seem to have any effect.
On Fri, Jun 21, 2013 at 9:35 PM, [email protected] <[email protected]> wrote: > I made a profile for my RT5350 board. But when I select my board in > menuconfig, the kernel USB modules I've asked for aren't getting > selected. > > These two modules are defaulted to 'N'. Because of that my package > profile can't select them when my board is is picked. What is the fix? > > > DEFAULT_kmod-usb-ohci [=n] && DEFAULT_kmod-usb2 [=n] > > From menuconfig... > > Selects: DEFAULT_6relayd [=y] && DEFAULT_base-files [=y] && > DEFAULT_busybox [=y] && DEFAULT_dnsmasq [=y] && DEFAULT_dropbear [=y] > && DEFAULT_firewall [=y] && \ │ > │ DEFAULT_hotplug2 [=y] && DEFAULT_ip6tables [=y] && > DEFAULT_iptables [=y] && DEFAULT_kmod-button-hotplug [=y] && > DEFAULT_kmod-i2c-core [=n] && \ │ > │ DEFAULT_kmod-i2c-gpio [=n] && DEFAULT_kmod-input-core [=y] && > DEFAULT_kmod-input-gpio-keys-polled [=y] && DEFAULT_kmod-input-polldev > [=y] && \ │ > │ DEFAULT_kmod-ipt-nathelper [=y] && DEFAULT_kmod-leds-gpio [=y] && > DEFAULT_kmod-ledtrig-usbdev [=y] && DEFAULT_kmod-rt2800-pci [=y] && > DEFAULT_kmod-usb-core [=y] & │ > │ DEFAULT_kmod-usb-ohci [=n] && DEFAULT_kmod-usb2 [=n] && > DEFAULT_libc [=y] && DEFAULT_libgcc [=y] && DEFAULT_mtd [=y] && > DEFAULT_netifd [=y] && \ │ > │ DEFAULT_odhcp6c [=y] && DEFAULT_opkg [=y] && DEFAULT_ppp [=y] && > DEFAULT_ppp-mod-pppoe [=y] && DEFAULT_swconfig [=y] && DEFAULT_uci > [=y] && \ │ > │ DEFAULT_wpad-mini [=y] > > --------------------------------------------------------------------------- > > # > # Copyright (C) 2012 OpenWrt.org > # > # This is free software, licensed under the GNU General Public License v2. > # See /LICENSE for more information. > # > > define Profile/AWM002 > NAME:=AsiaRF AWM002 > PACKAGES:=kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \ > kmod-i2c-core kmod-i2c-gpio > endef > > define Profile/AWM002/Description > Package set for AsiaRF AWM002 > endef > > $(eval $(call Profile,AWM002)) > > ----.targetinfo-ramips------ > > Target-Profile: AWM002 > Target-Profile-Name: AsiaRF AWM002 > Target-Profile-Packages: kmod-usb-core kmod-usb-ohci kmod-usb2 > kmod-ledtrig-usbdev kmod-i2c-core kmod-i2c-gpio > Target-Profile-Config: > > @@ > Target-Profile-Description: > Package set for AsiaRF AWM002 > > -- > Jon Smirl > [email protected] -- Jon Smirl [email protected] _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
