2013-04-10 00:10 LunaVorax has quit [Ping timeout: 256 seconds] 2013-04-10 00:17 wolfspraul has joined #qi-hardware 2013-04-10 01:10 xiangfu has joined #qi-hardware 2013-04-10 01:11 baba has quit [Ping timeout: 256 seconds] 2013-04-10 01:27 baba has joined #qi-hardware 2013-04-10 01:39 xiangfu has quit [Ping timeout: 276 seconds] 2013-04-10 02:12 guanucoluis has joined #qi-hardware 2013-04-10 02:25 wej has quit [Ping timeout: 248 seconds] 2013-04-10 02:30 wej has joined #qi-hardware 2013-04-10 02:45 xiangfu has joined #qi-hardware 2013-04-10 03:03 DocScrutinizer05 has quit [Disconnected by services] 2013-04-10 03:03 DocScrutinizer06 has joined #qi-hardware 2013-04-10 03:03 DocScrutinizer06 is now known as DocScrutinizer05 2013-04-10 03:39 panda|x201 has joined #qi-hardware 2013-04-10 03:57 emeb has quit [Quit: Leaving.] 2013-04-10 04:14 guanucoluis has quit [Ping timeout: 252 seconds] 2013-04-10 04:36 unclouded has joined #qi-hardware 2013-04-10 04:56 xiangfu has quit [Ping timeout: 252 seconds] 2013-04-10 05:07 xiangfu has joined #qi-hardware 2013-04-10 05:22 abetusk has quit [Quit: Leaving] 2013-04-10 05:28 pcercuei has quit [Quit: dodo] 2013-04-10 05:28 xiangfu has quit [Ping timeout: 255 seconds] 2013-04-10 05:39 xiangfu has joined #qi-hardware 2013-04-10 05:54 wolfspraul has quit [Quit: leaving] 2013-04-10 05:59 methril has quit [Quit: Leaving] 2013-04-10 06:09 Jay7x has quit [Ping timeout: 252 seconds] 2013-04-10 06:37 jluis has joined #qi-hardware 2013-04-10 06:51 wolfspraul has joined #qi-hardware 2013-04-10 07:43 panda|x201 has quit [Ping timeout: 252 seconds] 2013-04-10 08:03 LunaVorax has joined #qi-hardware 2013-04-10 08:13 let's see what happens if i set kseg0 to write-through ... 2013-04-10 08:15 kernel gets a little slower. good so far. now let's try IO ... 2013-04-10 08:17 hmm, 10% out of 50% possible speedup. kinda disappointing :-( 2013-04-10 08:18 crazy measures should have a more satisfying return 2013-04-10 08:49 wolfspraul has quit [Quit: leaving] 2013-04-10 09:10 megha has joined #qi-hardware 2013-04-10 09:11 porchao has quit [Read error: Connection reset by peer] 2013-04-10 09:12 baba has quit [Ping timeout: 264 seconds] 2013-04-10 09:19 jow_lapt1p is now known as jow_laptop 2013-04-10 09:29 mirko_ is now known as mirko 2013-04-10 09:51 porchao has joined #qi-hardware 2013-04-10 09:57 xiangfu has quit [Ping timeout: 245 seconds] 2013-04-10 09:58 Vote for wpwrak :) 2013-04-10 09:59 grrrr 2013-04-10 09:59 canada post can't seem to distinguish russia and uk 2013-04-10 09:59 porchao has quit [Read error: Connection reset by peer] 2013-04-10 10:00 porchao has joined #qi-hardware 2013-04-10 10:06 LunaVorax has quit [Remote host closed the connection] 2013-04-10 10:38 I can understand when they mix up austria and australia, but how do you get the uk and russia confused? 2013-04-10 10:39 http://www.canadapost.ca/cpotools/apps/track/personal/findByTrackNumber?execution=e1s1 304599176765 2013-04-10 10:39 I have *no idea* 2013-04-10 10:58 whitequark: uk for ukraine, or for united kingdom? 2013-04-10 10:59 viric: united kingdom 2013-04-10 10:59 UK = United Kingdom = Royaume-Uni = RU = Russia 2013-04-10 11:00 could be that? 2013-04-10 11:00 ... 2013-04-10 11:01 It's very usual to shorten Royaume-Uni to RU, (same in Catalan; Regne Unit = RU) 2013-04-10 11:02 and then you have UK for Ukraine too 2013-04-10 11:02 not that difficult to mix up :) 2013-04-10 11:03 ... indeed. 2013-04-10 11:03 did you write RU in your address field? 2013-04-10 11:04 wolfspraul has joined #qi-hardware 2013-04-10 11:04 larsc: it was "Russia". 2013-04-10 11:04 Russia is harder to mix up 2013-04-10 11:04 not impossible evidently :/ 2013-04-10 11:05 * whitequark has run sloccount on gcc sources 2013-04-10 11:05 but at least they can't say its your fault 2013-04-10 11:05 2848901 gcc ansic=1727123,ada=738502,cpp=247495,f90=85207,exp=16009, objc=14691,fortran=9895,ml=3007,sh=2446,awk=1880,pascal=1005,perl=913,asm=416,lex=200,haskell=112 2013-04-10 11:06 larsc: indeed. 2013-04-10 11:08 omg, the C lexer is... really really simple 2013-04-10 11:09 that put C in a quite safe position, among programming languages 2013-04-10 11:09 also, I wonder if anyone could explain the rationale of this: 2013-04-10 11:09 /* Print GENERIC declaration (functions, variables, types) trees coming from the C and C++ front-ends as well as macros in Ada syntax. 2013-04-10 11:10 in the gcc-4.8.0/gcc/c-family/c-ada-spec.c. 2013-04-10 11:11 ... utf-32 string literals? 2013-04-10 11:11 ok let's not stare into the abyss any longer. 2013-04-10 11:12 Jay7 has joined #qi-hardware 2013-04-10 11:15 xdpirate has quit [Quit: http://gamelauncher.pvpsucks.com/] 2013-04-10 11:15 better quite before it stares back into you? 2013-04-10 11:16 larsc: yes. 2013-04-10 11:16 * whitequark shudders at the very thought of 7.3MLOC of GCC staring at him. 2013-04-10 11:17 :) 2013-04-10 11:17 there is something Lovecraftian about that. an ancient beast waking up from its eternal dream, only to cast a single stare and drive an innocent programmer on the verge of insanity 2013-04-10 11:29 xiangfu has joined #qi-hardware 2013-04-10 11:54 rz2k has joined #qi-hardware 2013-04-10 12:11 see, better hurry and lose your innocence. then you're safe :) 2013-04-10 12:16 I wonder what would constitute losing innocence in the context of GCC... 2013-04-10 12:16 (also https://pp.vk.me/c410422/v410422132/82c0/Yt400Y9QKN4.jpg) 2013-04-10 12:18 marvelous ! 2013-04-10 12:29 unclouded has quit [Ping timeout: 245 seconds] 2013-04-10 12:35 LunaVorax has joined #qi-hardware 2013-04-10 12:54 guanucoluis has joined #qi-hardware 2013-04-10 13:08 LunaVorax has quit [Ping timeout: 256 seconds] 2013-04-10 13:16 erikkugel has joined #qi-hardware 2013-04-10 13:20 LunaVorax has joined #qi-hardware 2013-04-10 13:20 erikkugel has quit [Read error: Connection reset by peer] 2013-04-10 13:21 erikkugel has joined #qi-hardware 2013-04-10 14:12 pcercuei has joined #qi-hardware 2013-04-10 14:16 omg. 2013-04-10 14:18 a polite postal worker (!) who, having seen an attached paper which stated a weight difference (0.9kg vs 0.6kg) asked me to check the contents and said she'll help with paperwork if something's actually was missing 2013-04-10 14:18 (!!) 2013-04-10 14:19 there are some nice people out there :) 2013-04-10 14:19 s/polite/fake/ ? :) 2013-04-10 14:19 wpwrak: haha 2013-04-10 14:20 also they did not lost the parcel despite me writing the wrong zipcode 2013-04-10 14:20 whitequark: you'll be on one of these hidden camera shows 2013-04-10 14:21 and, in a previous encounter with EMS (a subsidiary of the russian post), when I've had two parcels to receive and forgot to write the flat # on one of them, a courier who delivered the second one has remembered it and offered to redeliver 2013-04-10 14:22 I wonder if they're they still a government-sponsored organization? 2013-04-10 14:22 larsc: he should go easy on these mind-altering drugs, particularly the strong ones 2013-04-10 14:25 LunaVorax has quit [Ping timeout: 256 seconds] 2013-04-10 14:37 LunaVorax has joined #qi-hardware 2013-04-10 14:41 mth has quit [Ping timeout: 248 seconds] 2013-04-10 14:41 mth has joined #qi-hardware 2013-04-10 14:48 LunaVorax has quit [Ping timeout: 256 seconds] 2013-04-10 14:48 Calyp has joined #qi-hardware 2013-04-10 14:57 xiangfu has quit [Quit: leaving] 2013-04-10 15:00 LunaVorax has joined #qi-hardware 2013-04-10 15:14 panda|x201 has joined #qi-hardware 2013-04-10 15:22 huh, 2/3 of connections are suddenly ECONNREFUSED. not sure if just crappy connection or malfunctioning censorship engine 2013-04-10 15:22 regardless, openvpn solves this :) 2013-04-10 15:49 Calyp has quit [Read error: Connection reset by peer] 2013-04-10 15:55 Calyp has joined #qi-hardware 2013-04-10 15:56 LunaVorax has quit [Ping timeout: 256 seconds] 2013-04-10 15:58 wej has quit [Ping timeout: 245 seconds] 2013-04-10 16:01 panda|x201 has quit [Ping timeout: 260 seconds] 2013-04-10 16:01 jluis has quit [Ping timeout: 245 seconds] 2013-04-10 16:03 wej has joined #qi-hardware 2013-04-10 16:08 LunaVorax has joined #qi-hardware 2013-04-10 16:16 pcercuei_ has joined #qi-hardware 2013-04-10 16:17 kyak has quit [Read error: Connection reset by peer] 2013-04-10 16:19 pcercuei has quit [Ping timeout: 252 seconds] 2013-04-10 16:30 kyak has joined #qi-hardware 2013-04-10 16:30 kyak has quit [Changing host] 2013-04-10 16:30 kyak has joined #qi-hardware 2013-04-10 16:30 emeb has joined #qi-hardware 2013-04-10 16:32 meh 2013-04-10 16:32 UBI error: ubi_read_volume_table: the layout volume was not found 2013-04-10 16:37 LunaVorax has quit [Ping timeout: 256 seconds] 2013-04-10 16:39 oh the new qemu added a NAND to the default mips board 2013-04-10 16:40 Creating 3 MTD partitions on "physmap-flash.0": 2013-04-10 16:40 0x000000100000-0x0000003e0000 : "User FS" 2013-04-10 16:40 0x0000003e0000-0x000000400000 : "Board Config" 2013-04-10 16:40 0x000000000000-0x000000100000 : "YAMON" 2013-04-10 16:46 pcercuei_ is now known as pcercuei 2013-04-10 16:50 LunaVorax has joined #qi-hardware 2013-04-10 17:11 security has joined #qi-hardware 2013-04-10 17:12 megha has quit [Ping timeout: 276 seconds] 2013-04-10 17:12 security is now known as megha 2013-04-10 17:24 wpwrak: spi-gpio-atben and spi_atben_gpio - i'm already lost :) 2013-04-10 17:25 btw is there a naming convention for kernel modules at all? 2013-04-10 17:28 LunaVorax has quit [Ping timeout: 256 seconds] 2013-04-10 17:31 for some 2013-04-10 17:32 e.g. some subsystems use a common prefix 2013-04-10 17:32 like i2c-foobar 2013-04-10 17:37 kyak: yeah, it's a little messy :) also, spi_atben is somewhat correct because it implements a SPI driver, but then spi_atben_gpio only puts things together 2013-04-10 17:38 kyak: but i think spi_atben can die now. it was the very first one i wrote. 2013-04-10 17:38 and spi_atben_gpio needs a less confusing name 2013-04-10 17:38 spi-* are all real SPI drivers 2013-04-10 17:41 is there a chance atben and atusb drivers will be accepted by upstream? 2013-04-10 17:42 is it even something you want to do, or we don't really care? 2013-04-10 17:42 lekernel has joined #qi-hardware 2013-04-10 17:45 oh, i want them upstream. i don't expect undue difficulties. just need a bit more testing. 2013-04-10 17:46 and atben has a bunch of at86rf230.c fixes it semi-depends on as well (as in "i already know it'll crash and burn before long if they're not there"). they sould probably go in first. 2013-04-10 17:47 cool :) 2013-04-10 17:52 of course, atben has the added issue that some things are missing in mainline for proper ben support. i do my development on a board without lcd, so i just applied the two patches i need to get at least that far. but that kernel probably has no lcd. and it also doesn't have USB. 2013-04-10 17:53 (i flash directly via usb-boot, which is very easy if you have idbg) 2013-04-10 17:53 (and can of course be the mother of all nightmares if you don't :) 2013-04-10 17:56 do you mean that your driver might affect USB? 2013-04-10 17:59 no, but the net-next kernel doesn't have the patch for the jz4740's USB device. so anything you build from that source will be a somewhat limited ben. 2013-04-10 17:59 not sure where that driver is in the pipeline, if it's on the way into mainline at all 2013-04-10 18:00 ok, now i understood :) 2013-04-10 18:01 though i thought that most of the patches went upstream 2013-04-10 18:01 except for partitions maybe 2013-04-10 18:26 maybe it's somewhere in a tree that hasn't been merged yet. we have quite a number of patches in the qi-gw owrt repository that aren't in mainline. e.g., several NAND performance improvements. 2013-04-10 18:30 LunaVorax has joined #qi-hardware 2013-04-10 18:36 lekernel has quit [Quit: Leaving] 2013-04-10 18:54 hmm 2013-04-10 18:55 how can I stop a blocking read() call from a different thread? 2013-04-10 19:52 kill the thread 2013-04-10 19:53 or send any other signal 2013-04-10 19:53 well, I tried that :) 2013-04-10 19:53 pthread_kill(thd, SIGTERM) 2013-04-10 19:53 doesn't stop the read() call :( 2013-04-10 19:54 it should, at least if the signal is not blocked 2013-04-10 19:54 well, SIGTERM should never be blocked, no? 2013-04-10 19:55 SIGKILL is unblockable 2013-04-10 19:55 SIGTERM is just like any other signal 2013-04-10 19:55 hmmm 2013-04-10 19:55 ok 2013-04-10 19:56 it's also possible that your backend does a non-interruptible sleep 2013-04-10 19:56 so I believe I just have to use sigaction()? 2013-04-10 19:56 probably 2013-04-10 19:57 or you just use poll and friends 2013-04-10 19:58 polling would be a bit... dirty 2013-04-10 19:59 no, poll() 2013-04-10 19:59 a.k.a select() 2013-04-10 20:06 larsc: sigaction() does affect the whole process, not only a thread 2013-04-10 20:07 pcercuei: I think you can close the fd 2013-04-10 20:08 viric: oh, good idea 2013-04-10 20:08 that would probably work 2013-04-10 20:27 viric: doesn't work :( 2013-04-10 20:28 calling close() on the file descriptor doesn't stop the read() 2013-04-10 20:29 what are you reading on? 2013-04-10 20:30 a file descriptor obtained with inotify_init() 2013-04-10 20:30 hm ok 2013-04-10 20:30 then I'm with lars 2013-04-10 20:30 select or signal 2013-04-10 20:32 according to the code inotify_read is interruptible 2013-04-10 20:39 that's why I don't understand why I can't interrupt it ;) 2013-04-10 20:40 interruptible means that on a signal it will unblock, no? 2013-04-10 20:40 maybe you have set SA_RESTART for SIGTERM ? 2013-04-10 20:41 well, my code doesn't set it 2013-04-10 20:41 ok 2013-04-10 20:43 I never understood how threads and signals cope together though 2013-04-10 20:46 unclouded has joined #qi-hardware 2013-04-10 21:07 rz2k has quit [] 2013-04-10 21:14 wpwrak: be careful if you ever want to buy a poodle 2013-04-10 21:14 http://news.yahoo.com/blogs/sideshow/ferret-poodle-argentina-125901615.html 2013-04-10 21:23 bwahaa. of course, he deserves it for buying at La Salada, the XXL market for fences (german "Hehler") and scammers. 2013-04-10 21:57 guanucoluis has quit [Ping timeout: 256 seconds] 2013-04-10 21:59 Calyp has quit [Quit: gone working on freeconomy =o)] 2013-04-10 22:34 guanucoluis has joined #qi-hardware 2013-04-10 22:58 wej has quit [Read error: Connection reset by peer] 2013-04-10 22:59 wolfspraul has quit [Ping timeout: 264 seconds] 2013-04-10 23:19 erikkugel has left #qi-hardware [#qi-hardware] 2013-04-10 23:27 LunaVorax has quit [Remote host closed the connection]