#448 docking station's USB ports don't work (ThinkPad T400)

Open
opened 2 years ago by lisuml · 12 comments

Hello,

First of all I would like to apologize if the issue is not libreboot associated, but I have just started investigations and it was first place to look.

My configuration:

laptop: Lenovo ThinkPad T400 libreboot version: r20160907 docking station: https://www.thinkwiki.org/wiki/ThinkPad_Advanced_Mini_Dock linux distro: Arch x86_64

My problem is that USB ports that are part of the docking station simply don't work. Whenever I plug any USB device, my OS doesn't detect it, there is no event in dmesg.

As I said, I'm not sure if this is related to libreboot or not, so if you confirm similar hardware configuration works / worked for anyone, please feel free to close the issue.

I'm going to test using different distro now.

Hello, First of all I would like to apologize if the issue is not libreboot associated, but I have just started investigations and it was first place to look. My configuration: laptop: Lenovo ThinkPad T400 libreboot version: r20160907 docking station: https://www.thinkwiki.org/wiki/ThinkPad_Advanced_Mini_Dock linux distro: Arch x86_64 My problem is that USB ports that are part of the docking station simply don't work. Whenever I plug any USB device, my OS doesn't detect it, there is no event in dmesg. As I said, I'm not sure if this is related to libreboot or not, so if you confirm similar hardware configuration works / worked for anyone, please feel free to close the issue. I'm going to test using different distro now.
Swift Geek commented 2 years ago
Collaborator

Dock is broken on T400 currently

Dock is broken on T400 currently
Michał Lisowski commented 2 years ago
Poster

Then for feedback @swiftgeek.

What does it mean it's broken? The only problem I detected so far in not working USB ports, is there anything else I should be aware of?

Are there plans to get it fixed at some stage or is it low priority?

Then for feedback @swiftgeek. What does it mean it's broken? The only problem I detected so far in not working USB ports, is there anything else I should be aware of? Are there plans to get it fixed at some stage or is it low priority?
Swift Geek commented 2 years ago
Collaborator

It means it's broken completely (you should be able to tell that from LED/button behavior). It's more an issue with missing documentation

It means it's broken completely (you should be able to tell that from LED/button behavior). It's more an issue with missing documentation
Leah Rowe commented 2 years ago
Owner

isn't this fixed upstream?

isn't this fixed upstream?
Swift Geek commented 2 years ago
Collaborator

Nope

Nope
Leah Rowe commented 2 years ago
Owner

I could have sworn I saw a patch adding full support for the T400 docking station, in coreboot gerrit. This was months ago. perhaps it wasn't merged. could you look into it? I think it was from Arthur Heymans

I could have sworn I saw a patch adding full support for the T400 docking station, in coreboot gerrit. This was months ago. perhaps it wasn't merged. could you look into it? I think it was from Arthur Heymans
Michał Lisowski commented 2 years ago
Poster

According to https://github.com/librecore-org/librecore/issues/15#issuecomment-271233159, things mostly worked with the early version of this patch: https://review.coreboot.org/#/c/coreboot/+/18054/

The patch has been merged since then, so my question is if it can be used in libreboot now?

According to https://github.com/librecore-org/librecore/issues/15#issuecomment-271233159, things mostly worked with the early version of this patch: https://review.coreboot.org/#/c/coreboot/+/18054/ The patch has been merged since then, so my question is if it can be used in libreboot now?
Leah Rowe commented 2 years ago
Owner

swiftgeek and i discussed that on irc the other day. the patch will be in libreboot on the next release, which will use a newer coreboot revision.

however, please note: that patch doesn't enable usb hotplug. you can only use a usb device on the dock if booting with the dock attached, with the usb device(s) attached to it during boot

further, the usb on the dock is internally just a hub. you may aswell just get a powered hub and connect it to one of the standard/ports, and/or get a usb3 card and put it in the expresscard slot

swiftgeek and i discussed that on irc the other day. the patch will be in libreboot on the next release, which will use a newer coreboot revision. however, please note: that patch doesn't enable usb hotplug. you can only use a usb device on the dock if booting with the dock attached, with the usb device(s) attached to it during boot further, the usb on the dock is internally just a hub. you may aswell just get a powered hub and connect it to one of the standard/ports, and/or get a usb3 card and put it in the expresscard slot
Michał Lisowski commented 2 years ago
Poster

Great news! Thanks for explanations Leah.

Great news! Thanks for explanations Leah.
Leah Rowe commented 2 years ago
Owner

you are most certainly welcome

you are most certainly welcome

I've been messing around with the aforementioned patch for just under a month now, and I don't think it's a good idea to bump coreboot for T400 just yet. Yes, USB works the first time you dock. However, the system often freezes the next time you dock, and sometimes when you undock. It's not stable enough to consider usable.

I've been messing around with the aforementioned patch for just under a month now, and I don't think it's a good idea to bump coreboot for T400 just yet. Yes, USB works the first time you dock. However, the system often freezes the next time you dock, and sometimes when you undock. It's not stable enough to consider usable.

Hello,

I'm considering purchasing a T400 with Libreboot elsewhere, and I'm wondering if the dock behavior is still as described here, since the last update on this issue was about year ago.

Thanks!

Hello, I'm considering purchasing a T400 with Libreboot elsewhere, and I'm wondering if the dock behavior is still as described here, since the last update on this issue was about year ago. Thanks!
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.