You don't need rfkill afaik.
2010/4/26 Janno Sannik <ja...@foor.ee>: > Yeah, I of course forgot to specify that I have gemini build. Seems to be > problem is related to arch. > > Well, I'm kinda slow, because I found out that I needed to add > DEPENDS:=...@target_x86||TARGET_s3c24xx||TARGET_brcm47xx||TARGET_ar71xx||TARGET_gemini > to rfkill packages, but in the meantime somebody updated the trunk and > DEPENDS: is removed alltogether and > $(call SetDepends/rfkill) has been added: > > --- a/other.mk > +++ b/other.mk > @@ -65,6 +65,7 @@ > KCONFIG:=CONFIG_CRC16 > FILES:=$(LINUX_DIR)/lib/crc16.$(LINUX_KMOD_SUFFIX) > AUTOLOAD:=$(call AutoLoad,20,crc16,1) > + $(call SetDepends/crc16) > endef > > define KernelPackage/crc16/description > @@ -261,8 +262,7 @@ > define KernelPackage/bluetooth > SUBMENU:=$(OTHER_MENU) > TITLE:=Bluetooth support > - DEPENDS:=...@usb_support +kmod-crc16 +kmod-usb-core +!TARGET_x86:kmod-hid \ > - > +(TARGET_x86||TARGET_s3c24xx||TARGET_brcm47xx||TARGET_ar71xx):kmod-rfkill > + DEPENDS:=...@usb_support +kmod-usb-core +!TARGET_x86:kmod-hid > KCONFIG:= \ > CONFIG_BLUEZ \ > CONFIG_BLUEZ_L2CAP \ > @@ -281,6 +281,8 @@ > CONFIG_BT_HCIUSB \ > CONFIG_BT_HCIUART \ > CONFIG_BT_HIDP > + $(call AddDepends/crc16) > + $(call AddDepends/rfkill) > endef > > define KernelPackage/bluetooth/2.4 > @@ -852,7 +854,6 @@ > define KernelPackage/rfkill > SUBMENU:=$(OTHER_MENU) > TITLE:=RF switch subsystem support > - DEPENDS:=...@target_x86||TARGET_s3c24xx||TARGET_brcm47xx||TARGET_ar71xx > KCONFIG:= \ > CONFIG_RFKILL \ > CONFIG_RFKILL_INPUT=y \ > @@ -867,6 +868,7 @@ > $(LINUX_DIR)/net/rfkill/rfkill-input.$(LINUX_KMOD_SUFFIX) > AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input) > endif > + $(call SetDepends/rfkill) > endef > > define KernelPackage/rfkill/description > > > If I selecet brcm47xx as target then I can select rfswitch from menuconfig. > Then I switchi to gemini (cortina systems) then I can't. If I comment out > $(call SetDepends/rfkill) then I can select rfswitch with gemini build. > Any hint where dependencies are stored? I'm still very new to building and > makefiles, so be gentle with me :-). I could just build it as as, but I > would like to know how the right way to do it. > > > > On 23.04.2010 11:25, Bernhard Loos wrote: > > The option was there in 8.09, not sure why it vanished in the meantime. > You will have to edit the Makefile to bring it back. > But HSO modems aren't supported out ouf the box in openwrt, you will > have to play with the network and dialup scripts. > Search trac, there was a ticket with some patches for it. > > Bernhard > > 2010/4/20 Janno Sannik <ja...@foor.ee>: > > > Well, hit the wall at this point: > https://forum.openwrt.org/viewtopic.php?id=22301 > There IS no kmod-usb-net module in the section allthou it's suppose to be in > kernel. > > <*> kmod-usb-core............................................ Support for > USB │ │ > │ │ < > kmod-usb-acm......................... Support for modems/isdn > controllers │ │ > │ │ < > kmod-usb-atm.................................. Support for ATM on > USB bus │ │ > │ │ < > kmod-usb-audio............................. Support for USB audio > devices │ │ > │ │ < > kmod-usb-cm109.................................. Support for CM109 > device │ │ > │ │ < > kmod-usb-hid......................... Support for USB Human Input > Devices │ │ > │ │ <M> kmod-usb-net............... Kernel modules for USB-to-Ethernet > convertors │ │ > │ │ < > kmod-usb-net-asix...... Kernel module for USB-to-Ethernet Asix > convertors (NEW) │ │ > │ │ < > kmod-usb-net-cdc-ether.............. Support for cdc ethernet > connections (NEW) │ │ > │ │ < > kmod-usb-net-dm9601-ether........ Support for DM9601 ethernet > connections (NEW) │ │ > │ │ < > kmod-usb-net-kaweth.. Kernel module for USB-to-Ethernet Kaweth > convertors (NEW) │ │ > │ │ < > kmod-usb-net-mcs7830 (NEW) │ │ > │ │ < > kmod-usb-net-pegasus (NEW) │ │ > │ │ < > kmod-usb-net-rndis......................... Support for RNDIS > connections (NEW) │ │ > │ │ < > kmod-usb-ohci............................... Support for OHCI > controllers │ │ > │ │ < > kmod-usb-phidget...................................... USB Phidget > Driver │ │ > │ │ < > kmod-usb-printer.................................... Support for > printers │ │ > │ │ < > kmod-usb-serial..................... Support for USB-to-Serial > converters │ │ > │ │ <M> kmod-usb-storage..................................... USB Storage > support │ │ > │ │ < > kmod-usb-storage-extras.................... Extra drivers for > usb-storage │ │ > │ │ < > kmod-usb-uhci............................... Support for UHCI > controllers │ │ > │ │ < > kmod-usb-video............................. Support for USB video > devices │ │ > │ │ < > kmod-usb-yealink.................................. USB Yealink VOIP > phone │ │ > │ │ <*> kmod-usb2................................... Support for USB2 > controllers │ │ > │ │ < > kmod-usbip.................................. USB-over-IP (kernel > support) │ │ > │ │ < > kmod-usbip-client..................... USB-over-IP (kernel client > driver) │ │ > │ │ < > kmod-usbip-server....................... USB-over-IP (kernel host > driver) │ │ > │ │ > > > On 20.04.2010 22:18, Bernhard Loos wrote: > > > 2010/4/20 Janno Sannik<ja...@foor.ee>: > > > > I'm kinda new to openwrt dependency and bulding. I have set the required > modules (RFKILL, CONFIG_USB_HSO) in kernel_menuconfig as described in > ticket: https://dev.openwrt.org/ticket/6998 . make kernel_menuconfig > shows > it, but after exiting looking at > build_dir/linux-gemini/linux-2.6.32.10/.config it still is unset. > > > > That's because of the way openwrt handles modules. > Don't touch kernel_menuconfig unless you know, what you are doing. > Enable instead the packages in normal openwrt menuconfig. > It will still build kernel modules. > > > > > Procedure is as follows: > get latest svn > make symlinks/packages > make menuconfig (configure for gemini and kmod-usb2) > make > (for some reason if make kernel_menuconfig was called before building > kernel > first time, it gives error. Sorry, didn't note it down, but probably can > be > reproduced) > > > > That's normal, because the tools (quilt is needed) are not yet build. > > > > > make kernel_menuconfig > make > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel > > > > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel > > > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel > > > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel > > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel > > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel