**** BEGIN LOGGING AT Fri Sep 05 02:59:56 2008 Sep 05 03:29:42 I'm getting an issue compiling asterisk1.4 because my autoconf on my computer is earlier than the toolchain one! Sep 05 03:29:49 It looks like the toolchain one is being used - but using the libs from the host one! Sep 05 06:53:15 juhosg * r12536 /trunk/target/linux/generic-2.6/patches-2.6.26/980-backport_gpio_sysfs_support.patch: [kernel] 2.6.26: fix build error caused by the gpio sysfs stuff Sep 05 08:23:11 ok luci svn3104 is still not working for me: dispatcher.lua:123 attempt to index field 'main' ( a nil value) Sep 05 08:28:42 hi, I have a dev-question: how do I check whether a configuration variable is set (a boolean) in a Makefile? I want to do something depending whether its a BE or LE system (and consequently want to check whether BIG_ENDIAN is set or not) Sep 05 08:34:05 look at the asterisk config - think that has some ifdefs in it. Sep 05 08:34:51 okay, thanks Sep 05 08:35:37 (my target is to work around psybnc's broken endianess detection) Sep 05 09:16:16 Kaloz: here ? Sep 05 09:39:28 luci svn3104 is still not working for me: dispatcher.lua:123 attempt to index field 'main' ( a nil value) Sep 05 09:46:40 frogonwheels: just a shot in the dark, but I had a similiar problem some revisions ago after upgrading uci and forgetting to also upgrade libuci Sep 05 09:47:27 (and libuci-lua) Sep 05 09:47:51 ah Sep 05 09:49:28 that's probably it. Sep 05 09:49:30 ta Sep 05 09:49:40 possibly building them woudl help too. Sep 05 12:29:05 Well that was fun Sep 05 12:29:35 luci managed to temporarily brick my router. Sep 05 12:43:02 frogonwheels: where you able to determine why? Sep 05 12:43:20 xMff: nope. had to reload a trx Sep 05 12:43:30 damn Sep 05 12:43:37 xMff: probably due to pressing save on the ssl page. Sep 05 12:43:43 ssl keys Sep 05 12:43:48 that's the only thing I did Sep 05 12:44:02 ssh sorry Sep 05 12:44:07 hmm Sep 05 12:44:11 (hoping it would restart dropbear) Sep 05 12:44:18 then booom Sep 05 12:44:27 so Dropbear was gone then? Sep 05 12:44:35 permanently Sep 05 12:44:43 well that's not unusual - Sep 05 12:44:51 if I load up the system, something often drops out. Sep 05 12:45:00 and the interface certainly loaded up the sytem. Sep 05 12:45:02 hmm perhaps had fubar'd the ssh config Sep 05 12:45:15 xMff: yeah - but everything was screwed. Sep 05 12:45:23 really strange Sep 05 12:45:29 what platform?= Sep 05 12:45:37 mipsel Sep 05 12:45:59 okay, I noticed strange behaviour on a wl500gp yesterday too Sep 05 12:46:12 wl500gp for me too Sep 05 12:46:15 sometimes you had to reboot twice to get the system up and running Sep 05 12:46:29 twice, thrice, even rescue mode failed. Sep 05 12:46:34 will investigate this weekend Sep 05 12:46:37 went into rescue mode, but refused to be rescued. Sep 05 12:47:19 had to use Rescue.exe Sep 05 12:47:21 :) Sep 05 12:47:24 hehe Sep 05 12:48:29 If you try again sometime it would be nice if you can run "top" in background to see whether unusual things happen Sep 05 12:48:51 luci sometimes restarts several services on the fly Sep 05 12:49:09 i think something is wrong there under certains circumstances Sep 05 13:02:48 oh F$ uci isn't working very nicely Sep 05 13:05:27 15:02 < frogonwheels> oh F$ uci isn't working very nicely Sep 05 13:05:28 details? Sep 05 13:05:46 i've just rebooted. Sep 05 13:05:49 wait a sec Sep 05 13:06:53 nbd: I'm doing a uci export asterisk Sep 05 13:07:05 and getting: uci: Parse error (option/list command found before the first section) at line 159, byte 1 Sep 05 13:07:21 show me the contents of the asterisk config Sep 05 13:07:28 option 'message' 'Q IMp' Sep 05 13:07:28 config 'voicezone' 'military' Sep 05 13:07:28 option 'zone' 'Zulu' Sep 05 13:07:39 hmm. I'll pastebin the whole lot Sep 05 13:07:41 sorry Sep 05 13:10:55 http://pastebin.com/d541d3957 Sep 05 13:13:32 ok, the error message for this problem could be improved Sep 05 13:13:35 nbd The strangest thing is that when using -S .. the line option 'sip Sep 05 13:13:43 but the problem is that there are multiple sections with the same name Sep 05 13:14:00 ? Sep 05 13:14:27 config 'voice' 'general' Sep 05 13:14:30 which bit is the name. Sep 05 13:14:31 config 'incoming' 'general' Sep 05 13:15:01 'general' in this case is the name Sep 05 13:15:19 it must be unique or left out Sep 05 13:15:33 you mean it has to be unique for the whole config!? Sep 05 13:15:47 yes Sep 05 13:16:00 because it's used by the shell code as pointer to the section Sep 05 13:16:38 well that rather screws me over. Sep 05 13:16:46 was working in a previous version :( Sep 05 13:17:17 it could not have worked properly Sep 05 13:17:28 because in shell you reference config sections by the name only Sep 05 13:17:30 ah well it did. possibly much older script. Sep 05 13:17:48 maybe it was just hidden Sep 05 13:17:50 ah - I use config_load Sep 05 13:18:04 because previously it did not complain about something that is problematic Sep 05 13:21:53 nbd: ok - rather bizarre that it doesn't use both the section and name for the key.. Sep 05 13:22:19 hey how do you match blank in a case) in shell? Sep 05 13:22:41 the first parameter is not the section itself Sep 05 13:22:44 the first parameter is the type Sep 05 13:23:05 oh. Sep 05 13:24:30 nbd: can you have non alpha chars in the type? Sep 05 13:35:59 some, yes Sep 05 13:36:05 e.g. "-" Sep 05 13:37:25 and _ Sep 05 13:37:30 but that seems about it. Sep 05 13:37:34 - could work for me. Sep 05 13:40:00 nbd: an error when the type changes would be good too Sep 05 13:40:17 i'll simply add a duplicate section error message Sep 05 13:40:21 doesn't have to mention the type Sep 05 13:40:28 since it's not the type change that's problematic Sep 05 13:40:44 yeah fair enough. both are a bad. Sep 05 13:41:03 in this case it _is_ the type change that's problematic. Sep 05 13:41:06 .. but I agree Sep 05 13:49:46 doesn't handle - Sep 05 15:14:42 lars * r12537 /packages/XOrg/lib/pixman/Makefile: explicitly disable gtk tests. Sep 05 17:55:51 http://openwrt.pastebin.com/d1bba409 -- and now, how to print that url on the web page? Sep 05 18:12:29 yeah, all this hotplug stuff is still broken... Sep 05 18:12:34 ups Sep 05 18:12:40 http://openwrt.pastebin.com/d1bba409 -- and now, how to print that url on the web page? Sep 05 18:13:26 Yanira: do you mean how to embed the address in a template? Sep 05 18:13:41 yep :) Sep 05 18:13:44 ahh, mom Sep 05 18:14:36 xMff: i have the address hardcoded in m = Map("uvc_streamer", translate("uvc_streamer"), translate("uvc_streamer_desc")) uvc_streamer_desc atm Sep 05 18:14:45 and i like to make it dynamic Sep 05 18:16:09 nbd * r12538 /packages/net/openntpd/files/ntpd.hotplug: fix openntpd hotplug script (based on patch from #3027) Sep 05 18:19:12 Yanira: so you want to include the address within the translation of "uvc_streamer_desc".. right? Sep 05 18:19:29 exactly Sep 05 18:19:50 Yanira: there is a shortcut named "translatef()" (like sprintf) Sep 05 18:20:12 translatef("uvc_streamer_desc", "1.2.3.4") Sep 05 18:20:34 in the language file you have to put a "%s" where the parameter should included Sep 05 18:21:10 Yanira: which cam are you using ? Sep 05 18:21:25 i mean, can you tell me a uvc capable cam that i can get off the shelf ? Sep 05 18:21:29 blogic: quickcam pro 2007 for notebooks Sep 05 18:21:53 * blogic orders one online Sep 05 18:22:34 i'd like to see mjpg-streamer config moved to uci Sep 05 18:22:42 nbd * r12539 /packages/net/openntpd/files/ntpd.init: only start ntpd from hotplug Sep 05 18:22:54 xMff: i'll give it a try Sep 05 18:23:49 Yanira: my code was slightly wrong, because translatef() still takes a default translation you have to "pad" the params, e.g.: translatef("foo", nil, "param1", "param2", ...) Sep 05 18:24:11 then it should work Sep 05 18:33:53 xMff: http://openwrt.pastebin.com/d6c3af8a8 -- to what should i change that two files to get it working? Sep 05 18:37:59 Yanira: http://openwrt.pastebin.com/m3bc4492b - but it's to better to make the "%s" change in the xml language file, because the lua translation file is generated (and overwritten) from the xml translation when you do make Sep 05 18:38:28 so don't change *.en.lua but *.en.xml instead Sep 05 18:40:50 ok. so no i'll try to get uvc_streamer.@uvc_streamer[0].port Sep 05 18:40:56 s/no/now/ Sep 05 18:41:37 Yanira: mom Sep 05 18:44:36 * Yanira is waiting... Sep 05 18:53:32 Yanira: retrieving values from anonymous sections is a bit trickier with the lua-uci binding Sep 05 18:53:37 Yanira: http://openwrt.pastebin.com/d76a15cd0 Sep 05 18:56:42 nice, nice. but difficult Sep 05 18:57:04 and now i'd like to have that url as a linke Sep 05 18:57:39 Yanira: I think I will implement the @sectiontype[index] format in our uci:get() Sep 05 18:57:53 but will take some time Sep 05 18:58:56 hmm, if i change the port and hit save & apply the url is only updated after reloading the page Sep 05 19:06:43 Yanira: this is a limitation of the form generation cycle, forms are processed before the uci data is written, so the vars aren't updated after the first reload Sep 05 19:07:01 ah. ok Sep 05 19:07:03 anyway here is the version with a link: http://openwrt.pastebin.com/d76a15cd0 Sep 05 19:08:18 ah sorry, this one: http://openwrt.pastebin.com/d7acf9e24 Sep 05 19:10:51 nice. works :) Sep 05 19:11:00 can you commit? Sep 05 19:11:21 sure Sep 05 19:14:13 Yanira: it's okay to give credits to you? The uvc stuff is still missing file headers Sep 05 19:14:57 xMff: ok Sep 05 19:27:02 Yanira: it's committed Sep 05 19:28:03 okie :) Sep 05 23:27:30 nbd * r12540 /trunk/package/madwifi/Makefile: madwifi: select the right hal binary for EABI on ARM Sep 05 23:27:41 nbd * r12541 /trunk/package/madwifi/patches/102-multicall_binary.patch: madwifi: add missing include file for the tools multicall binary **** ENDING LOGGING AT Sat Sep 06 02:59:57 2008