ㅋㅋㅋ grep -A10 -i USB

ㅋㅋㅋ grep -A10 -i USB

Debian 10, 커널 4.19.0-9-amd64가 설치된 HP Pavilion Power 15-CB030NL이 있습니다.

다음은 내 GPU 2개입니다.

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04) (prog-if 00 [VGA controller])
    Subsystem: Hewlett-Packard Company HD Graphics 630
    Flags: bus master, fast devsel, latency 0, IRQ 133
    Memory at b2000000 (64-bit, non-prefetchable) [size=16M]
    Memory at c0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at 5000 [size=64]
    [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: [40] Vendor Specific Information: Len=0c <?>
    Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
    Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [d0] Power Management version 2
    Capabilities: [100] Process Address Space ID (PASID)
    Capabilities: [200] Address Translation Service (ATS)
    Capabilities: [300] Page Request Interface (PRI)
    Kernel driver in use: i915
    Kernel modules: i915

01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev ff) (prog-if ff)
    !!! Unknown header type 7f
    Kernel modules: nvidia

나는 nvidia 드라이버를 설치하고 bumblebee를 사용하여 통합 인텔과 전용 nvidia 사이를 전환하더라도 이 노트북에서 HDMI가 작동하도록 만드는 방법을 결코 알지 못했습니다. 그러나 Type-C 포트(HDMI 어댑터 포함)를 사용하기 시작했고 모든 것이 잘 작동했습니다. 어느날 갑자기 외부 모니터로 노트북을 사용하던 중 검은색으로 변하고 Type-C 포트도 작동을 멈췄어요!

여기에 몇 가지 흥미로운 결과를 붙여넣겠습니다.

ㅋㅋㅋ grep -A10 -i USB

      capabilities: pci upgrade shadowing cdboot bootselect edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int9keyboard int10video acpi usb biosbootspecification uefi
 *-cpu
      description: CPU
      product: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
      vendor: Intel Corp.
      physical id: 4
      bus info: cpu@0
      version: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
      serial: To Be Filled By O.E.M.
      slot: U3E1
      size: 3339MHz
    *-usb
         description: USB controller
         product: Sunrise Point-H USB 3.0 xHCI Controller
         vendor: Intel Corporation
         physical id: 14
         bus info: pci@0000:00:14.0
         version: 31
         width: 64 bits
         clock: 33MHz
         capabilities: pm msi xhci bus_master cap_list
         configuration: driver=xhci_hcd latency=0
         resources: irq:132 memory:b4500000-b450ffff
       *-usbhost:0
            product: xHCI Host Controller
            vendor: Linux 4.19.0-9-amd64 xhci-hcd
            physical id: 0
            bus info: usb@1
            logical name: usb1
            version: 4.19
            capabilities: usb-2.00
            configuration: driver=hub slots=16 speed=480Mbit/s
          *-usb:0
               description: Keyboard
               product: USB Keyboard
               vendor: Logitech
               physical id: 2
               bus info: usb@1:2
               version: 79.00
               capabilities: usb-1.10
               configuration: driver=usbhid maxpower=98mA speed=1Mbit/s
          *-usb:1
               description: Mouse
               product: USB Optical Mouse
               vendor: Logitech
               physical id: 3
               bus info: usb@1:3
               version: 72.00
               capabilities: usb-2.00
               configuration: driver=usbhid maxpower=100mA speed=1Mbit/s
          *-usb:2
               description: Video
               product: HP Wide Vision HD Camera
               vendor: Chicony
               physical id: 4
               bus info: usb@1:4
               version: 32.22
               capabilities: usb-2.00
               configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
          *-usb:3
               description: Bluetooth wireless interface
               vendor: Intel Corp.
               physical id: 7
               bus info: usb@1:7
               version: 0.03
               capabilities: bluetooth usb-2.00
               configuration: driver=btusb maxpower=100mA speed=12Mbit/s
       *-usbhost:1
            product: xHCI Host Controller
            vendor: Linux 4.19.0-9-amd64 xhci-hcd
            physical id: 1
            bus info: usb@2
            logical name: usb2
            version: 4.19
            capabilities: usb-3.00
            configuration: driver=hub slots=8 speed=5000Mbit/s
    *-generic:1
         description: Signal processing controller
         product: Sunrise Point-H Thermal subsystem
         vendor: Intel Corporation
         physical id: 14.2
         bus info: pci@0000:00:14.2
         version: 31
         width: 64 bits
         clock: 33MHz

--

# tail -f /var/log/kern.log에서 type-c 포트에 무엇이든 삽입하거나 제거하면 아무 일도 일어나지 않습니다.

lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 8087:0a2a Intel Corp. 
Bus 001 Device 004: ID 04f2:b5d6 Chicony Electronics Co., Ltd 
Bus 001 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 002: ID 046d:c326 Logitech, Inc. Washable Keyboard K310
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

고양이 /boot/config-4.19.0-8-amd64 | grep TYPEC

CONFIG_TYPEC=m
CONFIG_TYPEC_TCPM=m
# CONFIG_TYPEC_TCPCI is not set
# CONFIG_TYPEC_RT1711H is not set
CONFIG_TYPEC_FUSB302=m
CONFIG_TYPEC_UCSI=m
CONFIG_TYPEC_TPS6598X=m
# CONFIG_TYPEC_MUX_PI3USB30532 is not set
# CONFIG_TYPEC_DP_ALTMODE is not set

외부 Asus ZenScreen MB16ACM 모니터도 사용 중이었고 제대로 작동했습니다(따라서 어댑터 없이 type-c-type-c 케이블을 사용하기만 하면 됩니다). 이제 노트북에 연결하면 전원 표시등이 켜지지만 "보이지" 않습니다. 또한 간단한 USB 외부 드라이버를 사용하여 Type-C-USB 어댑터를 사용해 보았지만 데비안에서는 전혀 감지되지 않습니다.

커널에서 CONFIG_TYPEC_DP_ALTMODE를 활성화해야 하는지(CONFIG_TYPEC_DP_ALTMODE=m) 궁금하지만 어떻게 해야 할지 모르겠습니다.

업데이트

웹캠을 켜거나 VMWare로 가상화하면 type-c 포트가 작동하지 않는다는 것을 알았습니다. 10~15분 정도 후에 발생합니다. '절전' 문제인 줄 알았는데, 절전에 관한 모든 설정을 비활성화했고, 전원 케이블은 항상 켜져 있었습니다. 따라서 PC도 배터리가 부족하지 않습니다.

관련 정보