IRC log for #qi-hardware on 20120618

00:04.50*** join/#qi-hardware whitequa1k (~whitequar@2a00:ab00:1::4464:5550)
00:23.03*** join/#qi-hardware cladamw (~adamwang@host-65.78-43-115.dynamic.totalbb.net.tw)
00:34.31*** join/#qi-hardware xiangfu (~xiangfu@fidelio.qi-hardware.com)
00:47.39Aylado you know how can I grep the output of a program, if that program writes on a single line?
00:48.18Aylait writes a progression, and everytime I gain 1%, the line is deleted an rewritten
00:54.07wpwraktr \015 \012   ?  (or whatever the program uses to delete the line)
00:54.48wpwraknote that you still may have problems with stdout buffering
00:56.02wpwrak(and the exact command syntax would be  tr '\015' '\012'  for the bourne shell)
00:57.39Aylawow!
00:57.41Aylathank you!
00:59.04wpwrakwas a pleasure :)
01:00.43Aylayes, I have problems with stdout buffering :(
01:02.09wpwrakthat's hard to fix
01:03.45Ayla(I'm trying to add a progression bar to wodim using zenity)
01:04.00wpwrakyou could try running it under  script -f  then  tail -t | tr ...
01:04.44wpwrakwhatever wodim and zenity are ;-)
01:07.42DocScrutinizer05zenity is great
01:08.22DocScrutinizer05(cmdline gfx toolkit)
01:08.41DocScrutinizer05the progress bar is a itsy bit tricky to handle though
01:09.47cladamwwpwrak, Would it be better to generate *.mod under kicad-lib\modules or localproject\modules ?
01:13.04DocScrutinizer05http://library.gnome.org/users/zenity/3.2/zenity.html#zenity-progress-options
01:19.16*** join/#qi-hardware Openfree` (~Openfreer@116.228.88.131)
01:19.22DocScrutinizer05(ben USB inrush) no, an inductor is definitely not the solution
01:20.11DocScrutinizer05you'll want a switch with current limiter and/or softstart. I.E. a mosfet
01:20.37Aylanew question:
01:21.13Aylais there a command to add/multiply numbers from command line?
01:21.25DocScrutinizer05yes
01:21.32DocScrutinizer05$(( ))
01:22.04DocScrutinizer05echo $(( 3 * 5 + 8 ))
01:22.48DocScrutinizer05inside braces you don't need $ to expand env vars
01:23.28DocScrutinizer05three=3; five=5; echo $(( three * five ))
01:23.58DocScrutinizer05possibly a bashism though, dunno
01:25.13DocScrutinizer05nope, seems to work on messybox as well
01:27.08DocScrutinizer05also: echo $(( 0x20 )) -> 32
01:27.22Aylacan I do something like this:
01:27.38Aylaecho '$(( 2 + 2 ))' | echo
01:27.52AylaI have a command that returns the '$(( 2 + 2 ))' string
01:27.58DocScrutinizer05echo | echo doesn't make sense
01:28.09Aylawell, that's an example here
01:28.29AylaI have a sed command that returns two numbers, on which I'd like to make a percentage
01:28.30DocScrutinizer05and you don't want to execute the result of 2+2 as a command
01:30.59DocScrutinizer05something like echo $(( $(date +%s) / 1000 )) ?
01:33.01DocScrutinizer05echo $(( $(date +%s) % 60 ))
01:35.13pabs3whitequa1k: sounds like slashdot material
01:37.32pabs3whitequa1k: I guess the osmocom folks would be very interested in your findings, SGSII is a pretty common smartphone
01:37.51Aylaheheh
01:37.52AylaI found it
01:37.59Aylaecho "expr 2 \* 3" | bash
01:38.30AylaI can return "expr 2 \* 3" on my sed command, and bash will execute the call
01:48.53DocScrutinizer05eval "expr 2 \* 3"
01:50.24DocScrutinizer05though I don't get it why you need to pass thru the "expr" from anywhere inside sed
01:50.47cladamwinteresting 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
01:52.11*** join/#qi-hardware wej (~j@95.211.13.35)
01:55.55DocScrutinizer05echo $(( $(sed 's/.*/2 * 7/;q' /dev/urandom) ))
02:05.36Ayla$WODIM dev=$BURNER speed=$SPEED -v -dummy -pad -xa -eject $TMP_IMAGE2 \
02:05.41Ayla<PROTECTED>
02:05.49Ayla<PROTECTED>
02:05.58Ayla<PROTECTED>
02:06.06Ayla<PROTECTED>
02:06.22Aylanow it works ;)
02:07.34*** join/#qi-hardware gdm (~gdm@209.234.249.207)
02:20.57qi-bot[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
02:31.33*** join/#qi-hardware xiangfu (~xiangfu@125.34.162.231)
02:42.54*** join/#qi-hardware cladamw (~adamwang@host-65.78-43-115.dynamic.totalbb.net.tw)
02:51.59*** join/#qi-hardware xiangfu (~xiangfu@fidelio.qi-hardware.com)
02:52.57*** join/#qi-hardware rejon (~rejon@li408-40.members.linode.com)
03:01.27qi-bot[commit] Xiangfu: config.full_system include kmod-ipv6 (master) http://qi-hw.com/p/openwrt-packages/009fea8
03:36.03*** join/#qi-hardware cladamw (~adamwang@host-65.78-43-115.dynamic.totalbb.net.tw)
03:36.50*** join/#qi-hardware rejon (~rejon@li408-40.members.linode.com)
03:38.09cladamwwpwrak, i sometimes got "Deleted stale lock file 'home/adam/pcbnew-adam' when opening Pcbnew, what could cause it ?
03:44.12*** join/#qi-hardware cladamw (~adamwang@host-65.78-43-115.dynamic.totalbb.net.tw)
03:52.31*** join/#qi-hardware emeb (~ericb@12.68.180.146)
04:06.22*** join/#qi-hardware rejon (~rejon@li408-40.members.linode.com)
04:28.09*** join/#qi-hardware jekhor (~jek@46.53.195.29)
04:33.36qi-bot[commit] Xiangfu: urjtag: disable python bindings (master) http://qi-hw.com/p/openwrt-packages/ee4c2af
05:20.55*** join/#qi-hardware cladamw (~adamwang@host-65.78-43-115.dynamic.totalbb.net.tw)
05:24.18*** join/#qi-hardware jekhor (~jek@46.53.195.29)
05:31.24wpwrakcladamw: you get that when you didn't quit pcbnew "cleanly" before
05:31.51wpwraknormally, this is no cause for concern
05:32.38cladamwwpwrak, okay.
05:34.24cladamwwpwrak, and I see threre's no list match in CvPcb for labsw. Why? but I saw Xue did. ... ?
05:46.05*** join/#qi-hardware rejon (~rejon@li408-40.members.linode.com)
05:58.41wpwraklist match ? there's labsw.cmp, so the footprints are defined
06:11.40cladamwmmm .... i should have said why labsw didn't have *.net ?
06:13.04wpwrakoh, because you can generate .net from the other files
06:15.13cladamwwhat files are they ?
06:16.11cladamwso does this mean you edited directly labsw.cmp by yourself ? not by CvPcb itself ?
06:18.18wpwrakthe inputs are .pro, *.sch, and .cmp. you just start eeschema and make the netlist. then cvpcb should show everything correctly
06:18.43wpwrakwell, except if there were incompatible changes in kicad-libs. that may have happened
06:19.15wpwraki created .cmp using cvpcb. made the netlist, then started cvpcn and associated the footprints
06:21.58cladamwso two directions can be work ? one from Eeschema to generate Netlist then using CvPcb to generate .cmp
06:23.04cladamwand another way is from .cmp then generate .net(like yours)
06:23.34wpwrakeeschema uses the information from .cmp when generating .net. yes
06:23.51wpwrakand cvpcb updates the .net file
06:24.45wpwrakgrmbl. to get about 1 kB of optimized SHA-1 code, there are 130+ MB of bzr to download ... (for AVR, avrcryptolib)
06:25.05cladamwwpwrak, okay. I need to give a try. :-)
07:28.08*** join/#qi-hardware kristoffer (~kristoffe@c-6ddae555.010-30-6c6b7012.cust.bredbandsbolaget.se)
08:20.53*** join/#qi-hardware jluis (~jluis@32.Red-79-152-171.dynamicIP.rima-tde.net)
08:48.36qi-bot[commit] Adam Wang: Makefile: added necessary fpd filename to generate mod file (master) http://qi-hw.com/p/kicad-libs/dd2c1a9
08:56.20*** join/#qi-hardware lekernel_ (~lekernel@g225089092.adsl.alicedsl.de)
09:04.59*** join/#qi-hardware jivs_ (~jivs@nat-sta-slph1.tvu.ac.uk)
09:27.24wpwraknice. 202 footprints in 16 .mod files :)
09:27.42wpwrakerr, 46 .mod files
10:01.58qi-bot[commit] Adam Wang: ledsmd.fpd: fixed polarized marker (master) http://qi-hw.com/p/kicad-libs/7be9efc
10:04.37cladamwwpwrak, i'm working on linking components/footprints for m1.cmp , meanwhile checking if the footprint have clear mistakes, then just found one. :(
10:05.53cladamwand the 'make' can auto check a fpd changed, It's good. just make.
10:16.35*** join/#qi-hardware phirsch (~phirsch@xdsl-89-0-83-224.netcologne.de)
10:26.43*** join/#qi-hardware wej (~j@95.211.13.35)
11:12.11whitequa1kpabs3: thanks
11:21.51*** join/#qi-hardware Ayla (~paul@ACaen-252-1-211-185.w86-215.abo.wanadoo.fr)
11:28.12*** join/#qi-hardware Ayla (~paul@ACaen-252-1-211-185.w86-215.abo.wanadoo.fr)
11:28.54qi-botThe build was successful: http://fidelio.qi-hardware.com/~xiangfu/build-nanonote/openwrt-xburst.minimal-20120616-1605
11:58.20*** join/#qi-hardware cladamw (~adamwang@host-65.78-43-115.dynamic.totalbb.net.tw)
12:03.12*** join/#qi-hardware wej (~j@95.211.13.35)
12:26.09qi-bot[commit] Xiangfu: urjtag: compile fine with disable inb outb (master) http://qi-hw.com/p/openwrt-packages/67ac56b
12:37.31wpwrakcladamw: lemme port the PDF generator for footprints, so that we can have a catalog, too
12:38.59cladamwwpwrak, alright, sounds good. that way can be good to search.
12:40.22cladamwwpwrak, 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. :(:-)
12:43.23wpwrakyeah, we need better names
12:43.58wpwrakif you go beyond thing like 0603 or QFN32, it gets difficult very quickly
12:44.35wpwrakit would also make sense to have list of all the parts we know, with recommended footprint and recommended symbol
12:45.23wpwrake.g., YAGEO R123XYZ456 R 0603
12:45.50wpwrakthen we could feed this data in to kicad, to make things a little easier
12:49.58*** join/#qi-hardware DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg)
12:49.59*** join/#qi-hardware DocScrutinizer (~halley@openmoko/engineers/joerg)
12:57.50cladamwyes, 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. :-)
13:11.49wpwrakthe more thing you don't have to look up manually, the better :)
13:15.08cladamwoh ~ yeah!
13:28.33*** join/#qi-hardware jekhor (~jek@46.216.123.227)
13:33.08*** join/#qi-hardware antgreen (~user@70.50.66.38)
13:36.57*** join/#qi-hardware dandon (~dandon@88.151.79.253)
13:57.16qi-bot[commit] Xiangfu: urjtag : replace inb/outb with some simple define (master) http://qi-hw.com/p/openwrt-packages/927287f
14:23.03*** join/#qi-hardware xsb (~xsb@206.215.77.188.dynamic.jazztel.es)
14:36.38*** join/#qi-hardware rejon (~rejon@jp.fabricatorz.com)
14:51.44*** join/#qi-hardware jekhor (~jek@46.216.82.195)
14:53.52*** join/#qi-hardware xsb (~xsb@206.215.77.188.dynamic.jazztel.es)
15:13.08*** part/#qi-hardware xsb (~xsb@206.215.77.188.dynamic.jazztel.es)
15:13.08*** join/#qi-hardware jluis_ (~jluis@32.Red-79-152-171.dynamicIP.rima-tde.net)
15:14.26*** join/#qi-hardware jluis_ (~jluis@32.Red-79-152-171.dynamicIP.rima-tde.net)
15:18.43*** join/#qi-hardware wej (~j@95.211.13.35)
15:26.23*** join/#qi-hardware jluis_ (~jluis@32.Red-79-152-171.dynamicIP.rima-tde.net)
15:34.56*** join/#qi-hardware jekhor (~jek@46.216.147.36)
15:36.28*** join/#qi-hardware emeb (~ericb@12.68.180.146)
15:50.48qi-bot[commit] Xiangfu: urjtag: fix the liburjtag.so.* path (master) http://qi-hw.com/p/openwrt-packages/f2a7a0d
15:51.45*** join/#qi-hardware xiangfu (~xiangfu@fidelio.qi-hardware.com)
15:54.55qi-bot[commit] Xiangfu: xburst-tools, urjtag : add MAINTAINER (master) http://qi-hw.com/p/openwrt-packages/5fcb64c
16:00.44*** join/#qi-hardware wej (~j@95.211.13.35)
16:17.02*** join/#qi-hardware B_Lizzard (~havoc@athedsl-431541.home.otenet.gr)
16:34.45*** join/#qi-hardware wej (~j@95.211.13.35)
16:38.12whitequa1kDocScrutinizer: extra fun
16:38.35whitequa1kthe boot sequence of that xgold626 is as follows: bootrom -> psi -> ebl -> flash
16:39.01whitequa1ktheoretically, it should use a flash rom (because the fw relocates itself to ram)
16:39.09whitequa1ksamsung placed ram instead of the "flash rom" chip
16:39.17whitequa1keach time the phone starts, BP is "flashed"
16:39.25whitequa1keven more funny.
16:39.40whitequa1kneither psi nor ebl nor anything else in the chip checks integrity of anything
16:40.03whitequa1kafter modifying a model name in the hex editor it still boots and works (makes calls)
16:40.19whitequa1ki want a datasheet for that chip.
16:43.43whitequa1kSamsung policy on tivoizing anything is best described as follows (real code):
16:43.54whitequa1kif(VerifyImage() != 0) returnError();
16:43.58whitequa1kint VerifyImage(void) { return 0; }.
16:44.36pabs3lol
16:48.26whitequa1kI'm not really sure if it is good or bad
16:48.40whitequa1kon the one hand, they don't prevent _me_ from doing anything with that
16:48.52whitequa1kon the other one, they don't prevent anyone from doing anything with _my_ phone
16:57.20rohhihi
17:15.21*** join/#qi-hardware Jay7 (jay@128-73-32-59.broadband.corbina.ru)
17:50.38DocScrutinizer51whitequa1k: seems your module has a STE chip :-D
17:52.09DocScrutinizer51and yes, Samsung might not do much tivoizing
17:52.52DocScrutinizer51SG advanced and SGS2 seem to have STE too
17:58.01*** join/#qi-hardware occam (~occam@lorea/faerie)
18:43.54*** join/#qi-hardware urandom__ (~user@ip-37-24-112-20.unitymediagroup.de)
18:57.16*** join/#qi-hardware _whitelogger (~whitelogg@kaunan.whitequark.org)
18:57.58*** join/#qi-hardware whitequark (~whitequar@2a00:ab00:1::4464:5550)
18:59.43whitequarkDocScrutinizer51: why are you so sure? :D
18:59.53whitequarkit should be Infineon
19:08.52*** join/#qi-hardware wej (~j@95.211.13.35)
19:14.56*** join/#qi-hardware jekhor (~jek@46.53.195.29)
19:28.48*** join/#qi-hardware GNUtoo-desktop (~GNUtoo@host73-132-dynamic.48-82-r.retail.telecomitalia.it)
20:09.28*** join/#qi-hardware dptech (~dptech@can06-1-82-242-223-39.fbx.proxad.net)
20:16.17*** join/#qi-hardware larsc (~lars@eisbaer.ursus-maritimus.org)
20:23.22*** join/#qi-hardware |dptech| (~dptech@can06-1-82-242-223-39.fbx.proxad.net)
20:37.05*** join/#qi-hardware dptech (~dptech@can06-1-82-242-223-39.fbx.proxad.net)
20:46.39*** join/#qi-hardware kristoffer (~kristoffe@c-6ddae555.010-30-6c6b7012.cust.bredbandsbolaget.se)
20:47.09*** join/#qi-hardware kristoffer_ (~kristoffe@c-6ddae555.010-30-6c6b7012.cust.bredbandsbolaget.se)
20:50.03*** join/#qi-hardware heberth (~heberth@190.97.216.37)
21:01.52*** join/#qi-hardware Ayla (~paul@ACaen-252-1-222-82.w86-215.abo.wanadoo.fr)
21:03.43DocScrutinizer05whitequark: simcom SIM900: C4851 GPRS Ultra Low Cost
21:07.13*** join/#qi-hardware wolfspra1l (~wolfsprau@221.220.179.126)
21:21.56*** join/#qi-hardware kristian1aul (~kristianp@cl-498.udi-01.br.sixxs.net)
21:32.36whitequarkDocScrutinizer05: ahhhh, so you're about those modules
21:32.45whitequarkhave you investigated them?
21:33.02whitequark(also, SIM900 and SIM900B are different devices, through I suppose you already know that)
21:33.08DocScrutinizer05I ran into a list of STE products
21:33.38DocScrutinizer05googled a bit
21:34.59DocScrutinizer05sim900b: CN57560 & C4851,  GPRS&GPS
21:36.28whitequarker
21:36.36whitequarksim900b quite certainly doesn't have gps
21:36.49*** join/#qi-hardware bartbes (bartbes@love/developer/bartbes)
21:36.54DocScrutinizer05that's what I found
21:36.58whitequarkweird
21:37.11whitequarkwhat about sgs2? I'm absolutely sure it uses Intel/Infineon modem...
21:37.36DocScrutinizer05not unusual when OEMs change all internals while keeping case and brand
21:38.02whitequarkyeah, I'm used to it, so I won't be surprised if SGS2 comes with different modems
21:38.17whitequarkactually, it has a 9100G which looks exactly the same but has OMAP AP and TI BP inside
21:38.29whitequarkalso *T, *M and some other regional/carrier variants, god knows for what
21:39.02whitequarkthrough no docs I seen for sim900b mention gps at all
21:39.20DocScrutinizer05google U8500 samsung
21:40.27DocScrutinizer05http://www.stericsson.com/press_releases/PR_Samsung_U8500.jsp
21:40.32whitequarkah, I see. but galaxy s != galaxy s 2
21:40.35whitequarknot what I have
21:41.02whitequarksamsung changes basebands a lot. how do you think, why?
21:41.54whitequarkwhy not stick to a single vendor and just use their stuff? consistency and so on
21:47.45*** join/#qi-hardware kristianpaul (~kristianp@cl-498.udi-01.br.sixxs.net)
21:47.45*** join/#qi-hardware kristianpaul (~kristianp@unaffiliated/kristianpaul)
22:21.20*** join/#qi-hardware xwalk_ (~crosswalk@d47-69-35-236.try.wideopenwest.com)
22:28.41*** join/#qi-hardware dvdk (~dvdkhlng@g225034178.adsl.alicedsl.de)
22:28.46*** join/#qi-hardware Ayla (~paul@ACaen-252-1-222-82.w86-215.abo.wanadoo.fr)
22:36.38*** join/#qi-hardware phirsch (~phirsch@xdsl-78-35-60-39.netcologne.de)
22:48.13*** join/#qi-hardware heberth_ (~heberth@190.97.216.43)
22:52.14*** join/#qi-hardware larsc (~lars@eisbaer.ursus-maritimus.org)
22:52.15*** join/#qi-hardware zedstar (~john@zedstar.com)
22:52.15*** join/#qi-hardware zedstar (~john@fsf/member/zedstar)
22:52.25*** join/#qi-hardware mth (qbyaysho@dhcp-089-098-069-120.chello.nl)
22:52.26*** join/#qi-hardware rejon (~rejon@jp.fabricatorz.com)
22:57.01*** join/#qi-hardware heberth (~heberth@190.97.216.43)
23:00.36*** join/#qi-hardware jekhor (~jek@46.53.195.29)
23:07.41*** join/#qi-hardware heberth (~heberth@190.97.216.43)
23:12.43*** join/#qi-hardware heberth (~heberth@190.97.216.46)
23:25.32*** join/#qi-hardware heberth (~heberth@190.97.216.46)
23:30.14*** join/#qi-hardware dvdk (~dvdkhlng@g225034178.adsl.alicedsl.de)
23:42.18*** join/#qi-hardware wolfspraul (~wolfsprau@221.220.179.126)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.