Re: [OpenWrt-Devel] [PATCH] Add beep package
This is sooo cool :) Thanks :) On Nov 3, 2009, at 4:07 AM, Thomas Albers wrote: This adds the beep program by Johnathan Nightingale, which plays beeps of chosen frequency and length through the PC speaker. It's quite useful to give feedback from within scripts. Signed-off by: Thomas Albers n...@formigao.me.uk Index: beep/Makefile === --- beep/Makefile (revision 0) +++ beep/Makefile (revision 0) @@ -0,0 +1,45 @@ +# +# Copyright (C) 2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# This Makefile is a skeleton +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=beep +PKG_VERSION:=1.2.2 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://johnath.com/beep/ +PKG_MD5SUM:=d541419fd7e5642952d7b48cbb40c712 + +include $(INCLUDE_DIR)/package.mk + +define Package/beep + SECTION:=sound + CATEGORY:=Sound + TITLE:=beep + URL:=http://johnath.com/beep/README + DEPENDS:=+kmod-pcspkr +endef + +define Package/beep/description + This program plays beeps through the PC speaker +endef + +CONFIGURE_ARGS += \ + --enable-static \ + --enable-shared + +MAKE_FLAGS += \ + CFLAGS=$(TARGET_CFLAGS) + +define Package/beep/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/beep $(1)/usr/bin +endef + +$(eval $(call BuildPackage,beep)) ___ 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
Re: [OpenWrt-Devel] WRAP board (x86-generic-pcengines wrap) boot problems
On Mon, Nov 2, 2009 at 18:18, Florian Fainelli flor...@openwrt.org wrote: Hi David, 2009/11/3, David A. Bandel david.ban...@gmail.com: On Mon, Nov 2, 2009 at 12:44, Jo-Philipp Wich x...@subsignal.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure whether same config is supposed to work. At least the rootfs partition name changed recently, my Wrap Board here works fine with an ext2 image and CONFIG_X86_GRUB_ROOTPART=/dev/sda2 . OK, tried again -- make distclean, then make package/symlinks (did a minimal config), make menuconfig (added packages and I see the /dev/sda2 entry vice /dev/hda2), build went well, but I still have: ata1.00: failed to IDENTIFY (device reports invalid type, err_mask=0x0) block2mtd: error: cannot open device /dev/sda2 It will not work because of those two lines before. Could you paste the message that is shown before the failed to IDENTIFY? Are you using some broken medium ? scsi0 : sc1200 scsi1 : sc1200 ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0xfc00 irq 14 ata2: DUMMY ata1.00: failed to IDENTIFY (device reports invalid type, err_mask=0x0) Clocksource tsc unstable (delta = -474635714 ns) ata1.00: failed to IDENTIFY (device reports invalid type, err_mask=0x0) block2mtd: error: cannot open device /dev/sda2 Whether the medium is broken or not, I can't say, it's a Sharp 16Mb CF disk that works fine if I load r-16637. Ciao, David A. Bandel -- Focus on the dream, not the competition. - Nemesis Air Racing Team motto Visit my blog at: http://www.pananix.com/cgi-bin/blosxom ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [Patch] Fix typo inittab
There is a typo in /etc/inittab for the second serial port. This patch fixes that typo and allow logins from the second port. Signed-off-by: Mark Kelly Index: package/base-files/files/etc/inittab === --- package/base-files/files/etc/inittab (revision 18289) +++ package/base-files/files/etc/inittab (working copy) @@ -2,4 +2,4 @@ ::shutdown:/etc/init.d/rcS K stop tts/0::askfirst:/bin/ash --login ttyS0::askfirst:/bin/ash --login -tty1::askfirst:/bin/ash --login +ttyS1::askfirst:/bin/ash --login ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel