Re: [OpenWrt-Devel] How to config GPIO and read the GPIO value in OpenWRT

2015-10-14 Thread smilebef
Am Wed, 14 Oct 2015 18:19:45 +0800 schrieb Afkar Rafique : > Hi, > > I am working on AR9344 Openwrt. I need to configure the GPIO16 and > read the status of GPIO. > > Based on GPIO read value, has to ON/OFF the status LED. > > Could anyone please explain how i can configure

Re: [OpenWrt-Devel] How to config GPIO and read the GPIO value in OpenWRT

2015-10-14 Thread Martin Blumenstingl
On Wed, Oct 14, 2015 at 12:19 PM, Afkar Rafique wrote: > Could anyone please explain how i can configure and read GPIO value. There's an article on the wiki which explains how to set a GPIO to a specific value: [0] If you want to read a GPIO value then you use direction "in"

[OpenWrt-Devel] Supporting proprietary code

2015-10-14 Thread Samba Siva Karthik Bollam
Hi I worked with Qualcomm and Intel on their networking chipsets and they are using openwrt on their systems. But one thing I noticed is unlike Android where they support adding proprietary source code in the build system, openwrt is not so flexible. Is there any plans for openwrt to add a

[OpenWrt-Devel] Broken SPI transfers on TD-W8970 (latest trunk)

2015-10-14 Thread Martin Blumenstingl
Hi John, I am getting SPI errors on latest trunk. It seems that those might be related to your SPI changes from last week. I found that someone else reported a similar issue a few years ago: [0]. That patch was never applied and I'm not sure if it's 100% correct. These are the errors I get

[OpenWrt-Devel] [PATCH 2/2] lantiq: Print the status register whenever an error occurs

2015-10-14 Thread Martin Blumenstingl
This should help finding potential problems with the SPI driver. Signed-off-by: Martin Blumenstingl --- .../lantiq/patches-3.18/0033-SPI-MIPS-lantiq-adds-spi-xway.patch | 4 +++- .../linux/lantiq/patches-4.1/0033-SPI-MIPS-lantiq-adds-spi-xway.patch | 4

[OpenWrt-Devel] [PATCH 1/2] lantiq: Fixed reading the number of RX FIFOs in the SPI driver

2015-10-14 Thread Martin Blumenstingl
Until now the SPI driver used the TX bits for the RX FIFO. This seems uncritical for now since both are equals on my devices (VR9), but this could cause problems on other SoCs. Signed-off-by: Martin Blumenstingl ---

Re: [OpenWrt-Devel] SVN to GIT transition

2015-10-14 Thread Felix Fietkau
On 2015-10-13 10:45, Roman Yeryomin wrote: > On 13 October 2015 at 10:50, Bruno Randolf wrote: >> On 10/12/2015 10:53 PM, Felix Fietkau wrote: git describe r-35387-g83c5a41 If you prefer, cut the last part and get "r-35387". Looks familiar? Now

[OpenWrt-Devel] [PATCH] [ar71xx] Send power to USB port on WNR2200

2015-10-14 Thread Riley Baird
> > This patch fixes ticket #15267 by enabling power on the > > WNR2200's USB port. At present, the USB port on the WNR2200 > > is non-functional due to it not receiving power. > > > > This patch defines an additional GPIO pin, but none of the > > current GPIO definitions have been modified. > >

Re: [OpenWrt-Devel] SVN to GIT transition

2015-10-14 Thread Javier Domingo Cansino
> > People report bugs all the time, and if I'm lucky enough to have a bug > report containing revision information, I want to maximize the > likelihood of that revision information being useful (even if there are > some local commits on top of that). > Any assumptions about users thinking

Re: [OpenWrt-Devel] Supporting proprietary code

2015-10-14 Thread James Hilliard
I think you can just use a custom package feed. That's how I've done it(although I don't use it for proprietary code so much as out of tree packages). On Wed, Oct 14, 2015 at 1:50 PM, Samba Siva Karthik Bollam < sambabol...@hotmail.com> wrote: > Hi > >I worked with Qualcomm and Intel on

[OpenWrt-Devel] how we hope to fix wifi and the internet

2015-10-14 Thread Dave Taht
I think many of those here would be delighted to read about our proposal to washington dc, and other regulators of wifi in the world. http://www.businesswire.com/news/home/20151014005564/en/Global-Internet-Experts-Reveal-Plan-Secure-Reliable I note our main servers got completely slammed, you

Re: [OpenWrt-Devel] Supporting proprietary code

2015-10-14 Thread Samba Siva Karthik Bollam
Hi James This is what I have done 1: Created a folder [all intel platform specific modules went in to this folder] openwrt/intel 2: Added that in to make menuconfig That gave us the flexibility of showing the proprietary modules inside a separate entry in the menuconfig options. So

Re: [OpenWrt-Devel] Supporting proprietary code

2015-10-14 Thread James Hilliard
You can define the section and category in a custom package feed makefile like this https://github.com/pinney/Bitmain_Packages/blob/master/cgminer-s3/Makefile#L30 . You can then add the package feed repo to https://github.com/openwrt-mirror/openwrt/blob/master/feeds.conf.default it should get

Re: [OpenWrt-Devel] [PATCH] generic: add 8139cp fixes, enable hardware csum/tso on 4.0+

2015-10-14 Thread David Woodhouse
On Thu, 2015-10-08 at 10:08 +0200, John Crispin wrote: > > correction, one has a SoB, the other has a description. having both > in both patches would be nice Yeah, sorry about the missing SoB. Although the "missing" description was intentional — it was just the one line in the subject. I have

Re: [OpenWrt-Devel] SVN to GIT transition

2015-10-14 Thread Roman Yeryomin
On 14 October 2015 at 10:10, Felix Fietkau wrote: > On 2015-10-13 10:45, Roman Yeryomin wrote: >> On 13 October 2015 at 10:50, Bruno Randolf wrote: >>> On 10/12/2015 10:53 PM, Felix Fietkau wrote: > git describe > > r-35387-g83c5a41 > > If

[OpenWrt-Devel] How to config GPIO and read the GPIO value in OpenWRT

2015-10-14 Thread Afkar Rafique
Hi, I am working on AR9344 Openwrt. I need to configure the GPIO16 and read the status of GPIO. Based on GPIO read value, has to ON/OFF the status LED. Could anyone please explain how i can configure and read GPIO value. Regards, ___ openwrt-devel

Re: [OpenWrt-Devel] How to config GPIO and read the GPIO value in OpenWRT

2015-10-14 Thread Afkar Rafique
Thanks for the reply. i have Create /etc/init.d/buttons and written below script: #!/bin/sh /etc/rc.common START=19 start() { /bin/umount /etc/config 2>/dev/null echo out > /sys/class/gpio/gpio16/direction 2> /dev/null echo 16 > /sys/class/gpio/export 2> /dev/null