Created attachment 278267 UCSI altmode support patch The previous comment isn't entirely correct. UCSI notifications are broken, but the command failure I quoted has nothing to do with it, it was just an artefact. I do not know why they are broken.
It looks like the Linux UCSI driver does not support alternate modes. I wrote a patch against kernel tag 4.17 (attached) that adds support for requesting and setting alternate modes, if advertised by UCSI. It's hacky (more than one MID per SVID is probably broken, and activating modes via port partner sysfs node doesn't work) but it's sufficient for testing. Here's what I get in dmesg with the patch when plugging in the adapter: [856816.978580] ucsi_acpi USBC000:00: con1: found port altmode 8087:00000001 [856816.978606] ucsi_acpi USBC000:00: con1: found port altmode ff01:00001c46 [856817.128092] ucsi_acpi USBC000:00: con1: found port altmode 413c:00000001 [856817.282308] ucsi_acpi USBC000:00: con1: in altmode index 0 [856818.277557] ucsi_acpi USBC000:00: con1: found partner altmode 8087:00000001 It looks like the USB PD controller in XPS13 ignores the 05ac SVID in the ACK Disc PD message, and doesn't even try to request the altmode list for that SVID. This makes sense, because it doesn't support any Apple-specific altmodes. I'm now looking into reflashing the adapter such that it would advertise some SVID:MID pair that is recognized by XPS13. I don't actually know if there's any; if you know what other Thunderbolt adapters use, please share. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1726299 Title: Apple Thunderbolt 2 to FireWire adapter not working Status in Linux: Confirmed Status in linux package in Ubuntu: Confirmed Bug description: The adapter is connected through an Apple Thunderbolt 3 to Thunderbolt 2 adapter. Ubuntu seems not to recognize the Firewire adapter. lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 17.04 Release: 17.04 Codename: zesty uname -r 4.10.0-19-generic sudo lshw -short H/W-Pfad Gerät Klasse Beschreibung =============================================================== system Z170N-Gaming 5 (Default string) /0 bus Z170N-Gaming 5 /0/0 memory 64KiB BIOS /0/3d memory 16GiB Systemspeicher /0/3d/0 memory 8GiB DIMM DDR4 Synchron 2133 MHz (0,5 ns) /0/3d/1 memory Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>POT-Creatio /0/3d/2 memory 8GiB DIMM DDR4 Synchron 2133 MHz (0,5 ns) /0/3d/3 memory Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>POT-Creatio /0/43 memory 128KiB L1 Cache /0/44 memory 512KiB L2 Cache /0/45 memory 3MiB L3 Cache /0/46 processor Intel(R) Core(TM) i3-6100T CPU @ 3.20GHz /0/100 bridge Skylake Host Bridge/DRAM Registers /0/100/1 bridge Skylake PCIe Controller (x16) /0/100/1/0 display Oland GL [FirePro W2100] /0/100/1/0.1 multimedia Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] /0/100/14 bus Sunrise Point-H USB 3.0 xHCI Controller /0/100/14/0 usb1 bus xHCI Host Controller /0/100/14/0/6 input USB Gaming Keyboard /0/100/14/0/d communication Bluetooth-Schnittstelle /0/100/14/1 usb2 bus xHCI Host Controller /0/100/14/1/5 scsi6 storage Storage Media /0/100/14/1/5/0.0.0 /dev/sdb disk 15GB Storage Media /0/100/14/1/5/0.0.0/0 /dev/sdb disk 15GB /0/100/14/1/5/0.0.0/0/2 /dev/sdb2 volume 15EiB Windows FAT Laufwerk /0/100/16 communication Sunrise Point-H CSME HECI #1 /0/100/17 storage Sunrise Point-H SATA controller [AHCI mode] /0/100/1b bridge Sunrise Point-H PCI Root Port #17 /0/100/1b.2 bridge Sunrise Point-H PCI Root Port #19 /0/100/1b.3 bridge Sunrise Point-H PCI Root Port #20 /0/100/1c bridge Sunrise Point-H PCI Express Root Port #1 /0/100/1c/0 bridge DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] /0/100/1c/0/0 bridge DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] /0/100/1c/0/1 bridge DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] /0/100/1c/0/2 bridge DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] /0/100/1c/0/2/0 bus DSL6540 USB 3.1 Controller [Alpine Ridge] /0/100/1c/0/2/0/0 usb3 bus xHCI Host Controller /0/100/1c/0/2/0/0/1 generic Thunderbolt 3 (USB-C) to Thunderbolt 2 Adapter /0/100/1c/0/2/0/0/2 input USB Optical Mouse /0/100/1c/0/2/0/1 usb4 bus xHCI Host Controller /0/100/1c/0/4 bridge DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] /0/100/1c.2 bridge Sunrise Point-H PCI Express Root Port #3 /0/100/1c.3 bridge Sunrise Point-H PCI Express Root Port #4 /0/100/1c.4 bridge Sunrise Point-H PCI Express Root Port #5 /0/100/1c.4/0 enp13s0 network Killer E2400 Gigabit Ethernet Controller /0/100/1c.5 bridge Sunrise Point-H PCI Express Root Port #6 /0/100/1c.5/0 wlp14s0 network Wireless 8260 /0/100/1c.6 bridge Sunrise Point-H PCI Express Root Port #7 /0/100/1c.7 bridge Sunrise Point-H PCI Express Root Port #8 /0/100/1d bridge Sunrise Point-H PCI Express Root Port #9 /0/100/1f bridge Sunrise Point-H LPC Controller /0/100/1f.2 memory Memory controller /0/100/1f.3 multimedia Sunrise Point-H HD Audio /0/100/1f.4 bus Sunrise Point-H SMBus /0/1 scsi4 storage /0/1/0.0.0 /dev/sda disk 480GB TOSHIBA-TR150 /0/1/0.0.0/1 /dev/sda1 volume 511MiB Windows FAT Laufwerk /0/1/0.0.0/2 /dev/sda2 volume 438GiB EXT4-Laufwerk /0/1/0.0.0/3 /dev/sda3 volume 8068MiB Linux swap Laufwerk /1 To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1726299/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp