From: Heikki Krogerus <heikki.krogerus@linux.intel.com>
To: "Samuel Čavoj" <samuel@cavoj.net>
Cc: linux-usb@vger.kernel.org
Subject: Re: How to proceed: usci_acpi: PPM init failed (-110)
Date: Thu, 26 Aug 2021 10:53:19 +0300 [thread overview]
Message-ID: <YSdIb+f+/cbRyBs1@kuha.fi.intel.com> (raw)
In-Reply-To: <20210825092138.jmhbjx2innikurw2@fastboi.localdomain>
Hi Samuel,
On Wed, Aug 25, 2021 at 11:21:38AM +0200, Samuel Čavoj wrote:
> > You said that enabling the notifications with Set Notifications Enable
> > fails, so can you try this:
> >
> > UcsiControl.exe Send 0 00010005
>
> the command finishes instantly and does not seem to produce any error.
>
> PS C:\Program Files (x86)\USBTest\x64> .\UcsiControl.exe Send 0 00010005
> COMMAND:
> AsUInt64: 10005
> Command: 5
> DataLength: 0
>
> MESSAGE IN is empty.
Thanks for testing that. So UCSI is definitely working on this
platform. I guess the ACPI notifications are simply not going through.
Can you check if there are any events coming from the EC with the
following commands:
% modprobe -r ucsi_acpi
% modprobe -r typec_ucsi
% grep -i acpi /proc/interrupts
...
% modprobe typec_ucsi
% modprobe ucsi_acpi
% grep -i acpi /proc/interrupts
...
See if the number of interrupts increases considerable, or at all. The
ucsi drivers need to be modules of course in order for that to work.
Maybe there is something special that the OS should do with the EC on
your board... There is a weird message in your dmesg.
"ACPI: EC: interrupt blocked"
I don't know if it's relevant at all in this case, but I've just never
seen that. I'm not an EC or ACPI expert, but I think that you only see
that if the EC event interrupt is a GPIO. I would expect there to be
also a message:
"ACPI: EC: interrupt unblocked"
But as said, I'm really not an EC expert. We probable need to ask the
ACPI guys about this, but let's first check the interrupts.
thanks,
--
heikki
next prev parent reply other threads:[~2021-08-26 7:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-23 18:06 How to proceed: usci_acpi: PPM init failed (-110) Samuel Čavoj
2021-08-24 10:24 ` Heikki Krogerus
[not found] ` <20210824164942.6pakfzf2crnxes7w@fastboi.localdomain>
2021-08-25 8:02 ` Heikki Krogerus
2021-08-25 9:21 ` Samuel Čavoj
2021-08-26 7:53 ` Heikki Krogerus [this message]
2021-08-26 11:41 ` Samuel Čavoj
2022-01-22 0:21 ` Samuel Čavoj
2022-01-24 9:23 ` Heikki Krogerus
2022-02-19 0:39 ` Samuel Čavoj
2022-03-24 9:45 ` Heikki Krogerus
2022-12-22 20:18 ` Samuel Čavoj
2023-01-02 10:09 ` Heikki Krogerus
2023-01-09 11:08 ` Heikki Krogerus
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=YSdIb+f+/cbRyBs1@kuha.fi.intel.com \
--to=heikki.krogerus@linux.intel.com \
--cc=linux-usb@vger.kernel.org \
--cc=samuel@cavoj.net \
/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;
as well as URLs for NNTP newsgroup(s).