Re: [OpenWrt-Devel] I'd like to donate a Linksys WRT300N V1

2015-04-03 Thread Alex Henrie
2015-03-30 15:43 GMT-06:00 Rafał Miłecki : > On 17 March 2015 at 22:05, Alex Henrie wrote: >> I just mailed the router. When it arrives, please send confirmation to >> me and to treasu...@spi-inc.org. > > I just got it today, thanks! > > I disassembled it, it's really a PCMCIA wireless card, nice

Re: [OpenWrt-Devel] [PATCH 3/6] ipq806x: enable usb support

2015-04-03 Thread John Crispin
On 03/04/2015 20:47, Felix Fietkau wrote: > On 2015-04-03 05:30, Mathieu Olivari wrote: >> This change doesn't make USB functional but it does make it >> selectable from a configuration perspective. >> >> Signed-off-by: Mathieu Olivari > I think this should be added to the generic config instea

Re: [OpenWrt-Devel] [PATCH 3/6] ipq806x: enable usb support

2015-04-03 Thread Felix Fietkau
On 2015-04-03 05:30, Mathieu Olivari wrote: > This change doesn't make USB functional but it does make it selectable > from a configuration perspective. > > Signed-off-by: Mathieu Olivari I think this should be added to the generic config instead. Thanks, - Felix ___

Re: [OpenWrt-Devel] [patch] mac80211: Force Atheros drivers to respect the user's regdomain settings by default

2015-04-03 Thread Felix Fietkau
On 2015-04-03 12:09, Jiri Pirko wrote: > User's regdomain should know the correct setting. So change default for > ath drivers to respect those. > > Signed-off-by: Jiri Pirko As of r45252 this should no longer be necessary. - Felix ___ openwrt-devel ma

[OpenWrt-Devel] Question about broadcom image under openwrt

2015-04-03 Thread Tymon
I ported bcm958522er (ARM Crotex A9, dual core) on openwrt successfully, used kernel 2.6.36 rather than 3.3.8, But I suffered from a strange problem on the booting--the vmlinux.lzma with "boot_vmlinuz" u-boot command work fine while the openwrt-xxx-squashfs.trx hanged at the beginning. why ?

Re: [OpenWrt-Devel] [PATCH] transmission: fallocate64 was bacported to uClibc

2015-04-03 Thread John Crispin
Hi, transmission is hosted in the github feed. please file an issue there. John On 03/04/2015 02:57, Roman Yeryomin wrote: > Signed-off-by: Roman Yeryomin > --- > .../patches/010-remove-fallocate64-definition.patch| 14 > ++ > .../patches/010_libtransmission_falloc

Re: [OpenWrt-Devel] UCI config bug or intent?

2015-04-03 Thread Yousong Zhou
On Apr 3, 2015 2:27 PM, "Dominik Taborsky" wrote: > > Any thoughts on this? > > If anything, could anyone point me the right direction so I can fix it myself? > > > > On 03/25/2015 11:28 AM, Dominik Taborsky wrote: >> >> Hello, >> >> a colleague of mine discovered a problem when using UCI: when th

[OpenWrt-Devel] [PATCH 1/2] ppp: Fix seg fault when using pppol2tp

2015-04-03 Thread Hans Dedecker
PPPD crashes (SEGV) when the dump or dryrun options are specified and an option is internally defined as "o_special" with an option flag of "OPT_A2STRVAL". As the option value is not saved when the parameter is processed, a reference to the option will result into a crash (e.g. when printing). Sig

[OpenWrt-Devel] [PATCH 2/2] ppp: Fix missing arg argument when using option flag OPT_A2STRVAL

2015-04-03 Thread Hans Dedecker
The arg argument is missing to the printer call in the print_option utility when the option flag OPT_A2STRVAL is set. Signed-off-by: Hans Dedecker --- .../network/services/ppp/patches/550-fix-printer-args.patch | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 package/net

Re: [OpenWrt-Devel] [patch] mac80211: Force Atheros drivers to respect the user's regdomain settings by default

2015-04-03 Thread bkil
Unfortunately, your patch will never be merged because most developers are from the USA: https://dev.openwrt.org/ticket/6923 https://dev.openwrt.org/ticket/ https://dev.openwrt.org/ticket/9678 https://dev.openwrt.org/ticket/12991 https://dev.openwrt.org/ticket/16818 https://dev.openwrt.org/tick

[OpenWrt-Devel] [patch] mac80211: Force Atheros drivers to respect the user's regdomain settings by default

2015-04-03 Thread Jiri Pirko
User's regdomain should know the correct setting. So change default for ath drivers to respect those. Signed-off-by: Jiri Pirko --- package/kernel/mac80211/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 11c8b

Re: [OpenWrt-Devel] Question about conflict between ubus_invoke and uloop_run

2015-04-03 Thread Alexandru Ardelean
In this case you have 2 solutions: 1) use some sync / lock mechanism in cwmp's callback as you've said 2) you can try to adapt some general solution that would work in ubus and submit a patch upstream; I think Felix would have to give an opinion here first I can't think of any other solutions at t

Re: [OpenWrt-Devel] Question about conflict between ubus_invoke and uloop_run

2015-04-03 Thread XiaoFengMeng
Hi Alex, Thanks you the suggestion. My situation is more complicated than what you think. I am using a third-part cwmp library, and a lots of callbacks are registered into the lib, which are used to get values of data models. The cwmp lib has its own working thread, and callback will be called i

Re: [OpenWrt-Devel] Question about conflict between ubus_invoke and uloop_run

2015-04-03 Thread Alexandru Ardelean
Yes, you have to use ubus_invoke_sync() in this case. You can use ubus_invoke_async() and re-design your code using a state-machine mechanism. This would simplify the need to add any locks & syncs. You should not use directly: ctx->ubus->sock.registered = true; It could complicate things long-te