From: Klara Modin <klarasmodin@gmail.com>
To: Mathias Nyman <mathias.nyman@linux.intel.com>,
gregkh@linuxfoundation.org
Cc: linux-usb@vger.kernel.org, stern@rowland.harvard.edu
Subject: Re: [PATCH v2] usb: usb-acpi: Set port connect type of not connectable ports correctly
Date: Thu, 7 Mar 2024 18:28:57 +0100 [thread overview]
Message-ID: <78fb735f-3279-40a3-8d12-201a62b13942@gmail.com> (raw)
In-Reply-To: <7e92369a-3197-4883-9988-3c93452704f5@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]
On 2024-03-07 17:04, Klara Modin wrote:
> Hi,
>
> On 2024-02-23 15:03, Mathias Nyman wrote:
>> Ports with _UPC (USB Port Capability) ACPI objects stating they are
>> "not connectable" are not wired to any connector or internal device.
>> They only exist inside the host controller.
>>
>> These ports may not have an ACPI _PLD (Physical Location of Device)
>> object.
>>
>> Rework the code so that _UPC is read even if _PLD does not exist, and
>> make sure the port->connect_type is set to "USB_PORT_NOT_USED" instead
>> of "USB_PORT_CONNECT_TYPE_UNKNOWN".
>>
>> No bugs or known issues are reported due to possibly not parsing _UPC,
>> and thus leaving the port connect type as "unknown" instead of
>> "not used". Nice to have this fixed but no need to add it to stable
>> kernels, or urgency to get it upstream.
>
> With this patch (f3ac348e6e04501479fecf55250b25ff2092540b in
> next-20240307), my machine fails to boot. I was able to get some kernel
> console output from the pstore when compiling USB support as a module
> instead of built in. Reverting it on top of next-20240307 resolves the
> issue for me.
Correction, it does boot when building USB support as a module. Got more
logs from the unhealthy system and lspci. lsusb shows a single USB 2.0
root hub and nothing else. Calling it with `-v` hangs and produces
nothing useful, the same happens with lshw.
>
> Please tell me if there's anything else you need.
>
> Kind regards,
> Klara Modin
>
[-- Attachment #2: dmesg-3-decoded.txt.gz --]
[-- Type: application/gzip, Size: 3288 bytes --]
[-- Attachment #3: lspci-2.gz --]
[-- Type: application/gzip, Size: 8027 bytes --]
next prev parent reply other threads:[~2024-03-07 17:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-23 14:03 [PATCH v2] usb: usb-acpi: Set port connect type of not connectable ports correctly Mathias Nyman
2024-03-07 16:04 ` Klara Modin
2024-03-07 17:28 ` Klara Modin [this message]
2024-03-08 9:37 ` Mathias Nyman
2024-03-08 10:19 ` Klara Modin
2024-03-08 11:29 ` Mathias Nyman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=78fb735f-3279-40a3-8d12-201a62b13942@gmail.com \
--to=klarasmodin@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@linux.intel.com \
--cc=stern@rowland.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox