From owner-freebsd-usb@freebsd.org Sat Feb 29 09:23:41 2020 Return-Path: Delivered-To: freebsd-usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 87E6C259CB3 for ; Sat, 29 Feb 2020 09:23:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48V1DY3CWqz3PDf for ; Sat, 29 Feb 2020 09:23:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 44998259CB2; Sat, 29 Feb 2020 09:23:41 +0000 (UTC) Delivered-To: usb@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 44463259CB1 for ; Sat, 29 Feb 2020 09:23:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48V1DY0t71z3PD9 for ; Sat, 29 Feb 2020 09:23:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B950718A3B for ; Sat, 29 Feb 2020 09:23:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01T9NeIF040334 for ; Sat, 29 Feb 2020 09:23:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01T9NeUI040325 for usb@FreeBSD.org; Sat, 29 Feb 2020 09:23:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 244517] Thinkpad X1 tablet 3rd gen: USB-C does not work Date: Sat, 29 Feb 2020 09:23:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Mathias.Picker@virtual-earth.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Feb 2020 09:23:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244517 Bug ID: 244517 Summary: Thinkpad X1 tablet 3rd gen: USB-C does not work Product: Base System Version: 12.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: Mathias.Picker@virtual-earth.de I and a friend have Thinkpad X1 Tablets and the USB-C connectors are not working. Nothing happens when a usb memory stick is inserted, nothing is shown in dm= esg. Loading through USB-C works fine. USB-A works fine. I'm running: uname -a FreeBSD Danton 12.1-STABLE FreeBSD 12.1-STABLE r356939 GENERIC amd64 Any help would be apreciated. Thanks, Mathias More Info: The output of usbconfig stays the same with or without something connected = to USB-C usbconfig show_ifdrv ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER (5= .0Gbps) pwr=3DSAVE (0mA) ugen0.1.0: uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> ugen1.1: <0x8086 XHCI root HUB> at usbus1, cfg=3D0 md=3DHOST spd=3DSUPER (5= .0Gbps) pwr=3DSAVE (0mA) ugen1.1.0: uhub1: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3DHI= GH (480Mbps) pwr=3DSAVE (0mA) ugen0.2.0: uhub2: ugen0.3: at usbus0, cfg=3D0 md=3DHOST sp= d=3DHIGH (480Mbps) pwr=3DON (500mA) ugen0.3.2: uaudio0: ugen0.4: at usbus0, cfg=3D0 md=3DHOST spd=3D= FULL (12Mbps) pwr=3DON (100mA) ugen0.4.0: ukbd0: ugen0.4.1: uhid0: ugen0.5: at usbus0, cfg=3D0 md=3DHOST spd= =3DFULL (12Mbps) pwr=3DON (200mA) ugen0.5.0: ums0: ugen0.5.1: ukbd1: ugen0.6: at usbus0, cfg=3D0 md=3DHOST spd=3D= FULL (12Mbps) pwr=3DON (100mA) ugen0.7: at usbus0, cfg=3D0 md=3DHOST spd= =3DHIGH (480Mbps) pwr=3DON (500mA) ugen0.8: at usbus0, cfg=3D0 md=3DHOST spd=3D= FULL (12Mbps) pwr=3DON (100mA) ugen0.9: at usbus0, cfg=3D0 md= =3DHOST spd=3DFULL (12Mbps) pwr=3DON (400mA) ugen0.10: at usbus0, cfg=3D0 md=3DHOST spd=3DS= UPER (5.0Gbps) pwr=3DSAVE (0mA) ugen0.10.0: uhub3: ugen0.11: at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER (5.= 0Gbps) pwr=3DON (200mA) ugen0.11.0: umass0: This is my dmesg: ---<>--- Copyright (c) 1992-2020 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.1-STABLE r356939 GENERIC amd64 FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) VT(efifb): resolution 2560x1440 CPU: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (1992.08-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x806ea Family=3D0x6 Model=3D0x8e Steppi= ng=3D10 =20 Features=3D0xbfebfbff =20 Features2=3D0x7ffafbbf AMD Features=3D0x2c100800 AMD Features2=3D0x121 Structured Extended Features=3D0x29c67af Structured Extended Features3=3D0x9c000000 XSAVE Features=3D0xf VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory =3D 17179869184 (16384 MB) avail memory =3D 16358600704 (15600 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 hardware threads random: unblocking device. ioapic0 irqs 0-119 on motherboard Launching APs: 1 3 4 6 7 5 2 Timecounter "TSC" frequency 1992079213 Hz quality 1000 Cuse v0.1.36 @ /dev/cuse random: entropy device external interface 000.000020 [4336] netmap_init netmap: loaded module [ath_hal] loaded module_register_init: MOD_LOAD (vesa, 0xffffffff8114d130, 0) error 19 random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" kbd1 at kbdmux0 nexus0 efirtc0: on motherboard efirtc0: registered as a time-of-day clock, resolution 1.000000s cryptosoft0: on motherboard aesni0: on motherboard acpi0: on motherboard acpi_ec0: port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) unknown: memory range not supported cpu0: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 24000000 Hz quality 950 Event timer "HPET" frequency 24000000 Hz quality 550 atrtc0: port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xe000-0xe03f mem 0x2fe0000000-0x2fe0ffffff,0x2fc0000000-0x2fdfffffff at device 2.0 on pci0 acpi_video0: on vgapci0 vgapci0: Boot video device pci0: at device 19.0 (no driver attached) xhci0: mem 0x2fe1010000-0x2fe101ffff at device 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 pci0: at device 22.0 (no driver attached) pcib1: at device 28.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcib2: at device 28.2 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) pcib3: at device 28.4 on pci0 pci3: on pcib3 nvme0: mem 0xec200000-0xec203fff at device 0.0 on pci3 pcib4: at device 29.0 on pci0 pcib4: [GIANT-LOCKED] pci4: on pcib4 pcib5: at device 0.0 on pci4 pci5: on pcib5 pcib6: at device 0.0 on pci5 pci6: on pcib6 pcib7: at device 1.0 on pci5 pcib7: [GIANT-LOCKED] pcib8: at device 2.0 on pci5 pci7: on pcib8 xhci1: mem 0xec000000-0xec00ffff at dev= ice 0.0 on pci7 xhci1: 32 bytes context size, 64-bit DMA usbus1 on xhci1 usbus1: 5.0Gbps Super Speed USB v3.0 pcib9: at device 4.0 on pci5 pcib9: [GIANT-LOCKED] isab0: at device 31.0 on pci0 isa0: on isab0 pci0: at device 31.2 (no driver attached) hdac0: mem 0x2fe1028000-0x2fe102bfff,0x2fe1000000-0x2fe100ffff at device 31.3 on pci0 em0: mem 0xec500000-0xec51ffff at de= vice 31.6 on pci0 em0: Using 1024 TX descriptors and 1024 RX descriptors em0: Using an MSI interrupt em0: Ethernet address: 48:2a:e3:1a:da:58 em0: netmap queues/slots: TX 1/1024, RX 1/1024 acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 acpi_ibm0: on acpi0 acpi_ibm0: Firmware version is 0x200 acpi_acad0: on acpi0 battery0: on acpi0 est0: on cpu0 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec ugen0.1: <0x8086 XHCI root HUB> at usbus0 ugen1.1: <0x8086 XHCI root HUB> at usbus1 uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 uhub1: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1 nvd0: NVMe namespace nvd0: 976762MB (2000409264 512 byte sectors) hdacc0: at cad 0 on hdac0 GEOM_ELI: Device nvd0p4.eli created. hdaa0: GEOM_ELI: Encryption: AES-XTS 256 GEOM_ELI: Crypto: hardware at nid 1 on hdacc0 pcm0: at nid 20 and 18 on hdaa0 pcm1: at nid 33 and 25 on hdaa0 hdacc1: at cad 2 on hdac0 hdaa1: at nid 1 on hdacc1 pcm2: at nid 3 on hdaa1 Trying to mount root from zfs:zroot/ROOT/default []... Root mount waiting for: usbus0 usbus1 CAM uhub1: 4 ports with 4 removable, self powered uhub0: 18 ports with 18 removable, self powered Root mount waiting for: usbus0 ugen0.2: at usbus0 uhub2 on uhub0 uhub2: on us= bus0 uhub2: MTT enabled uhub2: 4 ports with 4 removable, self powered Root mount waiting for: usbus0 ugen0.3: at usbus0 Root mount waiting for: usbus0 ugen0.4: at usbus0 ukbd0 on uhub2 ukbd0: on usbus0 kbd2 at ukbd0 ugen0.5: at usbus0 ukbd1 on uhub2 ukbd1: on usbus0 kbd3 at ukbd1 Root mount waiting for: usbus0 ugen0.6: at usbus0 Root mount waiting for: usbus0 ugen0.7: at usbus0 ugen0.8: at usbus0 Root mount waiting for: usbus0 ugen0.9: at usbus0 Root mount waiting for: usbus0 ugen0.10: at usbus0 uhub3 on uhub0 uhub3: on usbus0 uhub3: 4 ports with 4 removable, self powered Root mount waiting for: usbus0 ugen0.11: at usbus0 umass0 on uhub0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks =3D 0x4000 umass0:0:0: Attached to scbus0 (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 = 00 00=20 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid fi= eld in CDB) (probe0:umass-sim0:0:0:0): Error 22, Unretryable error da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Removable Direct Access SPC-4 SCSI device da0: Serial Number 28203008282014000 da0: 400.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da0: quirks=3D0x2 GEOM_ELI: Device nvd0p3.eli created. GEOM_ELI: Encryption: AES-XTS 128 GEOM_ELI: Crypto: hardware drmn0: on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io [drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19). Failed to add WC MTRR for [0x2fc0000000-0x2fdfffffff]: -22; performance may suffer [drm] Got stolen memory base 0xaa800000, size 0x2000000 [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [drm] Driver supports precise vblank timestamp query. [drm] Connector eDP-1: get mode from tunables: [drm] - kern.vt.fb.modes.eDP-1 [drm] - kern.vt.fb.default_mode [drm] Connector DP-1: get mode from tunables: [drm] - kern.vt.fb.modes.DP-1 [drm] - kern.vt.fb.default_mode [drm] Connector HDMI-A-1: get mode from tunables: [drm] - kern.vt.fb.modes.HDMI-A-1 [drm] - kern.vt.fb.default_mode [drm] Connector DP-2: get mode from tunables: [drm] - kern.vt.fb.modes.DP-2 [drm] - kern.vt.fb.default_mode [drm] Connector HDMI-A-2: get mode from tunables: [drm] - kern.vt.fb.modes.HDMI-A-2 [drm] - kern.vt.fb.default_mode [drm] Initialized i915 1.6.0 20171222 for drmn0 on minor 0 VT: Replacing driver "efifb" with new "fb". start FB_INFO: type=3D11 height=3D1440 width=3D2560 depth=3D32 cmsize=3D16 size=3D32763904 pbase=3D0x2fc0040000 vbase=3D0xfffffe0094e40000 name=3Ddrmn0 flags=3D0x0 stride=3D15168 bpp=3D32 cmap[0]=3D0 cmap[1]=3D7f0000 cmap[2]=3D7f00 cmap[3]=3Dc4a000 end FB_INFO drmn0: fb0: inteldrmfb frame buffer device drmn0: successfully loaded firmware image with name: i915/kbl_dmc_ver1_04.b= in [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4) lo0: link state changed to UP hdacc1: Unexpected unsolicited response with tag 63: ffffffff hdacc1: Unexpected unsolicited response with tag 63: ffffffff ig4iic0: mem 0x2fe102e000-0x2fe102efff at device 21.0 on pci0 ig4iic0: Using MSI iicbus0: on ig4iic0 iwm0: mem 0xec400000-0xec401fff at de= vice 0.0 on pci1 iwm0: hw rev 0x230, fw ver 22.361476.0, address 18:1d:ea:16:cc:77 uaudio0 on uhub2 uaudio0: on usbus0 uaudio0: No playback. uaudio0: Record: 32000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record: 24000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: No MIDI sequencer. pcm3: on uaudio0 uaudio0: No HID volume keys found. uhid0 on uhub2 uhid0: on usbus0 ums0 on uhub2 ums0: on usbus0 ums0: 8 buttons and [XYZT] coordinates ID=3D1 wmt0 on uhub0 wmt0: on usbus0 wmt0: 16 contacts and [C]. Report range [0:0] - [12372:6960] wmt0: 10 feature report contactsuhid1 on uhub0 uhid1: on usbus0 wmt0: at uhub0, port 10, addr 8 (disconnected) wmt0: detached uhid1: at uhub0, port 10, addr 8 (disconnected) uhid1: detached wlan0: Ethernet address: 18:1d:ea:16:cc:77 wlan0: link state changed to UP bridge0: Ethernet address: 02:19:47:22:6e:00 bridge0: changing name to 'vm-public' em0: promiscuous mode enabled vm-public: link state changed to UP Security policy loaded: MAC/ntpd (mac_ntpd) --=20 You are receiving this mail because: You are the assignee for the bug.=