librecore-org / librecore

GNU General Public License v2.0
88 stars 10 forks source link

[t400/t500] Dock is broken #15

Open ghost opened 7 years ago

ghost commented 7 years ago

On the Lenovo T400 and T500, the Advanced Mini Dock hardly works. Only charging and VGA / DVI work, but USB and RS232 do nothing. I haven't tested ethernet yet, but it probably doesn't work either.

The eject button also doesn't work, nor does the LED indicator.

ArthurHeymans commented 7 years ago

T400 (T500/W500) code in coreboot is a simple clone of X200, including X200 dock code. Since the T400 is compatible with T60 dock (same dock?), it is probably possible to reuse a large part of that code (both SMI and ACPI). I suspect its a matter of setting right GPIOs and also setup SIO (which is trivial since T60 code is most certainly compatible).

ghost commented 7 years ago

Yes, same dock. X200 docks work mostly ok, but are completely different. Only the eject button on the X200 dock doesn't work for some reason, while Fn + F9 does.

ghost commented 7 years ago

After testing https://review.coreboot.org/#/c/18054/ I can conclude that:

(Mostly) working:

Not working:

ACPI: \_SB.DOCK: undocking
ACPI: \_SB.DOCK: No _EJ0 support for device

Untested:

al12gamer commented 4 years ago

Will this work with the T400 and Advanced Dock 2503 model?