'프로그램 사용'에 해당되는 글 2289건

  1. 2025.04.02 gnuradio dvb-t
  2. 2025.03.21 vlc 화면 돌리기
  3. 2025.03.05 wireshark logging
  4. 2025.03.04 mariaDB 설치 실패
  5. 2025.02.23 kvm sr-iov nic
  6. 2025.02.21 libinput 디버깅 유틸리티
  7. 2025.02.18 mosquitto for windows 계정추가
  8. 2025.02.18 mosquitto service for windows
  9. 2025.02.15 iperf3 jumbo packet?
  10. 2025.02.10 iperf 파일로 바로바로 떨궈서 tail로 보기

dvb-t 는 있으니.. 이걸 잘 구워삶으면(!) dmb도 볼 수 있으려나?

대충 소스를 보기에는 gnuradio 모듈 자체를 생성해서 빌드해버리는 느낌인데

gnu radio의 gui를 통해 할 순 없으려나?

 

[링크 : https://github.com/BogdanDIA/gr-dvbt]

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

openwebrx  (0) 2024.09.06
gnu radio를 이용한 커스텀 gqrx 만들기  (0) 2024.09.06
pulseaudio error : access denied  (0) 2024.08.26
gqrx, gnu radio, rfcat  (0) 2024.08.21
rtl sdr 다중 채널 디코딩  (0) 2022.08.30
Posted by 구차니
프로그램 사용/VLC2025. 3. 21. 11:47

와.. 이런게 있었다니!!

vlc를 또 찬양할 수 밖에!!!

 

도구 - 효과 및 필터

 

비디오 효과 - 변환(체크)

 

[링크 : https://www.animaker.com/hub/rotate-video-in-vlc/]

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

vlc 간편 녹화  (0) 2022.08.01
http vlc protocol  (0) 2018.11.30
vlc for windows / ascii art ㅋㅋㅋ  (0) 2016.11.22
vlc 옵션 -vvv  (0) 2015.09.15
dash with VLC  (0) 2015.09.11
Posted by 구차니

tshark나 dumpcap 으로 캡쳐할때 용량이나 캡쳐 시간으로 잘라서, logrotate 하듯이 용량 초과하지 않게 캡쳐 가능한 듯.

SEE ALSO
       wireshark(1), tshark(1), editcap(1), mergecap(1), capinfos(1), pcap(3),
       pcap-filter(7) or tcpdump(8)

 

dumpcap -ni 1 -w c:\temp\phone_problem.pcap -b duration:1200 -b files:5

[링크 : https://osqa-ask.wireshark.org/questions/21323/monitor-247-but-retain-only-15-minutes/]

Posted by 구차니

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

mariadb msec 단위 시간 얻기  (0) 2022.08.31
mariadb 초기설정  (0) 2022.08.30
mariadb c# connector  (0) 2021.10.22
HeidiSQL  (2) 2021.08.18
sql zerofill  (0) 2019.11.25
Posted by 구차니

kvm 에서 sr-iov를 지원하는 nic 설정하는 방법

 

[링크 : https://hopulence.tistory.com/m/3]

 

 

 

'프로그램 사용 > kvm(virt-manager)' 카테고리의 다른 글

중첩가상화  (0) 2023.06.16
kvm cpuinfo proc hide  (0) 2020.01.19
kvm ubuntu Xorg cpu 100% 문제  (0) 2019.10.10
kvm/qemu 로그 위치  (0) 2019.10.07
kvm core 을 guest에 할당하기(affinity)  (0) 2019.08.28
Posted by 구차니
프로그램 사용/wayland2025. 2. 21. 12:27

USB HID class 확인을 위해서 /sys/class 라던가 온갖데 찾아봐도 답이 없어서

검색하다가 바로 똭!! 아니 저번에 개고생 할 때 찾았더라면... -_ㅠ

 

우분투에서 아래의 패키지를 설치하고 libinput 이라는 유틸리티를 실행하면 된다.

$ sudo apt install libinput-tools
$ sudo libinput list-devices

[링크 : https://wayland.freedesktop.org/libinput/doc/latest/tools.html]

 

+

명령을 실행해서 확인해보면 Capabilites 라고 해서 이 장치에 적용된 기능이 뜬다.

pointer 어우... 얘가 날 잡는구만

Device:           eGalax Inc. eGalaxTouch P80H84 0900 v12 k4.18.200
Kernel:           /dev/input/event23
Group:            5
Seat:             seat0, default
Size:             245x182mm
Capabilities:     touch 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      identity matrix
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a
Device:           eGalax Inc. eGalaxTouch EXC3188-3374-08.00.00.00 LSE 19"
Kernel:           /dev/input/event23
Group:            5
Seat:             seat0, default
Size:             292x228mm
Capabilities:     touch 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      identity matrix
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a
  Device:           eGalax Inc. eGalaxTouch EXC3188-3374-08.00.00.00 LSE 19" UNKNOWN
Kernel:           /dev/input/event24
Group:            5
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      identity matrix
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

 

----------------

회사 노트북에서 하면 아래와 같이 표현되는데

$ sudo libinput list-devices
Device:           Power Button
Kernel:           /dev/input/event2
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Video Bus
Kernel:           /dev/input/event17
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Power Button
Kernel:           /dev/input/event1
Group:            3
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Lid Switch
Kernel:           /dev/input/event0
Group:            4
Seat:             seat0, default
Capabilities:     switch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Usb KeyBoard Usb KeyBoard
Kernel:           /dev/input/event4
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Usb KeyBoard Usb KeyBoard Consumer Control
Kernel:           /dev/input/event6
Group:            5
Seat:             seat0, default
Capabilities:     keyboard pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Usb KeyBoard Usb KeyBoard System Control
Kernel:           /dev/input/event14
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Logitech USB Optical Mouse
Kernel:           /dev/input/event7
Group:            6
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           ELAN0B00:00 04F3:3136 Mouse
Kernel:           /dev/input/event5
Group:            7
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   *button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           ELAN0B00:00 04F3:3136 Touchpad
Kernel:           /dev/input/event13
Group:            7
Seat:             seat0, default
Size:             98x58mm
Capabilities:     pointer gesture
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    *button-areas clickfinger 
Disable-w-typing: enabled
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           WCOM0111:00 2D1F:010D Stylus
Kernel:           /dev/input/event9
Group:            8
Seat:             seat0, default
Size:             294x165mm
Capabilities:     tablet 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      identity matrix
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   none
Rotation:         n/a

Device:           WCOM0111:00 2D1F:010D
Kernel:           /dev/input/event10
Group:            8
Seat:             seat0, default
Size:             294x165mm
Capabilities:     tablet 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   none
Rotation:         n/a

Device:           ELAN902C:00 04F3:2AC2
Kernel:           /dev/input/event8
Group:            9
Seat:             seat0, default
Size:             284x160mm
Capabilities:     touch 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      identity matrix
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Intel HID events
Kernel:           /dev/input/event11
Group:            10
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Intel HID 5 button array
Kernel:           /dev/input/event12
Group:            11
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           AT Translated Set 2 keyboard
Kernel:           /dev/input/event3
Group:            12
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

 

sysfs 에서도 있는걸 보면.. 나중에 소스 뜯어서 capabilies만 봐도 어떤기능인게 알게 되려나?

/sys/class/hidraw/hidraw1/device$ tree 
.
├── country
├── driver -> ../../../../../../../bus/hid/drivers/hid-multitouch
├── hidraw
│   └── hidraw1
│       ├── dev
│       ├── device -> ../../../0018:04F3:2AC2.0002
│       ├── power
│       │   ├── async
│       │   ├── autosuspend_delay_ms
│       │   ├── control
│       │   ├── runtime_active_kids
│       │   ├── runtime_active_time
│       │   ├── runtime_enabled
│       │   ├── runtime_status
│       │   ├── runtime_suspended_time
│       │   └── runtime_usage
│       ├── subsystem -> ../../../../../../../../../class/hidraw
│       └── uevent
├── input
│   ├── input23
│   │   ├── capabilities
│   │   │   ├── abs
│   │   │   ├── ev
│   │   │   ├── ff
│   │   │   ├── key
│   │   │   ├── led
│   │   │   ├── msc
│   │   │   ├── rel
│   │   │   ├── snd
│   │   │   └── sw
│   │   ├── device -> ../../../0018:04F3:2AC2.0002
│   │   ├── event8
│   │   │   ├── dev
│   │   │   ├── device -> ../../input23
│   │   │   ├── power
│   │   │   │   ├── async
│   │   │   │   ├── autosuspend_delay_ms
│   │   │   │   ├── control
│   │   │   │   ├── runtime_active_kids
│   │   │   │   ├── runtime_active_time
│   │   │   │   ├── runtime_enabled
│   │   │   │   ├── runtime_status
│   │   │   │   ├── runtime_suspended_time
│   │   │   │   └── runtime_usage
│   │   │   ├── subsystem -> ../../../../../../../../../../class/input
│   │   │   └── uevent
│   │   ├── id
│   │   │   ├── bustype
│   │   │   ├── product
│   │   │   ├── vendor
│   │   │   └── version
│   │   ├── inhibited
│   │   ├── modalias
│   │   ├── mouse5
│   │   │   ├── dev
│   │   │   ├── device -> ../../input23
│   │   │   ├── power
│   │   │   │   ├── async
│   │   │   │   ├── autosuspend_delay_ms
│   │   │   │   ├── control
│   │   │   │   ├── runtime_active_kids
│   │   │   │   ├── runtime_active_time
│   │   │   │   ├── runtime_enabled
│   │   │   │   ├── runtime_status
│   │   │   │   ├── runtime_suspended_time
│   │   │   │   └── runtime_usage
│   │   │   ├── subsystem -> ../../../../../../../../../../class/input
│   │   │   └── uevent
│   │   ├── name
│   │   ├── phys
│   │   ├── power
│   │   │   ├── async
│   │   │   ├── autosuspend_delay_ms
│   │   │   ├── control
│   │   │   ├── runtime_active_kids
│   │   │   ├── runtime_active_time
│   │   │   ├── runtime_enabled
│   │   │   ├── runtime_status
│   │   │   ├── runtime_suspended_time
│   │   │   └── runtime_usage
│   │   ├── properties
│   │   ├── subsystem -> ../../../../../../../../../class/input
│   │   ├── uevent
│   │   └── uniq
│   ├── input24
│   │   ├── capabilities
│   │   │   ├── abs
│   │   │   ├── ev
│   │   │   ├── ff
│   │   │   ├── key
│   │   │   ├── led
│   │   │   ├── msc
│   │   │   ├── rel
│   │   │   ├── snd
│   │   │   └── sw
│   │   ├── device -> ../../../0018:04F3:2AC2.0002
│   │   ├── event15
│   │   │   ├── dev
│   │   │   ├── device -> ../../input24
│   │   │   ├── power
│   │   │   │   ├── async
│   │   │   │   ├── autosuspend_delay_ms
│   │   │   │   ├── control
│   │   │   │   ├── runtime_active_kids
│   │   │   │   ├── runtime_active_time
│   │   │   │   ├── runtime_enabled
│   │   │   │   ├── runtime_status
│   │   │   │   ├── runtime_suspended_time
│   │   │   │   └── runtime_usage
│   │   │   ├── subsystem -> ../../../../../../../../../../class/input
│   │   │   └── uevent
│   │   ├── id
│   │   │   ├── bustype
│   │   │   ├── product
│   │   │   ├── vendor
│   │   │   └── version
│   │   ├── inhibited
│   │   ├── modalias
│   │   ├── name
│   │   ├── phys
│   │   ├── power
│   │   │   ├── async
│   │   │   ├── autosuspend_delay_ms
│   │   │   ├── control
│   │   │   ├── runtime_active_kids
│   │   │   ├── runtime_active_time
│   │   │   ├── runtime_enabled
│   │   │   ├── runtime_status
│   │   │   ├── runtime_suspended_time
│   │   │   └── runtime_usage
│   │   ├── properties
│   │   ├── subsystem -> ../../../../../../../../../class/input
│   │   ├── uevent
│   │   └── uniq
│   └── input25
│       ├── capabilities
│       │   ├── abs
│       │   ├── ev
│       │   ├── ff
│       │   ├── key
│       │   ├── led
│       │   ├── msc
│       │   ├── rel
│       │   ├── snd
│       │   └── sw
│       ├── device -> ../../../0018:04F3:2AC2.0002
│       ├── event16
│       │   ├── dev
│       │   ├── device -> ../../input25
│       │   ├── power
│       │   │   ├── async
│       │   │   ├── autosuspend_delay_ms
│       │   │   ├── control
│       │   │   ├── runtime_active_kids
│       │   │   ├── runtime_active_time
│       │   │   ├── runtime_enabled
│       │   │   ├── runtime_status
│       │   │   ├── runtime_suspended_time
│       │   │   └── runtime_usage
│       │   ├── subsystem -> ../../../../../../../../../../class/input
│       │   └── uevent
│       ├── id
│       │   ├── bustype
│       │   ├── product
│       │   ├── vendor
│       │   └── version
│       ├── inhibited
│       ├── modalias
│       ├── name
│       ├── phys
│       ├── power
│       │   ├── async
│       │   ├── autosuspend_delay_ms
│       │   ├── control
│       │   ├── runtime_active_kids
│       │   ├── runtime_active_time
│       │   ├── runtime_enabled
│       │   ├── runtime_status
│       │   ├── runtime_suspended_time
│       │   └── runtime_usage
│       ├── properties
│       ├── subsystem -> ../../../../../../../../../class/input
│       ├── uevent
│       └── uniq
├── modalias
├── power
│   ├── async
│   ├── autosuspend_delay_ms
│   ├── control
│   ├── runtime_active_kids
│   ├── runtime_active_time
│   ├── runtime_enabled
│   ├── runtime_status
│   ├── runtime_suspended_time
│   └── runtime_usage
├── quirks
├── report_descriptor
├── subsystem -> ../../../../../../../bus/hid
└── uevent

 

/sys/class/hidraw/hidraw5/device/input$ tree
.
├── input17
│   ├── capabilities
│   │   ├── abs
│   │   ├── ev
│   │   ├── ff
│   │   ├── key
│   │   ├── led
│   │   ├── msc
│   │   ├── rel
│   │   ├── snd
│   │   └── sw
│   ├── device -> ../../../0018:04F3:3136.0001
│   ├── event5
│   │   ├── dev
│   │   ├── device -> ../../input17
│   │   ├── power
│   │   │   ├── async
│   │   │   ├── autosuspend_delay_ms
│   │   │   ├── control
│   │   │   ├── runtime_active_kids
│   │   │   ├── runtime_active_time
│   │   │   ├── runtime_enabled
│   │   │   ├── runtime_status
│   │   │   ├── runtime_suspended_time
│   │   │   └── runtime_usage
│   │   ├── subsystem -> ../../../../../../../../../../class/input
│   │   └── uevent
│   ├── id
│   │   ├── bustype
│   │   ├── product
│   │   ├── vendor
│   │   └── version
│   ├── inhibited
│   ├── modalias
│   ├── mouse0
│   │   ├── dev
│   │   ├── device -> ../../input17
│   │   ├── power
│   │   │   ├── async
│   │   │   ├── autosuspend_delay_ms
│   │   │   ├── control
│   │   │   ├── runtime_active_kids
│   │   │   ├── runtime_active_time
│   │   │   ├── runtime_enabled
│   │   │   ├── runtime_status
│   │   │   ├── runtime_suspended_time
│   │   │   └── runtime_usage
│   │   ├── subsystem -> ../../../../../../../../../../class/input
│   │   └── uevent
│   ├── name
│   ├── phys
│   ├── power
│   │   ├── async
│   │   ├── autosuspend_delay_ms
│   │   ├── control
│   │   ├── runtime_active_kids
│   │   ├── runtime_active_time
│   │   ├── runtime_enabled
│   │   ├── runtime_status
│   │   ├── runtime_suspended_time
│   │   └── runtime_usage
│   ├── properties
│   ├── subsystem -> ../../../../../../../../../class/input
│   ├── uevent
│   └── uniq
└── input19
    ├── capabilities
    │   ├── abs
    │   ├── ev
    │   ├── ff
    │   ├── key
    │   ├── led
    │   ├── msc
    │   ├── rel
    │   ├── snd
    │   └── sw
    ├── device -> ../../../0018:04F3:3136.0001
    ├── event13
    │   ├── dev
    │   ├── device -> ../../input19
    │   ├── power
    │   │   ├── async
    │   │   ├── autosuspend_delay_ms
    │   │   ├── control
    │   │   ├── runtime_active_kids
    │   │   ├── runtime_active_time
    │   │   ├── runtime_enabled
    │   │   ├── runtime_status
    │   │   ├── runtime_suspended_time
    │   │   └── runtime_usage
    │   ├── subsystem -> ../../../../../../../../../../class/input
    │   └── uevent
    ├── id
    │   ├── bustype
    │   ├── product
    │   ├── vendor
    │   └── version
    ├── inhibited
    ├── modalias
    ├── mouse1
    │   ├── dev
    │   ├── device -> ../../input19
    │   ├── power
    │   │   ├── async
    │   │   ├── autosuspend_delay_ms
    │   │   ├── control
    │   │   ├── runtime_active_kids
    │   │   ├── runtime_active_time
    │   │   ├── runtime_enabled
    │   │   ├── runtime_status
    │   │   ├── runtime_suspended_time
    │   │   └── runtime_usage
    │   ├── subsystem -> ../../../../../../../../../../class/input
    │   └── uevent
    ├── name
    ├── phys
    ├── power
    │   ├── async
    │   ├── autosuspend_delay_ms
    │   ├── control
    │   ├── runtime_active_kids
    │   ├── runtime_active_time
    │   ├── runtime_enabled
    │   ├── runtime_status
    │   ├── runtime_suspended_time
    │   └── runtime_usage
    ├── properties
    ├── subsystem -> ../../../../../../../../../class/input
    ├── uevent
    └── uniq

 

/sys/class/hidraw$ ll
합계 0
drwxr-xr-x  2 root root 0  2월 18 10:45 ./
drwxr-xr-x 89 root root 0  2월 18 10:45 ../
lrwxrwxrwx  1 root root 0  2월 21 05:32 hidraw0 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4.2/1-3.4.2:1.0/0003:C0F4:07F5.000B/hidraw/hidraw0/
lrwxrwxrwx  1 root root 0  2월 18 10:45 hidraw1 -> ../../devices/pci0000:00/0000:00:19.0/i2c_designware.2/i2c-3/i2c-ELAN902C:00/0018:04F3:2AC2.0002/hidraw/hidraw1/
lrwxrwxrwx  1 root root 0  2월 18 10:45 hidraw2 -> ../../devices/pci0000:00/0000:00:15.2/i2c_designware.1/i2c-2/i2c-WCOM0111:00/0018:2D1F:010D.0003/hidraw/hidraw2/
lrwxrwxrwx  1 root root 0  2월 18 10:45 hidraw3 -> ../../devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8087:0AC2.0004/hidraw/hidraw3/
lrwxrwxrwx  1 root root 0  2월 18 10:45 hidraw4 -> ../../devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8087:0AC2.0005/hidraw/hidraw4/
lrwxrwxrwx  1 root root 0  2월 18 10:45 hidraw5 -> ../../devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0B00:00/0018:04F3:3136.0001/hidraw/hidraw5/
lrwxrwxrwx  1 root root 0  2월 21 05:32 hidraw6 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4.2/1-3.4.2:1.1/0003:C0F4:07F5.000C/hidraw/hidraw6/
lrwxrwxrwx  1 root root 0  2월 18 10:45 hidraw7 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4.3/1-3.4.3:1.0/0003:046D:C077.0008/hidraw/hidraw7/

 

$ ls -al  /sys/class/input
drwxr-xr-x  2 root root 0  2월 18 10:45 .
drwxr-xr-x 89 root root 0  2월 18 10:45 ..
lrwxrwxrwx  1 root root 0  2월 21 11:53 event0 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0/event0
lrwxrwxrwx  1 root root 0  2월 21 11:53 event1 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1
lrwxrwxrwx  1 root root 0  2월 18 10:45 event10 -> ../../devices/pci0000:00/0000:00:15.2/i2c_designware.1/i2c-2/i2c-WCOM0111:00/0018:2D1F:010D.0003/input/input12/event10
lrwxrwxrwx  1 root root 0  2월 18 10:45 event11 -> ../../devices/platform/INT33D5:00/input/input14/event11
lrwxrwxrwx  1 root root 0  2월 18 10:45 event12 -> ../../devices/platform/INT33D5:00/input/input15/event12
lrwxrwxrwx  1 root root 0  2월 18 10:45 event13 -> ../../devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0B00:00/0018:04F3:3136.0001/input/input19/event13
lrwxrwxrwx  1 root root 0  2월 21 11:53 event14 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4.2/1-3.4.2:1.1/0003:C0F4:07F5.000C/input/input38/event14
lrwxrwxrwx  1 root root 0  2월 18 10:45 event15 -> ../../devices/pci0000:00/0000:00:19.0/i2c_designware.2/i2c-3/i2c-ELAN902C:00/0018:04F3:2AC2.0002/input/input24/event15
lrwxrwxrwx  1 root root 0  2월 18 10:45 event16 -> ../../devices/pci0000:00/0000:00:19.0/i2c_designware.2/i2c-3/i2c-ELAN902C:00/0018:04F3:2AC2.0002/input/input25/event16
lrwxrwxrwx  1 root root 0  2월 18 10:45 event17 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input27/event17
lrwxrwxrwx  1 root root 0  2월 18 10:45 event18 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input28/event18
lrwxrwxrwx  1 root root 0  2월 18 10:45 event19 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input29/event19
lrwxrwxrwx  1 root root 0  2월 21 11:53 event2 -> ../../devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2
lrwxrwxrwx  1 root root 0  2월 18 10:45 event20 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input30/event20
lrwxrwxrwx  1 root root 0  2월 18 10:45 event21 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input31/event21
lrwxrwxrwx  1 root root 0  2월 18 10:45 event22 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input32/event22
lrwxrwxrwx  1 root root 0  2월 21 11:53 event3 -> ../../devices/platform/i8042/serio0/input/input3/event3
lrwxrwxrwx  1 root root 0  2월 21 11:53 event4 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4.2/1-3.4.2:1.0/0003:C0F4:07F5.000B/input/input36/event4
lrwxrwxrwx  1 root root 0  2월 18 10:45 event5 -> ../../devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0B00:00/0018:04F3:3136.0001/input/input17/event5
lrwxrwxrwx  1 root root 0  2월 21 11:53 event6 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4.2/1-3.4.2:1.1/0003:C0F4:07F5.000C/input/input37/event6
lrwxrwxrwx  1 root root 0  2월 18 10:45 event7 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4.3/1-3.4.3:1.0/0003:046D:C077.0008/input/input22/event7
lrwxrwxrwx  1 root root 0  2월 18 10:45 event8 -> ../../devices/pci0000:00/0000:00:19.0/i2c_designware.2/i2c-3/i2c-ELAN902C:00/0018:04F3:2AC2.0002/input/input23/event8
lrwxrwxrwx  1 root root 0  2월 18 10:45 event9 -> ../../devices/pci0000:00/0000:00:15.2/i2c_designware.1/i2c-2/i2c-WCOM0111:00/0018:2D1F:010D.0003/input/input11/event9
lrwxrwxrwx  1 root root 0  2월 21 11:53 input0 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
lrwxrwxrwx  1 root root 0  2월 21 11:53 input1 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
lrwxrwxrwx  1 root root 0  2월 18 10:45 input11 -> ../../devices/pci0000:00/0000:00:15.2/i2c_designware.1/i2c-2/i2c-WCOM0111:00/0018:2D1F:010D.0003/input/input11
lrwxrwxrwx  1 root root 0  2월 18 10:45 input12 -> ../../devices/pci0000:00/0000:00:15.2/i2c_designware.1/i2c-2/i2c-WCOM0111:00/0018:2D1F:010D.0003/input/input12
lrwxrwxrwx  1 root root 0  2월 18 10:45 input14 -> ../../devices/platform/INT33D5:00/input/input14
lrwxrwxrwx  1 root root 0  2월 18 10:45 input15 -> ../../devices/platform/INT33D5:00/input/input15
lrwxrwxrwx  1 root root 0  2월 18 10:45 input17 -> ../../devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0B00:00/0018:04F3:3136.0001/input/input17
lrwxrwxrwx  1 root root 0  2월 18 10:45 input19 -> ../../devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0B00:00/0018:04F3:3136.0001/input/input19
lrwxrwxrwx  1 root root 0  2월 21 11:53 input2 -> ../../devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
lrwxrwxrwx  1 root root 0  2월 18 10:45 input22 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4.3/1-3.4.3:1.0/0003:046D:C077.0008/input/input22
lrwxrwxrwx  1 root root 0  2월 18 10:45 input23 -> ../../devices/pci0000:00/0000:00:19.0/i2c_designware.2/i2c-3/i2c-ELAN902C:00/0018:04F3:2AC2.0002/input/input23
lrwxrwxrwx  1 root root 0  2월 18 10:45 input24 -> ../../devices/pci0000:00/0000:00:19.0/i2c_designware.2/i2c-3/i2c-ELAN902C:00/0018:04F3:2AC2.0002/input/input24
lrwxrwxrwx  1 root root 0  2월 18 10:45 input25 -> ../../devices/pci0000:00/0000:00:19.0/i2c_designware.2/i2c-3/i2c-ELAN902C:00/0018:04F3:2AC2.0002/input/input25
lrwxrwxrwx  1 root root 0  2월 18 10:45 input27 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input27
lrwxrwxrwx  1 root root 0  2월 18 10:45 input28 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input28
lrwxrwxrwx  1 root root 0  2월 18 10:45 input29 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input29
lrwxrwxrwx  1 root root 0  2월 21 11:53 input3 -> ../../devices/platform/i8042/serio0/input/input3
lrwxrwxrwx  1 root root 0  2월 18 10:45 input30 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input30
lrwxrwxrwx  1 root root 0  2월 18 10:45 input31 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input31
lrwxrwxrwx  1 root root 0  2월 18 10:45 input32 -> ../../devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input32
lrwxrwxrwx  1 root root 0  2월 21 11:53 input36 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4.2/1-3.4.2:1.0/0003:C0F4:07F5.000B/input/input36
lrwxrwxrwx  1 root root 0  2월 21 11:53 input37 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4.2/1-3.4.2:1.1/0003:C0F4:07F5.000C/input/input37
lrwxrwxrwx  1 root root 0  2월 21 11:53 input38 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4.2/1-3.4.2:1.1/0003:C0F4:07F5.000C/input/input38
lrwxrwxrwx  1 root root 0  2월 21 11:53 mice -> ../../devices/virtual/input/mice
lrwxrwxrwx  1 root root 0  2월 18 10:45 mouse0 -> ../../devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0B00:00/0018:04F3:3136.0001/input/input17/mouse0
lrwxrwxrwx  1 root root 0  2월 18 10:45 mouse1 -> ../../devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0B00:00/0018:04F3:3136.0001/input/input19/mouse1
lrwxrwxrwx  1 root root 0  2월 18 10:45 mouse2 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4.3/1-3.4.3:1.0/0003:046D:C077.0008/input/input22/mouse2
lrwxrwxrwx  1 root root 0  2월 18 10:45 mouse3 -> ../../devices/pci0000:00/0000:00:15.2/i2c_designware.1/i2c-2/i2c-WCOM0111:00/0018:2D1F:010D.0003/input/input11/mouse3
lrwxrwxrwx  1 root root 0  2월 18 10:45 mouse4 -> ../../devices/pci0000:00/0000:00:15.2/i2c_designware.1/i2c-2/i2c-WCOM0111:00/0018:2D1F:010D.0003/input/input12/mouse4
lrwxrwxrwx  1 root root 0  2월 18 10:45 mouse5 -> ../../devices/pci0000:00/0000:00:19.0/i2c_designware.2/i2c-3/i2c-ELAN902C:00/0018:04F3:2AC2.0002/input/input23/mouse5

 

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

weston evdev libinput  (0) 2024.03.11
weston 커서 숨기기  (0) 2024.02.26
wayland hdmi - touch 연결  (0) 2023.09.08
wayland atomic commit 패치?  (0) 2022.08.22
weston screen shooter 뜯어보기  (0) 2022.08.17
Posted by 구차니

결국은(?) password_file을 지정해서 mosquitto_passwd 명령을 통해 계정을 추가해주면 끝 인듯

 

1. password.txt 이름으로 비어있는 파일을 생성하여 Mosquitto가 설치된 폴더에 저장
2. 계정 추가
C:\mosquitto>mosquitto_passwd -b password.txt admin password

3. mosquitto.conf 파일 수정
allow_anonymous false
password_file C:\Program Files\mosquitto\password.txt

[링크 : https://hays99.tistory.com/189]

[링크 : https://mosquitto.org/man/mosquitto_passwd-1.html]

 

+

2025.02.21

"Program Files" 때문에 공백이 있어서 "로 묶어 줘야 할 줄 알았는데, 해주면 안되도록 구현이 되어있나 보다.

C:\Program Files\mosquitto>mosquitto -c mosquitto.conf -v
1740101165: mosquitto version 2.0.20 starting
1740101165: Config loaded from mosquitto.conf.
1740101165: Error: Unable to open pwfile ""C:\Program Files\mosquitto\password.txt"".
1740101165: Error opening password file ""C:\Program Files\mosquitto\password.txt"".

 

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

mosquitto service for windows  (0) 2025.02.18
ubuntu MQTT(mosquito)  (0) 2024.05.23
mosquitto - MQTT broker  (0) 2019.05.15
Posted by 구차니

공식 다운로드는 아래인데

[링크 : https://mosquitto.org/download/]

 

받아도 방화벽 설정은 하나도 안되고 내부에서만 허용되는 설정으로 설치가 된다.

그러니 외부 접속이 필요하면 아래 내용을 참고하여 인바운드 1883/tcp를 허용해주어야 한다.

[링크 : https://velog.io/@foxiq/MQTT-사용]

 

윈도우 64bit로 설치했을 경우 C:\Program Files\mosquitto\mosquitto.conf 에 설정 파일이 저장된다.

굳이 listener 1883 0.0.0.0 으로 해주진 않아도 외부 접속을 허용하게 되는 것으로 보인다.

# =================================================================
# Listeners
# =================================================================

# Listen on a port/ip address combination. By using this variable
# multiple times, mosquitto can listen on more than one port. If
# this variable is used and neither bind_address nor port given,
# then the default listener will not be started.
# The port number to listen on must be given. Optionally, an ip
# address or host name may be supplied as a second argument. In
# this case, mosquitto will attempt to bind the listener to that
# address and so restrict access to the associated network and
# interface. By default, mosquitto will listen on all interfaces.
# Note that for a websockets listener it is not possible to bind to a host
# name.
#
# On systems that support Unix Domain Sockets, it is also possible
# to create a # Unix socket rather than opening a TCP socket. In
# this case, the port number should be set to 0 and a unix socket
# path must be provided, e.g.
# listener 0 /tmp/mosquitto.sock
#
# listener port-number [ip address/host name/unix socket path]
#listener
listener 1883
allow_anonymous true

 

+

2025.02.21

포트를 바꿀 경우 -p 로 바꾸어 주고

다른 서버일 경우 -h ip를 추가해주면 된다.

C:\Program Files\mosquitto>mosquitto_sub -p 27839 -t topic -u username -P password

 

C:\Program Files\mosquitto>mosquitto_pub  -p 27839 -t MY -u username -P password -m asdf

+

 

allow_anonymous true가 없으면 아래 에러가 발생한다.

Connection error: Connection Refused: not authorised.

 

전체 테스트 과정은 아래와 같다.

윈도우 (서버) 다른 PC/linux (클라이언트)
1. 프로그램 설치  
2. 방화벽 설정  
3. conf 파일 수정 및 서비스 재기동  
4. client 접속
C:\Program Files\mosquitto>mosquitto_sub.exe -t MY_TOPIC
4. client 접속
$ mosquitto_sub -v -h 192.168.0.11 -t MY_TOPIC
5. publish
C:\Program Files\mosquitto>mosquitto_pub.exe -t MY_TOPIC -m HELLO
 
  6. 메시지 확인
HELLO

-v 시에는
MY_TOPIC HELLO

 

---

Just edit Mosquitto configuration file ( /etc/mosquitto/conf.d/mosquitto.conf ) adding these lines...
allow_anonymous true
listener 1883 0.0.0.0

[링크 : https://stackoverflow.com/questions/24556160/mosquitto-client-obtain-refused-connection]

[링크 : https://iotmaker.kr/2021/08/23/mosquitto-remote-access-for-windows/]

[링크 : https://blog.naver.com/loyz/222654739136]

[링크 : https://pros2.tistory.com/137]

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

mosquitto for windows 계정추가  (0) 2025.02.18
ubuntu MQTT(mosquito)  (0) 2024.05.23
mosquitto - MQTT broker  (0) 2019.05.15
Posted by 구차니
프로그램 사용/iperf2025. 2. 15. 13:23

iperf3 자체에서는  jumbo packet을 설정하는게 아니라

ifconfig를 통해 jumbo packet 크기로 MTU를 설정하면 된다.(1500 이상)

[링크 : http://www.packetinside.com/2012/03/jumbo-frame.html]

 

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

iperf 파일로 바로바로 떨궈서 tail로 보기  (0) 2025.02.10
iperf3  (0) 2023.07.28
iperf udp 테스트  (0) 2022.03.14
iperf로 100M 랜 / IEEE1394 대역폭 측정  (2) 2011.12.07
iperf - 대역폭 측정  (0) 2009.10.22
Posted by 구차니
프로그램 사용/iperf2025. 2. 10. 16:03

chatGPT 에게 물어보니 stdbuf라는걸 쓰라고

-o0 (소문자 오, 숫자 영) 을 하면 버퍼링 하지 않고 바로 보낸다.

 

stdbuf - Run COMMAND, with modified buffering operations for its standard streams.

Run COMMAND, with modified buffering operations for its standard streams.
Mandatory arguments to long options are mandatory for short options too.

-i, --input=MODE
Adjust standard input stream buffering
-o, --output=MODE
Adjust standard output stream buffering
-e, --error=MODE
Adjust standard error stream buffering
--help
display this help and exit
--version
output version information and exit
If MODE is 'L' the corresponding stream will be line buffered. This option is invalid with standard input.

If MODE is '0' the corresponding stream will be unbuffered.

[링크 : https://linux.die.net/man/1/stdbuf]

[링크 : https://blog.naver.com/5bpa/130167020787]

[링크 : https://knight76.tistory.com/entry/쉘에서-pipe-사용시-빨리-실행을-하도록-지원-stdbuf]

 

 

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

iperf3 jumbo packet?  (0) 2025.02.15
iperf3  (0) 2023.07.28
iperf udp 테스트  (0) 2022.03.14
iperf로 100M 랜 / IEEE1394 대역폭 측정  (2) 2011.12.07
iperf - 대역폭 측정  (0) 2009.10.22
Posted by 구차니