**** BEGIN LOGGING AT Tue Aug 16 02:59:57 2011 Aug 16 10:51:45 hmm is it me or are those dku5/ca42 nokia data cables harder to get these days :S Aug 16 10:52:30 local shops dare to ask 25~30 eur for replacement options (cable for newer phone) Aug 16 10:53:07 WillieNL: you can try the Siemens C25 cables on ebay Aug 16 10:53:30 loswillios: i was looking for siemens c55 cables those pl2303hx based models Aug 16 10:53:40 right, I meant those Aug 16 10:53:50 loswillios: problem the phonestores refuse to sell those since they are to cheap and nobody wants them :S Aug 16 10:53:59 i just want a comport for a normal price :) Aug 16 10:54:02 heh Aug 16 10:54:54 conrad 5 eur some 5v usb stick that need to be modded. or 80 eur 3.3v usb stick ftdi based thats rediculous for that money i can build 4 of those sticks when i ask a compant printing the pcb's ;-) Aug 16 10:55:06 <_trine> WillieNL, http://www.ebay.co.uk/sch/i.html?_trkparms=65%253A12%257C66%253A2%257C39%253A1%257C72%253A5251&rt=nc&_nkw=usb+ttl+pl2303&_trksid=p3286.c0.m14&_sop=15&_sc=1 Aug 16 10:55:35 point is i do have a pl2303 cable here and looking around for extra cables to hookup a ds2508b 232-1wire bridge remotely. Aug 16 10:55:51 s/ds2508b/ds2408b Aug 16 10:56:11 damn nrsDS2480B Serial 1-Wire® Aug 16 10:57:02 _trine: yes at ebay (outside holland) i can find everything i'm looking for indeed. Aug 16 10:57:14 have seen those siemens cables for just 1$ Aug 16 10:57:21 but then i need to order 200 of those Aug 16 10:57:29 while i need 10 or 20 Aug 16 10:58:08 i'm more looking for a nowdays standart data cable that is easyer to shop even if they ask 15 eur still better then whasting 4 weeks :S Aug 16 10:59:54 more or less go shopping for a comport solution with 10 eur on your pocket.. come home with no cable :( Aug 16 11:02:29 _trine: but no idea for other cables on the market ? Aug 16 11:02:51 something that can't make a phone store complain about to old :S Aug 16 11:02:53 <_trine> there are lots of ones that work Aug 16 11:03:09 i know but somehow they just sell now if they can't sell it for +15 eur :S Aug 16 11:03:16 <_trine> why dont you just order some Aug 16 11:03:18 while i used to order sie-c55 cables for 2 eur Aug 16 11:03:26 they are out of stock :S Aug 16 11:03:37 <_trine> not on ebay they arnt Aug 16 11:03:53 jup but ebay for non paypal users is not so easy accept that.. Aug 16 11:04:02 i wish i did live in the us just for dx and ebay :S Aug 16 11:04:16 <_trine> can you not use paypal in NL Aug 16 11:04:54 hmm yeah possible if i wait again 3 weeks for paypal fixing my money transfer from dutch bank to dutch bank to get the money at paypal before i'm able to buy anything Aug 16 11:05:08 while we do that in 5 minutes now days :S Aug 16 11:05:28 sending money via iban(nr) is going faster Aug 16 11:05:32 but insecure Aug 16 11:06:00 thats why i look for a solution.. Aug 16 11:06:02 <_trine> why cant you use paypal like most people do with their credit card Aug 16 11:06:06 atleast a diffrent solution Aug 16 11:06:21 i have no credit card and not even want a problem card. Aug 16 11:06:43 <_trine> then you are doomed Aug 16 11:06:57 cash and a bank account has always been ok i can't help it that paypal is not intergraded in the bank systems like our ideal webstuff nowdays Aug 16 11:07:12 it is a local and isolated market with prices x10 compared to over sea :S Aug 16 11:07:33 <_trine> you could also use with paypal a direct debit card Aug 16 11:07:59 _trine: hmm thats new to me but paypal is a nogo to me.. Aug 16 11:08:06 they still must pay me my 5 buck back :S Aug 16 11:08:11 just vanished Aug 16 11:08:29 i used paypal once in the past and sorry but never again Aug 16 11:08:38 they wait tolong before do anything Aug 16 11:09:16 also here is not everybody carrying a debit card ;-) Aug 16 11:09:59 paypal is for people who live in backward countries with banking systems that take weeks to process interbank electronic trnasfers Aug 16 11:10:21 rofl paypal ? Aug 16 11:10:28 slowest damn thing i evert paid for Aug 16 11:11:13 once they have managed theire back office stuff and send the email (5 weeks after sending the money to paypal) they have processed your transfer thanks and happy buying.. Aug 16 11:11:21 ebay deal was gone already by then Aug 16 11:11:51 also again i'm not looking for something i already know.. Aug 16 11:12:20 just a diffrent type of cable lg or watever is a current phone nowday and don't get me wrong i still use a 3310 like ancient brick it can call.. Aug 16 11:12:40 "current" phone cables aren't serial cables though Aug 16 11:12:52 they're _actual_ usb, not usb-serial Aug 16 11:13:04 karlp: like my last nokia n70 indeed Aug 16 11:13:19 so yes, over time, the availability of cheap usb-serial cables that came with phones will be drying up Aug 16 11:13:19 direct usb in the phone it self :s Aug 16 11:13:39 karlp: jup but for me conrad is almosth the only dealer. Aug 16 11:13:56 and i refuse to pay 70 eur for a ttl pl2303 stick to conrad Aug 16 11:14:25 then i can better shop for sweex+232 at the market and cut that open and thread it as 5v comport :S Aug 16 11:14:47 those are still 20~30 eur :S Aug 16 11:16:24 hmm ok thanks looks like i can better forget about usb232 and look further for usb-1wire or i2c solutions for the same price .. Aug 16 11:16:50 all this for hooking up a damn temp sensor is not making me real happy :S Aug 16 13:32:52 morning all! Aug 16 13:33:38 or, afternoon for a lot of you. Aug 16 13:51:48 KanjiMonster: from google searches, I saw that you did some work with the 8316 switch. Any idea how to figure out the MDIO / PHY masks? I've been guessing at values but have not come up with much as of yet. Aug 16 13:53:41 fullstop: the important thing is that you have bit 0 set for the eth where the management port is attached Aug 16 13:54:38 What do you mean by management port? Aug 16 13:54:47 fullstop: and bit 4 as the phy mask for the second eth *if* the second eth is actually connected anywhere Aug 16 13:54:55 fullstop: port 0 of the switch Aug 16 13:54:56 aha Aug 16 13:55:15 So there is a chance that they never connected the second ethernet and I must use some sort of vlan? Aug 16 13:57:15 yes Aug 16 13:58:09 if you can ping a lan host connected to the wan port through the "lan" eth, then it isn't connected Aug 16 13:58:25 I can. Aug 16 13:59:18 then you have to use vlans Aug 16 13:59:32 If it is not connected, is there any point in adding eth1 in the board definition? Aug 16 13:59:57 The only thing of value would be the hardware address. Aug 16 14:00:22 no, it just adds confusion since there's an eth you can't use Aug 16 14:01:26 Also, somewhere along the line I started getting warnings about AR79 being an unmet dependency. Aug 16 14:02:23 you can ignore that, it's caused by having two arches in the kernel for ar71xx (AR71XX from openwrt and the mainline AR79) sharing config symbols Aug 16 14:05:30 I take that back about being able to ping the lan from the wan port. Aug 16 14:06:38 with eth0 having bit 0 set and eth1 having bit 4 set, I get an eth1 link up message when I plug a cable into port 2 Aug 16 14:15:13 loswillios * r28008 /packages/libs/json-c/ (. Makefile): [packages] add json-c Aug 16 14:15:14 loswillios * r28009 /packages/sound/pulseaudio/Makefile: [packages] pulseaudio: update to 1.0-rc2 Aug 16 14:19:58 fullstop: did you set the eth1 phy_mask to bit 4 (= 0x10), or to 4 (= bit 2)? Aug 16 14:21:25 fullstop: but anyway, that doesn't mean anything - the driver just read that port 2 went up and applied that as the state to eth1 - that doesn't mean that eth1 is actually connected to anything Aug 16 14:21:53 bit 4, not just 4 Aug 16 14:22:25 how did you figure out these bits before? Trial and error? Aug 16 14:22:41 I've been playing around, setting it to bit 4, bit 5, bit 6... Aug 16 14:22:51 ignore bits 5+ Aug 16 14:23:08 really? Aug 16 14:23:14 yes Aug 16 14:23:15 I see a difference between 5 and 6 Aug 16 14:23:38 I am also changing the mdio mask at the same time.. Aug 16 14:23:45 not sure if that is a good thing or not. :) Aug 16 14:24:13 changing multiple things at once is always a bad idea. Aug 16 14:24:38 Yes, but the two appeared to be paired in all of the other board definitions I saw. Aug 16 14:26:22 KanjiMonster: anyway, with bit 0 and bit 4 set, lan ports 1 and 2 are non-functional. Aug 16 14:27:41 If it _is_ connected to eth1, is there any way which the wan port could work as one of the lan ports? Aug 16 14:28:03 That is, if I do not set bit 4 or even add eth1 to the board definition, could I prove that it is not connected by doing this? Aug 16 14:29:03 fullstop: in theory by writing to the correct internal registers you can switch port 5 between a dedicated wan port and being part of the normal switch Aug 16 14:29:19 (port 5 = phy 4) Aug 16 14:30:03 still monkeying around.. Aug 16 14:30:15 with bit 0 and 1 set for eth0 and eth1 Aug 16 14:30:26 eth1 link up when plugged into the wan port Aug 16 14:30:32 I know this probably means nothing Aug 16 14:30:57 especially since I can not ping Aug 16 14:32:17 fullstop: you could try setting the phy_mask to 0x1f for eth0 (when not registering eth1) Aug 16 14:33:25 I will try that next. Aug 16 14:33:45 One other observation... I can not tftp flash when the cable is connected to the wan port. Aug 16 14:34:10 btw, how did you determine that port 1 or 2 are non functional? Aug 16 14:34:17 I also looked.. buffalo has not released their u-boot source code yet. Aug 16 14:34:33 By non-functional, I mean that I can not ping a lan host. Aug 16 14:36:18 if I set the phy_mask to 0x1f, any suggestions for the mdio mask? Aug 16 14:37:43 Also, I see that boards like the PB42 have bits 16 -> 20 used for the wan / lan masks. Aug 16 14:37:52 although I do not know what switch that board has. Aug 16 14:39:24 16->20 is likely an ADM6996 Aug 16 14:39:30 good to know Aug 16 14:39:51 It is unfortunate that atheros is so secretive with their data sheets. Aug 16 14:40:22 fullstop: did you create a vlan with all ports? The default port isolation doesn't play very well when switching ports Aug 16 14:41:05 KanjiMonster: I did, but let me verify that it is still there. Aug 16 14:41:20 Also, my previous test was incorrect because of a typo. Aug 16 14:43:31 it was using the default network config.. but not the one for my board definition for some reason. Aug 16 14:47:30 KanjiMonster: All 5 ports work now Aug 16 14:47:42 great Aug 16 14:48:08 next will be finding out which of the internal port numbers corresponds to the wan port ;) Aug 16 14:48:20 KanjiMonster: mdio mask ~(BIT(0)) Aug 16 14:48:30 and eth0 phy mask of BIT(0) Aug 16 14:48:58 I wish there was a better way of verifying that eth1 is not connected. Aug 16 14:50:14 fullstop: well, there's an indirect way Aug 16 14:50:48 how scary is it? ;-) Aug 16 14:51:18 fullstop: actually, you do it by finding out which of the internal port numbers is the lan port - if it isn't 4, then it can't be connected Aug 16 14:51:19 I also have all of the gpio buttons working except for the AOSS button. Aug 16 14:51:57 did you mean wan ? Aug 16 14:52:16 err yes, I do Aug 16 14:52:40 and I should be able to determine this by altering the vlan settings Aug 16 14:52:47 fullstop: you can probably just copy the pb92 config and then cycle the second vlan's port until you hit the wan port Aug 16 14:53:21 I was using the config from the ag300n Aug 16 14:53:26 but I will look at the pb92 one now Aug 16 14:56:23 it takes too long to erase jffs2 blocks. :) Aug 16 14:57:00 don't you have serial access? Aug 16 14:57:14 I do Aug 16 14:57:30 I'd like to make changes to the filesystem, though. Aug 16 14:57:55 then why not do netboots until you got everything figured out, then there's no flashing involved Aug 16 14:58:17 and tmpfs images still allow you changing files, it just doesn't persist between reboots ;) Aug 16 14:58:45 but now it's probably too late anyway, you seem to have most things figured out Aug 16 14:59:57 KanjiMonster: I'll look into net booting.. I've done that before with TI boards, but it involved setting up nfs and a bunch of other things. Aug 16 15:00:12 Also, there must be a special keystroke to get into uboot. Aug 16 15:02:54 fullstop: it's rather easy with uboot, all you need is a tftp server Aug 16 15:03:27 easy enough Aug 16 15:03:47 but, I've not been able to get uboot to do anything besides boot. That is, ctrl + c does nothing.. Aug 16 15:03:52 then you can tell uboot to load arbitrary files like an uboot image from it into ram with "tftpboot" and then tell it with bootm
to boot it Aug 16 15:03:58 hrm Aug 16 15:04:38 yes, I've done that before to test different kernels on evm boards.. but you could just press a key to interrupt uboot. Aug 16 15:05:00 I'd really like to see the uboot source. I only have 1 LED working. :) Aug 16 15:05:13 uboot leaves the gpio in a working state. Aug 16 15:05:35 and I've not been able to figure out what the difference is. Aug 16 15:07:15 KanjiMonster: where are you, geographically? Because, as far as I can tell, you do not sleep. Aug 16 15:07:48 fullstop: germany ;-) Aug 16 15:09:15 Along with many other openwrt people, it seems. Aug 16 15:11:04 My sister lived in Jülich for about six months. Aug 16 15:11:53 irq.c error still occur when complying ar71xx with 2.6.39.2 Aug 16 15:12:07 She returned home with a dozen Kinder Überraschung for me. :D Aug 16 15:12:24 http://pastebin.com/gJ5GGEPx Aug 16 15:13:54 fullstop: heh, nice. Where are you? Aug 16 15:14:44 Eastern Pennsylvania, USA. Aug 16 15:16:06 gzanan: what revision of irq.c? Aug 16 15:16:37 I have r27962 and kernel 2.6.39.2 building properly. Aug 16 15:19:51 gzanan: make sure your files/ and patches-2.6.39 are current and make a target/linux/clean; "set_irq_chip_and_handler" does not exist anywhere in current svn Aug 16 15:24:07 I've deleted patches-2.6.39 under ar71xx and svn up again to get the current files,also make a target/linux/clean Aug 16 15:24:47 KanjiMonster: wan port is port 2, just like pb92 Aug 16 15:24:58 Still happens when comply,I've try couples of times. Aug 16 15:25:18 gzanan: do the same with target/linux/ar71xx/files/ Aug 16 15:25:22 if I'm reading the vlan config properly, that is. port 0 is cpu? Aug 16 15:25:27 yes Aug 16 15:25:57 "swconfig dev eth0 help" would show you that, too ;-) Aug 16 15:26:07 bbl Aug 16 15:33:38 For an ARM platform, the $(ARCH) variable returns arm. What variable should I use if I want it to return kirkwood, instead of arm? Aug 16 15:35:07 Wil $(BOARD) in target/linux/kirkwood/Makefile do? Aug 16 15:35:30 loswillios: json-c already exists as package/libjson-c Aug 16 15:42:38 mb Aug 16 15:44:32 ugh Aug 16 16:18:35 loswillios: json-c is already in trunk Aug 16 16:19:12 oh, swalker pointed it out already Aug 16 16:21:54 nbd: I'm almost done with the wzr-hp-g300nh2, but I'm missing something with the LEDs. I'm hoping that, perhaps, you have run into something similar in the past. Aug 16 16:22:35 The diagnostic LED is the only one which works. I have a feeling that it is because u-boot leaves the pin configured a little differently than I am configuring the others. Aug 16 16:22:59 I've tried active low / active high.. Aug 16 16:23:06 but I'm missing something simple. Aug 16 16:28:01 fullstop: maybe there is some information in the dd-wrt svn Aug 16 16:28:39 nbd: I looked there. He accesses the gpio very differently. Aug 16 16:30:55 hm, apparently some leds might be connected behind the gpios of the wireless mac Aug 16 16:30:57 dd-wrt writes to what appears to be a mapped PCI address. Aug 16 16:31:06 ahh.. just some of them? Aug 16 16:31:11 looks like Aug 16 16:31:14 bummer Aug 16 16:31:24 i'll try to hack up some code to register leds from ath9k Aug 16 16:31:29 in openwrt, would this be implemented as a gpio expander? Aug 16 16:31:34 no Aug 16 16:31:43 it would be leds registered by ath9k Aug 16 16:31:47 provided via platform data Aug 16 16:32:10 i probably won't get around to it before this weekend though Aug 16 16:32:27 That's fine... the LEDs are not all that important to me at this time, but I was going for completeness. Aug 16 16:33:14 I'm guessing that the AOSS gpio is back there too. It's the only push button which I could not find. Aug 16 16:38:29 hm, if there is a button there, then making it register a gpio chip might be a good idea after all Aug 16 16:40:14 to find the buttons, I set all gpios to input and printed out the values before and after holding down a button. Is there a better way to find them? Aug 16 16:40:48 i usually do the same Aug 16 16:43:16 also, is this something to be concerned with? WARNING: at /home/mdeneen/openwrt/trunk/build_dir/linux-ar71xx_generic/compat-wireless-2011-08-10/drivers/net/wireless/ath/ath9k/pci.c:132 ath_tx_node_cleanup+0x300/0x7dc [ath9k]() Aug 16 16:43:38 should be gone after svn up Aug 16 16:43:47 many thanks Aug 16 16:45:52 moo all Aug 16 16:52:31 fnord Aug 16 16:52:36 time to go home. Aug 16 16:53:13 * Chocky doesn't notice the fnods Aug 16 17:00:48 swalker, nbd: thanks, I didn't look at trunk Aug 16 18:47:34 <[florian]> swalker: can you create an account at patchwork.openwrt.org? Aug 16 20:36:23 florian * r28010 /trunk/package/kernel/modules/w1.mk: Aug 16 20:36:23 [package] add support for DS2482 1-Wire I2C bus master Aug 16 20:36:23 Signed-off-by: Wojciech Dubowik Aug 16 20:36:36 florian * r28011 /packages/net/openl2tp/Makefile: [package] openl2tp: fix pppd version (#9940) Aug 16 20:36:37 florian * r28012 /packages/net/xl2tpd/ (Makefile patches/110-makefile_dont_build_pfc.patch): [package] xl2tpd: update to 1.3.0 (#9921) Aug 16 20:36:43 florian * r28013 /packages/ipv6/tayga/ (. Makefile files/ files/tayga.hotplug files/tayga.sh): Aug 16 20:36:44 [package] ipv6: add tayga Aug 16 20:36:44 TAYGA is an out-of-kernel stateless NAT64 implementation for Aug 16 20:36:44 Linux. It uses the TUN driver to exchange packets with the Aug 16 20:36:44 kernel, which is the same driver used by OpenVPN and QEMU/KVM. Aug 16 20:36:44 Signed-off-by: Alexey I. Froloff Aug 16 20:36:45 florian * r28014 /packages/net/bind/ (3 files in 2 dirs): Aug 16 20:36:45 [package] bind: update to 9.8.0-P4 Aug 16 20:36:46 Signed-off-by: Alexey I. Froloff Aug 16 20:36:46 florian * r28015 /packages/utils/dbus/ (3 files in 2 dirs): Aug 16 20:36:47 [package] dbus: update to 1.4.14 Aug 16 20:36:47 This bumps dbus in the packages repository to 1.4.14. Aug 16 20:36:48 It also requires librt now due to clock function usage. Aug 16 20:36:49 It also supports systemd and launchd now. Aug 16 20:36:49 Signed-off-by: Daniel Mierswa Aug 16 20:36:50 florian * r28016 /packages/net/strongswan4/Makefile: Aug 16 20:37:01 patch from Paul Geraedts Aug 16 21:13:18 loswillios * r28019 /packages/sound/pulseaudio/Makefile: [packages] pulseaudio: change json dependency Aug 16 21:13:22 loswillios * r28020 /packages/libs/json-c/Makefile: [packages] remove json-c, its in trunk already Aug 16 21:18:21 loswillios: is the json-c dependency due to a recent pulseaudio update? Does it need any backfire merges? Aug 16 21:19:32 it doesn't need backfire merges. the pulseaudio version in trunk is now at 1.0-rc2 while backfire is at 0.9.23 (stable) Aug 16 21:21:05 maybe if pulseaudio-1.0 becomes stable before backfire is released, but we'll see Aug 16 21:22:09 ok Aug 16 21:44:43 jogo * r28021 /trunk/target/linux/generic/patches-3.1/ (4 files): kernel: generic: refresh patches for 3.1-rc2 Aug 16 22:06:38 hauke * r28022 /trunk/ (12 files in 11 dirs): kernel: update kernel to version 2.6.39.4 Aug 16 22:12:51 cshore * r28023 /packages/utils/boxbackup/ (7 files in 2 dirs): [packages] utils/boxbackup: Added boxbackup. Currently only the server is fully integrated (init script and uci), but it compiles and the server works. **** ENDING LOGGING AT Wed Aug 17 02:59:57 2011