1 (edited by shm267 2007-03-25 16:52:07)

Topic: WGT634U USB sound support

I am trying to get two different USB sound nubs working on my WGT634U with the latest build of kamikaze. So far, no luck

When I plug in the USB sound adapter, I get the following message on the console

usb 1-1: new full speed USB device using ohci_hcd and address 5
usb 1-1: configuration #1 chosen from 1 choice

but that is it.

One of the sound nubs is from Turtle Beach and the other is a generic Ebay special(C-Media). What steps do I need to see why they are not getting seen by the os and how do I use them?

These are the packages I have installed so far.

root@OpenWrt:/etc# ipkg list_installed
base-files-brcm47xx-2.6 - 8-6611 -
bridge - 1.0.6-1 -
busybox - 1.4.1-1 -
dnsmasq - 2.38-1 -
dropbear - 0.48.1-1 -
fdisk - 2.12r-1 -
hotplug2 - 0.9-1 -
iptables - 1.3.5-1 -
kernel - 2.6.19.2-brcm47xx-1 -
kmod-diag - 1+2.6.19.2-brcm47xx-1 -
kmod-fs-vfat - 2.6.19.2-brcm47xx-1 -
kmod-ipt-nathelper - 2.6.19.2-brcm47xx-1 -
kmod-madwifi - 2.6.19.2+0.9.2.1-brcm47xx-1 -
kmod-nls-base - 2.6.19.2-brcm47xx-1 -
kmod-nls-cp437 - 2.6.19.2-brcm47xx-1 -
kmod-nls-iso8859-1 - 2.6.19.2-brcm47xx-1 -
kmod-nls-utf8 - 2.6.19.2-brcm47xx-1 -
kmod-ppp - 2.6.19.2-brcm47xx-1 -
kmod-pppoe - 2.6.19.2-brcm47xx-1 -
kmod-scsi-core - 2.6.19.2-brcm47xx-1 -
kmod-soundcore - 2.6.19.2-brcm47xx-1 -
kmod-switch - 2.6.19.2-brcm47xx-1 -
kmod-usb-audio - 2.6.19.2-brcm47xx-1 -
kmod-usb-core - 2.6.19.2-brcm47xx-1 -
kmod-usb-ohci - 2.6.19.2-brcm47xx-1 -
kmod-usb-storage - 2.6.19.2-brcm47xx-1 -
kmod-usb-uhci - 2.6.19.2-brcm47xx-1 -
kmod-usb2 - 2.6.19.2-brcm47xx-1 -
libflac - 1.1.2-1 -
libgcc - 4.1.2-8 -
libiconv - 1.9.1-1 -
libid3tag - 0.15.1b-1 -
libmad - 0.15.1b-1 -
libvorbisidec - 1.2.0-dave-1 -
madplay - 0.15.2b-1 -
mpc - 0.12.0-1 -
mpd - 0.12.0-1 -
mtd - 5 -
ppp - 2.4.3-7 -
ppp-mod-pppoe - 2.4.3-7 -
uclibc - 0.9.28-8 -
udevtrigger - 106-1 -
wireless-tools - 28-1 -
zlib - 1.2.3-3 -
Done.

Re: WGT634U USB sound support

what does lsmod say?

Re: WGT634U USB sound support

Here is the output from lsmod......

This was right after a clean build and reflash.

root@OpenWrt:/proc/bus/usb# lsmod
Module                  Size  Used by    Tainted: P
usb_storage            26608  0
sd_mod                 12464  0
scsi_mod               66912  2 usb_storage,sd_mod
ehci_hcd               26448  0
uhci_hcd               18480  0
ohci_hcd               14544  0
ath_pci                68288  0
wlan_xauth               480  0
wlan_wep                4320  0
wlan_tkip               9984  0
wlan_ccmp               5856  0
wlan_acl                2208  0
ath_rate_sample         8000  1 ath_pci
ath_hal               222016  3 ath_pci,ath_rate_sample
wlan_scan_sta           8224  0
wlan_scan_ap            2720  0
wlan                  135488  10 ath_pci,wlan_xauth,wlan_wep,wlan_tkip,wlan_ccmp,wlan_acl,ath_rate_sample,wlan_scan_sta,wlan_scan_ap
ip_conntrack_tftp       1680  0
ip_nat_irc               960  0
ip_conntrack_irc        2832  1 ip_nat_irc
ip_nat_ftp              1696  0
ip_conntrack_ftp        4016  1 ip_nat_ftp
ppp_async               9504  0
ppp_generic            20480  1 ppp_async
slhc                    5472  1 ppp_generic
crc_ccitt               1024  1 ppp_async
vfat                    8512  0
fat                    42288  1 vfat
nls_utf8                 896  0
nls_iso8859_1           2880  0
nls_cp437               4416  0
usbcore               102016  5 usb_storage,ehci_hcd,uhci_hcd,ohci_hcd
switch_robo             4048  0
switch_core             5056  1 switch_robo
nls_base                4576  5 vfat,fat,nls_utf8,nls_iso8859_1,nls_cp437
diag                    7696  0

Re: WGT634U USB sound support

The stick isn't finding a driver to use. You'll need to get some alsa stuff for it. I don't remember how I did it before, so hopefully someone can chime in. (I know selecting 'y' for alsa-utils will also build-in alsa-lib which has all the modules, but that's hidden because of something about alsa being in the 2.6.19.2 tree??)

Re: WGT634U USB sound support

snd_pcm_oss 38272 1 - Live 0xc02be000
snd_mixer_oss 14592 1 snd_pcm_oss, Live 0xc02a9000
snd_usb_audio 54336 1 - Live 0xc0282000
snd_hwdep 5168 1 snd_usb_audio, Live 0xc025e000
snd_usb_lib 11456 1 snd_usb_audio, Live 0xc027e000
snd_rawmidi 16384 1 snd_usb_lib, Live 0xc0262000
snd_pcm 65280 2 snd_pcm_oss,snd_usb_audio, Live 0xc0298000
snd_timer 16304 1 snd_pcm, Live 0xc0279000
snd 35968 8 snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_hwdep,snd_usb_lib,snd_rawmidi,snd_pcm,snd_timer, Live 0xc0247
000
snd_page_alloc 5168 1 snd_pcm, Live 0xc0195000


those will all (well, most of them) need to be loaded.  just make sure everythings enabled in the buildroot as brad said.

i'd love ot hear if it works with two sound cards at once.  smile  do report back.

Re: WGT634U USB sound support

Sorry, but very new to this sound stuff, how do I load these modules, will need some hand holding.

Sorry.

Re: WGT634U USB sound support

A good place to start is to google for lsmod, insmod rmmod. You might also want to check out lsusb.  Also, I think you need to use the 2.6 flavor of linux to get the sound to work, although I might be wrong on that.  Nevertheless, modules in linux 2.4 and 2.6 are not compatible with each other.  I struggled with that at first trying to get it to work, trying to load modules that were compiled for 2.4 into a 2.6 kernel.  That did not work. smile

Search the forum for my username, there are several posts about getting sound to work.  This one has a lot of random info in it.

http://forum.openwrt.org/viewtopic.php?id=8138

Having no experience with openwrt or compiling kernels or working with modules, it took me about a month to figure it out, spending free time here and there.  I even had to learn how to solder to make the stinking serial cable. smile

Ultimately, what I discovered is that even though I was compiling the sound support, the module files, *.ko, were not getting transferred to my wgt634u.  I had to throw them into my ipkg directory i was using internally and "wget" them to my /lib/module/2.6.x/ folder.  I can't remember where they live in the build tree, i think build_mipsel/../../../etc/.  I'm also unsure as to why they didn't make the cut in the firmware image.  Ahh well though.  After all that, i just used insmod to install them. If you have the luxury of having a serial cable, it will help as well b/c the kernel will print error messages about missing module dependencies.  There is a certain order that those sound modules need to be installed in.  If you don't mind waiting a day or so, I can post step by step instructions, less the details of compiling to get you up and running.  I'm making my third wgt634u music jukebox, they work great, especially if you get one with optical outs on the usb stick + mpd + mpc/qmpdclient.


*qmpdclient is a QT implementation that takes the place of mpc on your desktop.  It works in linux, windows and mac OSx - universal binary. 
http://havtknut.tihlde.org/qmpdclient/download.php

8 (edited by shm267 2007-03-25 16:51:04)

Re: WGT634U USB sound support

That would be great!!! I am using the 2.6 flavor, I will post the .config file at the bottom of this reply. I have poked arount the forum and have not found the key as of yet. The fact that the ko files are not getting over sound interesteing.

I do have a serial cable, Purchase a brainstem from http://www.acroname.com/robotics/parts/ … -CONN.html, I do not have anything to do with the manufacture, but the product does work good and is very cheap and small.

My goal here is to do two things, Play audio files from a USB stick and play audio files from a remote files system (NFS or samba).

I have the USB memory stick(s) working great.

#
# Automatically generated make config: don't edit
# OpenWrt version: Kamikaze/r6611
# Mon Mar 19 21:09:59 2007
#
CONFIG_HAVE_DOT_CONFIG=y
# CONFIG_LINUX_2_6_AU1000 is not set
# CONFIG_LINUX_2_6_AT91 is not set
# CONFIG_LINUX_2_6_ARUBA is not set
# CONFIG_LINUX_2_6_ATHEROS is not set
# CONFIG_LINUX_2_4_BRCM is not set
CONFIG_LINUX_2_6_BRCM47XX=y
# CONFIG_LINUX_2_6_BRCM63XX is not set
# CONFIG_LINUX_2_6_IOP32X is not set
# CONFIG_LINUX_2_6_IXP4XX is not set
# CONFIG_LINUX_2_6_MAGICBOX is not set
# CONFIG_LINUX_2_6_RB532 is not set
# CONFIG_LINUX_2_6_PXA is not set
# CONFIG_LINUX_2_6_RDC is not set
# CONFIG_LINUX_2_6_SIBYTE is not set
# CONFIG_LINUX_2_4_AR7 is not set
# CONFIG_LINUX_2_6_AR7 is not set
# CONFIG_LINUX_2_6_UML is not set
# CONFIG_LINUX_2_6_X86 is not set
# CONFIG_LINUX_2_6_ARM is not set
# CONFIG_LINUX_2_6_CRIS is not set
# CONFIG_LINUX_2_6_M68K is not set
# CONFIG_LINUX_2_6_SH3 is not set
# CONFIG_LINUX_2_6_SH3EB is not set
# CONFIG_LINUX_2_6_SH4 is not set
# CONFIG_LINUX_2_6_SH4EB is not set
# CONFIG_LINUX_2_6_SPARC is not set
# CONFIG_LINUX_2_6_AU1000_Atheros is not set
# CONFIG_LINUX_2_6_AU1000_Broadcom is not set
# CONFIG_LINUX_2_6_AU1000_Intel is not set
# CONFIG_LINUX_2_6_AT91_Default is not set
# CONFIG_LINUX_2_6_ARUBA_Default is not set
# CONFIG_LINUX_2_6_ATHEROS_Default is not set
# CONFIG_LINUX_2_4_BRCM_Broadcom is not set
# CONFIG_LINUX_2_4_BRCM_BroadcomMimo is not set
# CONFIG_LINUX_2_4_BRCM_Atheros is not set
# CONFIG_LINUX_2_4_BRCM_None is not set
# CONFIG_LINUX_2_4_BRCM_WL500G is not set
# CONFIG_LINUX_2_4_BRCM_WL500GD is not set
# CONFIG_LINUX_2_4_BRCM_WL500GP is not set
# CONFIG_LINUX_2_4_BRCM_WL700GE is not set
# CONFIG_LINUX_2_4_BRCM_WLHDD is not set
# CONFIG_LINUX_2_4_BRCM_WRT54G3G is not set
# CONFIG_LINUX_2_6_BRCM47XX_Atheros is not set
# CONFIG_LINUX_2_6_BRCM47XX_None is not set
CONFIG_LINUX_2_6_BRCM47XX_WGT634U=y
# CONFIG_LINUX_2_6_BRCM63XX_Atheros is not set
# CONFIG_LINUX_2_6_BRCM63XX_Broadcom is not set
# CONFIG_LINUX_2_6_BRCM63XX_Ralink is not set
# CONFIG_LINUX_2_6_IOP32X_Default is not set
# CONFIG_LINUX_2_6_IXP4XX_Default is not set
# CONFIG_LINUX_2_6_MAGICBOX_Default is not set
# CONFIG_LINUX_2_6_RB532_Default is not set
# CONFIG_LINUX_2_6_PXA_Default is not set
# CONFIG_LINUX_2_6_RDC_Ralink is not set
# CONFIG_LINUX_2_6_SIBYTE_Default is not set
# CONFIG_LINUX_2_4_AR7_AnnexA is not set
# CONFIG_LINUX_2_4_AR7_AnnexB is not set
# CONFIG_LINUX_2_4_AR7_None is not set
# CONFIG_LINUX_2_6_AR7_Default is not set
# CONFIG_LINUX_2_6_UML_Default is not set
# CONFIG_LINUX_2_6_X86_Default is not set
CONFIG_LINUX_2_6=y
CONFIG_PCI_SUPPORT=y
CONFIG_USB_SUPPORT=y
CONFIG_ATM_SUPPORT=y
CONFIG_VIDEO_SUPPORT=y
CONFIG_USES_SQUASHFS=y
CONFIG_mipsel=y
CONFIG_ARCH="mipsel"
# CONFIG_ALL is not set
CONFIG_DEVEL=y
# CONFIG_BROKEN is not set
CONFIG_BUILDOPTS=y
CONFIG_AUTOREBUILD=y
# CONFIG_TAR_VERBOSITY is not set
CONFIG_JLEVEL=8
# CONFIG_CCACHE is not set
CONFIG_SOURCE_FEEDS="https://svn.openwrt.org/openwrt/packages/"
# CONFIG_NATIVE_TOOLCHAIN is not set
CONFIG_TOOLCHAINOPTS=y
CONFIG_BINUTILS_VERSION_2_16_1=y
# CONFIG_BINUTILS_VERSION_2_17 is not set
CONFIG_BINUTILS_VERSION="2.16.1"
# CONFIG_GCC_VERSION_3_4_4 is not set
# CONFIG_GCC_VERSION_3_4_5 is not set
# CONFIG_GCC_VERSION_3_4_6 is not set
# CONFIG_GCC_VERSION_3_4_6_nonmips is not set
# CONFIG_GCC_VERSION_4_0_2 is not set
# CONFIG_GCC_VERSION_4_0_3 is not set
# CONFIG_GCC_VERSION_4_1_0 is not set
# CONFIG_GCC_VERSION_4_1_1 is not set
CONFIG_GCC_VERSION_4_1_2=y
# CONFIG_GCC_VERSION_4_2 is not set
CONFIG_EXTRA_GCC_CONFIG_OPTIONS=""
CONFIG_INSTALL_LIBSTDCPP=y
# CONFIG_GDB is not set
CONFIG_LARGEFILE=y
# CONFIG_C99_MATH is not set
CONFIG_TARGET_OPTIMIZATION="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time"
CONFIG_GCC_VERSION="4.1.2"
# CONFIG_IB is not set
# CONFIG_SDK is not set

#
# Target Images
#
# CONFIG_TARGET_ROOTFS_INITRAMFS is not set
# CONFIG_TARGET_ROOTFS_JFFS2 is not set
CONFIG_TARGET_ROOTFS_SQUASHFS=y
# CONFIG_TARGET_ROOTFS_TGZ is not set
# CONFIG_TARGET_ROOTFS_EXT2FS is not set

#
# Image Options
#
CONFIG_X86_GRUB_ROOTPART="/dev/hda2"
CONFIG_X86_GRUB_BOOTOPTS=""

#
# Image configuration
#

#
# base-files
#
CONFIG_UCI_PRECONFIG_network_lan_proto="static"
CONFIG_UCI_PRECONFIG_network_lan_ipaddr="192.168.10.3"
CONFIG_UCI_PRECONFIG_network_lan_netmask="255.255.255.0"
CONFIG_UCI_PRECONFIG_network_lan_gateway="192.168.10.1"
CONFIG_UCI_PRECONFIG_network_lan_dns="192.168.10.20"

#
# Base system
#
CONFIG_DEFAULT_base-files=y
CONFIG_DEFAULT_libgcc=y
CONFIG_DEFAULT_uclibc=y
CONFIG_DEFAULT_bridge=y
CONFIG_DEFAULT_busybox=y
CONFIG_DEFAULT_dnsmasq=y
CONFIG_DEFAULT_dropbear=y
CONFIG_DEFAULT_iptables=y
CONFIG_DEFAULT_mtd=y
CONFIG_PACKAGE_base-files=y
CONFIG_PACKAGE_bridge=y
CONFIG_PACKAGE_busybox=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_DEVFS is not set

#
# Configuration
#
CONFIG_BUSYBOX_CONFIG_HAVE_DOT_CONFIG=y

#
# Busybox Settings
#

#
# General Configuration
#
# CONFIG_BUSYBOX_CONFIG_NITPICK is not set
# CONFIG_BUSYBOX_CONFIG_DESKTOP is not set
CONFIG_BUSYBOX_CONFIG_SHOW_USAGE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VERBOSE_USAGE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_COMPRESS_USAGE=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_INSTALLER is not set
# CONFIG_BUSYBOX_CONFIG_LOCALE_SUPPORT is not set
CONFIG_BUSYBOX_CONFIG_GETOPT_LONG=y
CONFIG_BUSYBOX_CONFIG_FEATURE_DEVPTS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_SUID=y
CONFIG_BUSYBOX_CONFIG_FEATURE_SYSLOG=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_SUID_CONFIG is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_HAVE_RPC=y
# CONFIG_BUSYBOX_CONFIG_SELINUX is not set
CONFIG_BUSYBOX_CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"

#
# Build Options
#
# CONFIG_BUSYBOX_CONFIG_STATIC is not set
# CONFIG_BUSYBOX_CONFIG_BUILD_LIBBUSYBOX is not set
CONFIG_BUSYBOX_CONFIG_LFS=y
# CONFIG_BUSYBOX_CONFIG_BUILD_AT_ONCE is not set

#
# Debugging Options
#
# CONFIG_BUSYBOX_CONFIG_DEBUG is not set
CONFIG_BUSYBOX_CONFIG_INCLUDE_SUSv2=y

#
# Installation Options
#
# CONFIG_BUSYBOX_CONFIG_INSTALL_NO_USR is not set
CONFIG_BUSYBOX_CONFIG_INSTALL_APPLET_SYMLINKS=y
# CONFIG_BUSYBOX_CONFIG_INSTALL_APPLET_HARDLINKS is not set
# CONFIG_BUSYBOX_CONFIG_INSTALL_APPLET_DONT is not set
CONFIG_BUSYBOX_CONFIG_PREFIX="./_install"

#
# Busybox Library Tuning
#
CONFIG_BUSYBOX_CONFIG_PASSWORD_MINLEN=6
CONFIG_BUSYBOX_CONFIG_MD5_SIZE_VS_SPEED=2

#
# Applets
#

#
# Archival Utilities
#
# CONFIG_BUSYBOX_CONFIG_AR is not set
CONFIG_BUSYBOX_CONFIG_BUNZIP2=y
# CONFIG_BUSYBOX_CONFIG_CPIO is not set
# CONFIG_BUSYBOX_CONFIG_DPKG is not set
# CONFIG_BUSYBOX_CONFIG_DPKG_DEB is not set
CONFIG_BUSYBOX_CONFIG_GUNZIP=y
CONFIG_BUSYBOX_CONFIG_FEATURE_GUNZIP_UNCOMPRESS=y
CONFIG_BUSYBOX_CONFIG_GZIP=y
CONFIG_BUSYBOX_CONFIG_IPKG=y
# CONFIG_BUSYBOX_CONFIG_RPM2CPIO is not set
# CONFIG_BUSYBOX_CONFIG_RPM is not set
CONFIG_BUSYBOX_CONFIG_TAR=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_CREATE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_BZIP2=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_LZMA is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_FROM=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_GZIP=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_COMPRESS is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS is not set
# CONFIG_BUSYBOX_CONFIG_UNCOMPRESS is not set
# CONFIG_BUSYBOX_CONFIG_UNLZMA is not set
# CONFIG_BUSYBOX_CONFIG_UNZIP is not set

#
# Common options for cpio and tar
#
# CONFIG_BUSYBOX_CONFIG_FEATURE_UNARCHIVE_TAPE is not set

#
# Coreutils
#
CONFIG_BUSYBOX_CONFIG_BASENAME=y
# CONFIG_BUSYBOX_CONFIG_CAL is not set
CONFIG_BUSYBOX_CONFIG_CAT=y
# CONFIG_BUSYBOX_CONFIG_CATV is not set
CONFIG_BUSYBOX_CONFIG_CHGRP=y
CONFIG_BUSYBOX_CONFIG_CHMOD=y
CONFIG_BUSYBOX_CONFIG_CHOWN=y
CONFIG_BUSYBOX_CONFIG_CHROOT=y
# CONFIG_BUSYBOX_CONFIG_CKSUM is not set
# CONFIG_BUSYBOX_CONFIG_CMP is not set
# CONFIG_BUSYBOX_CONFIG_COMM is not set
CONFIG_BUSYBOX_CONFIG_CP=y
CONFIG_BUSYBOX_CONFIG_CUT=y
CONFIG_BUSYBOX_CONFIG_DATE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT=y
CONFIG_BUSYBOX_CONFIG_DD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_DD_IBS_OBS is not set
CONFIG_BUSYBOX_CONFIG_DF=y
# CONFIG_BUSYBOX_CONFIG_DIFF is not set
CONFIG_BUSYBOX_CONFIG_DIRNAME=y
# CONFIG_BUSYBOX_CONFIG_DOS2UNIX is not set
CONFIG_BUSYBOX_CONFIG_DU=y
CONFIG_BUSYBOX_CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y
CONFIG_BUSYBOX_CONFIG_ECHO=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_ECHO=y
CONFIG_BUSYBOX_CONFIG_ENV=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_ENV_LONG_OPTIONS is not set
CONFIG_BUSYBOX_CONFIG_EXPR=y
# CONFIG_BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64 is not set
CONFIG_BUSYBOX_CONFIG_FALSE=y
# CONFIG_BUSYBOX_CONFIG_FOLD is not set
CONFIG_BUSYBOX_CONFIG_HEAD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_HEAD=y
CONFIG_BUSYBOX_CONFIG_HOSTID=y
CONFIG_BUSYBOX_CONFIG_ID=y
# CONFIG_BUSYBOX_CONFIG_INSTALL is not set
CONFIG_BUSYBOX_CONFIG_LENGTH=y
CONFIG_BUSYBOX_CONFIG_LN=y
# CONFIG_BUSYBOX_CONFIG_LOGNAME is not set
CONFIG_BUSYBOX_CONFIG_LS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_FILETYPES=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_FOLLOWLINKS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_RECURSIVE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_SORTFILES=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_TIMESTAMPS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_USERNAME=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_COLOR=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y
CONFIG_BUSYBOX_CONFIG_MD5SUM=y
CONFIG_BUSYBOX_CONFIG_MKDIR=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_MKDIR_LONG_OPTIONS is not set
CONFIG_BUSYBOX_CONFIG_MKFIFO=y
CONFIG_BUSYBOX_CONFIG_MKNOD=y
CONFIG_BUSYBOX_CONFIG_MV=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_MV_LONG_OPTIONS is not set
# CONFIG_BUSYBOX_CONFIG_NICE is not set
# CONFIG_BUSYBOX_CONFIG_NOHUP is not set
# CONFIG_BUSYBOX_CONFIG_OD is not set
# CONFIG_BUSYBOX_CONFIG_PRINTENV is not set
CONFIG_BUSYBOX_CONFIG_PRINTF=y
CONFIG_BUSYBOX_CONFIG_PWD=y
# CONFIG_BUSYBOX_CONFIG_REALPATH is not set
CONFIG_BUSYBOX_CONFIG_RM=y
CONFIG_BUSYBOX_CONFIG_RMDIR=y
CONFIG_BUSYBOX_CONFIG_SEQ=y
# CONFIG_BUSYBOX_CONFIG_SHA1SUM is not set
CONFIG_BUSYBOX_CONFIG_SLEEP=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP=y
CONFIG_BUSYBOX_CONFIG_SORT=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_SORT_BIG is not set
# CONFIG_BUSYBOX_CONFIG_STAT is not set
# CONFIG_BUSYBOX_CONFIG_STTY is not set
# CONFIG_BUSYBOX_CONFIG_SUM is not set
CONFIG_BUSYBOX_CONFIG_SYNC=y
CONFIG_BUSYBOX_CONFIG_TAIL=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_TAIL=y
CONFIG_BUSYBOX_CONFIG_TEE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO=y
CONFIG_BUSYBOX_CONFIG_TEST=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_TEST_64 is not set
CONFIG_BUSYBOX_CONFIG_TOUCH=y
CONFIG_BUSYBOX_CONFIG_TR=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_TR_CLASSES is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_TR_EQUIV is not set
CONFIG_BUSYBOX_CONFIG_TRUE=y
# CONFIG_BUSYBOX_CONFIG_TTY is not set
CONFIG_BUSYBOX_CONFIG_UNAME=y
CONFIG_BUSYBOX_CONFIG_UNIQ=y
# CONFIG_BUSYBOX_CONFIG_USLEEP is not set
# CONFIG_BUSYBOX_CONFIG_UUDECODE is not set
# CONFIG_BUSYBOX_CONFIG_UUENCODE is not set
# CONFIG_BUSYBOX_CONFIG_WATCH is not set
CONFIG_BUSYBOX_CONFIG_WC=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_WC_LARGE is not set
# CONFIG_BUSYBOX_CONFIG_WHO is not set
# CONFIG_BUSYBOX_CONFIG_WHOAMI is not set
CONFIG_BUSYBOX_CONFIG_YES=y

#
# Common options for cp and mv
#
CONFIG_BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS=y

#
# Common options for ls, more and telnet
#
CONFIG_BUSYBOX_CONFIG_FEATURE_AUTOWIDTH=y

#
# Common options for df, du, ls
#
CONFIG_BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE=y

#
# Common options for md5sum, sha1sum
#
CONFIG_BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y

#
# Console Utilities
#
# CONFIG_BUSYBOX_CONFIG_CHVT is not set
CONFIG_BUSYBOX_CONFIG_CLEAR=y
# CONFIG_BUSYBOX_CONFIG_DEALLOCVT is not set
# CONFIG_BUSYBOX_CONFIG_DUMPKMAP is not set
# CONFIG_BUSYBOX_CONFIG_LOADFONT is not set
# CONFIG_BUSYBOX_CONFIG_LOADKMAP is not set
# CONFIG_BUSYBOX_CONFIG_OPENVT is not set
CONFIG_BUSYBOX_CONFIG_RESET=y
# CONFIG_BUSYBOX_CONFIG_RESIZE is not set
# CONFIG_BUSYBOX_CONFIG_SETCONSOLE is not set
# CONFIG_BUSYBOX_CONFIG_SETKEYCODES is not set
# CONFIG_BUSYBOX_CONFIG_SETLOGCONS is not set

#
# Debian Utilities
#
CONFIG_BUSYBOX_CONFIG_MKTEMP=y
# CONFIG_BUSYBOX_CONFIG_PIPE_PROGRESS is not set
# CONFIG_BUSYBOX_CONFIG_READLINK is not set
# CONFIG_BUSYBOX_CONFIG_RUN_PARTS is not set
# CONFIG_BUSYBOX_CONFIG_START_STOP_DAEMON is not set
CONFIG_BUSYBOX_CONFIG_WHICH=y

#
# Editors
#
CONFIG_BUSYBOX_CONFIG_AWK=y
CONFIG_BUSYBOX_CONFIG_AWX=y
CONFIG_BUSYBOX_CONFIG_FEATURE_AWK_MATH=y
# CONFIG_BUSYBOX_CONFIG_ED is not set
# CONFIG_BUSYBOX_CONFIG_PATCH is not set
CONFIG_BUSYBOX_CONFIG_SED=y
CONFIG_BUSYBOX_CONFIG_VI=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_COLON=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_YANKMARK=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_SEARCH=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_USE_SIGNALS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_DOT_CMD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_READONLY=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_SETOPTS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_SET=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_WIN_RESIZE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
CONFIG_BUSYBOX_CONFIG_FEATURE_ALLOW_EXEC=y

#
# Finding Utilities
#
CONFIG_BUSYBOX_CONFIG_FIND=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PRINT0=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_MTIME is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_MMIN is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_PERM=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_TYPE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_XDEV=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_NEWER is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_INUM is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_FIND_EXEC=y
CONFIG_BUSYBOX_CONFIG_GREP=y
CONFIG_BUSYBOX_CONFIG_FEATURE_GREP_EGREP_ALIAS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_GREP_FGREP_ALIAS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT=y
CONFIG_BUSYBOX_CONFIG_XARGS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION=y
CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y
CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y
CONFIG_BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y

#
# Init Utilities
#
CONFIG_BUSYBOX_CONFIG_INIT=y
# CONFIG_BUSYBOX_CONFIG_DEBUG_INIT is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_USE_INITTAB=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_SCTTY is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_INITRD is not set
CONFIG_BUSYBOX_CONFIG_HALT=y
CONFIG_BUSYBOX_CONFIG_MESG=y

#
# Login/Password Management Utilities
#
# CONFIG_BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS is not set
# CONFIG_BUSYBOX_CONFIG_USE_BB_PWD_GRP is not set
# CONFIG_BUSYBOX_CONFIG_ADDGROUP is not set
# CONFIG_BUSYBOX_CONFIG_DELGROUP is not set
# CONFIG_BUSYBOX_CONFIG_ADDUSER is not set
# CONFIG_BUSYBOX_CONFIG_DELUSER is not set
# CONFIG_BUSYBOX_CONFIG_GETTY is not set
# CONFIG_BUSYBOX_CONFIG_LOGIN is not set
CONFIG_BUSYBOX_CONFIG_PASSWD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_PASSWD_WEAK_CHECK=y
# CONFIG_BUSYBOX_CONFIG_SU is not set
# CONFIG_BUSYBOX_CONFIG_SULOGIN is not set
# CONFIG_BUSYBOX_CONFIG_VLOCK is not set

#
# Linux Ext2 FS Progs
#
# CONFIG_BUSYBOX_CONFIG_CHATTR is not set
# CONFIG_BUSYBOX_CONFIG_FSCK is not set
# CONFIG_BUSYBOX_CONFIG_LSATTR is not set

#
# Linux Module Utilities
#
CONFIG_BUSYBOX_CONFIG_INSMOD=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP is not set
CONFIG_BUSYBOX_CONFIG_RMMOD=y
CONFIG_BUSYBOX_CONFIG_LSMOD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y
# CONFIG_BUSYBOX_CONFIG_MODPROBE is not set

#
# Options common to multiple modutils
#
CONFIG_BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_2_4_MODULES=y
CONFIG_BUSYBOX_CONFIG_FEATURE_2_6_MODULES=y

#
# Linux System Utilities
#
CONFIG_BUSYBOX_CONFIG_DMESG=y
CONFIG_BUSYBOX_CONFIG_FEATURE_DMESG_PRETTY=y
# CONFIG_BUSYBOX_CONFIG_FBSET is not set
# CONFIG_BUSYBOX_CONFIG_FDFLUSH is not set
# CONFIG_BUSYBOX_CONFIG_FDFORMAT is not set
# CONFIG_BUSYBOX_CONFIG_FDISK is not set
CONFIG_BUSYBOX_CONFIG_FDISK_SUPPORT_LARGE_DISKS=y
# CONFIG_BUSYBOX_CONFIG_FREERAMDISK is not set
# CONFIG_BUSYBOX_CONFIG_FSCK_MINIX is not set
# CONFIG_BUSYBOX_CONFIG_MKFS_MINIX is not set
# CONFIG_BUSYBOX_CONFIG_GETOPT is not set
CONFIG_BUSYBOX_CONFIG_HEXDUMP=y
# CONFIG_BUSYBOX_CONFIG_HWCLOCK is not set
# CONFIG_BUSYBOX_CONFIG_IPCRM is not set
# CONFIG_BUSYBOX_CONFIG_IPCS is not set
# CONFIG_BUSYBOX_CONFIG_LOSETUP is not set
# CONFIG_BUSYBOX_CONFIG_MDEV is not set
# CONFIG_BUSYBOX_CONFIG_MKSWAP is not set
# CONFIG_BUSYBOX_CONFIG_MORE is not set
CONFIG_BUSYBOX_CONFIG_MOUNT=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_NFS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_CIFS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_FLAGS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_FSTAB=y
CONFIG_BUSYBOX_CONFIG_PIVOT_ROOT=y
CONFIG_BUSYBOX_CONFIG_RDATE=y
# CONFIG_BUSYBOX_CONFIG_READPROFILE is not set
# CONFIG_BUSYBOX_CONFIG_SETARCH is not set
# CONFIG_BUSYBOX_CONFIG_SWAPONOFF is not set
CONFIG_BUSYBOX_CONFIG_SWITCH_ROOT=y
CONFIG_BUSYBOX_CONFIG_UMOUNT=y
CONFIG_BUSYBOX_CONFIG_FEATURE_UMOUNT_ALL=y

#
# Common options for mount/umount
#
CONFIG_BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT is not set

#
# Miscellaneous Utilities
#
# CONFIG_BUSYBOX_CONFIG_ADJTIMEX is not set
# CONFIG_BUSYBOX_CONFIG_BBCONFIG is not set
CONFIG_BUSYBOX_CONFIG_CROND=y
# CONFIG_BUSYBOX_CONFIG_DEBUG_CROND_OPTION is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set
CONFIG_BUSYBOX_CONFIG_CRONTAB=y
# CONFIG_BUSYBOX_CONFIG_DC is not set
# CONFIG_BUSYBOX_CONFIG_DEVFSD is not set
# CONFIG_BUSYBOX_CONFIG_EJECT is not set
# CONFIG_BUSYBOX_CONFIG_LAST is not set
CONFIG_BUSYBOX_CONFIG_LESS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_MAXLINES=9999999
# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_BRACKETS is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_FLAGS is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_FLAGCS is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_MARKS is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_LESS_REGEXP is not set
# CONFIG_BUSYBOX_CONFIG_HDPARM is not set
CONFIG_BUSYBOX_CONFIG_LOCK=y
# CONFIG_BUSYBOX_CONFIG_MAKEDEVS is not set
# CONFIG_BUSYBOX_CONFIG_MOUNTPOINT is not set
# CONFIG_BUSYBOX_CONFIG_MT is not set
# CONFIG_BUSYBOX_CONFIG_NMETER is not set
# CONFIG_BUSYBOX_CONFIG_RAIDAUTORUN is not set
# CONFIG_BUSYBOX_CONFIG_READAHEAD is not set
# CONFIG_BUSYBOX_CONFIG_RUNLEVEL is not set
# CONFIG_BUSYBOX_CONFIG_RX is not set
CONFIG_BUSYBOX_CONFIG_STRINGS=y
# CONFIG_BUSYBOX_CONFIG_SETSID is not set
# CONFIG_BUSYBOX_CONFIG_TASKSET is not set
CONFIG_BUSYBOX_CONFIG_TIME=y
CONFIG_BUSYBOX_CONFIG_WATCHDOG=y

#
# Networking Utilities
#
CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6=y
# CONFIG_BUSYBOX_CONFIG_ARP is not set
CONFIG_BUSYBOX_CONFIG_ARPING=y
# CONFIG_BUSYBOX_CONFIG_DNSD is not set
# CONFIG_BUSYBOX_CONFIG_ETHER_WAKE is not set
# CONFIG_BUSYBOX_CONFIG_FAKEIDENTD is not set
# CONFIG_BUSYBOX_CONFIG_FTPGET is not set
# CONFIG_BUSYBOX_CONFIG_FTPPUT is not set
# CONFIG_BUSYBOX_CONFIG_HOSTNAME is not set
CONFIG_BUSYBOX_CONFIG_HTTPD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_SETUID is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_AUTH_MD5=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_CGI=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_ENCODE_URL_STR=y
CONFIG_BUSYBOX_CONFIG_IFCONFIG=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_STATUS=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_SLIP is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_HW=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y
# CONFIG_BUSYBOX_CONFIG_IFUPDOWN is not set
# CONFIG_BUSYBOX_CONFIG_INETD is not set
# CONFIG_BUSYBOX_CONFIG_IP is not set
# CONFIG_BUSYBOX_CONFIG_IPCALC is not set
# CONFIG_BUSYBOX_CONFIG_NAMEIF is not set
CONFIG_BUSYBOX_CONFIG_NC=y
CONFIG_BUSYBOX_CONFIG_NETMSG=y
# CONFIG_BUSYBOX_CONFIG_NC_SERVER is not set
# CONFIG_BUSYBOX_CONFIG_NC_EXTRA is not set
CONFIG_BUSYBOX_CONFIG_NETSTAT=y
CONFIG_BUSYBOX_CONFIG_NSLOOKUP=y
CONFIG_BUSYBOX_CONFIG_PING=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_PING=y
CONFIG_BUSYBOX_CONFIG_PING6=y
CONFIG_BUSYBOX_CONFIG_FEATURE_FANCY_PING6=y
CONFIG_BUSYBOX_CONFIG_ROUTE=y
CONFIG_BUSYBOX_CONFIG_TELNET=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TELNET_TTYPE=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_TELNET_AUTOLOGIN is not set
CONFIG_BUSYBOX_CONFIG_TELNETD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TELNETD_STANDALONE=y
# CONFIG_BUSYBOX_CONFIG_TFTP is not set
CONFIG_BUSYBOX_CONFIG_TRACEROUTE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TRACEROUTE_VERBOSE=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set
# CONFIG_BUSYBOX_CONFIG_APP_UDHCPD is not set
CONFIG_BUSYBOX_CONFIG_APP_UDHCPC=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_UDHCP_SYSLOG is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_UDHCP_DEBUG is not set
CONFIG_BUSYBOX_CONFIG_VCONFIG=y
CONFIG_BUSYBOX_CONFIG_WGET=y
CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_STATUSBAR=y
CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_AUTHENTICATION=y
CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_IP6_LITERAL=y
CONFIG_BUSYBOX_CONFIG_FEATURE_WGET_LONG_OPTIONS=y
# CONFIG_BUSYBOX_CONFIG_ZCIP is not set

#
# Process Utilities
#
CONFIG_BUSYBOX_CONFIG_FREE=y
# CONFIG_BUSYBOX_CONFIG_FUSER is not set
CONFIG_BUSYBOX_CONFIG_KILL=y
CONFIG_BUSYBOX_CONFIG_KILLALL=y
CONFIG_BUSYBOX_CONFIG_KILLALL5=y
CONFIG_BUSYBOX_CONFIG_PIDOF=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_PIDOF_SINGLE is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_PIDOF_OMIT is not set
CONFIG_BUSYBOX_CONFIG_PS=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_PS_WIDE is not set
# CONFIG_BUSYBOX_CONFIG_RENICE is not set
CONFIG_BUSYBOX_CONFIG_BB_SYSCTL=y
CONFIG_BUSYBOX_CONFIG_TOP=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y
CONFIG_BUSYBOX_CONFIG_UPTIME=y

#
# Shells
#
CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_ASH=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_HUSH is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_LASH is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_MSH is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_IS_NONE is not set
CONFIG_BUSYBOX_CONFIG_ASH=y

#
# Ash Shell Options
#
CONFIG_BUSYBOX_CONFIG_ASH_JOB_CONTROL=y
# CONFIG_BUSYBOX_CONFIG_ASH_READ_NCHARS is not set
CONFIG_BUSYBOX_CONFIG_ASH_READ_TIMEOUT=y
CONFIG_BUSYBOX_CONFIG_ASH_ALIAS=y
CONFIG_BUSYBOX_CONFIG_ASH_MATH_SUPPORT=y
# CONFIG_BUSYBOX_CONFIG_ASH_MATH_SUPPORT_64 is not set
CONFIG_BUSYBOX_CONFIG_ASH_GETOPTS=y
CONFIG_BUSYBOX_CONFIG_ASH_BUILTIN_ECHO=y
CONFIG_BUSYBOX_CONFIG_ASH_BUILTIN_TEST=y
CONFIG_BUSYBOX_CONFIG_ASH_CMDCMD=y
# CONFIG_BUSYBOX_CONFIG_ASH_MAIL is not set
CONFIG_BUSYBOX_CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
# CONFIG_BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT is not set
# CONFIG_BUSYBOX_CONFIG_ASH_EXPAND_PRMT is not set
# CONFIG_BUSYBOX_CONFIG_HUSH is not set
# CONFIG_BUSYBOX_CONFIG_LASH is not set
# CONFIG_BUSYBOX_CONFIG_MSH is not set

#
# Bourne Shell Options
#
# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_EXTRA_QUIET is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_SH_STANDALONE_SHELL is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING_VI is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_COMMAND_HISTORY=15
# CONFIG_BUSYBOX_CONFIG_FEATURE_COMMAND_SAVEHISTORY is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_SH_FANCY_PROMPT=y

#
# System Logging Utilities
#
CONFIG_BUSYBOX_CONFIG_SYSLOGD=y
CONFIG_BUSYBOX_CONFIG_FEATURE_ROTATE_LOGFILE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_REMOTE_LOG=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=16
CONFIG_BUSYBOX_CONFIG_LOGREAD=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
CONFIG_BUSYBOX_CONFIG_KLOGD=y
CONFIG_BUSYBOX_CONFIG_LOGGER=y

#
# Runit Utilities
#
# CONFIG_BUSYBOX_CONFIG_RUNSV is not set
# CONFIG_BUSYBOX_CONFIG_RUNSVDIR is not set
# CONFIG_BUSYBOX_CONFIG_SV is not set
# CONFIG_BUSYBOX_CONFIG_SVLOGD is not set
# CONFIG_BUSYBOX_CONFIG_CHPST is not set
# CONFIG_BUSYBOX_CONFIG_SETUIDGID is not set
# CONFIG_BUSYBOX_CONFIG_ENVUIDGID is not set
# CONFIG_BUSYBOX_CONFIG_ENVDIR is not set
# CONFIG_BUSYBOX_CONFIG_SOFTLIMIT is not set
CONFIG_PACKAGE_dnsmasq=y
CONFIG_PACKAGE_dropbear=y
CONFIG_PACKAGE_iptables=y
# CONFIG_PACKAGE_iptables-mod-conntrack is not set
# CONFIG_PACKAGE_iptables-mod-extra is not set
# CONFIG_PACKAGE_iptables-mod-filter is not set
# CONFIG_PACKAGE_iptables-mod-imq is not set
# CONFIG_PACKAGE_iptables-mod-ipopt is not set
# CONFIG_PACKAGE_iptables-mod-ipsec is not set
# CONFIG_PACKAGE_iptables-mod-nat is not set
# CONFIG_PACKAGE_iptables-mod-ulog is not set
# CONFIG_PACKAGE_iptables-utils is not set
CONFIG_PACKAGE_libgcc=y
CONFIG_PACKAGE_libssp=m
# CONFIG_PACKAGE_mksh is not set
CONFIG_PACKAGE_mtd=y
# CONFIG_PACKAGE_qos-scripts is not set
CONFIG_PACKAGE_uclibc=y
CONFIG_PACKAGE_wireless-tools=y

#
# Libraries
#
CONFIG_PACKAGE_alsa-lib=y
# CONFIG_PACKAGE_bluez-libs is not set
# CONFIG_PACKAGE_cgilib is not set
# CONFIG_PACKAGE_glib1 is not set
# CONFIG_PACKAGE_id3lib is not set
# CONFIG_PACKAGE_libamsel is not set
# CONFIG_PACKAGE_libao is not set
# CONFIG_PACKAGE_libart is not set
# CONFIG_PACKAGE_libaudiofile is not set
# CONFIG_PACKAGE_libavahi is not set
# CONFIG_PACKAGE_libcli is not set
# CONFIG_PACKAGE_libcurl is not set
# CONFIG_PACKAGE_libdaemon is not set
# CONFIG_PACKAGE_libdb is not set
# CONFIG_PACKAGE_libdnet is not set
# CONFIG_PACKAGE_libelf is not set
# CONFIG_PACKAGE_libevent is not set
# CONFIG_PACKAGE_libexif is not set
# CONFIG_PACKAGE_libexpat is not set
# CONFIG_PACKAGE_libffi-sable is not set
CONFIG_PACKAGE_libflac=y
# CONFIG_PACKAGE_libfreetype is not set
# CONFIG_PACKAGE_libfuse is not set
# CONFIG_PACKAGE_libgcrypt is not set
# CONFIG_PACKAGE_libgd is not set
# CONFIG_PACKAGE_libgdbm is not set
# CONFIG_PACKAGE_libgmp is not set
# CONFIG_PACKAGE_libgnutls is not set
# CONFIG_PACKAGE_libgpg-error is not set
# CONFIG_PACKAGE_libgphoto2 is not set
# CONFIG_PACKAGE_libgsm is not set
# CONFIG_PACKAGE_libhowl is not set
CONFIG_PACKAGE_libiconv=y
CONFIG_PACKAGE_libid3tag=y
# CONFIG_PACKAGE_libintl is not set
# CONFIG_PACKAGE_libjpeg is not set
# CONFIG_PACKAGE_libltdl is not set
# CONFIG_PACKAGE_liblua is not set
# CONFIG_PACKAGE_liblzo is not set
CONFIG_PACKAGE_libmad=y
# CONFIG_PACKAGE_libmagic is not set
# CONFIG_PACKAGE_libmatrixssl is not set
# CONFIG_PACKAGE_libmcrypt is not set
# CONFIG_PACKAGE_libmysqlclient is not set
CONFIG_PACKAGE_libncurses=y
# CONFIG_PACKAGE_libnet0 is not set
# CONFIG_PACKAGE_libnet1 is not set
# CONFIG_PACKAGE_libnetsnmp is not set
# CONFIG_PACKAGE_libnids is not set
# CONFIG_PACKAGE_libnotimpl is not set
# CONFIG_PACKAGE_libol is not set
# CONFIG_PACKAGE_libopencdk is not set
# CONFIG_PACKAGE_libopenh323 is not set
# CONFIG_PACKAGE_libopenldap is not set
# CONFIG_PACKAGE_libopenssl is not set
# CONFIG_PACKAGE_libosip2 is not set
# CONFIG_PACKAGE_libpam is not set
# CONFIG_PACKAGE_libpcap is not set
# CONFIG_PACKAGE_libpcre is not set
# CONFIG_PACKAGE_libpng is not set
# CONFIG_PACKAGE_libpopt is not set
# CONFIG_PACKAGE_libpq is not set
CONFIG_PACKAGE_libpthread=y
# CONFIG_PACKAGE_libradiusclient-ng is not set
# CONFIG_PACKAGE_libreadline is not set
# CONFIG_PACKAGE_librrd1 is not set
# CONFIG_PACKAGE_librsync is not set
# CONFIG_PACKAGE_libsasl2 is not set
# CONFIG_PACKAGE_libsigcxx is not set
# CONFIG_PACKAGE_libspeex is not set
# CONFIG_PACKAGE_libsqlite2 is not set
# CONFIG_PACKAGE_libsqlite3 is not set
# CONFIG_PACKAGE_libtasn1 is not set
# CONFIG_PACKAGE_libupnp is not set
CONFIG_PACKAGE_libusb=y
CONFIG_PACKAGE_libvorbisidec=y
# CONFIG_PACKAGE_libxml2 is not set
# CONFIG_PACKAGE_libxslt is not set
# CONFIG_PACKAGE_linux-atm is not set
# CONFIG_PACKAGE_pwlib is not set
# CONFIG_PACKAGE_sane-libs is not set
# CONFIG_PACKAGE_serdisplib is not set
# CONFIG_PACKAGE_uclibcxx is not set
# CONFIG_PACKAGE_ustl is not set
# CONFIG_PACKAGE_zaptel-libtonezone is not set
CONFIG_PACKAGE_zlib=y

#
# Network
#
CONFIG_DEFAULT_ppp=y
CONFIG_DEFAULT_ppp-mod-pppoe=y

#
# asterisk (Complete Open Source PBX)
#
# CONFIG_PACKAGE_asterisk-mini is not set
# CONFIG_PACKAGE_asterisk is not set

#
# miredo - Teredo (IPv6 tunneling over UDP through NAT) client and relay daemon
#
# CONFIG_PACKAGE_miredo-client is not set
# CONFIG_PACKAGE_miredo-server is not set

#
# pmacct (accounting and aggregation tools)
#
# CONFIG_PACKAGE_nfacctd is not set
# CONFIG_PACKAGE_nfacctd-mysql is not set
# CONFIG_PACKAGE_nfacctd-pgsql is not set
# CONFIG_PACKAGE_nfacctd-sqlite is not set
# CONFIG_PACKAGE_pmacct-client is not set
# CONFIG_PACKAGE_pmacctd is not set
# CONFIG_PACKAGE_pmacctd-mysql is not set
# CONFIG_PACKAGE_pmacctd-pgsql is not set
# CONFIG_PACKAGE_pmacctd-sqlite is not set

#
# samba - NetBIOS/SMB implementation
#
# CONFIG_PACKAGE_samba-client is not set
# CONFIG_PACKAGE_samba-server is not set

#
# snort (Ligthweight Network Intrusion Detection System)
#
# CONFIG_PACKAGE_snort is not set
# CONFIG_PACKAGE_snort-mysql is not set
# CONFIG_PACKAGE_snort-pgsql is not set

#
# snort-wireless (Ligthweight Network Intrusion Detection System)
#
# CONFIG_PACKAGE_snort-wireless is not set
# CONFIG_PACKAGE_snort-wireless-mysql is not set
# CONFIG_PACKAGE_snort-wireless-pgsql is not set
# CONFIG_PACKAGE_aircrack-ng is not set
# CONFIG_PACKAGE_amwall is not set
# CONFIG_PACKAGE_aodv-uu is not set
# CONFIG_PACKAGE_arpd is not set
# CONFIG_PACKAGE_arptables is not set
# CONFIG_PACKAGE_arpwatch is not set
# CONFIG_PACKAGE_atftp is not set
# CONFIG_PACKAGE_atftpd is not set
# CONFIG_PACKAGE_autossh is not set
# CONFIG_PACKAGE_avahi-autoipd is not set
# CONFIG_PACKAGE_avahi-daemon is not set
# CONFIG_PACKAGE_avahi-dnsconfd is not set
# CONFIG_PACKAGE_batman is not set
# CONFIG_PACKAGE_bind-check is not set
# CONFIG_PACKAGE_bind-client is not set
# CONFIG_PACKAGE_bind-dig is not set
# CONFIG_PACKAGE_bind-dnssec is not set
# CONFIG_PACKAGE_bind-host is not set
# CONFIG_PACKAGE_bind-rndc is not set
# CONFIG_PACKAGE_bind-server is not set
# CONFIG_PACKAGE_bind-tools is not set
# CONFIG_PACKAGE_bing is not set
# CONFIG_PACKAGE_bitchx is not set
# CONFIG_PACKAGE_bitlbee is not set
# CONFIG_PACKAGE_bmon is not set
# CONFIG_PACKAGE_br2684ctl is not set
# CONFIG_PACKAGE_bwm is not set
# CONFIG_PACKAGE_cbtt is not set
# CONFIG_PACKAGE_chat is not set
# CONFIG_PACKAGE_chillispot is not set
# CONFIG_PACKAGE_chrony is not set
# CONFIG_PACKAGE_click is not set
# CONFIG_PACKAGE_crowdcontrol is not set
# CONFIG_PACKAGE_ctorrent is not set
# CONFIG_PACKAGE_cups is not set
# CONFIG_PACKAGE_curl is not set
# CONFIG_PACKAGE_cutter is not set
# CONFIG_PACKAGE_dhcp-forwarder is not set
# CONFIG_PACKAGE_dhcp-relay is not set
# CONFIG_PACKAGE_dhcp-server is not set
# CONFIG_PACKAGE_dsl-qos-queue is not set
# CONFIG_PACKAGE_dsniff is not set
# CONFIG_PACKAGE_ebtables is not set
# CONFIG_PACKAGE_elinks is not set
# CONFIG_PACKAGE_ethtool is not set
# CONFIG_PACKAGE_ettercap is not set
# CONFIG_PACKAGE_ez-ipupdate is not set
# CONFIG_PACKAGE_fping is not set
# CONFIG_PACKAGE_fprobe is not set
# CONFIG_PACKAGE_fprobe-ulog is not set
# CONFIG_PACKAGE_freeradius is not set
# CONFIG_PACKAGE_frickin is not set
# CONFIG_PACKAGE_gmediaserver is not set
# CONFIG_PACKAGE_gpsd is not set
# CONFIG_PACKAGE_hostapd is not set
# CONFIG_PACKAGE_hostapd-mini is not set
# CONFIG_PACKAGE_howl-autoipd is not set
# CONFIG_PACKAGE_howl-mdnsresponder is not set
# CONFIG_PACKAGE_howl-nifd is not set
# CONFIG_PACKAGE_howl-utils is not set
# CONFIG_PACKAGE_htpdate is not set
# CONFIG_PACKAGE_httping is not set
# CONFIG_PACKAGE_icecast is not set
# CONFIG_PACKAGE_icmptx is not set
# CONFIG_PACKAGE_iftop is not set
# CONFIG_PACKAGE_igmpproxy is not set
# CONFIG_PACKAGE_imapfilter is not set
# CONFIG_PACKAGE_iodine is not set
# CONFIG_PACKAGE_iodined is not set
# CONFIG_PACKAGE_ip is not set
# CONFIG_PACKAGE_ip6tables is not set
# CONFIG_PACKAGE_ipcad is not set
# CONFIG_PACKAGE_iperf is not set
# CONFIG_PACKAGE_ipkungfu is not set
# CONFIG_PACKAGE_ipsec-tools is not set
# CONFIG_PACKAGE_ipset is not set
# CONFIG_PACKAGE_iptables-snmp is not set
# CONFIG_PACKAGE_iptraf is not set
# CONFIG_PACKAGE_irssi is not set
# CONFIG_PACKAGE_isakmpd is not set
# CONFIG_PACKAGE_keynote is not set
# CONFIG_PACKAGE_kismet-client is not set
# CONFIG_PACKAGE_kismet-drone is not set
# CONFIG_PACKAGE_kismet-server is not set
# CONFIG_PACKAGE_knock is not set
# CONFIG_PACKAGE_knockd is not set
# CONFIG_PACKAGE_l2tpd is not set
# CONFIG_PACKAGE_l2tpns is not set
# CONFIG_PACKAGE_lft is not set
# CONFIG_PACKAGE_libwrap is not set
# CONFIG_PACKAGE_lighttpd is not set
# CONFIG_PACKAGE_linuxigd is not set
# CONFIG_PACKAGE_maradns is not set
# CONFIG_PACKAGE_matrixtunnel is not set
# CONFIG_PACKAGE_miau is not set
# CONFIG_PACKAGE_miax is not set
# CONFIG_PACKAGE_mini-httpd is not set
# CONFIG_PACKAGE_mini-httpd-htpasswd is not set
# CONFIG_PACKAGE_mini-httpd-matrixssl is not set
# CONFIG_PACKAGE_mini-httpd-openssl is not set
# CONFIG_PACKAGE_mini-sendmail is not set
# CONFIG_PACKAGE_miniupnpd is not set
# CONFIG_PACKAGE_mtr is not set
# CONFIG_PACKAGE_net-tools is not set
# CONFIG_PACKAGE_netperf is not set
# CONFIG_PACKAGE_netpipe is not set
# CONFIG_PACKAGE_netstat-nat is not set
# CONFIG_PACKAGE_nfs-kernel-server is not set
# CONFIG_PACKAGE_nfs-server is not set
# CONFIG_PACKAGE_nmap is not set
# CONFIG_PACKAGE_nocatsplash is not set
# CONFIG_PACKAGE_nstx is not set
# CONFIG_PACKAGE_nstxd is not set
# CONFIG_PACKAGE_ntpclient is not set
# CONFIG_PACKAGE_ntpd is not set
# CONFIG_PACKAGE_oidentd is not set
# CONFIG_PACKAGE_olsrd is not set
# CONFIG_PACKAGE_opendchub is not set
# CONFIG_PACKAGE_openntpd is not set
# CONFIG_PACKAGE_openser is not set
# CONFIG_PACKAGE_openssh-client is not set
# CONFIG_PACKAGE_openssh-server is not set
# CONFIG_PACKAGE_openssh-sftp-client is not set
# CONFIG_PACKAGE_openssh-sftp-server is not set
# CONFIG_PACKAGE_openswan is not set
# CONFIG_PACKAGE_openvpn is not set
# CONFIG_PACKAGE_p910nd is not set
# CONFIG_PACKAGE_parprouted is not set
# CONFIG_PACKAGE_peerguardian is not set
# CONFIG_PACKAGE_portmap is not set
# CONFIG_PACKAGE_portsentry is not set
CONFIG_PACKAGE_ppp=y
# CONFIG_PACKAGE_ppp-mod-pppoa is not set
CONFIG_PACKAGE_ppp-mod-pppoe=y
# CONFIG_PACKAGE_ppp-mod-radius is not set
# CONFIG_PACKAGE_pppdump is not set
# CONFIG_PACKAGE_pppstats is not set
# CONFIG_PACKAGE_pptp is not set
# CONFIG_PACKAGE_pptpd is not set
# CONFIG_PACKAGE_privoxy is not set
# CONFIG_PACKAGE_psybnc is not set
# CONFIG_PACKAGE_ptunnel is not set
# CONFIG_PACKAGE_pure-ftpd is not set
# CONFIG_PACKAGE_quagga is not set
# CONFIG_PACKAGE_raddump is not set
# CONFIG_PACKAGE_radiusclient-ng is not set
# CONFIG_PACKAGE_rarpd is not set
# CONFIG_PACKAGE_reaim is not set
# CONFIG_PACKAGE_rp-l2tpd is not set
# CONFIG_PACKAGE_rp-pppoe-client is not set
# CONFIG_PACKAGE_rp-pppoe-relay is not set
# CONFIG_PACKAGE_rp-pppoe-server is not set
# CONFIG_PACKAGE_rp-pppoe-sniff is not set
# CONFIG_PACKAGE_rrs is not set
# CONFIG_PACKAGE_scanlogd is not set
# CONFIG_PACKAGE_scdp is not set
# CONFIG_PACKAGE_send-nsca is not set
# CONFIG_PACKAGE_ser2net is not set
# CONFIG_PACKAGE_shat is not set
# CONFIG_PACKAGE_sipp is not set
# CONFIG_PACKAGE_siproxd is not set
# CONFIG_PACKAGE_sipsak is not set
# CONFIG_PACKAGE_slurm is not set
# CONFIG_PACKAGE_snmp-utils is not set
# CONFIG_PACKAGE_snmpd is not set
# CONFIG_PACKAGE_snmpd-static is not set
# CONFIG_PACKAGE_socat is not set
# CONFIG_PACKAGE_squid is not set
# CONFIG_PACKAGE_srelay is not set
# CONFIG_PACKAGE_ssltunnel is not set
# CONFIG_PACKAGE_ssmtp is not set
# CONFIG_PACKAGE_stunnel is not set
# CONFIG_PACKAGE_tc is not set
# CONFIG_PACKAGE_tcpdump is not set
# CONFIG_PACKAGE_tftp-hpa is not set
# CONFIG_PACKAGE_tftpd-hpa is not set
# CONFIG_PACKAGE_tinc is not set
# CONFIG_PACKAGE_tinyproxy is not set
# CONFIG_PACKAGE_tmsnc is not set
# CONFIG_PACKAGE_tor is not set
# CONFIG_PACKAGE_ttcp is not set
# CONFIG_PACKAGE_udp-broadcast-relay is not set
# CONFIG_PACKAGE_ulogd is not set
# CONFIG_PACKAGE_uob-nomad is not set
# CONFIG_PACKAGE_updatedd is not set
# CONFIG_PACKAGE_vgp is not set
# CONFIG_PACKAGE_vnc-reflector is not set
# CONFIG_PACKAGE_vncrepeater is not set
# CONFIG_PACKAGE_vnstat is not set
# CONFIG_PACKAGE_vpnc is not set
# CONFIG_PACKAGE_vrrpd is not set
# CONFIG_PACKAGE_vsftpd is not set
# CONFIG_PACKAGE_vtun is not set
# CONFIG_PACKAGE_wccpd is not set
# CONFIG_PACKAGE_wdiag is not set
# CONFIG_PACKAGE_weechat is not set
# CONFIG_PACKAGE_wget is not set
# CONFIG_PACKAGE_wifidog is not set
# CONFIG_PACKAGE_wiviz is not set
# CONFIG_PACKAGE_wol is not set
# CONFIG_PACKAGE_wpa-supplicant is not set
# CONFIG_PACKAGE_wput is not set
# CONFIG_PACKAGE_xinetd is not set
# CONFIG_PACKAGE_xsupplicant is not set
# CONFIG_PACKAGE_yafc is not set

#
# IPv6
#

#
# IPv6 discovery tools
#
# CONFIG_PACKAGE_ndisc6 is not set
# CONFIG_PACKAGE_rdisc6 is not set
# CONFIG_PACKAGE_tcptraceroute6 is not set
# CONFIG_PACKAGE_6tunnel is not set
# CONFIG_PACKAGE_aiccu is not set
# CONFIG_PACKAGE_dhcp6-client is not set
# CONFIG_PACKAGE_dhcp6-server is not set
# CONFIG_PACKAGE_dibbler-client is not set
# CONFIG_PACKAGE_dibbler-relay is not set
# CONFIG_PACKAGE_dibbler-server is not set
# CONFIG_PACKAGE_mrd6 is not set
# CONFIG_PACKAGE_ptrtd is not set
# CONFIG_PACKAGE_radvd is not set
# CONFIG_PACKAGE_totd is not set
# CONFIG_PACKAGE_tspc is not set

#
# Kernel modules
#
CONFIG_DEFAULT_kmod-diag=y
CONFIG_DEFAULT_kmod-ipt-nathelper=y
CONFIG_DEFAULT_kmod-usb-core=y
CONFIG_DEFAULT_kmod-usb-ohci=y
CONFIG_DEFAULT_kmod-usb2=y
CONFIG_DEFAULT_kmod-madwifi=y
CONFIG_DEFAULT_kmod-switch=y

#
# Block Devices
#
CONFIG_PACKAGE_kmod-ata-piix=m
CONFIG_PACKAGE_kmod-libata=m

#
# Filesystems
#
CONFIG_PACKAGE_kmod-fs-cifs=m
CONFIG_PACKAGE_kmod-fs-ext2=m
CONFIG_PACKAGE_kmod-fs-ext3=m
CONFIG_PACKAGE_kmod-fs-hfsplus=m
CONFIG_PACKAGE_kmod-fs-isofs=m
CONFIG_PACKAGE_kmod-fs-minix=m
CONFIG_PACKAGE_kmod-fs-msdos=m
CONFIG_PACKAGE_kmod-fs-nfs=y
CONFIG_PACKAGE_kmod-fs-udf=m
CONFIG_PACKAGE_kmod-fs-vfat=y
CONFIG_PACKAGE_kmod-fs-xfs=m
# CONFIG_PACKAGE_kmod-fuse is not set
CONFIG_PACKAGE_kmod-nls-base=y
CONFIG_PACKAGE_kmod-nls-cp437=y
CONFIG_PACKAGE_kmod-nls-cp850=m
CONFIG_PACKAGE_kmod-nls-iso8859-1=y
CONFIG_PACKAGE_kmod-nls-iso8859-15=m
CONFIG_PACKAGE_kmod-nls-koi8r=m
CONFIG_PACKAGE_kmod-nls-utf8=y

#
# I2C Bus
#
CONFIG_PACKAGE_kmod-i2c-algos=m
# CONFIG_PACKAGE_kmod-i2c-au1x00gpio is not set
CONFIG_PACKAGE_kmod-i2c-core=m

#
# Netfilter Extensions
#
CONFIG_PACKAGE_kmod-arptables=m
CONFIG_PACKAGE_kmod-ebtables=m
CONFIG_PACKAGE_kmod-ip6tables=m
CONFIG_PACKAGE_kmod-ipt-conntrack=m
CONFIG_PACKAGE_kmod-ipt-extra=m
CONFIG_PACKAGE_kmod-ipt-filter=m
CONFIG_PACKAGE_kmod-ipt-imq=m
CONFIG_PACKAGE_kmod-ipt-ipopt=m
CONFIG_PACKAGE_kmod-ipt-ipsec=m
CONFIG_PACKAGE_kmod-ipt-nat=m
CONFIG_PACKAGE_kmod-ipt-nathelper=y
CONFIG_PACKAGE_kmod-ipt-nathelper-extra=m
CONFIG_PACKAGE_kmod-ipt-queue=m
CONFIG_PACKAGE_kmod-ipt-ulog=m

#
# Network Devices
#
# CONFIG_PACKAGE_kmod-ueagle-atm is not set

#
# Network Support
#
# CONFIG_PACKAGE_kmod-aodv-uu is not set
CONFIG_PACKAGE_kmod-atm=m
CONFIG_PACKAGE_kmod-atmtcp=m
CONFIG_PACKAGE_kmod-ax25=m
CONFIG_PACKAGE_kmod-gre=m
CONFIG_PACKAGE_kmod-ipip=m
CONFIG_PACKAGE_kmod-ipsec=m
CONFIG_PACKAGE_kmod-ipsec4=m
CONFIG_PACKAGE_kmod-ipsec6=m
CONFIG_PACKAGE_kmod-ipv6=m
# CONFIG_PACKAGE_kmod-openswan is not set
CONFIG_PACKAGE_kmod-ppp=y
CONFIG_PACKAGE_kmod-mppe=m
CONFIG_PACKAGE_kmod-pppoa=m
CONFIG_PACKAGE_kmod-pppoe=y
CONFIG_PACKAGE_kmod-sched=m
CONFIG_PACKAGE_kmod-tun=m

#
# Other modules
#
CONFIG_PACKAGE_kmod-bluetooth=m
CONFIG_PACKAGE_kmod-crypto=m
CONFIG_PACKAGE_kmod-diag=y
# CONFIG_PACKAGE_kmod-gspca is not set
CONFIG_PACKAGE_kmod-ide-aec62xx=m
CONFIG_PACKAGE_kmod-ide-core=m
CONFIG_PACKAGE_kmod-ide-pdc202xx=m
CONFIG_PACKAGE_kmod-loop=m
CONFIG_PACKAGE_kmod-lp=m
CONFIG_PACKAGE_kmod-nbd=m
CONFIG_PACKAGE_kmod-pcmcia-core=m
CONFIG_PACKAGE_kmod-pcmcia-serial=m
CONFIG_PACKAGE_kmod-scsi-core=y
CONFIG_PACKAGE_kmod-softdog=m
CONFIG_PACKAGE_kmod-soundcore=y
CONFIG_PACKAGE_kmod-switch=y
CONFIG_PACKAGE_kmod-videodev=m

#
# USB Support
#
CONFIG_PACKAGE_kmod-usb-core=y
CONFIG_PACKAGE_kmod-usb-acm=m
CONFIG_PACKAGE_kmod-usb-audio=y
CONFIG_PACKAGE_kmod-usb-ohci=y
CONFIG_PACKAGE_kmod-usb-printer=m
CONFIG_PACKAGE_kmod-usb-pwc=m
CONFIG_PACKAGE_kmod-usb-serial=m
CONFIG_PACKAGE_kmod-usb-serial-belkin=m
CONFIG_PACKAGE_kmod-usb-serial-ftdi=m
CONFIG_PACKAGE_kmod-usb-serial-mct=m
CONFIG_PACKAGE_kmod-usb-serial-pl2303=m
CONFIG_PACKAGE_kmod-usb-serial-visor=m
CONFIG_PACKAGE_kmod-usb-speedtouch=m
CONFIG_PACKAGE_kmod-usb-storage=y
CONFIG_PACKAGE_kmod-usb-uhci=y
CONFIG_PACKAGE_kmod-usb-uhci-iv=y
CONFIG_PACKAGE_kmod-usb2=y

#
# Wireless Drivers
#
# CONFIG_PACKAGE_kmod-acx is not set
# CONFIG_PACKAGE_kmod-d80211 is not set
# CONFIG_PACKAGE_kmod-hostap is not set
CONFIG_PACKAGE_kmod-ieee80211=m
CONFIG_PACKAGE_kmod-ieee80211-softmac=m
CONFIG_PACKAGE_kmod-madwifi=y
CONFIG_PACKAGE_kmod-net-airo=m
CONFIG_PACKAGE_kmod-net-bcm43xx=m
CONFIG_PACKAGE_kmod-net-hermes=m
CONFIG_PACKAGE_kmod-net-hermes-pci=m
CONFIG_PACKAGE_kmod-net-hermes-plx=m
CONFIG_PACKAGE_kmod-net-ipw2100=m
CONFIG_PACKAGE_kmod-net-ipw2200=m
CONFIG_PACKAGE_kmod-net-prism54=m
CONFIG_PACKAGE_kmod-net-zd1211rw=m
# CONFIG_PACKAGE_kmod-zd1211 is not set

#
# Boot Loaders
#

#
# Multimedia
#
# CONFIG_PACKAGE_gphoto2 is not set
# CONFIG_PACKAGE_motion is not set
# CONFIG_PACKAGE_palantir is not set
# CONFIG_PACKAGE_peercast is not set

#
# Administration
#

#
# zabbix
#
# CONFIG_PACKAGE_zabbix-agent is not set
# CONFIG_PACKAGE_zabbix-sender is not set
# CONFIG_PACKAGE_zabbix-server is not set
# CONFIG_PACKAGE_monit is not set
# CONFIG_PACKAGE_monit-nossl is not set
# CONFIG_PACKAGE_osirisd is not set
# CONFIG_PACKAGE_syslog-ng is not set

#
# Utilities
#
CONFIG_DEFAULT_hotplug2=y
CONFIG_DEFAULT_udevtrigger=y

#
# Round Robin Database (RRD) tools (v1.2.x)
#
# CONFIG_PACKAGE_librrd is not set
CONFIG_PACKAGE_alsa-utils=y
# CONFIG_PACKAGE_bc is not set
# CONFIG_PACKAGE_bluez-utils is not set
# CONFIG_PACKAGE_cifsmount is not set
# CONFIG_PACKAGE_collectd is not set
# CONFIG_PACKAGE_comgt is not set
# CONFIG_PACKAGE_deco is not set
# CONFIG_PACKAGE_dialog is not set
# CONFIG_PACKAGE_dosfstools is not set
# CONFIG_PACKAGE_dropbearconvert is not set
# CONFIG_PACKAGE_dtach is not set
# CONFIG_PACKAGE_e2fsprogs is not set
# CONFIG_PACKAGE_fconfig is not set
CONFIG_PACKAGE_fdisk=y
# CONFIG_PACKAGE_fetchmail is not set
# CONFIG_PACKAGE_firmwarehotplug is not set
# CONFIG_PACKAGE_fuse-utils is not set
# CONFIG_PACKAGE_fxload is not set
# CONFIG_PACKAGE_gnupg is not set
# CONFIG_PACKAGE_gnutls-utils is not set
# CONFIG_PACKAGE_gsm-utils is not set
# CONFIG_PACKAGE_haserl is not set
# CONFIG_PACKAGE_hdparm is not set
# CONFIG_PACKAGE_heyu is not set
CONFIG_PACKAGE_hotplug2=y
# CONFIG_PACKAGE_jpeg-tools is not set
# CONFIG_PACKAGE_lcd4linux is not set
# CONFIG_PACKAGE_logrotate is not set
# CONFIG_PACKAGE_losetup is not set
# CONFIG_PACKAGE_lrzsz is not set
# CONFIG_PACKAGE_macchanger is not set
# CONFIG_PACKAGE_mgetty is not set
# CONFIG_PACKAGE_microcom is not set
# CONFIG_PACKAGE_microperl is not set
# CONFIG_PACKAGE_minicom is not set
# CONFIG_PACKAGE_mutt is not set
# CONFIG_PACKAGE_nano is not set
# CONFIG_PACKAGE_ntfs-3g is not set
# CONFIG_PACKAGE_openldap-utils is not set
# CONFIG_PACKAGE_openssl-util is not set
# CONFIG_PACKAGE_pciutils is not set
# CONFIG_PACKAGE_pgsql-cli is not set
# CONFIG_PACKAGE_picocom is not set
# CONFIG_PACKAGE_pipacs is not set
# CONFIG_PACKAGE_procmail is not set
# CONFIG_PACKAGE_procps is not set
# CONFIG_PACKAGE_pwgen is not set
# CONFIG_PACKAGE_rdiff-backup is not set
# CONFIG_PACKAGE_robocfg is not set
# CONFIG_PACKAGE_rrdcgi1 is not set
# CONFIG_PACKAGE_rrdcollect is not set
# CONFIG_PACKAGE_rrdtool1 is not set
# CONFIG_PACKAGE_rsync is not set
# CONFIG_PACKAGE_sane-backends is not set
# CONFIG_PACKAGE_screen is not set
# CONFIG_PACKAGE_setpwc is not set
# CONFIG_PACKAGE_setserial is not set
# CONFIG_PACKAGE_smartmontools is not set
# CONFIG_PACKAGE_sqlite2-cli is not set
# CONFIG_PACKAGE_sqlite3-cli is not set
# CONFIG_PACKAGE_strace is not set
# CONFIG_PACKAGE_swap-utils is not set
# CONFIG_PACKAGE_sysfsutils is not set
# CONFIG_PACKAGE_udev is not set
CONFIG_PACKAGE_udevtrigger=y
CONFIG_PACKAGE_usbutils=y
# CONFIG_PACKAGE_vim is not set
# CONFIG_PACKAGE_wx200d is not set

#
# Extra packages
#
# CONFIG_PACKAGE_rrs-nossl is not set

#
# Sound
#
# CONFIG_PACKAGE_flite is not set
CONFIG_PACKAGE_madplay=y
CONFIG_PACKAGE_mpc=y
CONFIG_PACKAGE_mpd=y
# CONFIG_PACKAGE_mt-daapd is not set
# CONFIG_PACKAGE_shell-fm is not set
# CONFIG_PACKAGE_sox is not set

#
# Languages
#
# CONFIG_PACKAGE_jamvm is not set
# CONFIG_PACKAGE_libsablevm-classpath is not set
# CONFIG_PACKAGE_lua is not set
# CONFIG_PACKAGE_luac is not set
# CONFIG_PACKAGE_php4 is not set
# CONFIG_PACKAGE_php5 is not set
# CONFIG_PACKAGE_python is not set
# CONFIG_PACKAGE_python24 is not set
# CONFIG_PACKAGE_ruby is not set
# CONFIG_PACKAGE_sablevm is not set
# CONFIG_PACKAGE_sablevm-classpath-full is not set
# CONFIG_PACKAGE_sablevm-classpath-mini is not set

9 (edited by sneakywombat 2007-03-25 16:18:35)

Re: WGT634U USB sound support

still need instruction or did you figure it out?

ps, when pasting huge amounts of text, enclose it in the code block tags that this forum uses - it keeps the page from growing to an obscene size.

Re: WGT634U USB sound support

That would be great, I have tried everything I know what to do. Still, the USB sound card is not detected. I could sure use your help.

11

Re: WGT634U USB sound support

I'm also having trouble getting usb sound to work.   I think I've got the modules to load correctly (ie without any error messages) but the audio device doesn't seem to be recognized.

When I plug in the usb sound device I also see a console message similar to:

usb 1-1: new full speed USB device using ohci_hcd and address 5
usb 1-1: configuration #1 chosen from 1 choice

but I don't know if it should be saying something else or how I would know if I've got a working device.
What should it say on successful insertion?

Re: WGT634U USB sound support

Ok, not quite working yet. There is a small difference I found between the build I did for the WGT and another for Atheros-2.6 - which had the oss.ko's. Also an earlier version I had of the WGT's build (with kmod-alsa and all that stuff) also had these 2 oss.ok's: [snd-mixer-oss.ko and snd-pcm-oss.ko].

Anyway this got me 1/2 way there. First I scp'd the snd* files to root's /lib/modules/2.6.19.2 folder. Insmod'd fine in this order:

root@OpenWrt:/lib/modules/2.6.19.2# insmod snd 
root@OpenWrt:/lib/modules/2.6.19.2# insmod snd-hwdep
root@OpenWrt:/lib/modules/2.6.19.2# insmod snd-page-alloc
root@OpenWrt:/lib/modules/2.6.19.2# insmod snd-rawmidi
root@OpenWrt:/lib/modules/2.6.19.2# insmod snd-timer
root@OpenWrt:/lib/modules/2.6.19.2# insmod snd-pcm
root@OpenWrt:/lib/modules/2.6.19.2# insmod snd-usb-lib
root@OpenWrt:/lib/modules/2.6.19.2# insmod snd-usb-audio

then it gave me this, which looked promising
usbcore: registered new interface driver snd-usb-audio

this also looked ok:

root@OpenWrt:/mnt/packages# lsmod | grep snd
snd_usb_audio          55680  0 
snd_usb_lib            11616  1 snd_usb_audio
snd_pcm                55968  1 snd_usb_audio
snd_timer              15984  1 snd_pcm
snd_rawmidi            15232  1 snd_usb_lib
snd_page_alloc          5072  1 snd_pcm
snd_hwdep               4688  1 snd_usb_audio
snd                    31568  5 snd_usb_audio,snd_pcm,snd_timer,snd_rawmidi,snd_hwdep
soundcore               3952  1 snd
usbcore               102016  6 snd_usb_audio,snd_usb_lib,usb_storage,ehci_hcd,ohci_hcd

but here's where it fell apart: (cat /proc/bus/usb/devices)

T:  Bus=03 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#=  8 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=1130 ProdID=f211 Rev= 1.01
S:  Product=USB  AUDIO  
C:* #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=01(O) Atr=09(Isoc) MxPS= 192 Ivl=1ms
I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=83(I) Atr=09(Isoc) MxPS=  48 Ivl=1ms
I:  If#= 3 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=(none)
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 4 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=(none)
E:  Ad=84(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

Notice the Driver=(none) lines

I'm on the home stretch and can use your help wombat

Re: WGT634U USB sound support

I got some time to experiment with your suggestions above. Seems closer, but not 100% there.

I got the 8 snd libaries loaded. I got the message:usbcore: registered new interface driver snd-usb-audio

I looked in /proc/bus/usb and see nothing!! however under /proc/asound I now see an Audio entry, the cards file contains the name of my card and there is a new /dev/pcmC0D0p file.

cat /proc/asound/cards
0 [Audio          ]: USB-Audio - USB Audio
                      C-Media INC. USB Audio at usb-0000:00:02.2-1.1, full speed

cat /proc/asound/pcm
00-00: USB Audio : USB Audio : playback 1

I tried madplay --output=/dev/pcmC0D0p mytestfile.mp3

oot@OpenWrt:~/sda1# madplay --output=/dev/pcmC0D0p test.mp3
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
          Title: For What It'S Worth (Stop Hey What'S That Sound)
       Composer: Stephen Stills
         Artist: Buffalo Springfield
      Orchestra: Varios
          Album: The Wonder Years
          Track: 4
           Year: 1989
      Publisher: Atlantic
          Genre: Baladas
        Comment:
output: ioctl(SNDCTL_DSP_SYNC): Inappropriate ioctl for device

So I am not sure what to do next, We are getting closer but not quite there.

14 (edited by sneakywombat 2007-03-27 22:50:18)

Re: WGT634U USB sound support

I've never been able to get full blown alsa to work on the router - only oss (or alsa emulating oss?).  You need to enable oss support in the kernel:

make kernel_menuconfig 

enable snd_pcm_oss and snd_mixer_oss in the menu.  You'll then see snd_pcm_oss.ko and snd_mixer_oss.ko built under the directory that holds modules in your build tree.  They won't get copied to your router, you'll have to do it manually.  The other module files you're using are correct, or at least seem to be.  I'll try to post a full howto in the next week or so.

Re: WGT634U USB sound support

sneakywombat,

Maybe I don't have a clue here, but I do not see the option to turn on snd_pcm_oss and snd_mixer_oss when I select the 2.6 build for the wgt634u.

I just check'ed out he latest version and do not even see these files in the source tree. (6735)

Just to double check,

I am using the commands:
svn co https://svn.openwrt.org/openwrt/trunk/ /home/build/trunk
svn co https://svn.openwrt.org/openwrt/packages/ /home/build/packages
ln -s ../../packages/*/* .

This get me the current build tree, I them make menuconfig, setup for 2.6, wrt634u, add a couple of lib and utils, and do a build, 1.5 hours later, I have a set of binaries.

Maybe a real good step by step would help.

Re: WGT634U USB sound support

you have to run:

"make kernel_menuconfig"  not "make menuconfig".  The latter configures openwrt.  The first configures specifics about the kernel that is built for use with openwrt.  If you issue the first command and then navigate to device drivers->sound->alsa (andvanced linux sound arch)-> and then check the oss pcm and mixer emulation settings, you'll get the files you're missing.

As for your build time of 1.5 hours. must be nice.  It takes me 7 hours to build mine. smile  Gotta love the ol p2 233mhz dev machine/doorstop i have.

You're really close.  Based on your lsmod output you're missing two files, after that you'll have sound.  If you want, i can send you the module files but i'll need a place to put them.  I'm pretty sure it will work if you just load them straight in.  As for detailed step by step, i'm not done with my doc yet, it's rough.  but if you really want to see it in its unfinished form, here it is:

A rough guide to get your wgt634u working in wpa station mode with mpd/mpc and cifs.

------------------------------
Getting started
------------------------------
You need:
 * a serial cable with the correct voltage so you don't fry your board
 * a tftp server
 * a web server
 * some wit/common sense
 * willingness to make something that works fine before you start with it
   and turn it into something that simply takes up space on your desk. 
   EG, you may break your router doing this. Be warned.
 * common sense to replace local addresses with ones that apply to your setup.
 * assumes you already built your kamikaze firmware with the settings and software that you want.

1. open hyperterminal and plug your serial cable to the serial port on router. (make sure it's the correct voltage! you need a special serial cable)
   You must take the cover off, look for four pins.
2. plug your serial cable and connect to it via your com port in hyperterminal/some terminal program.
3. hold down ctrl-c until you see the CFE> prompt.

Type/paste:

  ifconfig eth0 -addr=192.168.0.101 -mask=255.255.255.0

Replace 192.168.0.101 with desired IP address.  This will be the IP of the wgt634u.

Then:

  flash -noheader 192.168.0.103:openwrt-wgt634u-2.6-squashfs.bin flash0.os

192.168.0.103 is the IP address of your TFTP server.  I've found that it's easiest to just place the bin file 
in the TFTP root directory, where it looks to serve/accept files.

You should see this....or something like it:
CFE> flash -noheader 192.168.0.103:openwrt-wgt634u-2.6-squashfs.bin flash0.os
Reading 192.168.0.103:openwrt-wgt634u-2.6-squashfs.bin: Done. 2084864 bytes read

Programming...done. 2084864 bytes written
*** command status = 0
CFE>

Now, type reboot and watch it powerup, watching the console.

------------------------------
Configure ipkg
------------------------------

edit /etc/ipkg.conf.  Point it to your bin/package directory in your build path.
For me, this is /home/joe/trunk/bin/package.  I then symlink this to my apache root so that ipkg
can see it and download them.  Oh yeah, you'll need apache too.

My ipkg.conf looks like:

#begin ipkg.conf ----------------------
src joe http://192.168.0.103/apache2-default/openwrt/packages/   #<---openwrt/packages is a symlink 
                                 # to my build path mentioned above
dest root /
dest ram /tmp
#end ipkg.conf   ----------------------

After you set your ipkg to the right machine

type:

 ipkg update
 ipkg install kmod-madwifi
 ipkg install wpa-supplicant
 ipkg install wpa-cli
 ipkg install wireless-tools
 ipkg install kmod-fs-cifs
 ipkg install cifsmount

You may need to install some other kmod-fs-* filesystems.  You can see other packages by doing something like this:

 ipkg list |grep -i kmod

type:

 lsmod

You should see something like:

Module                  Size  Used by    Not tainted
fuse                   37232  0
ip_conntrack_tftp       1680  0
ip_nat_irc               960  0
ip_conntrack_irc        2832  1 ip_nat_irc
ip_nat_ftp              1696  0
ip_conntrack_ftp        4016  1 ip_nat_ftp
ppp_async               9504  0
ppp_generic            20480  1 ppp_async
slhc                    5472  1 ppp_generic
crc_ccitt               1024  1 ppp_async
cifs                  230816  0
switch_robo             4016  0
switch_core             5056  1 switch_robo
nls_base                4576  1 cifs
diag                    7696  0


That should be enough to get you started.  We'll come back to ipkg later.  Be sure to set a password 
for root on your box.  SSH will be disabled until you do so (I think, or it will just not have a password).

type:
 passwd
  *supply some password*

------------------------------
logging in via ssh
------------------------------

If you don't already have putty, download it, or use some linux alternative.

log in, i use root.  :D  You just set this password in the last step.

If you can't connect, you've got problems.  Be sure you have your cat5 plugged into the wan port. If that
doesn't work, try the others.  If that still doesn't work, try manually setting the ipaddress. See the
ifconfig manpage for syntax.

You'll also want to do this if you're using the wan port:

 vi /etc/firewall.user  - uncomment these lines and reboot:

iptables -t nat -A prerouting_wan -p tcp --dport 22 -j ACCEPT
iptables        -A input_wan      -p tcp --dport 22 -j ACCEPT

Be sure to comment those lines out later if you're not using it.

------------------------------
Configure wpa
------------------------------

Generate your wpa/psk key:

 wpa_passphrase your_essid_here your_wpa_key_here

It will print out what you see below, the network { ... }.  All you need is the PSK portion.
Copy and paste that into /etc/wpa.conf.  If you don't have wpa_passphrase, you'll need to install it.
I'm not sure what package it comes in, but you can use any linux distro that has it.  It's just
a key generator.


Edit /etc/wpa.conf:

network={
       ssid="joe"
       proto=WPA
       key_mgmt=WPA-PSK
       pairwise=TKIP
       group=TKIP
       psk=-----this should be your wpa key-----
}


Now try to connect...type these commands, replacing as necessary:

 wlanconfig ath0 create wlandev wifi0 wlanmode sta
 iwconfig ath0 essid "joe"
 ifconfig ath0  192.168.0.101 up
 /usr/sbin/wpa_supplicant -dd -Dmadwifi -iath0 -c/etc/wpa.conf

That last one should print a bunch of information.  If you don't see the word, DISCONNECTED or some other
errors, you are probably up and running in station mode, using wpa. If you don't see any errors, especially
things about a missing driver, skip to the next section, otherwise continue.

If you get an error complaining about a driver not being found, you need to modify a file. For the wgt634u it's
the config.mipsel file:

 vi trunk/package/wpa_supplicant/files/config.mipsel

# Driver interface for madwifi driver
CONFIG_DRIVER_MADWIFI=y
# Change include directories to match with the local setup
#CFLAGS += -I../madwifi/wpa
CFLAGS += -I/home/joe/madwifi-0.9.2.1

I guessed here and got it right.  I had to download the source code for madwifi-ng.  the cflags path
is the path to where i extracted that code.  There may be a better way to do this, but it works at least.

After you modify that file, you'll need to recompile wpa-supplicant:

 make package/wpa-supplicant-clean V=99 && make package/wpa-supplicant-compile V=99

Then you'll need to remove wpa-supplicant from your device and reinstall:

 ipkg remove wpa-supplicant
 ipkg update
 ipkg install wpa-supplicant

You'll probably have to force the install (see ipkg doc) because the md5sum will be different (i think).

------------------------------
Autostart in wpa station mode
------------------------------

Edit /etc/init.d/madwifi:

#!/bin/sh /etc/rc.common
START=20
boot() {
#        iwpriv ath0 mode 3
    wlanconfig ath0 create wlandev wifi0 wlanmode sta
    iwconfig ath0 essid "joe"
    ifconfig ath0  192.168.0.101 up
    /usr/sbin/wpa_supplicant -dd -Dmadwifi -iath0 -c/etc/wpa.conf &
}

This will put your ap into station mode, making it act much like a laptop would connecting to an ap.  It will
not serve as an ap if you use sta mode. If you want it to bridge and serve, look into using
wds mode.  Again, be sure to replace "joe" with your essid.

Type:

 cd /etc/rc.d
 ln -s /etc/init.d/madwifi S20madwifi

When finished...type:
 
 reboot

Watch it reboot and then try to log into 192.168.0.101 via ssh (remove the cat5 connection first).
If you connect, then you've successfully connected your openwrt box to your ap using station mode with wpa.

------------------------------
Configuring sound
------------------------------

If everything above is working, this last part should be easy. All you have left to do now is install
mpd/mpc and your soundcore drivers, as well as install usb support.  There are a lot of posts about usb2 drivers
not working right, but I don't think those issues exist anymore.  Either way, it would be good to read about the
differences between ehci, ohci and uhci usb kernel modules. EHCI is only used for USB 2.0 high-speed devices and OHCI or UHCI
is used for other devices.  Google can provide more detail. If you didn't compile usb support as a module, then i'd
go back and do that.  Sometimes, especially if you plan on hooking a hard drive up, it's nice to be able to switch what
usb module you use. Some work better with certain devices.  If it's compiled into the kernel you're stuck.  I use ohci
but i don't have a need for usb2 support.  If you're unsure, use lsusb to probe your usb device to see what version it
needs.

Back to ipkg...

 ipkg install kmod-soundcore
 ipkg install kmod-usb-core
 ipkg install kmod-usb-ohci

 reboot

On your dev machine,this part is a mystery to me. I don't know why these don't get copied when you install kmod-soundcore.
It may not be in the package, but you'd think it would get copied.  I have not been able to get sound working with less
than this.  Perhaps i'm doing it wrong, but there isn't a whole lot to go off here in terms of formal documentation, so
I had to guess a lot.  Trial and error, etc. First, find the module files.  Mine are in the path below.  Change to that directory
and then copy it to your packages directory.  If you symlinked this to your web root, you're done.  YOu need only wget them
to your device.  However you do it, you need to get these files into /lib/modules/2.6.19.x/

joe@linuxbox:/home/joe/trunk/build_mipsel/linux-2.6-brcm47xx/linux-2.6.19.2/sound#
cp ./core/snd-hwdep.ko /home/joe/trunk/bin/packages/
cp ./core/snd-page-alloc.ko /home/joe/trunk/bin/packages/
cp ./core/snd-pcm.ko /home/joe/trunk/bin/packages/
cp ./core/snd-rawmidi.ko /home/joe/trunk/bin/packages/
cp ./core/snd-timer.ko /home/joe/trunk/bin/packages/
cp ./core/snd.ko /home/joe/trunk/bin/packages/
cp ./usb/snd-usb-audio.ko /home/joe/trunk/bin/packages/
cp ./usb/snd-usb-lib.ko /home/joe/trunk/bin/packages/
cp ./core/oss/snd-mixer-oss.ko /home/joe/trunk/bin/packages/
cp ./core/oss/snd-pcm-oss.ko /home/joe/trunk/bin/packages/

***If you're missing the *oss.ko files, you need to enable it in your kernel build.

 make kernel_menuconfig  

Look under devices->sound->alsa and ensure you enabled snd_pcm_oss and snd_mixer_oss emulation drivers.  
Rebuild your openwrt (sorry) and you'll see the *oss.ko files in your build_mipsel path.


on your device:

 wget http://192.168.0.103/apache2-default/openwrt/packages/snd-hwdep.ko
 wget http://192.168.0.103/apache2-default/openwrt/packages/snd-page-alloc.ko
 wget http://192.168.0.103/apache2-default/openwrt/packages/snd-pcm.ko
 wget http://192.168.0.103/apache2-default/openwrt/packages/snd-rawmidi.ko
 wget http://192.168.0.103/apache2-default/openwrt/packages/snd-timer.ko
 wget http://192.168.0.103/apache2-default/openwrt/packages/snd.ko
 wget http://192.168.0.103/apache2-default/openwrt/packages/snd-usb-audio.ko
 wget http://192.168.0.103/apache2-default/openwrt/packages/snd-usb-lib.ko
 wget http://192.168.0.103/apache2-default/openwrt/packages/snd-mixer-oss.ko
 wget http://192.168.0.103/apache2-default/openwrt/packages/snd-pcm-oss.ko

Again, substitute your webroot in place of mine.  After copying, reboot to make sure we get all of our modules
that came from any ipkg installations automatically loaded.  When done, add the following to your startup files
so that the modules will get loaded everytime.

 insmod snd.ko
 insmod snd-hwdep.ko
 insmod snd-page-alloc.ko
 insmod snd-timer.ko
 insmod snd-rawmidi.ko
 insmod snd-pcm.ko
 insmod snd-usb-lib.ko
 insmod snd-usb-audio.ko
 insmod snd-mixer-oss.ko
 insmod snd-pcm-oss.ko


um, this is where my doc ends, it isn't done.  you'll have to figure the rest out on your own for now.  perhaps you can complete this after you figure it out...

Re: WGT634U USB sound support

sneaky wambat,

Can we share email addresses? and discuss offline? I have put together a development env that rocks and would be willing to share.

I have a build system running on windows 2003, virtual server with Ubuntu server running on that. (P4 2.6GHz HT with a gig of ram)

In addition, I have so far:

2 WGT634U
1 DI624
1 WRTSL54GS
1 WGT624U
1 WPN824

I also have a V-Link ESP902 with two serial ports that allows access to the console port via the network. And a APC Master switch to cycle power to each of the routers. All can be remotely accessed, so development can be done almost 100% hands off.

18 (edited by bradkarhu 2007-03-29 04:45:00)

Re: WGT634U USB sound support

well that worked fine. I saw that the sizes of snd.ko and a couple others were different after including snd-mixer-oss and snd-pcm-oss, so I overwrote them all when I scp'd them over. Then insmod'd em like this:

insmod snd
insmod snd-page-alloc
insmod snd-hwdep
insmod snd-rawmidi
insmod snd-timer
insmod snd-pcm
insmod snd-mixer-oss    
insmod snd-pcm-oss
insmod snd-usb-lib
insmod snd-usb-audio

and voila! creates /dev/dsp and flite outputs to it just fine

to make it work on startup create the file /etc/modules.d/70-snd and put the above list in it (removing the "insmod" part of course)

19

Re: WGT634U USB sound support

Hey, works for me with those instructions too (on my no-name $5 USB sound adapters).

Thanks.  I was wasting all kinds of time and making no progress.   Now I've got sound.

Re: WGT634U USB sound support

Me too, the instructions worked great. Can someone turn this into a wiki/Howto for just the sound part, bet there are other that are struggling with this.

Would still love to see the rest of the setup (MPD/MPC and cifs) maybe even samba to access files remotely on a window workstation.

21

Re: WGT634U USB sound support

A howto would certainly be nice but it would also be useful to figure out why the *.ko files need to be copied across
manually rather than automatically (or perhaps it's a feature I don't understand).   Would certainly make it
easier than documenting the workaround of copying the files.

If somebody points me in the right direction I could take a look at why they're not coming across.  (I've been
using linux a while but I'm an openwrt noob.   Perhaps this would be a good way to throw myself into it.)

Re: WGT634U USB sound support

Heh, I'm glad you guys got it working.  It took me a month of tinkering to finally figure out what it was.  I think in the end, it was a blind guess that I was missing a linux module.  I eventually stumbled on the make options for openwrt and noticed the kernel_menuconfig option and zing.   Like I said in my lame howto, i really don't know what i'm doing with this stuff - i just sit and guess until it works, often moving from one false assumption to another until I find the real answer. I think it's fun that way though! smile 

If any of you figure out how to get alsa w/o oss emulation working, please post it.

Also as for connecting to windows, cifs is what you want.  You need kmod-fs-cifs and cifsmount.  I suppose you could do it with samba, but cifs was a lot easier to get up and running.

23 (edited by bradkarhu 2007-03-30 02:36:19)

Re: WGT634U USB sound support

ok sweet, i didn't have a clue what i was doing but it worked the very first time. I have all the .ko's in an ipkg now. I added the option kmod-snd in kernel modules -> other modules. I'll make a new ticket right now with the patch.

Edit: go to https://dev.openwrt.org/attachment/tick … /snd.patch for the patch

you can just copy and paste the green part into "package/kernel/modules/other.mk" after soundcore

Re: WGT634U USB sound support

Hey that's awesome!  Will it automatically tick the settings in kernel_menuconfig as well?  I've found that if those settings aren't set, those oss.ko files don't get built. sad

Re: WGT634U USB sound support

nope, it looks like that's taken care of.
https://dev.openwrt.org/browser/trunk/t … g-template
unless there's others that I missed...