'Linux' 카테고리의 다른 글
| systemctl status 전체 로그 보기 (0) | 2022.11.30 |
|---|---|
| 리눅스 경로 / 와 // 와 /// (0) | 2022.11.01 |
| uvcdynctrl (0) | 2022.07.06 |
| dmesg -w (0) | 2022.06.30 |
| dmesg log_buf_len (0) | 2022.06.29 |
| systemctl status 전체 로그 보기 (0) | 2022.11.30 |
|---|---|
| 리눅스 경로 / 와 // 와 /// (0) | 2022.11.01 |
| uvcdynctrl (0) | 2022.07.06 |
| dmesg -w (0) | 2022.06.30 |
| dmesg log_buf_len (0) | 2022.06.29 |
| $ 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]
| 리눅스 경로 / 와 // 와 /// (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 |
kernel 3.5.0 이후 지원하는 기능으로
tail -f 로 보듯 상시 감시가 가능하다.
[링크 : https://superuser.com/questions/289239/is-it-possible-to-tail-f-the-output-of-dmesg]
| 리눅스 프로세스 숨기기 (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 |
에러 로그가 많이 쌓이면 초기 메시지가 사라지는데
그걸 방지하기 위해 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 |
| 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 |
-e 는 에러 발생시 중단하지 않도록
+e는 에러 발생시 중단하도록 설정
-x -e와 동일하나 종료시 실행위치 출력
[링크 : https://frankler.tistory.com/59]
[링크 : https://tech.ezphp.net/8]
| dmesg -w (0) | 2022.06.30 |
|---|---|
| dmesg log_buf_len (0) | 2022.06.29 |
| linux cache clear (0) | 2022.02.11 |
| sort 컬럼 별 정렬하기 (0) | 2022.02.08 |
| elementary os (0) | 2022.01.28 |
오늘 생각난김에 USB에 부팅해보는데 나쁘진 않은 느낌.
/dev/fb0 로는 캡쳐가 안되네 -_ㅠ
일단 윈도우(super) 누르면 데스크탑이 나오는데 상하에서 좌우로 바뀌었고
alt-tab 기본 값도 앱전환에서 프로그램 전환으로 그룹으로 묶이지 않게 변경! super-tab이 앱전환으로 지정!
gnome3로 바뀌면서(맞나?) 메뉴가 떠도 캡쳐가 가능해졌다.

동영상 촬영에 영역 캡쳐까지!

그리고 메뉴는 전반적으로 좀 더 동글동글 해진 느낌?

22.04의 모서리 둥글기

18.04의 모서리 둥글기

| 리눅스 블루투스 유틸리티 bluez-tools (0) | 2022.11.07 |
|---|---|
| cpuid (0) | 2022.10.17 |
| minicom stty (0) | 2022.04.25 |
| sudo -k -K (0) | 2022.04.25 |
| ubuntu unity tweak (0) | 2022.04.04 |
minicom 으로 포트를 열고 stty로 확인하니 아래의 플래그들이 설정된다.
근데 포트를 잘 못열었나.. xon/xoff에 대한건 안보이네..
ignbrk ignore break characters
-brkint breaks cause an interrupt signal
-icrnl translate carriage return to newline
-imaxbel beep and do not flush a full input buffer on a character
-opost postprocess output
-onlcr translate newline to carriage return-newline
-isig enable interrupt, quit, and suspend special characters
-icanon enable erase, kill, werase, and rprnt special characters
-iexten enable non-POSIX special characters
-echo echo input characters
-echoe same as [-]crterase // echo erase characters as backspace-space-backspace
-echok echo a newline after a kill character
-echoctl same as [-]ctlecho // echo control characters in hat notation ('^c')
-echoke same as [-]crtkill // kill all line by obeying the echoctl and echok settings
[링크 : https://linux.die.net/man/1/stty]
| cpuid (0) | 2022.10.17 |
|---|---|
| ubuntu 22.04 LTS (0) | 2022.04.27 |
| sudo -k -K (0) | 2022.04.25 |
| ubuntu unity tweak (0) | 2022.04.04 |
| This kernel does not support RARP. (0) | 2022.03.08 |
sudo의 사용가능 시간을 리셋하는 옵션
| -K' The -K (sure kill) option is like -k except that it removes the user's cached credentials entirely and may not be used in conjunction with a command or other option. This option does not require a password. Not all security policies support credential caching. -k [command] When used alone, the -k (kill) option to sudo invalidates the user's cached credentials. The next time sudo is run a password will be required. This option does not require a password and was added to allow a user to revoke sudo permissions from a .logout file. Not all security policies support credential caching. When used in conjunction with a command or an option that may require a password, the -k option will cause sudo to ignore the user's cached credentials. As a result, sudo will prompt for a password (if one is required by the security policy) and will not update the user's cached credentials. |
[링크 : https://linux.die.net/man/8/sudo]
[링크 : https://askubuntu.com/questions/14948/how-to-cancel-the-currently-applied-remaining-sudo-time-out]
+ 22.05.03
아래 경로 가니 파일이 존재하는데 -k 로는 파일이 사라지지 않고 -K로는 파일이 사라진다.
| /run/sudo/ts/<username> |
[링크 : https://www.linux.org/threads/cache-timestamp-file.25274/]
sudo 도움말을 보면 -K는 파일을 삭제하고, -k는 타임스탬프 파일을 무효화 한다는데 내용이 변화되는것 같진 않고..
| -K, --remove-timestamp remove timestamp file completely -k, --reset-timestamp invalidate timestamp file |
| struct timestamp_entry { unsigned short version; /* version number / unsigned short size; / entry size / unsigned short type; / TS_GLOBAL, TS_TTY, TS_PPID / unsigned short flags; / TS_DISABLED, TS_ANYUID / uid_t auth_uid; / uid to authenticate as / pid_t sid; / session ID associated with tty/ppid / struct timespec start_time; / session/ppid start time / struct timespec ts; / time stamp (CLOCK_MONOTONIC) / union { dev_t ttydev; / tty device number / pid_t ppid; / parent pid */ } u; }; |
[링크 : https://www.sudo.ws/docs/man/1.8.25/sudoers_timestamp.man/]
먼가 딱 하나.. 0에서 1로 바뀌었네

| ubuntu 22.04 LTS (0) | 2022.04.27 |
|---|---|
| minicom stty (0) | 2022.04.25 |
| ubuntu unity tweak (0) | 2022.04.04 |
| This kernel does not support RARP. (0) | 2022.03.08 |
| 우분투 크롬, 구글 로그인이 안됨 (0) | 2022.02.14 |
우분투 18.04 에서 unity tweak을 설치하고 실행하려고 하면
The following schema is missing 이라는 에러가 나오는데
에러 메시지 큰것만 봐서 자세히 안봤더니.. -_-
아무튼 패키지 하나 설치하면 끝!
| $ sudo apt install notify-osd |
| minicom stty (0) | 2022.04.25 |
|---|---|
| sudo -k -K (0) | 2022.04.25 |
| This kernel does not support RARP. (0) | 2022.03.08 |
| 우분투 크롬, 구글 로그인이 안됨 (0) | 2022.02.14 |
| 크로스 컴파일 패키지 (2) | 2022.01.28 |
읭.. rarp 명령어로 역으로 조회해보려고 했더니 막히네
[링크 : http://manpages.ubuntu.com/manpages/trusty/man8/rarp.8.html]
10년 정도 전에는 되지 않았을까.. 아마도 수준이라니 -_-
| Linux (and therefor the Pi) hasn't supported RARP for a number of years now. Possibly over a decade ago. It's an obsolete protocol and really should not be used. |
[링크 : https://forums.raspberrypi.com/viewtopic.php?t=32181]
포트스캔에 의한 mac 주소 조회외에는 그럼 답이 없는건가..
| sudo -k -K (0) | 2022.04.25 |
|---|---|
| ubuntu unity tweak (0) | 2022.04.04 |
| 우분투 크롬, 구글 로그인이 안됨 (0) | 2022.02.14 |
| 크로스 컴파일 패키지 (2) | 2022.01.28 |
| ubuntu x86에서 arm용 아키텍쳐 패키지 추가하기(주의) (0) | 2022.01.28 |