[OpenWrt-Devel] [PATCH] Add debugging entry to hotplug config

2010-04-09 Thread Philip A. Prindeville
This is useful for seeing what devices are detected by the system. Signed-off-by: Philip Prindeville --- Index: package/base-files/files/etc/hotplug2-common.rules === --- package/base-files/files/etc/hotplug2-common.rules (revision

Re: [OpenWrt-Devel] [PATCH 2/2] swconfig: Add cpu port index to help output.

2010-04-09 Thread Jonas Gorski
On 9 April 2010 20:15, Jonas Gorski wrote: > [PATCH 2/2] swconfig: Add cpu port index to help output. Oops. There isn't a 1/2 for this. I accidentially generated numbered patches. Regards, Jonas Gorski ___ openwrt-devel mailing list openwrt-devel@lists

[OpenWrt-Devel] [PATCH v2] Add support for net5501 SBC

2010-04-09 Thread Philip A. Prindeville
[ Since the last posting, rtz2 suggested that I remove DMI, ACPI, Mouse, Keyboard, and other unused drivers. ] This patch brings up the net5501 platform. Note that the x86/ target included support for all x86/ class processors. That's not technically correct. This should be constrained only to

[OpenWrt-Devel] [PATCH] swconfig: Check vlan/port indexes for validity.

2010-04-09 Thread Jonas Gorski
Swconfig needs to make sure that requested vlans/ports actually exist, else it might read or modify memory not belonging to itself. This patch adds a quick range check in swconfig's kernel part to prevent accidential or intentional memory modification. Signed-off-by: Jonas Gorski --- .../generi

[OpenWrt-Devel] [PATCH 2/2] swconfig: Add cpu port index to help output.

2010-04-09 Thread Jonas Gorski
Let swconfig provide the cpu port index in its help page. This is needed as e.g. Atheros switches have their cpu port at port 0, not port 5. This could allow e.g. luci to get a rough overview of the layout of the switch. Signed-off-by: Jonas Gorski --- package/swconfig/src/cli.c

Re: [OpenWrt-Devel] [PATCH] Upgrade gpsd and add init scripts

2010-04-09 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Any reason why you don't use just start-stop-deamon instead of subshell & and kill hacks? ~ JoW -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAku/RmsACgkQd

Re: [OpenWrt-Devel] [PATCH] Upgrade gpsd and add init scripts

2010-04-09 Thread Roberto Riggio
Re-submitting with Bastian's suggestions Signed-off-by: Roberto Riggio > -- Index: net/gpsd/files/gpsd.init === --- net/gpsd/files/gpsd.init(revision 0) +++ net/gpsd/files/gpsd.init(revisio

Re: [OpenWrt-Devel] [PATCH] Upgrade gpsd and add init scripts

2010-04-09 Thread Roberto Riggio
On 04/08/2010 08:27 PM, Bastian Bittorf wrote: + [ $enabled == 0 ]&& exit 1 [ "$enabled" != "1" ]&& exit Agreed [ -f "$PIDF" ] && { read PID<"$PIDF" # nonforking kill -9 $PID rm $PIDF } This also looks better but should'nt you try an simple

[OpenWrt-Devel] [PATCH] Generic: Clean up output of AR8216 driver.

2010-04-09 Thread Jonas Gorski
This patch is rather a cosmetic patch. It fixes the following issues: * Demote the unknown device message to debug level to not spam the log. * Fix the version print of the unknown device message. * Output the 'attach' message only when attaching as switch driver, not when attaching as ph

Re: [OpenWrt-Devel] Bringing up new platforms

2010-04-09 Thread Florian Fainelli
Hi Philip, On Friday 09 April 2010 07:10:22 Philip A. Prindeville wrote: > I'm trying to bring up the net5501 and having some success, but since > I've just been using the project since Sunday I'm a bit at the bottom of > the learning curve. > > I was wondering if there was a cheat-sheet on how t

Re: [OpenWrt-Devel] [PATCH] Add option for block-extroot to mount a sub directory on the external USB device

2010-04-09 Thread Quentin Armitage
It looks as though MMC cards should work just as well with the patch. The key thing is the the package block-extroot supports MMC cards, and it does appear to do so, with kmod-mmc enabling block-extroot. You would presumably also need the kmod-mmc-over-gpio module. Assuming that the MMC device tha

Re: [OpenWrt-Devel] [PATCH] ag71xx: call the phy driver's netif_receive_skb()

2010-04-09 Thread Jonas Gorski
On 9 April 2010 10:41, Gabor Juhos wrote: > Applied: https://dev.openwrt.org/changeset/20750 Thanks, Jonas P.S: Looks like email address anonymization in trac only works for the first address: > Signed-off-by: Jonas Gorski > Cc:backf...@openwrt.org __

Re: [OpenWrt-Devel] [PATCH] Add option for block-extroot to mount a sub directory on the external USB device

2010-04-09 Thread RHS Linux User
Hi, Neat... It would be *VERY* nice to be able to do the same thing with one or *TWO* MMC cards since they can be easily kludged onto a few GPIO pins. Maybe your patch already supports this? Wiz On Fri, 9 Apr 2010, Quentin Armitage wrote: > The block-extroot package adds the capabilit

Re: [OpenWrt-Devel] [PATCH] ag71xx: call the phy driver's netif_receive_skb()

2010-04-09 Thread Gabor Juhos
Jonas Gorski írta: > Ag71xx needs to call the phy's netif_receive_skb() to allow phy drivers > to mangle rx packets. This patch fixes it. > > This fixes the header mangling of the AR8216 driver. > > Signed-off-by: Jonas Gorski Applied: https://dev.openwrt.org/changeset/20750 Thanks, Gabor __

[OpenWrt-Devel] [PATCH] Add option for block-extroot to mount a sub directory on the external USB device

2010-04-09 Thread Quentin Armitage
The block-extroot package adds the capability for preinit to mount /overlay on an external USB device. The attached patch extends the capability to allow /overlay to be mounted on a sub-directory of the external USB device. I can see two uses for this: 1. I want to be able to use the USB devic