머가 왜 되는지 신기해서 이것저것 보는데, 어떤 장치가 왜 연결되는지 모르겠다 -ㅁ-

[링크 : https://github.com/kjy00302/eo-ic100_radio]

[링크 : https://m.blog.naver.com/utilitybox/223042149444]

 

$ sudo dmesg -w
[   64.798018] usb 3-2: new full-speed USB device number 2 using xhci_hcd
[   64.975405] usb 3-2: New USB device found, idVendor=04e8, idProduct=a054, bcdDevice= 1.00
[   64.975428] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   64.975437] usb 3-2: Product: Samsung USB C Earphone
[   64.975443] usb 3-2: Manufacturer: bestechnic
[   64.975448] usb 3-2: SerialNumber: 20160406.1
[   65.017452] hid: raw HID events driver (C) Jiri Kosina
[   65.047496] usbcore: registered new interface driver usbhid
[   65.047504] usbhid: USB HID core driver
[   65.277789] usbcore: registered new interface driver snd-usb-audio
[   65.296227] input: bestechnic Samsung USB C Earphone as /devices/pci0000:00/0000:00:1c.1/0000:02:00.0/usb3/3-2/3-2:1.3/0003:04E8:A054.0001/input/input22
[   65.349307] hid-generic 0003:04E8:A054.0001: input,hidraw0: USB HID v1.11 Device [bestechnic Samsung USB C Earphone] on usb-0000:02:00.0-2/input3
[   65.349747] hid-generic 0003:04E8:A054.0002: hiddev0,hidraw1: USB HID v1.11 Device [bestechnic Samsung USB C Earphone] on usb-0000:02:00.0-2/input4

$ lsusb -v -d 04e8:a054

Bus 003 Device 002: ID 04e8:a054 Samsung Electronics Co., Ltd Samsung USB C Earphone
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x04e8 Samsung Electronics Co., Ltd
  idProduct          0xa054 
  bcdDevice            1.00
  iManufacturer           1 bestechnic
  iProduct                2 Samsung USB C Earphone
  iSerial                 3 20160406.1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0131
    bNumInterfaces          5
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x004e
        bInCollection           2
        baInterfaceNr(0)        1
        baInterfaceNr(1)        2
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID               1
        bControlSize            2
        bmaControls(0)     0x0003
          Mute Control
          Volume Control
        bmaControls(1)     0x0000
        bmaControls(2)     0x0000
        iFeature                6 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0402 Headset
        bAssocTerminal          0
        bSourceID               2
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             4
        wTerminalType      0x0402 Headset
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 5
        bSourceID               4
        bControlSize            2
        bmaControls(0)     0x0003
          Mute Control
          Volume Control
        bmaControls(1)     0x0000
        bmaControls(2)     0x0000
        iFeature                6 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             6
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               5
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           6
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes           13
          Transfer Type            Isochronous
          Synch Type               Synchronous
          Usage Type               Data
        wMaxPacketSize     0x00c0  1x 192 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            3 Discrete
        tSamFreq[ 0]        44100
        tSamFreq[ 1]        48000
        tSamFreq[ 2]        96000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes           13
          Transfer Type            Isochronous
          Synch Type               Synchronous
          Usage Type               Data
        wMaxPacketSize     0x0180  1x 384 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           3
        bBitResolution         24
        bSamFreqType            3 Discrete
        tSamFreq[ 0]        44100
        tSamFreq[ 1]        48000
        tSamFreq[ 2]        96000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes           13
          Transfer Type            Isochronous
          Synch Type               Synchronous
          Usage Type               Data
        wMaxPacketSize     0x0240  1x 576 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      77
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0003  1x 3 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      20
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0005  1x 5 bytes
        bInterval               1


/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/usb3/3-2/3-2:1.3/0003:04E8:A054.0001$ tree
.
├── country
├── driver -> ../../../../../../../../bus/hid/drivers/hid-generic
├── hidraw
│   └── hidraw0
│       ├── dev
│       ├── device -> ../../../0003:04E8:A054.0001
│       ├── 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
│   └── input22
│       ├── capabilities
│       │   ├── abs
│       │   ├── ev
│       │   ├── ff
│       │   ├── key
│       │   ├── led
│       │   ├── msc
│       │   ├── rel
│       │   ├── snd
│       │   └── sw
│       ├── device -> ../../../0003:04E8:A054.0001
│       ├── event16
│       │   ├── dev
│       │   ├── device -> ../../input22
│       │   ├── 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
├── report_descriptor
├── subsystem -> ../../../../../../../../bus/hid
└── uevent



$ sudo evtest /dev/input/event16
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x4e8 product 0xa054 version 0x111
Input device name: "bestechnic Samsung USB C Earphone"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 113 (KEY_MUTE)
    Event code 114 (KEY_VOLUMEDOWN)
    Event code 115 (KEY_VOLUMEUP)
    Event code 163 (KEY_NEXTSONG)
    Event code 164 (KEY_PLAYPAUSE)
    Event code 165 (KEY_PREVIOUSSONG)
    Event code 166 (KEY_STOPCD)
    Event code 168 (KEY_REWIND)
    Event code 208 (KEY_FASTFORWARD)
    Event code 248 (KEY_MICMUTE)
    Event code 582 (KEY_VOICECOMMAND)
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
Event: time 1788589334.244115, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00cd
Event: time 1788589334.244115, type 1 (EV_KEY), code 164 (KEY_PLAYPAUSE), value 1
Event: time 1788589334.244115, -------------- SYN_REPORT ------------
Event: time 1788589334.429070, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00cd
Event: time 1788589334.429070, type 1 (EV_KEY), code 164 (KEY_PLAYPAUSE), value 0
Event: time 1788589334.429070, -------------- SYN_REPORT ------------
Event: time 1788589335.602870, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00ea
Event: time 1788589335.602870, type 1 (EV_KEY), code 114 (KEY_VOLUMEDOWN), value 1
Event: time 1788589335.602870, -------------- SYN_REPORT ------------
Event: time 1788589335.795822, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00ea
Event: time 1788589335.795822, type 1 (EV_KEY), code 114 (KEY_VOLUMEDOWN), value 0
Event: time 1788589335.795822, -------------- SYN_REPORT ------------
Event: time 1788589338.034293, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00e9
Event: time 1788589338.034293, type 1 (EV_KEY), code 115 (KEY_VOLUMEUP), value 1
Event: time 1788589338.034293, -------------- SYN_REPORT ------------
Event: time 1788589338.192170, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00e9
Event: time 1788589338.192170, type 1 (EV_KEY), code 115 (KEY_VOLUMEUP), value 0
Event: time 1788589338.192170, -------------- SYN_REPORT ------------

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Earphone [Samsung USB C Earphone], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

$ aplay -L
hw:CARD=Earphone,DEV=0
    Samsung USB C Earphone, USB Audio
    Direct hardware device without any conversions
plughw:CARD=Earphone,DEV=0
    Samsung USB C Earphone, USB Audio
    Hardware device with all software conversions
sysdefault:CARD=Earphone
    Samsung USB C Earphone, USB Audio
    Default Audio Device
front:CARD=Earphone,DEV=0
    Samsung USB C Earphone, USB Audio
    Front output / input
surround21:CARD=Earphone,DEV=0
    Samsung USB C Earphone, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Earphone,DEV=0
    Samsung USB C Earphone, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Earphone,DEV=0
    Samsung USB C Earphone, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Earphone,DEV=0
    Samsung USB C Earphone, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Earphone,DEV=0
    Samsung USB C Earphone, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Earphone,DEV=0
    Samsung USB C Earphone, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Earphone,DEV=0
    Samsung USB C Earphone, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Earphone,DEV=0
    Samsung USB C Earphone, USB Audio
    Direct sample mixing device
usbstream:CARD=Earphone
    Samsung USB C Earphone
    USB Stream Output

 

 

bestechnic

https://olimp-z.ru/ma901

 

https://www.bestechnic.com/en/lists/23.html

'개소리 왈왈 > 모바일 생활' 카테고리의 다른 글

먼가 바쁘네, 중고폰 환불  (0) 2026.08.02
중고폰 지름  (0) 2026.08.01
요금제 변경 - 얼굴 인식 승질나네  (0) 2026.07.28
요금제 변경 완료  (0) 2026.01.30
요금제 변경 시도  (0) 2026.01.28
Posted by 구차니