'2022/07/28'에 해당되는 글 3건

  1. 2022.07.28 ffmpeg을 이용한 원하는 동영상 구간 자르기
  2. 2022.07.28 vi가 늦게 켜지는 이유
  3. 2022.07.28 USB3.0 to HDMI

-ss와 -t 조합으로 가능한데, -to 로는 잘안되서 쓰는법을 모르겠다.

-codec copy는 코덱변경없이 단순하게 원본을 자르는거라 속도도 빠르고 화질 저하도 없게 하는 옵션이다.

$ ./ffmpeg -ss 00:39:05 -i input.mkv -codec copy -t 00:03:03 out.mkv

[링크 : https://superuser.com/questions/742434/use-ffmpeg-to-cut-mkv-file]

[링크 : https://trac.ffmpeg.org/wiki/Seeking]

 

$ ffmpeg -ss 00:01:00 -to 00:02:00  -i input.mp4 -c copy output.mp4

-i: This specifies the input file. In that case, it is (input.mp4).
-ss: Used with -i, this seeks in the input file (input.mp4) to position.
00:01:00: This is the time your trimmed video will start with.
-to: This specifies duration from start (00:01:40) to end (00:02:12).
00:02:00: This is the time your trimmed video will end with.
-c copy: This is an option to trim via stream copy. (NB: Very fast)

[링크 : https://stackoverflow.com/questions/18444194/cutting-the-videos-based-on-start-and-end-time-using-ffmpeg]

 

[링크 : https://hi098123.tistory.com/141]

Posted by 구차니
프로그램 사용/vi2022. 7. 28. 11:46

18.04 에서 이상하게 늦게 켜지는 경우가 있는데(3초 정도?)

검색을 해보니 기본이 vim.gtk3 로 연결되어 있어 xwin 체크혹은 timeout 기다리다 늦는것 같다.

$ ls -al /usr/bin/vim
lrwxrwxrwx 1 root root 21  5월 13  2021 /usr/bin/vim -> /etc/alternatives/vim

$ ls -al /etc/alternatives/vim
lrwxrwxrwx 1 root root 17  9월 15  2021 /etc/alternatives/vim -> /usr/bin/vim.gtk3

$ ls -al /usr/bin/vim.
vim.basic  vim.gtk3   vim.tiny

[링크 : https://pinocc.tistory.com/173]

 

아래의 명령어를 이용해서 편리하게 교체가 가능하지만 콘솔에서 느린건 여전했다.

sudo update-alternatives --config editor
대체 항목 editor에 대해 (/usr/bin/editor 제공) 6개 선택이 있습니다.

  선택       경로              우선순▒ 상태
------------------------------------------------------------
* 0            /usr/bin/vim.gtk3    50        자동 모드
  1            /bin/ed             -100       수동 모드
  2            /bin/nano            40        수동 모드
  3            /usr/bin/mcedit      25        수동 모드
  4            /usr/bin/vim.basic   30        수동 모드
  5            /usr/bin/vim.gtk3    50        수동 모드
  6            /usr/bin/vim.tiny    15        수동 모드

Press <enter> to keep the current choice[*], or type selection number: 4
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in manual mode

$ sudo update-alternatives --config editor
대체 항목 editor에 대해 (/usr/bin/editor 제공) 6개 선택이 있습니다.

  선택       경로              우선순▒ 상태
------------------------------------------------------------
  0            /usr/bin/vim.gtk3    50        자동 모드
  1            /bin/ed             -100       수동 모드
  2            /bin/nano            40        수동 모드
  3            /usr/bin/mcedit      25        수동 모드
* 4            /usr/bin/vim.basic   30        수동 모드
  5            /usr/bin/vim.gtk3    50        수동 모드
  6            /usr/bin/vim.tiny    15        수동 모드

Press <enter> to keep the current choice[*], or type selection number:

[링크 : https://askubuntu.com/questions/891928/]

 

--all 옵션주고 하나하나 조심히 보다가 vim 관련 나오면 vim.basic 으로 전부 설정.

sudo update-alternatives --all
There is only one alternative in link group animate (providing /usr/bin/animate): /usr/bin/animate-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group animate-im6 (providing /usr/bin/animate-im6): /usr/bin/animate-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group aptitude (providing /usr/bin/aptitude): /usr/bin/aptitude-curses
설정할 것이 없습니다.
대체 항목 awk에 대해 (/usr/bin/awk 제공) 2개 선택이 있습니다.

  선택       경로          우선순▒ 상태
------------------------------------------------------------
* 0            /usr/bin/gawk    10        자동 모드
  1            /usr/bin/gawk    10        수동 모드
  2            /usr/bin/mawk    5         수동 모드

Press <enter> to keep the current choice[*], or type selection number:
There is only one alternative in link group builtins.7.gz (providing /usr/share/man/man7/builtins.7.gz): /usr/share/man/man7/bash-builtins.7.gz
설정할 것이 없습니다.
There is only one alternative in link group c++ (providing /usr/bin/c++): /usr/bin/g++
설정할 것이 없습니다.
There is only one alternative in link group c89 (providing /usr/bin/c89): /usr/bin/c89-gcc
설정할 것이 없습니다.
There is only one alternative in link group c99 (providing /usr/bin/c99): /usr/bin/c99-gcc
설정할 것이 없습니다.
There is only one alternative in link group cc (providing /usr/bin/cc): /usr/bin/gcc
설정할 것이 없습니다.
There is only one alternative in link group compare (providing /usr/bin/compare): /usr/bin/compare-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group compare-im6 (providing /usr/bin/compare-im6): /usr/bin/compare-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group composite (providing /usr/bin/composite): /usr/bin/composite-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group composite-im6 (providing /usr/bin/composite-im6): /usr/bin/composite-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group conjure (providing /usr/bin/conjure): /usr/bin/conjure-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group conjure-im6 (providing /usr/bin/conjure-im6): /usr/bin/conjure-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group convert (providing /usr/bin/convert): /usr/bin/convert-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group convert-im6 (providing /usr/bin/convert-im6): /usr/bin/convert-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group cpp (providing /lib/cpp): /usr/bin/cpp
설정할 것이 없습니다.
There is only one alternative in link group default.plymouth (providing /usr/share/plymouth/themes/default.plymouth): /usr/share/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth
설정할 것이 없습니다.
There is only one alternative in link group display (providing /usr/bin/display): /usr/bin/display-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group display-im6 (providing /usr/bin/display-im6): /usr/bin/display-im6.q16
설정할 것이 없습니다.
대체 항목 editor에 대해 (/usr/bin/editor 제공) 6개 선택이 있습니다.

  선택       경로              우선순▒ 상태
------------------------------------------------------------
  0            /usr/bin/vim.gtk3    50        자동 모드
  1            /bin/ed             -100       수동 모드
  2            /bin/nano            40        수동 모드
  3            /usr/bin/mcedit      25        수동 모드
* 4            /usr/bin/vim.basic   30        수동 모드
  5            /usr/bin/vim.gtk3    50        수동 모드
  6            /usr/bin/vim.tiny    15        수동 모드

Press <enter> to keep the current choice[*], or type selection number: 4
There is only one alternative in link group eview (providing /usr/bin/eview): /usr/bin/vim.gtk3
설정할 것이 없습니다.
There is only one alternative in link group evim (providing /usr/bin/evim): /usr/bin/vim.gtk3
설정할 것이 없습니다.
대체 항목 ex에 대해 (/usr/bin/ex 제공) 3개 선택이 있습니다.

  선택       경로              우선순▒ 상태
------------------------------------------------------------
* 0            /usr/bin/vim.gtk3    50        자동 모드
  1            /usr/bin/vim.basic   30        수동 모드
  2            /usr/bin/vim.gtk3    50        수동 모드
  3            /usr/bin/vim.tiny    15        수동 모드

Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in manual mode
대체 항목 fakeroot에 대해 (/usr/bin/fakeroot 제공) 2개 선택이 있습니다.

  선택       경로                  우선순▒ 상태
------------------------------------------------------------
* 0            /usr/bin/fakeroot-sysv   50        자동 모드
  1            /usr/bin/fakeroot-sysv   50        수동 모드
  2            /usr/bin/fakeroot-tcp    30        수동 모드

Press <enter> to keep the current choice[*], or type selection number:
There is only one alternative in link group from (providing /usr/bin/from): /usr/bin/bsd-from
설정할 것이 없습니다.
There is only one alternative in link group ftp (providing /usr/bin/ftp): /usr/bin/netkit-ftp
설정할 것이 없습니다.
There is only one alternative in link group gcc-arm-none-eabi-include (providing /usr/lib/arm-none-eabi/include): /usr/include/newlib
설정할 것이 없습니다.
There is only one alternative in link group gcc-arm-none-eabi-lib (providing /usr/lib/arm-none-eabi/lib): /usr/lib/arm-none-eabi/newlib
설정할 것이 없습니다.
There is only one alternative in link group gdm3.css (providing /usr/share/gnome-shell/theme/gdm3.css): /usr/share/gnome-shell/theme/ubuntu.css
설정할 것이 없습니다.
There is only one alternative in link group gnome-text-editor (providing /usr/bin/gnome-text-editor): /usr/bin/gedit
설정할 것이 없습니다.
대체 항목 gnome-www-browser에 대해 (/usr/bin/gnome-www-browser 제공) 2개 선택이 있습니다.

  선택       경로                         우선순▒ 상태
------------------------------------------------------------
* 0            /usr/bin/google-chrome-stable   200       자동 모드
  1            /usr/bin/firefox                40        수동 모드
  2            /usr/bin/google-chrome-stable   200       수동 모드

Press <enter> to keep the current choice[*], or type selection number:
There is only one alternative in link group google-chrome (providing /usr/bin/google-chrome): /usr/bin/google-chrome-stable
설정할 것이 없습니다.
There is only one alternative in link group gstreamer-codec-install (providing /usr/bin/gstreamer-codec-install): /usr/lib/packagekit/pk-gstreamer-install
설정할 것이 없습니다.
There is only one alternative in link group gview (providing /usr/bin/gview): /usr/bin/vim.gtk3
설정할 것이 없습니다.
There is only one alternative in link group gvim (providing /usr/bin/gvim): /usr/bin/vim.gtk3
설정할 것이 없습니다.
There is only one alternative in link group gvimdiff (providing /usr/bin/gvimdiff): /usr/bin/vim.gtk3
설정할 것이 없습니다.
There is only one alternative in link group identify (providing /usr/bin/identify): /usr/bin/identify-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group identify-im6 (providing /usr/bin/identify-im6): /usr/bin/identify-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group import (providing /usr/bin/import): /usr/bin/import-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group import-im6 (providing /usr/bin/import-im6): /usr/bin/import-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group infobrowser (providing /usr/bin/infobrowser): /usr/bin/info
설정할 것이 없습니다.
There is only one alternative in link group libblas.so.3-x86_64-linux-gnu (providing /usr/lib/x86_64-linux-gnu/libblas.so.3): /usr/lib/x86_64-linux-gnu/blas/libblas.so.3
설정할 것이 없습니다.
There is only one alternative in link group liblapack.so.3-x86_64-linux-gnu (providing /usr/lib/x86_64-linux-gnu/liblapack.so.3): /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3
설정할 것이 없습니다.
There is only one alternative in link group locate (providing /usr/bin/locate): /usr/bin/mlocate
설정할 것이 없습니다.
There is only one alternative in link group lzma (providing /usr/bin/lzma): /usr/bin/xz
설정할 것이 없습니다.
There is only one alternative in link group mogrify (providing /usr/bin/mogrify): /usr/bin/mogrify-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group mogrify-im6 (providing /usr/bin/mogrify-im6): /usr/bin/mogrify-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group montage (providing /usr/bin/montage): /usr/bin/montage-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group montage-im6 (providing /usr/bin/montage-im6): /usr/bin/montage-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group mt (providing /bin/mt): /bin/mt-gnu
설정할 것이 없습니다.
대체 항목 my.cnf에 대해 (/etc/mysql/my.cnf 제공) 2개 선택이 있습니다.

  선택       경로                      우선순▒ 상태
------------------------------------------------------------
* 0            /etc/mysql/mariadb.cnf       200       자동 모드
  1            /etc/mysql/mariadb.cnf       200       수동 모드
  2            /etc/mysql/my.cnf.fallback   100       수동 모드

Press <enter> to keep the current choice[*], or type selection number:
There is only one alternative in link group nc (providing /bin/nc): /bin/nc.openbsd
설정할 것이 없습니다.
대체 항목 newt-palette에 대해 (/etc/newt/palette 제공) 2개 선택이 있습니다.

  선택       경로                      우선순▒ 상태
------------------------------------------------------------
* 0            /etc/newt/palette.ubuntu     50        자동 모드
  1            /etc/newt/palette.original   20        수동 모드
  2            /etc/newt/palette.ubuntu     50        수동 모드

Press <enter> to keep the current choice[*], or type selection number:
대체 항목 pager에 대해 (/usr/bin/pager 제공) 2개 선택이 있습니다.

  선택       경로          우선순▒ 상태
------------------------------------------------------------
* 0            /bin/less        77        자동 모드
  1            /bin/less        77        수동 모드
  2            /bin/more        50        수동 모드

Press <enter> to keep the current choice[*], or type selection number:
There is only one alternative in link group pico (providing /usr/bin/pico): /bin/nano
설정할 것이 없습니다.
대체 항목 pinentry에 대해 (/usr/bin/pinentry 제공) 2개 선택이 있습니다.

  선택       경로                    우선순▒ 상태
------------------------------------------------------------
* 0            /usr/bin/pinentry-gnome3   90        자동 모드
  1            /usr/bin/pinentry-curses   50        수동 모드
  2            /usr/bin/pinentry-gnome3   90        수동 모드

Press <enter> to keep the current choice[*], or type selection number:
There is only one alternative in link group pinentry-x11 (providing /usr/bin/pinentry-x11): /usr/bin/pinentry-gnome3
설정할 것이 없습니다.
There is only one alternative in link group rcp (providing /usr/bin/rcp): /usr/bin/scp
설정할 것이 없습니다.
There is only one alternative in link group rgview (providing /usr/bin/rgview): /usr/bin/vim.gtk3
설정할 것이 없습니다.
There is only one alternative in link group rgvim (providing /usr/bin/rgvim): /usr/bin/vim.gtk3
설정할 것이 없습니다.
There is only one alternative in link group rlogin (providing /usr/bin/rlogin): /usr/bin/slogin
설정할 것이 없습니다.
There is only one alternative in link group rmt (providing /usr/sbin/rmt): /usr/sbin/rmt-tar
설정할 것이 없습니다.
There is only one alternative in link group rsh (providing /usr/bin/rsh): /usr/bin/ssh
설정할 것이 없습니다.
대체 항목 rview에 대해 (/usr/bin/rview 제공) 3개 선택이 있습니다.

  선택       경로              우선순▒ 상태
------------------------------------------------------------
* 0            /usr/bin/vim.gtk3    50        자동 모드
  1            /usr/bin/vim.basic   30        수동 모드
  2            /usr/bin/vim.gtk3    50        수동 모드
  3            /usr/bin/vim.tiny    15        수동 모드

Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in manual mode
대체 항목 rvim에 대해 (/usr/bin/rvim 제공) 2개 선택이 있습니다.

  선택       경로              우선순▒ 상태
------------------------------------------------------------
* 0            /usr/bin/vim.gtk3    50        자동 모드
  1            /usr/bin/vim.basic   30        수동 모드
  2            /usr/bin/vim.gtk3    50        수동 모드

Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in manual mode
There is only one alternative in link group stream (providing /usr/bin/stream): /usr/bin/stream-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group stream-im6 (providing /usr/bin/stream-im6): /usr/bin/stream-im6.q16
설정할 것이 없습니다.
There is only one alternative in link group tdbbackup (providing /usr/bin/tdbbackup): /usr/bin/tdbbackup.tdbtools
설정할 것이 없습니다.
There is only one alternative in link group telnet (providing /usr/bin/telnet): /usr/bin/telnet.netkit
설정할 것이 없습니다.
There is only one alternative in link group text.plymouth (providing /usr/share/plymouth/themes/text.plymouth): /usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth
설정할 것이 없습니다.
There is only one alternative in link group traceroute6 (providing /usr/bin/traceroute6): /usr/bin/traceroute6.iputils
설정할 것이 없습니다.
대체 항목 vi에 대해 (/usr/bin/vi 제공) 3개 선택이 있습니다.

  선택       경로              우선순▒ 상태
------------------------------------------------------------
* 0            /usr/bin/vim.gtk3    50        자동 모드
  1            /usr/bin/vim.basic   30        수동 모드
  2            /usr/bin/vim.gtk3    50        수동 모드
  3            /usr/bin/vim.tiny    15        수동 모드

Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in manual mode
대체 항목 view에 대해 (/usr/bin/view 제공) 4개 선택이 있습니다.

  선택       경로              우선순▒ 상태
------------------------------------------------------------
* 0            /usr/bin/vim.gtk3    50        자동 모드
  1            /usr/bin/mcview      25        수동 모드
  2            /usr/bin/vim.basic   30        수동 모드
  3            /usr/bin/vim.gtk3    50        수동 모드
  4            /usr/bin/vim.tiny    15        수동 모드

Press <enter> to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in manual mode
대체 항목 vim에 대해 (/usr/bin/vim 제공) 2개 선택이 있습니다.

  선택       경로              우선순▒ 상태
------------------------------------------------------------
* 0            /usr/bin/vim.gtk3    50        자동 모드
  1            /usr/bin/vim.basic   30        수동 모드
  2            /usr/bin/vim.gtk3    50        수동 모드

Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in manual mode
대체 항목 vimdiff에 대해 (/usr/bin/vimdiff 제공) 2개 선택이 있습니다.

  선택       경로              우선순▒ 상태
------------------------------------------------------------
* 0            /usr/bin/vim.gtk3    50        자동 모드
  1            /usr/bin/vim.basic   30        수동 모드
  2            /usr/bin/vim.gtk3    50        수동 모드

Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in manual mode
대체 항목 vtrgb에 대해 (/etc/vtrgb 제공) 2개 선택이 있습니다.

  선택       경로                        우선순▒ 상태
------------------------------------------------------------
* 0            /etc/console-setup/vtrgb       50        자동 모드
  1            /etc/console-setup/vtrgb       50        수동 모드
  2            /etc/console-setup/vtrgb.vga   20        수동 모드

Press <enter> to keep the current choice[*], or type selection number:
There is only one alternative in link group w (providing /usr/bin/w): /usr/bin/w.procps
설정할 것이 없습니다.
There is only one alternative in link group write (providing /usr/bin/write): /usr/bin/bsd-write
설정할 것이 없습니다.
대체 항목 x-cursor-theme에 대해 (/usr/share/icons/default/index.theme 제공) 7개 선택이 있습니다.

  선택       경로                                   우선순▒ 상태
------------------------------------------------------------
* 0            /usr/share/icons/DMZ-White/cursor.theme   100       자동 모드
  1            /etc/X11/cursors/core.theme               30        수동 모드
  2            /etc/X11/cursors/handhelds.theme          20        수동 모드
  3            /etc/X11/cursors/redglass.theme           20        수동 모드
  4            /etc/X11/cursors/whiteglass.theme         20        수동 모드
  5            /usr/share/icons/Adwaita/cursor.theme     90        수동 모드
  6            /usr/share/icons/DMZ-Black/cursor.theme   30        수동 모드
  7            /usr/share/icons/DMZ-White/cursor.theme   100       수동 모드

Press <enter> to keep the current choice[*], or type selection number:
There is only one alternative in link group x-session-manager (providing /usr/bin/x-session-manager): /usr/bin/gnome-session
설정할 것이 없습니다.
There is only one alternative in link group x-terminal-emulator (providing /usr/bin/x-terminal-emulator): /usr/bin/gnome-terminal.wrapper
설정할 것이 없습니다.
There is only one alternative in link group x-window-manager (providing /usr/bin/x-window-manager): /usr/bin/mutter
설정할 것이 없습니다.
대체 항목 x-www-browser에 대해 (/usr/bin/x-www-browser 제공) 2개 선택이 있습니다.

  선택       경로                         우선순▒ 상태
------------------------------------------------------------
* 0            /usr/bin/google-chrome-stable   200       자동 모드
  1            /usr/bin/firefox                40        수동 모드
  2            /usr/bin/google-chrome-stable   200       수동 모드

Press <enter> to keep the current choice[*], or type selection number:
falinux@falinux-730QCJ-730QCR:~/work/lse/wayvnc/src$

 

다시 찬찬히 보니 아래처럼 하면 간단히 해결 되었을 지도?

$ sudo update-alternatives --config vim

 

 

perf  라는 명령어 발견

[링크 : http:// https://velog.io/@mythos/Linux-Tutorial-11-커널-성능-측정-도구-perf]

[링크 : https://kernel.bz/boardPost/118679/8]

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

vi 이전 위치 다음 위치로 이동하기  (0) 2022.08.04
vim 색상 바꾸기(colorscheme)  (0) 2021.01.20
vi 에서 매칭되는 갯수 확인하기  (0) 2019.12.18
vi gg=G와 set ts  (0) 2019.07.04
vi 검색 취소하기  (0) 2019.06.04
Posted by 구차니
개소리 왈왈/컴퓨터2022. 7. 28. 10:05

회사돈으로 산 물건인데.. 드라이버를 설치해야 하고(mac, win 드라이버만 제공)

리부팅 해야지 올라오는데

 

장치관리자를 보니 MS idd Device?

L이 아니라 i 였나 보네..

 

The indirect display driver (IDD) model provides a simple user-mode driver model to support monitors that are not connected to traditional GPU display outputs. An example is a dongle connected to the PC via USB that has a regular (VGA, DVI, HDMI, DP, etc) monitor connected to it.

[링크 : https://docs.microsoft.com/en-us/windows-hardware/drivers/display/indirect-display-driver-model-overview]

 

indirectdisplaydriver0.dll 이라..

 

그래서 그런가 일반적인 VID PID로 들어가는 장치 식별자가 아닌 다른 형식으로 뜬다.

 

리눅스에서 연결해봐도 딱히 작동하는 느낌은 아닌데..

$ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 2: Dev 7, If 4, Class=Mass Storage, Driver=usb-storage, 480M
    |__ Port 2: Dev 7, If 2, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 2: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 480M
    |__ Port 2: Dev 7, If 3, Class=Vendor Specific Class, Driver=, 480M
    |__ Port 2: Dev 7, If 1, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 3: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
    |__ Port 5: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M
    |__ Port 6: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 6: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 10: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 10: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M

 

로그 상으로도 특별난 무언가가 출력되진 않네.. 뜯어 볼까?

$ dmesg
[74644.402692] usb 1-2: new high-speed USB device number 6 using xhci_hcd
[74644.551796] usb 1-2: New USB device found, idVendor=534d, idProduct=6021, bcdDevice= 1.10
[74644.551801] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[74644.551805] usb 1-2: Product: usb extscreen
[74644.551808] usb 1-2: Manufacturer: USB Display
[74644.551810] usb 1-2: SerialNumber: 2019BA7160B0
[74644.595442] hid-generic 0003:534D:6021.0006: hiddev0,hidraw3: USB HID v1.10 Device [USB Display  usb extscreen] on usb-0000:00:14.0-2/input0
[74644.595482] usbcore: registered new interface driver usbhid
[74644.595483] usbhid: USB HID core driver
[74644.599634] usbcore: registered new interface driver snd-usb-audio
[74649.671634] usb 1-2: USB disconnect, device number 6
[74649.672336] usb 1-2: cannot submit urb (err = -19)
[74649.672462] usb 1-2: cannot submit urb 0, error -19: no device
[74649.982673] usb 1-2: new high-speed USB device number 7 using xhci_hcd
[74650.132682] usb 1-2: New USB device found, idVendor=534d, idProduct=6021, bcdDevice= 1.10
[74650.132688] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[74650.132692] usb 1-2: Product: usb extscreen
[74650.132696] usb 1-2: Manufacturer: USB Display
[74650.132698] usb 1-2: SerialNumber: 2019BA7160B0
[74650.136168] hid-generic 0003:534D:6021.0007: hiddev0,hidraw3: USB HID v1.10 Device [USB Display  usb extscreen] on usb-0000:00:14.0-2/input0
[74650.182169] usb-storage 1-2:1.4: USB Mass Storage device detected
[74650.182506] scsi host0: usb-storage 1-2:1.4
[74650.182691] usbcore: registered new interface driver usb-storage
[74650.184820] usbcore: registered new interface driver uas
[74651.210545] scsi 0:0:0:0: Direct-Access     Hjwdz    MS2160           1.01 PQ: 0 ANSI: 2
[74651.211122] sd 0:0:0:0: Attached scsi generic sg0 type 0
[74651.211905] sd 0:0:0:0: [sda] 16368 512-byte logical blocks: (8.38 MB/7.99 MiB)
[74651.212271] sd 0:0:0:0: [sda] Write Protect is off
[74651.212274] sd 0:0:0:0: [sda] Mode Sense: 0c 05 00 08
[74651.212693] sd 0:0:0:0: [sda] No Caching mode page found
[74651.212699] sd 0:0:0:0: [sda] Assuming drive cache: write through
[74651.239096]  sda:
[74651.259690] sd 0:0:0:0: [sda] Attached SCSI removable disk

 

 

+

아무생각없이(?) 윈도우 트레이에 먼가 있어서 죽였더니 화면이 안나온다(아까는 1 devices 이런거 안뜸)

 

내부적으로는 3개 까지 붙일수 있는 칩인가?

 

+

22.08.01

 

ultrasemi 라는 업체가 나와서 찾아보니 먼가 나오긴 한데

USB HDMI 캡쳐 장비랑 동일한 macro silicon 이라는 칩이 나온다. 숫자가 다른 동일 브랜드(?) 칩이려나?

[링크 : http://www.ultrasemi.com/index.php/index.php]

[링크 : http://www.ultrasemi.com/usbdisplay/index.html]

Posted by 구차니