2014-10-14 00:14 wej_ has quit [Ping timeout: 265 seconds] 2014-10-14 00:27 wej has joined #qi-hardware 2014-10-14 01:23 atommann has joined #qi-hardware 2014-10-14 01:45 http://anonabox.com/home.html .. thoughts ? 2014-10-14 02:21 it's ... misrepresented at best 2014-10-14 02:21 there is a reason tor browser bundle exists. if you send all your usual cookies through tor, you are immediately identifying yourself 2014-10-14 02:21 in a way, it makes things worse by giving you a false sense of security 2014-10-14 02:45 eintopf: there are no known cases of ebola in argentina so far, and i'd be a rather unlikely candidate for becoming the first one ;-) 2014-10-14 02:47 mth_ has joined #qi-hardware 2014-10-14 02:47 but it's the long columbus day weekend in the americas. well, columbus day for those of european heritage, "day of cultural diversity" (or such) for those who trace back their origin to natives 2014-10-14 02:49 uwe_ has joined #qi-hardware 2014-10-14 02:49 kanzure_ has joined #qi-hardware 2014-10-14 02:49 mithro_ has joined #qi-hardware 2014-10-14 02:50 luke-jr_ has joined #qi-hardware 2014-10-14 02:52 panda|z has joined #qi-hardware 2014-10-14 02:54 uwe__ has quit [*.net *.split] 2014-10-14 02:54 mithro has quit [*.net *.split] 2014-10-14 02:54 jluis has quit [*.net *.split] 2014-10-14 02:54 Luke-Jr has quit [*.net *.split] 2014-10-14 02:54 whitequark has quit [*.net *.split] 2014-10-14 02:54 unclouded has quit [*.net *.split] 2014-10-14 02:54 kanzure has quit [*.net *.split] 2014-10-14 02:54 mth has quit [*.net *.split] 2014-10-14 02:54 panda| has quit [*.net *.split] 2014-10-14 02:54 mithro_ is now known as mithro 2014-10-14 02:59 luke-jr_ is now known as Luke-Jr 2014-10-14 03:04 jluis has joined #qi-hardware 2014-10-14 03:05 whitequark has joined #qi-hardware 2014-10-14 03:07 unclouded has joined #qi-hardware 2014-10-14 04:56 wolfspraul has quit [Ping timeout: 250 seconds] 2014-10-14 05:40 nicksydney has quit [*.net *.split] 2014-10-14 05:40 dos1 has quit [*.net *.split] 2014-10-14 05:40 qi-bot has quit [*.net *.split] 2014-10-14 05:43 Coyo has quit [Ping timeout: 260 seconds] 2014-10-14 05:44 Coyo has joined #qi-hardware 2014-10-14 05:46 nicksydney has joined #qi-hardware 2014-10-14 05:46 qi-bot has joined #qi-hardware 2014-10-14 05:46 dos1 has joined #qi-hardware 2014-10-14 06:21 fmeerkoetter has joined #qi-hardware 2014-10-14 06:26 fmeerkoetter has quit [Ping timeout: 250 seconds] 2014-10-14 06:37 wolfspraul has joined #qi-hardware 2014-10-14 07:28 fmeerkoetter has joined #qi-hardware 2014-10-14 08:24 fmeerkoetter has quit [Ping timeout: 250 seconds] 2014-10-14 08:47 fmeerkoetter has joined #qi-hardware 2014-10-14 08:56 fmeerkoetter has quit [Ping timeout: 250 seconds] 2014-10-14 08:59 fmeerkoetter has joined #qi-hardware 2014-10-14 09:19 SyntaxTerror has joined #qi-hardware 2014-10-14 09:40 SyntaxTerror has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…] 2014-10-14 10:36 wej has quit [Read error: Connection reset by peer] 2014-10-14 10:37 wej has joined #qi-hardware 2014-10-14 10:42 valhalla has quit [Ping timeout: 240 seconds] 2014-10-14 10:43 valhalla has joined #qi-hardware 2014-10-14 10:51 atommann has quit [Ping timeout: 245 seconds] 2014-10-14 11:09 wpwrak: happy columbus day! 2014-10-14 11:18 SyntaxTerror has joined #qi-hardware 2014-10-14 11:18 anyone around? 2014-10-14 11:18 about my quick and dirty approach to talk to PPSU (/dev/ttyUSB0): it has a downside of creating "-rw-r--r-- 1 root root 5 Oct 14 13:12 /dev/ttyUSB0" when the PPSU is not properly enumerated ;-) 2014-10-14 11:21 wondered why stuff suddenly fails, after I disconnected (and disassembled) the PPSU. Then I noticed this: 2014-10-14 11:21 saturn:~ # ll /dev/ttyUSB* 2014-10-14 11:21 -rw-r--r-- 1 root root 5 Oct 14 13:12 /dev/ttyUSB0 2014-10-14 11:21 crw-rw---- 1 root dialout 188, 1 Oct 14 13:12 /dev/ttyUSB1 2014-10-14 11:24 surprisingly, there doesn't even seem to be a redirect in bash that gives you write access without also implying O_CREAT. maybe i just didn't find it, or you have to use zsh or such ;-)) 2014-10-14 11:36 SyntaxTerror has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…] 2014-10-14 11:45 wpwrak: might be related to permissions of parent dir. But maybe you can help me out how to check *programmaticaly* in shell script if a file is a character special device file? 2014-10-14 11:46 you can use "test". (man test / help test) 2014-10-14 11:46 ooh, and about create vs write: it's about >> and some parameter 2014-10-14 11:46 aaah test, that's been it, thanks 2014-10-14 11:46 but ... this still has a race condition: if the USB device disappears between test and >... access, you still get a new file 2014-10-14 11:47 sure 2014-10-14 11:47 and yes, you can prevent creation with permissions 2014-10-14 11:48 a bit fragile, though. but as a just-for-joerg-at-home solution, why not. 2014-10-14 11:50 parameter = noclobber 2014-10-14 11:52 noclobber should still create it if it doesn't exist 2014-10-14 11:53 err, I'm pretty sure it's meant to fail when file does exist, for >. and to fail when file does not exist, for >> 2014-10-14 11:53 at least I'm sure I've read this somewhere 2014-10-14 11:54 -C 2014-10-14 11:54 If set, bash does not overwrite an existing file with the >, >&, and <> redirection operators. This may be overridden when creating output files by using the redirection operator >| instead of >. 2014-10-14 11:54 isn't what I recal it been 2014-10-14 11:54 it's missing the >> aspect 2014-10-14 11:57 maybe write a C program that opens argv[1] without O_CREAT, then forks your shell script with the fd number as first arg ? then you can do your stuff in shell with a properly set up fd 2014-10-14 11:58 well, or exec the shell. no fork needed if you want to optimize 2014-10-14 11:58 (C) or any other real language. plenty of choices ;) 2014-10-14 12:01 meh 2014-10-14 12:02 I'm hardly motivated at all to check for type and existence of ttyUSB0 2014-10-14 12:11 mth_ is now known as mth 2014-10-14 12:13 atommann has joined #qi-hardware 2014-10-14 12:23 all you want is get rid of the O_CREAT. well, you could also write a wrapper library that removes O_CREAT from calls that open something in /dev. that way, you don't need to change your application 2014-10-14 12:30 fmeerkoetter has quit [Quit: Konversation terminated!] 2014-10-14 12:34 SyntaxTerror has joined #qi-hardware 2014-10-14 12:35 wrapper library for systemcalls, I always search something like that to link other code to it 2014-10-14 12:36 for example, unstable closed source software and some watchdog which restarts the unstable software 2014-10-14 12:36 LD_PRELOAD is your friend :) 2014-10-14 12:36 wpwrak: yea, I know this, but for systemcalls? I want the normal behaviour 2014-10-14 12:37 so only some call open_wrapper, afterwards then it should call open(2) 2014-10-14 12:37 from libc 2014-10-14 12:38 wpwrak: this should possible? It's like torsocks 2014-10-14 12:38 torsocks is wrapper for socket, send, recv etc... 2014-10-14 12:39 to make everything via tor, otherwise you need always applications with SOCKSv5 proxy support 2014-10-14 12:39 sure. there ought to be some tutorials on the net. it used to be "deep wizardry", but now it's pretty well-established hackery 2014-10-14 12:39 and very important also wrapper for gethostbyname(2) 2014-10-14 12:39 mhh 2014-10-14 12:39 okay 2014-10-14 12:40 gethostbyname isn't a systemcall, yea 2014-10-14 12:40 that's something else, because readout also /etc/resolv.conf 2014-10-14 12:40 I think :/ 2014-10-14 12:41 wpwrak: okay, maybe when I have time I will create a library where people could add easily code for that 2014-10-14 12:41 libhack 2014-10-14 12:41 LD_PRELOAD is not limited to syscalls 2014-10-14 12:41 yep 2014-10-14 12:41 I know, at my university I compiled a second rootfs in $HOME/local 2014-10-14 12:42 because the pool environment is stupid 2014-10-14 12:42 they install libs and not dev debian packets 2014-10-14 12:42 and also, there was no autoconf and automake 2014-10-14 12:43 and then I make a: 2014-10-14 12:43 export LD_LIBRARY_PATH="$HOME/local/lib:$LD_LIBRARY_PATH" 2014-10-14 12:43 also for PKG_CONFIG_PATH 2014-10-14 12:44 and everything else 2014-10-14 12:44 my co-students want's always to know I can install new software on university pc's... 2014-10-14 12:44 but I told their "You don't wanna know that" 2014-10-14 12:44 because after system upgrade... I can recompile everything 2014-10-14 12:45 but I laugh always, because no autotools are installed 2014-10-14 12:45 I think the most people do java eclipse programming ;) 2014-10-14 12:46 so they don't need autotools (Oh yea I remember you name it autocrap) 2014-10-14 12:47 wpwrak: fvwm uses autocrap :P 2014-10-14 12:47 everything uses autocrap 2014-10-14 12:47 but the most weird buildsystem is the gcc buildsystem, never understand it 2014-10-14 12:47 (( all you want is get rid of the O_CREAT)) I hardly could care 2014-10-14 12:48 I first check if ttyUSB is of right type, then I open it for *reading* which will fail if the file doesn't exist 2014-10-14 12:49 ( cat /dev/ttyUSB& ) 2014-10-14 12:58 only then I'll open it for writing 2014-10-14 13:00 what annoys me much more is root permissions needed 2014-10-14 13:01 though prolly I should add user to dialout group 2014-10-14 13:01 arhuaco has quit [Remote host closed the connection] 2014-10-14 13:10 actually I probably should do a find /sys -path '*cp210x*ttyUSB*' 2014-10-14 13:11 the damn thing doesn't give away any hint that it's a PSU 2014-10-14 13:13 they simply added the USB<->RS232 on a separate PCB. Standard, in no way customized. And powered by USB even when PSU is unpowered 2014-10-14 13:14 that's why I never noticed before about the funny side effects of creating ttyUSB0 by my own script 2014-10-14 13:14 the device file only vanishes when unplugging USB 2014-10-14 13:16 http://privatepaste.com/462c28c138 2014-10-14 13:19 you actually need to tell system: "I'm going to plug in a PPSU, please consider next cp210x showing up on USB as Voltcraft PPS-161005!" 2014-10-14 13:20 s/161/16/ 2014-10-14 13:20 DocScrutinizer05 meant: "you actually need to tell system: "I'm going to plug in a PPSU, please consider next cp210x showing up on USB as Voltcraft PPS-16005!"" 2014-10-14 13:22 how would I rename a /dev/ttyUSB to some other more specific name? 2014-10-14 13:22 arhuaco has joined #qi-hardware 2014-10-14 13:23 a symlink won't help since it doesn't notice when the ttyUSB vanishes 2014-10-14 13:23 udev rule? 2014-10-14 13:23 prolly, yep. But I dunno how to rename in such rule 2014-10-14 13:24 wait, udev creates the device, to start with, right? 2014-10-14 13:26 yes 2014-10-14 13:26 also it's a tad nasty for a udev rule to go "interactive", i.e. wait answer (or check previously given command) of user, to declare next cp210x as PPSU 2014-10-14 13:26 udev does have a SYMLINK option, I presume it also cleans up the link at unplug then 2014-10-14 13:26 ummm, makes sense 2014-10-14 13:29 o/ 2014-10-14 13:33 SyntaxTerror has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…] 2014-10-14 13:42 in case someone missed the global notice: http://bit.ly/1z78rgQ 2014-10-14 13:50 very interesting is how this shit got into their servers in the first place 2014-10-14 14:45 wej_ has joined #qi-hardware 2014-10-14 14:48 wej has quit [Ping timeout: 265 seconds] 2014-10-14 15:00 SyntaxTerror has joined #qi-hardware 2014-10-14 15:03 Still looking to chat to someone about putting together a Tizen dev board for us with a specific screen & capacitive touch input size. Get in touch if you know someone, we have budget! 2014-10-14 15:03 DM or email me at: anthony@make-us-proud.com 2014-10-14 15:04 kyak: That's what I was looking for. No mention of it. 2014-10-14 15:28 sulky has joined #qi-hardware 2014-10-14 15:30 kanzure_ is now known as kanzure 2014-10-14 15:38 viric has quit [Ping timeout: 250 seconds] 2014-10-14 15:41 FDCX_ has joined #qi-hardware 2014-10-14 15:42 FDCX has quit [Ping timeout: 260 seconds] 2014-10-14 15:43 viric has joined #qi-hardware 2014-10-14 16:05 wej_ has quit [Ping timeout: 250 seconds] 2014-10-14 16:21 wej has joined #qi-hardware 2014-10-14 16:44 atommann has quit [Ping timeout: 240 seconds] 2014-10-14 16:58 arhuaco has quit [Ping timeout: 245 seconds] 2014-10-14 17:10 arhuaco has joined #qi-hardware 2014-10-14 17:29 SyntaxTerror, custom boards are easy with eoma-68, the the hard expencive bit the soc is taken care of so you can make a simple & cheep custom board with the lcd and touch driver and power supply on it that fits around the screen size you want and the eoma-68 card see rhombus-tech.net browse the sitemap and add your self to the mailing list and ask on there. while the website needs updating the project is moving forward 2014-10-14 17:30 and any money(orders) would help speed things up 2014-10-14 17:31 I belive some work has already been done with tizen on the a20 card 2014-10-14 17:35 @astr: thanks for the info! That looks like a neat bit of kit 2014-10-14 17:36 SyntaxTerror, crowdfunding is planing around nov~ 2014-10-14 18:05 arhuaco: [2014-10-14 Tue 19:02:40] http://bit.ly/1z78rgQ is there any info available to mere mortals yet on how this crap crept in? [2014-10-14 Tue 19:02:55] No more information is available 2014-10-14 18:21 SyntaxTerror has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…] 2014-10-14 18:23 astr has quit [Remote host closed the connection] 2014-10-14 18:27 astr has joined #qi-hardware 2014-10-14 19:00 wej has quit [Read error: Connection reset by peer] 2014-10-14 19:05 wej has joined #qi-hardware 2014-10-14 19:14 astr has quit [Ping timeout: 240 seconds] 2014-10-14 19:15 astr has joined #qi-hardware 2014-10-14 19:23 wej has quit [Read error: Connection reset by peer] 2014-10-14 19:27 wej has joined #qi-hardware 2014-10-14 19:44 SyntaxTerror has joined #qi-hardware 2014-10-14 19:45 wolfspraul has quit [Ping timeout: 255 seconds] 2014-10-14 19:57 wej_ has joined #qi-hardware 2014-10-14 20:00 wej has quit [Ping timeout: 265 seconds] 2014-10-14 20:15 DocScrutinizer05: In the last comment they say they do not know. Weird... 2014-10-14 20:29 methril has joined #qi-hardware 2014-10-14 21:29 methril has quit [Ping timeout: 260 seconds] 2014-10-14 21:29 methril has joined #qi-hardware 2014-10-14 21:57 wej has joined #qi-hardware 2014-10-14 22:00 wej_ has quit [Ping timeout: 250 seconds] 2014-10-14 22:17 SyntaxTerror has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…] 2014-10-14 22:38 methril has quit [Ping timeout: 272 seconds]