Gentoo Archives: gentoo-user

From: Dom Rodriguez <shymega@×××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] USB-C PD delivery & Lenovo USB-C hub.
Date: Mon, 23 Sep 2019 15:36:01
Message-Id: 20190923153548.rnpz5saafnhticr7@cyberdemon
In Reply to: Re: [gentoo-user] USB-C PD delivery & Lenovo USB-C hub. by Dom Rodriguez
1 On this date - Sun, Sep 22, 2019 at 07:10:28PM +0100, Dom Rodriguez wrote:
2 > Hello,
3 >
4 > On this date - Sun, Sep 22, 2019 at 06:43:50PM +0100, Mick wrote:
5 > > On Sunday, 22 September 2019 18:06:50 BST Dom Rodriguez wrote:
6 > > > ... Of course, it _would_ help, if I had provided the link to the hub
7 > > > itself!
8 > > >
9 > > > https://www.amazon.co.uk/gp/product/B07919ZNB4
10 > > >
11 > > > :)
12 > > >
13 > > > On this date - Sun, Sep 22, 2019 at 06:01:42PM +0100, Dom Rodriguez wrote:
14 > > > > Hello,
15 > > > >
16 > > > > I've got an Lenovo Thinkpad X270 laptop, with USB-C support. I ordered an
17 > > > > Lenovo USB-C hub from Amazon the other day, and it arrived today. It [the
18 > > > > hub] is recognised by the kernel for USB, but not for power delivery
19 > > > > (PD), via ACPI.
20 > > > >
21 > > > > Oddly enough, when I plug the USB-C cable from the mains adapter directly
22 > > > > to the USB-C port, ACPI recognises it fine - so I've narrowed it down to
23 > > > > a driver issue.
24 > >
25 > > I assume you have enabled the USB-C drivers in the kernel and also PCI
26 > > hotplug?
27 > >
28 > > https://wiki.gentoo.org/wiki/USB/Guide#USB_Type-C_and_Thunderbolt
29 > >
30 > >
31 > > > > I've tried using the hub on my Thinkpad 13" on both Windows and Linux
32 > > > > (Arch, specifically; Gentoo isn't on there at the moment.), and its
33 > > > > recognised fine. Therefore I do not believe the hub *itself* is faulty.
34 > > > >
35 > > > > In terms of diagnostic information, I'm not sure where to start, so if
36 > > > > anyone needs certain information to help with the issue, please let me
37 > > > > know, and I'll do my best to email it.
38 > > > >
39 > > > > I'm running gentoo-sources-5.3.1 for the kernel.
40 > > > >
41 > > > > Any ideas? Thanks :-)
42 > >
43 > > I don't have such a device to advise on the specifics, but look at dmesg,
44 > > lspci -knn, lsusb to see if the device is recognised, or if any errors on
45 > > missing components are reported.
46 > > --
47 > > Regards,
48 > > Mick
49 >
50 > Yeah, I've enabled the USB-C drivers in the kernel and enabled PCI hotplug as
51 > well.
52 >
53 > The device isn't recognised in `lspci` or `lsusb`. `lshw` on the other hand
54 > reports that 'pci:0', is unclaimed. "pci:1" appears to be the main PCI bridge
55 > for the laptop. Could well be that "pci:0" is the hub..
56 >
57 > As far as I can see in `dmesg`, nothing there is reported either.
58 >
59 > A rather odd issue.
60
61 Alright, I've managed to isolate the issue to the `tps6598.ko' USB-C PD kernel
62 module.
63
64 I've reached out to the manufacturer of the hub to see if they can advise, but
65 for now, knowing the problem kernel module has definitely helped getting close
66 to solving the problem.
67
68 --
69 Sincerely,
70 Dom Rodriguez (shymega).

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] USB-C PD delivery & Lenovo USB-C hub. Alexey Mishustin <shumkar@×××××××.ru>