'잡동사니'에 해당되는 글 14165건

  1. 2016.07.30 lcdproc
  2. 2016.07.29 svn+ssh 실패 -_-
  3. 2016.07.28 clcd driver
  4. 2016.07.28 리눅스 여러개의 wifi를 콘솔에서 잡기
  5. 2016.07.28 PCB 마킹 의미
  6. 2016.07.28 네이버 수상한데...
  7. 2016.07.28 rpicam x3 x4배속
  8. 2016.07.27 rpicam 90fps...
  9. 2016.07.27 심심해서 만들어 보는.. 캡쳐 스크립트
  10. 2016.07.26 c&c generals zero hour - gla 4
embeded/raspberry pi2016. 7. 30. 15:30

이걸 깔아야 하나... 걍 포기 -_-


$ sudo apt-get install lcdproc

패키지 목록을 읽는 중입니다... 완료

의존성 트리를 만드는 중입니다

상태 정보를 읽는 중입니다... 완료

The following additional packages will be installed:

  at cme dctrl-tools devscripts dput lcdproc-extra-drivers libapp-cmd-perl

  libarray-intspan-perl libcapture-tiny-perl libcarp-assert-more-perl

  libcarp-assert-perl libclass-data-inheritable-perl libclass-load-perl

  libcommon-sense-perl libconfig-model-approx-perl libconfig-model-dpkg-perl

  libconfig-model-lcdproc-perl libconfig-model-openssh-perl

  libconfig-model-perl libconfig-model-tkui-perl libdevel-stacktrace-perl

  libdistro-info-perl libexception-class-perl libexporter-lite-perl

  libfile-homedir-perl libfile-which-perl libfuse-perl libg15daemon-client1

  libg15render1 libhash-merge-perl libio-tiecombine-perl libjson-perl

  libjson-xs-perl liblog-log4perl-perl libmouse-perl

  libmousex-nativetraits-perl libmousex-strictconstructor-perl

  libparse-recdescent-perl libpod-pom-perl libstring-rewriteprefix-perl

  libtext-autoformat-perl libtext-diff-perl libtext-english-perl

  libtext-levenshtein-damerau-perl libtext-reform-perl libtk-dirselect-perl

  libtk-doubleclick-perl libtk-histentry-perl libtk-pod-perl

  libtypes-serialiser-perl libxosd2 libyaml-perl perl-doc perl-tk

  python3-magic wdiff

제안하는 패키지:

  default-mta | mail-transport-agent libconfig-model-cursesui-perl

  libconfig-model-itself-perl debtags cvs-buildpackage diffoscope

  devscripts-el dose-extra gnuplot libterm-size-perl libyaml-syck-perl

  mozilla-devscripts mutt svn-buildpackage w3m debian-keyring equivs

  libsoap-lite-perl mini-dinstall python-bzrlib libterm-readline-perl-perl

  | libterm-readline-gnu-perl libtk-objscanner-perl libunix-mknod-perl

  liblchown-perl libfilesys-statvfs-perl libdbd-csv-perl libxml-dom-perl

  liblog-dispatch-perl libipc-shareable-perl libyaml-shell-perl

다음 새 패키지를 설치할 것입니다:

  at cme dctrl-tools devscripts dput lcdproc lcdproc-extra-drivers

  libapp-cmd-perl libarray-intspan-perl libcapture-tiny-perl

  libcarp-assert-more-perl libcarp-assert-perl libclass-data-inheritable-perl

  libclass-load-perl libcommon-sense-perl libconfig-model-approx-perl

  libconfig-model-dpkg-perl libconfig-model-lcdproc-perl

  libconfig-model-openssh-perl libconfig-model-perl libconfig-model-tkui-perl

  libdevel-stacktrace-perl libdistro-info-perl libexception-class-perl

  libexporter-lite-perl libfile-homedir-perl libfile-which-perl libfuse-perl

  libg15daemon-client1 libg15render1 libhash-merge-perl libio-tiecombine-perl

  libjson-perl libjson-xs-perl liblog-log4perl-perl libmouse-perl

  libmousex-nativetraits-perl libmousex-strictconstructor-perl

  libparse-recdescent-perl libpod-pom-perl libstring-rewriteprefix-perl

  libtext-autoformat-perl libtext-diff-perl libtext-english-perl

  libtext-levenshtein-damerau-perl libtext-reform-perl libtk-dirselect-perl

  libtk-doubleclick-perl libtk-histentry-perl libtk-pod-perl

  libtypes-serialiser-perl libxosd2 libyaml-perl perl-doc perl-tk

  python3-magic wdiff

0개 업그레이드, 57개 새로 설치, 0개 제거 및 4개 업그레이드 안 함.

13.4 M바이트 아카이브를 받아야 합니다.

이 작업 후 34.2 M바이트의 디스크 공간을 더 사용하게 됩니다.

계속 하시겠습니까? [Y/n] 



What is LCDproc?


LCDproc is a client/server suite including drivers for all kinds of nifty LCD displays.


The server LCDd makes it possible to display text and other data on an LCD display. As well LCDd can handle certain input devices.


Support for devices is added by drivers. We distinguish between output and input drivers. LCDd currently supports only one single output driver, which may at the same time handle input. Nevertheless several input (only) drivers are supported.


Currently there are drivers for several serial devices: Matrix Orbital, Crystal Fontz, Bayrad, LB216, LCDM001 (kernelconcepts.de), Wirz-SLI and PIC-an-LCD; and some devices connected to the LPT port: HD44780, STV5730, T6963, SED1520 and SED1330. There are input (only) drivers for LIRC and joysticks.


Clients can connect to LCDd through common TCP sockets.


Various clients are available. The main client lcdproc, which is shipped with the LCDproc distribution, can display things like CPU load, system load, memory usage, uptime, and a lot more.


[링크 : http://lcdproc.sourceforge.net/docs/current-user.html]


LPT 포트가 있어야 설정이 가능할 것 같은 느낌?
FTDI USB to Serial로도 가능은 하지만 흐음.. 아무튼 라즈베리에 적용하는게 쉽지는 않을 기분


[링크 : http://openelec.tv/.../28516-how-to-get-lcd2usb-based-displays-to-work-example-hd44780]



'embeded > raspberry pi' 카테고리의 다른 글

라즈베리 파이 7 segment  (0) 2016.08.01
라즈베리 파이 16x2 clcd  (0) 2016.08.01
clcd driver  (0) 2016.07.28
리눅스 여러개의 wifi를 콘솔에서 잡기  (0) 2016.07.28
rpicam x3 x4배속  (0) 2016.07.28
Posted by 구차니

흐음.. sshd_config까지 유저별로 건드려줘야하나?

고민되네...


아무튼 현재 상태

tortoiseSVN 에서 svn:// 을 svn+ssh:// 로 바꾸고 로그인 시도 하였으나

로그인 까지만 되고 그 이후에 로그인 무한반복...


[링크 : https://www.digitalocean.com/community/questions/how-do-i-set-svn-repository-to-private]

'프로그램 사용 > Version Control' 카테고리의 다른 글

svn://과 svn+ssh:// 경로 차이  (0) 2016.09.13
tortoiseSVN에서 svn+ssh 사용하기  (0) 2016.07.31
svn list 에러 generic failure  (0) 2016.06.23
svn 콘솔 에디터(주석)  (0) 2016.06.21
svn relocate / ubuntu  (0) 2016.06.21
Posted by 구차니
embeded/raspberry pi2016. 7. 28. 21:01

s6a0069 samsung

hd44780 hitachi


[링크 : https://forums.adafruit.com/viewtopic.php?f=47&t=37580]

     [링크 : http://www.avrfreaks.net/forum/what-difference-between-s6a0069-and-hd44780...]


[링크 : http://forum.arduino.cc/index.php?topic=98282.0]

[링크 : http://www.avrfreaks.net/forum/atmega16-lcd-interfacing-hd44780-compatible-s6a0069]

'embeded > raspberry pi' 카테고리의 다른 글

라즈베리 파이 16x2 clcd  (0) 2016.08.01
lcdproc  (0) 2016.07.30
리눅스 여러개의 wifi를 콘솔에서 잡기  (0) 2016.07.28
rpicam x3 x4배속  (0) 2016.07.28
rpicam 90fps...  (0) 2016.07.27
Posted by 구차니
embeded/raspberry pi2016. 7. 28. 20:41

희한한 파일이네


[링크 : http://raspberrypi.stackexchange.com/questions/11631/how-to-setup-multiple-wifi-networks]

[링크 : https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md]

'embeded > raspberry pi' 카테고리의 다른 글

lcdproc  (0) 2016.07.30
clcd driver  (0) 2016.07.28
rpicam x3 x4배속  (0) 2016.07.28
rpicam 90fps...  (0) 2016.07.27
freeRTOS on rpi  (0) 2016.07.18
Posted by 구차니
embeded2016. 7. 28. 20:22

L/C/R/U 정도만 알았는데 별게 다 있네..

U는 inseparable assembly... U가 없는데? 




[링크 : https://blogs.mentor.com/tom-hausherr/blog/tag/reference-designator/]

    [링크 : http://electronics.stackexchange.com/questions/25308/what-do-the-pcb-markings-mean]

[링크 : https://en.wikipedia.org/wiki/Electronic_symbol]


혹시.. IC에서

A circuit in which all or some of the circuit elements are inseparably associated and electrically interconnected so that it is considered to be indivisible for the purposes of construction and commerce.

Circuit 중... U 인가??!?!?

[링크 : https://en.wikipedia.org/wiki/Reference_designator]


unspecified -_-

[링크 : http://electronics.stackexchange.com/questions/25655/why-is-u-used-for-ics-on-circuit-diagrams]

Posted by 구차니
개소리 왈왈/블로그2016. 7. 28. 18:55

인터파크 털려서 인가?

아무튼 오후 4~5시 즈음에 네이버 로그인이 안된다고 제보한 지인덕에

한번 로그아웃 했다가 생고생을 -_-


밥 먹고 와서 들어가보니

집에서 접속했던 ip 대역 같은데 그거 문제라고 보호 어쩌구

먼 개소리야?


아무리 봐도 인증서버 털렸거나

인증서버 이전하면서 날려먹었거나

인터파크 털린거 대응하면서 보안강화 하면서 뻘짓하거나

멀 하던 마음에 안드네






'개소리 왈왈 > 블로그' 카테고리의 다른 글

카테고리 크아앙!!!!  (4) 2016.09.01
카테고리 명 금칙어... 닝기리  (0) 2016.08.31
이 미묘한 기분..  (0) 2016.07.20
블로그 현황  (2) 2016.06.29
티스토리.... 망해가나?  (4) 2016.06.02
Posted by 구차니
embeded/raspberry pi2016. 7. 28. 11:43

음.. 해보니 되긴한데..

vlc에서도 배속 재생이 되는거 첨 알았네 ㅋㅋ


아무튼... 기본적으로 무조건 30fps로 h.264 스트림이 저장되니

vlc 에서 4배속으로 재생해야 320x240@120fps로 저장된게 정상속도로 재생된다.


테스트 해보니...

원본은 팟플레이어 에서만 재생 VLC 재생불가

변환은 팟플레이어, VLC 빠르게 이상없음


흐음...




+

결론은 파일로 저장되는 스트림에 대해서 120p 90p 60p로 저장이 되고, 

해당 스트림은 30p로 설정되어 슬로우 모션으로 재생됨 끝


$ MP4Box -fps 30 -add video_120p.h264 video_120p.mp4

AVC-H264 import - frame size 320 x 240 at 30.000 FPS

AVC Import results: 1296 samples - Slices: 22 I 1274 P 0 B - 0 SEI - 22 IDR

Saving to video_120p.mp4: 0.500 secs Interleaving 


$ MP4Box -fps 30 -add video_120p.h264 video_120p.mp4 -v

[iso file] Current top box start before parsing 2

[iso file] Read Box type ftyp size 24 start 0

[iso file] Current top box start before parsing 2

[iso file] Read Box type moov size 6319 start 24

[iso file] Read Box type mvhd size 108 start 32

[iso file] Read Box type iods size 21 start 140

[iso file] Read Box type trak size 6182 start 161

[iso file] Read Box type tkhd size 92 start 169

[iso file] Read Box type mdia size 6082 start 261

[iso file] Read Box type mdhd size 32 start 269

[iso file] Read Box type hdlr size 59 start 301

[iso file] Read Box type minf size 5983 start 360

[iso file] Read Box type vmhd size 20 start 368

[iso file] Read Box type dinf size 36 start 388

[iso file] Read Box type dref size 28 start 396

[iso file] Read Box type url  size 12 start 412

[iso file] Read Box type stbl size 5919 start 424

[iso file] Read Box type stsd size 163 start 432

[iso file] Read Box type avc1 size 147 start 448

[iso file] Read Box type avcC size 41 start 534

[iso file] Read Box type btrt size 20 start 575

[iso file] Read Box type stts size 24 start 595

[iso file] Read Box type stss size 104 start 619

[iso file] Read Box type stsc size 52 start 723

[iso file] Read Box type stsz size 5204 start 775

[iso file] Read Box type stco size 364 start 5979

[iso file] Current top box start before parsing 2

[iso file] Read Box type mdat size 1620390 start 6343

[iso file] Current top box start before parsing 2

[iso file] Read Box type free size 59 start 1626733

AVC-H264 import - frame size 320 x 240 at 30.000 FPS

AVC Import results: 1296 samples - Slices: 22 I 1274 P 0 B - 0 SEI - 22 IDR

Saving video_120p.mp4: 0.500 secs Interleaving 


$ MP4Box

MP4Box [option] input [option]

 -h general           general options help

 -h hint              hinting options help

 -h dash              DASH segmenter help

 -h import            import options help

 -h encode            encode options help

 -h meta              meta handling options help

 -h extract           extraction options help

 -h dump              dump options help

 -h swf               Flash (SWF) options help

 -h crypt             ISMA E&A options help

 -h format            supported formats help

 -h rtp               file streamer help

 -h live              BIFS streamer help

 -h all               all options are printed


 -nodes               lists supported MPEG4 nodes

 -node NodeName       gets MPEG4 node syntax and QP info

 -xnodes              lists supported X3D nodes

 -xnode NodeName      gets X3D node syntax

 -snodes              lists supported SVG nodes

 -snode NodeName      gets SVG node syntax

 -languages           lists supported ISO 639 languages


 -quiet                quiet mode

 -noprog               disables progress

 -v                   verbose mode

 -logs                set log tools and levels, formatted as a ':'-separated list of toolX[:toolZ]@levelX

 -version             gets build version

 -- INPUT             escape option if INPUT starts with - character 




'embeded > raspberry pi' 카테고리의 다른 글

clcd driver  (0) 2016.07.28
리눅스 여러개의 wifi를 콘솔에서 잡기  (0) 2016.07.28
rpicam 90fps...  (0) 2016.07.27
freeRTOS on rpi  (0) 2016.07.18
redmine 백업  (0) 2016.07.14
Posted by 구차니
embeded/raspberry pi2016. 7. 27. 15:39

120fps 찾다가 보니 90fps만 무성히 나오는데..


이전테스트에서는 120fps는 실패인거 같았고


$ raspivid -w 320 -h 230 -t 0 -f -v -fps 120


raspivid Camera App v1.3.12


Width 320, Height 230, filename (null)

bitrate 17000000, framerate 120, time delay 0

H264 Profile high

H264 Quantisation level 0, Inline headers No

H264 Intra refresh type (null), period -1

Wait method : Capture forever

Initial state 'record'


2015/08/08 - [embeded/raspberry pi] - 라즈베리 파이 5M 카메라 - 지름도착!


다시 보니.. 파일로 저장안하고 화면으로 봐서 그런걸지도?



아래는 90p로 받아서 30p 로 3배 느린 영상 만드는 방법

$ raspivid -h 640 -w 480 -fps 90 -t 10000 -o video.h264

$ sudo apt-get install gpac

$ MP4Box -fps 30 -add video.h264 video.mp4


[링크 : http://www.raspberryconnect.com/video/item/165-raspberry-pi-camera-slow-motion]

[링크 : https://babaawesam.com/2014/03/24/shooting-slow-motion-videos-using-raspberry-pi-camera/]

'embeded > raspberry pi' 카테고리의 다른 글

리눅스 여러개의 wifi를 콘솔에서 잡기  (0) 2016.07.28
rpicam x3 x4배속  (0) 2016.07.28
freeRTOS on rpi  (0) 2016.07.18
redmine 백업  (0) 2016.07.14
초음파 거리 + 온/습도 센서  (0) 2016.07.10
Posted by 구차니
회사일2016. 7. 27. 11:03


wget은 URL이 이상하면 이상한 파일명으로 저장해 버리니 -O옵션 사용

-o는 로그 파일 저장이니 유의

$ wget -O filename

[링크 : http://swstyle.tistory.com/23]


$ sleep 0.1

하면 0.1초 쉬었다 감. bash에서만 지원하는 걸지도?


ubuntu 12.04.5 LTS


$ bash --version

GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu)



$ time sleep 0.03


real    0m0.031s

user    0m0.004s

sys     0m0.000s


[링크 : http://serverfault.com/questions/469247/how-do-i-sleep-for-a-millisecond-in-bash-or-ksh]


for 문이 .. 두개였구나.. bash 3.0 이후 부터 사용가능


[링크 : http://b4you.net/blog/264]



0.03 초 간격으로 (대충 30프레임 이니까) 스샷 찍는 방법?

$ cat get.sh

#/bin/bash

for i in {1..100}

do

        wget "http://192.168.10.113/snapshot.jpeg" -O snapshot_$i.jpeg &

#       sleep 0.03

done 


다만, & 으로 프로세스 만들어서 하는거라

시간이 조금 뒤죽박죽이 될 수도 있을 지도...

'회사일' 카테고리의 다른 글

ldo - linear drop out  (0) 2016.12.07
동축 케이블 표준  (0) 2016.09.09
APNR 카메라  (0) 2016.05.18
lwip + freeRTOS  (0) 2015.12.09
raw video streaming  (0) 2015.09.16
Posted by 구차니
게임/c&c generals2016. 7. 26. 23:24

항모격침에 이어서 이제는 미국 본토다!

자먼 켈과 40인의 도적? ㅋㅋㅋ




하이재커 가끔 바보짓 하면(길막당하면) 깔려죽음 ㅠㅠ


배 태워서 본토로(?) 보내는데 가자마자 지뢰에 폭사 ㅠㅠ 엉엉


밸브 잠궈라!!!


그러면 아까 배타고 온애들 올 수 있다!!!!


병원이 있으니 점령해주면 애들 자동으로 피 회복!(보병)


아쉽게도.. 이 토마호크는 살릴 방법이 없다 ㅠㅠ

저 stone wall에 막혀서 나올수도 없고 그렇다고 공항을 뽀갤수도 없는 상황이고

총질로 막힐 F-22도 아니고 눈물을 머금고 빠이 ㅠㅠ


패트리어트 뽀개기 위한 토마호크라니 ㅠㅠ


악마의 F-22 ㅠㅠ


대신 toxic tractor를 주는데 벙커 깨는데 짱

대신에 속도가 느리니 하나당 한놈 정도로 돌아가며 꺠야 한다 ㅠㅠ


발전소 뽀개라는데 점령 ㅋㅋ

근데 몇개는 접근 불가 위치인듯 애들 막 끼고 난리 ㅠㅠ


중앙 상단의 건물에서 독 트럭이 배달하는 데 순간적으로 300$ 증가

흐음.. 이걸로 잘 하면 barrack 먹은거 생산할 수 있을까 싶다가 걍 포기


독이... 돈이었어!??!?







'게임 > c&c generals' 카테고리의 다른 글

c&c generals zero hour - china 1  (0) 2016.08.13
c&c generals zero hour - gla 5  (2) 2016.08.07
c&c generals zero hour - gla 3  (0) 2016.07.24
c&c generals zero hour - gla 2  (0) 2016.07.23
c&c generals zero hour - gla 1  (0) 2016.07.23
Posted by 구차니