[Bug 1726299] Re: Apple Thunderbolt 2 to FireWire adapter not working
** Tags added: cscc -- 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 about this bug go to: https://bugs.launchpad.net/linux/+bug/1726299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1726299] Re: Apple Thunderbolt 2 to FireWire adapter not working
Launchpad has imported 15 comments from the remote bug at https://bugzilla.kernel.org/show_bug.cgi?id=189731. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2016-12-06T07:25:34+00:00 acelan wrote: Created attachment 246931 dmesg.log I use an Apple thunderbolt 3 to thunderbolt 2 adapter to connect Dell XPS 9360 and Apple thunderbolt monitor, but it doesn't work. The monitor doesn't power on nor flicker at all. (I've verified the adapter by MBP and the monitor, it works well) The dmesg shows the adapter is connected before powering up, and then unplug/re-plug the adapter. Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1726299/comments/0 On 2016-12-28T14:38:38+00:00 lukas wrote: According to the dmesg output the adapter only shows up as a USB device. On non-Macs the firmware is responsible for setting up PCI tunnels and DisplayPort tunnels over Thunderbolt. Apparently it doesn't do that for devices behind this adapter, so the firmware needs to be extended. Please ask Dell for a BIOS update. Best case they'll manage to get this working in collaboration with Intel engineers, worst case they'll respond that they don't support Apple's adapter. Mario Limonciello is an engineer at Dell who's worked on Thunderbolt compatibility. Amir Levy https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1726299/comments/1 On 2016-12-29T18:26:30+00:00 bhelgaas wrote: Thanks, Lukas. Help me understand the scenario here. It looks like the adapter was hot-added. If the firmware is responsible for configuring things behind the adapter, there must be a hook where firmware gets invoked. Is the ACPI Bus Check event that hook? Does that mean we must use acpiphp (not pciehp) to support these Thunderbolt devices? I'm trying to figure out if we can log more intelligent messages for this situation. The current stuff in dmesg is pretty hard to interpret. Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1726299/comments/2 On 2016-12-29T19:25:43+00:00 lukas wrote: (In reply to Bjorn Helgaas from comment #2) > Thanks, Lukas. Help me understand the scenario here. It looks like the > adapter was hot-added. In the dmesg output it can be seen that the adapter was present on boot, then unplugged and replugged. This is also what Acelan Kao wrote above. > If the firmware is responsible for configuring > things behind the adapter, there must be a hook where firmware gets invoked. > Is the ACPI Bus Check event that hook? Does that mean we must use acpiphp > (not pciehp) to support these Thunderbolt devices? I'm only familiar with the situation on Macs, where all of this happens natively: There's an EFI driver to configure tunnels to devices already attached on boot, and there's an OS driver which takes over after ExitBootServices. These drivers recognize when a Thunderbolt device is hotplugged and set up PCI- and DisplayPort-tunnels. Once a PCI-tunnel is set up, pciehp sees a hotplug event. It's important to understand this distinction because most people think Thunderbolt is just PCIe to external devices: It's a packet switching technology and one has to set up PCIe tunnels to actually communicate with devices. Think of it like an MPLS path. On non-Macs the tunnels are set up by a firmware component dubbed Intel Connection Manager which runs in System Management Mode. When a device is hotplugged, somehow an SCI occurs and the ICM code is executed. To the best of my knowledge, PCI devices are *not* handled by pciehp but by acpiphp. To make matters even more complicated, Macs newer than 2015 that are booted with Windows will reconfigure the Thunderbolt controller to be managed by ICM rather than natively. This is done by AML code in the DSDT, it writes to a number of MMIO registers of the Thunderbolt controller. All of this is almost completely undocumented. There's some introductory docs at Apple: https://developer.apple.com/library/content/documentation/HardwareDrivers/Conceptual/ThunderboltDevGuide/Basics/Basics.html Other than that I think the only public source are various Thunderbolt- related patents by Intel, Apple et al. > I'm trying to figure out > if we can log more intelligent messages for this situation. The current > stuff in dmesg is pretty hard to interpret. It's kind of hard to improve them as we know so little about all that. :-( Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1726299/comments/3 On
[Bug 1726299] Re: Apple Thunderbolt 2 to FireWire adapter not working
Since it appears to work with the above workaround, as far as I'm concerned this bug can be closed. -- 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 about this bug go to: https://bugs.launchpad.net/linux/+bug/1726299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1726299] Re: Apple Thunderbolt 2 to FireWire adapter not working
I can confirm that this is not fixed in kernel v4.15-rc1. I can see the device: --- $ cat /sys/bus/thunderbolt/devices/0-1/device_name Thunderbolt to FireWire Adapter --- .. but it doesn't show up in lspci, and it doesn't look like drivers can bind to it (I'm trying with libffado). Cold- or hotplugging makes no difference, the result is the same. ** Tags added: kernel-bug-exists-upstream ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- 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 about this bug go to: https://bugs.launchpad.net/linux/+bug/1726299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1726299] Re: Apple Thunderbolt 2 to FireWire adapter not working
Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.15 kernel[0]. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'. Once testing of the upstream kernel is complete, please mark this bug as "Confirmed". Thanks in advance. [0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15-rc1/ ** Changed in: linux (Ubuntu) Status: New => Incomplete ** Changed in: linux (Ubuntu) Importance: Undecided => Medium -- 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 about this bug go to: https://bugs.launchpad.net/linux/+bug/1726299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1726299] Re: Apple Thunderbolt 2 to FireWire adapter not working
** Package changed: ubuntu => linux (Ubuntu) ** Also affects: linux via https://bugzilla.kernel.org/show_bug.cgi?id=189731 Importance: Unknown Status: Unknown -- 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 about this bug go to: https://bugs.launchpad.net/linux/+bug/1726299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1726299] Re: Apple Thunderbolt 2 to FireWire adapter not working
It seems that the Thunderbolt 3 to 2 adapter is not supported: https://bugzilla.kernel.org/show_bug.cgi?id=189731 ** Bug watch added: Linux Kernel Bug Tracker #189731 https://bugzilla.kernel.org/show_bug.cgi?id=189731 -- 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 about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1726299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1726299] Re: Apple Thunderbolt 2 to FireWire adapter not working
$ sudo modprobe firewire_ohci $ lsmod | grep firewire firewire_ohci 40960 0 firewire_core 65536 1 firewire_ohci crc_itu_t 16384 1 firewire_core There is no output for 'lspci | grep -i FireWire' -- 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 about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1726299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1726299] Re: Apple Thunderbolt 2 to FireWire adapter not working
** Tags added: zesty -- 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 about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1726299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1726299] Re: Apple Thunderbolt 2 to FireWire adapter not working
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode. To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1726299/+editstatus and add the package name in the text box next to the word Package. [This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.] ** Tags added: bot-comment -- 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 about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1726299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs