[Bug 1726299]

2018-09-03 Thread whitequark
Created attachment 278257 USB PD trace I've sniffed the USB PD communication (see attachment) that happens when the adapter is plugged in. It goes as follows: -> REQ Disc Ident SVID:0xff00 <- ACK Disc Ident SVID:0xff00 VDO:0x6c0005ac VDO:0x VDO:0x16570348 VDO:100a (this carries the U

[Bug 1726299]

2018-09-03 Thread whitequark
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 sup

[Bug 1726299]

2018-09-03 Thread whitequark
Created attachment 278265 UCSI trace It looks like on XPS13, the UCSI notifications are broken. Attached is a ftrace log that shows what happens if I enable UCSI tracing, plug in the device, insmod ucsi_acpi, then remove the device, then plug it back in. The ACPI notification works, but after the

[Bug 1726299]

2018-09-01 Thread whitequark
Created attachment 278223 adapter firmware (TI TPS65983) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1726299 Title: Apple Thunderbolt 2 to FireWire adapter not working To manage notifications abo

[Bug 1726299]

2018-09-01 Thread whitequark
OK, I desoldered the flash and dumped the firmware. The chip is indeed a remarked TPS65983 (possibly TPS65983B, it's not entirely clear) and out of the 1 MiB flash capacity, slightly less than 70 KiB is used by the firmware. Which is still not very small but could be manageable. I've attached the f