lshw | grep -A10 -i USB

lshw | grep -A10 -i USB

我有一台 HP Pavilion Power 15-CB030NL,運行 Debian 10,核心 4.19.0-9-amd64。

以下是我的 2 個 GPU:

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 連接埠也停止工作!

我將在這裡粘貼一些有趣的輸出:

lshw | 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 連接埠插入或刪除任何內容,則不會發生任何情況。

LSSB

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

我還使用了外部華碩 ZenScreen MB16ACM 顯示器,它工作正常(因此只需使用 type-c 到 type-c 電纜,無需任何適配器)。現在,當我將其連接到筆記型電腦時,電源燈亮起,但它沒有「看到」它。我還嘗試了一個 type-c 轉 USB 適配器(帶有一個簡單的 USB 外部驅動程式),但 debian 根本沒有檢測到它。

我想知道是否應該在內核中啟用 CONFIG_TYPEC_DP_ALTMODE(CONFIG_TYPEC_DP_ALTMODE=m),但我不知道如何做到這一點。

更新

我發現如果我打開網路攝影機或使用 VMWare 進行虛擬化,type-c 連接埠就會停止工作。它會在一段時間後發生,例如 10-15 分鐘。我開始認為這與“省電”問題有關,但我停用了所有有關省電的設置,並且電源線始終打開。所以電腦也沒有電池電量不足。

相關內容