Created attachment 73006 [details] Dmesg when booting with docking station Vaio Z21 has a docking station, connected to the notebook using Thunderbold/Light Peak, which is, as far as i understand, it just PCIe. It contains a USB hub, a graphic card (Radeon), and I can see a network and a sound port. When booting with the docking station attacked, everything except for the graphic card works (see all the logs *_dock). When I then unplug it (see all the logs *_dock_undock) and replug it (see all the logs *_dock_undock_redock), nothing from the docking station works anymore, except for the power. When booting without it plugged in (see all logs *_nodock) and then plug it in (see all logs *_nodock_dock) nothing works except power. This bug is not about the graphic card not working. I thing I'll make a different bug for that, since I don't think it is connected. I will append the output of dmesg, lspci, and lspci -t for all situations. Notice that the pci-devices are not detected in the situations where things don't work.
Created attachment 73007 [details] Dmesg when booting with docking station, then undock
Created attachment 73008 [details] Dmesg when booting with docking station, then undock, then redock
Created attachment 73009 [details] Dmesg when booting without docking station
Created attachment 73010 [details] Dmesg when booting without docking station, then dock
Created attachment 73011 [details] lspci when booting with docking station
Created attachment 73012 [details] lspci when booting with docking station, then undock
Created attachment 73013 [details] lspci when booting with docking station, then undock, then redock
Created attachment 73014 [details] lspci when booting without docking station
Created attachment 73015 [details] lspci when booting without docking station, then dock
Created attachment 73016 [details] lspci -t when booting with docking station
Created attachment 73017 [details] lspci -t when booting with docking station, then undock
Created attachment 73018 [details] lspci -t when booting with docking station, then undock, then redock
Created attachment 73019 [details] lspci -t when booting without docking station
Created attachment 73020 [details] lspci -t when booting without docking station, then dock
Created attachment 92191 [details] Dock Debug Message Apply on top of Linus' git tree. Please test it by booting with the docking station, then undock and redock, thanks.
Hello Silvio, Sorry for the late reply and thanks for the detailed information provided. From the dmesg, ACPI got the notification on dock and undock, but the docking station didn't work as expected, i.e. when undock, devices don't go away; and when dock, devices don't appear. So it looks to me the _DCK control method of the docking station may have a problem. Please attach the full dmesg after redock with the above debug patch applied, thanks.
Hi, Yes everything works fine now (external graphic card and redocking of things). Once my system crashed when I unplugged it while X was running on the external graphic card (but i don't have time to reproduce that. Also there are some error messages in dmesg when i unplug it see attached dmesg. Thanks for your work. Silvio
Created attachment 92391 [details] still some error messages in dmesg
(In reply to comment #17) > Hi, > > Yes everything works fine now (external graphic card and redocking of > things). > Once my system crashed when I unplugged it while X was running on the > external > graphic card (but i don't have time to reproduce that. Also there are some > error messages in dmesg when i unplug it see attached dmesg. Thanks for your > work. This suggests that the new kernel can handle your docking station :-) BTW, did you apply the debug patch? I don't see any message from that patch... And your acpi table can also be helpful, so please attach it. # acpidump > acpi_table.out Thanks, Aaron
Problem gone on latest Linus' tree.
Hi Silvio, Can you please attach the output of acpidump? I want to take a look, thanks. # acpidump > acpidump.out