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

  1. 2022.07.06 v4l2-ctl 밝기 조절
  2. 2022.07.06 정수기 필터 구매
  3. 2022.07.06 uvcdynctrl
  4. 2022.07.05 tsdb influxdb
  5. 2022.07.04 grid와 flex
  6. 2022.07.04 상큼한 월요일. 지각 -_-
  7. 2022.07.01 보일러 고장
  8. 2022.06.30 광 케이블 DAC, AOC
  9. 2022.06.30 dmesg -w
  10. 2022.06.29 dmesg log_buf_len
Linux API/v4l2022. 7. 6. 15:21

 

$ v4l2-ctl

General/Common options:
  --all              display all information available
  -C, --get-ctrl=<ctrl>[,<ctrl>...]
                     get the value of the controls [VIDIOC_G_EXT_CTRLS]
  -c, --set-ctrl=<ctrl>=<val>[,<ctrl>=<val>...]
                     set the value of the controls [VIDIOC_S_EXT_CTRLS]
  -D, --info         show driver info [VIDIOC_QUERYCAP]
  -d, --device=<dev> use device <dev> instead of /dev/video0
                     if <dev> starts with a digit, then /dev/video<dev> is used
  -e, --out-device=<dev> use device <dev> for output streams instead of the
                     default device as set with --device
                     if <dev> starts with a digit, then /dev/video<dev> is used
  -h, --help         display this help message
  --help-all         all options
  --help-io          input/output options
  --help-misc        miscellaneous options
  --help-overlay     overlay format options
  --help-sdr         SDR format options
  --help-selection   crop/selection options
  --help-stds        standards and other video timings options
  --help-streaming   streaming options
  --help-tuner       tuner/modulator options
  --help-vbi         VBI format options
  --help-vidcap      video capture format options
  --help-vidout      vidout output format options
  --help-edid        edid handling options
  -k, --concise      be more concise if possible.
  -l, --list-ctrls   display all controls and their values [VIDIOC_QUERYCTRL]
  -L, --list-ctrls-menus
                     display all controls and their menus [VIDIOC_QUERYMENU]
  -r, --subset=<ctrl>[,<offset>,<size>]+
                     the subset of the N-dimensional array to get/set for control <ctrl>,
                     for every dimension an (<offset>, <size>) tuple is given.
  -w, --wrapper      use the libv4l2 wrapper library.
  --list-devices     list all v4l devices
  --log-status       log the board status in the kernel log [VIDIOC_LOG_STATUS]
  --get-priority     query the current access priority [VIDIOC_G_PRIORITY]
  --set-priority=<prio>
                     set the new access priority [VIDIOC_S_PRIORITY]
                     <prio> is 1 (background), 2 (interactive) or 3 (record)
  --silent           only set the result code, do not print any messages
  --sleep=<secs>     sleep <secs>, call QUERYCAP and close the file handle
  --verbose          turn on verbose ioctl status reporting

 

$ v4l2-ctl -l -d /dev/video2
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=95 step=1 default=5 value=5
                     saturation 0x00980902 (int)    : min=0 max=100 step=1 default=60 value=60
                            hue 0x00980903 (int)    : min=-2000 max=2000 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=100 max=300 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=1 max=8 step=1 default=1 value=1
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=1 max=7 step=1 default=2 value=2
         backlight_compensation 0x0098091c (int)    : min=0 max=1 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=1
              exposure_absolute 0x009a0902 (int)    : min=10 max=626 step=1 default=156 value=25

 

v4l2-ctl -d /dev/video2 -c exposure_absolute=70
v4l2-ctl -d /dev/video2 -c exposure_absolute=600

[링크 : https://thirdnsov.tistory.com/107]

'Linux API > v4l' 카테고리의 다른 글

v4l2 debug  (0) 2022.07.13
v4l2 timestamp  (0) 2017.04.19
uv4l  (0) 2015.09.13
리눅스에 웹캠 연결시 인식  (5) 2009.12.06
Posted by 구차니

쓴지도 2년이 되어가니

케이블류 랑 피팅을 갈아줄까 고민중

 

정수필터 꽂는 "헤드" 만은 안파는것 같고

1차 필터와 2차 필터 사이에 Y 피팅은 왜  썼는지 모르겠고

피팅들도 웬만큼 다 빼버리고 다이렉트로 꽂아볼까?

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

여름휴가의.시작  (0) 2022.07.22
남에 집 구경  (0) 2022.07.09
보일러 고장  (0) 2022.07.01
6.25  (0) 2022.06.25
어머니 생신  (0) 2022.06.25
Posted by 구차니
Linux2022. 7. 6. 13:31

 

$ uvcdynctrl -h
uvcdynctrl 0.2.4

Manage dynamic controls in uvcvideo

Usage: uvcdynctrl [OPTIONS]... [VALUES]...

  -h, --help               Print help and exit
  -V, --version            Print version and exit
  -l, --list               List available cameras
  -i, --import=filename    Import dynamic controls from an XML file
  -a, --addctrl=vid        Import dynamic controls for vid from default location
  -v, --verbose            Enable verbose output  (default=off)
  -d, --device=devicename  Specify the device to use  (default=`video0')
  -c, --clist              List available controls
  -g, --get=control        Retrieve the current control value
  -G, --get_raw=unit_id:selector        Retrieve the current raw control value
  -s, --set=control        Set a new control value
                            (For negative values: -s 'My Control' -- -42)
  -S, --set_raw=unit_id:selector        Set the current raw control value
                            (value is a hex string of control size,
                             default is little endian- '(BE)' prefix to change:
                             -S 13:1 0x01100c or -S 13:1 '(BE)0x0c1001' )

  -f, --formats            List available frame formats
  -W, --save=filename      Save device controls state to a file
  -L, --load=filename      Load device controls state from a file

 

2760p 내장 카메라, 로지텍 웹캠(HD Pro Webcam C920)

$ uvcdynctrl -c
Listing available controls for device video0:
  Brightness
  Contrast
  Saturation
  Hue
  White Balance Temperature, Auto
  Gamma
  Power Line Frequency
  White Balance Temperature
  Sharpness
  Backlight Compensation
  Exposure, Auto
  Exposure (Absolute)
  Exposure, Auto Priority

$ sudo uvcdynctrl -d /dev/video2 -c
Listing available controls for device /dev/video2:
  Brightness
  Contrast
  Saturation
  White Balance Temperature, Auto
  Gain
  Power Line Frequency
  White Balance Temperature
  Sharpness
  Backlight Compensation
  Exposure, Auto
  Exposure (Absolute)
  Exposure, Auto Priority
  Pan (Absolute)
  Tilt (Absolute)
  Focus (absolute)
  Focus, Auto
  Zoom, Absolute
  LED1 Mode
  LED1 Frequency

[링크 : https://coding-yoon.tistory.com/107]

[링크 : https://manpages.ubuntu.com/manpages/jammy/en/man1/uvcdynctrl.1.html]

'Linux' 카테고리의 다른 글

리눅스 경로 / 와 // 와 ///  (0) 2022.11.01
리눅스 프로세스 숨기기  (0) 2022.08.31
dmesg -w  (0) 2022.06.30
dmesg log_buf_len  (0) 2022.06.29
bash set -e set -x  (0) 2022.06.22
Posted by 구차니
파일방2022. 7. 5. 16:32

tdb - time series db

시계열 데이터를 저장하는데 특화된 db

MIT 라이선스 라는데.. 상용 사용 가능하려나?

 

[링크 : https://www.influxdata.com/]

'파일방' 카테고리의 다른 글

barrier - fork of synergy  (0) 2023.01.02
fsn (fusion) - file system navigator  (0) 2022.08.26
rufus - symbol 'grub_register_command_lockdown' not found  (0) 2022.06.27
codesys  (0) 2022.05.18
debian noroot 와 userland  (0) 2022.05.02
Posted by 구차니
Programming/web 관련2022. 7. 4. 18:06

웹 2년 넘게 안했더니

또 어떤 놈(?)들이 사악한걸 만들어 놨네

 

[링크 : https://studiomeal.com/archives/197]

[링크 : https://studiomeal.com/archives/533]

 

+

2022.08.08

display: flex; 로 설정하고

flex-direction: row;

flex-direction: column;

으로 쌓일 방향을 지정가능하다.

[링크 : https://heropy.blog/2018/11/24/css-flexible-box/]

'Programming > web 관련' 카테고리의 다른 글

JWT 로그인 예제  (0) 2022.08.24
quirks mode  (0) 2022.08.08
markdown 문법 - 체크박스  (0) 2020.10.15
크롬 확장도구 - json viewer  (0) 2019.08.07
resizable table cell  (0) 2019.06.17
Posted by 구차니

추경호 기획재정부 장관이 답하라면서

그 장관집을 가로막는 것도 아니고

해당 부서에서 시위하는것도 아니고

왜 뜬금없이 4호선이냐고 -_-

 

[링크 : https://news.v.daum.net/v/20220704101749645]

 

세종시에 있구만!!

[링크 : https://www.moef.go.kr/mi/otlnmap.do;jsessionid=wy94hAljQpFVwon+3eX-E0CS.node30?menuNo=9080000]

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

덥다.. 여름인가  (0) 2022.08.02
시간만 지나간다.  (0) 2022.07.18
회사 야유회  (0) 2022.06.24
총제적 난국  (0) 2022.06.15
외근  (0) 2022.06.14
Posted by 구차니

에러코드.. 21?

배기팬 관련 에러라고..

[링크 : https://m.blog.naver.com/twri101/221215226721]

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

남에 집 구경  (0) 2022.07.09
정수기 필터 구매  (0) 2022.07.06
6.25  (0) 2022.06.25
어머니 생신  (0) 2022.06.25
일정 끝  (0) 2022.06.05
Posted by 구차니

'이론 관련 > 네트워크 관련' 카테고리의 다른 글

PAM4  (0) 2023.01.16
nrz encoding/decoding  (0) 2022.08.24
RS485 오실로스코프 파형  (0) 2021.11.04
EtherCAT - Ethernet for Control Automation Technology  (0) 2021.11.01
WiFi 프로토콜, cipher  (0) 2021.09.27
Posted by 구차니
Linux2022. 6. 30. 11:47

kernel 3.5.0 이후 지원하는 기능으로

tail -f 로 보듯 상시 감시가 가능하다.

 

[링크 : https://superuser.com/questions/289239/is-it-possible-to-tail-f-the-output-of-dmesg]

'Linux' 카테고리의 다른 글

리눅스 프로세스 숨기기  (0) 2022.08.31
uvcdynctrl  (0) 2022.07.06
dmesg log_buf_len  (0) 2022.06.29
bash set -e set -x  (0) 2022.06.22
linux cache clear  (0) 2022.02.11
Posted by 구차니
Linux2022. 6. 29. 18:04

에러 로그가 많이 쌓이면 초기 메시지가 사라지는데

그걸 방지하기 위해 dmesg가 저장될 용량을 늘릴수 있다고 한다.

[링크 : https://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/re07.html]

 

다만, 커널 인자인 만큼 grub나 uboot 등에서 설정해주어야 하는 함정이..

systemd.log_level=debug systemd.log_target=kmsg log_buf_len=15M

[링크 : https://www.thegeeksearch.com/how-to-increase-dmesg-log-size-to-capture-more-verbose-booting-logs-in-centos-rhel-7/]

'Linux' 카테고리의 다른 글

uvcdynctrl  (0) 2022.07.06
dmesg -w  (0) 2022.06.30
bash set -e set -x  (0) 2022.06.22
linux cache clear  (0) 2022.02.11
sort 컬럼 별 정렬하기  (0) 2022.02.08
Posted by 구차니