2012-06-18 00:04 whitequa1k has joined #qi-hardware 2012-06-18 00:05 whitequark has quit [Ping timeout: 264 seconds] 2012-06-18 00:23 cladamw has joined #qi-hardware 2012-06-18 00:34 xiangfu has joined #qi-hardware 2012-06-18 00:46 rejon has quit [Ping timeout: 245 seconds] 2012-06-18 00:47 do you know how can I grep the output of a program, if that program writes on a single line? 2012-06-18 00:48 it writes a progression, and everytime I gain 1%, the line is deleted an rewritten 2012-06-18 00:54 tr \015 \012 ? (or whatever the program uses to delete the line) 2012-06-18 00:54 note that you still may have problems with stdout buffering 2012-06-18 00:56 (and the exact command syntax would be tr '\015' '\012' for the bourne shell) 2012-06-18 00:57 wow! 2012-06-18 00:57 thank you! 2012-06-18 00:59 was a pleasure :) 2012-06-18 01:00 yes, I have problems with stdout buffering :( 2012-06-18 01:02 that's hard to fix 2012-06-18 01:03 (I'm trying to add a progression bar to wodim using zenity) 2012-06-18 01:04 you could try running it under script -f then tail -t | tr ... 2012-06-18 01:04 whatever wodim and zenity are ;-) 2012-06-18 01:07 zenity is great 2012-06-18 01:08 (cmdline gfx toolkit) 2012-06-18 01:08 the progress bar is a itsy bit tricky to handle though 2012-06-18 01:09 wpwrak, Would it be better to generate *.mod under kicad-lib\modules or localproject\modules ? 2012-06-18 01:13 http://library.gnome.org/users/zenity/3.2/zenity.html#zenity-progress-options 2012-06-18 01:16 Openfree` has quit [Remote host closed the connection] 2012-06-18 01:19 Openfree` has joined #qi-hardware 2012-06-18 01:19 (ben USB inrush) no, an inductor is definitely not the solution 2012-06-18 01:20 you'll want a switch with current limiter and/or softstart. I.E. a mosfet 2012-06-18 01:20 new question: 2012-06-18 01:21 is there a command to add/multiply numbers from command line? 2012-06-18 01:21 yes 2012-06-18 01:21 $(( )) 2012-06-18 01:22 echo $(( 3 * 5 + 8 )) 2012-06-18 01:22 inside braces you don't need $ to expand env vars 2012-06-18 01:23 three=3; five=5; echo $(( three * five )) 2012-06-18 01:23 possibly a bashism though, dunno 2012-06-18 01:25 nope, seems to work on messybox as well 2012-06-18 01:27 also: echo $(( 0x20 )) -> 32 2012-06-18 01:27 can I do something like this: 2012-06-18 01:27 echo '$(( 2 + 2 ))' | echo 2012-06-18 01:27 I have a command that returns the '$(( 2 + 2 ))' string 2012-06-18 01:27 echo | echo doesn't make sense 2012-06-18 01:28 well, that's an example here 2012-06-18 01:28 I have a sed command that returns two numbers, on which I'd like to make a percentage 2012-06-18 01:28 and you don't want to execute the result of 2+2 as a command 2012-06-18 01:30 something like echo $(( $(date +%s) / 1000 )) ? 2012-06-18 01:32 echo $(( $(date +%s) % 60 )) 2012-06-18 01:35 whitequa1k: sounds like slashdot material 2012-06-18 01:37 whitequa1k: I guess the osmocom folks would be very interested in your findings, SGSII is a pretty common smartphone 2012-06-18 01:37 heheh 2012-06-18 01:37 I found it 2012-06-18 01:37 echo "expr 2 \* 3" | bash 2012-06-18 01:38 I can return "expr 2 \* 3" on my sed command, and bash will execute the call 2012-06-18 01:47 wej has quit [Ping timeout: 248 seconds] 2012-06-18 01:48 eval "expr 2 \* 3" 2012-06-18 01:50 though I don't get it why you need to pass thru the "expr" from anywhere inside sed 2012-06-18 01:50 interesting i got "hole (line 63) not completely inside pad "3" (line 67)" when run fped on http://projects.qi-hardware.com/index.php/p/kicad-libs/source/tree/master/modules/dcjack.fpd 2012-06-18 01:52 wej has joined #qi-hardware 2012-06-18 01:55 echo $(( $(sed 's/.*/2 * 7/;q' /dev/urandom) )) 2012-06-18 02:05 $WODIM dev=$BURNER speed=$SPEED -v -dummy -pad -xa -eject $TMP_IMAGE2 \ 2012-06-18 02:05 | stdbuf -o0 tr '\015' '\012' \ 2012-06-18 02:05 | stdbuf -o0 grep 'written' \ 2012-06-18 02:05 | stdbuf -o0 sed -u 's/^Track\ [0-9]\+: \+\([0-9]\+\) of \+\([0-9]\+\).*$/expr \1 \\\* 100 \/ \2/' \ 2012-06-18 02:06 | bash | zenity --progress --auto-close --title="$WTITLE" --text="Burning second data session..." 2012-06-18 02:06 now it works ;) 2012-06-18 02:07 gdm has joined #qi-hardware 2012-06-18 02:13 xiangfu has quit [Ping timeout: 260 seconds] 2012-06-18 02:20 [commit] Adam Wang: dcjack.fpd: fixed "hole (line 63) not completely inside pad "3" (line 67)" (master) http://qi-hw.com/p/kicad-libs/667f6c9 2012-06-18 02:28 Ayla has quit [Quit: dodo] 2012-06-18 02:31 xiangfu has joined #qi-hardware 2012-06-18 02:38 xiangfu has quit [Ping timeout: 265 seconds] 2012-06-18 02:41 cladamw has quit [Quit: Ex-Chat] 2012-06-18 02:42 cladamw has joined #qi-hardware 2012-06-18 02:45 compcube has quit [Quit: Leaving] 2012-06-18 02:51 xiangfu has joined #qi-hardware 2012-06-18 02:52 rejon has joined #qi-hardware 2012-06-18 02:57 cladamw has quit [Quit: Ex-Chat] 2012-06-18 03:01 [commit] Xiangfu: config.full_system include kmod-ipv6 (master) http://qi-hw.com/p/openwrt-packages/009fea8 2012-06-18 03:35 rejon has quit [Ping timeout: 255 seconds] 2012-06-18 03:36 cladamw has joined #qi-hardware 2012-06-18 03:36 rejon has joined #qi-hardware 2012-06-18 03:38 wpwrak, i sometimes got "Deleted stale lock file 'home/adam/pcbnew-adam' when opening Pcbnew, what could cause it ? 2012-06-18 03:41 cladamw has quit [Quit: Ex-Chat] 2012-06-18 03:44 cladamw has joined #qi-hardware 2012-06-18 03:52 cladamw has quit [Quit: Ex-Chat] 2012-06-18 03:52 emeb has joined #qi-hardware 2012-06-18 03:53 rejon has quit [Ping timeout: 252 seconds] 2012-06-18 04:06 rejon has joined #qi-hardware 2012-06-18 04:14 Textmode has quit [Quit: Ex-Chat] 2012-06-18 04:28 jekhor has joined #qi-hardware 2012-06-18 04:33 [commit] Xiangfu: urjtag: disable python bindings (master) http://qi-hw.com/p/openwrt-packages/ee4c2af 2012-06-18 05:17 emeb has quit [Quit: Leaving.] 2012-06-18 05:20 cladamw has joined #qi-hardware 2012-06-18 05:24 jekhor has quit [Ping timeout: 276 seconds] 2012-06-18 05:24 jekhor has joined #qi-hardware 2012-06-18 05:31 cladamw: you get that when you didn't quit pcbnew "cleanly" before 2012-06-18 05:31 normally, this is no cause for concern 2012-06-18 05:32 wpwrak, okay. 2012-06-18 05:34 wpwrak, and I see threre's no list match in CvPcb for labsw. Why? but I saw Xue did. ... ? 2012-06-18 05:45 rejon has quit [Ping timeout: 244 seconds] 2012-06-18 05:46 rejon has joined #qi-hardware 2012-06-18 05:58 list match ? there's labsw.cmp, so the footprints are defined 2012-06-18 06:11 mmm .... i should have said why labsw didn't have *.net ? 2012-06-18 06:13 oh, because you can generate .net from the other files 2012-06-18 06:15 what files are they ? 2012-06-18 06:16 so does this mean you edited directly labsw.cmp by yourself ? not by CvPcb itself ? 2012-06-18 06:18 the inputs are .pro, *.sch, and .cmp. you just start eeschema and make the netlist. then cvpcb should show everything correctly 2012-06-18 06:18 well, except if there were incompatible changes in kicad-libs. that may have happened 2012-06-18 06:19 i created .cmp using cvpcb. made the netlist, then started cvpcn and associated the footprints 2012-06-18 06:21 so two directions can be work ? one from Eeschema to generate Netlist then using CvPcb to generate .cmp 2012-06-18 06:23 and another way is from .cmp then generate .net(like yours) 2012-06-18 06:23 eeschema uses the information from .cmp when generating .net. yes 2012-06-18 06:23 and cvpcb updates the .net file 2012-06-18 06:24 grmbl. to get about 1 kB of optimized SHA-1 code, there are 130+ MB of bzr to download ... (for AVR, avrcryptolib) 2012-06-18 06:25 wpwrak, okay. I need to give a try. :-) 2012-06-18 06:50 jekhor has quit [Ping timeout: 256 seconds] 2012-06-18 07:24 Jay7 has quit [Read error: Connection reset by peer] 2012-06-18 07:28 kristoffer has joined #qi-hardware 2012-06-18 08:19 jluis has quit [Ping timeout: 252 seconds] 2012-06-18 08:20 jluis has joined #qi-hardware 2012-06-18 08:28 jluis has quit [Ping timeout: 246 seconds] 2012-06-18 08:35 dandon has quit [Quit: .] 2012-06-18 08:48 [commit] Adam Wang: Makefile: added necessary fpd filename to generate mod file (master) http://qi-hw.com/p/kicad-libs/dd2c1a9 2012-06-18 08:56 lekernel_ has joined #qi-hardware 2012-06-18 08:56 lekernel has quit [Ping timeout: 246 seconds] 2012-06-18 09:04 lekernel_ is now known as lekernel 2012-06-18 09:05 jivs_ has joined #qi-hardware 2012-06-18 09:27 nice. 202 footprints in 16 .mod files :) 2012-06-18 09:27 err, 46 .mod files 2012-06-18 10:01 [commit] Adam Wang: ledsmd.fpd: fixed polarized marker (master) http://qi-hw.com/p/kicad-libs/7be9efc 2012-06-18 10:04 wpwrak, i'm working on linking components/footprints for m1.cmp , meanwhile checking if the footprint have clear mistakes, then just found one. :( 2012-06-18 10:05 and the 'make' can auto check a fpd changed, It's good. just make. 2012-06-18 10:10 rejon has quit [Ping timeout: 265 seconds] 2012-06-18 10:15 phirsch has quit [Ping timeout: 252 seconds] 2012-06-18 10:16 phirsch has joined #qi-hardware 2012-06-18 10:22 wej has quit [Ping timeout: 272 seconds] 2012-06-18 10:26 wej has joined #qi-hardware 2012-06-18 10:44 cladamw has quit [Quit: Ex-Chat] 2012-06-18 11:12 pabs3: thanks 2012-06-18 11:21 Ayla has joined #qi-hardware 2012-06-18 11:25 lekernel has quit [Remote host closed the connection] 2012-06-18 11:26 Ayla has quit [Ping timeout: 246 seconds] 2012-06-18 11:28 Ayla has joined #qi-hardware 2012-06-18 11:28 The build was successful: http://fidelio.qi-hardware.com/~xiangfu/build-nanonote/openwrt-xburst.minimal-20120616-1605 2012-06-18 11:57 wej has quit [Ping timeout: 248 seconds] 2012-06-18 11:58 cladamw has joined #qi-hardware 2012-06-18 12:03 wej has joined #qi-hardware 2012-06-18 12:26 [commit] Xiangfu: urjtag: compile fine with disable inb outb (master) http://qi-hw.com/p/openwrt-packages/67ac56b 2012-06-18 12:37 cladamw: lemme port the PDF generator for footprints, so that we can have a catalog, too 2012-06-18 12:39 wpwrak, alright, sounds good. that way can be good to search. 2012-06-18 12:40 wpwrak, when i am doing 'match' work , it's a boring work to match since my brand memory doesn't good enough to recall. So I still open Fped to see their shapes. :(:-) 2012-06-18 12:43 yeah, we need better names 2012-06-18 12:43 if you go beyond thing like 0603 or QFN32, it gets difficult very quickly 2012-06-18 12:44 it would also make sense to have list of all the parts we know, with recommended footprint and recommended symbol 2012-06-18 12:45 e.g., YAGEO R123XYZ456 R 0603 2012-06-18 12:45 then we could feed this data in to kicad, to make things a little easier 2012-06-18 12:48 DocScrutinizer has quit [Ping timeout: 244 seconds] 2012-06-18 12:48 DocScrutinizer05 has quit [Ping timeout: 240 seconds] 2012-06-18 12:49 DocScrutinizer05 has joined #qi-hardware 2012-06-18 12:49 DocScrutinizer has joined #qi-hardware 2012-06-18 12:57 yes, btw, since I had have wiki page with package, it's okay, but it's better to edit such data filled in sch's field. :-) 2012-06-18 13:11 the more thing you don't have to look up manually, the better :) 2012-06-18 13:15 oh ~ yeah! 2012-06-18 13:28 jekhor has joined #qi-hardware 2012-06-18 13:32 cladamw has quit [Quit: Ex-Chat] 2012-06-18 13:33 antgreen has joined #qi-hardware 2012-06-18 13:36 dandon has joined #qi-hardware 2012-06-18 13:57 [commit] Xiangfu: urjtag : replace inb/outb with some simple define (master) http://qi-hw.com/p/openwrt-packages/927287f 2012-06-18 14:12 xiangfu has quit [Ping timeout: 246 seconds] 2012-06-18 14:23 xsb has joined #qi-hardware 2012-06-18 14:34 jekhor has quit [Ping timeout: 252 seconds] 2012-06-18 14:36 rejon has joined #qi-hardware 2012-06-18 14:41 larsc has quit [Ping timeout: 240 seconds] 2012-06-18 14:41 xsb has quit [Ping timeout: 246 seconds] 2012-06-18 14:51 jekhor has joined #qi-hardware 2012-06-18 14:53 xsb has joined #qi-hardware 2012-06-18 15:08 wej has quit [Ping timeout: 272 seconds] 2012-06-18 15:13 xsb has left #qi-hardware ["Leaving"] 2012-06-18 15:13 jluis_ has joined #qi-hardware 2012-06-18 15:13 antgreen has quit [Ping timeout: 245 seconds] 2012-06-18 15:14 jluis_ has quit [Client Quit] 2012-06-18 15:14 jluis_ has joined #qi-hardware 2012-06-18 15:18 wej has joined #qi-hardware 2012-06-18 15:21 jekhor has quit [Ping timeout: 276 seconds] 2012-06-18 15:26 jluis_ has quit [Quit: Me'n vaig] 2012-06-18 15:26 jluis_ has joined #qi-hardware 2012-06-18 15:26 jluis_ is now known as jluis 2012-06-18 15:34 jekhor has joined #qi-hardware 2012-06-18 15:36 emeb has joined #qi-hardware 2012-06-18 15:50 [commit] Xiangfu: urjtag: fix the liburjtag.so.* path (master) http://qi-hw.com/p/openwrt-packages/f2a7a0d 2012-06-18 15:51 xiangfu has joined #qi-hardware 2012-06-18 15:54 wej has quit [Ping timeout: 248 seconds] 2012-06-18 15:54 [commit] Xiangfu: xburst-tools, urjtag : add MAINTAINER (master) http://qi-hw.com/p/openwrt-packages/5fcb64c 2012-06-18 16:00 wej has joined #qi-hardware 2012-06-18 16:05 emeb has quit [Ping timeout: 276 seconds] 2012-06-18 16:17 B_Lizzard has joined #qi-hardware 2012-06-18 16:24 xiangfu has quit [Quit: Leaving] 2012-06-18 16:25 jivs_ has quit [Quit: Leaving] 2012-06-18 16:30 wej has quit [Ping timeout: 272 seconds] 2012-06-18 16:34 wej has joined #qi-hardware 2012-06-18 16:38 DocScrutinizer: extra fun 2012-06-18 16:38 the boot sequence of that xgold626 is as follows: bootrom -> psi -> ebl -> flash 2012-06-18 16:39 theoretically, it should use a flash rom (because the fw relocates itself to ram) 2012-06-18 16:39 samsung placed ram instead of the "flash rom" chip 2012-06-18 16:39 each time the phone starts, BP is "flashed" 2012-06-18 16:39 even more funny. 2012-06-18 16:39 neither psi nor ebl nor anything else in the chip checks integrity of anything 2012-06-18 16:40 after modifying a model name in the hex editor it still boots and works (makes calls) 2012-06-18 16:40 i want a datasheet for that chip. 2012-06-18 16:43 Samsung policy on tivoizing anything is best described as follows (real code): 2012-06-18 16:43 if(VerifyImage() != 0) returnError(); 2012-06-18 16:43 int VerifyImage(void) { return 0; }. 2012-06-18 16:44 lol 2012-06-18 16:48 I'm not really sure if it is good or bad 2012-06-18 16:48 on the one hand, they don't prevent _me_ from doing anything with that 2012-06-18 16:48 on the other one, they don't prevent anyone from doing anything with _my_ phone 2012-06-18 16:57 hihi 2012-06-18 17:10 jekhor has quit [Ping timeout: 246 seconds] 2012-06-18 17:15 Jay7 has joined #qi-hardware 2012-06-18 17:50 whitequa1k: seems your module has a STE chip :-D 2012-06-18 17:52 and yes, Samsung might not do much tivoizing 2012-06-18 17:52 SG advanced and SGS2 seem to have STE too 2012-06-18 17:58 occam has joined #qi-hardware 2012-06-18 18:57 _whitelogger has joined #qi-hardware